]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Merge from emacs-24; up to 2012-05-08T14:11:47Z!monnier@iro.umontreal.ca
[gnu-emacs] / lisp / ChangeLog
1 2012-10-05 Glenn Morris <rgm@gnu.org>
2
3 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
4
5 * color.el (color-name-to-rgb, color-rgb-to-hex)
6 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
7 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
8 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
9 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
10
11 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
12
13 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
14
15 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
16 to get the correct size across symlinks.
17
18 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
19
20 2012-10-04 Juri Linkov <juri@jurta.org>
21
22 * replace.el (query-replace-interactive): Declare obsolete.
23 (query-replace-read-from): Add the last incremental search string
24 to the list of default values accessible via M-n.
25 (map-query-replace-regexp): Use `read-regexp'.
26 (query-replace, query-replace-regexp, query-replace-regexp-eval)
27 (map-query-replace-regexp, replace-string, replace-regexp):
28 Fix docstrings to replace mentions of `query-replace-interactive'
29 with alternatives. (Bug#12526)
30
31 2012-10-04 Juri Linkov <juri@jurta.org>
32
33 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
34 (dired-pop-to-buffer): Declare obsolete.
35 (dired-mark-pop-up): Doc fix.
36
37 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
38
39 Allow user to set docstring style for fill-paragraph.
40 * progmodes/python.el
41 (python-fill-comment-function, python-fill-string-function)
42 (python-fill-decorator-function, python-fill-paren-function):
43 Remove :safe for defcustoms.
44 (python-fill-string-style): New defcustom
45 (python-fill-paragraph-function): Enhanced context detection.
46 (python-fill-string): Honor python-fill-string-style settings.
47
48 2012-10-04 Martin Rudalics <rudalics@gmx.at>
49
50 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
51 after setting its buffer (Bug#10805).
52
53 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
54
55 Fix cornercase for string syntax.
56 * progmodes/python.el (python-syntax-propertize-function):
57 Simplify and enhance the regexp for unescaped quotes. Now it also
58 matches quotes in weird situations like the single quote in
59 "something\"'".
60 (python-syntax-stringify): Simplify num-quotes detecting code.
61
62 2012-10-03 Glenn Morris <rgm@gnu.org>
63
64 * help-macro.el (three-step-help):
65 Revert 2012-09-29 change. (Bug#12567)
66
67 2012-10-03 Martin Rudalics <rudalics@gmx.at>
68
69 * menu-bar.el (kill-this-buffer): Don't do anything when
70 `menu-frame' is not alive or visible (Bug#8184).
71
72 * emacs-lisp/debug.el (debug): When quitting the debugger window
73 restore current buffer (Bug#12502).
74
75 2012-10-02 Chong Yidong <cyd@gnu.org>
76
77 * progmodes/hideif.el (hif-lookup, hif-defined): Handle
78 semantic-c-takeover-hideif.
79
80 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
81
82 Change sampling interval units from ms to ns.
83 * profiler.el (profiler-sampling-interval): Change units
84 from ms to ns, multiplying the default by 1000000 so that
85 it remains 1 ms.
86 (profiler-report-cpu-line-format): Give enough room for
87 the maximum counters on 64-bit hosts.
88 (profiler-report-render-calltree-1): Call them "CPU samples",
89 not "Time (ms)", since they are not milliseconds now (and
90 never really were).
91
92 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
93
94 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result): Fix
95 querying BBDB for entries without a last name (Bug#11580).
96
97 2012-10-02 Chong Yidong <cyd@gnu.org>
98
99 * emacs-lisp/eieio.el: Restore Version header.
100
101 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
102
103 * vc/diff-mode.el (diff--auto-refine-data): New var.
104 (diff-hunk): Use it to delay refinement.
105 (diff-mode): Remove overlays when we turn off font-lock.
106
107 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
108 (table-initialize-table-fixed-width-mode)
109 (table-set-table-fixed-width-mode): Remove functions.
110 (table-command-list): Move initialization into declaration.
111 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
112 (table-with-cache-buffer): Use `declare'.
113 (table-span-cell): Simplify via CSE.
114 (table-fixed-width-mode): Use define-minor-mode.
115 (table-call-interactively, table-funcall, table-apply): Remove.
116 (table-function): New function, to replace them.
117
118 * bookmark.el (bookmark-search-pattern): Remove var.
119 (bookmark-read-search-input): Remove function.
120 (bookmark-bmenu-search): Reimplement using a minibuffer.
121
122 * faces.el (modeline): Remove obsolete face name.
123
124 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
125 and give a non-nil default value.
126 (add-change-log-entry): Simplify accordingly.
127
128 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
129
130 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
131 (vc-git-log-edit-toggle-amend): New function.
132 (vc-git-log-edit-toggle-signoff): New function.
133 (vc-git-log-edit-mode): New major mode.
134 (vc-git-log-edit-mode-map): Keymap for it.
135 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
136
137 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
138 header names.
139 (log-edit-toggle-header): New function.
140 (log-edit-extract-headers): Accept function values in HEADERS alist.
141
142 2012-10-01 David Engster <deng@randomsample.de>
143
144 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
145 from symbol property and change message to be more consistent with
146 Emacs proper.
147 (eieio-describe-generic): Add filename for each implementation.
148 Fix indices for generic and normal methods.
149 (eieio-method-def, eieio-class-def): New buttons.
150 (eieio-help-find-method-definition)
151 (eieio-help-find-class-definition): New functions.
152 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
153 class, constructor and method definitions.
154
155 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
156 information in symbol property.
157 (scoped-class): Remove.
158 (eieio-slot-name-index, call-next-method): Check if it is bound.
159
160 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
161
162 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
163 (eieio-custom-mode): New major mode.
164 (eieio-customize-object): Use it.
165
166 2012-10-01 Eric Ludlam <zappo@gnu.org>
167
168 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
169 specifying the expected class, and whether subclassing is allowed.
170 (eieio-persistent-convert-list-to-object):
171 (eieio-persistent-validate/fix-slot-value)
172 (eieio-persistent-slot-type-is-class-p): New functions.
173 (eieio-named::slot-missing): Doc fix.
174
175 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
176 Stop using unused publd variable.
177
178 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
179 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
180 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
181 (eieio-speedbar-handle-click): Do not specify a class for the
182 method. Fixes method invocation order problems with EDE.
183
184 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
185
186 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
187 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
188
189 2012-10-01 Karl Fogel <kfogel@red-bean.com>
190
191 * bookmark.el (bookmark-version-control): Give tags in the
192 :type choices (Bug#12309), and improve doc string.
193 (bookmark-write-file): Bind `print-circle' to `t' to allow
194 circular custom bookmark types. (Bug#12503)
195
196 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
197
198 Revert the FOLLOW-SYMLINKS change for file-attributes.
199 * files.el (remote-file-name-inhibit-cache, after-find-file):
200 * time.el (display-time-file-nonempty-p): Undo last change.
201
202 * profiler.el (profiler-sampling-interval): Change default back to 1.
203 See Stefan Monnier in
204 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
205
206 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
207
208 Shell output catching a la gud-gdb.
209 * progmodes/python.el (python-shell-fetch-lines-in-progress)
210 (python-shell-fetch-lines-string, python-shell-fetched-lines):
211 New Vars.
212 (python-shell-fetch-lines-filter): New function.
213 (python-shell-send-string-no-output): Use them.
214
215 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
216
217 * profiler.el (profiler-sampling-interval): Rename from
218 profiler-sample-interval.
219 (profiler-sampling-interval): Default to 10.
220 (profiler-find-profile): New command (was profiler-find-log).
221 (profiler-find-profile-other-window): New command.
222 (profiler-find-profile-other-frame): New command.
223 (profiler-profile): Introduce API-level data structure.
224
225 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
226
227 file-attributes has a new optional arg FOLLOW-SYMLINKS.
228 * files.el (remote-file-name-inhibit-cache):
229 * time.el (display-time-file-nonempty-p): Use it.
230 * files.el (after-find-file): Don't chase links before calling
231 file-exists-p, as file-exists-p already does the right thing.
232
233 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
234
235 Merge from standalone RefTeX repository.
236
237 The following ChangeLog entries are shortened versions of the
238 original ones with file paths adapted. A not so strongly edited
239 version of the original ChangeLog can be found in the commit log.
240
241 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
242 (reftex-arg-cite): Use `reftex-cite-key-separator'.
243 Correctly handle new value type returned by `reftex-citation'.
244
245 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
246 that entries with whitespace at various places are found.
247 Doc fix. Include entries that are cross-referenced from cited entries.
248 Include @String definitions in the resulting bib file. Add header
249 and footer defined in `reftex-create-bibtex-header' and
250 `reftex-create-bibtex-footer'.
251 (reftex-do-citation): Make it possible again to insert
252 non-existent entries. Save match data when asking for optional
253 arguments. Return all keys, not just the first one.
254 (reftex-all-used-citation-keys): Fix regexp to correctly extract
255 all citations in the same line.
256 (reftex-parse-bibtex-entry): Accept additional optional argument
257 `raw' and keep quotes or braces if it is non-nil. Match fields
258 containing hyphens besides word constituents.
259 (reftex-get-string-refs): New function.
260 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
261 and ask if it should be reread in case it did.
262 (reftex-pop-to-bibtex-entry)
263 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
264 entries with spaces or tabs in front of arguments.
265 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
266 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
267 Match entries containing numbers and symbol constituents.
268 (reftex-do-citation, reftex-figure-out-cite-format):
269 Use `reftex-cite-key-separator'.
270
271 * textmodes/reftex-dcr.el: Move provide statement to end of file.
272 (reftex-mouse-view-crossref): Explain why point is set.
273
274 * textmodes/reftex-global.el: Whitespace changes.
275
276 * textmodes/reftex-index.el: Move provide statement to end of
277 file.
278 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
279 (reftex-index-visit-phrases-buffer): Set marker when visiting
280 buffer. This allows for returning from the phrases file to the
281 file one was just editing instead of the file where the last
282 phrases was added from.
283 (reftex-index-phrases-syntax-table): New variable. Give ?\"
284 punctuation syntax as it usually is not used as string quote in
285 TeX-related modes and may occur unmatched. The change also
286 prevents fontification of quoted content.
287 (reftex-index-phrases-mode): Use it.
288
289 * textmodes/reftex-parse.el (reftex-parse-from-file):
290 Move backward one char if a `\' was matched after a section macro.
291 (reftex-parse-from-file): Use beginning of match instead of end as
292 bound.
293
294 * textmodes/reftex-ref.el: Adapt creation of
295 `reftex-<package>-<macro>' functions to new structure of
296 `reftex-ref-style-alist'.
297 (reftex-reference): Use `reftex-ref-style-list' function.
298 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
299 reference macro if `reftex-ref-macro-prompt' is non-nil.
300 (reftex-reference): Pass refstyle to `reftex-format-special'.
301 Determine reference macro by looking at
302 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
303 Use only one special format function.
304 (reftex-varioref-vref, reftex-fancyref-fref)
305 (reftex-fancyref-Fref): Remove definitions. The functions are now
306 generated from `reftex-ref-style-alist'.
307 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
308 Remove.
309 (reftex-format-special): New function.
310
311 * textmodes/reftex-sel.el
312 (reftex-select-cycle-ref-style-internal): Adapt to new structure
313 of `reftex-ref-style-alist'. Remove code for testing macro type.
314 (reftex-select-toggle-varioref)
315 (reftex-select-toggle-fancyref): Remove.
316 (reftex-select-cycle-ref-style-internal)
317 (reftex-select-cycle-ref-style-forward)
318 (reftex-select-cycle-ref-style-backward): New functions.
319 (reftex-select-label-map): Use `v' and `V' for general cycling
320 through reference styles. Add `p' for switching between number
321 and page reference types.
322
323 * textmodes/reftex-toc.el (reftex-re-enlarge):
324 Call `enlarge-window' only if there is something to do because in Emacs
325 the horizontal version throws an error even if the parameter is 0.
326
327 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
328 (reftex-plug-into-AUCTeX): Doc fix.
329 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
330 string. Adapt to new name.
331 (reftex-ref-style-alist): Change structure so that it is not
332 possible to use multiple different package names within a style.
333 Remove the symbols for symbols for macro type distinction.
334 Add characters for macro selection.
335 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
336 (reftex-create-bibtex-footer): New variables.
337 (reftex-format-ref-function): Mention third argument of special
338 format function.
339 (reftex-ref-style-alist, reftex-ref-style-default-list):
340 New variables.
341 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
342 to new implementation. Mark as obsolete. Add compatibility code
343 for honoring the variable values in case they are set.
344 (reftex-cite-format-builtin, reftex-bibliography-commands):
345 Add support for ConTeXt.
346 (reftex-format-ref-function, reftex-format-cite-function):
347 Fix custom type.
348 (reftex-cite-key-separator): New variable.
349
350 * textmodes/reftex.el (reftex-syntax-table-for-bib)
351 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
352 `reftex-syntax-table' because parens have to retain their paren
353 syntax in order for parsing of BibTeX entries like @book(...) to
354 work.
355 (reftex-in-comment): Do not error out if `comment-start-skip' is
356 not set. Deal correctly with escaped comment characters.
357 (reftex-tie-multifile-symbols): Add doc string.
358 Initialize `reftex-ref-style-list'.
359 (reftex-untie-multifile-symbols): Add doc string.
360 (reftex-add-index-macros): Doc fix.
361 (reftex-ref-style-activate, reftex-ref-style-toggle)
362 (reftex-ref-style-list): New functions.
363 (reftex-mode-menu): Use them. Adapt to new structure of
364 `reftex-ref-style-alist'.
365 (reftex-select-with-char): Kill the RefTeX Select buffer when
366 done.
367 (reftex-remove-if): New function.
368 (reftex-erase-all-selection-and-index-buffers)
369 (reftex-mode-menu): Reference styles are now computed from
370 `reftex-ref-style-alist'. Fix typo.
371 (reftex-report-bug): New function.
372 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
373 algorithms with O(n log n). Introduce optional argument SORT (not
374 yet used).
375
376 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
377
378 Enhancements for triple-quote string syntax.
379 * progmodes/python.el (python-syntax-propertize-function):
380 Match both quote cases in one regexp.
381 (python-syntax-stringify): Handle matches properly.
382
383 2012-09-30 Juri Linkov <juri@jurta.org>
384
385 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
386 to nil around the call to `insert' to prevent
387 directory time modification by lock_file. (Bug#2295)
388 * tar-mode.el (tar-summarize-buffer): Idem.
389
390 2012-09-30 Juri Linkov <juri@jurta.org>
391
392 * facemenu.el (list-colors-sort): Add option "Luminance".
393 (list-colors-sort-key): Implement it.
394
395 * vc/diff-mode.el (diff-refine-removed):
396 * vc/ediff-init.el (ediff-fine-diff-A):
397 * vc/smerge-mode.el (smerge-refined-removed):
398 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
399
400 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
401
402 * term/ns-win.el (x-file-dialog): New function.
403
404 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
405
406 * ido.el (ido-max-directory-size): Default to nil; the current
407 default is small for POSIX systems, and impractical on Windows 7
408 now that lstat returns directory sizes for NTFS.
409
410 2012-09-30 Martin Rudalics <rudalics@gmx.at>
411
412 In buffer display functions handle window-height/window-width
413 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
414 * window.el (window--display-buffer): New argument ALIST.
415 Obey window-height and window-width alist entries.
416 (window--try-to-split-window): New argument ALIST.
417 Bind window-combination-limit to t when the window's size shall be
418 changed and window-combination-limit equals `window-size'.
419 (display-buffer-in-atom-window)
420 (display-buffer-in-major-side-window)
421 (display-buffer-in-side-window, display-buffer-same-window)
422 (display-buffer-reuse-window, display-buffer-pop-up-frame)
423 (display-buffer-pop-up-window, display-buffer-below-selected)
424 (display-buffer-at-bottom, display-buffer-in-previous-window)
425 (display-buffer-use-some-window): Adjust all callers of
426 window--display-buffer and window--try-to-split-window.
427 (fit-frame-to-buffer): New option.
428 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
429 is non-nil.
430 (display-buffer-in-major-side-window): Evaluate window-height /
431 window-width alist entries.
432
433 * help.el (temp-buffer-resize-frames)
434 (temp-buffer-resize-regexps): Remove options.
435 (temp-buffer-resize-mode): Adjust doc-string.
436 (resize-temp-buffer-window): Don't consult
437 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
438 temp-buffer-resize-frames.
439
440 * dired.el (dired-mark-pop-up):
441 Call display-buffer-below-selected with a fit-window-to-buffer alist
442 entry.
443
444 2012-09-30 Chong Yidong <cyd@gnu.org>
445
446 * server.el (server-host): Document the security implications.
447 (server-auth-key): Doc fix.
448
449 * startup.el (initial-buffer-choice): Doc fix.
450
451 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
452
453 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
454 restriction change.
455
456 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
457
458 * help-fns.el (help-fns--obsolete): Fix last change.
459
460 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
461
462 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
463 (minor-mode-map-alist): Remove redundant code.
464
465 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
466 visited in a buffer.
467 (cvs-insert-visited-file): New function.
468 (find-file-hook): Use it.
469
470 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
471
472 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
473 chose face.
474 (log-edit-empty-buffer-p): Don't require a space after a header.
475
476 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
477
478 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
479
480 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
481 a proper minor-mode.
482
483 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
484
485 2012-09-29 Glenn Morris <rgm@gnu.org>
486
487 * winner.el (winner-mode): Remove variable (let define-minor-mode
488 handle it).
489 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
490 Doc fixes.
491 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
492 (winner-mode): Use define-minor-mode.
493
494 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
495 the full definition in loaddefs, rather than duplicating it.
496
497 * help-macro.el (three-step-help): No need to autoload defcustom.
498
499 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
500 (inferior-lisp-program, inferior-lisp-load-command)
501 (inferior-lisp-prompt, inferior-lisp-mode-hook):
502 No need to autoload defcustoms.
503
504 * hippie-exp.el (hippie-expand-try-functions-list)
505 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
506 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
507 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
508 (hippie-expand-only-buffers): No need to autoload defcustoms.
509 * progmodes/vhdl-mode.el (vhdl-line-expand):
510 Explicitly load hippie-exp, so it does not get autoloaded
511 while hippie-expand-try-functions-list is let-bound.
512
513 2012-09-28 Glenn Morris <rgm@gnu.org>
514
515 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
516
517 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
518 Only "cl.el" counts as cl these days.
519
520 2012-09-28 Juri Linkov <juri@jurta.org>
521
522 Display archive errors in the echo area instead of inserting
523 to the file buffer.
524
525 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
526 to STDERR-TEST that can be a regexp matching a successful output.
527 Create a temporary file and redirect stderr to it. Search for
528 STDERR-TEST in the stderr output and display it in the echo area
529 if no match is found.
530 (archive-extract-by-file): New function like
531 `archive-extract-by-stdout' but extracting archives to files
532 and looking for successful matches in stdout. Function body is
533 mostly copied from `archive-rar-extract'.
534 (archive-rar-extract): Use `archive-extract-by-file'.
535 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
536
537 2012-09-28 Leo Liu <sdl.web@gmail.com>
538
539 * pcomplete.el (pcomplete-show-completions):
540 Use minibuffer-message to make pcomplete usable in minibuffer.
541
542 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
543
544 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
545
546 * type-break.el: Use lexical-binding.
547 (type-break-mode): Use define-minor-mode.
548
549 * emacs-lisp/pcase.el (pcase--mark-used): New.
550 (pcase--u1): Use it (bug#12512).
551
552 * custom.el (load-theme): Set buffer-file-name so the load is recorded
553 in load-history with the right file name.
554
555 2012-09-28 Tassilo Horn <tsdh@gnu.org>
556
557 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
558 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
559 (doc-view-get-bounding-box): Make bounding box slicing work for
560 ODF and DVI documents.
561
562 2012-09-28 Glenn Morris <rgm@gnu.org>
563
564 * type-break.el (type-break-mode, type-break-interval)
565 (type-break-good-rest-interval, type-break-keystroke-threshold):
566 No need to autoload.
567 (type-break-good-rest-interval, type-break-keystroke-threshold):
568 Add :set-after.
569
570 2012-09-28 Chong Yidong <cyd@gnu.org>
571
572 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
573 Add :version tag.
574
575 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
576
577 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
578
579 2012-09-27 Glenn Morris <rgm@gnu.org>
580
581 * faces.el (x-display-name): Declare (for without-x builds).
582
583 * linum.el (linum-format): Don't autoload it. Improve :type.
584
585 * progmodes/tcl.el: Don't require outline when compiling.
586 (outline-regexp, outline-level): Declare.
587 * textmodes/sgml-mode.el: Don't require outline when compiling.
588 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
589
590 * term.el (term-ansi-reset):
591 Try setting term-ansi-face-already-done to nil. (Bug#11785)
592
593 * vc/vc.el (vc-next-action): Only gripe about committing read-only
594 files for RCS and SCCS. (Bug#9781)
595
596 2012-09-27 Chong Yidong <cyd@gnu.org>
597
598 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
599 change; value should be t.
600
601 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
602
603 * image-mode.el: Use lexical-binding.
604 (image-mode-winprops): Use t to stand for the window of
605 a buffer that's not displayed.
606 * doc-view.el (doc-view-new-window-function): Handle the new
607 t in winprops.
608 (doc-view-enlarge): Make it a real nop if the size is not changed.
609 (doc-view-display): Handle the case where the buffer is not (yet?)
610 displayed in any window.
611 (doc-view-saved-settings): New var.
612 (doc-view-mode): Use it.
613 (doc-view-fallback-mode): Set it.
614
615 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
616 Set lexical-binding.
617 (minibuffer-eldef-shorten-default): New var.
618 (minibuffer-default-in-prompt-regexps): Use it for new default.
619 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
620
621 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
622
623 * international/uni-bidi.el:
624 * international/uni-category.el:
625 * international/uni-name.el:
626 * international/uni-numeric.el: Regenerate.
627
628 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
629 Stefan Monnier <monnier@iro.umontreal.ca>
630
631 * profiler.el: New file.
632
633 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
634
635 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
636 (testcover-reinstrument): Simplify with CSE.
637
638 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
639
640 * window.el (temp-buffer-window-setup): Fix typo in docstring.
641
642 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
643
644 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
645 (verilog-auto-input, verilog-auto-insert-lisp)
646 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
647 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
648 (verilog-auto-unused, verilog-auto-wire)
649 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
650 newline. Reported by Andrew Jones.
651 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
652 Reported by Brad Dobbie.
653 (verilog-batch-delete-trailing-whitespace):
654 Create verilog-batch-delete-trailing-whitespace.
655 Reported by Brad Dobbie.
656 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
657 parameters from another module. Reported by Dan Katz.
658 (verilog-auto, verilog-auto-assign-modport)
659 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
660 AUTOINOUTMODPORT for UVM interface module shell generation.
661 Reported by Brad Dobbie.
662 (verilog-auto-inst-interfaced-ports): Make default nil, as more
663 standard behavior.
664 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
665 Reported by Matt Martin.
666
667 2012-09-25 Martin Rudalics <rudalics@gmx.at>
668
669 * window.el (window--resize-child-windows): When resizing child
670 windows proportionally, process them in reverse order to
671 preserve the "when splitting a window the new one gets the odd
672 line" behavior.
673 (window--resize-root-window-vertically): When resizing the
674 minibuffer window try to affect only windows at the bottom of the
675 frame. (Bug#12419)
676
677 2012-09-25 Chong Yidong <cyd@gnu.org>
678
679 * subr.el (declare): Doc fix.
680
681 * help-fns.el (help-fns--obsolete): Handle macros properly.
682
683 2012-09-25 Chong Yidong <cyd@gnu.org>
684
685 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
686 this function obsolete.
687
688 * calendar/cal-x.el (calendar-two-frame-setup)
689 (calendar-only-one-frame-setup, calendar-one-frame-setup):
690 * calendar/calendar.el (american-calendar, european-calendar)
691 (calendar-for-loop):
692 * comint.el (comint-dynamic-simple-complete)
693 (comint-dynamic-complete-as-filename, comint-unquote-filename):
694 * desktop.el (desktop-load-default):
695 * dired-x.el (dired-omit-here-always)
696 (dired-hack-local-variables, dired-default-directory):
697 * emacs-lisp/derived.el (derived-mode-class):
698 * emacs-lisp/timer.el (timer-set-time-with-usecs):
699 * emacs-lock.el (toggle-emacs-lock):
700 * epa.el (epa-display-verify-result):
701 * epg.el (epg-sign-keys, epg-start-sign-keys)
702 (epg-passphrase-callback-function):
703 * eshell/esh-util.el (eshell-for):
704 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
705 (eshell-add-to-window-buffer-names):
706 * files.el (locate-file-completion):
707 * imenu.el (imenu-example--create-c-index)
708 (imenu-example--create-lisp-index)
709 (imenu-example--lisp-extract-index-name)
710 (imenu-example--name-and-position):
711 * international/mule-cmds.el (princ-list):
712 * international/mule-diag.el (decode-codepage-char):
713 * international/mule-util.el (detect-coding-with-priority):
714 * iswitchb.el (iswitchb-read-buffer):
715 * mail/mailalias.el (mail-complete):
716 * mail/sendmail.el (mail-sent-via):
717 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
718 (mouse-major-mode-menu):
719 * password-cache.el (password-read-and-add):
720 * pcomplete.el (pcomplete-parse-comint-arguments):
721 * progmodes/sh-script.el (sh-maybe-here-document):
722 * replace.el (query-replace-regexp-eval):
723 * savehist.el (savehist-load):
724 * simple.el (choose-completion-delete-max-match):
725 * term.el (term-dynamic-simple-complete):
726 * vc/ediff-init.el (ediff-check-version):
727 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
728 * vc/vc.el (vc-diff-switches-list):
729 * view.el (view-return-to-alist-update): Likewise.
730
731 * subr.el (eval-next-after-load, makehash, insert-string)
732 (assoc-ignore-representation, assoc-ignore-case): Use declare to
733 mark obsolete.
734 (mode-line-inverse-video): Variable deleted.
735
736 * international/mule-util.el (string-to-sequence): Remove.
737
738 * calendar/calendar.el (calendar-version):
739 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
740 (icalendar-convert-diary-to-ical):
741 * cus-edit.el (custom-mode):
742 * ansi-color.el (ansi-color-unfontify-region):
743 * international/latin1-disp.el (latin1-char-displayable-p):
744 * progmodes/cwarn.el (turn-on-cwarn-mode):
745 * progmodes/which-func.el (which-func-update-1):
746 Use define-obsolete-function-alias.
747
748 * net/newst-backend.el (newsticker-cache-filename):
749 * net/newst-treeview.el (newsticker-groups-filename):
750 Fix incorrect obsolescence declaration.
751
752 * allout.el (allout-passphrase-hint-string): Likewise.
753 (allout-init): Use a declare form to mark obsolete.
754
755 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
756 this applies to functions.
757
758 * iswitchb.el (iswitchb-read-buffer): Move code of
759 iswitchb-define-mode-map here, and delete that obsolete function.
760
761 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
762 font-lock-reference-face.
763
764 2012-09-25 Glenn Morris <rgm@gnu.org>
765
766 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
767 Doc fixes.
768
769 * eshell/em-term.el (eshell-term-name):
770 Default to term-term-name. (Bug#12485)
771
772 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
773
774 * progmodes/python.el (python-shell-send-buffer): Better handling
775 of "if __name__ == '__main__':" conditionals when sending the buffer.
776
777 2012-09-24 Glenn Morris <rgm@gnu.org>
778
779 * eshell/esh-cmd.el (eshell-find-alias-function):
780 Tighten up file-name regexp. (Bug#12499)
781
782 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
783
784 Enhancements for triple-quote string syntax.
785 * progmodes/python.el (python-quote-syntax): Remove.
786 (python-syntax-propertize-function): New value.
787 (python-syntax-count-quotes, python-syntax-stringify):
788 New functions.
789
790 2012-09-24 Chong Yidong <cyd@gnu.org>
791
792 * mail/supercite.el (sc-version): Remove obsolete function.
793 (sc-describe): Don't mark as obsolete, since it is bound.
794 (sc-submit-bug-report): Remove.
795
796 * vc/log-edit.el (cvs-changelog-full-paragraphs)
797 (cvs-commit-buffer-require-final-newline): Remove.
798 (log-edit-require-final-newline)
799 (log-edit-changelog-full-paragraphs): Default to t.
800
801 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
802 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
803 * vc/vc.el (vc-checkout-carefully): Likewise.
804
805 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
806 (emerge-version): Remove.
807
808 * progmodes/compile.el (compile-internal): Remove.
809 (compilation-parse-errors-function): Fix typo.
810
811 * international/mule.el (set-char-table-default): Remove.
812 (set-coding-priority, make-coding-system, generic-char-p)
813 (charset-list, charset-bytes, charset-id): Use declare to mark
814 functions as obsolete.
815
816 * vc/pcvs-defs.el (cvs-buffer-name-alist)
817 (cvs-invert-ignore-marks): Remove references to obsolete vars.
818 * vc/vc-hooks.el (vc-default-registered): Don't use
819 vc-master-templates.
820
821 * font-lock.el (font-lock-reference-face):
822 Use define-obsolete-variable-alias.
823
824 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
825 * calendar/calendar.el (calendar-font-lock-keywords):
826 * calendar/diary-lib.el (diary-font-lock-keywords)
827 (diary-fancy-font-lock-keywords):
828 * textmodes/reftex-sel.el (reftex-insert-docstruct):
829 * textmodes/reftex-index.el (reftex-insert-index):
830 * textmodes/reftex-cite.el (reftex-format-bib-entry):
831 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
832 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
833 * progmodes/prolog.el (prolog-font-lock-keywords):
834 * progmodes/idlwave.el (idlwave-idl-keywords):
835 * progmodes/ada-mode.el (ada-font-lock-keywords):
836 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
837
838 2012-09-24 Glenn Morris <rgm@gnu.org>
839
840 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
841
842 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
843
844 * progmodes/python.el (python-indent-line): More consistent cursor
845 movement behavior.
846
847 2012-09-23 Stefan Merten <smerten@oekonux.de>
848
849 * textmodes/rst.el: Fix compiler warning.
850
851 2012-09-23 Roland Winkler <winkler@gnu.org>
852
853 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
854 Transcribe also LaTeX hyphenation.
855 (bibtex-reformat): Bug fix. Do not quote twice the elements of
856 bibtex-reformat-previous-options.
857
858 2012-09-23 Roland Winkler <winkler@gnu.org>
859
860 * proced.el (proced-renice-command): New variable.
861 (proced-marked-processes): New function.
862 (proced-with-processes-buffer): New macro.
863 (proced-send-signal): Use them.
864 (proced-renice): New command bound to r.
865
866 2012-09-23 Roland Winkler <winkler@gnu.org>
867
868 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
869 ibuffer-saved-filter-groups has one element, shortcut the call of
870 completing-read. (Bug#12331)
871
872 2012-09-23 Chong Yidong <cyd@gnu.org>
873
874 * bindings.el (mode-line-toggle-read-only):
875 * bs.el (bs-toggle-readonly):
876 * buff-menu.el (Buffer-menu-toggle-read-only):
877 * dired.el (dired-toggle-read-only):
878 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
879
880 2012-09-23 Chong Yidong <cyd@gnu.org>
881
882 * image.el (image-type-available-p): Adapt to init-image-library
883 argument changes.
884
885 2012-09-22 Juri Linkov <juri@jurta.org>
886
887 * dired.el (dired-mode-map): Add [remap read-only-mode] for
888 `dired-toggle-read-only'. (Bug#12462)
889
890 2012-09-22 Martin Rudalics <rudalics@gmx.at>
891
892 * subr.el (temp-output-buffer-show): New function.
893 (with-output-to-temp-buffer): Call temp-output-buffer-show
894 instead of internal-temp-output-buffer-show.
895
896 2012-09-22 Chong Yidong <cyd@gnu.org>
897
898 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
899 (Bug#12462).
900
901 * repeat.el (repeat): Doc fix (Bug#12348).
902
903 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
904 (Bug#10909).
905
906 * simple.el (shell-command-on-region): Doc fix.
907 (read-only-mode): Doc fix.
908
909 2012-09-22 Eli Zaretskii <eliz@gnu.org>
910
911 * emacs-lisp/timer.el (run-with-idle-timer)
912 (timer-activate-when-idle): Warn against reinvoking an idle timer
913 from within its own timer action. (Bug#12447)
914
915 2012-09-22 Martin Rudalics <rudalics@gmx.at>
916
917 * cus-start.el (window-combination-limit): Add new optional
918 values.
919 * window.el (temp-buffer-window-show)
920 (window--try-to-split-window): Handle new values of
921 window-combination-limit (Bug#1806).
922 (split-window): Test window-combination-limit for t instead of
923 non-nil.
924 (display-buffer-at-bottom): New buffer display action function.
925 * help.el (temp-buffer-resize-regexps): New option.
926 (temp-buffer-resize-mode): Rewrite doc-string.
927 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
928 Don't resize reused window. Suggested by Glenn Morris.
929
930 2012-09-22 Stefan Merten <smerten@oekonux.de>
931
932 * textmodes/rst.el: Revamp section title faces.
933 (rst-official-version)
934 (rst-package-emacs-version-alist): Sync with official version
935 V1.4.0.
936 (rst-faces-defaults, rst-set-level-default)
937 (rst-level-face-max, rst-level-face-base-color)
938 (rst-level-face-base-light, rst-level-face-format-light)
939 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
940 (rst-adornment-faces-alist): Match new setup.
941 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
942 (rst-level-5, rst-level-6): New faces.
943
944 2012-09-22 Chong Yidong <cyd@gnu.org>
945
946 * simple.el (undo): Handle indirect buffers (Bug#8207).
947
948 2012-09-21 Leo Liu <sdl.web@gmail.com>
949
950 IDO: Disable match re-ordering for buffer switching.
951 * ido.el (ido-buffer-disable-smart-matches): New variable.
952 (ido-set-matches-1): Use it. (Bug#2042)
953
954 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
955
956 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
957 Fix 2011-05-17 change. (Bug#12418)
958
959 2012-09-21 Leo Liu <sdl.web@gmail.com>
960
961 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
962
963 2012-09-21 Glenn Morris <rgm@gnu.org>
964
965 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
966 Be more robust about locating simple.el.
967
968 2012-09-21 Glenn Morris <rgm@gnu.org>
969
970 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
971
972 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
973
974 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
975
976 2012-09-20 Juri Linkov <juri@jurta.org>
977
978 * replace.el (query-replace-read-from): Use `read-regexp' instead
979 of `read-from-minibuffer' when `regexp-flag' is non-nil.
980 (occur-read-primary-args): Use `read-regexp' instead of
981 `read-string'.
982 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
983 `read-from-minibuffer'.
984 * isearch.el (isearch-occur): Use `read-regexp' instead of
985 `read-string'.
986 * dired.el (dired-read-regexp): Use `read-regexp' instead of
987 `read-from-minibuffer'.
988 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
989 of `read-string'. (Bug#7567)
990
991 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
992 and allow accepting a list of strings prepended to a list of
993 standard default values. Doc fix. (Bug#12321)
994
995 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
996
997 * replace.el (read-regexp): Don't add ": " when PROMPT already
998 ends with a colon and space. (Bug#12321)
999
1000 2012-09-20 Tassilo Horn <tsdh@gnu.org>
1001
1002 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1003 error.
1004
1005 2012-09-20 Stefan Merten <smerten@oekonux.de>
1006
1007 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
1008 Fixes feature request bug#11711.
1009 (rst-mode): Create `imenu-create-index-function'.
1010 (rst-get-stripped-line): Delete after refactoring.
1011 (rst-section-tree, rst-section-tree-rec)
1012 (rst-section-tree-point): Refactor and document properly.
1013 (rst-imenu-find-adornments-for-position)
1014 (rst-imenu-convert-cell, rst-imenu-create-index):
1015 New function.
1016
1017 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1018
1019 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1020 (macroexp--expand-all): Use it.
1021 (macroexp--funcall-and-return): Remove by folding it into its sole
1022 caller (macroexp--warn-and-return).
1023 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1024 Use macroexp--obsolete-warning.
1025
1026 * calc/calc.el: Fix last change by removing the whole chunk, since it
1027 was only needed back when Calc was not bundled.
1028
1029 2012-09-20 Martin Rudalics <rudalics@gmx.at>
1030
1031 * emacs-lisp/debug.el (debug): Restore assignment to
1032 debugger-old-buffer removed on 2012-09-08.
1033
1034 2012-09-20 Juri Linkov <juri@jurta.org>
1035
1036 * dired-aux.el (dired-diff): Remove (require 'diff) since
1037 `diff-latest-backup-file' is now autoloaded.
1038
1039 2012-09-20 Chong Yidong <cyd@gnu.org>
1040
1041 * vc/diff.el (diff-latest-backup-file): Autoload.
1042
1043 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1044
1045 * calc/calc.el: Remove redundant autoload shape check.
1046 (sel-mode): Don't defvar.
1047 (calc-get-stack-element): Add `sel-mode' arg instead.
1048 (calc-top, calc-top-list): Pass it this additional argument.
1049 * calc/calc-store.el (calc-store-map):
1050 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1051 (calc-map-equation, calc-outer-product, calc-inner-product):
1052 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1053
1054 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1055
1056 2012-09-19 Juri Linkov <juri@jurta.org>
1057
1058 * dired-aux.el (dired-diff): Add (require 'diff) because
1059 `diff-latest-backup-file' is not autoloaded.
1060 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1061 of `dired-get-filename' to t to not report error when there is
1062 no default file on the current line.
1063
1064 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1065
1066 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1067 macroexp--eval-if-compile.
1068 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1069 (macroexp--expand-all): Use them (bug#12371).
1070
1071 * doc-view.el (doc-view-guess-paper-size)
1072 (doc-view-scale-bounding-box): Fix unbound `caddr'.
1073
1074 2012-09-19 Tassilo Horn <tsdh@gnu.org>
1075
1076 New feature: set optimal slice from BoundingBox information.
1077 * doc-view.el (doc-view-mode-map): Add keybinding.
1078 (doc-view-menu): Add menu entry.
1079 (doc-view-set-slice): Adapt docstring.
1080 (doc-view-get-bounding-box, doc-view-guess-paper-size)
1081 (doc-view-scale-bounding-box)
1082 (doc-view-set-slice-from-bounding-box): New functions.
1083 (doc-view-paper-sizes): New defvar.
1084
1085 2012-09-19 Glenn Morris <rgm@gnu.org>
1086
1087 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1088 (byte-compile-log-warning): Autoload. (Bug#12371)
1089
1090 * calendar/calendar.el (calendar-american-month-header)
1091 (calendar-european-month-header, calendar-iso-month-header)
1092 (calendar-month-header): New options.
1093 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
1094 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
1095
1096 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
1097
1098 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1099
1100 2012-09-18 Juri Linkov <juri@jurta.org>
1101
1102 * dired-aux.el (dired-diff): Restore original functionality of
1103 getting the default value, but keep new feature of using the
1104 latest existing backup file (`diff-latest-backup-file').
1105
1106 2012-09-18 Juri Linkov <juri@jurta.org>
1107
1108 * dired.el (dired-mark): If the region is active in Transient Mark
1109 mode, mark all files in the active region. Doc fix.
1110 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
1111 Doc fix. (Bug#10624)
1112
1113 2012-09-18 Juri Linkov <juri@jurta.org>
1114
1115 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
1116 attributes for M-n are pulled from the file at point.
1117 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
1118 Suggested by Drew Adams. (Bug#10624)
1119
1120 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
1121
1122 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
1123 whitespace after "end".
1124 (ruby-do-end-to-brace): Collapse block to one line if it fits
1125 within fill-column.
1126
1127 2012-09-18 Martin Rudalics <rudalics@gmx.at>
1128
1129 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
1130 value.
1131 (debug): Don't remove debugger window when debugger is expected
1132 to be back.
1133
1134 2012-09-18 Chong Yidong <cyd@gnu.org>
1135
1136 * custom.el (defface): Doc fix.
1137
1138 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
1139
1140 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
1141
1142 * progmodes/compile.el (compilation-start): Use compilation-always-kill
1143 to initialize query-on-exit; then test that instead (bug#12288).
1144
1145 2012-09-17 Stefan Merten <smerten@oekonux.de>
1146
1147 * textmodes/rst.el: Add support for `testcover'.
1148 (rst-defcustom-testcover, rst-testcover-add-compose)
1149 (rst-testcover-add-1value): New functions.
1150 (rst-portable-mark-active-p): Replace by `use-region-p'.
1151 (rst-update-section, rst-classify-adornment)
1152 (rst-find-title-line): Mark `1value' forms.
1153 (rst-classify-adornment): Remove superfluous form.
1154 (rst-update-section, rst-get-adornments-around)
1155 (rst-adornment-complete-p, rst-get-next-adornment)
1156 (rst-adjust, rst-promote-region)
1157 (rst-display-adornments-hierarchy, rst-straighten-adornments)
1158 (rst-find-pfx-in-region, rst-section-tree-rec)
1159 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
1160 (rst-toc-node, rst-toc, rst-forward-section)
1161 (rst-iterate-leftmost-paragraphs)
1162 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
1163 (rst-bullet-list-region)
1164 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
1165 (rst-compile-find-conf, rst-compile)
1166 (rst-repeat-last-character): Fix style.
1167
1168 2012-09-17 Chong Yidong <cyd@gnu.org>
1169
1170 * comint.el (comint--complete-file-name-data): Don't add a space
1171 if the status is `sole'; that adds a gratuitous space in the
1172 completion-cycling case (Bug#12092).
1173
1174 * pcomplete.el (pcomplete-completions-at-point): Likewise.
1175
1176 2012-09-17 Richard Stallman <rms@gnu.org>
1177
1178 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
1179 only in the mime-shown mode, not in raw mode.
1180 (rmail-mime): Toggle off mime by displaying the message without
1181 mime processing. (Bug#12305)
1182
1183 * mail/rmail.el (rmail-retry-failure):
1184 Turn off mime processing first. (Bug#12037)
1185
1186 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
1187
1188 2012-09-17 Chong Yidong <cyd@gnu.org>
1189
1190 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
1191 (shell-dynamic-complete-functions): Convert to defcustom.
1192 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
1193
1194 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
1195 * comint.el (comint-prompt-read-only):
1196 * custom.el (defcustom):
1197 * hi-lock.el (hi-lock-mode):
1198 * ibuffer.el (ibuffer-formats):
1199 * ielm.el (ielm-prompt-read-only):
1200 * novice.el (disable-command):
1201 * saveplace.el (toggle-save-place):
1202 * speedbar.el (speedbar-supported-extension-expressions):
1203 * startup.el (auto-save-list-file-prefix, init-file-user)
1204 (after-init-hook, inhibit-startup-echo-area-message):
1205 * strokes.el (strokes-help):
1206 * time-stamp.el (time-stamp):
1207 * calendar/calendar.el (calendar, diary-file):
1208 * calendar/diary-lib.el (diary-mail-entries, diary)
1209 (diary-list-entries-hook):
1210 * calendar/holidays.el (holidays, calendar-holidays):
1211 * calendar/lunar.el (lunar-phases):
1212 * calendar/solar.el (sunrise-sunset):
1213 * emulation/edt.el (edt-load-keys):
1214 * emulation/viper.el (viper-mode):
1215 * eshell/em-alias.el (eshell-command-aliases-list):
1216 * eshell/esh-util.el (eshell-convert-numeric-arguments):
1217 * international/ogonek.el (ogonek-information):
1218 * net/tramp-cmds.el (tramp-bug):
1219 * net/quickurl.el (quickurl-reread-hook-postfix):
1220 * play/decipher.el (decipher-font-lock-keywords):
1221 * progmodes/cc-styles.el (c-set-style):
1222 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
1223 * progmodes/inf-lisp.el (inferior-lisp-prompt):
1224 * progmodes/octave-mod.el (octave-mode):
1225 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
1226 * progmodes/verilog-mode.el (verilog-read-defines):
1227 * textmodes/two-column.el (2C-mode): Likewise.
1228
1229 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
1230
1231 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
1232 that holds many addresses.
1233
1234 2012-09-16 Chong Yidong <cyd@gnu.org>
1235
1236 * align.el (align-areas): Call the indication function with
1237 positions instead of markers for arguments (Bug#12343).
1238
1239 * files.el (parse-colon-path): Use split-string (Bug#12351).
1240
1241 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
1242 (display-buffer-function): Mark as obsolete.
1243
1244 * progmodes/compile.el (compilation-parse-errors): Accept list
1245 values similar to font-lock-keywords (Bug#12136).
1246 Suggested by Oleksandr Manzyuk.
1247 (compilation-error-regexp-alist): Doc fix.
1248
1249 2012-09-15 Glenn Morris <rgm@gnu.org>
1250
1251 * version.el (emacs-bzr-version-bzr): New function.
1252 (emacs-bzr-get-version): Add optional EXTERNAL argument.
1253
1254 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
1255 checkouts, check the parent dirstate matches the branch.
1256 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
1257 empty string.
1258
1259 * version.el (emacs-bzr-version): Doc fix.
1260 (emacs-bzr-version-dirstate): New function.
1261 (emacs-bzr-get-version): For lightweight checkouts, if the parent
1262 is local try and check that it matches the branch. If not, just
1263 use dirstate information. (Bug#12441)
1264
1265 2012-09-14 Juri Linkov <juri@jurta.org>
1266
1267 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
1268 (Bug#12399)
1269
1270 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1271
1272 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
1273
1274 * emacs-lisp/edebug.el: Miscellaneous cleanup.
1275 Remove obsolete byte-compiler hack that tried to silence some warnings.
1276 (edebug-submit-bug-report): Remove.
1277 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
1278 Remove aliases, use the un-prefixed name instead.
1279 (edebug-pop-to-buffer): Consider other frames.
1280 (edebug-original-read):: Make it more obvious that it's always defined.
1281 (edebug--make-form-data-entry, edebug--form-data-name)
1282 (edebug--form-data-begin, edebug--form-data-end): Rename from the
1283 single-dashed name, and implement with cl-defstruct.
1284 (edebug-set-form-data-entry): Use the standard accessors.
1285 (edebug-make-top-form-data-entry): Use push.
1286 (edebug-no-match): Drop useless `funcall'.
1287 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
1288 to functions.
1289 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
1290 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
1291 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
1292 (easy-menu-define, with-custom-print): Remove redundant specs.
1293 (edebug-outside-overriding-local-map)
1294 (edebug-outside-overriding-terminal-local-map): Remove, unused.
1295 (edebug--display): Bind unread-command-events directly to nil rather
1296 than binding it to unread-command-events and later setting it to nil.
1297 (edebug--display): Kill edebug-eval-buffer here...
1298 (edebug--recursive-edit): ...rather than here.
1299 Bind standard-output and standard-input.
1300 (edebug-eval): Check cl-macroexpand-all is fboundp.
1301 (edebug-temp-display-freq-count): Fix last change.
1302
1303 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
1304 * subr.el (noreturn, 1value): Add `debug' spec.
1305 * emacs-lisp/advice.el: Require cl-lib.
1306 (ad-copy-tree): Remove, use copy-tree instead.
1307 (ad-dolist): Remove use dolist or cl-dolist instead.
1308 (ad-do-return): Remove, use cl-return instead.
1309 (defadvice): Add `debug' spec.
1310
1311 2012-09-13 Juri Linkov <juri@jurta.org>
1312
1313 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
1314 (Bug#12399)
1315
1316 2012-09-13 Glenn Morris <rgm@gnu.org>
1317
1318 * calc/calc.el (math-compose-expr):
1319 * calc/calc-ext.el (math-compose-expr):
1320 * progmodes/cc-defs.el (cl-macroexpand-all):
1321 * progmodes/cc-langs.el (delete-duplicates, mapcan)
1322 (cl-macroexpand-all): Update declarations.
1323
1324 * vc/vc.el: No need to require ediff.
1325 (ediff-load-version-control): Declare.
1326 (ediff-vc-internal): Fix declaration.
1327 (vc-version-ediff): Require ediff.
1328
1329 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1330
1331 Use a more backwards-compatible timer format (Bug#12430).
1332 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
1333 being right after USECS, as that better supports old code that
1334 inadvisedly looked directly at the timer vector.
1335
1336 2012-09-13 Kenichi Handa <handa@gnu.org>
1337
1338 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
1339 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
1340 `coding-priority' property of these language environment.
1341
1342 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1343
1344 Fix glitches caused by addition of psec to timers (Bug#12430).
1345 * image.el (image-animate-timer):
1346 * time.el (display-time-world-timer):
1347 Use timer--function and timer--args rather than raw access to
1348 timer vector.
1349
1350 2012-09-13 Glenn Morris <rgm@gnu.org>
1351
1352 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
1353 If not compiling a file, try using load-file-name.
1354
1355 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1356
1357 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
1358 Fix last change.
1359 (edebug-update-eval-list): Use `push'.
1360
1361 * emacs-lisp/edebug.el: Use lexical-binding.
1362 Remove the "edebug-" prefix from non-dynamically-scoped variables.
1363 Mark unused args with underscore.
1364 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
1365 (edebug-form-data): Use defvar-local.
1366 (edebug-make-before-and-after-form, edebug-make-after-form):
1367 Use backquote.
1368 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
1369 Not dynamically scoped any more.
1370 (edebug--enter-trace): Add arguments `function' and `args'.
1371 Rename from edebug-enter-trace.
1372 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
1373 (edebug--update-coverage): Add `after-index' and `value' args.
1374 Rename from edebug-update-coverage.
1375 (edebug-slow-after): Call it accordingly.
1376 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
1377 edebug-recursive-edit.
1378 (edebug--display): Call it accordingly. Add args `value',
1379 `offset-index', and `arg-mode'. Rename from edebug-display.
1380 (edebug-debugger, edebug): Call it accordingly.
1381 (edebug-eval-display-list): Use dolist.
1382
1383 2012-09-12 Juri Linkov <juri@jurta.org>
1384
1385 * info.el (Info-search): Don't check for isearch-mode and
1386 isearch-regexp before let-binding search-spaces-regexp to
1387 Info-search-whitespace-regexp.
1388 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
1389 search-whitespace-regexp if isearch-lax-whitespace or
1390 isearch-regexp-lax-whitespace is non-nil.
1391 (Info-mode): Don't set local variable search-whitespace-regexp.
1392 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
1393
1394 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1395
1396 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
1397 (debugger-env-macro): Remove support for unread-command-char.
1398
1399 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
1400 the temporary map re-appearing on emulation-mode-map-alists.
1401
1402 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
1403 since 22.1.
1404
1405 * ehelp.el (with-electric-help): Accept functions in
1406 electric-help-form-to-execute.
1407 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
1408 And replace unread-command-char -> unread-command-events.
1409
1410 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
1411
1412 Sync with Tramp 2.2.6.
1413
1414 * net/tramp.el (tramp-accept-process-output): Don't use
1415 JUST-THIS-ONE in the XEmacs case.
1416
1417 * net/trampver.el: Update release number.
1418
1419 2012-09-12 Martin Rudalics <rudalics@gmx.at>
1420
1421 * emacs-lisp/debug.el (debugger-previous-window-height):
1422 New variable.
1423 (debug): When debugger-jumping-flag is non-nil try to restore
1424 height of debugger window. (Bug#8789)
1425
1426 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1427
1428 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
1429 overriding-local-map and pre/post-command-hook here.
1430 (edebug-recursive-edit): Do it here instead (bug#12345).
1431 (edebug-outside-unread-command-char): Remove all uses of
1432 unread-command-char.
1433
1434 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
1435 inhibit-debugger is bound instead.
1436
1437 2012-09-11 Bastien Guerry <bzg@gnu.org>
1438
1439 * subr.el (set-temporary-overlay-map): Add a docstring.
1440 (Bug#12346)
1441
1442 2012-09-11 Bastien Guerry <bzg@gnu.org>
1443
1444 * minibuffer.el (completion-table-subvert): Fix docstring.
1445 (Bug#12347)
1446
1447 2012-09-11 Bastien Guerry <bzg@gnu.org>
1448
1449 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
1450
1451 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
1452
1453 * progmodes/sql.el: Version 3.1
1454 (sql-db2-escape-newlines): New variable.
1455 (sql-escape-newlines-filter): Use it.
1456
1457 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
1458
1459 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1460
1461 2012-09-10 Dan Nicolaescu <dann@gnu.org>
1462
1463 * vc/diff-mode.el (diff-mode-menu):
1464 Bind diff-remove-trailing-whitespace.
1465
1466 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1467
1468 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
1469 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
1470 (emacs-lisp-byte-code-mode): New functions.
1471 (eval-sexp-add-defvars): Don't skip defvars in column >0.
1472 (eval-defun-2): Remove bogus interactive spec.
1473 (lisp-indent-line): Remove redundant whole-exp code, now done in
1474 indent-according-to-mode.
1475 (save-match-data): Remove redundant indent data.
1476
1477 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1478 Use `declare'.
1479
1480 2012-09-09 Juri Linkov <juri@jurta.org>
1481
1482 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1483 (replace-lax-whitespace, query-replace-regexp)
1484 (query-replace-regexp-eval, replace-regexp): Doc fix.
1485 (perform-replace, replace-highlight): Let-bind
1486 isearch-lax-whitespace to replace-lax-whitespace and
1487 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1488
1489 * isearch.el (isearch-query-replace): Let-bind
1490 replace-lax-whitespace to isearch-lax-whitespace and
1491 replace-regexp-lax-whitespace to
1492 isearch-regexp-lax-whitespace. (Bug#10885)
1493
1494 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1495
1496 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1497
1498 2012-09-09 Alan Mackenzie <acm@muc.de>
1499
1500 * progmodes/cc-engine.el (c-state-cache-init):
1501 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1502 (c-record-parse-state-state):
1503 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
1504
1505 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
1506
1507 * register.el (register-separator): Rename from
1508 separator-register. All uses changed. Doc fix.
1509 (register): Fix version.
1510
1511 2012-09-09 Chong Yidong <cyd@gnu.org>
1512
1513 * replace.el (query-replace-map): Bind four new symbols for
1514 requesting window scrolling.
1515
1516 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1517 query-replace-map (Bug#8948).
1518
1519 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1520
1521 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1522 since they are now in query-replace-map.
1523
1524 * window.el (scroll-other-window-down): Make the arg optional.
1525
1526 2012-09-09 Chong Yidong <cyd@gnu.org>
1527
1528 * files.el (hack-local-variables-confirm): Use quit-window to kill
1529 the *Local Variables* buffer.
1530
1531 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1532
1533 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1534 not just expect to be at its beginning. Adjust callees.
1535 Succeed when do-end block has no space before the pipe character.
1536 (ruby-brace-to-do-end): When the original block is one-liner,
1537 convert to multiline. Reindent the result.
1538
1539 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
1540
1541 * register.el (register): New group.
1542 (register-separator): New user option.
1543 (increment-register): Route it to `append-to-register', if
1544 register contains text. Implication is that `C-x r +' can now be
1545 used for appending to a text register (bug#12217).
1546 (append-to-register, prepend-to-register): Add separator based on
1547 `register-separator.
1548
1549 2012-09-08 Alan Mackenzie <acm@muc.de>
1550
1551 AWK Mode: make auto-newline work when there's "==" in the pattern.
1552 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1553 correctly.
1554 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1555 Test more rigorously for "=" token.
1556
1557 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1558
1559 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1560 Only fail when reached LIMIT.
1561
1562 2012-09-08 Chong Yidong <cyd@gnu.org>
1563
1564 * dired.el (dired-mode-map): Don't bind M-=.
1565
1566 * dired-aux.el (dired-diff): Use backup file as default.
1567
1568 2012-09-08 Drew Adams <drew.adams@oracle.com>
1569
1570 * subr.el (add-to-history): Fix delete usage (Bug#12314).
1571
1572 2012-09-08 Chong Yidong <cyd@gnu.org>
1573
1574 * subr.el (syntax-after, syntax-class): Doc fix.
1575
1576 2012-09-08 Martin Rudalics <rudalics@gmx.at>
1577
1578 * window.el (display-buffer-in-previous-window): New buffer
1579 display action function.
1580
1581 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
1582 (debugger-previous-window): New variable.
1583 (debug): Rewrite using display-buffer-in-previous-window,
1584 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
1585
1586 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1587
1588 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
1589
1590 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
1591
1592 * progmodes/python.el (python-shell-send-string):
1593 When default-directory is remote, create temp file on remote
1594 filesystem.
1595 (python-shell-send-file): When file is remote, pass local view of
1596 file paths to remote Python interpreter. (Bug#12340)
1597
1598 2012-09-07 Chong Yidong <cyd@gnu.org>
1599
1600 * window.el (switch-to-buffer): Doc fix (Bug#12181).
1601
1602 * files.el (after-find-file): Don't fail on a read-only buffer if
1603 require-final-newline is `visit' or `visit-save' (Bug#11156).
1604
1605 * subr.el (read-char-choice): Allow quitting via ESC ESC.
1606
1607 * userlock.el (ask-user-about-supersession-threat):
1608 Use read-char-choice (Bug#12093).
1609
1610 2012-09-07 Chong Yidong <cyd@gnu.org>
1611
1612 * subr.el (buffer-narrowed-p): New function.
1613
1614 * ses.el (ses-widen):
1615 * simple.el (count-words--buffer-message):
1616 * net/browse-url.el (browse-url-of-buffer): Use it
1617
1618 * simple.el (count-words-region): Don't signal an error if there
1619 is a non-nil prefix arg and the mark is not set.
1620
1621 * help.el (describe-key-briefly): Allow the message to be seen
1622 when invoked from the minibuffer (Bug#7014).
1623
1624 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1625
1626 * progmodes/ruby-mode.el (ruby-end-of-defun)
1627 (ruby-beginning-of-defun): Simplify, allow indentation before
1628 block beginning and end keywords.
1629 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
1630 (ruby-end-of-defun): Expect that the point is at the beginning of
1631 the defun.
1632
1633 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1634
1635 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
1636 (bug#12367).
1637 (cl--make-usage-args): Strip _ from argument names.
1638
1639 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1640
1641 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
1642 obsolete alias speedbar-key-map.
1643 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
1644 (vhdl-index-menu-init): Don't use obsolete variable
1645 font-lock-maximum-size.
1646
1647 2012-09-06 Chong Yidong <cyd@gnu.org>
1648
1649 * frame.el (window-system-version): Mark as obsolete.
1650
1651 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
1652 of obsolete variable speedbar-key-map.
1653
1654 2012-09-06 Juri Linkov <juri@jurta.org>
1655
1656 * replace.el (replace-lax-whitespace): New defcustom.
1657 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1658 (replace-string, replace-regexp): Mention it in docstrings.
1659 (perform-replace, replace-highlight): Let-bind
1660 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
1661 to the values of replace-lax-whitespace and regexp-flag.
1662 Don't let-bind search-whitespace-regexp. (Bug#10885)
1663
1664 * isearch.el (isearch-query-replace): Let-bind
1665 replace-lax-whitespace instead of let-binding
1666 replace-search-function and replace-re-search-function.
1667 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
1668 and isearch-regexp-lax-whitespace to lazy-highlight variables.
1669 (isearch-toggle-symbol): Set isearch-regexp to nil
1670 in isearch-word mode (like in isearch-toggle-word).
1671
1672 2012-09-06 Juri Linkov <juri@jurta.org>
1673
1674 * replace.el (replace-search-function)
1675 (replace-re-search-function): Set default values to nil.
1676 (perform-replace): Let-bind isearch-related variables based on
1677 replace-related values, call `isearch-search-fun' and let-bind
1678 the result to `search-function'. Remove code that sets
1679 `search-function' and `search-string' separately for
1680 `delimited-flag'.
1681 (replace-highlight): Add new argument `delimited-flag' and
1682 rename other arguments to the names used in `perform-replace'.
1683 Let-bind `isearch-word' to the argument `delimited-flag'.
1684 (Bug#10885, bug#10887)
1685
1686 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1687
1688 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
1689 ruby-beginning-of-indent, simplify, allow all keywords to have
1690 indentation before them.
1691 (ruby-beginning-of-indent): Adjust for above. Search until the
1692 found point is not inside a string or comment.
1693 (ruby-font-lock-keywords): Allow symbols to start with "@"
1694 character, give them higher priority than variables.
1695 (ruby-syntax-propertize-function)
1696 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
1697 matchers. Expression expansions are not comments when inside a
1698 string, and there comment syntax status is irrelevant.
1699 (ruby-match-expression-expansion): New function. Check that
1700 expression expansion is inside a string, and it's not escaped.
1701 (ruby-font-lock-keywords): Use it.
1702
1703 2012-09-05 Martin Rudalics <rudalics@gmx.at>
1704
1705 * help.el (temp-buffer-max-height): New default value.
1706 (temp-buffer-resize-frames): New option.
1707 (resize-temp-buffer-window): Optionally resize frame.
1708
1709 * window.el (fit-frame-to-buffer-bottom-margin): New option.
1710 (fit-frame-to-buffer): New function.
1711
1712 2012-09-05 Glenn Morris <rgm@gnu.org>
1713
1714 * emulation/cua-rect.el (cua--init-rectangles):
1715 * textmodes/picture.el (picture-mode-map):
1716 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
1717 like forward-char and backward-char. (Bug#12317)
1718
1719 2012-09-05 Leo Liu <sdl.web@gmail.com>
1720
1721 * progmodes/flymake.el (flymake-warning-re): New variable.
1722 (flymake-parse-line): Use it.
1723
1724 2012-09-05 Glenn Morris <rgm@gnu.org>
1725
1726 * calendar/holidays.el (holiday-christian-holidays):
1727 Rename an entry. (Bug#12289)
1728
1729 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1730
1731 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
1732 (bug#12222).
1733
1734 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1735
1736 * loadup.el: Load macroexp. Remove hack.
1737 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
1738 (macroexp--expand-all): Use it to get better warnings.
1739 (macroexp--backtrace, macroexp--trim-backtrace-frame)
1740 (internal-macroexpand-for-load): New functions.
1741 (macroexp--pending-eager-loads): New var.
1742 (emacs-startup-hook): New hack to replace one in loadup.el.
1743 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
1744 (cl--compiler-macro-cXXr): Move to top, before they can be used.
1745 (cl-psetf): Simplify.
1746 (cl-defstruct): Add indent rule.
1747
1748 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
1749
1750 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
1751 over `user-mail-address' for the SMTP MAIL FROM envelope.
1752 (smtpmail-via-smtp): Ditto.
1753
1754 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
1755
1756 * progmodes/ruby-mode.el: Clean up keybindings.
1757 (ruby-mode-map): Don't bind ruby-electric-brace,
1758 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
1759 backward-kill-word, reindent-then-newline-and-indent.
1760 (ruby-mark-defun): Remove.
1761 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
1762 (ruby-mode): Set local beginning-of-defun-function and
1763 end-of-defun-function values.
1764
1765 2012-09-03 Martin Rudalics <rudalics@gmx.at>
1766
1767 * window.el (temp-buffer-window-setup-hook)
1768 (temp-buffer-window-show-hook): New hooks.
1769 (temp-buffer-window-setup, temp-buffer-window-show)
1770 (with-temp-buffer-window): New functions.
1771 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
1772 (special-display-popup-frame): Make sure the window used shows BUFFER.
1773
1774 * help.el (temp-buffer-resize-mode): Fix doc-string.
1775 (resize-temp-buffer-window): New optional argument WINDOW.
1776
1777 * files.el (recover-file, save-buffers-kill-emacs):
1778 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
1779
1780 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
1781
1782 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
1783 remote definition of `default-directory', ensure we can connect.
1784
1785 2012-09-02 Juri Linkov <juri@jurta.org>
1786
1787 Toggle whitespace matching mode with M-s SPC.
1788 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
1789
1790 * isearch.el (search-whitespace-regexp): Doc fix.
1791 Remove cons cell customization.
1792 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
1793 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
1794 New variables.
1795 (isearch-forward, isearch-forward-regexp): Doc fix.
1796 (isearch-toggle-lax-whitespace): New command.
1797 (search-forward-lax-whitespace, search-backward-lax-whitespace)
1798 (re-search-forward-lax-whitespace)
1799 (re-search-backward-lax-whitespace): New functions.
1800 (isearch-whitespace-regexp): Remove function.
1801 (isearch-query-replace): Let-bind replace-search-function and
1802 replace-re-search-function.
1803 (isearch-occur): Let-bind search-spaces-regexp according to the
1804 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
1805 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
1806 condition for C-q SPC.
1807 (isearch-search-fun-default): Use new functions mentioned above.
1808 (isearch-search-forward, isearch-search-backward): Remove functions.
1809 (isearch-search): Don't let-bind search-spaces-regexp.
1810 (isearch-lazy-highlight-space-regexp): Remove variable.
1811 (isearch-lazy-highlight-lax-whitespace)
1812 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
1813 (isearch-lazy-highlight-new-loop): Use them.
1814 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
1815
1816 2012-09-02 Chong Yidong <cyd@gnu.org>
1817
1818 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
1819
1820 2012-09-02 Glenn Morris <rgm@gnu.org>
1821
1822 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
1823
1824 2012-09-01 Glenn Morris <rgm@gnu.org>
1825
1826 * term.el: Tidy up menu definitions.
1827 (term-mode-map): Use easymenu for In/Out, Complete menus.
1828 (term-pager-break-map): Initialize in the defvar.
1829 (term-terminal-menu, term-signals-menu): Define with easymenu.
1830 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
1831 (term-pager-menu): New, extracted from term-process-pager.
1832 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
1833 (term-update-mode-line): Propertize line/char and page items.
1834 (term-process-pager): Move keymap initialization elsewhere.
1835
1836 2012-09-01 Martin Rudalics <rudalics@gmx.at>
1837
1838 * window.el (switch-to-prev-buffer): Handle additional values of
1839 BURY-OR-KILL argument. Don't switch in minibuffer window.
1840 (switch-to-next-buffer): Don't switch in minibuffer window.
1841 (quit-restore-window): New function based on quit-window.
1842 Handle additional values of former KILL argument.
1843 (quit-window): Call quit-restore-window with appropriate
1844 interpretation of KILL argument.
1845 (display-buffer-below-selected): New buffer display action
1846 function.
1847
1848 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1849
1850 * minibuffer.el (completion-at-point-functions): Complete docstring
1851 (bug#12254).
1852
1853 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
1854
1855 Better seed support for (random).
1856 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
1857 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
1858 * play/mpuz.el, play/tetris.el, play/zone.el:
1859 * calc/calc-comb.el (math-init-random-base):
1860 * play/blackbox.el (bb-init-board):
1861 * play/life.el (life):
1862 * server.el (server-use-tcp):
1863 * type-break.el (type-break):
1864 Remove unnecessary call to (random t).
1865 * net/sasl.el (sasl-unique-id-function):
1866 Change (random t) to (random), now that the latter is more random.
1867 * play/life.el (life-initialized): Remove no-longer-needed var.
1868
1869 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
1870
1871 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1872 Consider frame's buffer predicate when choosing the buffer.
1873 (Bug#12081)
1874
1875 2012-08-30 Richard Stallman <rms@gnu.org>
1876
1877 * simple.el (special-mode-map): Delete binding for `z'.
1878
1879 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
1880
1881 * progmodes/compile.el (compilation-always-kill): Doc fix.
1882
1883 2012-08-30 Chong Yidong <cyd@gnu.org>
1884
1885 * window.el (display-buffer-reuse-frames): Make the obsolescence
1886 message more informative.
1887
1888 2012-08-30 Glenn Morris <rgm@gnu.org>
1889
1890 * paren.el (show-paren-delay):
1891 Add a :set function. Doc fix. (Bug#12297)
1892
1893 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
1894
1895 * progmodes/compile.el (compilation-always-kill): New var.
1896 (compilation-start): Use it.
1897
1898 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1899
1900 * simple.el (read-only-mode): Move from files.el for bootstrapping.
1901 * files.el (read-only-mode): Move to simple.el.
1902
1903 * files.el (read-only-mode): New minor mode.
1904 (toggle-read-only): Use it and mark obsolete.
1905 (find-file--read-only):
1906 * vc/vc.el (vc-next-action, vc-checkout):
1907 * vc/vc-cvs.el (vc-cvs-checkout):
1908 * obsolete/vc-mcvs.el (vc-mcvs-update):
1909 * ffap.el (ffap--toggle-read-only): Update callers.
1910
1911 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
1912
1913 * eshell/esh-ext.el (eshell-external-command): Do not examine
1914 remote shell scripts.
1915 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
1916
1917 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
1918 "/usr/local/sbin".
1919
1920 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1921
1922 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
1923
1924 2012-08-28 Leo Liu <sdl.web@gmail.com>
1925
1926 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
1927 completion-at-point. (Bug#12220)
1928
1929 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
1930
1931 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
1932
1933 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1934
1935 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
1936 be buffer-local; add delete-trailing-whitespace (bug#12259).
1937
1938 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
1939
1940 * progmodes/hideif.el (hif-compress-define-list):
1941 Fix typo. (Bug#11951)
1942
1943 2012-08-28 Dan Nicolaescu <dann@gnu.org>
1944
1945 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
1946 buffer local setting.
1947
1948 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
1949 rcirc-encode-coding-system.
1950
1951 2012-08-28 Leo Liu <sdl.web@gmail.com>
1952
1953 * net/rcirc.el (rcirc-split-message): New function.
1954 (rcirc-send-message): Use it. (Bug#12051)
1955
1956 2012-08-28 Juri Linkov <juri@jurta.org>
1957
1958 * info.el (Info-fontify-node): Hide empty lines at the end of
1959 the node. (Bug#12272)
1960
1961 2012-08-27 Drew Adams <drew.adams@oracle.com>
1962
1963 * dired.el (dired-pop-to-buffer): Make window start at beginning
1964 of buffer (Bug#12281).
1965
1966 2012-08-26 Chong Yidong <cyd@gnu.org>
1967
1968 * window.el (special-display-regexps, special-display-frame-alist)
1969 (special-display-buffer-names, special-display-function)
1970 (display-buffer-reuse-frames): Mark as obsolete.
1971
1972 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
1973
1974 * help.el (help-print-return-message): Don't treat
1975 display-buffer-reuse-frames specially.
1976
1977 2012-08-26 Chong Yidong <cyd@gnu.org>
1978
1979 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1980 New variable, replacing gdb-frame-parameters.
1981 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
1982 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
1983 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
1984 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
1985 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
1986 the functions directly with gdb-display-buffer-other-frame-action.
1987 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
1988 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
1989 (gdb-display-stack-buffer, gdb-display-locals-buffer)
1990 (gdb-display-registers-buffer): Define directly.
1991 (def-gdb-display-buffer): Macro deleted.
1992 (gdb-display-buffer): Remove second and third args, callers don't
1993 use them. Defer to the default display-buffer behavior, apart
1994 from making windows dedicated.
1995 (gdb-setup-windows): Don't call display-buffer unnecessarily.
1996
1997 * progmodes/gud.el (gud-display-line): Just use display-buffer.
1998
1999 * window.el (display-buffer-pop-up-frame): Handle a
2000 pop-up-frame-parameters alist entry.
2001 (display-buffer): Document it.
2002
2003 2012-08-26 Chong Yidong <cyd@gnu.org>
2004
2005 * isearch.el (search-whitespace-regexp): Make string and nil
2006 values apply to both ordinary and regexp search. Allow a cons
2007 cell value to distinguish between the two.
2008 (isearch-whitespace-regexp, isearch-search-forward)
2009 (isearch-search-backward): New functions.
2010 (isearch-occur, isearch-search-fun-default, isearch-search)
2011 (isearch-lazy-highlight-new-loop): Use them.
2012 (isearch-forward, isearch-forward-regexp): Doc fix.
2013
2014 2012-08-26 Chong Yidong <cyd@gnu.org>
2015
2016 * faces.el (help-argument-name): Always inherit from italic
2017 (Bug#12213).
2018
2019 2012-08-25 Martin Rudalics <rudalics@gmx.at>
2020
2021 * window.el (window--even-window-heights): Even heights when
2022 WINDOW and the selected window form a vertical combination.
2023 (display-buffer-use-some-window): Provide that window used gets
2024 sized back by quit-window. (Bug#11880) and (Bug#12091)
2025
2026 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2027
2028 Fix file time stamp problem with bzr and CVS (Bug#12001).
2029 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2030 in the file's time stamp, since the version control system loses
2031 that information.
2032
2033 2012-08-22 Juri Linkov <juri@jurta.org>
2034
2035 * info.el (Info-fontify-node): Hide the suffix of the
2036 Info file name in the header line. (Bug#12187)
2037
2038 2012-08-22 Glenn Morris <rgm@gnu.org>
2039
2040 * calendar/cal-tex.el (cal-tex-weekly-common):
2041 Restore leading blank page.
2042
2043 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
2044
2045 * misc.el (forward-to-word, backward-to-word): Activate or extend
2046 the region under `shift-select-mode'. (Bug#12231)
2047
2048 2012-08-22 Bastien Guerry <bzg@gnu.org>
2049
2050 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2051 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2052 gives details on why the space is never needed.
2053
2054 2012-08-22 Martin Rudalics <rudalics@gmx.at>
2055
2056 * window.el (walk-window-tree, window-with-parameter):
2057 New optional argument MINIBUF to control whether these functions
2058 should run on the minibuffer window.
2059 (window-at-side-list): Don't operate on minibuffer window.
2060 (window-in-direction): Simplify and rewrite doc-string.
2061 (window--size-ignore): Rename to window--size-ignore-p.
2062 Update callers.
2063 (display-buffer-in-atom-window, window--major-non-side-window)
2064 (window--major-side-window, display-buffer-in-major-side-window)
2065 (delete-side-window, display-buffer-in-side-window):
2066 New functions.
2067 (window--side-check, window-deletable-p, delete-window)
2068 (delete-other-windows, split-window): Handle side windows and
2069 atomic windows appropriately.
2070 (window--display-buffer): Call display-buffer-record-window also
2071 when the window buffer did not change.
2072
2073 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2074
2075 * help-fns.el (help-fns--key-bindings):
2076 Abbreviate non-symbol remap targets. (Bug#12174)
2077
2078 2012-08-22 Martin Rudalics <rudalics@gmx.at>
2079
2080 * dired.el (dired-mark-remembered): Don't clobber point.
2081 (Bug#11795)
2082
2083 2012-08-22 Glenn Morris <rgm@gnu.org>
2084
2085 * progmodes/bug-reference.el (bug-reference): New custom group.
2086 (bug-reference-bug-regexp): Make it a defcustom.
2087
2088 2012-08-22 Daiki Ueno <ueno@unixuser.org>
2089
2090 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2091 (js-paren-indent-offset, js-square-indent-offset)
2092 (js-curly-indent-offset): Add :safe (Bug#12257).
2093
2094 2012-08-22 Edward O'Connor <hober0@gmail.com>
2095
2096 * json.el (json-key-format): Add error properties.
2097 (json-encode-key): New function.
2098 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2099 Use json-encode-key.
2100
2101 2012-08-22 Glenn Morris <rgm@gnu.org>
2102
2103 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2104 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2105 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2106 Update for above change.
2107
2108 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2109
2110 * cus-face.el (custom-face-attributes): Fix customize type for the
2111 :underline attribute. (Bug#11805)
2112
2113 2012-08-21 Martin Rudalics <rudalics@gmx.at>
2114
2115 * window.el (window-point-1, set-window-point-1): Remove.
2116 (window-in-direction, record-window-buffer)
2117 (set-window-buffer-start-and-point, split-window-below)
2118 (window--state-get-1, display-buffer-record-window):
2119 Replace calls to window-point-1 and set-window-point-1 by calls to
2120 window-point and set-window-point respectively.
2121
2122 2012-08-21 Glenn Morris <rgm@gnu.org>
2123
2124 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2125 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2126 Use it.
2127
2128 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2129 (cal-tex-shortday): New function.
2130 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2131 (cal-tex-cursor-filofax-daily): Use the above.
2132
2133 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2134 New functions.
2135 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2136 (cal-tex-cursor-filofax-week): Use them.
2137
2138 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2139 New constants.
2140 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2141 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2142
2143 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2144 (cal-tex-end-document): Don't rely on buffer name.
2145
2146 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2147 Use cal-tex-vspace.
2148 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2149 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2150 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2151 Use cal-tex-arg.
2152
2153 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2154 (cal-tex-cursor-week, cal-tex-cursor-week2)
2155 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2156 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2157 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2158 (cal-tex-insert-preamble, cal-tex-b-document)
2159 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2160 Improve cal-tex-cmd usage.
2161
2162 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2163 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2164 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2165 (cal-tex-weekly-paper): New function.
2166 (cal-tex-cursor-week, cal-tex-cursor-week2)
2167 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2168 (cal-tex-cursor-day): Use it.
2169
2170 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2171 (cal-tex-cursor-filofax-week): Remove leading blank page.
2172
2173 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2174 Add autoload cookie. For now at least, don't use color, since
2175 no other cal-tex function does.
2176
2177 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2178 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2179 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2180
2181 2012-08-21 Juri Linkov <juri@jurta.org>
2182
2183 * info.el (Info-file-attributes): New variable.
2184 (info-insert-file-contents): Add file attributes to
2185 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2186 `Info-toc-nodes' when previous modtime of the Info file is less
2187 than new modtime.
2188 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2189 of info.el. (Bug#12230)
2190
2191 2012-08-20 Glenn Morris <rgm@gnu.org>
2192
2193 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2194 * calendar/holidays.el (calendar-holiday-list):
2195 Report errors with display-warning rather than beep'n'sleep.
2196
2197 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
2198
2199 * net/tramp.el (tramp-accept-process-output): Accept only output
2200 from PROC. Otherwise, process filters and sentinels might be
2201 confused. (Bug#12145)
2202
2203 2012-08-20 Chong Yidong <cyd@gnu.org>
2204
2205 * descr-text.el (describe-text-properties-1): Use overlays-in to
2206 report on empty overlays (Bug#3322).
2207
2208 2012-08-20 Glenn Morris <rgm@gnu.org>
2209
2210 * mail/rmailout.el (rmail-output-read-file-name):
2211 Trap and report errors in rmail-output-file-alist elements.
2212
2213 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2214 since most non-font-lock faces are not also variables).
2215
2216 2012-08-20 Edward Reingold <reingold@iit.edu>
2217
2218 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2219 New function. (Bug12160)
2220
2221 2012-08-19 Glenn Morris <rgm@gnu.org>
2222
2223 * mail/rmailout.el (rmail-output-read-file-name):
2224 Fix previous change (when the alist is nil or does not match).
2225
2226 2012-08-19 Chong Yidong <cyd@gnu.org>
2227
2228 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2229 (Bug#12228).
2230
2231 2012-08-18 Chong Yidong <cyd@gnu.org>
2232
2233 * simple.el (yank-handled-properties): New defcustom.
2234 (yank-excluded-properties): Add font-lock-face and category.
2235 (yank): Doc fix.
2236
2237 * subr.el (remove-yank-excluded-properties):
2238 Obey yank-handled-properties. The special handling of font-lock-face
2239 and category is now done this way, instead of being hard-coded.
2240 (insert-for-yank-1): Remove font-lock-face handling.
2241 (yank-handle-font-lock-face-property)
2242 (yank-handle-category-property): New function.
2243
2244 2012-08-17 Glenn Morris <rgm@gnu.org>
2245
2246 * mail/rmailout.el (rmail-output-read-file-name):
2247 Check rmail-output-file-alist against the full message body
2248 in the correct rmail buffer. (Bug#12214)
2249
2250 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
2251
2252 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2253 Eliminate superfluous prompt. (Bug#12203)
2254
2255 2012-08-17 Chong Yidong <cyd@gnu.org>
2256
2257 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2258 font spec, set the font directly (Bug#3228).
2259
2260 2012-08-17 Martin Rudalics <rudalics@gmx.at>
2261
2262 * window.el (delete-window): Fix last fix.
2263
2264 2012-08-16 Martin Rudalics <rudalics@gmx.at>
2265
2266 * window.el (window-valid-p): Move to window.c.
2267 (window-child, window-child-count, window-last-child)
2268 (window-normalize-window, window-combined-p)
2269 (window-combinations, window-atom-root, window-min-size)
2270 (window-sizable, window-sizable-p, window-size-fixed-p)
2271 (window-min-delta, window-max-delta, window--resizable)
2272 (window--resizable-p, window-resizable, window-total-size)
2273 (window-full-height-p, window-full-width-p, window-body-size)
2274 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2275 (minimize-window, window-deletable-p, delete-window)
2276 (delete-other-windows, set-window-buffer-start-and-point)
2277 (next-buffer, previous-buffer, split-window, balance-windows-2)
2278 (set-window-text-height, window-buffer-height)
2279 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
2280 (truncated-partial-width-window-p): Minor code adjustments.
2281 In doc-strings state whether the argument window has to denote a
2282 live, valid or any window.
2283
2284 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2285
2286 * progmodes/subword.el (subword-forward-function)
2287 (subword-backward-function, subword-forward-regexp)
2288 (subword-backward-regexp): New variables.
2289 (subword-forward, subword-forward-internal, subword-backward-internal):
2290 Use new variables, eg so that different "word" definitions
2291 can be easily used. (Bug#11411)
2292
2293 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2294
2295 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2296 for composite selectors.
2297 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2298 operation just because we can't find a previous revision.
2299
2300 2012-08-15 Chong Yidong <cyd@gnu.org>
2301
2302 * frame.el (set-frame-font): Accept font objects.
2303
2304 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2305
2306 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2307
2308 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2309
2310 * man.el (Man-overstrike-face, Man-underline-face)
2311 (Man-reverse-face): Remove variables.
2312 (Man-overstrike, Man-underline, Man-reverse): New faces.
2313 (Man-fontify-manpage): Use them instead of the variables.
2314 (Man-cleanup-manpage): Comment change.
2315 (Man-ansi-color-map): New variable.
2316 (Man-fontify-manpage): Use it.
2317 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2318
2319 Implement ANSI SGR parameters 22-27 (bug#12146).
2320 * ansi-color.el (ansi-colors): Doc fix.
2321 (ansi-color-context, ansi-color-context-region): Doc fix.
2322 (ansi-color--find-face): New function.
2323 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2324 Rename the local variable `face' to `codes' since it is now a list of
2325 ansi codes. Doc fix.
2326 (ansi-color-get-face): Remove.
2327 (ansi-color-parse-sequence): New function, derived from
2328 ansi-color-get-face.
2329 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
2330 codes 22-27.
2331
2332 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2333
2334 * subr.el (read-passwd): Allow use from a minibuffer.
2335
2336 2012-08-14 Eli Zaretskii <eliz@gnu.org>
2337
2338 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2339 inside comments and strings as identifiers.
2340
2341 * progmodes/gud.el (gud-tooltip-print-command): Quote the
2342 expression to evaluate. This allows to evaluate expressions with
2343 embedded whitespace.
2344 (gud-tooltip-tips): Add a blank before the newline in the
2345 message-box text, for the benefit of message-box emulation on
2346 MS-Windows.
2347
2348 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2349 messages from GDB, pop them up in a tooltip to give feedback to
2350 user.
2351 (gdb-tooltip-print-1): Quote the expression to evaluate.
2352 This allows to evaluate expressions with embedded whitespace.
2353 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2354 if the TTY name is nil or empty (which happens when communicating
2355 with the inferior via pipes, e.g. on MS-Windows).
2356 (gdb-internals): If GDB sends a "&\n" empty debugging message,
2357 don't send that to the GUD buffer.
2358
2359 2012-08-14 Glenn Morris <rgm@gnu.org>
2360
2361 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2362 Optimize away setq-default with no args, as for setq. (Bug#12195)
2363
2364 2012-08-14 Chong Yidong <cyd@gnu.org>
2365
2366 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2367
2368 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2369 (Bug#12085).
2370
2371 2012-08-14 Glenn Morris <rgm@gnu.org>
2372
2373 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2374
2375 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
2376
2377 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2378 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2379 Use cached shell name.
2380
2381 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2382
2383 * progmodes/python.el (python-shell-send-string):
2384 (python-shell-send-setup-code): Do not use `format' with `message'.
2385
2386 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
2387
2388 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2389 (ruby-percent-literal-beg-re): New constant.
2390 (ruby-syntax-general-delimiters-goto-beg): Rename to
2391 `ruby-syntax-enclosing-percent-literal', improve literal type check.
2392 (ruby-syntax-propertize-general-delimiters): Rename to
2393 `ruby-syntax-propertize-percent-literal', it's a shorter and more
2394 popular term. Adjust comments everywhere.
2395 (ruby-syntax-propertize-percent-literal): Only propertize when not
2396 inside a simple string or comment. When the literal is unclosed,
2397 leave the text after it unpropertized.
2398 (ruby-syntax-methods-before-regexp): New constant.
2399 (ruby-syntax-propertize-function): Use it to recognize regexps.
2400 Don't look at the text after regexp, just use the whitelist.
2401
2402 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
2403
2404 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2405 non-nil always load the compiled file if it exists. (Bug#12197)
2406
2407 2012-08-14 Chong Yidong <cyd@gnu.org>
2408
2409 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
2410 (hi-lock-set-pattern): When deciding whether to use font lock or
2411 overlays, look at font-lock-mode instead of font-lock-fontified
2412 (Bug#12168).
2413 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
2414 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
2415
2416 2012-08-14 Daiki Ueno <ueno@unixuser.org>
2417
2418 * subr.el (internal--after-with-selected-window): Fix typo
2419 (Bug#12193).
2420
2421 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2422
2423 Use `completion-table-dynamic' for completion functions.
2424 * progmodes/python.el
2425 (python-shell-completion--do-completion-at-point)
2426 (python-shell-completion--get-completions):
2427 Remove functions.
2428 (python-shell-completion-complete-at-point): New function.
2429 (python-completion-complete-at-point): Use it.
2430
2431 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
2432
2433 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2434 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2435
2436 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2437
2438 * subr.el (function-get): Refine `autoload' arg so it can also
2439 autoload functions for gv.el (bug#12191).
2440 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
2441 autoloads macros.
2442
2443 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
2444 Prefer pcase-let over destructuring-bind.
2445 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
2446 Also, remove whitespace as we go, rather than after accumulating the
2447 various places.
2448
2449 * subr.el (internal--before-with-selected-window)
2450 (internal--after-with-selected-window): Fix typo seleted->selected.
2451 (with-selected-window): Adjust callers.
2452 Reported by Dmitry Gutov <dgutov@yandex.ru>.
2453
2454 2012-08-13 Bastien Guerry <bzg@gnu.org>
2455
2456 * window.el (special-display-popup-frame): Minor docstring
2457 enhancement. (Bug#12172)
2458
2459 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
2460
2461 * tar-mode.el (tar-header-data-end): Only ignore size for files of
2462 type 1-6.
2463 (tar-header-block-summarize, tar-get-descriptor): Handle pax
2464 extended headers.
2465
2466 * files.el (hack-local-variables-filter): Remove useless eval.
2467
2468 2012-08-13 Martin Rudalics <rudalics@gmx.at>
2469
2470 * subr.el (with-selected-window): Fix last change.
2471
2472 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2473
2474 * subr.el (internal--before-with-seleted-window)
2475 (internal--after-with-seleted-window): New functions.
2476 (with-selected-window): Use them, to replace dependency on
2477 tty-top-frame.
2478
2479 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2480
2481 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2482 binding for `newline'.
2483 (ruby-move-to-block): When moving backward, stop at block opening,
2484 not indentation.
2485 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2486 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2487 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2488 `ruby-toggle-block'.
2489
2490 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2491
2492 * ibuffer.el (ibuffer-do-toggle-read-only):
2493 * dired.el (dired-toggle-read-only):
2494 * buff-menu.el (Buffer-menu-toggle-read-only):
2495 * bindings.el (mode-line-toggle-read-only):
2496 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2497
2498 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
2499
2500 * descr-text.el (describe-char): Put the overlays over the
2501 "displayed as" character.
2502
2503 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
2504
2505 * calc/calc-units.el (math-default-units-table): Give an
2506 initial value.
2507 (math-put-default-units): Add options to put composite units and
2508 unit systems in the default units table.
2509 (calc-convert-units): Send composite units to
2510 `math-put-default-units' when appropriate.
2511
2512 2012-08-11 Glenn Morris <rgm@gnu.org>
2513
2514 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2515
2516 * tutorial.el (help-with-tutorial):
2517 * emacs-lisp/copyright.el (copyright-update-directory):
2518 * emacs-lisp/autoload.el (autoload-find-generated-file)
2519 (autoload-find-file): Disable local eval: (for insurance).
2520
2521 * files.el (hack-local-variables-filter): If an eval: form is not
2522 known to be safe, and enable-local-variables is :safe, then ignore
2523 the form totally, as is done for non-eval forms. (Bug#12155)
2524 This is CVE-2012-3479.
2525
2526 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2527
2528 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2529 (rx-form): Simplify.
2530
2531 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
2532
2533 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2534 ?, _, and : are symbol constituents, ! is not (but kinda should be).
2535 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2536 (ruby-syntax-propertize-function): Adjust for changes in
2537 `ruby-syntax-propertize-heredoc'.
2538
2539 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
2540
2541 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2542 binding (use `M-;' instead).
2543 (ruby-singleton-class-p): New function.
2544 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
2545
2546 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2547
2548 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2549
2550 2012-08-10 Chong Yidong <cyd@gnu.org>
2551
2552 * progmodes/python.el (python-shell-get-process-name): Don't mess
2553 with same-window-buffer-names.
2554
2555 * eshell/eshell.el (eshell-add-to-window-buffer-names)
2556 (eshell-remove-from-window-buffer-names): Make obsolete.
2557 (eshell-buffer-name, eshell-unload-hook): Don't use them.
2558 (eshell): Just use pop-to-buffer-same-window instead.
2559
2560 2012-08-10 Chong Yidong <cyd@gnu.org>
2561
2562 * bindings.el: Bind M-= back to count-words-region.
2563
2564 * simple.el (count-words-region): Accept a prefix arg for acting
2565 on the entire buffer.
2566 (count-words--buffer-message): New helper function.
2567
2568 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2569
2570 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2571 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2572 (event-start, event-end): Use posn-at-point to return a more
2573 informative posn.
2574 (posnp): New function.
2575 * mouse.el (popup-menu-normalize-position): Use it.
2576
2577 2012-08-10 Masatake YAMATO <yamato@redhat.com>
2578
2579 * mouse.el (popup-menu-normalize-position): New function.
2580 (popup-menu): Use `popup-menu-normalize-position' to normalize
2581 the form for POSITION argument.
2582
2583 * term/x-win.el (x-menu-bar-open):
2584 Use the value returend from (posn-at-point) as position
2585 passed to `popup-menu'.
2586
2587 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2588
2589 * calc/calccomp.el (math-compose-expr): Add extra argument
2590 indicating that parentheses should be put around products in
2591 denominators. Give multiplication precedence over division during
2592 composition.
2593
2594 2012-08-09 Chong Yidong <cyd@gnu.org>
2595
2596 * man.el (Man-switches, Man-sed-command, Man-awk-command)
2597 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
2598 (Man-untabify-command, manual-program): Convert to defcustom
2599 (Bug#10429).
2600
2601 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
2602
2603 * descr-text.el (describe-char): Don't insert extra newlines
2604 (Bug#10127).
2605
2606 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
2607 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
2608
2609 * align.el (align-region): Delete temporary markers (Bug#10047).
2610 Plus some code cleanups.
2611
2612 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2613
2614 * progmodes/python.el (python-pdbtrack-tracked-buffer)
2615 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
2616 (python-shell-internal-last-output): Use make-local-variable
2617 instead of make-variable-buffer-local.
2618
2619 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2620
2621 * progmodes/python.el: Enhancements to forward-sexp.
2622 (python-nav-forward-sexp): Rename from
2623 python-nav-forward-sexp-function.
2624 (python-nav--forward-sexp, python-nav--backward-sexp):
2625 New functions.
2626
2627 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2628
2629 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
2630 modes and simplification modes.
2631
2632 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2633
2634 * delsel.el (delete-selection-pre-hook): Don't propagate the
2635 file-supersession signals (bug#12161).
2636
2637 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2638
2639 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2640 (cl-map-extents): Add compatibility aliases (bug#12135).
2641
2642 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
2643
2644 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
2645 tests by `ignore-error'.
2646 (tramp-find-shell): Open also a new shell, when cache is already
2647 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
2648
2649 2012-08-08 Juri Linkov <juri@jurta.org>
2650
2651 * bookmark.el: Add `defaults' property to the bookmark record.
2652 (bookmark-current-buffer): Doc fix.
2653 (bookmark-make-record): Add `defaults' property with default values
2654 to the bookmark record.
2655 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
2656 with `bookmark-insert-current-bookmark'.
2657 (bookmark-set): Get `defaults' property from the bookmark record
2658 and use it in `read-from-minibuffer'.
2659 (bookmark-insert-current-bookmark): Remove function.
2660
2661 * info.el (Info-bookmark-make-record): Add `defaults' property
2662 with values of canonical Info node name, the current Info file
2663 name and the current Info node name. (Bug#12107)
2664
2665 2012-08-08 Juri Linkov <juri@jurta.org>
2666
2667 * files.el (basic-save-buffer): Use `buffer-name' as the default
2668 of `read-file-name' when buffer is not visiting a file (bug#12128).
2669
2670 2012-08-08 Juri Linkov <juri@jurta.org>
2671
2672 * info.el (Info-isearch-search): Doc fix.
2673 (Info-search): Change search-failed message from "initial node" to
2674 "end of node" (bug#12078).
2675 (Info-isearch-search): Change `isearch-string-state' to
2676 `isearch--state-string'.
2677
2678 2012-08-08 Glenn Morris <rgm@gnu.org>
2679
2680 * language/persian.el: Remove file.
2681 * language/misc-lang.el: Move unique part of persian.el here.
2682 * loadup.el: Remove language/persian.
2683
2684 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
2685
2686 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
2687
2688 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
2689
2690 * progmodes/python.el Fixed defsubst warning.
2691 (python-syntax-context) Rename from python-info-ppss-context.
2692 (python-syntax-context-type): Rename from
2693 python-info-ppss-context-type.
2694 (python-syntax-comment-or-string-p): Rename from
2695 python-info-ppss-comment-or-string-p.
2696
2697 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
2698
2699 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
2700
2701 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
2702
2703 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
2704 a defcustom that is quoted with backquote.
2705
2706 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
2707 Fix handling of interactive spec when the body uses return.
2708 (math-do-arg-check, math-define-function-body): Use backquote forms.
2709 * calc/calc-ext.el (math-defcache): Likewise.
2710 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
2711 * allout.el (allout-new-exposure): Likewise.
2712 * calc/calcalg2.el (math-tracing-integral): Likewise.
2713 * info.el (Info-last-menu-item): Likewise.
2714 * emulation/vip.el (vip-loop): Likewise.
2715 * textmodes/artist.el (artist-funcall): Likewise.
2716 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
2717 Construct menu-item directly.
2718
2719 * progmodes/autoconf.el (font-lock-syntactic-keywords):
2720 Don't declare.
2721
2722 2012-08-07 Chong Yidong <cyd@gnu.org>
2723
2724 * simple.el (deactivate-mark): Preserve text properties when
2725 saving the primary selection (Bug#8384).
2726
2727 2012-08-07 Kevin Ryde <user42@zip.com.au>
2728
2729 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
2730 (woman-parse-numeric-value): On a bad .IP line, issue a warning
2731 and continue processing (Bug#12110).
2732
2733 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2734
2735 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
2736 syntax-propertize-function (bug#10095).
2737
2738 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2739
2740 * help-fns.el (help-fns--key-bindings, help-fns--signature)
2741 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
2742 describe-function-1.
2743 (describe-function-1): Use them. Move compiler macro after sig.
2744 (help-fns--compiler-macro): Use function-get. Assume we're already in
2745 standard-output. Adjust layout to new call order.
2746
2747 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
2748 re-binding a symbol that has a symbol-macro (bug#12119).
2749
2750 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
2751
2752 * language/persian.el: New file. (Bug#11812)
2753 * loadup.el: Add language/persian.el.
2754
2755 2012-08-06 Chong Yidong <cyd@gnu.org>
2756
2757 * window.el (window--maybe-raise-frame): New function.
2758 (window--display-buffer): Split off from here.
2759 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2760 (display-buffer-pop-up-window, display-buffer-use-some-window):
2761 Obey an inhibit-switch-frame action alist entry.
2762 (display-buffer): Update doc.
2763
2764 * replace.el (occur-after-change-function): Avoid losing focus by
2765 using the inhibit-switch-frame display parameter (Bug#12139).
2766
2767 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
2768
2769 Make internal shell process buffer names start with space.
2770 * progmodes/python.el (python-shell-make-comint): Add optional
2771 argument INTERNAL.
2772 (run-python-internal): Use it.
2773 (python-shell-internal-get-or-create-process): Check for new
2774 internal buffer names.
2775
2776 2012-08-06 Glenn Morris <rgm@gnu.org>
2777
2778 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
2779 Do less getting and setting of environment variables.
2780
2781 2012-08-05 Chong Yidong <cyd@gnu.org>
2782
2783 * proced.el (proced): Add substitution string to docstring to
2784 trigger autoloading of the proced library on C-h f (Bug#1768).
2785
2786 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2787 Don't show defvars which have no second argument (Bug#8638).
2788
2789 * imenu.el (imenu-generic-expression): Move documentation here
2790 from imenu--generic-function.
2791 (imenu--generic-function): Refer to imenu-generic-expression.
2792
2793 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
2794
2795 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
2796 indentation declaration.
2797 (viper-loop): Add indentation declaration (Bug#7025).
2798
2799 2012-08-05 Chong Yidong <cyd@gnu.org>
2800
2801 * help-fns.el (describe-variable): Add hyperlink for
2802 directory-local variables files. Improve buffer-local and
2803 permanent-local reporting; suggested by MON KEY (Bug#6644).
2804
2805 * help-mode.el (help-dir-local-var-def): New button type.
2806
2807 * files.el (kill-buffer-hook): Provide a defvar.
2808
2809 2012-08-05 Glenn Morris <rgm@gnu.org>
2810
2811 * eshell/esh-ext.el (eshell/addpath):
2812 Also update eshell-path-env. (Bug#12013)
2813
2814 2012-08-05 Chong Yidong <cyd@gnu.org>
2815
2816 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
2817
2818 * fringe.el (fringe-styles): Add docstring.
2819 (fringe--check-mode): New function.
2820 (set-fringe-mode, set-fringe-style): Use it.
2821 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
2822
2823 * files.el (set-auto-mode): Fix invalid setq call.
2824
2825 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2826
2827 * isearch.el: Misc simplification; use defstruct.
2828 (isearch-mode-map): Dense maps now work like sparse ones.
2829 (isearch--state): New defstruct.
2830 (isearch-string-state, isearch-message-state, isearch-point-state)
2831 (isearch-success-state, isearch-forward-state)
2832 (isearch-other-end-state, isearch-word-state, isearch-error-state)
2833 (isearch-wrapped-state, isearch-barrier-state)
2834 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
2835 replaced by defstruct's accessors.
2836 (isearch--set-state): Rename from isearch-top-state and change
2837 calling convention.
2838 (isearch-push-state): Use new isearch--get-state.
2839 (isearch-toggle-word): Disable regexp when enabling word.
2840 (isearch-message-prefix): Remove unused arg _c-q-hack.
2841 (isearch-message-suffix): Remove unused arg _ellipsis.
2842
2843 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
2844
2845 * simple.el (list-processes--refresh): For a server use :host or
2846 :local as the address.
2847 (list-processes): Doc fix.
2848
2849 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
2850
2851 * lisp/mpc.el: Support password in host argument.
2852 (mpc--proc-connect): Parse and use new password element.
2853 Set mpc-proc variable instead of returning process.
2854 (mpc-proc): Adjust accordingly.
2855
2856 2012-08-03 Eli Zaretskii <eliz@gnu.org>
2857
2858 * whitespace.el (whitespace-display-mappings): Use Unicode
2859 codepoints, instead of emacs-mule codepoints. See
2860 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
2861 for the details.
2862
2863 * files.el (file-truename): Don't skip symlink-chasing part on
2864 windows-nt. Incorporate the resolution of 8+3 short aliases on
2865 Windows into the loop that recursively chases symlinks.
2866 Compare directory and its parent case-insensitively on MS-Windows and
2867 MS-DOS.
2868
2869 2012-08-03 Chong Yidong <cyd@gnu.org>
2870
2871 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
2872
2873 * sort.el (sort-regexp-fields): Doc fix.
2874
2875 2012-08-03 Tassilo Horn <tsdh@gnu.org>
2876
2877 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
2878 labels regex position point at the expected place.
2879
2880 2012-08-03 MON KEY <monkey@sandpframing.com>
2881
2882 * net/imap.el (imap-interactive-login, imap-authenticate)
2883 (imap-mailbox-lsub, imap-mailbox-list)
2884 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
2885 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
2886 (imap-parse-response): Doc fix.
2887
2888 2012-08-03 João Távora <joaotavora@gmail.com>
2889
2890 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
2891 if sexp scanning does not move point (Bug#5734).
2892
2893 2012-08-02 Tassilo Horn <tsdh@gnu.org>
2894
2895 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
2896 Add listings, minted, and ctable packages.
2897 (reftex-label-alist-builtin): Move listings, minted, and ctable
2898 entries before LaTeX.
2899 (reftex-label-alist): Docfix.
2900
2901 2012-08-02 Bastien Guerry <bzg@gnu.org>
2902
2903 * replace.el (occur): Fix docstring (bug#12122).
2904
2905 2012-08-02 Glenn Morris <rgm@gnu.org>
2906
2907 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
2908
2909 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
2910
2911 Obsolete alias inactivate-current-input-method-function (Bug#10150).
2912 * international/mule-cmds.el: Create
2913 inactivate-current-input-method-function as an obsolete alias for
2914 deactivate-current-input-method-function. See Katsumi Yamaoka in
2915 <http://bugs.gnu.org/10150#46>.
2916
2917 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
2918
2919 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
2920 of nested `if's.
2921
2922 2012-08-01 Glenn Morris <rgm@gnu.org>
2923
2924 * progmodes/autoconf.el (autoconf-definition-regexp):
2925 Add AH_TEMPLATE, adjust submatch numbering.
2926 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
2927 (autoconf-current-defun-function): Update for above change.
2928 (autoconf-current-defun-function): First skip to end of current word.
2929
2930 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
2931
2932 * calendar/cal-html.el (cal-html-insert-agenda-days):
2933 Fix typo. (Bug#12018)
2934
2935 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2936
2937 Shell processes: enhancements to startup and CEDET compatibility.
2938 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
2939 (python-shell-make-comint): accept-process-output at startup.
2940 (run-python-internal): Set inferior-python-mode-hook to nil.
2941 (python-shell-internal-get-or-create-process): call sit-for.
2942 (python-preoutput-result): Add obsolete alias.
2943 (python-shell-internal-send-string): Use it.
2944 (python-shell-send-setup-code): Remove call to
2945 accept-process-output.
2946
2947 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
2948
2949 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
2950 (Bug#12108)
2951
2952 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
2953
2954 * calc-mode.el (calc-basic-simplification-mode): Rename from
2955 `calc-limited-simplification-mode'.
2956 (calc-alg-simplification-mode): New function.
2957 (calc-set-simplify-mode): Adjust message.
2958
2959 * calc.el (calc-set-mode-line): Adjust mode line display for
2960 basic simplification mode.
2961
2962 * calc-help.el (calc-m-prefix-help): Update help message.
2963
2964 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
2965 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
2966
2967 2012-07-31 Bastien Guerry <bzg@gnu.org>
2968
2969 * man.el (man): Fix comment. (bug#12101)
2970
2971 2012-07-31 Martin Rudalics <rudalics@gmx.at>
2972
2973 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2974 Don't return a non-nil value when no suitable buffer was found.
2975
2976 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2977
2978 * progmodes/python.el (run-python-internal): Disable font lock for
2979 internal shells.
2980
2981 2012-07-30 Stefan Merten <smerten@oekonux.de>
2982
2983 * textmodes/rst.el: Silence `checkdoc-ispell'.
2984 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2985 (rst-official-version, rst-official-cvs-rev)
2986 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
2987 (rst-mode-map): New key binding.
2988
2989 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
2990
2991 Update .PHONY listings in makefiles.
2992 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
2993 autoloads, update-subdirs, updates, bzr-update, update-authors,
2994 compile-onefile, compile-calc, backup-compiled-files,
2995 compile-after-backup, compile-one-process, mh-autoloads,
2996 bootstrap-clean, distclean, maintainer-clean.
2997
2998 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2999
3000 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3001 (calc-set-mode-line): Don't display "AlgSimp ".
3002
3003 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3004 (calc-lim-simplify-mode): New function.
3005 (calc-set-simplify-mode): Default to 'alg.
3006 (calc-default-simplify-mode): Make algebraic simplifications
3007 the default.
3008
3009 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3010 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3011
3012 * calc/calc-help.el (calc-m-prefix-help): Change messages to
3013 indicate new simplification modes.
3014
3015 * calc/README: Mention new default simplification mode.
3016
3017 * calc/calc.el (math-normalize-error): New variable.
3018 (math-normalize): Set `math-normalize-error' to t
3019 when there's an error.
3020
3021 * calc/calc-alg.el (math-simplify): Don't simplify when
3022 `math-normalize' returns an error.
3023
3024 2012-07-29 Eli Zaretskii <eliz@gnu.org>
3025
3026 * international/mule-cmds.el (set-locale-environment): Revert last
3027 change, since display-graphic-p returns nil when this function is
3028 called during startup. Instead...
3029
3030 * term/w32console.el (terminal-init-w32console): ...setup the
3031 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3032
3033 2012-07-29 Juri Linkov <juri@jurta.org>
3034
3035 * simple.el (goto-line): Don't display default line number in the
3036 prompt because it should be displayed by `read-number' (bug#9952).
3037 Add the current line number to the defaults of `goto-line' to
3038 allow its easier modification by users with `M-n' (bug#9201).
3039
3040 * subr.el (read-number): Support multiple default values like in
3041 other minibuffer reading functions. Replace `read' with
3042 `string-to-number' for consistency with `number-to-string'.
3043
3044 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3045
3046 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3047 * emulation/viper-init.el (viper-deactivate-input-method-action):
3048 Rename from viper-inactivate-input-method-action.
3049 (viper-deactivate-input-method):
3050 Rename from viper-inactivate-input-method.
3051 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3052 * international/mule-cmds.el (deactivate-input-method):
3053 Rename from inactivate-input-method.
3054 Also run input-method-deactivate-hook.
3055 (deactivate-current-input-method-function):
3056 Rename from inactivate-current-input-method-function.
3057 (input-method-deactivate-hook): New hook.
3058 (input-method-inactivate-hook): Mark obsolete.
3059 (inactivate-input-method): Mark obsolete.
3060
3061 * international/quail.el (quail-activate):
3062 Also run quail-deactivate-hook.
3063 (quail-deactivate): Rename from quail-inactivate.
3064 * international/robin.el (robin-activate):
3065 Also run robin-deactivate-hook.
3066 (robin-deactivate): Rename from robin-inactivate.
3067
3068 2012-07-29 Chong Yidong <cyd@gnu.org>
3069
3070 * simple.el (indicate-copied-region): New function.
3071 (kill-ring-save): Split off from here.
3072
3073 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3074 (kill-rectangle): Set deactivate-mark to t on read-only error.
3075
3076 * register.el (copy-to-register, copy-rectangle-to-register):
3077 Deactivate the mark, and use indicate-copied-region (Bug#10056).
3078 (append-to-register, prepend-to-register): Call indicate-copied-region.
3079
3080 2012-07-29 Juri Linkov <juri@jurta.org>
3081
3082 * simple.el (async-shell-command-buffer): New defcustom.
3083 (shell-command): Use it. (Bug#4719)
3084
3085 2012-07-28 Eli Zaretskii <eliz@gnu.org>
3086
3087 * international/mule-cmds.el (set-locale-environment): In a
3088 console session on MS-Windows, set up keyboard and terminal
3089 encoding from the OEM codepage, not the ANSI codepage.
3090 (Bug#12055)
3091
3092 2012-07-28 Chong Yidong <cyd@gnu.org>
3093
3094 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3095 gdb-get-location.
3096
3097 2012-07-28 Leo Liu <sdl.web@gmail.com>
3098
3099 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3100 the alist (bug#12029).
3101
3102 2012-07-28 Eli Zaretskii <eliz@gnu.org>
3103
3104 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3105 (compile-always, compile-first)
3106 ($(lisp)/calendar/cal-loaddefs.el)
3107 ($(lisp)/calendar/diary-loaddefs.el)
3108 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3109 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3110 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3111 instead of on update-subdirs.
3112 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3113
3114 2012-07-28 Chong Yidong <cyd@gnu.org>
3115
3116 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3117 directory if vc-deduce-backend returns nil (Bug#7350).
3118
3119 * simple.el (delete-trailing-lines): New option.
3120 (delete-trailing-whitespace): Obey it (Bug#11879).
3121
3122 2012-07-28 David Engster <deng@randomsample.de>
3123
3124 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3125 Explanation of new 'symbol-qnames feature in doc-strings.
3126 (xml-maybe-do-ns): Return expanded names as plain symbols if
3127 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3128 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3129
3130 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3131
3132 Consistent completion in inferior python with emacs -nw.
3133 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3134 binding in inferior-python-mode-map with "\t".
3135 (python-shell-completion-complete-at-point)
3136 (python-completion-complete-at-point): Remove interactive spec.
3137
3138 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3139
3140 * calc/calccomp.el (math-compose-expr): Undo previous change.
3141
3142 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3143
3144 * progmodes/python.el (python-mode-map): Add keybinding for
3145 run-python.
3146 (python-shell-make-comint): Fix pop-to-buffer call.
3147 (run-python): Autoload. New arg SHOW.
3148 (python-shell-get-or-create-process): Do not pop python process
3149 buffer.
3150
3151 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
3152
3153 * notifications.el (notifications-on-action-signal)
3154 (notifications-on-closed-signal): Use also the bus address for the map.
3155 (notifications-notify, notifications-close-notification)
3156 (notifications-get-capabilities): Add optional argument BUS.
3157
3158 2012-07-27 Tassilo Horn <tsdh@gnu.org>
3159
3160 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3161 Add support for the lstlisting and minted environments, and for the
3162 ctable macro.
3163 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3164 labels written in keyvals syntax.
3165
3166 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3167
3168 * calc/calccomp.el (math-compose-expr): Use parentheses when
3169 there is a product in the denominator of a fraction.
3170
3171 2012-07-26 Eli Zaretskii <eliz@gnu.org>
3172
3173 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3174 ($(lisp)/calendar/diary-loaddefs.el)
3175 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3176 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3177 Fixes failures in parallel bootstrap because subdirs.el is being
3178 rewritten while the autoload files are built at the same time,
3179 which needs to load subdirs.el.
3180
3181 2012-07-26 Martin Rudalics <rudalics@gmx.at>
3182
3183 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3184 (mouse-drag-line): Don't exit tracking when a switch-frame or
3185 switch-window event occurs (Bug#12006).
3186
3187 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3188
3189 * mouse.el (popup-menu): Fix last change.
3190
3191 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3192
3193 Autoload from Lisp with more care. Follow aliases when looking for
3194 function properties.
3195 * subr.el (autoloadp): New function.
3196 (symbol-file): Use it.
3197 (function-get): New function.
3198 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3199 autoload-do-load.
3200 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3201 (lisp-indent-function):
3202 * emacs-lisp/gv.el (gv-get):
3203 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3204 * emacs-lisp/byte-opt.el (byte-optimize-form):
3205 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3206 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3207 Use function-get.
3208 * emacs-lisp/cl.el: Don't propagate function properties any more.
3209
3210 * speedbar.el (speedbar-add-localized-speedbar-support):
3211 * emacs-lisp/disass.el (disassemble-internal):
3212 * desktop.el (desktop-load-file):
3213 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3214 (describe-function-1):
3215 * emacs-lisp/find-func.el (find-function-noselect):
3216 * emacs-lisp/elp.el (elp-instrument-function):
3217 * emacs-lisp/advice.el (ad-has-proper-definition):
3218 * apropos.el (apropos-safe-documentation, apropos-macrop):
3219 * emacs-lisp/debug.el (debug-on-entry):
3220 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3221 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3222 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3223
3224 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3225
3226 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3227 function, not an obsolete variable (Bug#12046).
3228
3229 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3230
3231 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3232
3233 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3234
3235 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3236 window only if it is still live (Bug#12034).
3237
3238 2012-07-25 Martin Rudalics <rudalics@gmx.at>
3239
3240 * subr.el (redirect-frame-focus): Add advertised calling
3241 convention (Bug#12030).
3242
3243 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3244
3245 Prefer typical American spelling for "acknowledgment".
3246 * vc/add-log.el (change-log-acknowledgment): Rename from
3247 change-log-acknowledgement, with an alias for the old name.
3248
3249 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3250
3251 * calc-alg.el (math-simplify-divide): Don't cross multiply
3252 in an equation when the lhs is a variable.
3253
3254 2012-07-24 Julien Danjou <julien@danjou.info>
3255
3256 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3257 Remove, unused.
3258
3259 2012-07-23 Eli Zaretskii <eliz@gnu.org>
3260
3261 * startup.el (command-line): Don't display an empty user name in
3262 the error message about non-existent home directory, when
3263 init-file-user was set to an empty string. See
3264 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3265 for the details and context.
3266
3267 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3268
3269 * ses.el (ses-cell-formula-aset): New macro.
3270 (ses-cell-references-aset): New macro.
3271 (ses-cell-p): New function.
3272 (ses-rename-cell): Do no longer rely on complex operations like
3273 ses-cell-set-formula or ses-set-cell to change the cell and handle
3274 the undo at the same time, but rather use lower level new macros
3275 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
3276 the undo directly. Refresh the mode line.
3277
3278 2012-07-21 Leo Liu <sdl.web@gmail.com>
3279
3280 * progmodes/cc-cmds.el (c-defun-name):
3281 Use match-string-no-properties instead for consistency.
3282
3283 2012-07-20 Leo Liu <sdl.web@gmail.com>
3284
3285 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3286 (Bug#7879)
3287
3288 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3289
3290 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3291
3292 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3293 * progmodes/bug-reference.el, misearch.el: Provide themselves
3294 (bug#11915).
3295
3296 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3297 of narrowed buffer (bug#11966).
3298
3299 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3300
3301 * ses.el (ses-rename-cell): Set new name also in reference list of
3302 cells of which the renamed cell depends.
3303
3304 2012-07-20 Masatake YAMATO <yamato@redhat.com>
3305
3306 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3307 to check whether menu-bar is shown or not. If not shown,
3308 show the menu-bar as a popup menu instead of using tmm.
3309 * mouse.el (popup-menu): Accept `point' as `position' argument.
3310
3311 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3312
3313 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3314 up inside string symbol literal (bug#11923).
3315
3316 2012-07-20 Eli Zaretskii <eliz@gnu.org>
3317
3318 * startup.el (fancy-startup-text): Read the whole tutorial, not
3319 just its first 256 bytes. Prevents gibberish in display of the
3320 tutorial title.
3321
3322 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3323
3324 Drop idle buffer compaction due to an absence of the
3325 proved efficiency.
3326 * compact.el: Remove.
3327
3328 2012-07-19 Sam Steingold <sds@gnu.org>
3329
3330 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3331 vc-bzr-pull & vc-bzr-merge-branch.
3332 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3333 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3334 for consistency with compilation-error-regexp-alist.
3335 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3336 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3337 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3338 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3339
3340 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3341
3342 * emacs-lisp/chart.el: Use lexical-binding.
3343 (chart-emacs-storage): Don't hardcode the list of entries.
3344
3345 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3346
3347 Next round of tweaks caused by Fgarbage_collect changes.
3348 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3349
3350 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3351
3352 Compact buffers when idle.
3353 * compact.el: New file.
3354
3355 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3356
3357 * subr.el (eventp): Presume that if it looks vaguely like an event,
3358 it's an event (bug#10190).
3359
3360 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
3361
3362 Enhancements to ppss related code (thanks Stefan).
3363 * progmodes/python.el (python-indent-context)
3364 (python-indent-calculate-indentation, python-indent-dedent-line)
3365 (python-indent-electric-colon, python-nav-forward-block)
3366 (python-mode-abbrev-table)
3367 (python-info-assignment-continuation-line-p): Simplify checks
3368 for ppss context.
3369 (python-info-continuation-line-p): Cleanup.
3370 (python-info-ppss-context): Do not catch 'quote.
3371 (python-info-ppss-context-type)
3372 (python-info-ppss-comment-or-string-p): Simplify.
3373
3374 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
3375
3376 * progmodes/python.el: Enhancements to eldoc support.
3377 (python-info-current-symbol): New function.
3378 (python-eldoc-at-point): Use python-info-current-symbol.
3379 (python-info-current-defun): Fix cornercase on first defun scan.
3380 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3381 and signal error when no inferior python process is available.
3382
3383 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
3384
3385 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3386 assume it's always t.
3387 (vc-git-registered): Remove caching, the function is only called
3388 once.
3389 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3390
3391 2012-07-18 Chong Yidong <cyd@gnu.org>
3392
3393 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3394
3395 * simple.el (count-words): Report on narrowing (Bug#9959).
3396
3397 * bindings.el: Bind M-= to count-words.
3398
3399 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3400
3401 2012-07-18 Masatake YAMATO <yamato@redhat.com>
3402
3403 * progmodes/sh-script.el (sh-imenu-generic-expression):
3404 Capture a function with `function' keyword and without parentheses
3405 like "function FOO" (bug#11856).
3406
3407 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
3408
3409 * window.el (split-window-sensibly): Make WINDOW argument
3410 optional.
3411
3412 2012-07-18 Chong Yidong <cyd@gnu.org>
3413
3414 * subr.el (keyboard-translate): Doc fix (Bug#7261).
3415
3416 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3417 and make C-x 8 RET exit isearch (Bug#11439).
3418
3419 * international/iso-transl.el: Move isearch-mode-map key
3420 definitions to isearch.el.
3421
3422 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
3423
3424 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3425 (eieio-defclass): Use gv-define-setter when possible.
3426
3427 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
3428
3429 Reflect recent changes in Fgarbage_collect.
3430 * emacs-lisp/chart.el (chart-emacs-storage): Change to
3431 reflect new format of data returned by Fgarbage_collect.
3432
3433 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3434
3435 New utility functions + python-info-ppss-context fix (Bug#11910).
3436 * progmodes/python.el (python-info-beginning-of-block-statement-p)
3437 (python-info-ppss-comment-or-string-p): New functions.
3438 (python-info-ppss-context): Small fix for string check.
3439
3440 2012-07-17 Juri Linkov <juri@jurta.org>
3441
3442 * dired-aux.el (dired-do-async-shell-command): Doc fix.
3443 (dired-do-async-shell-command): Don't add `*' at the end of the
3444 command (Bug#11815).
3445 (dired-do-shell-command): Doc fix.
3446 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
3447 Join the individual commands using either "&" or ";" as the
3448 separator depending on the values of these trailing characters.
3449 At the end re-add the trailing "&". (Bug#10598)
3450
3451 * simple.el (async-shell-command): Sync the interactive spec with
3452 `shell-command'. Doc fix.
3453 (shell-command): Doc fix.
3454
3455 2012-07-17 Juri Linkov <juri@jurta.org>
3456
3457 * descr-text.el (describe-char): Fix format args. (Bug#10129)
3458
3459 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3460
3461 Final renames and doc fixes for movement commands (bug#11899).
3462 * progmodes/python.el (python-nav-beginning-of-statement):
3463 Rename from python-nav-statement-start.
3464 (python-nav-end-of-statement): Rename from
3465 python-nav-statement-end.
3466 (python-nav-beginning-of-block): Rename from
3467 python-nav-block-start.
3468 (python-nav-end-of-block): Rename from python-nav-block-end.
3469
3470 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3471
3472 * progmodes/python.el (python-shell-send-string-no-output):
3473 Allow accept-process-output to quit, keeping shell process ready for
3474 future interactions (Bug#11868).
3475
3476 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3477
3478 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3479
3480 * emacs-lisp/elint.el (elint-find-args-in-code):
3481 Use help-function-arglist, so as to handle lexical byte-code.
3482
3483 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3484 change (bug#11826).
3485
3486 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3487
3488 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3489 Avoid spuriously marking the buffer as modified because of c-is-sws.
3490
3491 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3492 as not-a-comment (bug#11946).
3493
3494 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3495 for uninterned vars.
3496
3497 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3498 Use read-event since we don't really want to read chars but bytes.
3499
3500 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3501 $$..$$ but also $..$ using regexps (bug#11953).
3502 Use tex-verbatim for \url and \path.
3503 (tex-font-lock-keywords): Define as defconst like the others.
3504 (tex-common-initialization): Don't use font-lock-syntax-table any more.
3505
3506 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
3507
3508 * international/mule-cmds.el (ucs-insert): Make it an obsolete
3509 alias for insert-char.
3510
3511 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3512
3513 * progmodes/python.el: Simplified imenu implementation.
3514 (python-nav-jump-to-defun): Remove command.
3515 (python-mode-map): Use `imenu' instead.
3516 (python-nav-list-defun-positions-cache)
3517 (python-imenu-include-defun-type, python-imenu-make-tree)
3518 (python-imenu-subtree-root-label, python-imenu-index-alist):
3519 Remove vars.
3520 (python-nav-list-defun-positions, python-nav-read-defun)
3521 (python-imenu-tree-assoc, python-imenu-make-element-tree)
3522 (python-imenu-make-tree, python-imenu-create-index):
3523 Remove functions.
3524 (python-mode): Update to interact with imenu by setting
3525 `imenu-extract-index-name-function' only.
3526
3527 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3528
3529 * progmodes/python.el: Enhancements to navigation commands.
3530 (python-nav-backward-sentence)
3531 (python-nav-forward-sentence): Remove.
3532 (python-nav-backward-statement, python-nav-forward-statement)
3533 (python-nav-statement-start, python-nav-statement-end)
3534 (python-nav-backward-block, python-nav-forward-block)
3535 (python-nav-block-start, python-nav-block-end)
3536 (python-nav-forward-sexp-function)
3537 (python-info-current-line-comment-p)
3538 (python-info-current-line-empty-p): New functions.
3539 (python-indent-context): Use `python-nav-statement-start'.
3540
3541 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
3542
3543 * eshell/em-ls.el (eshell/ls): Use `apply'.
3544
3545 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3546 multi-hops, instead of Tramp internals.
3547
3548 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3549
3550 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3551 when F1 and F2 are located on different hosts.
3552
3553 2012-07-14 Chong Yidong <cyd@gnu.org>
3554
3555 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3556 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3557 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3558 (xterm-mouse--read-event-sequence-1000)
3559 (xterm-mouse--read-event-sequence-1006): New functions. For old
3560 mouse protocol, handle M-mouse-X events correctly.
3561 (xterm-mouse-event): New arg specifying mouse protocol.
3562 (turn-on-xterm-mouse-tracking-on-terminal)
3563 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
3564 sequence to toggle extended coordinates on newer XTerms.
3565 This appears to be harmless on terminals which do not support this.
3566
3567 2012-07-14 Leo Liu <sdl.web@gmail.com>
3568
3569 Add fringe bitmap indicators for flymake. (Bug#11253)
3570 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3571 (flymake-make-overlay): New arg BITMAP.
3572 (flymake-error-bitmap, flymake-warning-bitmap)
3573 (flymake-fringe-indicator-position): New user variables.
3574
3575 * fringe.el: New bitmap exclamation-mark.
3576
3577 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
3578
3579 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
3580 also (Bug#7879).
3581
3582 2012-07-14 Chong Yidong <cyd@gnu.org>
3583
3584 * electric.el (electric-pair-post-self-insert-function): Fix pair
3585 insertion in empty-region case (Bug#11520).
3586
3587 2012-07-14 Chong Yidong <cyd@gnu.org>
3588
3589 * bindings.el: Consolidate ctl-x-r-map bindings.
3590 Bind copy-rectangle-as-kill to C-x r w.
3591
3592 * rect.el, register.el: Move bindings to bindings.el.
3593
3594 2012-07-14 Reuben Thomas <rrt@sc3d.org>
3595
3596 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
3597
3598 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
3599
3600 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
3601
3602 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
3603
3604 * bindings.el (top): Use `mapc' instead of `mapcar'.
3605
3606 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
3607
3608 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
3609
3610 * progmodes/sql.el (sql-comint): Suppress the check for program on
3611 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
3612 (Bug#11908)
3613
3614 2012-07-13 Chong Yidong <cyd@gnu.org>
3615
3616 * bindings.el: Assign a non-nil permanent-local property to
3617 per-buffer variables which lack a default value (Bug#11930).
3618
3619 * help-fns.el (describe-variable): In the "automatically becomes
3620 local" notice, take note of permanent-local variables.
3621
3622 2012-07-13 Chong Yidong <cyd@gnu.org>
3623
3624 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
3625 to allow printing the message when called from Lisp.
3626
3627 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3628 Remove toggle-read-only.
3629
3630 * bs.el (bs-toggle-readonly):
3631 * buff-menu.el (Buffer-menu-toggle-read-only):
3632 Remove with-no-warnings around toggle-read-only.
3633
3634 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
3635 Remove with-no-warnings around toggle-read-only.
3636 (ffap-read-only, ffap-read-only-other-window)
3637 (ffap-read-only-other-frame): Callers changed.
3638
3639 * help-mode.el: Don't require view package.
3640 (help-mode-finish): Set buffer-read-only instead of calling
3641 toggle-read-only.
3642
3643 * bindings.el (mode-line-toggle-read-only):
3644 * dired.el (dired-toggle-read-only):
3645 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
3646 with non-nil second arg.
3647
3648 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3649 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
3650 directly.
3651
3652 2012-07-12 Eli Zaretskii <eliz@gnu.org>
3653
3654 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
3655 not incf.
3656
3657 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
3658
3659 More CL cleanups and reduction of use of cl.el.
3660 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
3661 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
3662 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
3663 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
3664 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
3665 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
3666 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
3667 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
3668 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
3669 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
3670 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
3671 * eshell/em-cmpl.el, eshell/em-banner.el:
3672 * calendar/parse-time.el: Use cl-lib.
3673 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
3674 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
3675 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
3676 * term/ns-win.el, term.el, shell.el, ps-samp.el:
3677 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
3678 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
3679 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
3680 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
3681 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
3682 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
3683 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
3684 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
3685 `lambda' rather than with `quote'.
3686 (eshell-do-opt): Adjust accordingly.
3687 (eshell-process-option): Simplify.
3688 * eshell/esh-var.el:
3689 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
3690 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
3691 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
3692 to `pcase--dontcare'.
3693 * emacs-lisp/cl.el (labels): Mark obsolete.
3694 (cl--letf, letf): Move to cl-lib.
3695 (cl--letf*, letf*): Remove.
3696 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
3697 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
3698 (cl-progv): Rewrite.
3699 (cl--letf, cl-letf): Move from cl.el.
3700 (cl-letf*): New macro.
3701 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
3702
3703 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
3704
3705 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
3706
3707 2012-07-11 Chong Yidong <cyd@gnu.org>
3708
3709 * vc/log-edit.el (log-edit-vc-backend): New variable.
3710 (log-edit): Doc fix.
3711
3712 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
3713 argument of log-edit to set up all local variables.
3714 (vc-start-logentry): New optional arg specifying VC backend.
3715
3716 * vc/vc.el (vc-checkin): Use it.
3717 (vc-deduce-fileset): Handle Log Edit buffers.
3718 (vc-diff): Make first argument optional too.
3719
3720 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
3721
3722 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
3723
3724 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
3725 command, just in case. The function is not needed anymore.
3726 (eshell-external-command): Do not call `eshell-remote-command'.
3727
3728 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
3729
3730 Reduce use of (require 'cl).
3731 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
3732 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
3733 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
3734 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
3735 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
3736 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
3737 * battery.el, avoid.el, abbrev.el: Use cl-lib.
3738 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
3739 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
3740 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
3741 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
3742 * calculator.el, autorevert.el, apropos.el: Don't require CL.
3743 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
3744 (byte-compile-unfold-bcf, byte-compile-check-variable):
3745 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
3746 (byte-compile-nilconstp):
3747 * emacs-lisp/autoload.el (make-autoload): Use pcase.
3748 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
3749
3750 * emacs-lisp/gv.el (cond): Make it a valid place.
3751 (if): Simplify slightly.
3752
3753 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
3754 (pcase--self-quoting-p): New function.
3755 (pcase--u1): Use it.
3756
3757 2012-07-10 Glenn Morris <rgm@gnu.org>
3758
3759 * emacs-lisp/authors.el (authors-fixed-entries):
3760 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
3761
3762 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
3763
3764 Rename configure.in to configure.ac (Bug#11603).
3765 * emacs-lisp/authors.el (authors-canonical-file-name):
3766 * progmodes/autoconf.el (autoconf-mode):
3767 Prefer configure.ac to configure.in.
3768
3769 2012-07-08 Chong Yidong <cyd@gnu.org>
3770
3771 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
3772 Implement the mouse-1-click-follows-link handling properly.
3773
3774 * info.el (Info-link-keymap): Use follow-link mechanism for
3775 header-line links (Bug#374).
3776
3777 * simple.el (deactivate-mark): Do not set the primary selection
3778 if another program has acquired it (Bug#11772).
3779
3780 2012-07-07 Kevin Ryde <user42@zip.com.au>
3781
3782 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
3783 (woman-decode-region): Replace escaped-escapes without destroying
3784 bold or underline (Bug#11552).
3785 (woman2-process-escapes): Handle nofill regions (Bug#11591).
3786
3787 2012-07-07 Chong Yidong <cyd@gnu.org>
3788
3789 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
3790 (interprogram-cut-function, interprogram-paste-function):
3791 Mention that we typically mean the clipboard.
3792
3793 2012-07-06 Glenn Morris <rgm@gnu.org>
3794
3795 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
3796
3797 * files.el (toggle-read-only): Restrict message to interactive use.
3798
3799 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
3800
3801 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
3802
3803 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
3804
3805 2012-07-06 Glenn Morris <rgm@gnu.org>
3806
3807 * Makefile.in (compile-one-process): Rename from "recompile".
3808
3809 * Makefile.in (bzr-update): "compile" is the same as "recompile
3810 autoloads", but parallelizable, so use that instead.
3811
3812 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
3813
3814 * window.el (quit-window): Always restore window height when
3815 it's saved in quit-restore parameter (Bug#11810).
3816
3817 2012-07-06 Glenn Morris <rgm@gnu.org>
3818
3819 * simple.el (kill-whole-line): Doc tweak.
3820
3821 2012-07-06 Eli Zaretskii <eliz@gnu.org>
3822
3823 * files.el (file-relative-name): Compare file names
3824 case-insensitively if on MS-Windows or MS-DOS, or if
3825 read-file-name-completion-ignore-case is non-nil. Don't use
3826 case-fold-search for this purpose. (Bug#11827)
3827
3828 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
3829
3830 * calendar/cal-dst.el (calendar-current-time-zone):
3831 Return calendar-current-time-zone-cache if non-nil.
3832
3833 2012-07-17 Masatake YAMATO <yamato@redhat.com>
3834 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3835
3836 * calendar/cal-dst.el (calendar-current-time-zone):
3837 Return calendar-current-time-zone-cache if non-nil.
3838
3839 2012-07-06 Glenn Morris <rgm@gnu.org>
3840
3841 * Makefile.in (cvs-update): Remove old alias.
3842
3843 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
3844
3845 Sync with Tramp 2.2.6-pre.
3846
3847 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
3848 compatible declaration.
3849
3850 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3851 Protect `list-load-path-shadows' call.
3852
3853 * net/tramp-compat.el (top): Require packages, which aren't
3854 autoloaded anymore for XEmacs. Protect call of
3855 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
3856 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
3857 it hurts at least for SXEmacs.
3858 (tramp-compat-temporary-file-directory): In XEmacs, there is no
3859 standard-value for `temporary-file-directory'.
3860
3861 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
3862 Redirect stderr to /dev/null.
3863 (tramp-sh-handle-write-region): uid and gid can be floats.
3864 Reported by Russell Sim <russell.sim@gmail.com>.
3865 (tramp-sh-handle-vc-registered): Hide errors.
3866 (tramp-vc-file-name-handler): Use dummy results for `process-file'
3867 and `start-file-process'.
3868 (tramp-maybe-open-connection): Check also whether `non-essential'
3869 is bound.
3870
3871 2012-07-04 Chong Yidong <cyd@gnu.org>
3872
3873 * xml.el (xml--parse-buffer): Use xml-syntax-table.
3874 (xml-parse-tag): Likewise, and avoid changing entity tables.
3875 (xml-syntax-table): Define from scratch, making sure not to give
3876 x2000 and other Unicode spaces whitespace syntax, since those are
3877 not spaces in XML.
3878 (xml-parse-fragment): Delete unused function.
3879 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
3880 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
3881 (xml-entity-ref, xml-pe-reference-re)
3882 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
3883 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
3884 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
3885 (xml-entity-value-re): Use syntax references in regexps where
3886 possible; no need to define inside a let-binding.
3887 (xml-parse-dtd): Use xml-pe-reference-re.
3888 (xml-entity-or-char-ref-re): New defconst.
3889 (xml-parse-string, xml-substitute-special): Use it.
3890
3891 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3892
3893 * files.el (locate-dominating-file): Allow `name' to be a predicate.
3894 (find-file--read-only): New function.
3895 (find-file-read-only, find-file-read-only-other-window)
3896 (find-file-read-only-other-frame): Use it.
3897 (insert-file-contents-literally): Don't `fset'.
3898 (get-free-disk-space): Use locate-dominating-file.
3899
3900 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
3901 function is already compiled.
3902
3903 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
3904
3905 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
3906
3907 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
3908 files on the same host.
3909
3910 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
3911
3912 * help-fns.el (describe-function-1): Only call
3913 help-fns--autoloaded-p when we have a file name. (Bug#11848)
3914
3915 2012-07-03 Chong Yidong <cyd@gnu.org>
3916
3917 * xml.el: Protect parser against XML bombs.
3918 (xml-entity-expansion-limit): New variable.
3919 (xml-parse-string, xml-substitute-special): Use it.
3920 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
3921
3922 2012-07-03 Glenn Morris <rgm@gnu.org>
3923
3924 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3925 Allow linking to specific messages in debbugs reports (eg 123#5).
3926
3927 2012-07-02 Chong Yidong <cyd@gnu.org>
3928
3929 * xml.el: Fix entity and character reference expansion, allowing
3930 them to expand into markup as per XML spec.
3931 (xml-default-ns): New variable.
3932 (xml-entity-alist): Use XML spec definitions for lt and amp.
3933 (xml-parse-region): Make first two arguments optional.
3934 Discard text properties.
3935 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
3936 All callers changed.
3937 (xml-parse-tag): Call xml-parse-tag-1. For backward
3938 compatibility, this function should not modify buffer contents.
3939 (xml-parse-tag-1): Fix opening-tag regexp.
3940 (xml-parse-string): Rewrite, handling entity and character
3941 references properly.
3942 (xml--entity-replacement-text): Signal an error if a parameter
3943 entity is undefined.
3944
3945 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3946
3947 * comint.el (comint-output-filter): Filter out repeated prompts.
3948
3949 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
3950 and file-name-absolute-p.
3951 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
3952 internal calls.
3953
3954 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
3955
3956 Spelling fixes.
3957 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
3958 Rename from byte-compile--refiy-function. All uses changed.
3959
3960 2012-07-01 Chong Yidong <cyd@gnu.org>
3961
3962 * xml.el (xml--parse-buffer): New function. Move most of
3963 xml-parse-region here.
3964 (xml-parse-region): Copy region into a temporary buffer, since
3965 parameter entity substitution requires changing buffer contents.
3966 Use xml--parse-buffer.
3967 (xml-parse-file): Use xml--parse-buffer.
3968 (xml-parse-dtd): Make parameter entity substitution work right.
3969 Use proper regexps for ELEMENT declarations (Bug#7172).
3970
3971 2012-06-30 Glenn Morris <rgm@gnu.org>
3972
3973 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
3974
3975 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
3976 Remove outdated and unnecessary dbus declarations.
3977
3978 2012-06-30 Eli Zaretskii <eliz@gnu.org>
3979
3980 * emacs-lisp/timer.el (timer-until): Subtract results of
3981 float-time, instead of taking float-time of the result of
3982 time-subtract, since float-time signals an error for negative time
3983 arguments.
3984
3985 2012-06-30 Chong Yidong <cyd@gnu.org>
3986
3987 * xml.el (xml-*-re): Convert defvars into defconsts, and
3988 eval-and-compile them so eval-and-compile works on derivatives.
3989 (xml--entity-replacement-text): Use eval-and-comple.
3990
3991 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
3992
3993 * vc/vc-git.el (vc-git-registered): Use cache property
3994 `git-registered'.
3995 (vc-git-mode-line-string): Call `vc-working-revision' instead of
3996 `vc-git-working-revision' in order to benefit from the cache.
3997 (vc-git-root): Use cache property `git-root'. (Bug#11757)
3998
3999 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4000
4001 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
4002 removed (likely outside Emacs). (Bug#11757)
4003
4004 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4005
4006 * emacs-lisp/cl-lib.el: Require macroexp.
4007
4008 2012-06-30 Chong Yidong <cyd@gnu.org>
4009
4010 * xml.el: Implement XML parameter entities.
4011 (xml-parameter-entity-alist): New variable.
4012 (xml-parse-region, xml-parse-fragment): Preserve previous values
4013 of xml-entity-alist and xml-parameter-entity-alist, so that
4014 repeated calls on different documents do not change them.
4015 (xml-parse-tag): Fix doctype regexp.
4016 (xml--entity-replacement-text): New function.
4017 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4018 properly requires url retrieval which is unimplemented.
4019 (xml-escape-string): Doc fix.
4020
4021 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4022
4023 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4024
4025 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4026
4027 * fringe.el (fringe-mode): Doc fix.
4028
4029 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
4030
4031 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4032 is non-nil.
4033 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4034 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4035
4036 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
4037
4038 * calendar/cal-dst.el (calendar-current-time-zone):
4039 Return calendar-current-time-zone-cache if non-nil.
4040
4041 2012-06-29 Masatake YAMATO <yamato@redhat.com>
4042
4043 * progmodes/which-func.el (which-func-format):
4044 Add mouse-face. (Bug#11698)
4045
4046 2012-06-29 Leo Liu <sdl.web@gmail.com>
4047
4048 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4049
4050 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4051
4052 * minibuffer.el (minibuffer-confirm-exit-commands):
4053 Add completion-at-point (bug#11725).
4054
4055 2012-06-29 Glenn Morris <rgm@gnu.org>
4056
4057 * progmodes/f90.el (f90-font-lock-keywords-2):
4058 Add some preprocessor elements. (Bug#10499)
4059
4060 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4061
4062 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4063 Use syntax-propertize (bug#11739).
4064
4065 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
4066
4067 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4068
4069 2012-06-28 Julien Danjou <julien@danjou.info>
4070
4071 * term.el (term-handle-colors-array): Use a set of new faces to
4072 color the terminal. Also uses :inverse-video property.
4073 (term-default-fg-color): Set to nil by default, deprecate in favor
4074 of `term-face'.
4075 (term-default-bg-color): Set to nil by default, deprecate in favor
4076 of `term-face'.
4077 (term-current-face): Use `term-face' by default.
4078 (term-bold-attribute): Variable deleted.
4079
4080 2012-06-28 Glenn Morris <rgm@gnu.org>
4081
4082 * simple.el (completion-list-mode-finish):
4083 Don't use toggle-read-only. (Since completion-list-mode has
4084 a special mode-class, it wasn't doing anything extra anyway.)
4085
4086 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4087
4088 Make inlining of other-mode interpreted functions work (bug#11799).
4089 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4090 (byte-compile): Use it to fix compilation of lexical-binding closures.
4091 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4092 function, if needed.
4093
4094 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4095
4096 * help-mode.el (help-make-xrefs): Don't just withstand
4097 cyclic-variable-indirection but any error in documentation-property.
4098
4099 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4100 memory use.
4101 * bindings.el (bindings--define-key): New function.
4102 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4103 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4104 * bindings.el: Use it to purecopy define-key bindings.
4105
4106 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4107
4108 * emacs-lisp/cl.el (flet): Mark obsolete.
4109 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4110 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4111 * progmodes/js.el (js-c-fill-paragraph):
4112 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4113 (ebrowse-switch-member-buffer-to-derived-class):
4114 * play/5x5.el (5x5-solver): Use cl-flet.
4115
4116 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4117 (cl--symbol-function): New macro.
4118 (cl--letf, cl--letf*): Use it.
4119
4120 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4121 Strip "toggle-" if any.
4122
4123 2012-06-27 Glenn Morris <rgm@gnu.org>
4124
4125 * info.el (Info-default-directory-list): Move here from paths.el.
4126 * paths.el: Remove file, which is now empty.
4127 * loadup.el: No longer load "paths".
4128
4129 * custom.el (custom-initialize-delay): Doc fix.
4130
4131 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4132 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4133 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4134 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4135 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4136 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4137 * eshell/eshell.el (eshell-defgroup): Remove alias.
4138
4139 2012-06-27 Chong Yidong <cyd@gnu.org>
4140
4141 * help.el (help-enable-auto-load): New variable.
4142
4143 * help-fns.el (help-fns--autoloaded-p): New function.
4144 (describe-function-1): Refer to a function as "autoloaded" if it
4145 was autoloaded at any time in the past. Perform autoloading if
4146 help-enable-auto-load is non-nil.
4147
4148 2012-06-26 Eli Zaretskii <eliz@gnu.org>
4149
4150 * makefile.w32-in (compile, compile-always): Depend on
4151 update-subdirs, not on subdirs.el. Otherwise, several different
4152 sub-targets of 'bootstrap' running in parallel could
4153 simultaneously write to subdirs.el, producing a garbled file.
4154
4155 2012-06-26 Sam Steingold <sds@gnu.org>
4156
4157 * files.el (file-name-base): New convenience function.
4158 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4159 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4160 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4161 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4162 * textmodes/ispell.el, textmodes/reftex-ref.el:
4163 * textmodes/tex-mode.el: Use it.
4164 Did not touch cedet and org because they are maintained elsewhere.
4165
4166 2012-06-26 Martin Rudalics <rudalics@gmx.at>
4167
4168 * calendar/calendar.el (calendar-exit): Don't try to delete or
4169 iconify last frame. See:
4170 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4171
4172 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4173
4174 * server.el (server-process-filter): Remember dir in the
4175 process's `server-client-directory' properties.
4176
4177 2012-06-24 Chong Yidong <cyd@gnu.org>
4178
4179 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4180 non-tag text.
4181
4182 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
4183
4184 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4185
4186 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4187
4188 * help-fns.el (describe-variable): Don't croak when doc is not found.
4189 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4190 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4191 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4192 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4193 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4194 ((lambda ..) ..).
4195 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4196
4197 2012-06-23 Chong Yidong <cyd@gnu.org>
4198
4199 * info.el (Info-mouse-follow-link): Accept symbol values of
4200 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
4201 (Info-fontify-node): Use Info-link-keymap for all navigation
4202 buttons, with link-args property to perform the desired action.
4203 (Info-link-keymap): Doc fix.
4204 (Info-next-link-keymap, Info-prev-link-keymap)
4205 (Info-up-link-keymap): Delete now-unused keymaps.
4206
4207 2012-06-23 Chong Yidong <cyd@gnu.org>
4208
4209 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4210
4211 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4212 system abbrevs.
4213
4214 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4215
4216 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4217
4218 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4219 (bug#11719).
4220
4221 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4222 the requote function doesn't work properly (bug#11714).
4223
4224 2012-06-23 Glenn Morris <rgm@gnu.org>
4225
4226 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4227
4228 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4229
4230 Further GV/CL cleanups.
4231 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4232 gv-expander.
4233 (gv--defun-declaration): New function.
4234 (defun-declarations-alist): Use it.
4235 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4236 (gv-place): Autoload.
4237 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4238 original definition of dotimes and dolist.
4239 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4240 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4241 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4242 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4243 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4244 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4245 to the function's definition.
4246 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4247 * window.el:
4248 * files.el:
4249 * faces.el:
4250 * env.el: Don't use CL.
4251
4252 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4253
4254 Support higher-resolution time stamps (Bug#9000).
4255
4256 * calendar/time-date.el (with-decoded-time-value): New arg
4257 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4258 (encode-time-value): New optional arg PICO. New type 3.
4259 (time-to-seconds) [!float-time]: Support the new picoseconds
4260 component if it's used.
4261 (seconds-to-time, time-subtract, time-add):
4262 Support ps-resolution time stamps as well.
4263
4264 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4265 (timerp): Timer vectors now have length 9, not 8.
4266 (timer--time): Support new-style (4-part) time stamps.
4267 (timer-next-integral-multiple-of-time): Time stamps now have
4268 picosecond resolution, so take a bit more care about rounding.
4269 (timer-relative-time, timer-inc-time): New optional arg psecs.
4270 (timer-set-time-with-usecs): Set psecs to 0.
4271 (timer--activate): Check psecs component, too.
4272
4273 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4274
4275 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4276
4277 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4278 Move the non-essential binding to the post/pre-command-hook where it is
4279 more obviously correct.
4280
4281 * subr.el (read-passwd): Don't use a history at all.
4282 * savehist.el (savehist-save): Remove password saved accidentally
4283 because of the above bug.
4284
4285 2012-06-22 Bastien Guerry <bzg@gnu.org>
4286
4287 * files.el (toggle-read-only): Display a message telling whether
4288 the buffer is read-only or not (bug#11726).
4289
4290 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4291
4292 * emacs-lisp/gv.el: New file.
4293 * subr.el (push, pop): Extend to generalized variables.
4294 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4295 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4296 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4297 gv-define-simple-setter, and gv-define-expander.
4298 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4299 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4300 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4301 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4302 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4303 gv-letplace.
4304 (cl-defstruct): Don't define setf-method any more.
4305 * emacs-lisp/cl.el (flet): Don't autoload.
4306 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4307 (define-setf-expander, defsetf, define-modify-macro)
4308 (cl-struct-setf-expander): Move from cl-lib.el.
4309 * emacs-lisp/syntax.el:
4310 * emacs-lisp/ewoc.el:
4311 * emacs-lisp/smie.el:
4312 * emacs-lisp/cconv.el:
4313 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4314 (timer--time): Use gv-define-simple-setter.
4315 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4316 to avoid coding-system problems in subr.el. Adjust all users.
4317 (macroexp--maxsize, macroexp-small-p): New functions.
4318 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4319 * scroll-bar.el (scroll-bar-mode):
4320 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4321 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4322 * winner.el (winner-configuration, winner-make-point-alist)
4323 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4324 * files.el (locate-file-completion-table): Avoid list*.
4325
4326 2012-06-22 Chong Yidong <cyd@gnu.org>
4327
4328 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4329 (dired-create-files): Doc fix (Bug#11329).
4330 (dired-do-copy): Doc fix (Bug#11334).
4331 (dired-mark-read-string): Doc fix (Bug#11553).
4332
4333 * dired.el (dired-recursive-copies, dired-recursive-deletes):
4334 Doc fix (Bug#11326).
4335 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
4336 (dired-dwim-target): Doc fix.
4337
4338 * wdired.el (wdired-mode): Doc fix.
4339
4340 2012-06-22 Glenn Morris <rgm@gnu.org>
4341
4342 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4343 (pcmpl-rpm-cache-stamp-file): New constant.
4344 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4345 (pcmpl-rpm-packages): Optionally cache list of packages.
4346
4347 * pcmpl-rpm.el (pcmpl-rpm): New group.
4348 (pcmpl-rpm-query-options): New option.
4349 (pcmpl-rpm-packages): No need to inline it.
4350 Use pcmpl-rpm-query-options.
4351
4352 * calendar/calendar.el (calendar-in-read-only-buffer):
4353 Avoid some needless mode changes.
4354
4355 2012-06-21 Chong Yidong <cyd@gnu.org>
4356
4357 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4358 (desktop-path): Remove . from the default value (Bug#10977).
4359 (desktop-read): Use user-emacs-directory if desktop-path is nil.
4360
4361 2012-06-20 Chong Yidong <cyd@gnu.org>
4362
4363 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4364
4365 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
4366
4367 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4368 (bug#11201).
4369
4370 2012-06-20 Chong Yidong <cyd@gnu.org>
4371
4372 * term.el (term-window-width): Handle the case of a missing right
4373 fringe (Bug#8837).
4374 (term-check-size): Use window-text-height (Bug#5445).
4375 (term-mode): Use define-derived-mode. Minor cleanups.
4376 Set font-lock-defaults (Bug#7692).
4377 (term-move-columns, term-insert-char, term-emulate-terminal)
4378 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
4379
4380 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
4381
4382 * net/ange-ftp.el (ange-ftp-get-passwd):
4383 Bind `enable-recursive-minibuffers'.
4384 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4385
4386 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
4387
4388 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4389
4390 2012-06-19 Glenn Morris <rgm@gnu.org>
4391
4392 * progmodes/python.el (python-mode): Derive from prog-mode.
4393
4394 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
4395
4396 * emulation/edt.el (edt-default-menu-bar-update-buffers)
4397 (edt-user-menu-bar-update-buffers): New functions.
4398 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4399
4400 2012-06-19 Chong Yidong <cyd@gnu.org>
4401
4402 * subr.el (with-selected-window): Preserve the selected window's
4403 terminal's top-frame (Bug#4702).
4404
4405 * window.el (save-selected-window): Likewise.
4406
4407 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4408
4409 * progmodes/python.el (python-rx-constituents): Move backquote.
4410 (python-skeleton-define, python-define-auxiliary-skeleton):
4411 Use `declare'.
4412
4413 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
4414
4415 * minibuffer.el (read-file-name-default): Revert the patch from
4416 2012-06-17.
4417
4418 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4419
4420 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4421 (pcase--u1, pcase--q1): Don't use apply-partially.
4422
4423 2012-06-18 Glenn Morris <rgm@gnu.org>
4424
4425 * progmodes/python.el (python-proc, python-buffer)
4426 (python-send-receive, python-send-string): Fix obsolete versions.
4427
4428 2012-06-18 Martin Rudalics <rudalics@gmx.at>
4429
4430 * window.el (special-display-p): Completely remove stringp
4431 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4432
4433 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
4434
4435 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4436
4437 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
4438
4439 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
4440 * net/tramp-sh.el (tramp-maybe-open-connection):
4441 Throw if `non-essential' is non-nil.
4442
4443 2012-06-17 Martin Rudalics <rudalics@gmx.at>
4444
4445 * window.el (special-display-p): Signal an error if BUFFER-NAME
4446 is not a string (Bug#11713).
4447
4448 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
4449
4450 * progmodes/python.el (python-info-beginning-of-backslash):
4451 Rename from python-info-beginning-of-backlash, as a spelling fix.
4452
4453 2012-06-17 Chong Yidong <cyd@gnu.org>
4454
4455 * term.el (term-emulate-terminal): If term-check-size is called,
4456 move point to the process mark without resetting point (Bug#4635).
4457
4458 2012-06-17 Glenn Morris <rgm@gnu.org>
4459
4460 * international/mule-cmds.el (mule-menu-keymap)
4461 (set-language-environment, set-locale-environment): Doc tweaks.
4462
4463 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
4464
4465 * cus-face.el (custom-face-attributes): Add wave-style underline
4466 attribute.
4467 * faces.el (set-face-attribute): Update docstring to describe
4468 wave-style underline attribute.
4469
4470 2012-06-16 Chong Yidong <cyd@gnu.org>
4471
4472 * term/xterm.el (terminal-init-xterm): Discard input before
4473 querying background mode (Bug#10959).
4474
4475 2012-06-16 Stefan Merten <smerten@oekonux.de>
4476
4477 * textmodes/rst.el: Added and corrected some comments.
4478 (rst-re-alist-def): Improve symbol syntax.
4479 (rst-mode-syntax-table): Correct syntax entries.
4480 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4481 (rst-official-version, rst-official-cvs-rev): Update version
4482 information.
4483
4484 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
4485
4486 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4487 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4488
4489 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
4490
4491 * progmodes/python.el: New python.el merge.
4492 (python-guess-indent): Obsolete var.
4493 (python-indent-guess-indent-offset): New defcustom.
4494 (python-indent): Obsolete var.
4495 (python-indent-offset): New defcustom.
4496 (python-python-command, python-jython-command): Delete var.
4497 (python-shell-interpreter): New defcustom.
4498 (python-pdbtrack-do-tracking-p): Delete var.
4499 (python-pdbtrack-activate): New defcustom.
4500 (python-use-skeletons): Obsolete var.
4501 (python-skeleton-autoinsert): New defcustom.
4502 (inferior-python-filter-regexp, python-continuation-offset)
4503 (python-honour-comment-indentation, python-indent-string-contents)
4504 (python-jython-packages, python-mode-hook)
4505 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4506 (python-shell-prompt-alist)
4507 (python-source-modes): Delete defcustoms.
4508 (python-check-buffer-name, python-eldoc-setup-code)
4509 (python-eldoc-string-code, python-ffap-setup-code)
4510 (python-ffap-string-code, python-fill-comment-function)
4511 (python-fill-decorator-function, python-fill-paren-function)
4512 (python-fill-string-function, python-imenu-include-defun-type)
4513 (python-imenu-make-tree, python-imenu-subtree-root-label)
4514 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4515 (python-shell-compilation-regexp-alist)
4516 (python-shell-completion-module-string-code)
4517 (python-shell-completion-pdb-string-code)
4518 (python-shell-completion-setup-code)
4519 (python-shell-completion-string-code)
4520 (python-shell-enable-font-lock, python-shell-exec-path)
4521 (python-shell-extra-pythonpaths)
4522 (python-shell-internal-buffer-name, python-shell-interpreter-args)
4523 (python-shell-process-environment)
4524 (python-shell-prompt-block-regexp)
4525 (python-shell-prompt-output-regexp)
4526 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4527 (python-shell-send-setup-max-wait, python-shell-setup-codes)
4528 (python-shell-virtualenv-path): New defcustoms.
4529 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4530 (inferior-python-mode-syntax-table, python--prompt-regexp)
4531 (python-buffer, python-command python-python-command)
4532 (python-default-template, python-imports, python-indent-index)
4533 (python-indent-list, python-indent-list-length)
4534 (python-mode-running, python-pdbtrack-is-tracking-p)
4535 (python-preoutput-continuation, python-preoutput-leftover)
4536 (python-preoutput-result, python-preoutput-skip-next-prompt)
4537 (python-prev-dir/file, python-recursing)
4538 (python-saved-check-command, python-version-checked)
4539 (python-which-func-length-limit)
4540 (view-return-to-alist): Delete vars.
4541 (python-check-custom-command, python-dotty-syntax-table)
4542 (python-imenu-index-alist, python-indent-current-level)
4543 (python-indent-dedenters, python-indent-levels)
4544 (python-nav-beginning-of-defun-regexp)
4545 (python-nav-list-defun-positions-cache)
4546 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4547 (python-shell-internal-buffer)
4548 (python-skeleton-available): New vars.
4549 (def-python-skeleton): Delete macro.
4550 (python-skeleton-define): New macro.
4551 (python-define-auxiliary-skeleton, python-rx): New macros.
4552 (python-insert-class): Delete command.
4553 (python-skeleton-class): New command.
4554 (python-insert-def): Delete command.
4555 (python-skeleton-def): New command.
4556 (python-insert-for): Delete command.
4557 (python-skeleton-for): New command.
4558 (python-insert-if): Delete command.
4559 (python-skeleton-if): New command.
4560 (python-insert-try/except, python-insert-try/finally): Delete commands.
4561 (python-skeleton-try): New command.
4562 (python-insert-while): Delete command.
4563 (python-skeleton-while): New command.
4564 (python-backspace): Delete command.
4565 (python-indent-dedent-line-backspace): New command.
4566 (python-electric-colon): Delete command.
4567 (python-indent-electric-colon): New command.
4568 (python-guess-indent): Delete command.
4569 (python-indent-guess-indent-offset): New command.
4570 (python-shift-left): Delete command.
4571 (python-indent-shift-left): New command.
4572 (python-shift-right): Delete command.
4573 (python-indent-shift-right): New command.
4574 (python-find-function): Delete command.
4575 (python-nav-jump-to-defun): New command.
4576 (python-next-statement): Delete command.
4577 (python-nav-forward-sentence): New command.
4578 (python-previous-statement): Delete command.
4579 (python-nav-backward-sentence): New command.
4580 (python-fill-paragraph): Delete command.
4581 (python-fill-paragraph-function): New command.
4582 (python-send-buffer): Delete command.
4583 (python-shell-send-buffer): New command.
4584 (python-send-defun): Delete command.
4585 (python-shell-send-defun): New command.
4586 (python-send-region, python-send-region-and-go): Delete commands.
4587 (python-shell-send-region)
4588 (python-shell-switch-to-shell): New commands.
4589 (python-send-string): Delete command.
4590 (python-shell-send-string): New command.
4591 (python-switch-to-python): Delete command.
4592 (python-shell-switch-to-shell): New command.
4593 (python-describe-symbol): Delete command.
4594 (python-eldoc-at-point): New command.
4595 (python--set-prompt-regexp, python-args-to-list)
4596 (python-after-info-look, python-check-version)
4597 (python-check-comint-prompt, python-find-imports)
4598 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
4599 (python-unload-function, python-expand-template)
4600 (python-maybe-jython, python-preoutput-filter)
4601 (python-pdbtrack-get-source-buffer)
4602 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
4603 (python-pdbtrack-toggle-stack-tracking)
4604 (python-pdbtrack-track-stack-file, python-initial-text)
4605 (python-first-word, python-comment-line-p, python-send-command)
4606 (python-setup-brm, python-sentinel, python-set-proc)
4607 (python-skip-out, python-input-filter, python-outdent-p)
4608 (python-outline-level, python-backslash-continuation-line-p)
4609 (python-end-of-block, python-end-of-statement, python-mark-block)
4610 (python-beginning-of-block, python-beginning-of-statement)
4611 (python-blank-line-p, python-beginning-of-string)
4612 (python-open-block-statement-p): Delete functions.
4613 (python-indent-line, python-indent-line-1): Delete functions.
4614 (python-indent-line): New function.
4615 (python-indentation-levels): Delete function.
4616 (python-indent-calculate-levels): New function.
4617 (python-proc): Delete function.
4618 (python-shell-get-process): New function.
4619 (python-send-receive): Delete function.
4620 (python-shell-send-string-no-output): New function.
4621 (python-module-path): Delete function.
4622 (python-ffap-module-path): New function.
4623 (python-completion-at-point)
4624 (python-symbol-completions): Delete functions.
4625 (python-completion-complete-at-point): New function.
4626 (python-load-file): Delete function.
4627 (python-shell-send-file): New function.
4628 (python-calculate-indentation): Delete function.
4629 (python-indent-calculate-indentation): New function.
4630 (python-skip-comments/blanks): Delete function.
4631 (python-util-forward-comment): New function.
4632 (python-continuation-line-p): Delete function.
4633 (python-info-continuation-line-p): New function.
4634 (python-which-func, python-current-defun): Delete function.
4635 (python-info-current-defun): New function.
4636 (python-beginning-of-defun): Delete function.
4637 (python-nav-beginning-of-defun): New function.
4638 (python-close-block-statement-p)
4639 (python-block-end-p): Delete function.
4640 (python-info-closing-block): New function.
4641 (python-comint-output-filter-function)
4642 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
4643 (python-fill-comment, python-fill-decorator, python-fill-paren)
4644 (python-fill-string, python-imenu-make-element-tree)
4645 (python-imenu-make-tree, python-imenu-tree-assoc)
4646 (python-indent-context, python-indent-dedent-line)
4647 (python-indent-line-function)
4648 (python-indent-post-self-insert-function)
4649 (python-indent-toggle-levels)
4650 (python-info-assignment-continuation-line-p)
4651 (python-info-beginning-of-backlash)
4652 (python-info-block-continuation-line-p)
4653 (python-info-closing-block-message)
4654 (python-info-line-ends-backslash-p)
4655 (python-info-looking-at-beginning-of-defun)
4656 (python-info-ppss-context, python-info-ppss-context-type)
4657 (python-nav-list-defun-positions, python-nav-read-defun)
4658 (python-nav-sentence-end, python-nav-sentence-start)
4659 (python-pdbtrack-comint-output-filter-function)
4660 (python-pdbtrack-set-tracked-buffer)
4661 (python-shell-calculate-exec-path)
4662 (python-shell-calculate-process-environment)
4663 (python-shell-completion--do-completion-at-point)
4664 (python-shell-completion--get-completions)
4665 (python-shell-completion-complete-at-point)
4666 (python-shell-completion-complete-or-indent)
4667 (python-shell-get-or-create-process)
4668 (python-shell-get-process-name)
4669 (python-shell-internal-get-or-create-process)
4670 (python-shell-internal-get-process-name)
4671 (python-shell-internal-send-string, python-shell-make-comint)
4672 (python-shell-parse-command, python-shell-send-setup-code)
4673 (python-skeleton-add-menu-items)
4674 (python-util-clone-local-variables, python-util-position)
4675 (run-python-internal, python-indentation-levels)
4676 (python-nav-beginning-of-defun)
4677 (python-completion-complete-at-point): New functions.
4678 (run-python): Change arguments. New API requirements.
4679
4680 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4681
4682 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
4683 (bug#11649).
4684
4685 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
4686 (macroexp--expand-all): Use it.
4687
4688 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
4689 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
4690 Use `cl-function' instead.
4691
4692 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
4693
4694 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
4695 Suggested by Stefan Monnier while discussing bug#11657.
4696
4697 2012-06-14 Sam Steingold <sds@gnu.org>
4698
4699 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
4700
4701 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
4702
4703 * play/doctor.el (doctor-doc): Remove parameter and use
4704 doctor-sent instead of sent.
4705 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
4706
4707 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4708
4709 * files.el: Require cl-lib.
4710 (file-name-non-special): Replace case -> cl-case.
4711
4712 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
4713
4714 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
4715 mapping from #' to function*.
4716
4717 2012-06-13 Chong Yidong <cyd@gnu.org>
4718
4719 * mouse.el (mouse-drag-track): Do not set the mark if the user
4720 releases the mouse without selecting anything (Bug#11588).
4721
4722 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4723
4724 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
4725 as well (bug#11646).
4726
4727 * loadup.el: Count byte-code functions as well.
4728
4729 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
4730 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
4731
4732 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
4733 (bug#11649). Add cl-defun and cl-defmacro.
4734
4735 2012-06-13 Drew Adams <drew.adams@oracle.com>
4736
4737 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4738 Fix last change.
4739
4740 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
4741
4742 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
4743 Otherwise, it blocks in batch mode.
4744
4745 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
4746
4747 * help-mode.el (bookmark-make-record-default): Declare.
4748
4749 2012-06-13 Chong Yidong <cyd@gnu.org>
4750
4751 * emacs-lisp/package.el (list-packages): Compute a list of
4752 packages that are newly-available since the last list-packages
4753 invocation.
4754 (package-menu--new-package-list): New var.
4755 (package-menu--generate, package-menu--print-info)
4756 (package-menu--status-predicate, package-menu-mark-install):
4757 Handle new status label "new".
4758
4759 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4760
4761 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
4762 conversion to backquotes.
4763
4764 2012-06-12 Chong Yidong <cyd@gnu.org>
4765
4766 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
4767 Rename from gud-inhibit-global-bindings.
4768
4769 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
4770
4771 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
4772 hook from nxml-glyph-set-hook.
4773
4774 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
4775 declaration.
4776
4777 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
4778
4779 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
4780 Convert to defcustom.
4781
4782 2012-06-12 Drew Adams <drew.adams@oracle.com>
4783
4784 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4785 New functions.
4786 (help-mode): Use them.
4787
4788 2012-06-11 Glenn Morris <rgm@gnu.org>
4789
4790 * progmodes/fortran.el (fortran-font-lock-keywords-3):
4791 Use preprocessor face for directives.
4792 (fortran-directive-re): Doc fix.
4793
4794 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4795
4796 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
4797 conversion to backquotes (bug#11652).
4798
4799 Fix compiler-expansion of CL's cXXr functions (bug#11673).
4800 * emacs-lisp/cl-lib.el (cl--defalias): New function.
4801 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
4802 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
4803 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4804 (cl-ninth, cl-tenth): Mark them as inlinable.
4805 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
4806 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
4807 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
4808 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
4809 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
4810 (cl-list*, cl-adjoin): Don't put an autoload manually.
4811 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
4812 (cl--compiler-macro-list*): Add autoload cookie.
4813 (cl--compiler-macro-cXXr): New function.
4814
4815 * help-fns.el (help-fns--compiler-macro): New function extracted from
4816 describe-function-1; follow aliases and use `compiler-macro' property.
4817 (describe-function-1): Use it.
4818
4819 2012-06-11 Chong Yidong <cyd@gnu.org>
4820
4821 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
4822 is uninstalled, if imagemagick is installed.
4823
4824 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4825
4826 * emacs-lisp/cl-lib.el: Use lexical-binding.
4827 (cl-map-extents, cl-maclisp-member): Remove.
4828 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
4829 (cl--set-substring, cl--block-wrapper, cl--block-throw)
4830 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
4831 * emacs-lisp/cl-extra.el: Use lexical-binding.
4832 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
4833 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
4834 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
4835 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
4836 * emacs-lisp/cl-seq.el: Use lexical-binding.
4837 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
4838 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
4839 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
4840 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
4841 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
4842 CL's internals.
4843
4844 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
4845
4846 Sync with Tramp 2.2.6-pre.
4847
4848 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
4849 `print-length' and `print-level' to nil, in order to avoid
4850 truncation. Reported by Christopher Schmidt
4851 <christopher@ristopher.com>.
4852
4853 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
4854
4855 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
4856 New defmacro.
4857 (tramp-compat-copy-directory): Add optional argument
4858 COPY-CONTENTS. It is not handled yet.
4859
4860 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
4861 (tramp-ftp-file-name-p): Simplify.
4862
4863 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
4864 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
4865 connection vector.
4866
4867 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
4868 (tramp-methods): Do not use `tramp-password-end-of-line'.
4869 (tramp-completion-function-alist-putty): Handle UNIX case.
4870 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
4871 (tramp-do-file-attributes-with-stat)
4872 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
4873 gid as real numbers. They could run out of integer range on cygwin.
4874 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
4875 (tramp-sh-handle-expand-file-name): Handle hops.
4876 (tramp-open-connection-setup-interactive-shell):
4877 Use `tramp-cleanup'. Move check for busyboxes ...
4878 (tramp-find-shell): ... here. Simplify implementation.
4879 Set "remote-shell" property also for alternative shells.
4880 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
4881 If failing, a regular file would be written otherwise.
4882 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
4883 (tramp-find-inline-encoding): Cache the coding commands in the
4884 process cache. Apply test command on the remote side, if defined.
4885 (tramp-find-inline-compress): Cache the compress commands in the
4886 process cache.
4887 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
4888 when requested. Handle hops.
4889 (tramp-current-connection): New defvar.
4890 (tramp-maybe-open-connection): Use `tramp-cleanup'.
4891 Throw `suppress', if there was a failed connection shortly before.
4892 Handle user interrupt. (Bug#10187)
4893 (tramp-get-inline-compress, tramp-get-inline-coding):
4894 Read connection properties from the process cache.
4895
4896 * net/tramp-smb.el (tramp-smb-server-version)
4897 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
4898 New defconsts.
4899 (tramp-smb-prompt): Extend for powershell prompt.
4900 (tramp-smb-file-name-handler-alist): Add handlers for
4901 `process-file', `shell-command' and `start-file-process'.
4902 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
4903 (tramp-smb-winexe-shell-command-switch): New defcustoms.
4904 (tramp-smb-file-name-p): Simplify.
4905 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
4906 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
4907 (tramp-smb-shell-quote-argument): New defuns.
4908 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
4909 Implement using "tar". By this, time-stamps are preserved.
4910 (tramp-smb-handle-copy-file): Handle also the case of directories.
4911 (tramp-smb-do-file-attributes-with-stat)
4912 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
4913 Use `tramp-get-connection-buffer').
4914 (tramp-smb-handle-rename-file): Use "rename", when source and
4915 target are on the same share.
4916 (tramp-smb-maybe-open-connection): Handle wrong passwords.
4917 Use `tramp-smb-server-version'.
4918 (tramp-smb-wait-for-output): Remove prompt.
4919
4920 * net/tramp.el (top): Require 'cl.
4921 (tramp-methods, tramp-rsh-end-of-line):
4922 Remove `tramp-password-end-of-line' from docstring.
4923 (tramp-save-ad-hoc-proxies): New defcustom.
4924 (tramp-completion-function-alist): Adapt docstring.
4925 (tramp-default-password-end-of-line): Remove defcustom.
4926 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
4927 (tramp-user-regexp, tramp-file-name-regexp-unified)
4928 (tramp-file-name-regexp-url): Extend regexp by hop separator.
4929 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
4930 (tramp-remote-file-name-spec-regexp): New defconst.
4931 (tramp-file-name-structure): Extend structure for hops.
4932 (tramp-get-method-parameter): Move up.
4933 (tramp-file-name-p, tramp-dissect-file-name)
4934 (with-parsed-tramp-file-name): Handle hops.
4935 (tramp-file-name-hop): New defun.
4936 (tramp-make-tramp-file-name): New optional arg HOP.
4937 (tramp-message-show-progress-reporter-message): New defvar.
4938 (tramp-with-progress-reporter): Use it. We cannot use
4939 `tramp-message-show-message' here, because this suppresses also
4940 error buffers.
4941 (tramp-error-with-buffer): Suppress buffer view, if
4942 `tramp-message-show-message' is nil.
4943 Use `tramp-get-connection-buffer'.
4944 (tramp-cleanup): New defun.
4945 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
4946 (tramp-file-name-handler): If `debug-on-error' is set, propagate
4947 an error unchanged.
4948 (tramp-completion-handle-file-name-all-completions): Handle hops.
4949 Fix an error when called from ido.
4950 (tramp-completion-dissect-file-name): Use better local variable
4951 name. Add hop to the vector.
4952 (tramp-handle-insert-file-contents): Use progress-reporter for the
4953 whole scenario.
4954 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
4955 to `t'.
4956 (tramp-check-for-regexp): Simplify search.
4957 (tramp-enter-password): Remove it. Move implementation ...
4958 (tramp-action-password): ... here.
4959 (tramp-mode-string-to-int, tramp-local-host-p)
4960 (tramp-make-tramp-temp-file, tramp-read-passwd)
4961 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
4962 Set tramp-autoload cookie.
4963
4964 * net/trampver.el: Update release number.
4965
4966 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4967 Michael Albinus <michael.albinus@gmx.de>
4968
4969 * net/tramp.el (tramp-set-completion-function): Fix docstring.
4970 (tramp-parse-group, tramp-parse-file)
4971 (tramp-parse-shostkeys-sknownhosts): New defuns.
4972 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
4973 (tramp-parse-shosts-group, tramp-parse-sconfig)
4974 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
4975 (tramp-parse-sknownhosts, tramp-parse-hosts)
4976 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
4977 Use them.
4978 (tramp-parse-passwd-group, tramp-parse-netrc-group)
4979 (tramp-parse-putty-group): Don't narrow.
4980 (tramp-parse-putty): Make a loop.
4981 (tramp-file-name-handler): Catch the `suppress' signal.
4982
4983 2012-06-11 Chong Yidong <cyd@gnu.org>
4984
4985 * image.el (imagemagick-register-types): Put the ImageMagick entry
4986 at the end of image-type-file-name-regexps.
4987
4988 2012-06-11 Johan Bockgård <bojohan@gnu.org>
4989
4990 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
4991 (pcase, pcase-let*, pcase-dolist): Use them.
4992
4993 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4994
4995 * emacs-lisp/pcase.el (pcase--let*): New function.
4996 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
4997 (pcase--expand): Use macroexp-let².
4998
4999 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5000
5001 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5002 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5003 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5004 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5005 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5006 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5007
5008 2012-06-10 Glenn Morris <rgm@gnu.org>
5009
5010 * mail/rmail.el (rmail-yank-current-message): Leave point at
5011 correct position. (Bug#11660)
5012
5013 2012-06-10 Chong Yidong <cyd@gnu.org>
5014
5015 * allout-widgets.el: Fix code header.
5016
5017 2012-06-10 Chong Yidong <cyd@gnu.org>
5018
5019 * cus-edit.el (customize-changed-options-previous-release):
5020 Bump to 24.1.
5021
5022 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5023
5024 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5025
5026 2012-06-09 Chong Yidong <cyd@gnu.org>
5027
5028 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5029
5030 2012-06-09 Martin Rudalics <rudalics@gmx.at>
5031
5032 * window.el (special-display-popup-frame): Don't use
5033 window--display-buffer (Bug#11651).
5034
5035 2012-06-09 Eli Zaretskii <eliz@gnu.org>
5036
5037 Fix parallel builds: make sure loaddefs.el is not being written
5038 while Lisp files are compiled.
5039 (compile): Don't depend on 'mh-autoloads'.
5040 (compile-CMD, compile-SH): Depend on 'autoloads'.
5041 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5042
5043 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5044
5045 2012-06-09 Chong Yidong <cyd@gnu.org>
5046
5047 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5048 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5049 Doc fixes (Bug#11225).
5050
5051 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5052
5053 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5054 a function if there's a clear indication that it has a compiler-macro.
5055 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5056 (macro-declarations-alist): Add arglist to declaration functions.
5057 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5058 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5059 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5060 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5061 Also add autoload to find the compiler macro.
5062 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5063 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5064 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5065 (cl--compiler-macro-get): New functions, replacing calls to
5066 cl-define-compiler-macro.
5067 (cl-typep) [compiler-macro]: Use macroexp-let².
5068
5069 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
5070
5071 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5072 string properly, fixes Bug#11473.
5073
5074 2012-06-08 Chong Yidong <cyd@gnu.org>
5075
5076 * faces.el (set-face-attribute): Doc fix.
5077 (modify-face): Don't use :bold and :italic.
5078 (error, warning, success): Tweak definitions.
5079
5080 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5081 (custom-modified, custom-set, custom-changed, custom-themed)
5082 (custom-saved, custom-button, custom-button-mouse)
5083 (custom-button-pressed, custom-state, custom-comment-tag)
5084 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5085 (custom-group-subtitle): Use new-style face specs.
5086 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5087 (custom-set-face, custom-changed-face, custom-saved-face)
5088 (custom-button-face, custom-button-pressed-face)
5089 (custom-documentation-face, custom-state-face)
5090 (custom-comment-face, custom-comment-tag-face)
5091 (custom-variable-tag-face, custom-variable-button-face)
5092 (custom-face-tag-face, custom-group-tag-face-1)
5093 (custom-group-tag-face): Remove obsolete face alias.
5094
5095 * epa.el (epa-validity-high, epa-validity-medium)
5096 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5097 (epa-field-name, epa-field-body):
5098 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5099 (font-lock-keyword-face, font-lock-builtin-face)
5100 (font-lock-function-name-face, font-lock-variable-name-face)
5101 (font-lock-type-face, font-lock-constant-face):
5102 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5103 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5104 * speedbar.el (speedbar-button-face, speedbar-file-face)
5105 (speedbar-directory-face, speedbar-tag-face)
5106 (speedbar-selected-face, speedbar-highlight-face)
5107 (speedbar-separator-face):
5108 * whitespace.el (whitespace-newline, whitespace-space)
5109 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5110 (whitespace-line, whitespace-space-before-tab)
5111 (whitespace-space-after-tab, whitespace-indentation)
5112 (whitespace-empty):
5113 * emulation/cua-base.el (cua-global-mark):
5114 * eshell/em-prompt.el (eshell-prompt):
5115 * net/newst-plainview.el (newsticker-new-item-face)
5116 (newsticker-old-item-face, newsticker-immortal-item-face)
5117 (newsticker-obsolete-item-face, newsticker-date-face)
5118 (newsticker-statistics-face, newsticker-default-face):
5119 * net/newst-reader.el (newsticker-feed-face)
5120 (newsticker-extra-face, newsticker-enclosure-face):
5121 * net/newst-treeview.el (newsticker-treeview-face)
5122 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5123 (newsticker-treeview-immortal-face)
5124 (newsticker-treeview-obsolete-face)
5125 (newsticker-treeview-selection-face):
5126 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5127 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5128 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5129 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5130 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5131 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5132 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5133 (mpuz-text):
5134 * progmodes/vera-mode.el (vera-font-lock-number)
5135 (vera-font-lock-function, vera-font-lock-interface):
5136 * textmodes/table.el (table-cell): Use new-style face specs, and
5137 don't use the old :bold and :italic attributes.
5138
5139 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5140 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5141 (ebrowse-member-class, ebrowse-progress): Likewise.
5142 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5143 (ebrowse-file-name-face, ebrowse-default-face)
5144 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5145 (ebrowse-progress-face): Remove obsolete faces.
5146
5147 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5148 Inherit from error and warning faces respectively.
5149
5150 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5151 Likewise.
5152 (flyspell-incorrect-face, flyspell-duplicate-face):
5153 Remove obsolete aliases.
5154
5155 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
5156
5157 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5158 Avoid infloop.
5159
5160 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5161
5162 * startup.el (argv, argi): Make lexically scoped.
5163 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5164 * emacs-lisp/cl-macs.el: Use lexical-binding.
5165 Rename cl-bind-* to cl--bind-*.
5166 * files.el: Don't require `cl' since it doesn't use it.
5167 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5168
5169 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
5170
5171 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5172 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5173 instead of calling external sort utility.
5174 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5175
5176 2012-06-08 Eli Zaretskii <eliz@gnu.org>
5177
5178 * descr-text.el (describe-char): Mention how to insert the
5179 character, if the current input method doesn't support it.
5180 See the discussion in this thread for the details:
5181 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5182
5183 2012-06-08 Sam Steingold <sds@gnu.org>
5184
5185 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5186 XF86Back to previous-buffer.
5187 (minibuffer-local-map): Bind them to next-history-element and
5188 previous-history-element respectively.
5189 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5190 help-go-back respectively.
5191 * info.el (Info-mode-map): Bind them to Info-history-forward and
5192 Info-history-back respectively.
5193 These are the keys next to Up on the ThinkPad keyboard.
5194
5195 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5196
5197 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5198 * emacs-lisp/cl-macs.el: Provide itself.
5199 (cl--labels-convert-cache): New var.
5200 (cl--labels-convert): New function.
5201 (cl-flet, cl-labels): New implementation with new semantics, relying on
5202 lexical-binding.
5203 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5204 (cl-closure-vars, cl--function-convert-cache)
5205 (cl--function-convert): Move from cl-macs.el.
5206 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5207 rename by removing the "cl-" prefix.
5208 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5209
5210 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5211
5212 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5213 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5214 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5215 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5216 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5217 (cl-hash-table-count): Add old compatibility aliases.
5218
5219 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5220 Use macroexpand-all-environment instead.
5221 (cl--old-macroexpand): New var.
5222 (cl--sm-macroexpand): New function.
5223 (cl-symbol-macrolet): Use it during macro expansion.
5224 (cl--function-convert-cache): New var.
5225 (cl--function-convert): New function, extracted from
5226 cl-macroexpand-all.
5227 (cl-lexical-let): Use it.
5228
5229 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5230 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5231 (cl-member): Remove old alias.
5232
5233 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5234 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5235 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5236 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5237 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5238 (cl-macroexpand-cmacs): Remove var.
5239 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5240 Use macroexpand-all instead.
5241
5242 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5243
5244 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5245 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5246 (macroexp-copyable-p): New functions and macros.
5247 * emacs-lisp/edebug.el (edebug-unwrap):
5248 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5249 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5250 (pcase--let*): Remove.
5251 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5252 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5253 macroexp-const-p instead.
5254 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5255
5256 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5257 instead of "cl-" for internal definitions. Use macroexp-const-p.
5258 (cl-old-bc-file-form): Remove var.
5259 (cl-const-exprs-p): Remove fun.
5260 (cl-labels, cl-macrolet): Use backquote.
5261 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5262 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5263 (cl-define-setf-expander): Rename from cl-define-setf-method.
5264 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5265
5266 * international/mule-cmds.el: Don't require CL.
5267 (view-hello-file): Don't use `letf'.
5268
5269 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5270
5271 * tmm.el (tmm-prompt): Use string-prefix-p.
5272 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5273 (tmm-add-prompt): Use minibuffer-completion-help.
5274 (tmm-delete-map): Remove.
5275
5276 * subr.el (kbd): Make it its own function.
5277
5278 2012-06-07 Stefan Merten <smerten@oekonux.de>
5279
5280 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5281 Silence compiler warnings. Fix versions.
5282 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
5283 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
5284 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
5285 (rst-package-emacs-version-alist): Correct Emacs version to
5286 represent major merge with upstream.
5287 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
5288
5289 2012-06-06 Glenn Morris <rgm@gnu.org>
5290
5291 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5292 Only print environment variables if set.
5293
5294 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5295
5296 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5297 (macroexp--cons): Rename from maybe-cons.
5298 (macroexp--accumulate): Rename from macroexp-accumulate.
5299 (macroexp--all-forms): Rename from macroexpand-all-forms.
5300 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5301 (macroexp--expand-all): Rename from macroexpand-all-1.
5302
5303 2012-06-06 Sam Steingold <sds@gnu.org>
5304
5305 * calendar/calendar.el (calendar-in-read-only-buffer):
5306 Call `special-mode' to enable the standard read-only keybindings.
5307
5308 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5309
5310 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5311 with "loading" messages (bug#11635).
5312
5313 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
5314
5315 * files.el (enable-remote-dir-locals): New option.
5316 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5317
5318 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5319 Ensure, that the temp directory is local.
5320
5321 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5322 `temporary-file-directory'.
5323
5324 * progmodes/python.el (python-send-region): Ensure, that the
5325 temporary file is created also in the remote case.
5326
5327 2012-06-06 Glenn Morris <rgm@gnu.org>
5328
5329 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5330 (vc-rcs-update-changelog): Use it.
5331
5332 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
5333
5334 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5335 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5336 (vc-sccs-diff): Replace use of the external vcdiff script.
5337
5338 2012-06-05 Glenn Morris <rgm@gnu.org>
5339
5340 * ledit.el: Move to obsolete/.
5341
5342 2012-06-05 Sam Steingold <sds@gnu.org>
5343
5344 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
5345 patch (Bug#11140).
5346
5347 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5348
5349 * emacs-lisp/cust-print.el: Move to obsolete.
5350
5351 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5352 compiler-macro expansion.
5353
5354 Add native compiler-macro support.
5355 * emacs-lisp/macroexp.el (macroexpand-all-1):
5356 Support compiler-macros directly. Properly follow aliases and apply
5357 the compiler macros more thoroughly.
5358 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5359 macroexpand now properly follows aliases.
5360 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5361 (cl-compiler-macroexpand): Use new prop.
5362 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5363
5364 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5365
5366 2012-06-05 Martin Rudalics <rudalics@gmx.at>
5367
5368 * window.el (get-lru-window, get-mru-window, get-largest-window):
5369 New argument NOT-SELECTED to avoid picking the selected window.
5370 (window--display-buffer-1, window--display-buffer-2): Replace by
5371 new function window--display-buffer
5372 (display-buffer-same-window, display-buffer-reuse-window)
5373 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5374 Use window--display-buffer.
5375 (display-buffer-use-some-window): Remove temporary dedication
5376 hack by calling get-lru-window and get-largest-window with
5377 NOT-SELECTED argument non-nil. Call window--display-buffer.
5378
5379 2012-06-05 Glenn Morris <rgm@gnu.org>
5380
5381 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5382 Replace external vcdiff script.
5383
5384 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5385
5386 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5387
5388 2012-06-04 Chong Yidong <cyd@gnu.org>
5389
5390 * image.el (imagemagick-types-inhibit): Revert last change.
5391 Add INFO and M.
5392 (imagemagick-enabled-types): Remove CIN and EPS*.
5393
5394 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5395
5396 * emacs-lisp/cl-lib.el: Rename from cl.el.
5397 * emacs-lisp/cl.el: New compatibility file.
5398 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5399 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5400 to obey the "cl-" prefix.
5401 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5402
5403 2012-06-03 Glenn Morris <rgm@gnu.org>
5404
5405 * emacs-lisp/authors.el (authors-aliases): Addition.
5406
5407 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
5408 Fix :version.
5409
5410 2012-06-03 Stefan Merten <smerten@oekonux.de>
5411
5412 * textmodes/rst.el: Add comments.
5413 (rst-transition, rst-adornment): New faces.
5414 (rst-adornment-faces-alist): Make default safe to reevaluate.
5415 Fixes
5416 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5417 Improve customization tags.
5418 (rst-define-level-faces): Clarify meaning.
5419
5420 2012-06-03 Chong Yidong <cyd@gnu.org>
5421
5422 * progmodes/compile.el (compilation-mode-line-fail)
5423 (compilation-mode-line-run, compilation-mode-line-exit):
5424 New faces.
5425 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5426
5427 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
5428
5429 * progmodes/which-func.el (which-func-update-ediff-windows):
5430 New function. Use it in ediff-select-hook (Bug#11478).
5431
5432 2012-06-03 Chong Yidong <cyd@gnu.org>
5433
5434 * bindings.el: Remove explicit help text from format-mode-line.
5435 It is now supplied by mode-line-default-help-echo.
5436 (mode-line-front-space, mode-line-end-spaces)
5437 (mode-line-misc-info): New variables.
5438 (mode-line-modes, mode-line-position): Move the default value to
5439 the variable definition.
5440 (mode-line-default-help-echo): New defcustom.
5441 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
5442 (mode-line-modified-help-echo): New functions.
5443 (mode-line-mule-info, mode-line-modified): Use them.
5444 (mode-line-eol-desc, propertized-buffer-identification):
5445 Consistency fixes for help text.
5446 (mode-line-coding-system-map): Allow using mouse-3 to invoke
5447 set-buffer-file-coding-system (Bug#289).
5448 (mode-line-mule-info-help-echo): Update help text.
5449
5450 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5451
5452 * simple.el (execute-extended-command): Set real-this-command
5453 (bug#11506).
5454
5455 2012-06-02 Chong Yidong <cyd@gnu.org>
5456
5457 Remove incorrect uses of "modeline" in comments, docstrings, and
5458 function/variable names (Bug#10329).
5459
5460 * cus-edit.el (mode-line):
5461 * dframe.el (dframe-mouse-hscroll):
5462 * emacs-lisp/re-builder.el:
5463 * emacs-lisp/easy-mmode.el (define-minor-mode):
5464 * frame.el (set-frame-name):
5465 * help.el (lookup-minor-mode-from-indicator):
5466 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5467 * progmodes/cc-cmds.el (c-toggle-auto-newline)
5468 (c-toggle-hungry-state):
5469 * progmodes/antlr-mode.el (antlr-language-alist):
5470 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5471 * progmodes/vhdl-mode.el (vhdl-mode):
5472 * progmodes/which-func.el (which-func, which-func-cleanup-function):
5473 * term/ns-win.el (ns-face-at-pos):
5474 * term/sup-mouse.el (sup-mouse-report):
5475 * textmodes/flyspell.el (flyspell-mode-line-string):
5476 * textmodes/ispell.el (ispell-highlight-face):
5477 * textmodes/reftex-global.el:
5478 * vc/vc-arch.el (vc-arch-mode-line-string):
5479 * vc/vc-cvs.el (vc-cvs-mode-line-string):
5480 * vc/vc-git.el (vc-git-mode-line-string):
5481 * vc/vc-hooks.el (vc-display-status)
5482 (vc-default-mode-line-string):
5483 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5484
5485 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5486
5487 * dired.el (dired-sort-set-mode-line): Rename from
5488 dired-sort-set-modeline. All callers changed.
5489
5490 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5491 eshell-status-in-modeline.
5492
5493 * foldout.el (foldout-mode-line-string): Rename from
5494 foldout-modeline-string. All callers changed.
5495 (foldout-update-mode-line): Rename from foldout-update-modeline.
5496
5497 * subr.el (redraw-modeline): Make into obsolete alias.
5498
5499 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5500 timeclock-modeline-display. Make old name an alias.
5501 (timeclock-update-mode-line): Likewise. All callers changed.
5502 (timeclock-mode-line-display): No need to check before using
5503 add-hook.
5504 (timeclock-relative, timeclock-day-over-hook)
5505 (timeclock-use-elapsed, timeclock-mode-string)
5506 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5507
5508 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5509 crisp-mode-modeline-string.
5510
5511 * play/solitaire.el (solitaire-build-mode-line): Rename from
5512 solitaire-build-modeline. All callers changed.
5513
5514 * play/zone.el (zone-hiding-mode-line): Rename from
5515 zone-hiding-modeline. All callers changed.
5516 (zone): Remove unusued `modeline-hidden-level' property.
5517
5518 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5519 xscheme-modeline-initialize. All callers changed.
5520
5521 * strokes.el (strokes-lighter): Rename from
5522 strokes-modeline-string.
5523
5524 * textmodes/sgml-mode.el (html-face-tag-alist)
5525 (html-tag-face-alist): Use mode-line face instead of obsolete
5526 alias modeline.
5527
5528 2012-06-02 Stefan Merten <smerten@oekonux.de>
5529
5530 * textmodes/rst.el: Always require `cl'.
5531 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
5532
5533 2012-06-02 Chong Yidong <cyd@gnu.org>
5534
5535 * image.el (imagemagick-enabled-types): Rename from
5536 imagemagick-types-enable. Add many more types.
5537 (imagemagick-types-inhibit): Change default to nil.
5538 (imagemagick-filter-types): Caller changed.
5539
5540 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5541
5542 * emacs-lisp/cl-macs.el: Use backquotes.
5543 (cl-transform-function-property): Use eval-and-compile rather than
5544 abusing `require'.
5545 (defstruct): Use declare-function instead of with-no-warnings.
5546
5547 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5548 (byte-compile-output-docform): Re-add the print-circle bindings.
5549 (byte-compile-fix-header): Use #$ just because it's shorter.
5550 (byte-compile-output-file-form): Remove defun/defmacro.
5551
5552 2012-06-01 Martin Rudalics <rudalics@gmx.at>
5553
5554 * simple.el (choose-completion): Remove now obsolete binding for
5555 owindow.
5556
5557 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
5558
5559 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5560 in order to avoid "Stack overflow in regexp matcher".
5561
5562 2012-05-31 Glenn Morris <rgm@gnu.org>
5563
5564 * image.el: For clarity, call imagemagick-register-types at
5565 top-level, rather than relying on a custom :initialize.
5566 (imagemagick-types-enable): New option. (Bug#11557)
5567 (imagemagick-filter-types): New function. (Bug#7406)
5568 (imagemagick-register-types): Use imagemagick-filter-types.
5569 If disabling support, remove elements altogether rather
5570 than using an impossible regexp.
5571 (imagemagick-types-inhibit): Give it the default init function.
5572
5573 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5574
5575 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
5576 Handle arbitrary file name lengths (Bug#11585).
5577
5578 2012-05-31 Martin Rudalics <rudalics@gmx.at>
5579
5580 * desktop.el (desktop-read): Clear previous and next buffers for
5581 all windows and bury *Messages* buffer (bug#11556).
5582
5583 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5584
5585 Add `declare' for `defun'. Align `defmacro's with it.
5586 * emacs-lisp/easy-mmode.el (define-minor-mode)
5587 (define-globalized-minor-mode): Don't autoload the var definitions.
5588 * emacs-lisp/byte-run.el: Use lexical-binding.
5589 (defun-declarations-alist, macro-declarations-alist): New vars.
5590 (defmacro, defun): Use them.
5591 (make-obsolete, define-obsolete-function-alias)
5592 (make-obsolete-variable, define-obsolete-variable-alias):
5593 Use `declare'.
5594 (macro-declaration-function): Mark obsolete.
5595 * emacs-lisp/autoload.el: Use lexical-binding.
5596 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
5597
5598 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5599
5600 * textmodes/ispell.el (ispell-with-no-warnings):
5601 Define as a macro.
5602 (ispell-kill-ispell, ispell-change-dictionary):
5603 Use `called-interactively-p' for Emacs instead of obsolete
5604 `interactive-p'.
5605
5606 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5607
5608 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
5609 (macro-declaration-function): Move var from C code.
5610 (macro-declaration-function): Define function with defalias.
5611 * emacs-lisp/macroexp.el (macroexpand-all-1):
5612 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5613 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
5614 defun/defmacro any more.
5615 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
5616 Provide fallback for unknown arglist.
5617 (byte-compile-arglist-warn): Change calling convention.
5618 (byte-compile-output-file-form): Move print-vars binding.
5619 (byte-compile-output-docform): Simplify accordingly.
5620 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
5621 (byte-compile-defmacro-declaration): Remove.
5622 (byte-compile-file-form-defmumble): Generalize to defalias.
5623 (byte-compile-output-as-comment): Return byte-positions.
5624 Simplify callers accordingly.
5625 (byte-compile-lambda): Use `assert'.
5626 (byte-compile-defun, byte-compile-defmacro): Remove.
5627 (byte-compile-file-form-defalias):
5628 Use byte-compile-file-form-defmumble.
5629 (byte-compile-defalias-warn): Remove.
5630
5631 2012-05-29 Stefan Merten <smerten@oekonux.de>
5632
5633 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
5634 possible. Fix authors. Improve comments. Improve loading of `cl'.
5635
5636 (rst-mode-abbrev-table): Merge definition.
5637 (rst-mode): Make sure `font-lock-defaults' is buffer local.
5638 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5639
5640 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
5641
5642 * calendar/icalendar.el
5643 (icalendar-export-region): Export UID properly.
5644
5645 2012-05-29 Leo Liu <sdl.web@gmail.com>
5646 * calendar/icalendar.el (icalendar-import-format):
5647 Add `icalendar-import-format-uid' (Bug#11525).
5648 (icalendar-import-format-uid): New.
5649 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
5650 Export UID.
5651
5652 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5653
5654 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
5655 different alternative patterns.
5656 (pcase-codegen): Be more careful to preserve identity.
5657 (pcase--u1): Don't forget to mark vars as used.
5658
5659 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
5660 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
5661 (byte-compile-from-buffer): ...rather than here.
5662
5663 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
5664 functions from byte-compile-function-environment.
5665
5666 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
5667
5668 * window.el (window-deletable-p): Avoid deleting the root window
5669 of a frame with an active minibuffer.
5670
5671 2012-05-29 Martin Rudalics <rudalics@gmx.at>
5672
5673 * simple.el (choose-completion): Use quit-window (Bug#11567).
5674
5675 2012-05-29 Chong Yidong <cyd@gnu.org>
5676
5677 * whitespace.el (whitespace-cleanup): Fix usage of
5678 whitespace-empty-at-bob-regexp (Bug#11492).
5679
5680 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5681
5682 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
5683 revert (Bug#11488).
5684
5685 2012-05-29 Juri Linkov <juri@jurta.org>
5686
5687 * isearch.el (isearch-mode-map): Bind `M-s _' to
5688 `isearch-toggle-symbol'. Bind `M-s c' to
5689 `isearch-toggle-case-fold'.
5690 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
5691 (isearch-forward): Add `M-s _' to the docstring.
5692 (isearch-forward-symbol, isearch-toggle-case-fold)
5693 (isearch-symbol-regexp): New functions. (Bug#11381)
5694
5695 2012-05-29 Juri Linkov <juri@jurta.org>
5696
5697 * isearch.el (isearch-word): Add docstring. (Bug#11381)
5698 (isearch-occur, isearch-search-and-update): If `isearch-word' is
5699 a function, call it to get the regexp.
5700 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
5701 property `isearch-message-prefix' instead of the string "word ".
5702 (isearch-search-fun-default): For the case of `isearch-word',
5703 return a lambda that calls re-search-forward/re-search-backward
5704 with a regexp returned by `word-search-regexp' or by the function
5705 in `isearch-word'.
5706
5707 2012-05-29 Juri Linkov <juri@jurta.org>
5708
5709 * isearch.el (isearch-search-fun-default): New function.
5710 (isearch-search-fun): Move default part to the new function
5711 `isearch-search-fun-default'.
5712 (isearch-search-fun-function): Set the default value to
5713 `isearch-search-fun-default'. (Bug#11381)
5714
5715 * comint.el (comint-history-isearch-end):
5716 Use `isearch-search-fun-default'.
5717 (comint-history-isearch-search): Use `isearch-search-fun-default'
5718 and remove spacial case for `isearch-word'.
5719 (comint-history-isearch-wrap): Remove spacial case for
5720 `isearch-word'.
5721
5722 * hexl.el (hexl-isearch-search-function):
5723 Use `isearch-search-fun-default'.
5724
5725 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
5726 Use `word-search-regexp' for `isearch-word'.
5727
5728 * misearch.el (multi-isearch-search-fun):
5729 Use `isearch-search-fun-default'.
5730
5731 * simple.el (minibuffer-history-isearch-search):
5732 Use `isearch-search-fun-default' and remove spacial case for
5733 `isearch-word'.
5734 (minibuffer-history-isearch-wrap): Remove spacial case for
5735 `isearch-word'.
5736
5737 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
5738 Remove spacial case for `isearch-word'.
5739 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
5740
5741 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5742
5743 Decrease XEmacs incompatibilities.
5744 * textmodes/flyspell.el (flyspell-check-pre-word-p):
5745 Use `string-match'.
5746 (flyspell-delete-region-overlays): Use alternative definition for
5747 XEmacs.
5748 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
5749 (flyspell-word): Use `process-kill-without-query' if XEmacs.
5750 (flyspell-mode-on): Use `interactive-p' if XEmacs.
5751 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
5752 `define-obsolete-face-alias' under XEmacs, but old method.
5753
5754 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
5755 `with-no-warnings' definition or Emacs alias.
5756 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
5757 (ispell-word): Do not use `region-p' if XEmacs.
5758
5759 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5760
5761 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
5762 Check for `ispell-dictionary-base-alist' instead of full
5763 `ispell-dictionary-alist'.
5764 (ispell-init-process): Show spellchecker when starting new Ispell
5765 process.
5766
5767 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5768
5769 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
5770 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
5771
5772 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
5773
5774 * version.el (motif-version-string, gtk-version-string)
5775 (ns-version-string): Declare.
5776
5777 2012-05-27 Juri Linkov <juri@jurta.org>
5778
5779 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
5780 after the `eval-defun-1' specialcaseing
5781 like in `edebug-eval-defun' (bug#10181).
5782
5783 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
5784 like in `eval-defun-1'.
5785
5786 2012-05-27 Eli Zaretskii <eliz@gnu.org>
5787
5788 * mail/sendmail.el (mail-yank-region):
5789 Recognize rmail-yank-current-message in addition to insert-buffer.
5790 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
5791 a *mail* buffer created through rmail-start-mail with sendmail as
5792 mail-user-agent.
5793
5794 2012-05-27 Chong Yidong <cyd@gnu.org>
5795
5796 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
5797 Default to 256 (Bug#11267).
5798
5799 * help.el (describe-mode): Doc fix.
5800
5801 2012-05-26 Glenn Morris <rgm@gnu.org>
5802
5803 * w32-fns.el (w32-init-info): Remove.
5804 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
5805
5806 * info.el (info-initialize): For self-contained NS builds, put the
5807 included info/ directory at the front. (Bug#2791)
5808
5809 * paths.el (Info-default-directory-list): Make it a defcustom,
5810 mainly so that we can use custom-initialize-delay.
5811
5812 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5813
5814 * subr.el (buffer-has-markers-at): Mark obsolete.
5815
5816 * subr.el (lambda): Use declare.
5817
5818 * emacs-lisp/lisp-mode.el (lambda):
5819 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
5820
5821 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5822
5823 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
5824
5825 2012-05-26 Glenn Morris <rgm@gnu.org>
5826
5827 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
5828
5829 2012-05-25 Glenn Morris <rgm@gnu.org>
5830
5831 * paths.el: Remove no-byte-compile.
5832 * loadup.el: No need to load paths.el uncompiled.
5833
5834 * image.el (imagemagick-types-inhibit): Doc fix.
5835
5836 * version.el: Remove no-byte-compile and associated formatting.
5837 * loadup.el: No need to load version.el uncompiled. AFAICS, this
5838 is ancient code from when there was an "inc-vers.el".
5839
5840 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5841
5842 * progmodes/gdb-mi.el: Minor style changes.
5843 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
5844 Turn into minor modes.
5845 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
5846 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
5847 (gdb-shell): Remove unneeded let-binding.
5848 (gdb-get-many-fields): Eliminate O(n²) behavior.
5849
5850 2012-05-25 Eli Zaretskii <eliz@gnu.org>
5851
5852 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
5853 platforms that don't link in fontset.c.
5854
5855 2012-05-25 Juri Linkov <juri@jurta.org>
5856
5857 Use the same diff color scheme as in modern VCSes (bug#10181).
5858
5859 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
5860 to avoid confusion with `diff-added' that now uses green colors.
5861 (diff-removed): Use shades of red.
5862 (diff-added): Use shades of green.
5863 (diff-changed): Leave just the yellow color.
5864 (diff-use-changed-face): New variable.
5865 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
5866 how to highlight context diff changes.
5867 (diff-refine-change): Use shades of yellow.
5868 (diff-refine-removed): New face that uses shades of red.
5869 (diff-refine-added): New face that uses shades of green.
5870 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
5871 `diff-refine-removed' in the call to `smerge-refine-subst'
5872 depending on the value of `diff-use-changed-face'.
5873
5874 * vc/smerge-mode.el (smerge-mine): Use shades of red.
5875 (smerge-other): Use shades of green.
5876 (smerge-base): Use shades of yellow.
5877 (smerge-refined-change): Empty face.
5878 (smerge-refined-removed): New face that uses shades of red.
5879 (smerge-refined-added): New face that uses shades of green.
5880 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
5881 args `props-r' and `props-a', and use them. Doc fix.
5882 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
5883 on its value use different faces `smerge-refined-change',
5884 `smerge-refined-removed', `smerge-refined-added' in the call to
5885 `smerge-refine-subst'.
5886
5887 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
5888 Add face condition `min-colors 88' with shades of red.
5889 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
5890 `min-colors 88' with shades of green.
5891 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
5892 `min-colors 88' with shades of yellow.
5893
5894 2012-05-24 Glenn Morris <rgm@gnu.org>
5895
5896 * paths.el (prune-directory-list, remote-shell-program): Move to...
5897 * files.el (prune-directory-list, remote-shell-program): ...here.
5898 For the latter, delay initialization, prefer ssh, just search PATH.
5899
5900 * paths.el (term-file-prefix): Move to faces.el (the only user).
5901 * faces.el (term-file-prefix): Move here, make it a defcustom.
5902
5903 * paths.el (news-directory, news-path, news-inews-program):
5904 Move to gnus/nnspool.el.
5905
5906 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
5907
5908 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
5909 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
5910 Make the latter a defcustom, with a delayed initialization.
5911
5912 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
5913 These were deleted from Gnus itself late 2010.
5914
5915 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
5916
5917 * progmodes/which-func.el (which-func-ff-hook):
5918 Check against user-error, not error.
5919
5920 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5921 cl-specs.el, which no longer exists.
5922
5923 2012-05-22 Glenn Morris <rgm@gnu.org>
5924
5925 * info.el (info-emacs-bug): New command.
5926 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
5927 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
5928
5929 2012-05-21 Glenn Morris <rgm@gnu.org>
5930
5931 * makefile.w32-in (update-subdirs-SH):
5932 * Makefile.in (update-subdirs): Update for moved update-subdirs.
5933
5934 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5935
5936 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
5937
5938 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5939 Simplify Maven regexp, and make sure the file can't start with a space
5940 (bug#11517).
5941
5942 2012-05-21 Glenn Morris <rgm@gnu.org>
5943
5944 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5945 Scrap superfluous subshells.
5946
5947 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
5948
5949 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
5950 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
5951
5952 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
5953
5954 * calc/calc.el (calc-ensure-consistent-units): New variable.
5955
5956 * calc/calc-units.el (math-consistent-units-p)
5957 (math-check-unit-consistency): New functions.
5958 (calc-quick-units, calc-convert-units):
5959 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
5960 is non-nil.
5961 (calc-extract-units): Fix typo.
5962
5963 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5964
5965 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
5966
5967 * textmodes/flyspell.el: Commenting style, plus code simplifications.
5968 (flyspell-default-deplacement-commands): Don't spell check after
5969 repeated window/frame switches (e.g. triggered by mouse-movement).
5970 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
5971 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
5972 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
5973 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
5974 Remove unused vars.
5975 (flyspell-get-casechars, flyspell-get-not-casechars):
5976 Simplify; Don't bother removing a ] just to add it back.
5977 * textmodes/ispell.el (ispell-program-name): Use executable-find.
5978
5979 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5980
5981 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
5982 New functions.
5983 (math-function-table): Add support for more C functions.
5984
5985 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5986
5987 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5988 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5989 Protect delay handling for otherchars against empty otherchars.
5990
5991 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5992
5993 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
5994 their respective macro declarations.
5995 * skeleton.el (define-skeleton):
5996 * progmodes/compile.el (define-compilation-mode):
5997 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
5998 (define-ibuffer-filter):
5999 * emacs-lisp/generic.el (define-generic-mode):
6000 * emacs-lisp/easy-mmode.el (define-minor-mode)
6001 (define-globalized-minor-mode):
6002 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6003 * emacs-lisp/byte-run.el (defsubst):
6004 * custom.el (deftheme): Add doc-string metadata.
6005
6006 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6007
6008 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6009
6010 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6011
6012 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6013
6014 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6015 * emacs-lisp/cl-macs.el: Idem.
6016 * emacs-lisp/cl-specs.el: Remove.
6017
6018 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6019
6020 Minor renaming of internal CL functions and variables.
6021 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6022 (cl--position): Rename from cl-position.
6023 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6024 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6025 (cl--random-state): Rename from *random-state*.
6026
6027 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6028
6029 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6030 parens around the arg list (bug#11499).
6031
6032 2012-05-17 Juri Linkov <juri@jurta.org>
6033
6034 * isearch.el (word-search-regexp, word-search-backward)
6035 (word-search-forward, word-search-backward-lax)
6036 (word-search-forward-lax): Move functions from search.c
6037 (bug#10145, bug#11381).
6038
6039 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6040
6041 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6042 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6043 Delay for otherchars as for normal word components.
6044
6045 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6046
6047 * minibuffer.el (completion--sifn-requote): Fix last change.
6048 (minibuffer-local-must-match-filename-map):
6049 Move define-obsolete-variable-alias before its var.
6050
6051 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6052
6053 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6054
6055 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6056 behavior.
6057 (completion--string-equal-p): New function.
6058 (completion--twq-all): Use it to get better assertion failure data.
6059
6060 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6061 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6062 (shell--requote-argument): New functions.
6063 (shell-completion-vars): Use them.
6064 (shell--parse-pcomplete-arguments): Rename from
6065 shell-parse-pcomplete-arguments.
6066 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6067 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6068 Obey comint-file-name-quote-list.
6069
6070 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6071 (smie-indent-keyword): Use it.
6072
6073 2012-05-14 Stefan Merten <smerten@oekonux.de>
6074
6075 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6076
6077 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6078
6079 * net/rlogin.el (rlogin-mode-map): Fix last change.
6080
6081 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
6082
6083 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6084 the following \r\n using a single `process-send-string', since the
6085 Lotus SMTP server refuses to accept any commands if they are sent
6086 with two `process-send-string's (Bug#11444).
6087
6088 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6089
6090 * shell.el (shell-parse-pcomplete-arguments):
6091 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
6092
6093 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6094
6095 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
6096 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6097 (image-transform-width, image-transform-fit-width): New functions.
6098 (image-transform-properties): Use them.
6099 (image-transform-check-size): New function.
6100 (image-toggle-display-image): Use it (for testing).
6101 (image-transform-set-rotation): Reduce angle mod 360.
6102 Delete obsolete comment.
6103
6104 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6105
6106 * image-mode.el: Fix scaling (bug#11399).
6107 (image-transform-resize): Doc fix.
6108 (image-transform-properties): Default scale is 1 and height should
6109 be an integer.
6110
6111 2012-05-13 Johan Bockgård <bojohan@gnu.org>
6112
6113 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6114 than hard-coding `car', to fix misbehavior when moving forward.
6115
6116 2012-05-13 Chong Yidong <cyd@gnu.org>
6117
6118 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6119 (tabulated-list-entries, tabulated-list-padding)
6120 (tabulated-list-sort-key): Make permanent-local.
6121
6122 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6123 (electric-buffer-list): Put electric buffer menu
6124 command descriptions in this docstring, instead of the docstring
6125 of electric-buffer-menu-mode. Code cleanups.
6126 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6127 Electric-buffer-menu-mode.
6128 (electric-buffer-update-highlight): Minor code cleanup.
6129
6130 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
6131
6132 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6133 (Bug#11447)
6134
6135 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6136
6137 Move define-obsolete-variable-alias before the var's definition.
6138 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6139 * tooltip.el (tooltip-hook):
6140 * textmodes/reftex-toc.el (reftex-toc-map):
6141 * textmodes/reftex-sel.el (reftex-select-label-map)
6142 (reftex-select-bib-map):
6143 * textmodes/reftex-index.el (reftex-index-map)
6144 (reftex-index-phrases-map):
6145 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6146 * progmodes/meta-mode.el (meta-mode-map):
6147 * novice.el (disabled-command-hook):
6148 * loadhist.el (unload-hook-features-list):
6149 * frame.el (blink-cursor):
6150 * files.el (find-file-not-found-hooks, write-file-hooks)
6151 (write-contents-hooks):
6152 * emulation/tpu-edt.el (GOLD-map):
6153 * emacs-lock.el (emacs-lock-from-exiting):
6154 * emacs-lisp/generic.el (generic-font-lock-defaults):
6155 * emacs-lisp/chart.el (chart-map):
6156 * dos-fns.el (register-name-alist):
6157 * dired-x.el (dired-omit-files-p):
6158 * desktop.el (desktop-enable):
6159 * cus-edit.el (custom-mode-hook):
6160 * buff-menu.el (buffer-menu-mode-hook):
6161 * bookmark.el (bookmark-read-annotation-text-func)
6162 (bookmark-exit-hooks):
6163 * allout.el (allout-mode-deactivate-hook)
6164 (allout-exposure-change-hook, allout-structure-added-hook)
6165 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6166 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6167 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6168 comes before the corresponding variable's definition.
6169
6170 2012-05-12 Chong Yidong <cyd@gnu.org>
6171
6172 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
6173 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6174 (Buffer-menu-mode-map): Bind it.
6175 (Buffer-menu--pretty-name): Add a mouse-face property.
6176
6177 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6178
6179 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6180 (prolog-upper-case-string, prolog-lower-case-string)
6181 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6182 (prolog-use-smie, prolog-smie-grammar): New vars.
6183 (prolog-smie-forward-token, prolog-smie-backward-token)
6184 (prolog-smie-rules): New funs.
6185 (prolog-comment-indent): Remove.
6186 (prolog-mode-variables): Use default comment indentation instead.
6187 Setup SMIE.
6188 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6189 (prolog-mode): Don't call them any more.
6190 (prolog-electric-colon, prolog-electric-dash)
6191 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6192
6193 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6194
6195 * minibuffer.el (completion--twq-all): Again, allow case differences.
6196
6197 * term.el: Move keymap initialization code to be more idiomatic.
6198 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6199 (term-terminal-menu): Move initialization into declaration.
6200 (term-escape-char): Let the user set it in her .emacs.
6201
6202 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6203 Provide SMIE-based indentation (not enabled by default yet).
6204 (sh-mode-map): Don't bind electric keys.
6205 Use electric-pair-mode instead of skeleton-pair.
6206 (sh-assignment-regexp): Fit within 80 columns.
6207 (sh-indent-supported): Specify actual shell name instead of boolean.
6208 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6209 (sh-maybe-here-document): Use it. Make obsolete.
6210 (sh-electric-here-document-mode) New minor mode.
6211 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6212 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6213 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6214 (sh-smie-rc-grammar, sh-use-smie): New vars.
6215 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6216 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6217 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6218 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6219 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6220 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6221 (sh-set-shell): Use smie-setup if requested.
6222
6223 * term.el (term-set-escape-char): Properly set term-escape-char.
6224 See http://stackoverflow.com/questions/10524656.
6225
6226 2012-05-10 Chong Yidong <cyd@gnu.org>
6227
6228 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6229 Use url-generic-parse-url, and handle host names and Windows
6230 filenames properly.
6231 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6232 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6233 URL schemes to work on.
6234 (ffap--toggle-read-only): New function.
6235 (ffap-read-only, ffap-read-only-other-window)
6236 (ffap-read-only-other-frame): Use it.
6237 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6238 necessary for ffap-url-unwrap-remote.
6239
6240 2012-05-10 Dave Abrahams <dave@boostpro.com>
6241
6242 * cus-start.el (create-lockfiles): Add it.
6243
6244 2012-05-09 Chong Yidong <cyd@gnu.org>
6245
6246 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6247 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6248
6249 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6250
6251 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6252
6253 2012-05-09 Chong Yidong <cyd@gnu.org>
6254
6255 * ansi-color.el (ansi-color-process-output): Check for validity of
6256 comint-last-output-start before using it. This avoids a bad
6257 interaction with gdb-mi's input/output buffer.
6258
6259 2012-05-09 Glenn Morris <rgm@gnu.org>
6260
6261 * files.el (dir-locals-read-from-file):
6262 Mention dir-locals in any error message.
6263
6264 2012-05-09 Chong Yidong <cyd@gnu.org>
6265
6266 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6267 package (Bug#11410).
6268
6269 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6270 variables into description.
6271
6272 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6273
6274 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6275 shell-delimiter-argument-list (bug#11348).
6276 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6277
6278 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
6279
6280 * textmodes/rst.el: Silence byte-compiler warnings.
6281 (rst-re-alist, rst-reset-section-caches): Move around.
6282 (rst-re): Use `characterp', not `char-valid-p'.
6283 (font-lock-beg, font-lock-end): Declare.
6284
6285 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6286 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6287
6288 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6289
6290 2012-05-08 Glenn Morris <rgm@gnu.org>
6291
6292 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6293
6294 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6295
6296 * vc/log-edit.el: Add GNU coding standards highlighting.
6297 (log-edit-font-lock-gnu-style)
6298 (log-edit-font-lock-gnu-keywords): New vars.
6299 (log-edit-font-lock-keywords): New fun.
6300 (log-edit-mode): Don't fold case in font-lock.
6301 (log-edit-font-lock-keywords): Do not assume case-folding.
6302
6303 * imenu.el: Misc cleanup. Make docstrings out of comments.
6304 Use lexical-binding.
6305 (imenu--index-alist, imenu--last-menubar-index-alist)
6306 (imenu-menubar-modified-tick): Use defvar-local.
6307 (imenu--split-menu): Remove unused var.
6308 (imenu--cleanup-seen): Declare as global.
6309 (imenu--cleanup): Use dolist.
6310
6311 * subr.el (defvar-local): Add debug spec and doc-string position.
6312
6313 2012-05-08 Glenn Morris <rgm@gnu.org>
6314
6315 * language/burmese.el, language/cham.el, language/czech.el:
6316 * language/english.el, language/georgian.el, language/greek.el:
6317 * language/japanese.el, language/khmer.el, language/korean.el:
6318 * language/lao.el, language/misc-lang.el, language/romanian.el:
6319 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6320 * language/thai.el, language/utf-8-lang.el:
6321 Remove no-byte-compile setting.
6322
6323 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6324
6325 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6326
6327 * progmodes/make-mode.el (makefile-browse):
6328 Remove unnecessary interactive. (Bug#11324)
6329
6330 2012-05-07 Glenn Morris <rgm@gnu.org>
6331
6332 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6333
6334 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6335
6336 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6337
6338 * loadup.el: Preload newcomment.el.
6339 * newcomment.el: Move autoload-only code to toplevel.
6340
6341 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6342 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6343 Handle new :right-align column property.
6344 (tabulated-list-print-col): Idem, plus use `display' text-property to
6345 try and preserve alignment for variable pitch fonts.
6346
6347 2012-05-07 Chong Yidong <cyd@gnu.org>
6348
6349 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6350 (tabulated-list-use-header-line): New var.
6351 (tabulated-list-init-header): Use it.
6352 (tabulated-list-print-fake-header): New function.
6353 (tabulated-list-print): Use it.
6354 (tabulated-list-sort-button-map): Add non-header-line commands.
6355 (tabulated-list-init-header): Add column name property to basic
6356 labels as well.
6357 (tabulated-list-col-sort): Handle non-header-line button case.
6358 (tabulated-list--sort-by-column-name): Fix a corner case.
6359
6360 * buff-menu.el (list-buffers--refresh):
6361 Handle Buffer-menu-use-header-line.
6362
6363 2012-05-06 Chong Yidong <cyd@gnu.org>
6364
6365 * buff-menu.el: Convert to Tabulated List mode.
6366 (Buffer-menu-buffer+size-width): Make obsolete.
6367 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6368 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6369 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
6370 documentation into docstring of buffer-menu.
6371 (Buffer-menu-toggle-files-only): Add an informative message.
6372 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6373 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6374 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6375 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6376 (Buffer-menu-execute, Buffer-menu-select)
6377 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6378 (Buffer-menu-bury): Use Tabulated List machinery.
6379 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6380 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
6381 Delete.
6382 (list-buffers--refresh): New function.
6383 (list-buffers-noselect): Use it.
6384 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6385 (Buffer-menu--pretty-file-name): New helper functions.
6386
6387 * loadup.el: Preload tabulated-list.
6388
6389 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6390 tabulated-list-sort-column.
6391 (tabulated-list-init-header): Add the initial aligning space even
6392 if tabulated-list-padding is zero.
6393
6394 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
6395
6396 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6397 whose cdr is not a cons cell correctly (bug#11038).
6398
6399 2012-05-06 Chong Yidong <cyd@gnu.org>
6400
6401 * emacs-lisp/tabulated-list.el (tabulated-list-format):
6402 Accept additional plist in column descriptors.
6403 (tabulated-list-init-header): Obey it.
6404 (tabulated-list-get-entry): New function.
6405 (tabulated-list-put-tag): Use it. Use string-width instead of
6406 length.
6407 (tabulated-list--column-number): New function.
6408 (tabulated-list-print): Use it.
6409 (tabulated-list-print-col): New function.
6410 Set `tabulated-list-column-name' property on each column's text.
6411 (tabulated-list-print-entry): Use it.
6412 (tabulated-list-delete-entry, tabulated-list-set-col):
6413 New functions.
6414 (tabulated-list-sort-column): New command (Bug#11337).
6415
6416 * buff-menu.el (list-buffers): Move C-x C-b binding from
6417 buff-menu.el to bindings.el.
6418
6419 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6420 :advertised-binding feature.
6421
6422 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
6423
6424 * progmodes/compile.el (compilation-internal-error-properties):
6425 Calculate start position correctly when end-col is set but
6426 end-line is not (Bug#11382).
6427
6428 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
6429
6430 * man.el (Man-unindent): Use text-property-default-nonsticky to
6431 prevent untabify from inheriting face properties (Bug#11408).
6432
6433 2012-05-05 Stefan Merten <smerten@oekonux.de>
6434
6435 * textmodes/rst.el: Major merge with upstream development up to
6436 Docutils SVN r7399 / rst.el V1.2.1.
6437
6438 Clarify maintainership and authors.
6439
6440 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
6441 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
6442 (rst-official-version, rst-official-cvs-rev, rst-version)
6443 (rst-package-emacs-version-alist): New functions and variables
6444 for version information.
6445
6446 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
6447 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
6448 (rst-mode-syntax-table, rst-mode): New and corrected functions
6449 and variables representing reStructuredText features.
6450
6451 (rst-re): New function for reStructuredText regexes. Use in
6452 many places.
6453
6454 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6455 (rst-mode-map): Rebind keys.
6456
6457 (rst-mode-lazy, rst-font-lock-keywords)
6458 (rst-font-lock-extend-region)
6459 (rst-font-lock-extend-region-internal)
6460 (rst-font-lock-extend-region-extend)
6461 (rst-font-lock-find-unindented-line-limit)
6462 (rst-font-lock-find-unindented-line-match)
6463 (rst-adornment-level, rst-font-lock-adornment-level)
6464 (rst-font-lock-adornment-match)
6465 (rst-font-lock-handle-adornment-pre-match-form)
6466 (rst-font-lock-handle-adornment-matcher): Major revision of
6467 font-locking. Integrate with other code. Use `jit-lock-mode'.
6468
6469 (rst-preferred-adornments, rst-adjust-hook)
6470 (rst-new-adornment-down, rst-preferred-bullets)
6471 (rst-preferred-bullets, rst-indent, rst-indent-width)
6472 (rst-indent-field, rst-indent-literal-normal)
6473 (rst-indent-literal-minimized, rst-indent-comment): Change,
6474 extend and improve customization.
6475
6476 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6477 (rst-normalize-cursor-position, rst-get-decoration)
6478 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6479 (rst-rstrip, rst-toc-insert-find-delete-contents)
6480 (rst-shift-fill-region, rst-compute-bullet-tabs)
6481 (rst-debug-print-tabs, rst-debug-mark-found)
6482 (rst-shift-region-guts, rst-shift-region-right)
6483 (rst-shift-region-left, rst-use-char-classes)
6484 (rst-font-lock-keywords-function)
6485 (rst-font-lock-indentation-point)
6486 (rst-font-lock-find-unindented-line-begin)
6487 (rst-font-lock-find-unindented-line-end)
6488 (rst-font-lock-find-unindented-line)
6489 (rst-font-lock-adornment-point, rst-font-lock-level)
6490 (rst-adornment-level-alist): Remove functions and variables.
6491
6492 (rst-compare-adornments, rst-get-adornment-match)
6493 (rst-suggest-new-adornment, rst-get-adornments-around)
6494 (rst-adornment-complete-p, rst-get-next-adornment)
6495 (rst-adjust-adornment, rst-display-adornments-hierarchy)
6496 (rst-straighten-adornments): Standardize function names to
6497 use "adornment" instead of "decoration". Correct callers.
6498 Similar standardizing in many places.
6499
6500 (rst-update-section, rst-adjust, rst-promote-region)
6501 (rst-enumerate-region, rst-bullet-list-region)
6502 (rst-repeat-last-character): Correct use of `interactive'.
6503
6504 (rst-classify-adornment, rst-find-all-adornments)
6505 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6506 (rst-find-leftmost-column, rst-repeat-last-character):
6507 Refactor functions.
6508
6509 (rst-find-title-line, rst-reset-section-caches)
6510 (rst-get-adornments-around, rst-adjust-adornment-work)
6511 (rst-arabic-to-roman, rst-roman-to-arabic)
6512 (rst-insert-list-pos, rst-insert-list-new-item)
6513 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6514 New functions.
6515
6516 (rst-all-sections, rst-section-hierarchy)
6517 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6518 New variables.
6519
6520 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6521 configuration instead of only buffer. Change where necessary.
6522
6523 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6524 (rst-shift-region, rst-adaptive-fill): New functions for
6525 indentation and filling.
6526
6527 (rst-comment-line-break, rst-comment-indent)
6528 (rst-comment-insert-comment, rst-comment-region)
6529 (rst-uncomment-region): New functions for handling comments.
6530
6531 (rst-compile): Quote shell arguments.
6532
6533 (rst-compile-pdf-preview, rst-compile-slides-preview):
6534 Delete temporary files after use.
6535
6536 2012-05-05 Glenn Morris <rgm@gnu.org>
6537
6538 * calendar/cal-html.el: Optionally include holidays in the output.
6539 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6540 (cal-html-holidays): New option.
6541 (cal-html-css-default): Add holiday entry.
6542 (holiday-in-range): Autoload it.
6543 (cal-html-htmlify-entry): Add optional class argument.
6544 (cal-html-htmlify-list): Add optional holidays argument.
6545 (cal-html-insert-agenda-days): Include holidays in the output.
6546 (cal-html-one-month): Maybe include holidays.
6547
6548 * calendar/holidays.el (holiday-in-range):
6549 Move here from cal-tex-list-holidays.
6550 * calendar/cal-tex.el (cal-tex-list-holidays):
6551 Make it an obsolete alias for holiday-in-range. Update all callers.
6552
6553 2012-05-05 Chong Yidong <cyd@gnu.org>
6554
6555 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6556 Nextstep.
6557
6558 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
6559
6560 * files.el (file-auto-mode-skip): New var.
6561 (set-auto-mode-1): Use it.
6562
6563 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6564
6565 * repeat.el: Use lexical-binding.
6566 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6567 (repeat-undo-count): Remove.
6568 (repeat):
6569 * progmodes/octave-mod.el (octave-abbrev-start):
6570 * progmodes/f90.el (f90-abbrev-start):
6571 * face-remap.el (text-scale-adjust):
6572 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6573
6574 * emacs-lisp/pcase.el (pcase--let*): New function.
6575 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
6576 a bit more.
6577 (pcase--split-pred): Be more clever about ruling out overlap between
6578 a predicate and some constant pattern.
6579 (pcase--q1): Use `null' instead of (eq foo nil).
6580
6581 * subr.el (setq-local, defvar-local): New macros.
6582 (kbd): Redefine as an alias.
6583 (with-selected-window): Leave unrelated frames alone.
6584 (set-temporary-overlay-map): New function.
6585
6586 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6587
6588 * subr.el (user-error): New function.
6589 * window.el (switch-to-buffer):
6590 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6591 (smerge-match-conflict):
6592 * simple.el (previous-matching-history-element)
6593 (next-matching-history-element, goto-history-element, undo-more)
6594 (undo-start):
6595 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
6596 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
6597 (next-file, tags-loop-scan, list-tags, complete-tag):
6598 * progmodes/compile.el (compilation-loop):
6599 * mouse.el (mouse-minibuffer-check):
6600 * man.el (Man-bgproc-sentinel, Man-goto-page):
6601 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
6602 (Info-history-forward, Info-follow-reference, Info-menu)
6603 (Info-extract-menu-item, Info-extract-menu-counting)
6604 (Info-forward-node, Info-backward-node, Info-next-menu-item)
6605 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
6606 (Info-next-reference, Info-prev-reference, Info-index)
6607 (Info-index-next, Info-follow-nearest-node)
6608 (Info-copy-current-node-name):
6609 * imenu.el (imenu--make-index-alist)
6610 (imenu-default-create-index-function, imenu-add-to-menubar):
6611 * files.el (basic-save-buffer, recover-file):
6612 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6613 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
6614 (checkdoc-message-text, checkdoc-defun):
6615 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
6616 * cus-edit.el (customize-changed-options, customize-rogue)
6617 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
6618 (custom-variable-mark-to-reset-standard)
6619 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
6620 (custom-file):
6621 * completion.el (check-completion-length):
6622 * comint.el (comint-search-arg)
6623 (comint-previous-matching-input-string-position)
6624 (comint-previous-matching-input)
6625 (comint-replace-by-expanded-history-before-point, comint-send-input)
6626 (comint-copy-old-input, comint-backward-matching-input)
6627 (comint-goto-process-mark, comint-set-process-mark):
6628 * calendar/calendar.el (calendar-cursor-to-date): Use it.
6629 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
6630
6631 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6632
6633 * dabbrev.el (dabbrev--ignore-case-p): New function.
6634 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
6635 Use it.
6636
6637 * files.el (automount-dir-prefix): Mark as obsolete.
6638
6639 2012-05-04 Glenn Morris <rgm@gnu.org>
6640
6641 * patcomp.el, play/bruce.el: Move to obsolete/.
6642
6643 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
6644
6645 Fix minor Y10k bugs.
6646 * arc-mode.el (archive-unixdate):
6647 * autoinsert.el (auto-insert-alist):
6648 * calc/calc-forms.el (math-this-year):
6649 * emacs-lisp/copyright.el (copyright-current-year)
6650 (copyright-update-year, copyright):
6651 * tar-mode.el (tar-clip-time-string):
6652 * time.el (display-time-update):
6653 Don't assume years have 4 digits.
6654
6655 2012-05-04 Chong Yidong <cyd@gnu.org>
6656
6657 * dos-w32.el (file-name-buffer-file-type-alist)
6658 (direct-print-region-use-command-dot-com):
6659 * ffap.el (ffap-menu-regexp):
6660 * find-file.el (ff-special-constructs):
6661 * follow.el (follow-debug):
6662 * forms.el (forms--debug):
6663 * iswitchb.el (iswitchb-all-frames):
6664 * ido.el (ido-all-frames):
6665 * emacs-lisp/timer.el (timer-max-repeats):
6666 * mail/feedmail.el (feedmail-mail-send-hook)
6667 (feedmail-mail-send-hook-queued):
6668 * mail/footnote.el (footnote-signature-separator):
6669 * mail/mailabbrev.el (mail-alias-separator-string)
6670 (mail-abbrev-mode-regexp):
6671 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
6672 * progmodes/idlwave.el (idlwave-libinfo-file)
6673 (idlwave-default-completion-case-is-down)
6674 (idlwave-library-routines): Convert defvars to defcustoms.
6675
6676 * mail/rmail.el (rmail-decode-mime-charset):
6677 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
6678 (idlwave-shell-fix-inserted-breaks)
6679 (idlwave-shell-activate-alt-keybindings)
6680 (idlwave-shell-use-breakpoint-glyph):
6681 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
6682
6683 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6684
6685 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
6686
6687 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
6688
6689 * progmodes/verilog-mode.el (font-lock-keywords):
6690 Fix mis-highligting auto. Reported by Craig Barner.
6691 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
6692 defines from global name space. Reported by Dan Dever.
6693 (verilog-auto-reset, verilog-auto-reset-widths)
6694 (verilog-auto-tieoff): Support using unbased numbers for
6695 AUTORESET and AUTOTIEOFF.
6696 (verilog-submit-bug-report): Update variable list.
6697 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
6698 parenthesis from not matching. Reported by Michael Rytting.
6699 (verilog-auto-template-lint): Fix hash error when linting modules
6700 with no used templates.
6701 (verilog-warn, verilog-warn-error)
6702 (verilog-warn-fatal): When non-interactive report multiple
6703 warnings before exiting. Suggested by Brad Dobbie.
6704 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
6705 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
6706 to report unused template errors. Reported by Brad Dobbie.
6707 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
6708 nets, bug438. Reported by Vns Blore.
6709 (verilog-auto-inout-module, verilog-auto-reg)
6710 (verilog-read-decls, verilog-read-sub-decls-sig)
6711 (verilog-signals-edit-wire-reg, verilog-signals-with):
6712 Fix passing of Verilog data types in ANSI input/output ports
6713 such as "output logic" into the AUTOs. Special case "wire" and
6714 "reg" for backwards compatibility presuming Verilog 2001.
6715 (verilog-auto-ascii-enum): Add "auto enum" as alias.
6716 (verilog-preprocess): Fix replication of preprocess output.
6717 Reported by Brad Dobbie.
6718 (verilog-auto-inst-interfaced-ports):
6719 Create verilog-auto-inst-interfaced-ports, bug429.
6720 Reported by Julian Gorfajn.
6721 (verilog-after-save-font-hook)
6722 (verilog-before-save-font-hook): New variable.
6723 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
6724 (verilog-save-font-mods): Wrap disabling fontification, reported
6725 by David Rogoff.
6726 (verilog-do-indent, verilog-pretty-declarations-auto)
6727 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
6728 Reported by Pierre-David Pfister.
6729 (verilog-set-auto-endcomments): Fix endtask auto comments outside
6730 of class declarations, bug292. Reported by Kevin Heilman.
6731 (verilog-read-decls): Fix 'parameter type' not appearing in
6732 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
6733 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
6734 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
6735 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
6736 Reported by David Kravitz.
6737
6738 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
6739
6740 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
6741 assignment with tests in ifs and for loops.
6742 (verilog-extended-complete-re, verilog-complete-reg): Change so
6743 that DPI inport functions don't look like fuction declarations.
6744 (verilog-pretty-expr): Don't line up assignment
6745 operations to the test and increment in if and for loops
6746 (verilog-extended-complete-re, verilog-complete-reg): Change so
6747 that DPI inport functions don't look like fuction declarations.
6748
6749 2012-05-03 Kenichi Handa <handa@m17n.org>
6750
6751 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
6752 decoding, and show a warning message without signaling an error
6753 (Bug#11282).
6754
6755 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6756
6757 * emacs-lisp/bytecomp.el
6758 (byte-compile-file-form-custom-declare-variable): Compile all elements,
6759 since cconv.el might have introduced :fun-body, internal-make-closure,
6760 and friends for bytecomp to handle (bug#11391).
6761 * custom.el (defcustom): Avoid ((λ ..) ..).
6762
6763 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
6764
6765 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
6766
6767 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
6768
6769 * notifications.el (dbus-debug):
6770 * term/linux.el (gpm-mouse-enable):
6771 * term/screen.el (xterm-register-default-colors): Declare.
6772
6773 2012-05-02 Chong Yidong <cyd@gnu.org>
6774
6775 * cus-start.el (gc-cons-percentage, exec-suffixes)
6776 (dos-display-scancodes, dos-hyper-key, dos-super-key)
6777 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
6778 (make-cursor-line-fully-visible, void-text-area-pointer)
6779 (font-list-limit): Add customization data.
6780
6781 * allout.el (allout-exposure-change-functions)
6782 (allout-structure-added-functions)
6783 (allout-structure-deleted-functions)
6784 (allout-structure-shifted-functions): Rename abnormal hooks from
6785 *-hook, and convert to defcustoms.
6786 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
6787 Convert to defcustoms.
6788 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
6789
6790 * allout-widgets.el: Hook callers changed.
6791
6792 2012-05-02 Eli Zaretskii <eliz@gnu.org>
6793
6794 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
6795 the yanked message in preference to the default value of
6796 buffer-file-coding-system.
6797
6798 2012-05-02 Martin Rudalics <rudalics@gmx.at>
6799
6800 * window.el (display-buffer--action-function-custom-type):
6801 Fix entry.
6802
6803 2012-05-02 Alan Mackenzie <acm@muc.de>
6804
6805 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
6806
6807 2012-05-01 Glenn Morris <rgm@gnu.org>
6808
6809 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
6810
6811 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
6812
6813 * cus-edit.el (custom-variable-documentation): Simplify with format.
6814
6815 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6816 Stefan Monnier <monnier@iro.umontreal.ca>
6817
6818 * simple.el (suggest-key-bindings, execute-extended-command):
6819 Move from keyboard.c.
6820
6821 2012-05-01 Chong Yidong <cyd@gnu.org>
6822
6823 * follow.el: Eliminate advice.
6824 (set-process-filter, process-filter, sit-for): Advice deleted.
6825 (follow-mode-off-hook): Obsolete hook removed.
6826 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
6827 Vars deleted.
6828 (follow-auto): Use a :set function.
6829 (follow-mode): Rewritten. Don't advise process filters.
6830 (follow-switch-to-current-buffer-all, follow-scroll-up)
6831 (follow-scroll-down): Assume follow-mode is bound.
6832 (follow-comint-scroll-to-bottom)
6833 (follow-align-compilation-windows): New functions.
6834 (follow--window-sorter): New function.
6835 (follow-all-followers): Use it to explicitly sort windows by their
6836 positions; don't make assumptions about next-window order.
6837 (follow-windows-start-end, follow-delete-other-windows-and-split)
6838 (follow-calc-win-start): Doc fix.
6839 (follow-windows-aligned-p, follow-select-if-visible): Don't call
6840 vertical-motion unnecessarily.
6841 (follow-adjust-window): New function.
6842 (follow-post-command-hook): Use it.
6843 (follow-call-set-process-filter, follow-call-process-filter)
6844 (follow-intercept-process-output, follow-tidy-process-filter-alist)
6845 (follow-stop-intercept-process-output, follow-generic-filter):
6846 Functions deleted.
6847 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
6848 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
6849 New functions, replacing advice on scroll-bar-* commands.
6850 (follow-mwheel-scroll): New function (Bug#4112).
6851
6852 * comint.el (comint-adjust-point): New function.
6853 (comint-postoutput-scroll-to-bottom): Use it.
6854 Call follow-comint-scroll-to-bottom for Follow mode buffers.
6855
6856 2012-05-01 Glenn Morris <rgm@gnu.org>
6857
6858 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
6859 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
6860 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
6861 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
6862 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
6863 Remove no-byte-compile setting.
6864
6865 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
6866
6867 * minibuffer.el (completion-table-with-quoting): Fix compatibility
6868 all-completions code to not return a number in the last cdr.
6869
6870 2012-04-30 Leo Liu <sdl.web@gmail.com>
6871
6872 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
6873 read-only error.
6874
6875 2012-04-29 Chong Yidong <cyd@gnu.org>
6876
6877 * follow.el (follow-calc-win-end): Rewrite to handle partial
6878 screen lines correctly (Bug#8390).
6879 (follow-avoid-tail-recenter): Minor cleanup.
6880
6881 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6882
6883 Avoid the obsolete `assoc' package.
6884 * speedbar.el (speedbar-refresh): Avoid adelete.
6885 (speedbar-file-lists): Simplify and avoid aput.
6886 * man.el (Man--sections, Man--refpages): New vars, replacing
6887 Man-sections-alist and Man-refpages-alist.
6888 (Man-build-section-alist, Man-build-references-alist):
6889 Use them; avoid aput.
6890 (Man--last-section, Man--last-refpage): New vars.
6891 (Man-follow-manual-reference): Use them.
6892 Use the `default' arg of completing-read.
6893 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
6894
6895 2012-04-27 Chong Yidong <cyd@gnu.org>
6896
6897 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
6898
6899 * startup.el (x-apply-session-resources): New function.
6900
6901 * term/ns-win.el (ns-initialize-window-system):
6902 * term/w32-win.el (w32-initialize-window-system):
6903 * term/x-win.el (x-initialize-window-system): Use it to properly
6904 set menu-bar-mode and other vars from X resources, even if the
6905 initial frame is not a window-system frame (Bug#2299).
6906
6907 * subr.el (read-key): Avoid running filter function when setting
6908 up temporary tool bar entries (Bug#9922).
6909
6910 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
6911
6912 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
6913 (Bug#11344)
6914
6915 2012-04-27 Chong Yidong <cyd@gnu.org>
6916
6917 * select.el (xselect--encode-string): New function, split from
6918 xselect-convert-to-string.
6919 (xselect-convert-to-string): Use it.
6920 (xselect-convert-to-filename, xselect-convert-to-os)
6921 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
6922 returned strings are properly encoded (Bug#11315).
6923
6924 2012-04-27 Chong Yidong <cyd@gnu.org>
6925
6926 * simple.el (delete-active-region): Move to killing custom group.
6927
6928 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
6929
6930 * progmodes/which-func.el (which-func-current): Quote %
6931 characters for mode-line processing.
6932
6933 2012-04-27 Chong Yidong <cyd@gnu.org>
6934
6935 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
6936 reaching eob (Bug#11286).
6937
6938 2012-04-27 Eli Zaretskii <eliz@gnu.org>
6939
6940 * progmodes/gdb-mi.el (gdb-control-level): New variable.
6941 (gdb): Make it buffer-local and init to zero.
6942 (gdb-control-commands-regexp): New variable.
6943 (gdb-send): Don't wrap in "-interpreter-exec console" if
6944 gdb-control-level is positive. Increment gdb-control-level
6945 whenever the command matches gdb-control-commands-regexp, and
6946 decrement it each time the command is "end". (Bug#11279)
6947
6948 2012-04-27 Martin Rudalics <rudalics@gmx.at>
6949
6950 * window.el (adjust-window-trailing-edge, enlarge-window)
6951 (shrink-window, window-resize):
6952 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
6953 windows (Bug#11276).
6954
6955 2012-04-27 Chong Yidong <cyd@gnu.org>
6956
6957 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
6958 fix "missing prefix" warning. All callers changed.
6959
6960 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6961
6962 * emacs-lisp/assoc.el: Move to obsolete/.
6963
6964 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6965
6966 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
6967
6968 * term/ns-win.el (ns-define-service):
6969 * progmodes/pascal.el (pascal-goto-defun):
6970 * progmodes/js.el (js--read-tab):
6971 * progmodes/etags.el (tags-lazy-completion-table):
6972 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
6973 * emacs-lisp/ewoc.el (ewoc--wrap):
6974 * emacs-lisp/assoc.el (aput, adelete, amake):
6975 * doc-view.el (doc-view-convert-current-doc):
6976 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
6977
6978 2012-04-26 Chong Yidong <cyd@gnu.org>
6979
6980 * image.el (image-type-from-buffer): Only return supported image
6981 type (Bug#9045).
6982
6983 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
6984 value, for symmetry with diff-end-of-hunk.
6985 (diff-split-hunk, diff-find-source-location)
6986 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
6987 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
6988 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
6989 compute the relevant hunk or file properly (Bug#6005).
6990 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
6991
6992 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6993
6994 * vc/vc-mtn.el:
6995 * vc/vc-hg.el:
6996 * vc/vc-git.el:
6997 * vc/vc-dir.el:
6998 * vc/vc-cvs.el:
6999 * vc/vc-bzr.el:
7000 * vc/vc-arch.el:
7001 * vc/vc.el: Replace lexical-let by lexical-binding.
7002 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7003 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7004 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7005
7006 2012-04-26 Chong Yidong <cyd@gnu.org>
7007
7008 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7009 (diff-mode-shared-map): Bind it to / and [remap undo].
7010
7011 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7012 (ediff-window-setup-function): Use it as the default, to set up
7013 windows based on whether the current frame is graphical (Bug#2138).
7014 (ediff-choose-window-setup-function-automatically): Make obsolete.
7015
7016 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7017
7018 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7019
7020 * ffap.el: Remove old code for obsolete package.
7021 (ffap-complete-as-file-p): Remove.
7022
7023 Use completion-table-with-quoting for comint and pcomplete.
7024 * comint.el (comint--unquote&requote-argument)
7025 (comint--unquote-argument, comint--requote-argument): New functions.
7026 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7027 (comint-quote-filename): Use regexp-opt-charset.
7028 (comint--common-suffix, comint--common-quoted-suffix)
7029 (comint--table-subvert): Remove.
7030 (comint-unquote-function, comint-requote-function): New vars.
7031 (comint--complete-file-name-data): Use them with
7032 completion-table-with-quoting.
7033 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7034 * pcomplete.el (pcomplete-arg-quote-list)
7035 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7036 (pcomplete-unquote-argument-function): Default to non-nil.
7037 (pcomplete-unquote-argument): Simplify.
7038 (pcomplete--common-quoted-suffix): Remove.
7039 (pcomplete-requote-argument-function): New var.
7040 (pcomplete--common-suffix): New function.
7041 (pcomplete-completions-at-point): Use completion-table-with-quoting
7042 and completion-table-subvert.
7043
7044 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7045 (minibuffer--double-dollars): Preserve properties.
7046 (completion--sifn-requote): New function.
7047 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7048
7049 * minibuffer.el: Add support for completion of quoted/escaped data.
7050 (completion-table-with-quoting, completion-table-subvert): New funs.
7051 (completion--twq-try, completion--twq-all): New functions.
7052 (completion--nth-completion): New function.
7053 (completion-try-completion, completion-all-completions): Use it.
7054
7055 2012-04-25 Leo Liu <sdl.web@gmail.com>
7056
7057 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7058 Use compilation-message if available to find real filename.
7059
7060 2012-04-25 Chong Yidong <cyd@gnu.org>
7061
7062 * vc/diff-mode.el (diff-setup-whitespace): New function.
7063 (diff-mode): Use it.
7064
7065 * vc/diff.el (diff-sentinel):
7066 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7067 Whitespace mode variables based on diff style (Bug#8612).
7068
7069 2012-04-25 Leo Liu <sdl.web@gmail.com>
7070
7071 * progmodes/python.el (python-send-region): Add suffix .py to the
7072 temp file.
7073
7074 * files.el (auto-mode-alist): Use javascript-mode instead.
7075
7076 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7077
7078 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
7079
7080 * net/soap-client.el (soap-resolve-references-for-sequence-type)
7081 (soap-resolve-references-for-array-type): Hack to prevent self
7082 references, see Bug#9.
7083 (soap-parse-envelope): Report the contents of the 'detail' node
7084 when receiving a fault reply.
7085 (soap-parse-envelope): Report the contents of the entire 'detail' node.
7086
7087 * net/soap-inspect.el (soap-sample-value-for-simple-type)
7088 (soap-inspect-simple-type): New function.
7089
7090 * net/soap-client.el (soap-simple-type): New struct.
7091 (soap-default-xsd-types, soap-default-soapenc-types)
7092 (soap-decode-basic-type, soap-encode-basic-type):
7093 support unsignedInt and double basic types.
7094 (soap-resolve-references-for-simple-type)
7095 (soap-parse-simple-type, soap-encode-simple-type): New function.
7096 (soap-parse-schema): Parse xsd:simpleType declarations.
7097
7098 * net/soap-client.el (soap-default-xsd-types)
7099 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7100 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7101 the local name of "soapenc:Array".
7102 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
7103 decoding integer, byte and anyURI xsd types.
7104
7105 2012-04-25 Chong Yidong <cyd@gnu.org>
7106
7107 * cus-edit.el (custom-buffer-create-internal): Update header text.
7108
7109 2012-04-25 Eli Zaretskii <eliz@gnu.org>
7110
7111 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7112 settings on 'system-type', not on 'window-system'. On MS-Windows,
7113 set interactive-mode on in GDB.
7114
7115 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7116
7117 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7118 (ruby-syntax-propertize-regexp): Remove.
7119 (ruby-syntax-propertize-function): Split regexp into chunks.
7120 Match following code directly.
7121
7122 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7123
7124 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7125 (ruby-syntax-propertize-regexp): New function.
7126 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7127 by a special keyword.
7128
7129 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7130 (ruby-syntax-general-delimiters-goto-beg)
7131 (ruby-syntax-propertize-general-delimiters): New functions.
7132 (ruby-syntax-propertize-function): Use them to handle GDL.
7133 (ruby-font-lock-keywords): Move old handling of GDL...
7134 (ruby-font-lock-syntactic-keywords): .. to here.
7135 (ruby-calculate-indent): Adjust indentation for GDL.
7136
7137 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
7138
7139 * notifications.el (top): Remove unneeded declarations.
7140 (notifications-specification-version): Change to "1.2".
7141 (notifications-interface, notifications-notify-method)
7142 (notifications-close-notification-method): Fix docstring.
7143 (notifications-get-capabilities-method): New defconst.
7144 (notifications-notify): Add :action-items, :resident and
7145 :transient hints. Change "image_data" to "image-data" and
7146 "image_path" to "image-path".
7147 (notifications-get-capabilities): New defun.
7148
7149 2012-04-24 Leo Liu <sdl.web@gmail.com>
7150
7151 * progmodes/python.el: Move hideshow setup to the end.
7152
7153 2012-04-24 Martin Rudalics <rudalics@gmx.at>
7154
7155 * window.el (handle-select-window): Clear echo area since this is
7156 no more done by read_char (Bug#11304).
7157
7158 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7159
7160 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7161 and `/ M' to filter-derived-mode.
7162 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7163 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7164 (ibuffer-mark-by-mode): Use default rather than initial-input.
7165 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7166
7167 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7168
7169 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7170 (ibuffer-filter-by-derived-mode): New filter.
7171 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7172
7173 2012-04-23 Andreas Politz <politza@fh-trier.de>
7174
7175 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7176
7177 2012-04-23 Chong Yidong <cyd@gnu.org>
7178
7179 * cus-edit.el (customize-apropos, customize-apropos-options):
7180 Disable matching of non-option variables (Bug#11176).
7181 (customize-option, customize-option-other-window)
7182 (customize-changed-options): Doc fix.
7183 (customize-apropos-options, customize-apropos-faces)
7184 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7185
7186 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
7187 Fix word list splitting (Bug#11132).
7188 (apropos-symbol, apropos-keybinding, apropos-label)
7189 (apropos-property, apropos-function-button)
7190 (apropos-variable-button, apropos-misc-button): New faces.
7191 (apropos-symbol-face, apropos-keybinding-face)
7192 (apropos-label-face, apropos-property-face, apropos-match-face):
7193 Variables removed (Bug#8396).
7194 (apropos-library-button, apropos-format-plist, apropos-print)
7195 (apropos-print-doc, apropos-describe-plist): Callers changed.
7196
7197 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
7198
7199 * net/xesam.el (xesam-mode-map): Use let-bound map in
7200 initialization. (Bug#11292)
7201
7202 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7203
7204 Preserve ispell session localwords when switching back to
7205 original buffer.
7206
7207 * textmodes/ispell.el (ispell-buffer-session-localwords):
7208 New buffer-local variable to hold buffer session localwords.
7209 (ispell-kill-ispell): Add option 'clear to delete session
7210 localwords.
7211 (ispell-command-loop, ispell-change-dictionary)
7212 (ispell-buffer-local-words): Preserve session localwords when
7213 needed.
7214
7215 * textmodes/flyspell.el (flyspell-process-localwords)
7216 (flyspell-do-correct): Preserve session localwords when needed.
7217
7218 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7219
7220 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7221 using obsolete `translation-table-for-input'.
7222 (ispell-word, ispell-process-line, ispell-complete-word):
7223 Use plain `insert' instead of removed `ispell-insert-word'.
7224
7225 2012-04-22 Chong Yidong <cyd@gnu.org>
7226
7227 * cus-edit.el (custom-variable-menu)
7228 (custom-variable-reset-saved, custom-face-menu)
7229 (custom-face-reset-saved): If there is no saved value, make the
7230 "reset-saved" operation bring back the default (Bug#9509).
7231 (custom-face-state): Properly detect themed faces.
7232
7233 * faces.el (face-spec-set): Stop supporting deprecated form of
7234 third arg.
7235
7236 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
7237
7238 Move functions from C to Lisp. Make non-blocking method calls
7239 the default. Implement further D-Bus standard interfaces.
7240
7241 * net/dbus.el (dbus-message-internal): Declare function.
7242 Remove unneeded function declarations.
7243 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7244 (dbus-message-type-method-return, dbus-message-type-error)
7245 (dbus-message-type-signal): Declare variables. Remove local
7246 definitions.
7247 (dbus-interface-dbus, dbus-interface-peer)
7248 (dbus-interface-introspectable, dbus-interface-properties)
7249 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7250 Adapt docstring.
7251 (dbus-interface-objectmanager): New defconst.
7252 (dbus-call-method, dbus-call-method-asynchronously)
7253 (dbus-send-signal, dbus-method-return-internal)
7254 (dbus-method-error-internal, dbus-register-service)
7255 (dbus-register-signal, dbus-register-method): New defuns, moved
7256 from dbusbind.c
7257 (dbus-call-method-handler, dbus-setenv)
7258 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7259 New defuns.
7260 (dbus-call-method-non-blocking): Make it an obsolete function.
7261 (dbus-unregister-object, dbus-unregister-service)
7262 (dbus-handle-event, dbus-register-property)
7263 (dbus-property-handler): Obey the new structure of
7264 `bus-registered-objects'.
7265 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7266 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7267 Use `dbus-call-method'.
7268
7269 2012-04-22 Chong Yidong <cyd@gnu.org>
7270
7271 * cus-edit.el (custom-commands, custom-reset-menu)
7272 (Custom-reset-standard): Tweak labels.
7273 (custom-reset-button-menu): Change default to t.
7274 (custom-buffer-create-internal): For the custom-reset-button-menu
7275 case, put the revert button first.
7276 (custom-group-subtitle): New face.
7277 (custom-group-value-create): Align docstring to a specific column.
7278
7279 * wid-edit.el (widget-documentation-link-add): Don't handle
7280 indentation in this function.
7281 (widget-documentation-string-indent-to): New function.
7282 (widget-documentation-string-value-create): Use it.
7283
7284 * autorevert.el (auto-revert):
7285 * epg-config.el (epg):
7286 * ibuffer.el (ibuffer):
7287 * mpc.el (mpc):
7288 * ses.el (ses):
7289 * eshell/eshell.el (eshell):
7290 * net/ange-ftp.el (ange-ftp):
7291 * progmodes/ebnf2ps.el (postscript):
7292 * progmodes/flymake.el (flymake):
7293 * progmodes/prolog.el (prolog):
7294 * progmodes/verilog-mode.el (verilog-mode):
7295 * progmodes/which-func.el (which-func):
7296 * term/xterm.el (xterm):
7297 * textmodes/picture.el (picture):
7298 * textmodes/tildify.el (tildify):
7299 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7300 customization buffers.
7301
7302 2012-04-22 Alan Mackenzie <acm@muc.de>
7303
7304 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7305 Adding a ) can hide the resulting (..) from searches. Fix it.
7306 Bound the backward search to the position of the existing (.
7307
7308 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
7309
7310 * progmodes/verilog-mode.el (verilog-mode): Check whether
7311 which-func-modes is t before adding verilog-mode.
7312 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7313
7314 2012-04-21 Leo Liu <sdl.web@gmail.com>
7315
7316 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
7317
7318 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7319
7320 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7321 filling of the last column of a table (Bug#5635).
7322 (woman-find-next-control-line): New arg, specifying an additional
7323 regexp component for the control line.
7324 (woman2-roff-buffer): Use it.
7325 (woman-break-table): New function.
7326 (woman2-TS): Use it.
7327
7328 2012-04-21 Chong Yidong <cyd@gnu.org>
7329
7330 * woman.el (woman-set-buffer-display-table, woman-decode-region)
7331 (woman-horizontal-escapes, woman-negative-vertical-space)
7332 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7333 (WoMan-warn-ignored): Use ?\s instead of ?\ .
7334
7335 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7336
7337 * minibuffer.el (completion-file-name-table): Complete user names.
7338
7339 2012-04-20 Leo Liu <sdl.web@gmail.com>
7340
7341 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7342 and pcase-let*.
7343
7344 2012-04-20 Chong Yidong <cyd@gnu.org>
7345
7346 * server.el (server-execute): Respect initial-buffer-choice if it
7347 is a string and there are no files to open (Bug#2825).
7348 (server-create-window-system-frame, server-create-tty-frame):
7349 Don't switch buffers here.
7350 (server-process-filter): Only try to open a window system frame if
7351 compiled with graphical support (Bug#8314).
7352
7353 2012-04-20 Dan Nicolaescu <dann@gnu.org>
7354
7355 * battery.el (battery-echo-area-format): Display remaining time
7356 for sysfs backend too (Bug#11269).
7357 (battery-linux-sysfs): Fix conditional for the charge.
7358
7359 2012-04-20 Chong Yidong <cyd@gnu.org>
7360
7361 * progmodes/gdb-mi.el (gdb): Revert previous change.
7362 (gdb-inferior-io--init-proc): New function.
7363 (gdb-init-1): Use it.
7364 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7365 responsible for allocating a new pty and hooking it to gdb when
7366 the old pty gets an EIO due to process exit.
7367 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
7368 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7369 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7370
7371 2012-04-20 Eli Zaretskii <eliz@gnu.org>
7372
7373 * window.el (window-min-size, window-sizable, window-min-delta)
7374 (window-max-delta, window--resizable, window-resizable)
7375 (window-total-size, window-full-height-p, window-full-width-p)
7376 (window-in-direction, window--resize-mini-window, window-resize)
7377 (window--resize-child-windows-normal)
7378 (window--resize-child-windows, window--resize-siblings)
7379 (window--resize-this-window, adjust-window-trailing-edge)
7380 (enlarge-window, shrink-window): Doc fixes.
7381
7382 2012-04-20 Chong Yidong <cyd@gnu.org>
7383
7384 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7385 New function to call delete-process on the gdb-inferior buffer's pty.
7386 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7387 pty process (Bug#11273).
7388 (gdb-update): New arg to suppress talking to the gdb process.
7389 (gdb-done-or-error): Use it.
7390 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7391 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7392 sentinel not being called.
7393
7394 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7395
7396 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7397
7398 2012-04-20 Glenn Morris <rgm@gnu.org>
7399
7400 * net/network-stream.el (open-network-stream): Doc fix.
7401
7402 2012-04-20 Chong Yidong <cyd@gnu.org>
7403
7404 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7405
7406 2012-04-20 Alan Mackenzie <acm@muc.de>
7407
7408 Ensure searching for keywords is case sensitive.
7409
7410 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
7411 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
7412 (c-defun-name, c-mark-function, c-cpp-define-name)
7413 (c-comment-indent, c-scan-conditionals, c-indent-defun)
7414 (c-context-line-break): Bind case-fold-search to nil.
7415
7416 * progmodes/cc-mode.el (c-font-lock-fontify-region):
7417 Bind case-fold-search to nil.
7418
7419 2012-04-20 Chong Yidong <cyd@gnu.org>
7420
7421 * mail/sendmail.el (mail-bury): Call return action with the right
7422 Rmail buffer (Bug#11242).
7423
7424 * server.el (server-process-filter): Handle corner case where both
7425 tty and nowait options are present (Bug#11102).
7426
7427 2012-04-20 Eli Zaretskii <eliz@gnu.org>
7428
7429 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
7430 (top level): Put into the executable the ident-style '$Id:' tag on
7431 windows-nt as well.
7432
7433 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7434
7435 * electric.el (electric-indent-post-self-insert-function): Check that
7436 electric-indent-mode is enabled in current buffer.
7437
7438 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
7439
7440 * imenu.el (imenu-progress-message): Restore; it is "used" in
7441 erc/erc-imenu.el and net/snmp-mode.el.
7442
7443 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
7444
7445 * avoid.el (mouse-avoidance-mode): Mark unused arg.
7446 (mouse-avoidance-nudge-mouse): Remove unused binding.
7447
7448 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
7449
7450 * descr-text.el (describe-char):
7451 * progmodes/python.el (python-describe-symbol):
7452 Don't call `toggle-read-only', set `buffer-read-only'.
7453
7454 * imenu.el (imenu-default-goto-function): Mark unused args.
7455 (imenu-progress-message): Remove obsolete macro; all callers changed.
7456
7457 * subr.el (keymap-canonicalize): Remove unused binding.
7458 (read-passwd): Mark unused arg.
7459
7460 * tutorial.el (tutorial--display-changes): Remove unused binding.
7461 (tutorial--save-tutorial-to): Remove unused variable.
7462
7463 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7464 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7465 (package-generate-autoloads, package-menu--generate)
7466 (package-menu--find-upgrades): Remove unused bindings.
7467
7468 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7469 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
7470 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7471 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7472 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7473 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7474 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7475 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7476 (cua-delete-char-rectangle): Mark unused args.
7477 (cua-align-rectangle): Remove unused binding.
7478
7479 * mail/rmail.el (compilation--message->loc)
7480 (epa--find-coding-system-for-mime-charset): Declare.
7481
7482 * net/dbus.el (dbus-register-service): Declare.
7483 (dbus-name-owner-changed-handler): Remove unused binding.
7484
7485 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7486 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7487 (nxml-scan-backward-within): Mark unused arg.
7488 (nxml-dynamic-markup-word): Remove unused binding.
7489
7490 * mouse.el (mouse-menu-major-mode-map):
7491 * emacs-lisp/authors.el (authors-scan-change-log)
7492 (authors-add-to-author-list):
7493 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7494 * emacs-lisp/smie.el (smie-auto-fill):
7495 * mail/sendmail.el (mail-bury):
7496 * mail/unrmail.el (unrmail):
7497 * net/tls.el (open-tls-stream):
7498 * textmodes/picture.el (picture-mouse-set-point):
7499 Remove unused bindings.
7500
7501 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
7502
7503 * net/tramp.el (tramp-action-password): Let-bind
7504 `enable-recursive-minibuffers' to t.
7505
7506 2012-04-18 Sam Steingold <sds@gnu.org>
7507
7508 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7509 instead of 'string to accommodate values like [f11].
7510 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7511 * progmodes/gdb-mi.el: Likewise.
7512
7513 2012-04-18 Leo Liu <sdl.web@gmail.com>
7514
7515 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7516 current buffer.
7517 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7518 LOCAL is nil.
7519
7520 2012-04-18 Chong Yidong <cyd@gnu.org>
7521
7522 * simple.el (line-move): Use forward-line if in batch mode
7523 (Bug#11053).
7524
7525 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
7526
7527 * files.el (after-find-file): Do not try to add a final newline if
7528 the buffer is read-only (Bug#11156).
7529
7530 2012-04-17 Richard Stallman <rms@gnu.org>
7531
7532 * mail/rmail.el (rmail-start-mail):
7533 Pass (rmail-mail-return...) for the return-action.
7534 Pass (rmail-yank-current-message...) for the yank-action.
7535 (rmail-yank-current-message): New function.
7536 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7537 (rmail-reply): Likewise.
7538 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7539
7540 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
7541 buffer, not the last. Reject temp buffers. Use the rmail-mode
7542 buffer, not newbuf.
7543
7544 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
7545
7546 * server.el (server-ensure-safe-dir): Simplify.
7547
7548 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7549
7550 * emacs-lisp/smie.el: Provide smarter auto-filling.
7551 (smie-auto-fill): New function.
7552 (smie-setup): Use it.
7553
7554 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7555
7556 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
7557
7558 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7559 (comment-indent): Use it.
7560
7561 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
7562
7563 * ses.el: The overall change is to add cell renaming, that is
7564 setting fancy names for cell symbols other than name matching
7565 "\\`[A-Z]+[0-9]+\\'" regexp .
7566 (ses-localvars): Add ses--renamed-cell-symb-list.
7567 (ses-create-cell-variable): New defun.
7568 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
7569 (ses-relocate-formula): Relocate formulas only for cells the
7570 symbols of which are not renamed, i.e. symbols whose names do not
7571 match regexp "\\`[A-Z]+[0-9]+\\'".
7572 (ses-relocate-all): Relocate values only for cells the symbols of
7573 which are not renamed.
7574 (ses-load): Create cells variables as the (ses-cell ...) are read,
7575 in order to check row col consistency with cell symbol name only
7576 for cells that are not renamed.
7577 (ses-replace-name-in-formula): New defun.
7578 (ses-rename-cell): New defun.
7579
7580 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
7581
7582 * progmodes/perl-mode.el (perl-indent-parens-as-block):
7583 New option (bug#11118).
7584 (perl-calculate-indent): Respect it.
7585
7586 2012-04-17 Glenn Morris <rgm@gnu.org>
7587
7588 * dired-aux.el (dired-mark-read-string): Doc fix.
7589
7590 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
7591
7592 * dired-aux.el (dired-mark-read-string): Offer optional completion.
7593 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
7594
7595 2012-04-17 Glenn Morris <rgm@gnu.org>
7596
7597 * mouse.el (mouse-drag-track):
7598 * speedbar.el (speedbar-frame-mode):
7599 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
7600
7601 2012-04-16 Leo Liu <sdl.web@gmail.com>
7602
7603 * progmodes/python.el: Trivial cleanup.
7604
7605 2012-04-16 Glenn Morris <rgm@gnu.org>
7606
7607 * vc/vc.el (vc-string-prefix-p):
7608 * vc/pcvs-util.el (cvs-string-prefix-p):
7609 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
7610 * mpc.el (mpc-string-prefix-p):
7611 Make all of these into obsolete aliases for string-prefix-p.
7612 Update callers.
7613 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
7614
7615 * textmodes/two-column.el: Move custom options to the start.
7616 (frame-width): Remove compat definition.
7617 (2C-associate-buffer, 2C-dissociate):
7618 Use with-current-buffer rather than save-excursion.
7619 (2C-dissociate): Force a mode-line update.
7620 (2C-autoscroll): Use ignore-errors.
7621
7622 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
7623 Autoload trivia.
7624
7625 * emacs-lisp/cl-extra.el (*random-state*):
7626 Remove unnecessary declaration.
7627
7628 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
7629
7630 * play/cookie1.el (cookie-snarf):
7631 Give an explicit error if input file cannot be read.
7632
7633 * play/yow.el (yow-file): Use expand-file-name rather than concat.
7634
7635 * progmodes/perl-mode.el (c-macro-expand):
7636 Remove unnecessary autoload (it is in loaddefs.el).
7637
7638 * textmodes/picture.el (picture-desired-column)
7639 (picture-update-desired-column): Convert comments to doc-strings.
7640 (picture-substitute): Remove function.
7641 (picture-mode-map): Initialize in the defvar.
7642
7643 * woman.el: Remove eval-after-load for tar-mode.
7644 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
7645 (woman-tar-extract-file): Autoload it.
7646
7647 * frame.el (automatic-hscrolling): Make this alias obsolete.
7648
7649 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7650
7651 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
7652 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
7653 (ispell-dictionary-base-alist): Revert to original XEmacs
7654 friendly version for default. [:alpha:] will be added in
7655 `ispell-set-spellchecker-params' if needed.
7656
7657 2012-04-16 Chong Yidong <cyd@gnu.org>
7658
7659 * image.el (imagemagick--file-regexp): New variable.
7660 (imagemagick-register-types): Use it.
7661 (imagemagick-types-inhibit): Add :set function. Allow new value
7662 of t to inhibit all types.
7663
7664 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
7665 so we can preload it.
7666
7667 * loadup.el (fboundp): Preload regexp-opt, needed by
7668 imagemagick-register-types.
7669
7670 2012-04-15 Chong Yidong <cyd@gnu.org>
7671
7672 * frame.el (scrolling): Remove nearly unused customization group.
7673
7674 * scroll-all.el (scroll-all-mode): Move to windows group.
7675
7676 2012-04-15 Chong Yidong <cyd@gnu.org>
7677
7678 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
7679
7680 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7681
7682 Avoid the use of ((lambda ...) ...) in lexical-binding code.
7683 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
7684
7685 2012-04-15 Glenn Morris <rgm@gnu.org>
7686
7687 * simple.el (process-file-side-effects): Doc fix.
7688
7689 2012-04-15 Glenn Morris <rgm@gnu.org>
7690
7691 * international/mule-cmds.el (set-language-environment): Doc fix.
7692
7693 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
7694
7695 * server.el (server-auth-key, server-generate-key): Doc fixes.
7696 (server-get-auth-key): Doc fix. Use `string-match-p'.
7697 (server-start): Reflow docstring.
7698
7699 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
7700
7701 * server.el (server-generate-key): `called-interactively-p'
7702 requires a parameter.
7703
7704 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
7705
7706 * server.el (server-auth-key): New variable.
7707 (server-generate-key, server-get-auth-key): New function.
7708 (server-start): Use the new variable and functions to allow
7709 setting a permanent server key (bug#9423).
7710
7711 2012-04-14 Leo Liu <sdl.web@gmail.com>
7712
7713 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
7714
7715 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
7716
7717 Spelling fixes.
7718 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
7719 Emacs uses American spelling.
7720
7721 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
7722
7723 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
7724 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
7725 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
7726 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
7727
7728 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7729
7730 * progmodes/which-func.el (which-func-modes): Change default.
7731
7732 2012-04-14 Kim F. Storm <storm@cua.dk>
7733
7734 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
7735 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
7736
7737 2012-04-14 Chong Yidong <cyd@gnu.org>
7738
7739 * custom.el (custom-theme-set-variables): Doc fix.
7740
7741 2012-04-14 Glenn Morris <rgm@gnu.org>
7742
7743 * international/mule.el (set-auto-coding-for-load): Doc fix.
7744
7745 2012-04-14 Alan Mackenzie <acm@muc.de>
7746
7747 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
7748 imenu work again for Objective C Mode. Correct the *-index values,
7749 these having been disturbed by a previous change in 2011-08.
7750
7751 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
7752 Correct two search limits.
7753
7754 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7755
7756 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
7757
7758 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
7759
7760 * international/characters.el: Fix sorting.
7761
7762 2012-04-14 Eli Zaretskii <eliz@gnu.org>
7763
7764 * international/characters.el: Add more missing Latin case pairs.
7765
7766 2012-04-14 Glenn Morris <rgm@gnu.org>
7767
7768 * files.el (dir-locals-set-class-variables): Doc fix.
7769
7770 2012-04-14 Eli Zaretskii <eliz@gnu.org>
7771
7772 * international/characters.el: Add set-case-syntax-pair call for
7773 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
7774 counterpart. (Bug#11209)
7775
7776 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
7777
7778 2012-04-14 Glenn Morris <rgm@gnu.org>
7779
7780 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7781
7782 2012-04-14 Eli Zaretskii <eliz@gnu.org>
7783
7784 * textmodes/ispell.el (ispell-dictionary-base-alist):
7785 Add data for Hebrew.
7786
7787 2012-04-14 Chong Yidong <cyd@gnu.org>
7788
7789 * net/rcirc.el (rcirc-cmd-quit):
7790 Revert 2012-03-18 change (Bug#11192).
7791
7792 2012-04-14 Glenn Morris <rgm@gnu.org>
7793
7794 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
7795
7796 2012-04-14 Eli Zaretskii <eliz@gnu.org>
7797
7798 * minibuffer.el (completion-in-region-mode-map):
7799 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
7800
7801 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
7802
7803 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
7804
7805 2012-04-13 Masatake YAMATO <yamato@redhat.com>
7806
7807 * minibuffer.el (minibuffer-local-filename-syntax): New variable
7808 to allow `C-M-f' and `C-M-b' to move to the nearest path
7809 separator (bug#9511).
7810
7811 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
7812
7813 * avoid.el: Require cl when compiling. And also move the
7814 `provide' to the end.
7815
7816 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7817
7818 * avoid.el (mouse-avoidance-banish-position): New variable.
7819 (mouse-avoidance-banish-destination): Use it (bug#10165).
7820
7821 2012-04-13 Leo Liu <sdl.web@gmail.com>
7822
7823 * progmodes/which-func.el (which-func-modes): Add objc-mode.
7824
7825 2012-04-13 Ken Brown <kbrown@cornell.edu>
7826
7827 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
7828 this is no longer needed now that cygstart understands file:// URLs.
7829 (browse-url-filename-alist): For the same reason, don't modify
7830 file:// URLs on Cygwin.
7831
7832 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
7833
7834 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
7835 the region on shift if the binding is already shifted (bug#11221).
7836
7837 2012-04-12 Glenn Morris <rgm@gnu.org>
7838
7839 * mail/mailpost.el: Move to obsolete/.
7840
7841 2012-04-12 Drew Adams <drew.adams@oracle.com>
7842
7843 * imenu.el (imenu--generic-function): Ignore invisible definitions
7844 (bug#10123).
7845
7846 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
7847
7848 * hexl.el (hexl-bits): New variable.
7849 (hexl-options): Mention the variable in the doc string.
7850 (hexl-rulerise, hexl-line-displen): New functions.
7851 (hexl-mode): Mention the new variable.
7852 (hexl-mode, hexl-current-address, hexl-current-address):
7853 Use the displen.
7854 (hexl-ascii-start-column): New function.
7855 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
7856 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
7857
7858 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7859
7860 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
7861 '("-i" ENCODING), in 2 separate command-line arguments, to specify
7862 the encoding, as expected by hunspell.
7863
7864 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7865
7866 * battery.el (battery--linux-sysfs-regexp): New const.
7867 (battery-status-function): Use it. Remove yeeloong special case.
7868 (battery-yeeloong-sysfs): Remove.
7869 (battery-echo-area-format): Remove yeeloong special case.
7870
7871 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7872
7873 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
7874 Reported by Noah Friedman.
7875
7876 * subr.el (read-passwd): Use read-string.
7877
7878 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7879
7880 * vcursor.el (vcursor-move): Increase the priority of the overlay
7881 (bug#9663).
7882
7883 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7884
7885 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
7886 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
7887
7888 2012-04-11 William Stevenson <yhvh2000@gmail.com>
7889
7890 * textmodes/artist.el (artist-mode): Convert artist-mode to use
7891 define-minor-mode (bug#10760).
7892
7893 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7894
7895 * progmodes/grep.el (rgrep): Tweak the find command line so
7896 that directories matching `grep-find-ignored-files' won't be
7897 pruned (bug#10351).
7898
7899 2012-04-11 Chong Yidong <cyd@gnu.org>
7900
7901 * startup.el (command-line): Remove support for long-obsolete
7902 variable font-lock-face-attributes.
7903
7904 2012-04-11 Glenn Morris <rgm@gnu.org>
7905
7906 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
7907
7908 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7909
7910 * window.el (window--state-get-1): Obey window-point-insertion-type.
7911
7912 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
7913
7914 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
7915 to previous function when point is on the first character of a
7916 function. Take care of that in `narrow-to-defun' (bug#6157).
7917
7918 2012-04-11 Glenn Morris <rgm@gnu.org>
7919
7920 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
7921 not just file-errors.
7922
7923 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
7924 (vc-bzr-sha1): Use internal sha1.
7925
7926 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7927
7928 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
7929
7930 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
7931
7932 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
7933 that start in the middle of the line (bug#10496).
7934
7935 2012-04-10 Dan Nicolaescu <dann@gnu.org>
7936
7937 * battery.el (battery-linux-proc-acpi): Only one battery is
7938 discharged at a time, but that seems to confuse battery.el when
7939 computing `rate-type' for the battery not being discharged
7940 (bug#10332).
7941
7942 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7943
7944 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
7945
7946 * international/quail.el: Use dolist and simplify.
7947 (quail-define-package, quail-update-keyboard-layout)
7948 (quail-define-rules): Use dolist.
7949 (quail-insert-kbd-layout, quail-get-translation): CSE.
7950
7951 * tmm.el: Use dolist, remove left over hook.
7952 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
7953 Use dolist.
7954 (calendar-load-hook): Don't mess with it.
7955
7956 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7957 Use derived-mode-p. Run the diff asynchronously.
7958
7959 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7960
7961 * obsolete/mouse-sel.el: Add an Obsolete-since header.
7962
7963 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
7964
7965 * misc.el: Display absolute path of loaded DLLs (bug#10424).
7966 (list-dynamic-libraries--loaded): New function.
7967 (list-dynamic-libraries--refresh): Use it.
7968
7969 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
7970
7971 * progmodes/python.el (python-fill-paragraph):
7972 Make python-fill-region in a multiline string work when font-lock is
7973 disabled (bug#7018).
7974
7975 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
7976
7977 * language/european.el (cp775): Add oem/legacy (en)coding on
7978 DOS/MS Windows for the Baltic languages. There are still plenty
7979 of texts written in this encoding/codepage (bug#6519).
7980
7981 2012-04-10 Glenn Morris <rgm@gnu.org>
7982
7983 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
7984 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
7985
7986 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
7987
7988 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
7989 next-line "n" and previous-line "p" in order to make recentf more
7990 consistent with ibuffer, dired or org-mode (bug#9387).
7991
7992 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7993
7994 * image.el (put-image): Return the overlay created instead of the
7995 optional input string (bug#7834). Note that this may break code
7996 that is (for some reason or other) depending on `put-image'
7997 returning the string.
7998
7999 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8000
8001 * simple.el (zap-to-char): Allow zapping using input methods
8002 (bug#1580).
8003
8004 * textmodes/fill.el (fill-region): Leave point and mark where they
8005 were before filling (bug#5399).
8006
8007 2012-04-09 Glenn Morris <rgm@gnu.org>
8008
8009 * version.el (emacs-bzr-get-version):
8010 Handle lightweight checkouts of local branches.
8011
8012 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8013
8014 * international/characters.el: Recover lost case pairs. (Bug#11209)
8015
8016 2012-04-09 Chong Yidong <cyd@gnu.org>
8017
8018 * custom.el (custom-variable-p): Return nil for non-symbol
8019 arguments instead of signaling an error.
8020 (user-variable-p): Obsolete alias for custom-variable-p.
8021
8022 * apropos.el (apropos-variable):
8023 * files-x.el (read-file-local-variable):
8024 * simple.el (set-variable):
8025 * woman.el (woman-mini-help):
8026 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8027
8028 2012-04-09 Glenn Morris <rgm@gnu.org>
8029
8030 * startup.el (normal-top-level): Don't look for leim-list.el
8031 in places where it will not be found. (Bug#910)
8032
8033 * international/mule-cmds.el (set-default-coding-systems):
8034 * files.el (normal-mode):
8035 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8036 This function was removed with ucs-tables.el in 2008.
8037
8038 2012-04-08 Eli Zaretskii <eliz@gnu.org>
8039
8040 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8041 ispell-encoding8-command to "-i", without a trailing space.
8042 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8043 separate command-line arguments, to specify the encoding, since
8044 that's how hunspell expects it.
8045
8046 2012-04-08 Glenn Morris <rgm@gnu.org>
8047
8048 * loadup.el: Load bindings before cus-start.
8049 This reduces somewhat the number of "rogue" settings in emacs -Q.
8050
8051 2012-04-07 Glenn Morris <rgm@gnu.org>
8052
8053 * version.el (emacs-bzr-get-version): New function.
8054 (emacs-bzr-version): New variable.
8055 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8056 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8057
8058 2012-04-07 Eli Zaretskii <eliz@gnu.org>
8059
8060 * international/uni-bidi.el, international/uni-category.el:
8061 * international/uni-combining.el, international/uni-decimal.el:
8062 * international/uni-decomposition.el, international/uni-digit.el:
8063 * international/uni-lowercase.el, international/uni-mirrored.el:
8064 * international/uni-name.el, international/uni-numeric.el:
8065 * international/uni-titlecase.el, international/uni-uppercase.el:
8066 Update for Unicode 6.1.
8067
8068 2012-04-07 Eli Zaretskii <eliz@gnu.org>
8069
8070 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8071
8072 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8073
8074 * window.el (shrink-window): Mention the `window-min-height'
8075 variable in the doc string.
8076
8077 2012-04-05 Bastien Guerry <bzg@altern.org>
8078
8079 * color.el (color-lighten-name): Fix typo.
8080
8081 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8082
8083 * server.el (server--on-display-p): New function.
8084 (server--on-display-p): Use it.
8085
8086 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8087
8088 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8089 (bug#11145).
8090
8091 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8092
8093 * comint.el (comint--common-quoted-suffix): Check string boundary
8094 before comparing (bug#11158).
8095 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8096
8097 2012-04-04 Chong Yidong <cyd@gnu.org>
8098
8099 * minibuffer.el (completion-extra-properties): Doc fix.
8100
8101 * subr.el (delayed-warnings-hook): Doc fix.
8102
8103 2012-04-04 Daiki Ueno <ueno@unixuser.org>
8104
8105 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8106 selection (Bug#11159).
8107 (epa-insert-keys): Inform that the default public key will be
8108 exported if no key is selected.
8109
8110 2012-04-04 Richard Stallman <rms@gnu.org>
8111
8112 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8113
8114 2012-04-03 Chong Yidong <cyd@gnu.org>
8115
8116 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8117 mail-insert-file, not its obsolete alias mail-attach-file.
8118
8119 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
8120
8121 * notifications.el (notifications-notify): Fix docstring.
8122
8123 2012-04-02 Glenn Morris <rgm@gnu.org>
8124
8125 * emacs-lisp/authors.el (authors-aliases): Another addition.
8126
8127 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
8128
8129 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8130 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8131 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8132
8133 2012-04-01 Chong Yidong <cyd@gnu.org>
8134
8135 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8136 Handle root directory properly.
8137 (copy-directory): Caller changed.
8138
8139 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8140 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8141
8142 2012-03-31 Glenn Morris <rgm@gnu.org>
8143
8144 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8145
8146 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8147
8148 * calendar/calendar.el (calendar-window-list)
8149 (calendar-hide-window): Restore. (Bug#11140)
8150 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8151
8152 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8153
8154 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8155
8156 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8157 Check if file is a symlink (Bug#10489).
8158
8159 * files.el (copy-directory): Likewise.
8160
8161 2012-03-30 Chong Yidong <cyd@gnu.org>
8162
8163 * image.el (imagemagick-types-inhibit)
8164 (imagemagick-register-types): Doc fix.
8165
8166 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8167
8168 * textmodes/ispell.el (ispell-get-extended-character-mode):
8169 Disable extended-char-mode for hunspell. hunspell does not support it
8170 and treats ~word as ordinary words in pipe mode.
8171
8172 2012-03-30 Glenn Morris <rgm@gnu.org>
8173
8174 * tutorial.el (help-with-tutorial): Ensure local variables don't
8175 happen to make the buffer read-only. (Bug#11127)
8176
8177 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8178
8179 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8180 (perl-calculate-indent): Return `noindent' in strings.
8181
8182 2012-03-28 Sam Steingold <sds@gnu.org>
8183
8184 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8185 instead of the broken adhockery which does not prevent calendar
8186 buffers from being displayed at random after exit.
8187 (calendar-window-list, calendar-hide-window): Remove the broken
8188 adhockery.
8189
8190 2012-03-28 Glenn Morris <rgm@gnu.org>
8191
8192 * replace.el (query-replace-map): Doc fix.
8193
8194 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8195
8196 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8197 contents. (Bug#11109)
8198
8199 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8200
8201 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8202 (bug#11077).
8203 (avl-tree--check, avl-tree--check-node): New funs.
8204
8205 2012-03-27 Martin Rudalics <rudalics@gmx.at>
8206
8207 * window.el (switch-to-visible-buffer): New option.
8208 (switch-to-prev-buffer, switch-to-next-buffer):
8209 Observe switch-to-visible-buffer. Make sure that checking for a window
8210 showing a buffer already is done on the same frame.
8211
8212 2012-03-27 Glenn Morris <rgm@gnu.org>
8213
8214 * startup.el (mail-host-address): Doc fix.
8215
8216 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8217
8218 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8219 than 197 variables.
8220
8221 2012-03-26 Ami Fischman <ami@fischman.org>
8222
8223 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8224
8225 2012-03-26 Glenn Morris <rgm@gnu.org>
8226
8227 * files.el (save-buffers-kill-emacs): Doc fix.
8228
8229 * startup.el (normal-top-level, command-line, command-line-1):
8230 Give them doc strings.
8231
8232 2012-03-25 Eli Zaretskii <eliz@gnu.org>
8233
8234 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
8235 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
8236
8237 2012-03-25 Chong Yidong <cyd@gnu.org>
8238
8239 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8240 theme if it was previously enabled before (Bug#11031).
8241
8242 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8243 spec with custom-face-get-current-spec if its :shown-value is not
8244 determined yet (Bug#9337).
8245 (customize-create-theme, custom-theme-revert): Doc fixes.
8246
8247 * button.el (button-at): Minor addition to docstring.
8248
8249 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
8250
8251 * vc/vc.el (vc-merge): Fix a prompt.
8252
8253 2012-03-24 Chong Yidong <cyd@gnu.org>
8254
8255 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8256 point (Bug#9623).
8257
8258 * button.el (button-at): Minor addition to docstring.
8259
8260 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8261
8262 * newcomment.el (comment-choose-indent): No space after BOL.
8263
8264 2012-03-22 Sam Steingold <sds@gnu.org>
8265
8266 * window.el (switch-to-prev-buffer): Revert last patch because the
8267 bug turned out to be an advertised feature (Elisp manual 28.14).
8268
8269 2012-03-22 Glenn Morris <rgm@gnu.org>
8270
8271 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8272 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8273
8274 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8275
8276 * net/network-stream.el (network-stream-open-starttls): Make error
8277 message under Windows be less misleading.
8278
8279 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8280
8281 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8282 understands (bug#9942).
8283
8284 2012-03-22 Chong Yidong <cyd@gnu.org>
8285
8286 * simple.el (end-of-visible-line): Handle return value of
8287 next-single-property-change properly (Bug#9371).
8288
8289 2012-03-22 Kenichi Handa <handa@m17n.org>
8290
8291 * international/quail.el (quail-insert-kbd-layout): Fix previous
8292 change. To avoid unwanted bidi reordering, use
8293 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8294
8295 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8296
8297 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8298 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8299 (ruby-beginning-of-indent): Be more careful with the difference
8300 between word-boundary and symbol boundary.
8301 (ruby-mode-syntax-table): Make : a symbol constituent.
8302
8303 2012-03-21 Andreas Politz <politza@fh-trier.de>
8304
8305 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8306
8307 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8308
8309 * progmodes/etags.el (tags-completion-at-point-function):
8310 Improve last fix.
8311
8312 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8313
8314 2012-03-21 Sam Steingold <sds@gnu.org>
8315
8316 * progmodes/etags.el (tags-completion-at-point-function):
8317 Avoid the error when point is inside the pattern.
8318
8319 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8320
8321 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8322 line (Bug#10855).
8323
8324 2012-03-21 Drew Adams <drew.adams@oracle.com>
8325
8326 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8327
8328 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
8329
8330 * ido.el (ido-set-current-directory, ido-read-internal)
8331 (ido-choose-completion-string, ido-completion-help): Handle nil
8332 value of ido-completion-buffer (Bug#11008).
8333
8334 2012-03-21 Sam Steingold <sds@gnu.org>
8335
8336 * window.el (switch-to-prev-buffer): Do not switch to a visible
8337 window previous buffer, just like with the frame previous buffers.
8338
8339 2012-03-21 Chong Yidong <cyd@gnu.org>
8340
8341 * faces.el (make-face, make-empty-face, copy-face):
8342 * face-remap.el (face-remap-add-relative, face-remap-set-base):
8343 Doc fixes.
8344
8345 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8346
8347 * wid-edit.el (widget-complete-field): Remove (bug#11051).
8348 (widget-complete): Remove broken use of it.
8349
8350 2012-03-20 Chong Yidong <cyd@gnu.org>
8351
8352 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8353 Use string-width and truncate-string-width to handle arbitrary
8354 characters.
8355
8356 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
8357
8358 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8359 to draw rectangles, not squares. (Regression introduced by revno
8360 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
8361
8362 2012-03-18 Chong Yidong <cyd@gnu.org>
8363
8364 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8365 it is not yet defined (for temacs).
8366
8367 2012-03-18 Leo Liu <sdl.web@gmail.com>
8368
8369 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
8370 prefix.
8371
8372 2012-03-17 Eli Zaretskii <eliz@gnu.org>
8373
8374 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8375 (ispell-choices-win-default-height, ispell-silently-savep)
8376 (ispell-dictionary-alist, ispell-encoding8-command)
8377 (ispell-check-version, ispell-aspell-find-dictionary)
8378 (ispell-valid-dictionary-list, ispell-words-keyword)
8379 (ispell-get-word, ispell-internal-change-dictionary)
8380 (ispell-region, ispell-skip-region-list)
8381 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8382 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8383 (ispell-message-text-end, ispell-message)
8384 (ispell-buffer-local-parsing): Doc fix.
8385
8386 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
8387
8388 * htmlfontify.el: Add support for code block fontification for ODT
8389 export (Bug #9914).
8390 (hfy-optimisations): Define new option
8391 `body-text-only'
8392 (hfy-fontify-buffer): Honor above setting.
8393 (hfy-begin-span, hfy-end-span): New routines factored out form
8394 `hfy-fontify-buffer'.
8395 (hfy-begin-span-handler, hfy-end-span-handler): New variables
8396 that permit insertion of custom tags.
8397 (hfy-fontify-buffer): Use above handlers.
8398 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8399 (hfy-face-to-css): Re-defined to be a variable.
8400 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
8401 over multiple runs. This is made possible by having the caller let
8402 bind a special variable `hfy-user-sheet-assoc'.
8403 (htmlfontify-string): New defun.
8404 (hfy-compile-face-map): Make sure that the last char in the
8405 buffer is correctly fontified.
8406 (hfy-face-resolve-face): Whitespace only change.
8407
8408 2012-03-17 Eli Zaretskii <eliz@gnu.org>
8409
8410 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
8411 message more clear.
8412
8413 2012-03-16 Leo Liu <sdl.web@gmail.com>
8414
8415 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
8416
8417 2012-03-16 Alan Mackenzie <acm@muc.de>
8418
8419 Further optimise the handling of large macros.
8420
8421 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8422 limit to a call of `c-literal-limits'.
8423 (c-determine-+ve-limit): New function.
8424 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8425 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
8426 In CASE 5B, restrict a search limit to 500.
8427 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8428
8429 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8430 Restrict macro bounds to +-500 from after-change's BEG END.
8431
8432 2012-03-16 Leo Liu <sdl.web@gmail.com>
8433
8434 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8435
8436 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
8437
8438 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
8439 `special-mode' setting of `buffer-read-only'. (Bug#11010)
8440
8441 2012-03-16 Glenn Morris <rgm@gnu.org>
8442
8443 * view.el (view-buffer, view-buffer-other-window)
8444 (view-buffer-other-frame): Doc fixes re special mode-class.
8445
8446 * subr.el (eval-after-load): If named feature is provided not from
8447 a file, run after-load forms. (Bug#10946)
8448
8449 * calendar/calendar.el (calendar-insert-at-column):
8450 Handle non-unit-width characters a bit better. (Bug#10978)
8451
8452 2012-03-15 Chong Yidong <cyd@gnu.org>
8453
8454 * emacs-lisp/ring.el (ring-extend): New function.
8455 (ring-insert+extend): Extend the ring correctly (Bug#11019).
8456
8457 * comint.el (comint-read-input-ring)
8458 (comint-add-to-input-history): Grow comint-input-ring lazily.
8459
8460 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8461
8462 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8463 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8464
8465 * imenu.el: Fix multiple inheritance breakage (bug#9199).
8466 (imenu-add-to-menubar): Don't add a redundant index.
8467 (imenu-update-menubar): Handle a dynamically composed keymap.
8468
8469 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
8470
8471 * mail/sendmail.el (mail-encode-header):
8472 Bind rfc2047-encode-encoded-words to nil.
8473
8474 2012-03-13 Glenn Morris <rgm@gnu.org>
8475
8476 * calendar/calendar.el (calendar-string-spread):
8477 Handle non-unit-width characters a bit better. (Bug#10978)
8478
8479 2012-03-13 Leo Liu <sdl.web@gmail.com>
8480
8481 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8482 directory and file as argument (Bug#10822).
8483
8484 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8485
8486 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8487 For dynamically generated code, follow $PC.
8488 (gdb-disassembly-handler-custom): Handle no function name case.
8489
8490 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
8491
8492 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8493 * emulation/ws-mode.el (ws-query-replace):
8494 * sort.el (sort-regexp-fields):
8495 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
8496
8497 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8498
8499 * dabbrev.el: Fix cycle completion order (bug#10963).
8500 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8501 (dabbrev-completion): Don't use an obarray; provide
8502 a cycle-sort-function.
8503
8504 2012-03-12 Leo Liu <sdl.web@gmail.com>
8505
8506 * simple.el (kill-new): Use equal-including-properties for comparison.
8507 (kill-do-not-save-duplicates): Doc fix.
8508
8509 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8510
8511 * dabbrev.el: Fix cycle completion (bug#10963).
8512 Use lexical binding and wrap to 80 columns.
8513 (dabbrev-completion): Delay computing the list of completions.
8514
8515 2012-03-12 Kenichi Handa <handa@m17n.org>
8516
8517 * international/quail.el (quail-insert-kbd-layout): Surround each
8518 row by LRO and PDF instead of inserting many LRMs. Pad the left
8519 and right of each non-spacing marks. Insert invisible space
8520 between lower and upper characters to prevent composition.
8521
8522 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8523
8524 * minibuffer.el (minibuffer-complete): Don't get confused when the
8525 function is run twice via different commands (bug#10958).
8526 (complete-with-action): Fix docstring.
8527
8528 2012-03-12 Chong Yidong <cyd@gnu.org>
8529
8530 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8531 (nxml-completion-at-point-function): New function.
8532 (nxml-mode): Use it.
8533 (nxml-bind-meta-tab-to-complete-flag): Default to t.
8534
8535 * emacs-lisp/package.el (package-unpack, package-unpack-single):
8536 Load generated autoloads file before byte compiling (Bug#10970).
8537 (package--make-autoloads-and-compile): New helper fun.
8538
8539 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
8540
8541 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8542
8543 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
8544
8545 * autorevert.el (auto-revert-handler): Ensure, that
8546 file-readable-p is applied only for local files or in
8547 auto-revert-tail-mode.
8548
8549 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
8550
8551 * server.el (server-eval-at): Handle non-tcp connections.
8552 Decode result string.
8553
8554 * server.el (server-msg-size): New constant.
8555 (server-reply-print): New function.
8556 (server-eval-and-print): Use it.
8557 (server-eval-at): Use server-quote-arg and server-unquote-arg.
8558 Handle -print-nonl.
8559
8560 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
8561
8562 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8563 (Bug#10987).
8564
8565 2012-03-11 Chong Yidong <cyd@gnu.org>
8566
8567 * simple.el (goto-line): Doc fix (Bug#9938).
8568
8569 * subr.el (save-window-excursion): Doc fix (Bug#9979).
8570
8571 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8572 when finished (Bug#10963).
8573
8574 2012-03-11 Martin Rudalics <rudalics@gmx.at>
8575
8576 * window.el (split-window-below): Fix bug in case where
8577 split-window-keep-point is nil (Bug#10971).
8578
8579 2012-03-11 Juri Linkov <juri@jurta.org>
8580
8581 * replace.el (replace-highlight): Set isearch-word to nil
8582 unconditionally. (Bug#10887)
8583
8584 2012-03-10 Eli Zaretskii <eliz@gnu.org>
8585
8586 * net/mairix.el (mairix-replace-invalid-chars): Rename from
8587 mairix-replace-illegal-chars; all callers changed. Don't remove
8588 ^, ~, and = characters: they are meaningful in mairix search specs.
8589 (mairix-widget-create-query): Add usage information about mairix
8590 search forms: negating words, searching for substrings, etc.
8591
8592 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
8593
8594 * international/fontset.el (font-encoding-alist): Add an entry for
8595 ksx1001 (Bug#5667).
8596
8597 2012-03-10 Richard Stallman <rms@gnu.org>
8598
8599 * mail/sendmail.el (mail-encode-header):
8600 Set rfc2047-encode-encoded-words.
8601
8602 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
8603
8604 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
8605 view buffer means not swapped.
8606 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
8607 (rmail-write-region-annotate): Error if real text has disappeared.
8608
8609 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
8610
8611 2012-03-10 Chong Yidong <cyd@gnu.org>
8612
8613 * emulation/cua-rect.el (cua--init-rectangles):
8614 * emulation/cua-base.el (cua--init-keymaps):
8615 Add delete-forward-char to remappings (Bug#9666).
8616
8617 2012-03-10 Martin Rudalics <rudalics@gmx.at>
8618
8619 * speedbar.el (speedbar-unhighlight-one-tag-line):
8620 Avoid unhighlighting due to frame switching (Bug#10275).
8621
8622 2012-03-10 Chong Yidong <cyd@gnu.org>
8623
8624 * minibuffer.el (completion-in-region, completion-help-at-point):
8625 Give the completion field overlay a high priority (Bug#6830).
8626
8627 * dired.el (dired-goto-file): Recognize absolute file name
8628 listings (Bug#7126).
8629 (dired-goto-file-1): New helper function.
8630 (dired-toggle-read-only): Inhibit warnings.
8631
8632 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
8633
8634 * net/dbus.el (dbus-property-handler): Return empty array if
8635 there are no properties.
8636
8637 2012-03-09 Leo Liu <sdl.web@gmail.com>
8638
8639 * savehist.el (savehist-printable): Stricter check for string
8640 value (Bug#10937).
8641
8642 2012-03-09 Eli Zaretskii <eliz@gnu.org>
8643
8644 * mail/smtpmail.el (smtpmail-send-it):
8645 Bind coding-system-for-write to *-unix, so that FCC files are kept in
8646 valid mbox format.
8647
8648 2012-03-09 Glenn Morris <rgm@gnu.org>
8649
8650 * files.el (dir-locals-find-file):
8651 Don't check result is regular, readable.
8652 (dir-locals-read-from-file): Demote errors.
8653
8654 2012-03-08 Eli Zaretskii <eliz@gnu.org>
8655
8656 * international/quail.el (quail-insert-kbd-layout):
8657 Insert invisible LRM characters before each character in a keyboard
8658 layout cell, to prevent their reordering by bidi display engine.
8659 For details, see the discussion in
8660 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
8661
8662 2012-03-08 Alan Mackenzie <acm@muc.de>
8663
8664 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
8665 the starting position; make it extend the marked region when
8666 invoked repeatedly - all under appropriate circumstances.
8667 Fixes bugs #5525, #10906.
8668
8669 2012-03-08 Glenn Morris <rgm@gnu.org>
8670
8671 * files.el (locate-dominating-file, dir-locals-find-file):
8672 Undo 2012-03-06 change.
8673
8674 2012-03-07 Eli Zaretskii <eliz@gnu.org>
8675
8676 * international/quail.el (quail-help):
8677 Force bidi-paragraph-direction be left-to-right. See discussion in
8678 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
8679 for the reason.
8680
8681 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
8682
8683 Avoid superfluous registering of signals. (Bug#10807)
8684
8685 * notifications.el (notifications-on-action-object)
8686 (notifications-on-close-object): New defvars.
8687 (notifications-on-action-signal, notifications-on-closed-signal):
8688 Unregister the signal if not needed any longer.
8689 (notifications-notify): Register `notifications-action-signal' or
8690 `notifications-closed-signal', if :on-action or :on-close has been
8691 passed as argument.
8692
8693 2012-03-07 Chong Yidong <cyd@gnu.org>
8694
8695 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
8696 non-X platforms.
8697
8698 2012-03-06 Glenn Morris <rgm@gnu.org>
8699
8700 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8701 (x-disown-selection-internal, x-get-selection-internal):
8702 Doc fix (add arglist signatures). (Bug#10783)
8703
8704 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8705
8706 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
8707 Handle breakpoints with no "type".
8708
8709 2012-03-06 Glenn Morris <rgm@gnu.org>
8710
8711 * files.el (locate-dominating-file): Add optional predicate argument.
8712 (dir-locals-find-file): Make use of above change.
8713
8714 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
8715
8716 * info.el (Info-insert-dir): Also try "dir.gz".
8717
8718 2012-03-06 Glenn Morris <rgm@gnu.org>
8719
8720 * files.el (dir-locals-find-file):
8721 Ignore non-readable or non-regular files. (Bug#10928)
8722
8723 * files.el (locate-dominating-file): Doc fix.
8724
8725 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
8726
8727 * calendar/calendar.el (calendar-set-mode-line):
8728 `getenv' returns a string. (Bug#10951)
8729
8730 2012-03-05 Leo Liu <sdl.web@gmail.com>
8731
8732 * simple.el (backward-delete-char-untabify): Constrain point to
8733 field (Bug#10939).
8734
8735 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
8736
8737 2012-03-05 Chong Yidong <cyd@gnu.org>
8738
8739 * simple.el (count-words): If called from Lisp, return the word
8740 count, for symmetry with `count-lines'. Arglist changed.
8741 (count-words--message): Args changed. Consolidate counting code
8742 from count-words and count-words-region.
8743 (count-words-region): Caller changed.
8744 (count-lines-region): Make it an obsolete alias.
8745
8746 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
8747
8748 * saveplace.el (save-place-to-alist)
8749 (save-place-ignore-files-regexp): Allow value nil to disable this
8750 feature.
8751
8752 2012-03-04 Chong Yidong <cyd@gnu.org>
8753
8754 * faces.el (face-spec-reset-face): For the default face, reset the
8755 attributes to default values (Bug#10748).
8756
8757 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8758
8759 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
8760 previous patch: Check `message-send-mail-function', and not the
8761 default function (bug#10897).
8762
8763 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
8764
8765 * notifications.el (notifications-on-action-signal)
8766 (notifications-on-closed-signal): Check for unique service name of
8767 incoming event. Fix error in removing entry.
8768 (top): Register for signals with wildcard service name.
8769 (notifications-notify): Use daemon unique service name for map entries.
8770
8771 2012-03-04 Chong Yidong <cyd@gnu.org>
8772
8773 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
8774
8775 2012-03-04 Glenn Morris <rgm@gnu.org>
8776
8777 * abbrev.el (copy-abbrev-table, abbrev-table-p)
8778 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
8779 (expand-abbrev, define-abbrev-table): Doc fixes.
8780
8781 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8782
8783 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
8784 `message-default-send-mail-function' and not `send-mail-function'
8785 when doing the prompting for `sendmail-query-once' before sending
8786 in Message buffers (bug#10897).
8787
8788 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
8789 This is inconsistent with all the other stream functions, which leave
8790 the setting up to the higher levels (if so wanted) (bug#10931).
8791
8792 2012-03-02 Alan Mackenzie <acm@muc.de>
8793
8794 Depessimize the handling of very large macros.
8795
8796 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
8797 (c-macro-cache-syntactic): New variables to implement a one
8798 element macro cache.
8799 (c-invalidate-macro-cache): New function.
8800 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
8801 Adapt to use the new cache.
8802 (c-state-safe-place): Use better the cache of safe positions.
8803 (c-state-semi-nonlit-pos-cache)
8804 (c-state-semi-nonlit-pos-cache-limit):
8805 New variables for...
8806 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
8807 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
8808 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
8809 Use c-state-semi-safe-place.
8810
8811 * progmodes/cc-langs.el (c-get-state-before-change-functions):
8812 Add c-invalidate-macro-cache to the C, C++, Obj entries.
8813
8814 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
8815
8816 * jka-compr.el (jka-compr-call-process):
8817 Apply `file-accessible-directory-p' only when the default directory is
8818 not remote.
8819
8820 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
8821
8822 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
8823 access of FILE2, if FILE1 does not exist.
8824
8825 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
8826 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
8827
8828 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
8829 Add "PAGER=" to `process-environment'.
8830
8831 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
8832
8833 * progmodes/sql.el: Bug fix
8834 (sql-get-login-ext): Save login values in globals.
8835 (sql-get-login): Use new version of `sql-get-login-ext'.
8836 (sql-interactive-mode): Set global `sql-connection' to nil.
8837 (sql-connect): Set global values for connection.
8838 (sql-product-interactive): Save global values as buffer local.
8839
8840 2012-02-29 Leo Liu <sdl.web@gmail.com>
8841
8842 * abbrev.el (define-abbrevs): Reset sys to nil.
8843
8844 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8845
8846 * files.el (file-equal-p): Rename from `files-equal-p'.
8847 Return nil when one or both files don't exist.
8848 (file-subdir-of-p): Now only top directory must exists,
8849 return nil if it doesn't.
8850 (copy-directory): No need to test with `file-subdir-of-p' after
8851 creating dir.
8852 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
8853 to `file-equal-p'.
8854
8855 2012-02-28 Glenn Morris <rgm@gnu.org>
8856
8857 * shell.el (shell-mode):
8858 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
8859 * play/landmark.el (landmark-font-lock-face-O):
8860 * play/handwrite.el (handwrite):
8861 * play/gomoku.el (gomoku-O):
8862 * net/browse-url.el (browse-url-browser-display):
8863 * international/mule.el (define-charset):
8864 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
8865 * filesets.el (filesets-find-file-delay):
8866 * eshell/em-xtra.el (eshell-xtra):
8867 * eshell/em-unix.el (eshell-grep):
8868 * emulation/viper.el (viper-mode):
8869 * emacs-lisp/regexp-opt.el (regexp-opt-group):
8870 * emacs-lisp/easymenu.el (easy-menu-define):
8871 * calendar/timeclock.el (timeclock-use-display-time):
8872 * bs.el (bs-mode):
8873 * bookmark.el (bookmark-save-flag):
8874 Doc fix (standardize possessive apostrophe usage).
8875
8876 2012-02-27 Chong Yidong <cyd@gnu.org>
8877
8878 * emulation/viper-cmd.el (viper-intercept-ESC-key):
8879 Fix key-binding lookup for ESC key (Bug#9146).
8880
8881 * font-lock.el (font-lock-specified-p): Rename from
8882 font-lock-spec-present. Callers changed.
8883
8884 2012-02-27 Daniel Hackney <dan@haxney.org>
8885
8886 * emacs-lisp/package.el (package-compute-transaction):
8887 Handle holding a package version to t in package-load-list.
8888
8889 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
8890
8891 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
8892 (tramp-get-inode, tramp-get-device): Use cached values.
8893
8894 2012-02-26 Alan Mackenzie <acm@muc.de>
8895
8896 Check there is a font-lock specification before doing initial
8897 fontification.
8898
8899 * font-core.el (font-lock-mode): Move the conditional from
8900 :after-hook to font-lock-initial-fontify.
8901 (font-lock-default-function): Move the check for a specification
8902 to font-lock-spec-present.
8903
8904 * font-lock.el (font-lock-initial-fontify): Call ...
8905 (font-lock-spec-present): New function.
8906
8907 2012-02-26 Jim Blandy <jimb@red-bean.com>
8908
8909 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
8910 (gdb-send): Apply it to the operand of the '-interpreter-exec
8911 console' command, so that we can pass arguments with (say) quotes
8912 in them. Store exact string sent in gdb-debug-log (Bug#10765).
8913
8914 2012-02-26 Chong Yidong <cyd@gnu.org>
8915
8916 * help-fns.el (describe-function-1): Clarify description of
8917 remapping (Bug#10844).
8918
8919 * files.el (files-equal-p): Doc fix.
8920 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
8921 and quit the loop once a mismatch is found.
8922
8923 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
8924
8925 * bs.el (bs--show-with-configuration): Don't throw an error
8926 if the window cannot be split; otherwise, subsequent calls to
8927 bs-show fail, restoring a stale window config. (Bug#10882)
8928
8929 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
8930
8931 * term/ns-win.el (global-map): Bind ns-drag-file to
8932 ns-find-file (Bug#5855, Bug#10050).
8933
8934 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
8935
8936 * calendar/parse-time.el (parse-time-string): Allow extractor to
8937 return nil.
8938
8939 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
8940
8941 * net/tramp.el (tramp-file-name-for-operation):
8942 Add `files-equal-p' and `file-subdir-of-p'.
8943
8944 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
8945 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8946 Add COPY-CONTENTS argument.
8947
8948 2012-02-25 Chong Yidong <cyd@gnu.org>
8949
8950 Add custom groups for VC backends, for consistency with vc-bzr.
8951
8952 * vc/vc-arch.el (vc-arch):
8953 * vc/vc-cvs.el (vc-cvs):
8954 * vc/vc-git.el (vc-git):
8955 * vc/vc-hg.el (vc-hg):
8956 * vc/vc-mtn.el (vc-mtn):
8957 * vc/vc-rcs.el (vc-rcs):
8958 * vc/vc-sccs.el (vc-sccs):
8959 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
8960 All relevant defcustoms reassigned.
8961
8962 2012-02-25 Chong Yidong <cyd@gnu.org>
8963
8964 * newcomment.el (comment-styles): Add autoload (Bug#10868).
8965
8966 * term/x-win.el (x-initialize-window-system): Reduce default for
8967 x-selection-timeout to 5 seconds (Bug#8869).
8968
8969 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8970
8971 * files.el (files-equal-p, file-subdir-of-p): New functions.
8972 (copy-directory): Error when trying to copy a directory on itself.
8973 Add missing copy-contents arg to tramp handler.
8974 * dired-aux.el (dired-copy-file-recursive): Same.
8975 (dired-create-files): Modify destination when source is equal to
8976 dest when copying files.
8977 Return also when dest is a subdir of source. (Bug#10489)
8978
8979 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
8980
8981 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
8982 (Bug#10874)
8983
8984 2012-02-23 Alan Mackenzie <acm@muc.de>
8985
8986 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
8987 parameter "after-hook:" to allow the expansion to run code after
8988 the execution of the mode hooks.
8989
8990 * font-lock.el (font-lock-initial-fontify): New function extracted
8991 from font-lock-mode-internal.
8992
8993 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
8994 :after-hook.
8995
8996 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8997
8998 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
8999 (completion--cache-all-sorted-completions): New function.
9000 (completion-all-sorted-completions): Use it.
9001 (completion--do-completion, minibuffer-force-complete):
9002 Use it to re-instate the flush hook.
9003
9004 * icomplete.el (icomplete-completions): Replace last fix with a better
9005 one (bug#10850).
9006
9007 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9008
9009 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9010 when it might call us back infinitely (bug#10797).
9011
9012 2012-02-23 Glenn Morris <rgm@gnu.org>
9013
9014 * minibuffer.el (completion-category-overrides): Doc fix.
9015
9016 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9017
9018 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9019 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9020
9021 2012-02-23 Glenn Morris <rgm@gnu.org>
9022
9023 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
9024 (authors-obsolete-files-regexps, authors-ignored-files)
9025 (authors-ambiguous-files, authors-renamed-files-alist):
9026 Add more entries.
9027
9028 2012-02-23 Juri Linkov <juri@jurta.org>
9029
9030 * isearch.el (isearch-occur): Sync interactive spec with occur's
9031 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9032
9033 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9034
9035 2012-02-22 Juri Linkov <juri@jurta.org>
9036
9037 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9038 (ucs-insert): Doc fix. Check for hex digits in the string.
9039 Don't display `nil' in the error message. (Bug#10857)
9040
9041 2012-02-22 Alan Mackenzie <acm@muc.de>
9042
9043 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
9044
9045 2012-02-22 Glenn Morris <rgm@gnu.org>
9046
9047 * ffap.el (ffap-c-path):
9048 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9049
9050 2012-02-22 Chong Yidong <cyd@gnu.org>
9051
9052 * custom.el (load-theme): Doc fix.
9053
9054 2012-02-22 Glenn Morris <rgm@gnu.org>
9055
9056 * dired-x.el (dired-guess-shell-alist-default):
9057 Remove escape sequences from nroff output. (Bug#172)
9058
9059 2012-02-21 Glenn Morris <rgm@gnu.org>
9060
9061 * vc/emerge.el (emerge-defvar-local):
9062 Set `permanent-local' property rather than unused `preserved'.
9063
9064 * textmodes/picture.el (picture-delete-char): New alias.
9065 (picture-mode-map): Use it. (Bug#10860)
9066 (picture-mode): Doc fix.
9067
9068 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
9069
9070 * newcomment.el (uncomment-region-default): Remove unused binding.
9071
9072 2012-02-21 Glenn Morris <rgm@gnu.org>
9073
9074 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9075 (picture-self-insert, picture-tab-chars): Doc fix.
9076 (picture-mode-map): Fix C-a, C-e.
9077
9078 2012-02-20 Glenn Morris <rgm@gnu.org>
9079
9080 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9081
9082 2012-02-20 Leo Liu <sdl.web@gmail.com>
9083
9084 * icomplete.el (icomplete-completions): Check FROM arg before
9085 passing to substring (Bug#10850).
9086
9087 2012-02-19 Chong Yidong <cyd@gnu.org>
9088
9089 * comint.el: Require ansi-color.
9090 (comint-output-filter-functions): Add ansi-color-process-output.
9091
9092 * ansi-color.el: Don't set comint-output-filter-functions; it is
9093 now in the initial value defined in comint.el.
9094 (ansi-color-apply-face-function): New variable.
9095 (ansi-color-apply-on-region): Use it.
9096 (ansi-color-apply-overlay-face): New function.
9097
9098 * shell.el (shell): No need to require ansi-color.
9099 (shell-mode): Use ansi-color-apply-face-function to highlight
9100 color escapes using font-lock-face property (Bug#10835).
9101
9102 2012-02-19 Chong Yidong <cyd@gnu.org>
9103
9104 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9105 mode-line formats (Bug#10839).
9106
9107 2012-02-18 Glenn Morris <rgm@gnu.org>
9108
9109 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9110
9111 * mail/undigest.el (unforward-rmail-message): Doc fix.
9112
9113 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9114
9115 2012-02-18 Eli Zaretskii <eliz@gnu.org>
9116
9117 * international/characters.el (script-list): Sync with the latest
9118 Unicode Character Database.
9119
9120 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9121
9122 * international/titdic-cnv.el: Remove duplicate coding tag.
9123 * language/cham.el: Likewise.
9124 * language/tai-viet.el: Likewise.
9125
9126 2012-02-18 Glenn Morris <rgm@gnu.org>
9127
9128 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9129 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9130 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9131 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9132 * calendar/holidays.el (holiday-bahai-holidays)
9133 (calendar-holidays, list-holidays):
9134 Use utf-8 Bahá'í in doc-strings, menus, etc.
9135
9136 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9137
9138 * saveplace.el (save-place-ignore-files-regexp): New variable
9139 allowing for excluding files from saving their location of point.
9140 The default value matches the temporary commit message editing
9141 files from Git, SVN, Bazaar, and Mercurial.
9142 (save-place-to-alist): Use it.
9143
9144 2012-02-17 Lawrence Mitchell <wence@gmx.li>
9145 Stefan Monnier <monnier@iro.umontreal.ca>
9146
9147 * newcomment.el (uncomment-region-default): Don't leave extra space
9148 when an arg is provided (bug#8150).
9149
9150 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9151
9152 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
9153
9154 2012-02-17 Glenn Morris <rgm@gnu.org>
9155
9156 * net/socks.el: Require network-stream. (Bug#10599)
9157
9158 2012-02-17 Kenichi Handa <handa@m17n.org>
9159
9160 * international/charprop.el:
9161 * international/uni-name.el:
9162 * international/uni-old-name.el:
9163 * international/uni-comment.el: Regenerate.
9164
9165 2012-02-16 Glenn Morris <rgm@gnu.org>
9166
9167 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9168 Interactively in calendar buffer, give an error if not on a date.
9169
9170 2012-02-15 Glenn Morris <rgm@gnu.org>
9171
9172 * shell.el (shell-delimiter-argument-list):
9173 Revert 2011-02-17 change. (Bug#8027)
9174
9175 2012-02-15 Chong Yidong <cyd@gnu.org>
9176
9177 * minibuffer.el (completion-at-point-functions): Doc fix.
9178
9179 * custom.el (defcustom): Doc fix; note use of defvar.
9180
9181 2012-02-15 Glenn Morris <rgm@gnu.org>
9182
9183 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9184 Doc fixes.
9185
9186 2012-02-14 Glenn Morris <rgm@gnu.org>
9187
9188 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9189
9190 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9191
9192 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9193 way the ports list is computed.
9194 (smtpmail-query-smtp-server): Prompt the user for a port number if
9195 we can't connect to any of the standard ports (bug#10810).
9196
9197 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9198
9199 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9200
9201 2012-02-13 Glenn Morris <rgm@gnu.org>
9202
9203 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9204
9205 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9206
9207 * net/gnutls.el (gnutls-trustfiles): New variable.
9208 (gnutls-negotiate): Use it.
9209
9210 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9211
9212 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9213 does its stuff if Gnus is running.
9214
9215 2012-02-13 Alan Mackenzie <acm@muc.de>
9216
9217 Fix a loop in c-set-fl-decl-start.
9218
9219 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
9220 c-backward-syntactic-ws actually moves backwards.
9221
9222 2012-02-13 Leo Liu <sdl.web@gmail.com>
9223
9224 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9225 beginning so that all \C-o chars are removed.
9226
9227 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9228
9229 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
9230
9231 2012-02-12 Alan Mackenzie <acm@muc.de>
9232
9233 Fix infinite loop with long macros.
9234 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
9235
9236 2012-02-12 Chong Yidong <cyd@gnu.org>
9237
9238 * window.el (display-buffer): Doc fix (Bug#10785).
9239
9240 2012-02-12 Glenn Morris <rgm@gnu.org>
9241
9242 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9243 (x-disown-selection-internal, x-get-selection-internal):
9244 Sync docs with the xselect.c versions.
9245
9246 * allout-widgets.el: Add missing license notice.
9247
9248 2012-02-11 Glenn Morris <rgm@gnu.org>
9249
9250 * select.el (x-get-selection-internal, x-own-selection-internal)
9251 (x-disown-selection-internal):
9252 * x-dnd.el (x-get-selection-internal): Update declarations.
9253
9254 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9255
9256 * window.el (window-sides-slots):
9257 * tool-bar.el (tool-bar-position):
9258 * term/xterm.el (xterm-extra-capabilities):
9259 * ses.el (ses-self-reference-early-detection):
9260 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9261 (verilog-auto-wire-type)
9262 (verilog-auto-delete-trailing-whitespace)
9263 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9264 (verilog-auto-tieoff-declaration):
9265 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9266 (sql-oracle-statement-starters, sql-oracle-scan-on):
9267 * progmodes/prolog.el (prolog-align-comments-flag)
9268 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9269 (prolog-left-indent-regexp, prolog-paren-indent-p)
9270 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9271 (prolog-types, prolog-mode-specificators)
9272 (prolog-determinism-specificators, prolog-directives)
9273 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9274 (prolog-electric-dot-flag)
9275 (prolog-electric-dot-full-predicate-template)
9276 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9277 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9278 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9279 (prolog-program-switches, prolog-prompt-regexp)
9280 (prolog-debug-on-string, prolog-debug-off-string)
9281 (prolog-trace-on-string, prolog-trace-off-string)
9282 (prolog-zip-on-string, prolog-zip-off-string)
9283 (prolog-use-standard-consult-compile-method-flag)
9284 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9285 (prolog-imenu-max-lines, prolog-info-predicate-index)
9286 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9287 (prolog-char-quote-workaround):
9288 * progmodes/cc-vars.el (c-defun-tactic):
9289 * net/tramp.el (tramp-encoding-command-interactive)
9290 (tramp-local-end-of-line):
9291 * net/soap-client.el (soap-client):
9292 * net/netrc.el (netrc-file):
9293 * net/gnutls.el (gnutls):
9294 * minibuffer.el (completion-category-overrides)
9295 (completion-cycle-threshold)
9296 (completion-pcm-complete-word-inserts-delimiters):
9297 * man.el (Man-name-local-regexp):
9298 * mail/feedmail.el (feedmail-display-full-frame):
9299 * international/characters.el (glyphless-char-display-control):
9300 * eshell/em-ls.el (eshell-ls-date-format):
9301 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9302 (lisp-lambda-list-keyword-parameter-indentation)
9303 (lisp-lambda-list-keyword-parameter-alignment):
9304 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9305 * dired-x.el (dired-omit-verbose):
9306 * cus-theme.el (custom-theme-allow-multiple-selections):
9307 * calc/calc.el (calc-highlight-selections-with-faces)
9308 (calc-lu-field-reference, calc-lu-power-reference)
9309 (calc-note-threshold):
9310 * battery.el (battery-mode-line-limit):
9311 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9312 (archive-7z-update):
9313 * allout.el (allout-prefixed-keybindings)
9314 (allout-unprefixed-keybindings)
9315 (allout-inhibit-auto-fill-on-headline)
9316 (allout-flattened-numbering-abbreviation):
9317 * allout-widgets.el (allout-widgets-auto-activation)
9318 (allout-widgets-icons-dark-subdir)
9319 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9320 (allout-widgets-theme-dark-background)
9321 (allout-widgets-theme-light-background)
9322 (allout-widgets-item-image-properties-emacs)
9323 (allout-widgets-item-image-properties-xemacs)
9324 (allout-widgets-run-unit-tests-on-load)
9325 (allout-widgets-time-decoration-activity)
9326 (allout-widgets-hook-error-post-time)
9327 (allout-widgets-track-decoration):
9328 Add missing :version tags to new defcustoms and defgroups.
9329
9330 * progmodes/sql.el (sql-ansi-statement-starters)
9331 (sql-oracle-statement-starters): Add custom type.
9332
9333 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9334 (prolog-system-version): Give it a type.
9335
9336 2012-02-11 Eli Zaretskii <eliz@gnu.org>
9337
9338 * term/pc-win.el (x-select-text, x-selection-owner-p)
9339 (x-own-selection-internal, x-disown-selection-internal)
9340 (x-get-selection-internal): Sync doc strings and argument lists
9341 with xselect.c, common-win.el and x-win.el. (Bug#10783)
9342
9343 2012-02-11 Leo Liu <sdl.web@gmail.com>
9344
9345 * progmodes/python.el (python-end-of-statement): Fix infinite
9346 loop. (Bug#10788)
9347
9348 2012-02-10 Glenn Morris <rgm@gnu.org>
9349
9350 * international/mule-cmds.el (unify-8859-on-encoding-mode)
9351 (unify-8859-on-decoding-mode): Properly mark as obsolete.
9352
9353 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9354
9355 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9356 about SMTP before checking the From header.
9357
9358 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
9359 into own function for reuse by emacsbug.el.
9360
9361 2012-02-10 Leo Liu <sdl.web@gmail.com>
9362
9363 * subr.el (condition-case-unless-debug): Rename from
9364 condition-case-no-debug. All callers changed.
9365 (with-demoted-errors): Fix caller.
9366
9367 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9368 * nxml/rng-valid.el (rng-do-some-validation):
9369 * emacs-lisp/package.el (package-refresh-contents)
9370 (package-menu-execute):
9371 * desktop.el (desktop-create-buffer):
9372 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
9373
9374 2012-02-10 Glenn Morris <rgm@gnu.org>
9375
9376 * textmodes/bibtex.el:
9377 Add missing :version tags for new/changed defcustoms.
9378
9379 * files.el (remote-file-name-inhibit-cache): Doc fixes.
9380
9381 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
9382
9383 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9384 (smtpmail-via-smtp): Use it, or fall back on the From address.
9385 (smtpmail-send-it): Ditto.
9386
9387 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
9388
9389 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9390 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
9391 (byte-compile-tmp-var): New const.
9392 (byte-compile-defvar): Use it to minimize .elc size.
9393 Just use `defvar' rather than simulate it (bug#10761).
9394
9395 2012-02-09 Glenn Morris <rgm@gnu.org>
9396
9397 * files.el (rename-uniquely): Doc fix. (Bug#3806)
9398
9399 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9400 Add :version tags.
9401
9402 * progmodes/compile.el (compilation-error-screen-columns)
9403 (compilation-first-column, compilation-filter-start): Doc fixes.
9404
9405 * vc/log-view.el (log-view-toggle-entry-display):
9406 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
9407
9408 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
9409 (report-emacs-bug-can-use-xdg-email):
9410 (report-emacs-bug-insert-to-mailer): Doc fixes.
9411 (report-emacs-bug): Message fix.
9412
9413 * net/browse-url.el (browse-url-can-use-xdg-open)
9414 (browse-url-xdg-open): Doc fixes.
9415
9416 * electric.el (electric-indent-mode, electric-pair-mode)
9417 (electric-layout-rules, electric-layout-mode): Doc fixes.
9418 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9419
9420 2012-02-08 Martin Rudalics <rudalics@gmx.at>
9421
9422 * server.el (server-unselect-display): Don't inadvertently kill
9423 the current buffer. (Bug#10729)
9424
9425 2012-02-08 Glenn Morris <rgm@gnu.org>
9426
9427 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9428 (sql-list-table): Doc fixes.
9429
9430 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9431 Comment out (does nothing).
9432
9433 * completion.el (dynamic-completion-mode):
9434 * dirtrack.el (dirtrack-debug-mode):
9435 * electric.el (electric-layout-mode):
9436 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
9437 * face-remap.el (text-scale-mode, buffer-face-mode):
9438 * iimage.el (iimage-mode):
9439 * image-mode.el (image-transform-mode):
9440 * minibuffer.el (completion-in-region-mode):
9441 * scroll-lock.el (scroll-lock-mode):
9442 * simple.el (next-error-follow-minor-mode):
9443 * tar-mode.el (tar-subfile-mode):
9444 * tooltip.el (tooltip-mode):
9445 * vcursor.el (vcursor-use-vcursor-map):
9446 * wid-browse.el (widget-minor-mode):
9447 * emulation/tpu-edt.el (tpu-edt-mode):
9448 * emulation/tpu-extras.el (tpu-cursor-free-mode):
9449 * international/iso-ascii.el (iso-ascii-mode):
9450 * language/thai-util.el (thai-word-mode):
9451 * mail/supercite.el (sc-minor-mode):
9452 * net/goto-addr.el (goto-address-mode):
9453 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
9454 * progmodes/cwarn.el (cwarn-mode):
9455 * progmodes/flymake.el (flymake-mode):
9456 * progmodes/glasses.el (glasses-mode):
9457 * progmodes/hideshow.el (hs-minor-mode):
9458 * progmodes/pascal.el (pascal-outline-mode):
9459 * textmodes/enriched.el (enriched-mode):
9460 * vc/smerge-mode.el (smerge-mode):
9461 Doc fixes (minor mode argument).
9462
9463 2012-02-07 Eli Zaretskii <eliz@gnu.org>
9464
9465 * ls-lisp.el (ls-lisp-sanitize): New function.
9466 (ls-lisp-insert-directory): Use it to fix or remove any elements
9467 in file-alist with missing attributes. (Bug#4673)
9468
9469 2012-02-07 Alan Mackenzie <acm@muc.de>
9470
9471 Fix spurious recognition of c-in-knr-argdecl.
9472
9473 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9474 putative K&R region.
9475
9476 2012-02-07 Alan Mackenzie <acm@muc.de>
9477
9478 * progmodes/cc-engine.el (c-forward-objc-directive):
9479 Prevent looping in "#pragma mark @implementation".
9480
9481 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
9482
9483 * notifications.el (notifications-on-closed-signal): Make `reason'
9484 optional. (Bug#10744)
9485
9486 2012-02-07 Glenn Morris <rgm@gnu.org>
9487
9488 * emacs-lisp/easy-mmode.el (define-minor-mode):
9489 Doc fixes for the macro and the mode it defines.
9490
9491 * image.el (imagemagick-types-inhibit): Doc fix.
9492
9493 * cus-start.el (imagemagick-render-type): Add it.
9494
9495 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
9496
9497 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9498 Set the default at load time, too, so that `font-lock-fontify-buffer'
9499 can be called without setting up the entire mode first. This fixes
9500 a bug in `mm-inline-text' with C MIME parts.
9501
9502 2012-02-06 Chong Yidong <cyd@gnu.org>
9503
9504 * simple.el (list-processes--refresh): Delete exited processes
9505 (Bug#8094).
9506
9507 * comint.el (comint-next-prompt): next-single-char-property-change
9508 and prev-single-char-property-change never return nil (Bug#8657).
9509
9510 * custom.el (defcustom): Doc fix (Bug#9711).
9511
9512 2012-02-05 Chong Yidong <cyd@gnu.org>
9513
9514 * cus-edit.el (custom-variable-reset-backup): Quote the value
9515 before storing it in the customized-value property (Bug#6712).
9516 (custom-display): Add a customization type tag.
9517 (custom-buffer-create-internal): Improve tooltip message.
9518
9519 * wid-edit.el (widget-field-value-get): New optional arg to
9520 suppress trailing whitespace truncation.
9521 (character): Use it (Bug#2689).
9522
9523 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
9524
9525 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9526 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9527
9528 2012-02-05 Chong Yidong <cyd@gnu.org>
9529
9530 * cus-edit.el (custom-variable-value-create): For mismatched
9531 types, show the current value (Bug#7600).
9532
9533 * custom.el (defcustom): Doc fix.
9534
9535 2012-02-05 Glenn Morris <rgm@gnu.org>
9536
9537 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9538
9539 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
9540
9541 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9542 (pp-buffer): Use `ignore-errors', `looking-at-p'.
9543 (pp-last-sexp): Use `looking-at-p'.
9544
9545 2012-02-04 Glenn Morris <rgm@gnu.org>
9546
9547 * files.el (revert-buffer):
9548 Doc fix (mention revert-buffer-in-progress-p).
9549
9550 * emacs-lisp/ert-x.el (ert-simulate-command):
9551 Check deferred-action-list (which is obsolete) is bound.
9552
9553 * subr.el (with-wrapper-hook): Doc fixes.
9554
9555 * simple.el (filter-buffer-substring-functions)
9556 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9557
9558 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
9559
9560 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9561 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
9562
9563 2012-02-04 Leo Liu <sdl.web@gmail.com>
9564
9565 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9566
9567 2012-02-04 Glenn Morris <rgm@gnu.org>
9568
9569 * image.el (image-extension-data): Add obsolete alias.
9570
9571 * isearch.el (isearch-update): Doc fix.
9572
9573 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9574
9575 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
9576
9577 2012-02-03 Glenn Morris <rgm@gnu.org>
9578
9579 * image.el (image-animated-p): Doc fix. Use image-animated-types.
9580 (image-animate-timeout): Doc fix.
9581
9582 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
9583
9584 2012-02-02 Glenn Morris <rgm@gnu.org>
9585
9586 * server.el (server-auth-dir): Doc fix.
9587 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
9588
9589 * subr.el (run-mode-hooks): Doc fix.
9590
9591 2012-02-02 Juri Linkov <juri@jurta.org>
9592
9593 * image-mode.el (image-toggle-display-image): Remove tautological
9594 `major-mode' from the `derived-mode-p' test.
9595
9596 2012-02-02 Kenichi Handa <handa@m17n.org>
9597
9598 * composite.el (compose-region): Cancel previous change.
9599
9600 2012-02-02 Kenichi Handa <handa@m17n.org>
9601
9602 * composite.el (compose-region, compose-string): Signal error for
9603 a null string component (Bug#6988).
9604
9605 2012-02-01 Chong Yidong <cyd@gnu.org>
9606
9607 * view.el (view-buffer-other-window, view-buffer-other-frame):
9608 Handle special modes like view-buffer (Bug#10650).
9609 (view-buffer): Simplify.
9610
9611 * frame.el (set-frame-font): Tweak meaning of third argument.
9612
9613 * dynamic-setting.el (font-setting-change-default-font):
9614 Use set-frame-font (Bug#9982).
9615
9616 2012-02-01 Glenn Morris <rgm@gnu.org>
9617
9618 * progmodes/compile.el (compilation-internal-error-properties):
9619 Respect compilation-first-column in the "*compilation*" buffer.
9620
9621 * emacs-lisp/easy-mmode.el (define-minor-mode):
9622 Relax :variable's test for a named function.
9623
9624 2012-01-31 Alan Mackenzie <acm@muc.de>
9625
9626 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9627 off by one error.
9628
9629 2012-01-31 Chong Yidong <cyd@gnu.org>
9630
9631 * frame.el (set-frame-font): New arg ALL-FRAMES.
9632
9633 * menu-bar.el (menu-set-font): Use set-frame-font.
9634
9635 * faces.el (face-spec-reset-face): Don't apply unspecified
9636 attribute values to the default face.
9637
9638 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
9639
9640 * progmodes/cwarn.el (cwarn): Remove dead link.
9641 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9642 Remove * from defcustom docstrings.
9643 (turn-on-cwarn-mode): Make obsolete.
9644 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
9645 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
9646
9647 2012-01-31 Glenn Morris <rgm@gnu.org>
9648
9649 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
9650 Fix :variable handling of mode a symbol not equal to modefun.
9651 Allow named functions to be used as the cdr of :variable.
9652
9653 2012-01-30 Glenn Morris <rgm@gnu.org>
9654
9655 * emacs-lisp/authors.el (authors-fixed-entries):
9656 Remove reference to deleted file rnewspost.el.
9657
9658 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
9659
9660 * window.el (window-with-parameter): Remove unused variable `windows'.
9661 (window--side-check): Remove unused variable `code'.
9662 (window--resize-siblings): Remove unused variable `first'.
9663 (adjust-window-trailing-edge): Remove unused variable `failed'.
9664 (window-deletable-p, window--delete): Remove unused variable `buffer'.
9665 Use `let', not `let*'.
9666 (balance-windows-2): Remove unused variable `found'.
9667 (window--state-put-2): Remove unused variable `splits'.
9668 (window-state-put): Remove unused variable `selected'.
9669 (same-window-p): Use `string-match-p'.
9670 (display-buffer-assq-regexp): Remove unused variable `value'.
9671 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9672 Mark argument ALIST as ignored.
9673 (pop-to-buffer): Remove unused variable `old-window'.
9674
9675 2012-01-29 Eli Zaretskii <eliz@gnu.org>
9676
9677 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
9678 and .lzma compressed files.
9679
9680 2012-01-29 Chong Yidong <cyd@gnu.org>
9681
9682 * frame.el (window-system-default-frame-alist): Doc fix.
9683
9684 * dynamic-setting.el (font-setting-change-default-font): Don't
9685 change the default face if SET-FONT argument is non-nil (Bug#9982).
9686
9687 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
9688
9689 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
9690
9691 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
9692
9693 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
9694 breakpoints in files outside current directory (Bug#6098).
9695
9696 2012-01-29 Chong Yidong <cyd@gnu.org>
9697
9698 * progmodes/python.el: Require ansi-color at top-level.
9699
9700 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
9701 Define and use in Emacs Lisp mode (Bug#9360).
9702 (lisp-mode-abbrev-table): Add doc.
9703 (lisp-mode-variables): Don't set local-abbrev-table.
9704 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
9705
9706 2012-01-28 Roland Winkler <winkler@gnu.org>
9707
9708 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
9709
9710 2012-01-28 Roland Winkler <winkler@gnu.org>
9711
9712 * textmodes/bibtex.el (bibtex-entry-alist): New function.
9713 (bibtex-set-dialect): Use it. Either set global values of
9714 dialect-dependent variables or bind these variables buffer-locally
9715 (Bug#10254).
9716 (bibtex-mode): Call bibtex-set-dialect via
9717 hack-local-variables-hook.
9718 (bibtex-dialect): Update docstring.
9719 Add safe-local-variable predicate.
9720 (bibtex-entry-alist, bibtex-field-alist): Initialize via
9721 bibtex-set-dialect.
9722 (bibtex-mode-map): Define menu for each dialect.
9723 (bibtex-entry): Fix docstring.
9724
9725 2012-01-28 Chong Yidong <cyd@gnu.org>
9726
9727 * eshell/esh-arg.el (eshell-quote-argument): New function.
9728
9729 * eshell/esh-ext.el (eshell-invoke-batch-file):
9730 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
9731 first arg to eshell-parse-command (Bug#10523).
9732
9733 2012-01-28 Drew Adams <drew.adams@oracle.com>
9734
9735 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
9736 `default-directory' is non-nil.
9737
9738 2012-01-28 Eli Zaretskii <eliz@gnu.org>
9739
9740 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
9741 line that displays system-configuration-options. (Bug#9924)
9742
9743 2012-01-28 Drew Adams <drew.adams@oracle.com>
9744
9745 * descr-text.el (describe-char): Show information about POS, in
9746 addition to information about the character at POS. Improve and
9747 update the doc string. Change "code point" to "code point in
9748 charset", to avoid confusion with the character's Unicode code
9749 point shown above that. (Bug#10129)
9750
9751 2012-01-28 Eli Zaretskii <eliz@gnu.org>
9752
9753 * descr-text.el (describe-char): Show the raw character, not only
9754 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
9755 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
9756 for the reasons.
9757
9758 2012-01-28 Phil Hagelberg <phil@hagelb.org>
9759
9760 * emacs-lisp/package.el (package-install):
9761 Run package-refresh-contents if there is no archive yet (Bug#9798).
9762
9763 2012-01-28 Chong Yidong <cyd@gnu.org>
9764
9765 * emacs-lisp/package.el (package-maybe-load-descriptor):
9766 New function, split from package-maybe-load-descriptor.
9767 (package-maybe-load-descriptor): Use it.
9768 (package-download-transaction): Fully load required packages
9769 inside the loop, so that `require' calls work (Bug#10593).
9770 (package-install): No need to call package-initialize now.
9771
9772 2012-01-28 Chong Yidong <cyd@gnu.org>
9773
9774 * simple.el (deactivate-mark): Doc fix (Bug#8614).
9775
9776 * tooltip.el (tooltip-mode): Doc fix.
9777 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
9778
9779 * frame.el (set-cursor-color): Doc fix (Bug#352).
9780
9781 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
9782 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
9783
9784 * cus-edit.el (custom-buffer-create-internal): Fix search button
9785 action (Bug#10542).
9786 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
9787
9788 2012-01-27 Eduard Wiebe <usenet@pusto.de>
9789
9790 * dired.el (dired-mark-files-regexp):
9791 Include any subdirectory components. (Bug#10445)
9792
9793 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
9794
9795 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
9796 Handle [host]:port syntax. (Bug#10533)
9797
9798 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
9799
9800 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
9801
9802 2012-01-26 Glenn Morris <rgm@gnu.org>
9803
9804 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
9805 * term.el (term-raw-escape-map): Use Control-X-prefix.
9806 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
9807
9808 2012-01-25 Martin Rudalics <rudalics@gmx.at>
9809
9810 * window.el (window-state-get, window--state-get-1): Don't deal
9811 with fixed-sizeness of windows. Simplify code.
9812
9813 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
9814
9815 * window.el (window--state-get-1, window--state-put-2):
9816 Don't save and restore the mark.
9817
9818 2012-01-25 Chong Yidong <cyd@gnu.org>
9819
9820 * custom.el (custom-variable-p): Doc fix.
9821
9822 2012-01-25 Glenn Morris <rgm@gnu.org>
9823
9824 * dired.el (dired-goto-file): Handle some of the more common
9825 characters that `ls -b' escapes. (Bug#10596)
9826
9827 * progmodes/compile.el (compilation-next-error-function):
9828 Respect compilation-first-column in the "*compilation*" buffer.
9829 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
9830
9831 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
9832
9833 2012-01-24 Glenn Morris <rgm@gnu.org>
9834
9835 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
9836
9837 2012-01-24 Julien Danjou <julien@danjou.info>
9838
9839 * color.el (color-rgb-to-hsl): Fix value computing.
9840 (color-hue-to-rgb): New function.
9841 (color-hsl-to-rgb): New function.
9842 (color-clamp, color-saturate-hsl, color-saturate-name)
9843 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
9844 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
9845
9846 2012-01-24 Glenn Morris <rgm@gnu.org>
9847
9848 * vc/vc-rcs.el (vc-rcs-create-tag):
9849 * vc/vc-sccs.el (vc-sccs-create-tag):
9850 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
9851
9852 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
9853
9854 * eshell/esh-util.el (eshell-read-hosts-file):
9855 Skip comment lines. (Bug#10549)
9856
9857 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
9858
9859 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
9860
9861 * subr.el (display-delayed-warnings): Doc fix.
9862 (collapse-delayed-warnings): New function to collapse identical
9863 adjacent warnings.
9864 (delayed-warnings-hook): Add it.
9865
9866 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
9867
9868 * net/tramp.el (tramp-action-login): Set connection property "login-as".
9869
9870 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
9871 (tramp-default-user-alist): Don't add "pscp".
9872 (tramp-do-copy-or-rename-file-out-of-band): Use connection
9873 property "login-as", if set. (Bug#10530)
9874
9875 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
9876
9877 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
9878 "plink1" and "psftp". (Bug#10530)
9879
9880 2012-01-21 Kenichi Handa <handa@m17n.org>
9881
9882 * international/mule-cmds.el (prefer-coding-system): Show a
9883 warning message if the default value of file-name-coding-system
9884 was not changed.
9885
9886 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9887
9888 * windmove.el (windmove-reference-loc):
9889 Fix windmove-reference-loc miscalculation.
9890
9891 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
9892
9893 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
9894 default unit.
9895
9896 2012-01-21 Glenn Morris <rgm@gnu.org>
9897
9898 * international/mule.el (auto-coding-alist): Add .tbz.
9899
9900 * files.el (local-enable-local-variables): Doc fix.
9901 (inhibit-local-variables-regexps): Rename from
9902 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
9903 Doc fix. Add some extensions from auto-coding-alist.
9904 (inhibit-local-variables-suffixes):
9905 Rename from inhibit-first-line-modes-suffixes. Doc fix.
9906 (inhibit-local-variables-p):
9907 New function, extracted from set-auto-mode-1.
9908 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
9909 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
9910 (hack-local-variables): Doc fix. Make the mode-only case
9911 respect enable-local-variables and friends.
9912 Respect inhibit-local-variables-regexps for file-locals, but
9913 not for directory-locals.
9914 (set-visited-file-name):
9915 Take account of inhibit-local-variables-regexps.
9916 Whether it applies may change as the file name is changed.
9917 * jka-cmpr-hook.el (jka-compr-install):
9918 * jka-compr.el (jka-compr-uninstall):
9919 Update for inhibit-first-line-modes-suffixes name change.
9920
9921 2012-01-20 Martin Rudalics <rudalics@gmx.at>
9922
9923 * help-macro.el (make-help-screen): Temporarily restore original
9924 binding for minor-mode-map-alist (Bug#10454).
9925
9926 2012-01-19 Julien Danjou <julien@danjou.info>
9927
9928 * color.el (color-name-to-rgb): Use the white color to find the max
9929 color component value and return correctly computed values.
9930 (color-name-to-rgb): Add missing float conversion for max value.
9931
9932 2012-01-19 Martin Rudalics <rudalics@gmx.at>
9933
9934 * window.el (window--state-get-1, window-state-get): Do not use
9935 special state value for window-persistent-parameters.
9936 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
9937 (window--state-put-2): Reset all window parameters to nil before
9938 assigning values of persistent parameters.
9939
9940 2012-01-18 Alan Mackenzie <acm@muc.de>
9941
9942 Eliminate sluggishness and hangs in fontification of "semicolon
9943 deserts".
9944
9945 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
9946 Change value 10000 -> 3000.
9947 (c-state-safe-place): Reformulate so it doesn't stack up an
9948 infinite number of wrong entries in c-state-nonlit-pos-cache.
9949 (c-determine-limit-get-base, c-determine-limit): New functions to
9950 determine backward search limits disregarding literals.
9951 (c-find-decl-spots): Amend commenting.
9952 (c-cheap-inside-bracelist-p): New function which detects "={".
9953
9954 * progmodes/cc-fonts.el
9955 (c-make-font-lock-BO-decl-search-function): Give a limit to a
9956 backward search.
9957 (c-font-lock-declarations): Fix an occurrence of point being
9958 undefined. Check additionally for point being in a bracelist or
9959 near a macro invocation without a semicolon so as to avoid a
9960 fruitless time consuming search for a declarator. Give a more
9961 precise search limit for declarators using the new
9962 c-determine-limit.
9963
9964 2012-01-18 Glenn Morris <rgm@gnu.org>
9965
9966 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
9967 (set-auto-mode): Doc fixes.
9968
9969 2012-01-17 Glenn Morris <rgm@gnu.org>
9970
9971 * isearch.el (search-nonincremental-instead): Fix doc typo.
9972
9973 * dired.el (dired-insert-directory): Handle newlines in directory name.
9974 (dired-build-subdir-alist): Unescape newlines in directory name.
9975
9976 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
9977
9978 * net/tramp.el (tramp-local-end-of-line): New defcustom.
9979 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
9980 (tramp-action-terminal): Use it. (Bug#10530)
9981
9982 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
9983
9984 * minibuffer.el (completion--replace): Strip properties (bug#10062).
9985
9986 2012-01-16 Martin Rudalics <rudalics@gmx.at>
9987
9988 * window.el (window-state-ignored-parameters): Remove variable.
9989 (window--state-get-1): Rename argument MARKERS to IGNORE.
9990 Handle persistent window parameters. Make copy of clone-of
9991 parameter only if requested. (Bug#10348)
9992 (window--state-put-2): Install a window parameter only if it has
9993 a non-nil value or an existing parameter shall be overwritten.
9994
9995 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
9996
9997 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
9998
9999 2012-01-14 Eli Zaretskii <eliz@gnu.org>
10000
10001 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10002 don't pass the (nil) value of `upnode' to string-match.
10003
10004 2012-01-14 Chong Yidong <cyd@gnu.org>
10005
10006 * startup.el (command-line): Fix X resource class for cursorColor.
10007 Fix values recognized by the cursorBlink resource.
10008
10009 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10010
10011 * epg.el (epg--make-temp-file): Avoid permission race condition
10012 when running on old Emacs versions (bug#10403).
10013
10014 2012-01-14 Glenn Morris <rgm@gnu.org>
10015
10016 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10017
10018 2012-01-13 Alan Mackenzie <acm@muc.de>
10019
10020 Fix filling for when filladapt mode is enabled.
10021
10022 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10023 c-mask-paragraph, pass in `fill-paragraph' rather than
10024 `fill-region-as-paragraph'. (This is a reversion of a previous
10025 change.)
10026 * progmodes/cc-mode.el (c-basic-common-init):
10027 Make fill-paragraph-handle-comment buffer local and set it to nil.
10028
10029 2012-01-13 Glenn Morris <rgm@gnu.org>
10030
10031 * dired.el (dired-switches-escape-p): New function.
10032 (dired-insert-directory): Use dired-switches-escape-p.
10033 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10034
10035 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10036
10037 2012-01-12 Glenn Morris <rgm@gnu.org>
10038
10039 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10040 changes in adaptive-fill-regexp. (Bug#10276)
10041
10042 2012-01-11 Alan Mackenzie <acm@muc.de>
10043
10044 Fix Emacs bug #10463 - put `widen's around the critical spots.
10045
10046 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
10047 widen around each invocation of c-state-pp-to-literal. Remove an
10048 unused let variable.
10049
10050 2012-01-11 Glenn Morris <rgm@gnu.org>
10051
10052 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
10053 Doc fix.
10054
10055 2012-01-10 Chong Yidong <cyd@gnu.org>
10056
10057 * net/network-stream.el (network-stream-open-starttls):
10058 Avoid emitting a confusing error message when the server gives a bad
10059 response to the capability command.
10060
10061 2012-01-10 Glenn Morris <rgm@gnu.org>
10062
10063 * mail/unrmail.el (unrmail): Tweak previous change.
10064
10065 2012-01-09 Chong Yidong <cyd@gnu.org>
10066
10067 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10068
10069 2012-01-08 Alan Mackenzie <acm@muc.de>
10070
10071 Optimise font locking in long enum definitions.
10072
10073 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10074 arm to a cond form to handle enums.
10075 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10076 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10077
10078 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
10079
10080 * files.el (move-file-to-trash): Preserve default file modes on error.
10081 (Bug#10401)
10082
10083 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10084
10085 * faces.el (set-face-attribute): Clarify the meaning of the nil
10086 frame (bug#10294).
10087
10088 * subr.el (with-selected-frame): Mention that the selected frame
10089 is restored (bug#9980).
10090
10091 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10092 (bug#9759).
10093
10094 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
10095 (password-read): Don't autoload unused function.
10096
10097 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
10098
10099 * progmodes/which-func.el (which-func-mode): Turn into a
10100 non-interactive function and mark as obsolete (bug#10428).
10101
10102 2012-01-06 Chong Yidong <cyd@gnu.org>
10103
10104 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10105 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10106 functions, along with 1 and -1.
10107
10108 2012-01-06 Eli Zaretskii <eliz@gnu.org>
10109
10110 * time.el (display-time-load-average)
10111 (display-time-default-load-average): Doc fixes. See the thread
10112 starting at
10113 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10114 for the details.
10115
10116 2012-01-06 Glenn Morris <rgm@gnu.org>
10117
10118 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10119 has no messages. (Bug#10377)
10120
10121 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10122 than Info-edit. (Bug#10385)
10123
10124 * time.el (display-time-load-average, display-time-next-load-average):
10125 Doc fixes.
10126
10127 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10128 local setting of buffer-read-only to the input buffer. (Bug#10419)
10129
10130 * calendar/calendar.el (calendar-mode):
10131 Locally set scroll-margin to 0. (Bug#10379)
10132
10133 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
10134
10135 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10136
10137 2012-01-05 Glenn Morris <rgm@gnu.org>
10138
10139 * eshell/em-unix.el (diff-no-select): Autoload it.
10140 (eshell/diff): Use diff-no-select. (Bug#10420)
10141
10142 2012-01-05 Chong Yidong <cyd@gnu.org>
10143
10144 * shell.el (shell-dynamic-complete-functions): Revert last change.
10145 (shell-command-completion-function): New function.
10146 (shell-completion-vars): Use it to implement
10147 shell-completion-execonly (Bug#10417).
10148
10149 * custom.el (enable-theme): Don't set custom-safe-themes.
10150
10151 * cus-theme.el (custom-theme-merge-theme):
10152 Ignore custom-enabled-themes and custom-safe-themes.
10153
10154 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10155
10156 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10157 first prompt in `sql-interacive-mode'.
10158 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
10159 keywords.
10160 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
10161 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10162 context of original buffer. Invoke `sql-login-hook'.
10163
10164 2012-01-04 Eli Zaretskii <eliz@gnu.org>
10165
10166 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10167 letters in cite-prefix.
10168
10169 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10170
10171 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10172
10173 2012-01-03 Chong Yidong <cyd@gnu.org>
10174
10175 * shell.el (shell-dynamic-complete-functions):
10176 Put pcomplete-completions-at-point, so as to try
10177 comint-filename-completion first (Bug#10417).
10178
10179 2012-01-02 Richard Stallman <rms@gnu.org>
10180
10181 * battery.el (battery-status-function):
10182 Detect when to use battery-yeeloong-sysfs.
10183 (battery-echo-area-format): Add string for Yeeloong.
10184 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10185 (battery-yeeloong-sysfs): New function.
10186
10187 2012-01-02 Chong Yidong <cyd@gnu.org>
10188
10189 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10190 (dirtrack): Merge code for handling relative filenames in prompt
10191 from shell-dir-cookie-watcher.
10192 (dirtrack-debug-message): New arg to avoid excess format calls.
10193
10194 * shell.el (shell-dir-cookie-re): Variable deleted.
10195 (shell-dir-cookie-watcher): Function deleted.
10196 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10197 with dirtrack-mode.
10198
10199 2012-01-01 Eli Zaretskii <eliz@gnu.org>
10200
10201 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10202 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
10203 libgnutls-26.dll.
10204
10205 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10206
10207 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10208
10209 2011-12-31 Eli Zaretskii <eliz@gnu.org>
10210
10211 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10212 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10213
10214 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
10215
10216 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10217 also for alternative shells.
10218 (tramp-open-connection-setup-interactive-shell): Check, whether
10219 the shell is a busybox.
10220 (tramp-send-command): Don't suppress multiple prompts for
10221 busyboxes, it hurts.
10222
10223 2011-12-28 Chong Yidong <cyd@gnu.org>
10224
10225 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10226 (gdb-get-source-file): Move mode line update to
10227 gdb-get-source-file (Bug#10087).
10228
10229 2011-12-25 Chong Yidong <cyd@gnu.org>
10230
10231 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10232 gud-gdb-marker-filter without taking it as an argument.
10233 (gud-gdb-run-command-fetch-lines): Caller changed.
10234 (gud-gdb-completion-function): New variable.
10235 (gud-gdb-completion-at-point): Use it.
10236 (gud-gdb-completions-1): Split from gud-gdb-completions.
10237
10238 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10239 function as separate arguments.
10240 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10241 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10242 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10243 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10244 (gdb-stopped, def-gdb-auto-update-trigger)
10245 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
10246 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10247 Callers changed.
10248 (gud-gdbmi-completions): New function.
10249 (gdb): Use it for generating the completion table.
10250
10251 2011-12-24 Alan Mackenzie <acm@muc.de>
10252
10253 Introduce a mechanism to widen the region used in context font
10254 locking. Use this to protect declarations from losing their contexts.
10255
10256 * progmodes/cc-langs.el (c-before-font-lock-functions):
10257 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
10258 (c-before-context-fontification-functions): New defvar, a list of
10259 functions to be run just before context (etc.) font locking.
10260
10261 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
10262 New, functionality extracted from
10263 c-neutralize-syntax-in-and-mark-CPP.
10264 (c-in-after-change-fontification): New variable.
10265 (c-after-change): Set c-in-after-change-fontification.
10266 (c-set-fl-decl-start): Rejig its interface, so it can be called
10267 from both after-change and context fontifying.
10268 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10269 New functions.
10270 (c-standard-font-lock-fontify-region-function): New variable.
10271 (c-font-lock-fontify-region): New function.
10272
10273 2011-12-24 Juri Linkov <juri@jurta.org>
10274
10275 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10276 (Bug#10348)
10277
10278 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
10279
10280 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10281 existence of source file. (Bug#10325)
10282
10283 2011-12-23 Alan Mackenzie <acm@muc.de>
10284
10285 Fix unstable fontification inside templates.
10286
10287 * progmodes/cc-langs.el (c-before-font-lock-functions):
10288 Newly created from the singular version. The (c c++ objc) entry now
10289 additionally has c-set-fl-decl-start. The other languages (apart
10290 from AWK) have that as a single entry.
10291
10292 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10293 The functionality for "local" declarations has been extracted to
10294 c-set-fl-decl-start.
10295
10296 * progmodes/cc-mode.el (c-common-init, c-after-change):
10297 Changes due to pluralisation of c-before-font-lock-functions.
10298 (c-set-fl-decl-start): New function, extracted from
10299 c-font-lock-enclosing-decls and enhanced.
10300
10301 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
10302
10303 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10304
10305 2011-12-22 Juri Linkov <juri@jurta.org>
10306
10307 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10308
10309 2011-12-22 Chong Yidong <cyd@gnu.org>
10310
10311 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10312
10313 2011-12-21 Drew Adams <drew.adams@oracle.com>
10314
10315 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10316
10317 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10318
10319 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10320
10321 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10322
10323 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10324 highlighting and support. Fix up comments for capitalization.
10325 (cfengine-mode-debug): New var.
10326 (cfengine3-mode): Change the modeline indicator to "CFE3".
10327 (cfengine3-font-lock-keywords): Improve defun highlighting.
10328 (cfengine2-actions): Rename from `cfengine-actions'.
10329 (cfengine2-font-lock-keywords): Rename from
10330 `cfengine-font-lock-keywords'.
10331 (cfengine2-imenu-expression): Rename from
10332 `cfengine-imenu-expression'.
10333 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10334 (cfengine2-beginning-of-defun): Rename from
10335 `cfengine-beginning-of-defun'.
10336 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10337 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10338 (cfengine2-mode): Rename from `cfengine-mode'. Change the
10339 modeline indicator to "CFE2".
10340 (cfengine-mode): Defalias to `cfengine-auto-mode'.
10341 (cfengine-mode-abbrevs): Mark obsolete.
10342
10343 2011-12-21 Chong Yidong <cyd@gnu.org>
10344
10345 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10346 filename argument.
10347
10348 2011-12-20 Martin Rudalics <rudalics@gmx.at>
10349
10350 * window.el (window-normalize-buffer-to-display): Remove.
10351 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10352
10353 2011-12-19 Chong Yidong <cyd@gnu.org>
10354
10355 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10356 Don't signal an error in a predicate function; return non-nil.
10357 (vc-dir-mark-file): Move the error here.
10358 (vc-dir-mark-unmark): If acting on the region, keep going if one
10359 of the entries cannot be marked/unmarked.
10360 (vc-dir-mark-all-files): If current entry is a directory, mark
10361 only child files, as documented.
10362
10363 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
10364
10365 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
10366 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
10367 addition.
10368
10369 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
10370
10371 * term/ns-win.el (ns-get-selection-internal)
10372 (ns-store-selection-internal): Declare.
10373 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10374 Declare as obsolete.
10375 (ns-get-pasteboard, ns-paste-secondary):
10376 Use ns-get-selection-internal.
10377 (ns-set-pasteboard, ns-copy-including-secondary):
10378 Use ns-store-selection-internal.
10379
10380 2011-12-17 Chong Yidong <cyd@gnu.org>
10381
10382 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
10383 (vc-deduce-fileset): Doc fix.
10384
10385 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
10386
10387 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10388
10389 2011-12-13 Sam Steingold <sds@gnu.org>
10390
10391 * man.el (Man-getpage-in-background): When running under a
10392 window-system, ignore $MANWIDTH and $COLUMNS.
10393
10394 2011-12-15 Kenichi Handa <handa@m17n.org>
10395
10396 * language/ethio-util.el: Change coding tag to utf-8-emacs.
10397 (setup-ethiopic-environment-internal): Comment out key-binding for
10398 ethio-toggle-punctuation.
10399
10400 2011-12-13 Alan Mackenzie <acm@muc.de>
10401
10402 Add the switch statement to AWK Mode.
10403
10404 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
10405 "default" to the keywords regexp.
10406
10407 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
10408 expression as the rest.
10409 (c-nonlabel-token-key): Allow string literals for AWK.
10410 Refactor for the other modes.
10411
10412 Large brace-block initialisation makes CC Mode slow: Fix.
10413 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
10414 routines. Limit backward searching in c-font-lock-enclosing.decl.
10415
10416 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
10417 pp-state and literal type in addition to the limits.
10418 (c-state-safe-place): New defun, extracted from c-state-literal-at.
10419 (c-state-literal-at): Use the above new defun.
10420 (c-slow-in-literal, c-fast-in-literal): Remove.
10421 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
10422
10423 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10424 being in a literal. Add a limit for backward searching.
10425
10426 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10427 c-slow-in-literal.
10428
10429 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
10430
10431 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10432
10433 2011-12-13 Martin Rudalics <rudalics@gmx.at>
10434
10435 * window.el (delete-other-windows): Use correct frame in call to
10436 window-with-parameter.
10437
10438 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
10439
10440 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
10441 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
10442 (makefile-gmake-statements, makefile-makepp-statements):
10443 Use it and add new makepp keywords.
10444 (makefile-makepp-font-lock-keywords): Add new patterns.
10445 (makefile-match-function-end): Match new [...] and [[...]].
10446
10447 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
10448
10449 * ses.el (ses-call-printer-return, ses-cell-property-get)
10450 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
10451 (ses-create-cell-variable, ses-reset-header-string)
10452 (ses-cell-set-formula, ses-repair-cell-reference-all)
10453 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
10454 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10455 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10456 (ses-aset-with-undo, ses-load, ses-truncate-cell)
10457 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10458 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10459 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10460 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10461 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10462 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10463 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10464 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10465
10466 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
10467
10468 * ses.el: The overall change is to add cell renaming, that is
10469 setting fancy names for cell symbols other than name matching
10470 "\\`[A-Z]+[0-9]+\\'" regexp .
10471 (ses-create-cell-variable): New defun.
10472 (ses-relocate-formula): Relocate formulas only for cells the
10473 symbols of which are not renamed, i.e. symbols whose names do not
10474 match regexp "\\`[A-Z]+[0-9]+\\'".
10475 (ses-relocate-all): Relocate values only for cells the symbols of
10476 which are not renamed.
10477 (ses-load): Create cells variables as the (ses-cell ...) are read,
10478 in order to check row col consistency with cell symbol name only
10479 for cells that are not renamed.
10480 (ses-replace-name-in-formula): New defun.
10481 (ses-rename-cell): New defun.
10482
10483 2011-12-11 Chong Yidong <cyd@gnu.org>
10484
10485 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10486 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10487
10488 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
10489
10490 * window.el (other-window): Fix docstring.
10491
10492 2011-12-10 Eli Zaretskii <eliz@gnu.org>
10493
10494 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
10495 `from' or `to' address before taking its substring.
10496 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
10497 encoded name is chopped in the middle of the encoded string, and
10498 thus displayed encoded.
10499
10500 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
10501
10502 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10503
10504 2011-12-10 Eli Zaretskii <eliz@gnu.org>
10505
10506 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
10507 to use texinfo-update-node and commands that call it if the
10508 Texinfo file uses @node lines without next/prev/up pointers.
10509 Correct outdated description about texinfo-master-menu.
10510 (texinfo-all-menus-update, texinfo-master-menu)
10511 (texinfo-update-node, texinfo-every-node-update)
10512 (texinfo-multiple-files-update): Doc fix. Warn against updating
10513 all the @node lines.
10514 (texinfo-master-menu): Only call texinfo-update-node if the prefix
10515 argument is numeric. Explain better in the doc string what the
10516 function really does.
10517 (texinfo-insert-master-menu-list): Improve the error message
10518 displayed if there's no menu in the Top node.
10519 (Bug#2975) See also this thread:
10520 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10521
10522 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
10523
10524 * speedbar.el (speedbar-supported-extension-expressions):
10525 Add .adb and .ads, commonly used for Ada source code (bug#10256).
10526
10527 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
10528
10529 * printing.el (pr-mode-alist):
10530 * simple.el (filter-buffer-substring-functions)
10531 (completion-list-insert-choice-function):
10532 * window.el (window-with-parameter, window-atom-root)
10533 (window-sides-slots, window-size-fixed, window-min-delta)
10534 (window-max-delta, window--resize-mini-window)
10535 (window--resize-child-windows-normal, window-tree)
10536 (delete-other-windows, quit-window, split-window)
10537 (display-buffer-record-window, special-display-buffer-names)
10538 (special-display-regexps, special-display-popup-frame)
10539 (same-window-p, split-window-sensibly)
10540 (display-buffer-overriding-action, display-buffer-alist)
10541 (display-buffer-base-action, display-buffer, switch-to-buffer)
10542 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10543 (fit-window-to-buffer, recenter-positions)
10544 (mouse-autoselect-window-state, mouse-autoselect-window-select):
10545 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10546 and remove unneeded backslashes in docstrings.
10547
10548 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10549
10550 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10551
10552 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10553 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10554 end in ".mk".
10555 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10556 when reading the makefile (bug#10116).
10557
10558 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10559
10560 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10561 (bug#10116).
10562
10563 2011-12-06 Glenn Morris <rgm@gnu.org>
10564
10565 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10566
10567 2011-12-06 Chong Yidong <cyd@gnu.org>
10568
10569 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10570
10571 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
10572
10573 * textmodes/table.el (table-shorten-cell): Fix typo.
10574
10575 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
10576
10577 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
10578
10579 2011-12-05 Eli Zaretskii <eliz@gnu.org>
10580
10581 * descr-text.el (describe-char): Fix display of strong
10582 right-to-left characters and directional embeddings and overrides.
10583
10584 * simple.el (what-cursor-position): Fix display of codepoints of
10585 strong right-to-left characters.
10586
10587 2011-12-05 Chong Yidong <cyd@gnu.org>
10588
10589 * faces.el (read-color): Doc fix.
10590
10591 2011-12-05 Glenn Morris <rgm@gnu.org>
10592
10593 * align.el (align--set-marker): Add doc-string.
10594 Don't try to move something that is not a marker. (Bug#10216)
10595
10596 2011-12-04 Glenn Morris <rgm@gnu.org>
10597
10598 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
10599 overly zealous deletion of trailing whitespace.
10600
10601 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
10602
10603 * server.el (server-delete-client): On Windows, do not try to delete
10604 the only terminal.
10605 (server-process-filter): On Windows, treat requests for a tty frame as
10606 if they were for a GUI frame if the running server is in GUI mode.
10607
10608 2011-12-03 Glenn Morris <rgm@gnu.org>
10609
10610 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
10611
10612 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10613
10614 * electric.el: Streamline electric-indent's hook.
10615 (electric-indent-chars): Revert to simple list.
10616 (electric-indent-functions): New var.
10617 (electric-indent-post-self-insert-function): Use it.
10618
10619 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
10620 there's no inferior buffer (bug#10196).
10621 (prolog-consult-compile): Don't use toggle-read-only.
10622
10623 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
10624
10625 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
10626 interrupt. (Bug#10187)
10627
10628 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10629
10630 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
10631 (bug#9160).
10632
10633 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
10634 (bug#10191).
10635
10636 2011-12-02 Juri Linkov <juri@jurta.org>
10637
10638 * info.el (Info-search): Display "end of manual" when Isearch
10639 reaches the end of single-file Info manual. (Bug#9918)
10640
10641 2011-12-02 Eli Zaretskii <eliz@gnu.org>
10642
10643 * isearch.el (isearch-message-prefix): Run the input method part
10644 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
10645
10646 2011-12-02 Juri Linkov <juri@jurta.org>
10647
10648 * isearch.el (isearch-occur): Use `word-search-regexp' for
10649 `isearch-word'.
10650 (isearch-search-and-update): Add condition for `isearch-word' and
10651 call `word-search-regexp'. (Bug#10145)
10652
10653 2011-12-01 Glenn Morris <rgm@gnu.org>
10654
10655 * eshell/em-hist.el (eshell-hist-initialize):
10656 Handle eshell-history-size nil and HISTSIZE set or unset.
10657 (eshell-history-file-name, eshell-history-size): Fix custom type.
10658
10659 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10660
10661 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
10662
10663 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
10664
10665 * progmodes/verilog-mode.el (verilog-pretty-expr):
10666 Rework verilog-pretty-expr to handle new assignment operators in system
10667 verilog, such as += *= and the like.
10668 (verilog-assignment-operator-re): Regular expression to find the
10669 assigment operator in a verilog assignment.
10670 (verilog-assignment-operation-re): Regular expression to find an
10671 assignment statement for pretty-expr.
10672 (verilog-in-attribute-p): Query returns true if point is in an
10673 attribute context; used to skip these for expression line up from
10674 pretty-expr.
10675 (verilog-in-parameter-p): Query returns true if point is in an
10676 parameter definition context; used to skip these for expression
10677 line up from pretty-expr.
10678 (verilog-in-parenthesis-p): Query returns true if point is in a
10679 parenthetical expression, specifically ( ) but not [ ] or { };
10680 used by pretty-expr.
10681 (verilog-just-one-space): If there is no space, don't add one.
10682 (verilog-get-lineup-indent-2): Specifically skip just attribute
10683 contexts for expression lineup, rather than skipping all
10684 parenthetical expressions.
10685 (verilog-calculate-indent): Fix comment, and fix indent.
10686 (verilog-do-indent): Indent declarations in lists (suggested by
10687 Joachim Lechner).
10688 (verilog-mode-abbrev-table): Populate abbrev mode with the various
10689 skeleton items.
10690 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
10691 by Alain Mellan).
10692
10693 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
10694
10695 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
10696 parameters with embedded comments. Reported by Ray Stevens.
10697 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
10698 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
10699 Reported by Tim Holt.
10700 (verilog-auto): Fix AUTOing a upper module then AUTOing module
10701 instantiated by upper module causing wrong expansion until AUTOed a
10702 second time. Reported by K C Buckenmaier.
10703 (verilog-diff-auto): Fix showing .* as a difference when
10704 `verilog-auto-star-save' off. Reported by Dan Dever.
10705 (verilog-auto-reset, verilog-read-always-signals)
10706 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
10707 temporary signals in reset list if
10708 verilog-auto-reset-blocking-in-non is nil, and match assignment
10709 style to each signal's assignment type, bug381.
10710 Reported by Thomas Esposito.
10711 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
10712 (verilog-uvm-statement-re): Support UVM indentation and
10713 highlighting, with old OVM keywords only.
10714 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
10715 Support AUTOTIEOFF creating non-wire data types.
10716 Suggested by Jonathan Greenlaw.
10717 (verilog-auto-insert-lisp, verilog-delete-to-paren)
10718 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
10719 (verilog-inject-sense, verilog-read-inst-pins)
10720 (verilog-read-sub-decls, verilog-read-sub-decls-line):
10721 Fix mismatching parenthesis inside commented out code when deleting
10722 AUTOINST, bug383. Reported by Jonathan Greenlaw.
10723 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
10724 non-numeric vector width. Reported by Alex Reed.
10725 (verilog-auto-ascii-enum): Add "onehot" option to work around not
10726 detecting signals with parameter widths. Reported by Alex Reed.
10727 (verilog-auto-delete-trailing-whitespace):
10728 With `verilog-auto-delete-trailing-whitespace' remove trailing
10729 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
10730 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
10731 Fix verilog-scan-cache corruption when running user AUTO expansion
10732 hooks that call indentation routines.
10733 (verilog-simplify-range-expression): Fix typo ignoring lower case
10734 identifiers.
10735 (verilog-delete-auto): Fix delete-autos to also remove user created
10736 automatics, as long as they start with AUTO.
10737 (verilog-batch-diff-auto, verilog-diff-auto)
10738 (verilog-diff-function): Add `verilog-diff-auto' and bind to
10739 "C-c?" to report differences in AUTO expansion, ignoring spaces.
10740 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
10741 (verilog-in-paren-quick, verilog-re-search-backward-quick)
10742 (verilog-re-search-forward-quick, verilog-syntax-ppss):
10743 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
10744 is disabled and its cache will get corrupt, causing AUTOS not to
10745 expand. Instead use only -quick functions.
10746 (verilog-scan-region): Fix scanning over escaped quotes.
10747 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
10748 (verilog-re-search-backward-quick)
10749 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
10750 related functions now ignore strings, to fix misparsing of strings
10751 with magic comments embedded in them.
10752 (verilog-read-auto-template):
10753 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
10754 Reported by Brad Dobbie.
10755 (verilog-read-auto-template):
10756 Fix 'verilog-auto-inst-template-numbers' with comments.
10757 Reported by Brad Dobbie.
10758 (verilog-auto-inst, verilog-auto-inst-param)
10759 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
10760 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
10761 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
10762 debugging templates without merge conflicts, bug357.
10763 Reported by Brad Dobbie.
10764 (verilog-read-auto-template):
10765 Fix verilog-auto-inst-template-numbers with multiple templates.
10766 Reported by Brad Dobbie.
10767 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
10768 abbrevs so user won't be asked to save.
10769 (verilog-read-auto-lisp-present): Fix to start at beginning of
10770 buffer in case called outside of verilog-auto.
10771 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
10772 to "X-2". Reported by Matthew Myers.
10773 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
10774 all inputs from module templates. Reported by Leith Johnson.
10775 (verilog-module-inside-filename-p): Fix locating programs as with
10776 modules.
10777 (verilog-auto-inst-port): Fix vl-width expressions when using
10778 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
10779 (verilog-decls-get-regs, verilog-decls-get-signals,
10780 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
10781 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
10782 verilog-read-decls): Combine reg and wire structures into one var
10783 structure to represent SystemVerilog concepts.
10784 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
10785 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
10786 (verilog-auto-wire-type, verilog-insert-definition):
10787 Add verilog-auto-wire-type and AUTOLOGIC to support using
10788 SystemVerilog "logic" keyword instead of "wire"/"reg".
10789 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
10790 to declares outputs that also have assignments (presumably in an
10791 ifdef or generate if so there's not a driver conflict).
10792 Reported by Matthew Myers.
10793 (verilog-auto-declare-nettype, verilog-insert-definition):
10794 Add verilog-auto-declare-nettype to fix declarations using
10795 `default_nettype none. Reported by Julian Gorfajn.
10796 (verilog-read-always-signals-recurse, verilog-read-decls)
10797 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
10798 malformed end statement, bug325. Reported by Joshua Wise and
10799 Andrew Drake.
10800 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
10801 (verilog-inst-comment-re): Fix not deleting Interfaced comment
10802 when expanding .* in interfaces, bug320.
10803 Reported by Pierre-David Pfister.
10804 (verilog-read-module-name): Fix import statements between module
10805 name and open parenthesis, bug317.
10806 Reported by Pierre-David Pfister.
10807 (verilog-simplify-range-expression): Fix simplification of
10808 multiplications inside AUTOWIRE connections, bug303.
10809 (verilog-auto-inst-port): Support parameter expansion in
10810 multidimensional arrays.
10811 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
10812 after "assert property". Reported by Julian Gorfajn.
10813 (verilog-simplify-range-expression): Fix "couldn't merge" errors
10814 with multiplication, bug303.
10815 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
10816 Reported by Jan Frode Lonnum.
10817
10818 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
10819
10820 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
10821 (hfy-shell-file-name, hfy-shell):
10822 * international/fontset.el (x-decompose-font-name): Fix typos.
10823
10824 2011-11-29 Ken Brown <kbrown@cornell.edu>
10825
10826 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
10827 (gdb-version): Remove defvar.
10828 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
10829 (gdb-gud-context-command, gdb-non-stop-handler)
10830 (gdb-current-context-command, gdb-stopped): Use it.
10831 (gdb-init-1): Enable pretty printing here.
10832 (gdb-non-stop-handler): Don't enable pretty-printing here.
10833 Check to see if the target supports non-stop mode; if not, turn off
10834 non-stop mode. Use the following.
10835 (gdb-check-target-async): New defun.
10836 (gud-watch, gdb-stopped): Fix whitespace.
10837 (gdb-get-source-file): Don't try to display the source file if
10838 `gdb-main-file' is nil.
10839
10840 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10841
10842 * align.el: Try to generate fewer markers (bug#10047).
10843 (align--set-marker): New macro.
10844 (align-region): Use it.
10845
10846 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10847
10848 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
10849
10850 2011-11-29 Chong Yidong <cyd@gnu.org>
10851
10852 * indent.el (indent-for-tab-command, indent-according-to-mode):
10853 Doc fix.
10854 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
10855
10856 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
10857
10858 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
10859 aware of remote file names. (Bug#10124)
10860
10861 2011-11-29 Chong Yidong <cyd@gnu.org>
10862
10863 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
10864
10865 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
10866
10867 * files.el (find-file): Don't use force-same-window (bug#10144).
10868 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
10869 use pop-to-buffer if the selected window can't be used.
10870 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
10871
10872 2011-11-28 Eli Zaretskii <eliz@gnu.org>
10873
10874 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
10875 special-mode-map.
10876
10877 2011-11-28 Chong Yidong <cyd@gnu.org>
10878
10879 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
10880
10881 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
10882
10883 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
10884 gdb-get-source-file-list on gdb-create-source-file-list.
10885
10886 2011-11-26 Eli Zaretskii <eliz@gnu.org>
10887
10888 * whitespace.el (whitespace-newline): Use a different foreground
10889 color for 16-color light-background displays.
10890
10891 2011-11-24 Chong Yidong <cyd@gnu.org>
10892
10893 * window.el (display-buffer--special-action): Doc fix.
10894
10895 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
10896
10897 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
10898 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
10899 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
10900 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
10901 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
10902 (avl-tree-stack-first):
10903 * emacs-lisp/cconv.el (cconv--analyse-use):
10904 * net/gnutls.el (gnutls-negotiate): Fix typos.
10905
10906 2011-11-24 Glenn Morris <rgm@gnu.org>
10907
10908 * lpr.el (lpr-windows-system, lpr-lp-system):
10909 * mail/binhex.el (binhex-begin-line):
10910 * progmodes/grep.el (grep-history, grep-find-history):
10911 * textmodes/flyspell.el:
10912 * vc/pcvs-defs.el (cvs-global-menu):
10913 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
10914 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
10915 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
10916
10917 * net/tls.el: Fix case of "GnuTLS".
10918
10919 * paths.el (rmail-file-name): Format doc-string for make-docfile.
10920
10921 * version.el (emacs-build-system): Give it a doc-string.
10922
10923 2011-11-24 Juri Linkov <juri@jurta.org>
10924
10925 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
10926
10927 2011-11-24 Glenn Morris <rgm@gnu.org>
10928
10929 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
10930 if called on a non-mime message just toggle the headers. (Bug#8006)
10931
10932 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
10933
10934 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
10935 (allout-lead-with-comment-string, allout-structure-deleted-hook)
10936 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
10937 (allout-rebullet-heading, allout-open-sibtopic)
10938 (allout-toggle-current-subtree-encryption)
10939 (allout-toggle-subtree-encryption, allout-encrypt-string)
10940 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
10941 (allout-distinctive-bullets-string, allout-auto-activation):
10942 * window.el (window-normalize-buffer-to-display):
10943 * progmodes/verilog-mode.el (verilog-batch-indent):
10944 * textmodes/bibtex.el (bibtex-field-braces-opt)
10945 (bibtex-field-strings-opt):
10946 * vc/cvs-status.el (cvs-tree-merge):
10947 Fix typos.
10948
10949 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
10950
10951 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
10952 `non-essential' to t, in order to avoid remote connections.
10953
10954 2011-11-23 Eli Zaretskii <eliz@gnu.org>
10955
10956 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10957 On MS-DOS and MS-Windows, compare with loaddefs.el
10958 case-insensitively.
10959
10960 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10961
10962 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
10963
10964 2011-11-23 Glenn Morris <rgm@gnu.org>
10965
10966 * paths.el (rmail-file-name): Reformat the doc-string so that it
10967 is picked up.
10968
10969 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
10970 (rmail-auto-file): Ignore case in the "special" field names,
10971 as mail-fetch-field does for all others.
10972
10973 * mail/rmail.el (rmail-forward):
10974 * mail/rmailkwd.el (rmail-set-label):
10975 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
10976 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
10977
10978 * mail/rmail.el (rmail-current-message): Doc fix.
10979
10980 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
10981
10982 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
10983
10984 * server.el (server-eval-and-print): Allow C-g (bug#6585).
10985
10986 2011-11-22 Glenn Morris <rgm@gnu.org>
10987
10988 * mail/rmailmm.el (test-rmail-mime-handler)
10989 (test-rmail-mime-bulk-handler)
10990 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
10991
10992 2011-11-21 Juri Linkov <juri@jurta.org>
10993
10994 * calc/calc.el (calc-read-key-sequence):
10995 Let-bind `input-method-function' to nil. (Bug#10018)
10996
10997 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10998
10999 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11000 Tell the caller that the next line needs recomputation, even
11001 though it doesn't start a sexp (bug#10094).
11002
11003 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11004
11005 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11006
11007 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11008
11009 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11010 Use force-same-window.
11011
11012 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
11013
11014 * descr-text.el (describe-char-unicode-data):
11015 * json.el (json-string-escape):
11016 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11017 (Footnote-unicode, Footnote-style-p):
11018 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11019
11020 2011-11-20 Chong Yidong <cyd@gnu.org>
11021
11022 * window.el (replace-buffer-in-windows): Restore interactive spec.
11023
11024 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11025
11026 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11027
11028 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11029 (byte-compile-global-not-obsolete-vars): New var.
11030 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11031 Use it.
11032 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11033
11034 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
11035
11036 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11037 * progmodes/pascal.el (electric-pascal-equal):
11038 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11039 * xml.el (xml-substitute-special): Fix typos.
11040
11041 2011-11-20 Glenn Morris <rgm@gnu.org>
11042
11043 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11044 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11045 Doc fixes.
11046 (rmail-decode-mime-charset): Mark as obsolete.
11047
11048 * mail/rmailsum.el (rmail-message-regexp-p-1):
11049 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11050 Before using mime functions, check they are set. (Bug#10077)
11051
11052 2011-11-19 Juri Linkov <juri@jurta.org>
11053
11054 * info.el (Info-finder-find-node): Use `package--builtins' instead
11055 of `package-alist'. Use node names formed by the pattern "Keyword "
11056 and the keyword name.
11057
11058 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11059
11060 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
11061
11062 2011-11-19 Juri Linkov <juri@jurta.org>
11063
11064 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11065 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11066 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11067 `old-history', `old-history-forward'. Add let-binding
11068 `window-selected'. Remove calls to `kill-buffer',
11069 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11070 before calling `Info-find-node', so `Info-find-node-2' will reread
11071 the Info file. Restore window positions only when `window-selected'
11072 is non-nil.
11073
11074 2011-11-19 Juri Linkov <juri@jurta.org>
11075
11076 * isearch.el (isearch-lazy-highlight-new-loop):
11077 Remove condition `(not isearch-error)'. (Bug#9918)
11078
11079 * misearch.el (multi-isearch-search-fun): Add condition
11080 `(not bound)' to ignore lazy-highlighting search.
11081 Add the search-failed message "end of multi" when the end of
11082 multi-sequence is reached. Uncapitalize the search-failed
11083 message "Repeat for next buffer".
11084
11085 * info.el (Info-search): Add the search-failed message
11086 "end of the manual" when the end of the manual is reached
11087 in Isearch mode.
11088
11089 2011-11-19 Juri Linkov <juri@jurta.org>
11090
11091 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11092 Use non-destructive `remove' instead of `delete' because
11093 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11094 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11095
11096 2011-11-19 Juri Linkov <juri@jurta.org>
11097
11098 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11099 to nil instead of binding `search-ring' and `regexp-search-ring'.
11100 (Bug#9185)
11101
11102 2011-11-19 Eli Zaretskii <eliz@gnu.org>
11103
11104 * simple.el (line-move): Force movement by logical lines for any
11105 hscrolled window, not only when auto-hscroll-mode is on.
11106 (line-move-visual): Update doc string to that effect. (Bug#10076)
11107
11108 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11109
11110 * language/european.el (macintosh): Define as alias for mac-roman.
11111
11112 2011-11-19 Eli Zaretskii <eliz@gnu.org>
11113
11114 * mail/rmailmm.el (rmail-mime-display-header)
11115 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11116 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11117 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11118 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11119 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11120 of a raw aref.
11121 (rmail-mime-entity-segment): To get past the tagline, move forward
11122 2 more lines, to account for the 2 empty lines that precede and
11123 follow the line with the buttons.
11124 (rmail-mime-update-tagline): Move one more line, to get past the
11125 empty line that follows the buttons in the tagline. (Bug#9520)
11126
11127 2011-11-19 Martin Rudalics <rudalics@gmx.at>
11128
11129 * window.el (window-max-delta-1, window-min-delta-1)
11130 (window-min-size-1, window-state-get-1, window-state-put-1)
11131 (window-state-put-2): Use "window--" prefix.
11132
11133 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11134
11135 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11136 (smie-warning-count): New var.
11137 (smie-set-prec2tab): Use it.
11138 (smie-bnf->prec2): Improve warnings. Add docstring.
11139 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11140 (smie-bnf--set-class): New function.
11141 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11142 corner case.
11143
11144 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11145 (compilation-error-properties, compilation-move-to-column):
11146 Handle compilation-first-column while in the target buffer.
11147
11148 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11149 Don't hardcode point-min==1.
11150
11151 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11152 (eshell-rewrite-for-command): Remove workaround.
11153 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11154 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11155 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11156
11157 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11158
11159 2011-11-17 Glenn Morris <rgm@gnu.org>
11160
11161 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11162 Ignore buffer-local generated-autoload-file if it is the same
11163 as the global value. (Bug#10049)
11164
11165 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
11166
11167 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11168 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11169 (reftex-toc-previous-heading, reftex-toc-max-level)
11170 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11171 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11172 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11173 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11174 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11175 (reftex-toc-rename-label, reftex-toc-visit-location)
11176 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11177 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11178 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11179 leaving "*toc*" only for references to the buffer.
11180
11181 2011-11-17 Martin Rudalics <rudalics@gmx.at>
11182
11183 * window.el (window-resize, delete-window, split-window):
11184 Replace window-splits by window-combination-resize.
11185 * cus-start.el (window-splits): Replace by window-combination-resize.
11186
11187 2011-11-17 Glenn Morris <rgm@gnu.org>
11188
11189 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11190 Make bash entry derive from sh entry, not shell entry.
11191
11192 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
11193
11194 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11195 local file name.
11196
11197 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
11198
11199 * menu-bar.el (menu-bar-file-menu):
11200 * printing.el (pr-ps-utility):
11201 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11202 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11203 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11204 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11205 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11206 (icalendar--convert-cyclic-to-ical)
11207 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11208 (icalendar--convert-ical-to-diary)
11209 (icalendar--convert-recurring-to-diary)
11210 (icalendar--convert-non-recurring-all-day-to-diary)
11211 (icalendar-import-format-sample):
11212 * progmodes/idlw-shell.el (idlwave-shell-mode):
11213 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11214 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11215 (vhdl-ps-print-init): Fix typos.
11216
11217 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11218
11219 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11220 FSF and collapse date sequence, obscure author/maintainer email address
11221 better, remove extra version line, track relocation of author's webpage.
11222
11223 * progmodes/python.el (python-pdbtrack-input-prompt)
11224 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11225 regular python pdb prompts. Adjustments shamelessly taken exactly as
11226 suggested in EmacsWiki page (tiny change):
11227 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
11228
11229 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
11230
11231 * expand.el (expand-pos, expand-index, expand-point):
11232 Remove redundant info from docstring.
11233 (expand-add-abbrevs): Doc fix.
11234 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11235 (expand-sample-perl-mode-expand-list): Fix typos.
11236
11237 * net/dbus.el (dbus-event-member-name):
11238 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11239 * term/pc-win.el (msdos-create-frame-with-faces):
11240 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11241
11242 2011-11-16 Martin Rudalics <rudalics@gmx.at>
11243
11244 * window.el (split-window, window-state-get-1)
11245 (window-state-put-1, window-state-put-2): Rename occurrences of
11246 window-nest to window-combination-limit.
11247 * cus-start.el (window-nest): Rename to window-combination-limit.
11248
11249 2011-11-16 Chong Yidong <cyd@gnu.org>
11250
11251 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11252 regexp (Bug#10033).
11253
11254 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11255
11256 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11257 `completing-read' will remove *Completions* and will preserve
11258 current-buffer for us.
11259 (tmm-add-prompt): Users of *Completions* will always (re)set its
11260 major mode.
11261 (tmm-old-comp-map): Remove.
11262
11263 2011-11-16 Glenn Morris <rgm@gnu.org>
11264
11265 * mail/rmailedit.el: Require rmailmm when compiling.
11266 (rmail-old-mime-state): New declaration.
11267 (rmail-edit-current-message): If editing a mime message,
11268 edit the "raw" message from the mbox buffer.
11269 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11270
11271 2011-11-15 Glenn Morris <rgm@gnu.org>
11272
11273 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11274 which wasn't being used. Add optional arg to force given state.
11275 (rmail-mime): Add optional arg to force given state.
11276
11277 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
11278
11279 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11280 * frame.el (display-mm-dimensions-alist):
11281 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11282 (outline-move-subtree-down):
11283 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11284 (newsticker--treeview-do-get-node):
11285 * net/quickurl.el (quickurl-list-buffer-name):
11286 * progmodes/dcl-mode.el (dcl-mode):
11287 * progmodes/gdb-mi.el (gdb-mapcar*):
11288 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11289
11290 2011-11-15 Glenn Morris <rgm@gnu.org>
11291
11292 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11293 in a boolean sense, so just make it a boolean, and fix the doc.
11294 (rmail-show-mime-function, rmail-mime-feature)
11295 (rmail-require-mime-maybe): Doc fixes.
11296 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11297
11298 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11299
11300 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
11301
11302 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11303 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11304 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11305 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11306
11307 2011-11-15 Glenn Morris <rgm@gnu.org>
11308
11309 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11310 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11311 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11312 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11313 (rmail-mime, rmail-show-mime): Doc fixes.
11314
11315 * term/ns-win.el (mode-line-frame-identification):
11316 Leave it alone. (Bug#10051)
11317
11318 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11319
11320 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11321 Handle empty buffers. (Bug#9978)
11322
11323 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
11324
11325 * international/mule.el (define-charset):
11326 * mail/rmailmm.el (rmail-mime-find-header-encoding):
11327 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11328 * progmodes/verilog-mode.el (verilog-backward-token):
11329 * textmodes/ispell.el (lookup-words):
11330 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11331
11332 2011-11-14 Glenn Morris <rgm@gnu.org>
11333
11334 * progmodes/executable.el
11335 (executable-make-buffer-file-executable-if-script-p):
11336 Handle file-modes returning nil.
11337
11338 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11339 message - not necessary, and causes problems. (Bug#9831)
11340
11341 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11342
11343 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11344
11345 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11346 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
11347 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11348
11349 2011-11-12 Martin Rudalics <rudalics@gmx.at>
11350
11351 * window.el (window-resize, delete-window): Use window-splits
11352 variable instead of function.
11353 (window-state-get-1, window-state-put-2, window-state-put):
11354 Don't deal with windows' splits status.
11355
11356 2011-11-12 Glenn Morris <rgm@gnu.org>
11357
11358 * apropos.el (apropos-do-all, apropos-library, apropos-value)
11359 (apropos-documentation): Doc fixes.
11360
11361 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
11362
11363 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11364 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11365
11366 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11367
11368 * electric.el (electric-indent-post-self-insert-function): Make it
11369 possible for a char to only indent in some circumstances.
11370 (electric-indent-mode): Simplify.
11371
11372 2011-11-11 Martin Rudalics <rudalics@gmx.at>
11373
11374 * window.el (windows-with-parameter): Remove unused function.
11375 (windows-at-side): Rename to window-at-side-list.
11376 (window-check, window-atom-check, window-atom-check-1)
11377 (window-side-check, window-size-ignore, window-size-fixed-1)
11378 (window-in-direction-2): Prefix with "window--".
11379 (window-tree-1): Rename to window--subtree, fix doc-string.
11380
11381 2011-11-11 Glenn Morris <rgm@gnu.org>
11382
11383 * subr.el (eval-after-load): If FILE is already loaded,
11384 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
11385
11386 2011-11-10 Glenn Morris <rgm@gnu.org>
11387
11388 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11389 Call svn via vc-svn-command rather than vc-do-command.
11390 (vc-svn-command): Add --non-interactive. (Bug#9993)
11391 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11392
11393 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11394 Add toggle-read-only. (Bug#7292)
11395 * files.el (toggle-read-only): Mention that it should only
11396 be used interactively. (Bug#10006)
11397
11398 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
11399
11400 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11401 Adjust regexp for OCaml warnings.
11402
11403 * electric.el (electric-pair-post-self-insert-function): Let user
11404 turn it off buffer-locally (bug#9932).
11405
11406 * progmodes/python.el (python-beginning-of-statement):
11407 Rewrite (bug#2703).
11408
11409 * progmodes/compile.el: Better handle TABs (bug#9749).
11410 (compilation-internal-error-properties)
11411 (compilation-next-error-function): Obey the target buffer's
11412 compilation-error-screen-columns.
11413
11414 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
11415
11416 * progmodes/meta-mode.el: Remove obsolete comments.
11417 (meta-right-comment-regexp, meta-ignore-comment-regexp):
11418 Fix typos in docstrings.
11419
11420 2011-11-09 Martin Rudalics <rudalics@gmx.at>
11421
11422 * window.el (window-size-fixed-p): Rewrite doc-string.
11423 (window-resizable-p): Rename to window--resizable-p. Update callers.
11424 (window--resizable): New function. Make all callers of
11425 window-resizable call window--resizable instead.
11426 (window-resizable): Rewrite in terms of window--resizable.
11427
11428 2011-11-08 Glenn Morris <rgm@gnu.org>
11429
11430 * progmodes/delphi.el (delphi-mode-syntax-table):
11431 Let define-derived-mode define a proper syntax table. (Bug#9994)
11432
11433 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11434
11435 * window.el: Stay away from defsubst.
11436 (window-list-no-nils): Remove.
11437 (window-state-get-1, window-state-get): Use backquote instead.
11438
11439 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11440
11441 * emacs-lisp/find-func.el (find-function-read):
11442 Fix incorrect use of default argument in `completing-read'.
11443
11444 2011-11-08 Martin Rudalics <rudalics@gmx.at>
11445
11446 * window.el (display-buffer-function, special-display-function):
11447 Mention display-buffer-record-window but do not mention
11448 help-setup parameter in doc-strings.
11449 (window-min-delta): Fix doc-string typo.
11450
11451 2011-11-08 Chong Yidong <cyd@gnu.org>
11452
11453 * window.el (window-total-height, window-total-width): Doc fix.
11454 (window-body-size): Move from C.
11455 (window-body-height, window-body-width): Move to C.
11456
11457 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11458
11459 * window.el: Make special-display like display-buffer-alist (bug#9532).
11460 (display-buffer--special-action): New function, morphed
11461 from display-buffer--special.
11462 (display-buffer): Use it to handle special-display-buffers at higher
11463 priority (just after display-buffer-alist).
11464 (display-buffer-fallback-action, display-buffer--other-frame-action)
11465 (pop-to-buffer-same-window): Remove display-buffer--special.
11466
11467 2011-11-07 Glenn Morris <rgm@gnu.org>
11468
11469 * calendar/cal-menu.el (cal-menu-set-date-title):
11470 Do nothing if not in a calendar. (Bug#9976)
11471
11472 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11473
11474 * files.el (find-file): Always use selected-window.
11475
11476 2011-11-07 Martin Rudalics <rudalics@gmx.at>
11477
11478 * window.el (window-combinations): Make WINDOW argument
11479 mandatory. Rewrite doc-string.
11480 (walk-window-subtree, window-atom-check, window-min-delta)
11481 (window-max-delta, window--resize-this-window)
11482 (window--resize-root-window-vertically, window-tree)
11483 (balance-windows, window-state-put): Rewrite doc-strings as to
11484 not mention the term "subwindow".
11485 (window--resize-subwindows-skip-p): Rename to
11486 window--resize-child-windows-skip-p.
11487 (window--resize-subwindows-normal): Rename to
11488 window--resize-child-windows-normal.
11489 (window--resize-subwindows): Rename to
11490 window--resize-child-windows.
11491 (window-or-subwindow-p): Rename to window--in-subtree-p.
11492
11493 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11494
11495 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11496 Ensure that mbox format messages end in two newlines (Bug#9974).
11497
11498 2011-11-06 Chong Yidong <cyd@gnu.org>
11499
11500 * window.el (window-combination-p): Function deleted; its
11501 side-effect is not used in any existing code.
11502 (window-combinations, window-combined-p): Call window-*-child
11503 directly.
11504
11505 2011-11-05 Chong Yidong <cyd@gnu.org>
11506
11507 * window.el (window-valid-p): Rename from window-any-p.
11508 (window-size-ignore, window-state-get): Callers changed.
11509 (window-normalize-window): Rename from window-normalize-any-window.
11510 New arg LIVE-ONLY, replacing window-normalize-live-window.
11511 (window-normalize-live-window): Delete.
11512 (window-combination-p, window-combined-p, window-combinations)
11513 (walk-window-subtree, window-atom-root, window-min-size)
11514 (window-sizable, window-sizable-p, window-size-fixed-p)
11515 (window-min-delta, window-max-delta, window-resizable)
11516 (window-resizable-p, window-full-height-p, window-full-width-p)
11517 (window-current-scroll-bars, window-point-1, set-window-point-1)
11518 (window-at-side-p, window-in-direction, window-resize)
11519 (adjust-window-trailing-edge, maximize-window, minimize-window)
11520 (window-deletable-p, delete-window, delete-other-windows)
11521 (record-window-buffer, unrecord-window-buffer)
11522 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11523 (quit-window, split-window, window-state-put)
11524 (set-window-text-height, fit-window-to-buffer)
11525 (shrink-window-if-larger-than-buffer): Callers changed.
11526
11527 2011-11-04 Eli Zaretskii <eliz@gnu.org>
11528
11529 * mail/rmail.el (rmail-simplified-subject): Decode subject with
11530 rfc2047-decode-string.
11531 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11532 warnings.
11533
11534 * window.el (window-body-height, window-body-width): Mention in
11535 the doc string that the return values are in frame's canonical
11536 units. (Bug#9949)
11537
11538 2011-11-03 Alan Mackenzie <acm@muc.de>
11539
11540 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11541 change in cc-engine.el.
11542
11543 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
11544
11545 * window.el (switch-to-buffer): Use `force-same-window' interactively.
11546
11547 2011-11-02 Martin Rudalics <rudalics@gmx.at>
11548
11549 * window.el (quit-window): Call unrecord-window-buffer after
11550 showing another buffer in the window. (Bug#9937)
11551 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
11552
11553 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
11554
11555 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11556 Accept status with more than 9 shelves. (Bug#9935)
11557 Reported by Colin D Bennett <colin@gibibit.com>.
11558
11559 2011-11-01 Martin Rudalics <rudalics@gmx.at>
11560
11561 * help.el (with-help-window): Don't reference
11562 temp-buffer-show-specifiers in doc-string.
11563
11564 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
11565
11566 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11567 menu-item.
11568
11569 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11570
11571 * whitespace.el: New version 13.2.2.
11572 (whitespace-newline-mode): Disable properly. Reported by Sarah
11573 <EmacsWiki>.
11574
11575 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
11576
11577 * net/newst-treeview.el: Remove "Time-stamp".
11578 (newsticker--group-manage-orphan-feeds): Do not call
11579 newsticker--treeview-tree-update.
11580 (newsticker-treeview-update, newsticker-treeview):
11581 Call newsticker--treeview-tree-update if necessary.
11582
11583 2011-10-30 Martin Rudalics <rudalics@gmx.at>
11584
11585 * window.el (window-iso-combination-p, window-iso-combined-p)
11586 (window-iso-combinations): Remove "iso-" infix.
11587 Suggested by Chong Yidong.
11588 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
11589 (window-max-delta-1, window-resize, window--resize-siblings)
11590 (window--resize-this-window, adjust-window-trailing-edge)
11591 (split-window, balance-windows-1)
11592 (shrink-window-if-larger-than-buffer):
11593 * calendar/calendar.el (calendar-generate-window):
11594 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
11595
11596 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11597
11598 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
11599 in place (bug#9907).
11600 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
11601 (eshell-rewrite-if-command, eshell-rewrite-for-command)
11602 (eshell-structure-basic-command, eshell-rewrite-while-command)
11603 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
11604 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
11605 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11606 (eshell-do-pipelines-synchronously, eshell-eval-command):
11607 Use backquotes and prefer setq to set.
11608 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
11609 (eshell-macrop): Use functionp.
11610 (eshell-do-eval): Handle multiple expressions in `while' body.
11611
11612 2011-10-30 Chong Yidong <cyd@gnu.org>
11613
11614 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
11615 instead of set-mark (Bug#9810).
11616
11617 2011-10-30 Chong Yidong <cyd@gnu.org>
11618
11619 * window.el (split-window-below, split-window-right): Rename from
11620 split-window-above-each-other and split-window-side-by-side
11621 respectively. All callers changed.
11622 (split-window-sensibly, split-window-sensibly): Use them.
11623 (split-window-keep-point): Doc fix.
11624
11625 * isearch.el: Add isearch-scroll property to split-window-below
11626 and split-window-right.
11627
11628 * follow.el (follow-mode):
11629 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11630 * progmodes/ada-xref.el (ada-gdb-application):
11631 * emulation/vip.el (vip-buffer-in-two-windows):
11632 * image-dired.el (image-dired-dired-with-window-configuration):
11633 * dired-x.el (dired-do-find-marked-files):
11634 * dired.el (dired-pop-to-buffer):
11635 * bs.el (bs--show-with-configuration):
11636 * vc/emerge.el (emerge-setup-windows):
11637 * textmodes/two-column.el (2C-two-columns):
11638 * textmodes/reftex-toc.el (reftex-toc):
11639 * progmodes/gdb-mi.el (gdb-setup-windows):
11640 * progmodes/fortran.el (fortran-window-create):
11641 * net/newst-treeview.el (newsticker--treeview-window-init):
11642 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11643 * emulation/tpu-edt.el (tpu-gold-map):
11644 * emulation/crisp.el (crisp-mode-map):
11645 * calendar/calendar.el (calendar-basic-setup): Callers changed.
11646
11647 2011-10-29 Chong Yidong <cyd@gnu.org>
11648
11649 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
11650
11651 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
11652
11653 * textmodes/flyspell.el (flyspell-word): Fix char offset for
11654 forged Ispell output (Bug#7904).
11655
11656 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
11657
11658 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11659
11660 * doc-view.el: Avoid ugly errors about not finding nil.
11661 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
11662 (doc-view-dvipdf-program, doc-view-unoconv-program)
11663 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
11664 Avoid nil or absolute file name as default value.
11665 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
11666
11667 2011-10-28 Alan Mackenzie <acm@muc.de>
11668
11669 * progmodes/cc-defs.el (c-version): -> 5.32.2.
11670
11671 2011-10-28 Alan Mackenzie <acm@muc.de>
11672
11673 Amend the handling of c-beginning/end-of-defun in nested declaration
11674 scopes.
11675
11676 * progmodes/cc-vars.el (c-defun-tactic): Move here from
11677 cc-langs.el. Change it to a defcustom.
11678
11679 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
11680 cc-vars.el.
11681
11682 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11683 Prevent "class foo : bar" being spuriously recognized as a label.
11684
11685 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
11686 Add parameter `inclusive' (to include enclosing braces in the region).
11687 (c-widen-to-enclosing-decl-scope): New function.
11688 (c-while-widening-to-decl-block): New macro.
11689 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
11690 outward for defun boundaries, and correspondingly change symbol
11691 `respect-enclosure' to `go-outward'.
11692 (c-declaration-limits): Change algorithm to report only the "innermost"
11693 defun's boundaries.
11694
11695 2011-10-28 Deniz Dogan <deniz@dogan.se>
11696
11697 * net/rcirc.el (rcirc-mode): Use hard newlines.
11698
11699 2011-10-28 Alan Mackenzie <acm@muc.de>
11700
11701 Amend to indent and fontify macros "which include their own semicolon"
11702 correctly, using the "virtual semicolon" mechanism.
11703
11704 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
11705
11706 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
11707 Recode to scan one line at a time rather than having \n and \r
11708 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
11709 (c-forward-label): Amend for virtual semicolons.
11710 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
11711
11712 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
11713 of the new C macros.
11714
11715 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
11716 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
11717 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
11718 (c-opt-cpp-macro-define): Make into a full language variable.
11719 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
11720 AWK Mode (including \n, \r) removed, no longer needed.
11721
11722 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
11723 Invoke c-make-macro-with-semi-re.
11724
11725 * progmodes/cc-vars.el (c-macro-with-semi-re):
11726 (c-macro-names-with-semicolon): New variables.
11727 (c-make-macro-with-semi-re): New function.
11728
11729 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11730
11731 * vc/log-edit.el: Fill empty field rather than adding new one.
11732 (log-edit-add-field): New function.
11733 (log-edit-insert-changelog): Use it.
11734
11735 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11736
11737 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
11738
11739 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11740
11741 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
11742 (gdb--check-interpreter): New function.
11743 (gdb): Use it.
11744
11745 2011-10-27 Glenn Morris <rgm@gnu.org>
11746
11747 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
11748 (least-positive-float, least-negative-float)
11749 (least-positive-normalized-float, least-negative-normalized-float)
11750 (float-epsilon, float-negative-epsilon):
11751 Remove unnecessary declarations.
11752
11753 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
11754 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
11755 (least-positive-float, least-negative-float)
11756 (least-positive-normalized-float, least-negative-normalized-float)
11757 (float-epsilon, float-negative-epsilon): Add doc-strings,
11758 based on those in cl.texi.
11759
11760 * files.el (set-visited-file-name): If the major-mode changed,
11761 reload the local variables. (Bug#9796)
11762
11763 2011-10-27 Chong Yidong <cyd@gnu.org>
11764
11765 * subr.el (change-major-mode-after-body-hook): New hook.
11766 (run-mode-hooks): Run it.
11767
11768 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11769 Use change-major-mode-before-body-hook.
11770
11771 * simple.el (fundamental-mode):
11772 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
11773 change introducing fundamental-mode-hook.
11774
11775 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
11776
11777 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
11778
11779 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
11780
11781 * ido.el (ido-file-name-all-completions-1): Do not require
11782 tramp.el explicitly. (Bug#7583)
11783
11784 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
11785
11786 * progmodes/octave-mod.el:
11787 * progmodes/octave-inf.el: Update maintainer.
11788
11789 2011-10-26 Chong Yidong <cyd@gnu.org>
11790
11791 * subr.el (with-wrapper-hook): Rewrite doc.
11792
11793 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
11794
11795 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
11796 filenames "/method:foo:". (Bug#9793)
11797
11798 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
11799
11800 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
11801 (bug#9865).
11802
11803 2011-10-24 Glenn Morris <rgm@gnu.org>
11804
11805 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
11806
11807 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
11808
11809 * notifications.el: Add the requirement of a running D-Bus session
11810 bus to the Commentary.
11811
11812 2011-10-24 Juri Linkov <juri@jurta.org>
11813
11814 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11815 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
11816 (Bug#9364)
11817
11818 2011-10-24 Juri Linkov <juri@jurta.org>
11819
11820 * info.el (Info-following-node-name-re): Add newline to the list
11821 of allowed characters for leading space. (Bug#9824)
11822
11823 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
11824
11825 * progmodes/octave-inf.el (inferior-octave-mode-map):
11826 Fix C-c C-h binding.
11827 * progmodes/octave-mod.el (octave-help): Remove.
11828
11829 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
11830
11831 Sync with Tramp 2.2.3.
11832
11833 * net/tramp-cache.el (top): Pacify byte-compiler using
11834 `init-file-user' and `site-run-file'.
11835
11836 * net/trampver.el: Update release number.
11837
11838 2011-10-23 Chong Yidong <cyd@gnu.org>
11839
11840 * files.el (toggle-read-only): Remove obsolete comment about
11841 version control.
11842
11843 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
11844 for toggle-read-only. Note that this hasn't called vc-next-action
11845 since 2008-05-02, though it wasn't documented at the time.
11846
11847 * vc/ediff-init.el (ediff-toggle-read-only-function):
11848 Use toggle-read-only.
11849
11850 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
11851
11852 Fix bug #9560, sporadic wrong indentation; improve instrumentation
11853 of c-parse-state.
11854
11855 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11856 correct faulty logical expression.
11857 (c-parse-state-state, c-record-parse-state-state):
11858 (c-replay-parse-state-state): New defvar/defuns.
11859 (c-debug-parse-state): Use new functions.
11860
11861 2011-10-22 Martin Rudalics <rudalics@gmx.at>
11862
11863 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
11864 last fix. Use window-in-direction correctly.
11865
11866 2011-10-21 Chong Yidong <cyd@gnu.org>
11867
11868 * progmodes/idlwave.el (idlwave-mode):
11869 * progmodes/vera-mode.el (vera-mode): No need to set
11870 require-final-newline; that's done in prog-mode.
11871 Suggested by Stefan Monnier.
11872
11873 2011-10-21 Martin Rudalics <rudalics@gmx.at>
11874
11875 * mouse.el (mouse-drag-window-above)
11876 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
11877 (mouse-drag-mode-line-1, mouse-drag-header-line)
11878 (mouse-drag-vertical-line-rightward-window): Remove.
11879 (mouse-drag-line): New function.
11880 (mouse-drag-mode-line, mouse-drag-header-line)
11881 (mouse-drag-vertical-line): Call mouse-drag-line.
11882 * window.el (window-at-side-p, windows-at-side): New functions.
11883
11884 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
11885
11886 * tar-mode.el (tar-grind-file-mode):
11887 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
11888
11889 2011-10-21 Chong Yidong <cyd@gnu.org>
11890
11891 * progmodes/idlwave.el (idlwave-mode):
11892 * progmodes/vera-mode.el (vera-mode):
11893 Use mode-require-final-newline.
11894
11895 2011-10-20 Glenn Morris <rgm@gnu.org>
11896
11897 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
11898
11899 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
11900
11901 * emulation/cua-base.el (cua-set-mark): Fix case of string.
11902
11903 2011-10-20 Chong Yidong <cyd@gnu.org>
11904
11905 * emulation/cua-base.el (cua-mode):
11906 * mail/footnote.el (footnote-mode):
11907 * mail/mailabbrev.el (mail-abbrevs-mode):
11908 * net/xesam.el (xesam-minor-mode):
11909 * progmodes/bug-reference.el (bug-reference-mode):
11910 * progmodes/cap-words.el (capitalized-words-mode):
11911 * progmodes/compile.el (compilation-minor-mode)
11912 (compilation-shell-minor-mode):
11913 * progmodes/gud.el (gud-tooltip-mode):
11914 * progmodes/hideif.el (hide-ifdef-mode):
11915 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
11916 * progmodes/subword.el (subword-mode):
11917 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11918 * progmodes/which-func.el (which-function-mode):
11919 * term/tvi970.el (tvi970-set-keypad-mode):
11920 * term/vt100.el (vt100-wide-mode):
11921 * textmodes/flyspell.el (flyspell-mode):
11922 * textmodes/ispell.el (ispell-minor-mode):
11923 * textmodes/nroff-mode.el (nroff-electric-mode):
11924 * textmodes/paragraphs.el (use-hard-newlines):
11925 * textmodes/refill.el (refill-mode):
11926 * textmodes/reftex.el (reftex-mode):
11927 * textmodes/rst.el (rst-minor-mode):
11928 * textmodes/sgml-mode.el (html-autoview-mode)
11929 (sgml-electric-tag-pair-mode):
11930 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
11931 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
11932 * emulation/crisp.el (crisp-mode):
11933 * emacs-lisp/eldoc.el (eldoc-mode):
11934 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
11935 minor mode behavior.
11936
11937 2011-10-19 Juri Linkov <juri@jurta.org>
11938
11939 * descr-text.el (describe-char): Add #x2010 and #x2011 to
11940 the list of hard-coded chars with escape-glyph face.
11941
11942 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
11943
11944 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
11945
11946 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
11947
11948 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
11949 running process.
11950
11951 2011-10-19 Glenn Morris <rgm@gnu.org>
11952
11953 * vc/vc-bzr.el (vc-bzr-after-dir-status):
11954 Ignore ignored files. (Bug#9726)
11955
11956 2011-10-19 Chong Yidong <cyd@gnu.org>
11957
11958 Doc fix for minor modes, stating that an omitted argument enables
11959 the mode unconditionally when called from Lisp.
11960
11961 * abbrev.el (abbrev-mode):
11962 * allout.el (allout-mode):
11963 * autoinsert.el (auto-insert-mode):
11964 * autoarg.el (autoarg-mode, autoarg-kp-mode):
11965 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11966 (global-auto-revert-mode):
11967 * battery.el (display-battery-mode):
11968 * composite.el (global-auto-composition-mode)
11969 (auto-composition-mode):
11970 * delsel.el (delete-selection-mode):
11971 * desktop.el (desktop-save-mode):
11972 * dired-x.el (dired-omit-mode):
11973 * dirtrack.el (dirtrack-mode):
11974 * doc-view.el (doc-view-minor-mode):
11975 * double.el (double-mode):
11976 * electric.el (electric-indent-mode, electric-pair-mode):
11977 * emacs-lock.el (emacs-lock-mode):
11978 * epa-hook.el (auto-encryption-mode):
11979 * follow.el (follow-mode):
11980 * font-core.el (font-lock-mode):
11981 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
11982 * help.el (temp-buffer-resize-mode):
11983 * hilit-chg.el (highlight-changes-mode)
11984 (highlight-changes-visible-mode):
11985 * hi-lock.el (hi-lock-mode):
11986 * hl-line.el (hl-line-mode, global-hl-line-mode):
11987 * icomplete.el (icomplete-mode):
11988 * ido.el (ido-everywhere):
11989 * image-file.el (auto-image-file-mode):
11990 * image-mode.el (image-minor-mode):
11991 * iswitchb.el (iswitchb-mode):
11992 * jka-cmpr-hook.el (auto-compression-mode):
11993 * linum.el (linum-mode):
11994 * longlines.el (longlines-mode):
11995 * master.el (master-mode):
11996 * mb-depth.el (minibuffer-depth-indicate-mode):
11997 * menu-bar.el (menu-bar-mode):
11998 * minibuf-eldef.el (minibuffer-electric-default-mode):
11999 * mouse-sel.el (mouse-sel-mode):
12000 * msb.el (msb-mode):
12001 * mwheel.el (mouse-wheel-mode):
12002 * outline.el (outline-minor-mode):
12003 * paren.el (show-paren-mode):
12004 * recentf.el (recentf-mode):
12005 * reveal.el (reveal-mode, global-reveal-mode):
12006 * rfn-eshadow.el (file-name-shadow-mode):
12007 * ruler-mode.el (ruler-mode):
12008 * savehist.el (savehist-mode):
12009 * scroll-all.el (scroll-all-mode):
12010 * scroll-bar.el (scroll-bar-mode):
12011 * server.el (server-mode):
12012 * shell.el (shell-dirtrack-mode):
12013 * simple.el (auto-fill-mode, transient-mark-mode)
12014 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12015 (line-number-mode, column-number-mode, size-indication-mode)
12016 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12017 * strokes.el (strokes-mode):
12018 * time.el (display-time-mode):
12019 * t-mouse.el (gpm-mouse-mode):
12020 * tool-bar.el (tool-bar-mode):
12021 * tooltip.el (tooltip-mode):
12022 * type-break.el (type-break-mode-line-message-mode)
12023 (type-break-query-mode):
12024 * view.el (view-mode):
12025 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12026 (global-whitespace-mode, global-whitespace-newline-mode):
12027 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12028
12029 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12030 Fix autogenerated docstring.
12031
12032 2011-10-19 Juri Linkov <juri@jurta.org>
12033
12034 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12035 by checking environment variables "DESKTOP_SESSION" and
12036 "XDG_CURRENT_DESKTOP". (Bug#9779)
12037
12038 2011-10-19 Juri Linkov <juri@jurta.org>
12039
12040 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12041 (browse-url-chromium-program, browse-url-chromium-arguments):
12042 New defcustoms.
12043 (browse-url-default-browser): Check for `browse-url-chromium' and
12044 call `browse-url-chromium-program'.
12045 (browse-url-chromium): New command. (Bug#9779)
12046
12047 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
12048
12049 * facemenu.el (list-colors-duplicates): On Windows, detect more
12050 duplicates by assuming that only colors matching "^System" are
12051 special "system colors". (Bug#9722)
12052
12053 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12054
12055 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12056 to distinguish the author from the committer.
12057
12058 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
12059
12060 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12061
12062 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12063
12064 * international/mule.el (sgml-html-meta-auto-coding-function):
12065 Add support for detecting encoding in HTML5 specified only as
12066 <meta charset="UTF-8">. Implementation just makes http-equiv and
12067 content-type parts from HTML4 encoding string optional. (Bug#9716)
12068
12069 2011-10-18 Glenn Morris <rgm@gnu.org>
12070
12071 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12072
12073 2011-10-18 Chong Yidong <cyd@gnu.org>
12074
12075 * faces.el (cursor): Doc fix.
12076
12077 2011-10-17 Chong Yidong <cyd@gnu.org>
12078
12079 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12080
12081 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
12082
12083 * dirtrack.el (dirtrack): Support shell buffers with path
12084 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12085
12086 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12087
12088 * json.el: Bump version to 1.3 and note change in History.
12089 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12090
12091 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12092
12093 * comint.el (comint-insert-input, comint-send-input)
12094 (comint-get-old-input-default, comint-backward-matching-input)
12095 (comint-next-prompt): Use nil instead of `input' for field property of
12096 past user input (bug#114).
12097
12098 * minibuffer.el (completion--replace): Inherit surrounding properties
12099 (bug#114).
12100 (minibuffer-complete-and-exit): Use it.
12101
12102 * comint.el (comint--table-subvert): Quote the all-completions output
12103 (bug#9160).
12104
12105 2011-10-17 Martin Rudalics <rudalics@gmx.at>
12106
12107 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
12108
12109 * menu-bar.el (menu-bar-file-menu): Add entry for making new
12110 window on right of selected. (Bug#9350) Reword other window
12111 entries and separate them from frame entries.
12112
12113 2011-10-15 Glenn Morris <rgm@gnu.org>
12114
12115 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12116 Doc fixes.
12117
12118 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
12119
12120 * net/network-stream.el (network-stream-open-starttls):
12121 Improve detection of failure due to lack of TLS support.
12122
12123 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12124 putting the input text in front and in bold.
12125
12126 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12127
12128 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12129
12130 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12131 empty buffer.
12132
12133 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12134 unread-command-events rather than pushing yet-another event.
12135
12136 2011-10-14 Eli Zaretskii <eliz@gnu.org>
12137
12138 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12139 the explanation of the possible choices. Make the options passed
12140 to completing-read shorter.
12141
12142 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12143
12144 * textmodes/flyspell.el (flyspell-large-region): Make sure
12145 extended character mode is used if defined (Bug#1339).
12146
12147 2011-10-13 Eli Zaretskii <eliz@gnu.org>
12148
12149 * simple.el (what-cursor-position): Fix the display of the
12150 character info for LRE, LRO, RLE, and RLO characters by appending
12151 an invisible PDF.
12152
12153 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12154
12155 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12156 even in case of error; add debug spec; simplify data flow.
12157 (with-timeout-handler): Remove.
12158
12159 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
12160
12161 Fix Bug#6019, Bug#9315.
12162
12163 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12164 complete `buffer-file-name', the local file name part could look
12165 remotely (for example on VMS).
12166
12167 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12168 `tramp-run-real-handler'.
12169 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12170 already quoted by '"'.
12171
12172 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12173 Let `file-name-handler-alist' be nil, the local file name part
12174 could look remotely (for example on VMS).
12175
12176 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12177
12178 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12179 from here...
12180 (flyspell-post-command-hook): ...to here.
12181
12182 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12183
12184 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12185 if not needed.
12186 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12187 using completion. Protect against "slow" callers.
12188 Remove the "message hack".
12189
12190 2011-10-11 Juri Linkov <juri@jurta.org>
12191
12192 * isearch.el (isearch-lazy-highlight-word): New variable.
12193 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12194 Use it. (Bug#9727)
12195
12196 2011-10-11 Glenn Morris <rgm@gnu.org>
12197
12198 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12199 like f90-previous-statement does.
12200
12201 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12202
12203 * eshell/eshell.el (eshell-command): History should be saved
12204 only in interactive use, to avoid error.
12205
12206 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12207
12208 * minibuffer.el (completion-file-name-table): Fix last change,
12209 i.e. ignore normal errors but not the other ones.
12210
12211 2011-10-10 Martin Rudalics <rudalics@gmx.at>
12212
12213 * window.el (special-display-buffer-names)
12214 (special-display-regexps): Remove some remnants of earlier
12215 changes from doc-strings.
12216 (quit-windows-on): New function.
12217
12218 * vc/vc.el (vc-revert, vc-rollback):
12219 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12220 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
12221 (Bug#6183) (Bug#7074) (Bug#7447)
12222
12223 2011-10-09 Martin Rudalics <rudalics@gmx.at>
12224
12225 * window.el (frame-auto-hide-function): Add version tag.
12226 (Bug#9699)
12227
12228 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
12229
12230 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12231 condition.
12232
12233 2011-10-09 Leo Liu <sdl.web@gmail.com>
12234
12235 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12236 (Bug#9701)
12237
12238 2011-10-08 Glenn Morris <rgm@gnu.org>
12239
12240 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12241 before the first code statement zero indent. (Bug#9690)
12242
12243 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
12244
12245 * simple.el (count-words-region): Always count in the region.
12246 Report the number of lines and characters too.
12247 (count-words): New command, which counts in the buffer if the
12248 region is inactive, as count-words-region used to.
12249 (count-words--message): New function. Handle plurals.
12250 (count-lines-region): Make it an alias for count-words-region.
12251
12252 * bindings.el (esc-map): Replace count-lines-region with
12253 count-words-region.
12254
12255 2011-10-08 Martin Rudalics <rudalics@gmx.at>
12256
12257 * window.el (window--delete): Delete dedicated frame
12258 unconditionally when argument KILL is non-nil. (Bug#9699)
12259 (switch-to-buffer): Fix doc-string typo.
12260
12261 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12262
12263 * eshell/eshell.el (eshell-command): Avoid using hooks.
12264
12265 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
12266
12267 * bindings.el ([M-left],[M-right]): Bind to left-word and
12268 right-word respectively.
12269
12270 2011-10-07 Glenn Morris <rgm@gnu.org>
12271
12272 * cus-start.el (debug-on-quit): Fix custom type.
12273
12274 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12275
12276 * subr.el (define-key-after): Clarify that the function is not
12277 useful for non-menu keymaps.
12278
12279 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12280
12281 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12282
12283 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
12284 in current minibuffer (Fix bug with recursive minibuffers).
12285
12286 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
12287
12288 * progmodes/gdb-mi.el (gdb): Doc fix.
12289
12290 2011-10-05 Martin Rudalics <rudalics@gmx.at>
12291
12292 * window.el (frame-auto-hide-function): New option replacing
12293 frame-auto-delete. Suggested by Stefan Monnier.
12294 (window--delete): Call frame-auto-hide-function instead of
12295 investigating frame-auto-delete.
12296 (window-point-1, set-window-point-1): New functions.
12297 (window-in-direction, record-window-buffer, window-state-get-1)
12298 (display-buffer-record-window): Use window-point-1 instead of
12299 window-point.
12300 (set-window-buffer-start-and-point): Use set-window-point-1.
12301
12302 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12303
12304 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12305
12306 2011-10-05 Glenn Morris <rgm@gnu.org>
12307
12308 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12309 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12310
12311 2011-10-05 Leo Liu <sdl.web@gmail.com>
12312
12313 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12314 works with buffer object.
12315
12316 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12317
12318 * mpc.el (mpc-tool-bar-map): Add labels.
12319
12320 2011-10-04 Glenn Morris <rgm@gnu.org>
12321
12322 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12323
12324 2011-10-04 Martin Rudalics <rudalics@gmx.at>
12325
12326 * window.el (window--delete): New function.
12327 (frame-auto-delete): Resuscitate option.
12328 (bury-buffer, replace-buffer-in-windows)
12329 (quit-window): Rewrite using window--delete.
12330 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12331 Pass display-buffer-mark-dedicated to window--display-buffer-2
12332 (Bug#9639).
12333
12334 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12335
12336 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12337 returns a list (bug#9554). Add remote file name completion.
12338 * comint.el (comint--table-subvert): Curry and get quote&unquote
12339 functions as arguments.
12340 (comint--complete-file-name-data): Adjust call accordingly.
12341 * pcomplete.el (pcomplete--table-subvert): Remove.
12342 (pcomplete-completions-at-point): Use comint--table-subvert instead.
12343
12344 * minibuffer.el (completion-table-case-fold): Use currying.
12345 (completion--styles-type, completion--cycling-threshold-type):
12346 New constants.
12347 (completion-styles, completion-category-overrides)
12348 (completion-cycle-threshold): Use them.
12349 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12350 completion-table-case-fold.
12351
12352 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
12353
12354 * minibuffer.el (completion-category-overrides): Fix type of styles
12355 and add more user friendly tags (bug#9660).
12356
12357 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12358
12359 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12360 (mule-input-method-string): New widget.
12361 (default-input-method, language-info-custom-alist): Use it.
12362
12363 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12364
12365 * pcomplete.el: Require comint.
12366 (pcomplete--common-suffix): Remove.
12367 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12368 (pcomplete--table-subvert): Sync with comint--table-subvert.
12369 (pcomplete--entries): Use comint-completion-file-name-table.
12370 * comint.el (comint-unquote-filename): Simplify.
12371 (comint-completion-file-name-table): New function (bug#9616).
12372 (comint--complete-file-name-data): Use it.
12373
12374 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12375 (pcmpl-gnu-tar-buffer): Remove.
12376 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
12377 around. Make sure pcomplete-suffix-list is only changed temporarily.
12378 Don't look inside the tar's file if it's too large.
12379
12380 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
12381
12382 * cus-edit.el (custom-mode-map):
12383 * epa.el (epa-key-list-mode-map):
12384 * man.el (Man-mode-map):
12385 * startup.el (splash-screen-keymap):
12386 * simple.el (special-mode-map): Use scroll-up-command and
12387 scroll-down-command.
12388
12389 * progmodes/idlw-help.el (idlwave-help-mode-map):
12390 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12391 * net/newst-plainview.el (newsticker-mode-map):
12392 * emulation/ws-mode.el (wordstar-mode-map):
12393 * emulation/vi.el (vi-com-map):
12394 * calc/calc-graph.el (calc-graph-show-dumb):
12395 * term/sun.el (terminal-init-sun):
12396 * term/ns-win.el (global-map):
12397 * progmodes/grep.el (grep-mode-map):
12398 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12399 * mail/rmail.el (rmail-mode-map):
12400 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12401
12402 * custom.el (custom-safe-themes, load-theme): Treat value of t for
12403 custom-safe-themes as special.
12404
12405 2011-10-01 Julien Danjou <julien@danjou.info>
12406
12407 * notifications.el (notifications-notify): Fix docstring.
12408
12409 2011-10-01 Per Starbäck <per@starback.se>
12410
12411 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
12412
12413 2011-09-30 Martin Rudalics <rudalics@gmx.at>
12414
12415 * startup.el (command-line-1): Fix last fix by inserting
12416 initial-scratch-message into *scratch* before displaying it.
12417 (Bug#9605) and (Bug#9636)
12418
12419 2011-09-29 Eli Zaretskii <eliz@gnu.org>
12420
12421 * simple.el (line-move): If auto-hscroll-mode is disabled and the
12422 window is hscrolled, move by logical lines. (Bug#9607)
12423 (line-move-visual): Update the doc string to the above effect.
12424
12425 2011-09-29 Martin Rudalics <rudalics@gmx.at>
12426
12427 * window.el (display-buffer-record-window): When WINDOW is the
12428 selected window use `point' instead of `window-point'. (Bug#9626)
12429
12430 * startup.el (command-line-1): Use insert-before-markers when
12431 inserting initial-scratch-message. (Bug#9605)
12432
12433 * help.el (help-window): Remove variable.
12434
12435 2011-09-29 Glenn Morris <rgm@gnu.org>
12436
12437 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
12438
12439 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
12440
12441 * descr-text.el (describe-char-categories): Accept category
12442 descriptions more than one line long.
12443
12444 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
12445
12446 * simple.el (delete-trailing-whitespace): Fix last change.
12447
12448 * progmodes/perl-mode.el (perl-syntax-propertize-function):
12449 Don't confuse "y => 3" as the beginning of a `y' operation.
12450
12451 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
12452 object has more than 4 slots (bug#9613).
12453
12454 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
12455
12456 * subr.el (with-output-to-temp-buffer):
12457 * net/quickurl.el (quickurl, quickurl-browse-url):
12458 Fix typos in docstrings.
12459
12460 2011-09-27 Eli Zaretskii <eliz@gnu.org>
12461
12462 * minibuffer.el (completion-styles)
12463 (completion-category-overrides): Cross reference each other in doc
12464 strings.
12465
12466 2011-09-27 Glenn Morris <rgm@gnu.org>
12467
12468 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12469 to split-string. (Bug#9606)
12470
12471 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12472
12473 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12474 (bug#9615).
12475
12476 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
12477
12478 * emacs-lisp/package.el (list-packages): Fix echo area message.
12479
12480 2011-09-27 Leo Liu <sdl.web@gmail.com>
12481
12482 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12483
12484 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
12485
12486 * net/dbus.el (dbus-unregister-object): Don't release services for
12487 registered signals. (Bug#9581)
12488
12489 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
12490
12491 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12492 function that picks between cfengine 2 and 3 support
12493 automatically. Update docs accordingly.
12494
12495 2011-09-22 Kenichi Handa <handa@m17n.org>
12496
12497 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12498 ZERO.
12499 (indian-itrans-v5-table-for-tamil): New variable.
12500 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12501
12502 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
12503
12504 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12505 that's true if the current command involved collapsing of text.
12506 It's reset to false at the beginning of the next command.
12507 (allout-post-command-business): Move the cursor to the beginning
12508 of entry if the cursor is hidden and collapsing activity just
12509 happened.
12510
12511 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
12512
12513 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12514 tracking (Bug#9541).
12515
12516 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
12517
12518 * net/newst-reader.el (newsticker-html-renderer)
12519 (newsticker-show-news): Automatically load html rendering package
12520 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
12521 because w3m-fill-column is let-bound" and the error "Symbol's value
12522 as variable is void: w3m-fill-column".
12523
12524 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
12525
12526 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12527 Release services only if they are defined. (Bug#9581)
12528
12529 2011-09-23 Richard Stallman <rms@gnu.org>
12530
12531 * textmodes/paragraphs.el (forward-sentence): For backwards case,
12532 distinguish start of paragraph from start of its text.
12533
12534 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12535
12536 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12537 (rmail-generate-viewer-buffer): Put that hook on view buffer.
12538 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12539
12540 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
12541
12542 * international/mule-diag.el (mule-diag): Insert a newline after
12543 each fontset description.
12544
12545 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12546
12547 * simple.el (delete-trailing-whitespace):
12548 Document last change; simplify.
12549
12550 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
12551
12552 * simple.el (delete-trailing-whitespace): Also delete
12553 extra newlines at the end of the buffer.
12554
12555 * textmodes/picture.el: Make motion commands obey shift-select-mode.
12556 (picture-newline): Use forward-line so as to ignore fields.
12557
12558 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12559
12560 * subr.el (with-wrapper-hook): Fix edebug spec.
12561
12562 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12563
12564 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12565 (bug#4538).
12566
12567 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
12568
12569 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12570 Fix nasty bug using wrong cached values.
12571
12572 2011-09-23 Alan Mackenzie <acm@muc.de>
12573
12574 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
12575
12576 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
12577
12578 * window.el (pop-to-buffer): Ensure right window is selected if we
12579 chose another frame.
12580
12581 2011-09-22 Eli Zaretskii <eliz@gnu.org>
12582
12583 * simple.el (what-cursor-position): Use get-char-property-change
12584 and next-single-char-property-change, to be able to show display
12585 properties that come from overlays as well as text properties.
12586
12587 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
12588
12589 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
12590
12591 * cmuscheme.el (run-scheme, switch-to-scheme):
12592 * cus-edit.el (customize-group, custom-buffer-create)
12593 (customize-browse):
12594 * info.el (info):
12595 * shell.el (shell):
12596 * mail/sendmail.el (mail):
12597 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
12598
12599 2011-09-22 Richard Stallman <rms@gnu.org>
12600
12601 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
12602 move back only to line beg, don't move back over blank lines.
12603
12604 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
12605
12606 * files.el (copy-directory): Set directory attributes only in case
12607 they could be retrieved from the source directory. (Bug#9565)
12608
12609 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
12610
12611 * progmodes/hideshow.el (hs-looking-at-block-start-p)
12612 (hs-find-block-beginning, hs-hide-level-recursive):
12613 Ignore strings as well as comments. (Bug#9502)
12614
12615 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
12616
12617 * progmodes/sql.el (sql-comint-postgres):
12618 Convert port number to a string. (Bug#9566)
12619
12620 2011-09-22 Martin Rudalics <rudalics@gmx.at>
12621
12622 * window.el (quit-window): Undedicate window when switching to
12623 previous buffer. Reported by Thierry Volpiatto
12624 <thierry.volpiatto@gmail.com>.
12625 (special-display-popup-frame): When popping up a new frame reset
12626 its previous buffers to nil. Simplify code.
12627
12628 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
12629
12630 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
12631 and process filter, as done also in `shell-command'.
12632
12633 2011-09-21 Martin Rudalics <rudalics@gmx.at>
12634
12635 * window.el (set-window-buffer-start-and-point):
12636 Call set-window-start with NOFORCE argument t.
12637 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12638 (quit-window): Reword doc-string. Handle new format of
12639 quit-restore parameter. Don't delete window if it has a
12640 previous buffer we can show instead of the present one.
12641 (display-buffer-record-window): Rewrite using a new format for
12642 the quit-restore window parameter
12643 (special-display-popup-frame, display-buffer-same-window)
12644 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12645 (display-buffer-pop-up-window, display-buffer-use-some-window):
12646 Adapt symbol passed to display-buffer-record-window.
12647 * help.el (help-window-setup): Handle new format of quit-restore
12648 parameter.
12649
12650 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12651
12652 * faces.el (face-list): Fix docstring (bug#9564).
12653
12654 * window.el (display-buffer--action-function-custom-type):
12655 Don't include internal functions in the Custom interface.
12656
12657 2011-09-20 Juri Linkov <juri@jurta.org>
12658
12659 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
12660 (Info-forward-node, Info-backward-node, Info-next-preorder)
12661 (Info-last-preorder): Use it. (Bug#9528)
12662
12663 2011-09-20 Juri Linkov <juri@jurta.org>
12664
12665 * info.el (Info-last-preorder): Visit last menu item only when
12666 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
12667
12668 2011-09-20 Julien Danjou <julien@danjou.info>
12669
12670 * password-cache.el (password-cache-remove): Remove entries even if the
12671 value is nil, so that password with a nil value (negative caching) is
12672 possible to invalidate.
12673
12674 2011-09-20 Lawrence Mitchell <wence@gmx.li>
12675
12676 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
12677 all whitespace around breakpoint. (Bug#9553)
12678 (f90-find-breakpoint): Only break at whitespace inside a comment.
12679
12680 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
12681
12682 * minibuffer.el (completion-file-name-table): Keep track of errors.
12683 (completion-table-with-predicate): Handle the case where pred1 is nil.
12684 * pcomplete.el (pcomplete-completions-at-point): Simplify.
12685
12686 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12687
12688 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
12689 (debugger-return-value): Signal an error if the debugging context does
12690 not await any return value.
12691
12692 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
12693 * image-mode.el (image-toggle-display-text)
12694 (image-toggle-display-image): Stay away from evil `intangible'.
12695
12696 2011-09-19 Leo Liu <sdl.web@gmail.com>
12697
12698 * replace.el (occur-revert-arguments): Make it permanent-local.
12699 (occur-mode): Don't call font-lock-defontify.
12700
12701 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
12702
12703 * net/ldap.el (ldap-search-internal): Don't push empty search
12704 result (Bug#9508).
12705
12706 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12707
12708 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
12709
12710 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
12711
12712 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
12713 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
12714
12715 2011-09-18 Juri Linkov <juri@jurta.org>
12716
12717 * buff-menu.el (Buffer-menu-mode-map):
12718 * dired.el (dired-mode-map):
12719 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
12720 (lisp-interaction-mode-map):
12721 * emacs-lisp/package.el (package-menu-mode-map):
12722 * epa.el (epa-key-list-mode-map):
12723 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
12724 (menu-bar-options-menu):
12725 * outline.el (outline-mode-menu-bar-map):
12726 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
12727 * vc/vc-dir.el (vc-dir-menu-map):
12728 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
12729 Capitalize non-function content words in menu item strings.
12730
12731 * dired.el (dired-mode-map): Add menu item for
12732 `image-dired-dired-toggle-marked-thumbs'.
12733
12734 2011-09-18 Juri Linkov <juri@jurta.org>
12735
12736 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
12737 to `isearch-case-fold-search' and restore its original value
12738 after the `isearch-mode' call.
12739
12740 2011-09-18 Juri Linkov <juri@jurta.org>
12741
12742 * progmodes/grep.el (grep-process-setup): Don't check code for 1
12743 because `zgrep' returns 1 for successful matches (bug#9226).
12744
12745 2011-09-18 Juri Linkov <juri@jurta.org>
12746
12747 * info.el (Info-extract-menu-node-name): Check the second match
12748 for empty string (second test-case of bug#9528).
12749 (Info-last-preorder): Let-bind `Info-history' to nil to not add
12750 intermediate nodes to the history (first test-case of bug#9528).
12751
12752 2011-09-18 Juri Linkov <juri@jurta.org>
12753
12754 * info.el (Info-mode-syntax-table): New variable.
12755 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
12756
12757 2011-09-18 Juri Linkov <juri@jurta.org>
12758
12759 * info.el (Info-file-supports-index-cookies):
12760 Increment line-beginning-position's arg from 3 to 4 because makeinfo
12761 outputs one more line for long file names (bug#4142).
12762
12763 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
12764
12765 * newcomment.el (comment-normalize-vars): If prompting for
12766 comment-start, set comment-start-skip too (Bug#8424).
12767
12768 2011-09-18 Johan Bockgård <bojohan@gnu.org>
12769
12770 * icomplete.el: Fix previous fix of Bug#5849.
12771 (icomplete-mode): Don't set completion-show-inline-help.
12772 (icomplete-minibuffer-setup): Set completion-show-inline-help
12773 locally during icompletion.
12774
12775 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
12776
12777 * woman.el (woman2-process-escapes): Don't delete unrecognized
12778 escapes (Bug#7843).
12779
12780 * files.el (inhibit-first-line-modes-regexps): Add image files.
12781 (hack-local-variables-prop-line): Return nil for malformed
12782 prop-lines (Bug#9044).
12783
12784 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
12785
12786 * net/tramp.el (top): Don't require 'shell.
12787 (tramp-methods): Fix docstring.
12788 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
12789 Return complete remote file name. Handle "smb" case.
12790 Use `tramp-tmpdir', if defined for the respective method.
12791 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
12792
12793 * net/tramp-compat.el (top): Require 'shell.
12794
12795 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12796 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
12797 `tramp-current-host'.
12798 (tramp-get-remote-tmpdir): Remove.
12799
12800 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
12801 `tramp-tmpdir' entries.
12802 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
12803 (tramp-smb-handle-file-attributes): Ignore errors.
12804 (tramp-smb-wait-for-output): Check also for process end.
12805
12806 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12807
12808 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
12809 when sending QUIT (bug#9312).
12810
12811 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
12812
12813 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
12814 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
12815 occur-mode-display-occurrence.
12816 (occur-edit-mode): Add usage message.
12817 (occur-cease-edit): New command.
12818 (occur-after-change-function): Use text properties to find the
12819 position of the prefix text.
12820 (occur-engine): Set stickiness of prefix text properties.
12821
12822 2011-09-17 Glenn Morris <rgm@gnu.org>
12823
12824 * progmodes/etags.el (complete-tag):
12825 Fix call to completion-in-region. (Bug#9526)
12826
12827 2011-09-17 Juri Linkov <juri@jurta.org>
12828
12829 * textmodes/ispell.el (ispell-word): Add to the error message
12830 the word, ispell program name and current dictionary (bug#9121).
12831 (ispell-tex-arg-end): Capitalize "error" in the error message.
12832
12833 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
12834
12835 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
12836 check. (Bug#4251)
12837
12838 2011-09-17 Juri Linkov <juri@jurta.org>
12839
12840 * window.el (window-safe-min-height, window-safe-min-width):
12841 Fix typos (followup to bug#9522).
12842
12843 2011-09-17 Sven Joachim <svenjoac@gmx.de>
12844
12845 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
12846
12847 2011-09-16 Eli Zaretskii <eliz@gnu.org>
12848
12849 * simple.el (line-move): If goal-column is set, move by logical
12850 lines, not by display lines. (Bug#971)
12851 (next-line, previous-line, goal-column, line-move-visual): Doc fix
12852 to reflect the above change.
12853
12854 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
12855
12856 * image.el (imagemagick-register-types): Use regexp-opt.
12857
12858 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
12859
12860 * window.el (display-buffer-base-action): Rename from
12861 display-buffer-default-action. Make default value empty.
12862 (display-buffer-overriding-action): Convert to defvar.
12863 (display-buffer-fallback-action): New var.
12864
12865 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
12866
12867 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
12868 declaration.
12869 (package--add-to-archive-contents): If there is a duplicate entry
12870 with an older version, remove it.
12871 (package-menu-mark-delete, package-menu-mark-install)
12872 (package-menu-mark-unmark): Make unused args optional.
12873 (package-menu-mark-obsolete-for-deletion):
12874 Use package-menu-get-status instead of a regexp search.
12875 (package-menu-get-status): Use tabulated-list-entry.
12876 (package-menu-mark-upgrades): New command.
12877 (package-menu-mode-map): Bind it to U. Add it to menu bar.
12878 (package-menu-execute): Do installation before deletion.
12879 (package-menu-refresh, package-menu-execute): Use derived-mode-p
12880 instead of checking major-mode.
12881 (package-menu--find-upgrades): New function.
12882
12883 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12884
12885 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
12886 passwords in the log buffer.
12887 (smtpmail-process-filter): Update the process marker so that the
12888 "broken by peer" status message is inserted in the right place.
12889
12890 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
12891
12892 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
12893 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
12894 bibtex-completion-at-point-function.
12895 (bibtex-completion-at-point-function): Use them.
12896
12897 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
12898
12899 * mpc.el (mpc-constraints-tag-lookup): New function.
12900 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
12901 also to browser "album|playlist".
12902
12903 2011-09-14 Juri Linkov <juri@jurta.org>
12904
12905 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
12906 (isearch-edit-string): Use length of `isearch-string' when
12907 `isearch-fail-pos' returns nil.
12908 (isearch-message): Remove duplicate code and call
12909 `isearch-fail-pos' with arg `t'.
12910
12911 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
12912
12913 * replace.el (occur-mode-goto-occurrence): Don't force using other
12914 window (Bug#9499).
12915
12916 * dired-aux.el (dired-do-chmod): Don't provide initial input.
12917
12918 2011-09-14 Martin Rudalics <rudalics@gmx.at>
12919
12920 * window.el (display-buffer-window): Remove.
12921 (display-buffer-record-window): Use help-setup window parameter
12922 instead of variable display-buffer-window.
12923 (display-buffer-function, special-display-buffer-names)
12924 (special-display-function): Mention help-setup parameter instead
12925 of display-buffer-window in doc-string.
12926 * help.el (help-window-setup): New argument help-window.
12927 Use help-window-setup parameter instead of display-buffer-window.
12928 Reword some messages.
12929 (with-help-window): Pass window used for displaying the buffer
12930 to help-window-setup. Don't set display-buffer-window.
12931
12932 2011-09-13 Glenn Morris <rgm@gnu.org>
12933
12934 * emacs-lisp/debug.el (debugger-make-xrefs):
12935 Preserve point. (Bug#9462)
12936
12937 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
12938
12939 * window.el (window-deletable-p): Use next-frame.
12940
12941 2011-09-13 Martin Rudalics <rudalics@gmx.at>
12942
12943 * window.el (window-auto-delete): Remove.
12944 (window-deletable-p): Remove argument FORCE. Don't deal with
12945 dedication and previous buffers.
12946 (switch-to-prev-buffer): Don't delete window.
12947 (delete-windows-on): Delete a window's frame if and only if the
12948 window is dedicated.
12949 (replace-buffer-in-windows): Delete buffer's window or frame if
12950 and only if window is dedicated.
12951 (quit-window): Handle quit-restore as before last change.
12952 (bury-buffer): Delete window only if window-deletable-p returns t.
12953
12954 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
12955
12956 * window.el (window-deletable-p): Never delete the last frame on a
12957 given terminal.
12958
12959 2011-09-13 Glenn Morris <rgm@gnu.org>
12960
12961 * help.el (describe-key-briefly): Copy previous standard-output change.
12962
12963 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
12964
12965 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
12966
12967 2011-09-13 Glenn Morris <rgm@gnu.org>
12968
12969 * emacs-lisp/lisp-mode.el (lisp-indent-function):
12970 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
12971
12972 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
12973
12974 * dired-aux.el (dired-mark-read-string): Don't return default
12975 value on empty input (Bug#9361).
12976 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
12977 Omit initial minibuffer contents.
12978 (dired-do-chmod): Signal an error on empty input.
12979 (dired-mark-read-string): Don't return default on empty input.
12980
12981 * files.el (file-modes-symbolic-to-number): Doc fix.
12982
12983 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
12984
12985 * international/mule-cmds.el (ucs-completions): Remove.
12986 (read-char-by-name): Use complete-with-action instead; add metadata.
12987
12988 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
12989
12990 * window.el (display-buffer--action-function-custom-type)
12991 (display-buffer--action-custom-type): New vars.
12992 (display-buffer-alist, display-buffer-default-action)
12993 (display-buffer-overriding-action): Add defcustom types.
12994
12995 * frame.el (delete-other-frames): Doc fix (Bug#276).
12996
12997 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12998
12999 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13000
13001 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
13002
13003 Change modes that used same-window-* vars to use switch-to-buffer.
13004
13005 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13006 Use switch-to-buffer.
13007
13008 * cus-edit.el (customize-group, custom-buffer-create)
13009 (customize-browse, custom-buffer-create-other-window):
13010 Use switch-to-buffer or switch-to-buffer-other-window.
13011
13012 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13013 (Info-prev, Info-up, Info-speedbar-goto-node)
13014 (info-display-manual): Use switch-to-buffer.
13015 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13016
13017 * mail/sendmail.el (mail): Use switch-to-buffer.
13018 (mail-recover): Use switch-to-buffer-other-window.
13019
13020 * cmuscheme.el (run-scheme, switch-to-scheme):
13021 * ielm.el (ielm):
13022 * shell.el (shell):
13023 * net/rlogin.el (rlogin):
13024 * net/telnet.el (telnet, rsh):
13025 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13026
13027 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13028
13029 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13030
13031 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13032
13033 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13034 so don't mention it (bug#9301).
13035 (dired-sort-toggle-or-edit): Clarify string further.
13036
13037 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13038 match `x', `w32' and `ns', like the manual says (bug#9029).
13039
13040 * subr.el (eval-after-load): Doc string clarification (bug#9125).
13041 (process-kill-buffer-query-function): Mention the buffer name in
13042 the query.
13043
13044 * image-mode.el (image-next-line): The line parameter is mandatory
13045 (bug#9258).
13046
13047 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13048 which can be useful (bug#9301).
13049
13050 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13051
13052 * subr.el (match-string): Mention that the current buffer should
13053 be the same as the search was done in (bug#9282).
13054
13055 * facemenu.el: Disable the remove-* commands if the mark isn't
13056 active (bug#9162).
13057
13058 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
13059
13060 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13061 of display-buffer.
13062 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13063
13064 * replace.el (occur-mode-goto-occurrence)
13065 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13066 and display-buffer.
13067
13068 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13069 display-buffer.
13070
13071 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13072 special-display and same-window variables.
13073 (mail-other-window): Use switch-to-buffer-other-window.
13074 (mail-other-frame): USe switch-to-buffer-other-frame.
13075
13076 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13077 Use display-buffer-other-frame.
13078 (gdb-display-gdb-buffer): Use pop-to-buffer.
13079
13080 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13081
13082 * progmodes/python.el: Don't set same-window-buffer-names.
13083
13084 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13085
13086 * window.el (display-buffer-alist): Add *Python*.
13087
13088 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
13089
13090 * window.el (display-buffer-alist): Add entry for buffers
13091 previously handled same-window-*.
13092 (display-buffer-alist, display-buffer-default-action)
13093 (display-buffer-overriding-action): Mark as risky.
13094 (display-buffer-alist): Document action function changes.
13095 (display-buffer--same-window-action)
13096 (display-buffer--other-frame-action): New variables.
13097 (switch-to-buffer, display-buffer-other-frame): Use them.
13098 (display-buffer): Rename reuse-frame entry to reusable-frames.
13099 (display-buffer-reuse-selected-window): Function deleted.
13100 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13101 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13102 (display-buffer-special): New function.
13103 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13104 display-buffer-reuse-or-pop-window. Split off special-display
13105 part into display-buffer-special.
13106 (display-buffer-use-some-window): Don't perform any special
13107 pop-up-frames handling.
13108 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
13109 (display-buffer--maybe-same-window): Rename from
13110 display-buffer-maybe-same-window.
13111
13112 * info.el: Don't set same-window-regexps.
13113 (info-setup): New function.
13114 (info-other-window, info): Call it.
13115
13116 * cus-edit.el: Don't set same-window-regexps.
13117 (customize-group): New argument.
13118 (customize-group-other-window): Use it.
13119 (customize-face, customize-face-other-window): Likewise.
13120 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13121
13122 * net/rlogin.el:
13123 * net/telnet.el:
13124 * progmodes/gud.el: Don't set same-window-regexps.
13125
13126 * cmuscheme.el:
13127 * ielm.el:
13128 * shell.el:
13129 * mail/sendmail.el:
13130 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13131
13132 2011-09-10 Juri Linkov <juri@jurta.org>
13133
13134 * isearch.el (isearch-edit-string): Remove obsolete mention of
13135 `C-w' (`isearch-yank-word-or-char') from docstring.
13136 (isearch-query-replace): Fix typo in docstring (bug#9466).
13137
13138 2011-09-10 Juri Linkov <juri@jurta.org>
13139
13140 * paren.el (show-paren-function): Don't show escaped parens.
13141 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13142
13143 2011-09-10 Eli Zaretskii <eliz@gnu.org>
13144
13145 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13146 (mm-default-file-encoding): Remove autoload forms, they are
13147 replaced with autoload cookies in mml.el and mm-encode.el.
13148 (mail-add-attachment): New command.
13149 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13150 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13151 the doc string.
13152 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13153
13154 2011-09-10 Reuben Thomas <rrt@sc3d.org>
13155
13156 * simple.el (count-words-region): Use buffer if there's no region
13157 (bug#9429).
13158
13159 2011-09-09 Juri Linkov <juri@jurta.org>
13160
13161 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13162 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13163 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13164
13165 2011-09-09 Alan Mackenzie <acm@muc.de>
13166
13167 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13168 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13169
13170 2011-09-09 Eli Zaretskii <eliz@gnu.org>
13171
13172 Fix for Savannah bug#9392.
13173 * simple.el (mail-encode-mml): New defvar.
13174
13175 * mail/rmail.el (mail-encode-mml): Add a defvar.
13176 (rmail-enable-mime-composing): Default to t.
13177 (rmail-forward): Use MIME method of forwarding only if both
13178 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13179 Set mail-encode-mml non-nil if the MIME method was used.
13180
13181 * mail/sendmail.el (mml-to-mime): Add autoload form.
13182 (mail-encode-mml): Add a defvar.
13183 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13184 to nil.
13185 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13186 message through mml-to-mime, and reset mail-encode-mml to nil.
13187
13188 2011-09-09 Glenn Morris <rgm@gnu.org>
13189
13190 * woman.el (woman-if-body): When processing an .el block,
13191 do not delete the next .el block as well. (Bug#9447)
13192 (woman-special-characters): Add oq, cq, and hy characters.
13193
13194 2011-09-08 Martin Rudalics <rudalics@gmx.at>
13195
13196 * window.el (window-deletable-p): Make sure window is live before
13197 invoking window-prev-buffers.
13198
13199 2011-09-08 Leo Liu <sdl.web@gmail.com>
13200
13201 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13202
13203 2011-09-08 Juri Linkov <juri@jurta.org>
13204
13205 * progmodes/compile.el (compilation-environment): Make it
13206 a defcustom (bug#8340).
13207
13208 2011-09-08 Martin Rudalics <rudalics@gmx.at>
13209
13210 * window.el (frame-auto-delete): Rename to window-auto-delete.
13211 Make it control auto-deletion of windows and/or frames.
13212 (window-deletable-p): New argument FORCE. Rewrite conditions
13213 for deleting window/frame. (Bug#9419)
13214 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13215 Rewrite handling of case when window/frame can be deleted.
13216 (delete-windows-on): Call window-deletable-p with new FORCE
13217 argument t. (Bug#9456)
13218
13219 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
13220
13221 * help-mode.el (help-mode): Restore autoload.
13222
13223 2011-09-07 Juri Linkov <juri@jurta.org>
13224
13225 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13226 `compilation-environment'. Set buffer-local
13227 `compilation-environment' to `thisenv' later after (funcall mode).
13228 (Bug#8340)
13229
13230 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13231 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13232 instead of replacing its value. (Bug#8340)
13233
13234 2011-09-07 Juri Linkov <juri@jurta.org>
13235
13236 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13237 based on text properties put by `grep-filter' instead of matching
13238 escape sequences.
13239 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13240 to the value of `grep-error-screen-columns' (bug#9438).
13241
13242 2011-09-07 Juri Linkov <juri@jurta.org>
13243
13244 * simple.el (next-error-highlight, next-error-highlight-no-select):
13245 Doc fix (bug#9432).
13246
13247 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13248
13249 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13250 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13251
13252 2011-09-07 Leo Liu <sdl.web@gmail.com>
13253
13254 * net/rcirc.el (rcirc-mode): Conditionally initialize
13255 rcirc-input-ring.
13256
13257 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13258
13259 * emacs-lisp/find-func.el (find-function-C-source): Only set
13260 find-function-C-source-directory after checking that we found a source
13261 file there (bug#9440).
13262
13263 2011-09-06 Alan Mackenzie <acm@muc.de>
13264
13265 * isearch.el (isearch-other-meta-char): Wherever a key list is
13266 unread, "unread" the prefix arg, too. This fixes bug #8901.
13267
13268 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13269
13270 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13271
13272 2011-09-05 Juri Linkov <juri@jurta.org>
13273
13274 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13275
13276 2011-09-05 Juri Linkov <juri@jurta.org>
13277
13278 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13279 keeping point where processing of grep matches begins, and
13280 continue to delete remaining escape sequences from the same point.
13281 (grep-filter): Make leading zero optional in "0?1;31m" because
13282 git-grep emits "\033[1;31m" escape sequences unlike expected
13283 "\033[01;31m" as GNU Grep does (bug#9408).
13284 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13285
13286 2011-09-05 Juri Linkov <juri@jurta.org>
13287
13288 * subr.el (y-or-n-p): Capitalize "yes".
13289
13290 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
13291
13292 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13293 `tramp-cache-unload-hook' where appropriate.
13294 (tramp-methods): Rename `tramp-remote-sh' to
13295 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13296 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13297
13298 * net/tramp-sh.el (top): Don't require 'shell.
13299 (tramp-methods): Add `tramp-remote-shell' and
13300 `tramp-remote-shell-args' entries.
13301 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13302 (tramp-sh-handle-shell-command): Remove.
13303 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13304 Use `tramp-remote-shell'.
13305
13306 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
13307
13308 * mail/sendmail.el (sendmail-query-once-function): Delete.
13309 (sendmail-query-once): Save directly to send-mail-function.
13310 Update message-send-mail-function too.
13311
13312 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13313
13314 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13315
13316 * progmodes/python.el (python-mode-map): Use correct function to
13317 start python interpreter from menu-bar (as reported by Geert
13318 Kloosterman).
13319 (inferior-python-mode-map): Fix typo.
13320 (python-shell-map): Remove.
13321
13322 2011-09-03 Deniz Dogan <deniz@dogan.se>
13323
13324 * net/rcirc.el (rcirc-print): Simplify code for
13325 rcirc-scroll-show-maximum-output. There is no need to walk
13326 through all windows to find the right one.
13327
13328 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13329
13330 * help.el (help-return-method): Doc fix.
13331
13332 2011-09-03 Martin Rudalics <rudalics@gmx.at>
13333
13334 * window.el (window-deletable-p): Don't return a non-nil value
13335 when there's a buffer that was shown in the window before.
13336 (Bug#9419)
13337 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13338 Set window's previous buffers to nil.
13339
13340 2011-09-03 Eli Zaretskii <eliz@gnu.org>
13341
13342 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13343 newline before and after the tag line, so it doesn't interfere
13344 with determining the paragraph direction of bidirectional text.
13345
13346 2011-09-03 Leo Liu <sdl.web@gmail.com>
13347
13348 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
13349
13350 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
13351
13352 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
13353 (pop-to-buffer): Change interactive spec. Pass second argument
13354 directly to display-buffer.
13355 (display-buffer): Fix interactive spec. Use functionp to
13356 distinguish between a function and a list of functions.
13357
13358 * abbrev.el (edit-abbrevs):
13359 * arc-mode.el (archive-extract):
13360 * autoinsert.el (auto-insert):
13361 * bookmark.el (bookmark-bmenu-list):
13362 * files.el (find-file):
13363 * view.el (view-buffer):
13364 * progmodes/compile.el (compilation-goto-locus):
13365 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13366
13367 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
13368
13369 * window.el (display-buffer-alist): Doc fix.
13370 (display-buffer): Add docstring. Don't treat
13371 display-buffer-default specially.
13372 (display-buffer-reuse-selected-window)
13373 (display-buffer-same-window, display-buffer-maybe-same-window)
13374 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13375 (display-buffer-pop-up-window)
13376 (display-buffer-reuse-or-pop-window)
13377 (display-buffer-use-some-window): New functions.
13378 (display-buffer-default-action): Use them.
13379 (display-buffer-default): Delete.
13380 (pop-to-buffer-1): Fix choice of actions.
13381
13382 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
13383
13384 * minibuffer.el (completion--insert-strings): Don't get confused by
13385 completion entries that end with an LF char.
13386
13387 2011-09-01 Eli Zaretskii <eliz@gnu.org>
13388
13389 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13390
13391 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
13392
13393 * window.el (display-buffer): Restore interactive spec.
13394 (display-buffer-same-window, display-buffer-other-window):
13395 New functions.
13396 (pop-to-buffer-1): New function. Use the above.
13397 (pop-to-buffer, pop-to-buffer-same-window): Use it.
13398 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
13399
13400 * view.el (view-buffer-other-window, view-buffer-other-frame):
13401 Just use pop-to-buffer.
13402
13403 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13404
13405 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
13406
13407 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
13408
13409 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
13410
13411 2011-08-31 Richard Stallman <rms@gnu.org>
13412
13413 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
13414 of the separation of rmail-view-buffer from rmail-buffer.
13415 If you say no to "replace original", the decrypt is in the
13416 view buffer. If you say yes, the decrypt goes into the
13417 rmail buffer also.
13418
13419 2011-08-31 Martin Rudalics <rudalics@gmx.at>
13420
13421 * window.el (display-buffer-window): Rewrite doc-string.
13422 (display-buffer-record-window): New function.
13423 (display-buffer-macro-specifiers)
13424 (display-buffer-even-window-sizes, display-buffer-set-height)
13425 (display-buffer-set-width, display-buffer-in-window)
13426 (display-buffer-reuse-window, display-buffer-split-specifiers)
13427 (display-buffer-side-specifiers, display-buffer-split-window-1)
13428 (display-buffer-split-window, display-buffer-split-atom-window)
13429 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13430 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13431 (display-buffer-other-window-means-other-frame)
13432 (display-buffer-normalize-special)
13433 (display-buffer-normalize-default)
13434 (display-buffer-normalize-argument)
13435 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13436 (display-buffer-normalize-specifiers, display-buffer-frame)
13437 (display-buffer-same-window, display-buffer-same-frame)
13438 (display-buffer-other-window)
13439 (display-buffer-same-frame-other-window)
13440 (display-buffer-other-frame, pop-to-buffer-same-window)
13441 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
13442 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
13443 (switch-to-buffer-same-frame)
13444 (switch-to-buffer-other-window-same-frame)
13445 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
13446 (display-buffer-alist-set-1, display-buffer-alist-set-2)
13447 (display-buffer-alist-set): Remove.
13448 (display-buffer-function, special-display-buffer-names)
13449 (special-display-regexps, special-display-function):
13450 In doc-string refer to display-buffer-window and quit-restore
13451 parameter.
13452 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
13453 (special-display-frame-alist, special-display-popup-frame)
13454 (same-window-buffer-names, same-window-regexps, same-window-p)
13455 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13456 (split-window-preferred-function, split-height-threshold)
13457 (split-width-threshold, window-splittable-p)
13458 (split-window-sensibly, window--try-to-split-window)
13459 (window--frame-usable-p, even-window-heights)
13460 (window--even-window-heights, window--display-buffer-1)
13461 (window--display-buffer-2, display-buffer-other-frame):
13462 Restore old Emacs 23 code, order and doc-strings where applicable.
13463 (display-buffer-default, display-buffer-assq-regexp): New functions.
13464 (display-buffer-alist): Rewrite doc-string.
13465 (display-buffer-default-action)
13466 (display-buffer-overriding-action): New variables.
13467 (display-buffer, switch-to-buffer): Rewrite.
13468 (pop-to-buffer): Restore Emacs 23 behavior but use
13469 window-normalize-buffer-to-display.
13470 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13471 Restore Emacs 23 behavior but use
13472 window-normalize-buffer-to-switch-to.
13473 (pop-to-buffer-same-window): Rewrite.
13474 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13475 Rewrite using Emacs 23 options.
13476
13477 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
13478
13479 * net/tramp.el (tramp-root-regexp): Remove.
13480 (tramp-completion-file-name-regexp-unified)
13481 (tramp-completion-file-name-regexp-separate)
13482 (tramp-completion-file-name-regexp-url): Don't use leading volume
13483 letter on w32 systems. (Bug#5303, Bug#9311)
13484 (tramp-drop-volume-letter): Simplify definition.
13485 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
13486
13487 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13488
13489 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13490 (bug#9356).
13491
13492 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
13493
13494 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
13495
13496 2011-08-29 Juri Linkov <juri@jurta.org>
13497
13498 * isearch.el (isearch-done): Don't display message "Mark saved"
13499 when arg `edit' is non-nil to prevent its flicker in the echo area.
13500
13501 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
13502
13503 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13504 obsolete packages for deletion.
13505
13506 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
13507
13508 * help-mode.el (help-mode-map): Add special-mode-map to parent.
13509 (help-mode): Derive help-mode from special-mode. Don't invoke
13510 view-mode from help-mode.
13511 (help-xref-override-view-map): Remove.
13512 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13513 view-mode is not used anymore.
13514
13515 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
13516
13517 * server.el (server-port): Doc fix.
13518
13519 * cus-theme.el (custom-theme-choose-mode): Inherit from
13520 special-mode (Bug#9124).
13521 (custom-theme-choose-mode-map): Add special-mode to parent.
13522
13523 2011-08-28 Alan Mackenzie <acm@muc.de>
13524
13525 * progmodes/cc-fonts.el
13526 (c-make-font-lock-BO-decl-search-function): New function.
13527 (c-basic-matchers-after - "Fontify the clauses after various
13528 keywords"): Extract the three keyword lists for the 3 erroneous
13529 constructs from the list of four, and use the new function above
13530 in place of an old one.
13531
13532 2011-08-28 Deniz Dogan <deniz@dogan.se>
13533
13534 * net/rcirc.el (rcirc-insert-prev-input)
13535 (rcirc-insert-next-input): Remove unused argument.
13536
13537 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
13538
13539 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13540
13541 2011-08-27 Alan Mackenzie <acm@muc.de>
13542
13543 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13544 handle function pointer parameters properly.
13545
13546 2011-08-27 Martin Rudalics <rudalics@gmx.at>
13547
13548 * window.el (display-buffer-reuse-window): Fix case where
13549 selected window was reused with non-nil OTHER-WINDOW argument.
13550 (Bug#9381)
13551
13552 2011-08-27 Deniz Dogan <deniz@dogan.se>
13553
13554 * net/rcirc.el (rcirc-check-auth-status): Adding support for
13555 oftc's NickServ messages.
13556
13557 2011-08-27 Glenn Morris <rgm@gnu.org>
13558
13559 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
13560
13561 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
13562
13563 * emacs-lisp/package.el (package-install): Call package-initialize
13564 if called interactively.
13565
13566 2011-08-26 Leo Liu <sdl.web@gmail.com>
13567
13568 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
13569
13570 2011-08-25 Juri Linkov <juri@jurta.org>
13571
13572 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13573 `search-whitespace-regexp' (bug#9364).
13574
13575 2011-08-25 Juri Linkov <juri@jurta.org>
13576
13577 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
13578 `regexp-search-ring' to their global values to protect from
13579 updating by `read-from-minibuffer' (bug#9185).
13580
13581 2011-08-25 Juri Linkov <juri@jurta.org>
13582
13583 * textmodes/ispell.el (ispell-command-loop): Add newline
13584 at the end of the "Use option `i'..." line.
13585
13586 2011-08-25 Juri Linkov <juri@jurta.org>
13587
13588 * battery.el (display-battery-mode): If `battery-status-function'
13589 or `battery-mode-line-format' is nil, display the message and set
13590 `display-battery-mode' to nil (bug#9363).
13591
13592 2011-08-25 Eli Zaretskii <eliz@gnu.org>
13593
13594 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
13595 bidi-string-mark-left-to-right; they are unnecessary now.
13596
13597 2011-08-25 Deniz Dogan <deniz@dogan.se>
13598
13599 * net/quickurl.el: Documentation typo fixes.
13600
13601 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
13602
13603 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13604
13605 2011-08-25 Glenn Morris <rgm@gnu.org>
13606
13607 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
13608
13609 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
13610 (smtpmail-via-smtp): Handle nil response from smtp.
13611
13612 2011-08-24 Juri Linkov <juri@jurta.org>
13613
13614 * proced.el (proced-marked): Inherit from `error' instead of
13615 `font-lock-warning-face'.
13616
13617 * ibuffer.el (ibuffer-marked-face): Change default face from
13618 `font-lock-warning-face' to `warning'.
13619 (ibuffer-deletion-face): Change default face from
13620 `font-lock-type-face' to `error'.
13621
13622 * battery.el (battery-update): Use the face `error' instead of
13623 `font-lock-warning-face' (bug#6117).
13624
13625 2011-08-24 Juri Linkov <juri@jurta.org>
13626
13627 * faces.el (success): Change face color from "Green3" to
13628 "ForestGreen" on light background (bug#9353).
13629
13630 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
13631
13632 * window.el (quit-window): Rename from quit-restore-window.
13633 Use same arglist as old quit-window.
13634 (frame-auto-delete): Doc fix.
13635
13636 * view.el (view-mode-exit): Use quit-window.
13637
13638 2011-08-24 Juri Linkov <juri@jurta.org>
13639
13640 * isearch.el (isearch-ring-adjust1): Start visiting previous
13641 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13642 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13643 for empty search string (when the last search string is reused
13644 automatically) to adjust the isearch ring to the last element and
13645 prepare the correct index for further M-p commands (bug#9185).
13646
13647 2011-08-24 Kenichi Handa <handa@m17n.org>
13648
13649 * international/ucs-normalize.el: If decomposition property of
13650 CHAR is the default one (i.e. a list of CHAR itself), treat it as
13651 nil.
13652 (nfd, nfkd): Likewise.
13653
13654 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
13655
13656 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
13657 from process filters aren't reliably transmitted to the surrounding
13658 accept-process-output.
13659 (mpc-proc-check): New function.
13660 (mpc-proc-sync): Use it (bug#8293)
13661
13662 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13663
13664 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
13665 Add compatibility functions (bug#9313).
13666
13667 2011-08-23 Eli Zaretskii <eliz@gnu.org>
13668
13669 * cus-start.el (all): Add entry for bidi-paragraph-direction.
13670
13671 * international/uni-bidi.el: Regenerate.
13672
13673 2011-08-23 Kenichi Handa <handa@m17n.org>
13674
13675 * international/charprop.el:
13676 * international/uni-bidi.el:
13677 * international/uni-category.el:
13678 * international/uni-combining.el:
13679 * international/uni-comment.el:
13680 * international/uni-decimal.el:
13681 * international/uni-decomposition.el:
13682 * international/uni-digit.el:
13683 * international/uni-lowercase.el:
13684 * international/uni-mirrored.el:
13685 * international/uni-name.el:
13686 * international/uni-numeric.el:
13687 * international/uni-old-name.el:
13688 * international/uni-titlecase.el:
13689 * international/uni-uppercase.el: Regenerate.
13690
13691 2011-08-23 Martin Rudalics <rudalics@gmx.at>
13692
13693 * help.el (help-window-setup): Fix message displayed when other
13694 window is reused. (Bug#9341)
13695
13696 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13697
13698 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
13699 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
13700
13701 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
13702 Mark obsolete.
13703 * shell.el (shell-parse-pcomplete-arguments): New function.
13704 (shell-completion-vars): Use it instead (bug#9160).
13705
13706 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
13707
13708 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
13709 strings and comments (bug#9333).
13710
13711 * emacs-lisp/debug.el (debug-arglist): New function.
13712 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
13713 (debug-on-entry-1): Handle interpreted closures (bug#9120).
13714
13715 2011-08-22 Juri Linkov <juri@jurta.org>
13716
13717 * progmodes/compile.el (compilation-mode-font-lock-keywords):
13718 Revert regexp that highlights output switches to its old
13719 pre-2010-10-28 value and remove one `?' from it (bug#9319).
13720
13721 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
13722 to check for empty output (bug#9226).
13723
13724 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
13725
13726 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
13727 symbol-constituent as the default, as that stops font-lock from
13728 working properly (Bug#8843).
13729
13730 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13731
13732 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
13733 `coding-system-for-*' around the process open call to avoid
13734 auth-source side effects.
13735 (smtpmail-try-auth-methods): Expand the secret password.
13736 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
13737 probe hangs.
13738
13739 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
13740
13741 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
13742
13743 * emacs-lisp/find-func.el (find-function-noselect): New arg
13744 lisp-only.
13745
13746 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
13747 signal an error for built-in functions (Bug#6664).
13748
13749 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13750
13751 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
13752 (smtpmail-try-auth-methods): Use it.
13753
13754 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
13755
13756 * font-lock.el (font-lock-fontify-region)
13757 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
13758 (font-lock-default-unfontify-buffer)
13759 (font-lock-default-fontify-region)
13760 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
13761
13762 * progmodes/compile.el (compilation-error-properties):
13763 Fix confusion between file struct and message struct (Bug#9319).
13764 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
13765 `ant' regexp.
13766
13767 * net/browse-url.el (browse-url-firefox): Don't call
13768 browse-url-firefox-sentinel unless using -remote (Bug#9328).
13769
13770 2011-08-20 Glenn Morris <rgm@gnu.org>
13771
13772 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
13773
13774 * tutorial.el (tutorial--default-keys): Update some default bindings.
13775
13776 * files.el (hack-local-variables): Fully ignore case for "mode:".
13777
13778 2011-08-20 Alan Mackenzie <acm@muc.de>
13779
13780 Resolve invalid use of a regexp in regexp-opt.
13781
13782 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
13783 detection for a java annotation.
13784
13785 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
13786 detection for a java annotation.
13787
13788 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
13789 handling for java.
13790 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
13791
13792 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
13793
13794 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
13795 (Bug#9274).
13796
13797 2011-08-20 Alan Mackenzie <acm@muc.de>
13798
13799 Fontify CPP expressions correctly when starting in the middle of
13800 such a construct. Mainly for when jit-lock etc. starts a chunk
13801 here.
13802
13803 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
13804 variable.
13805 (c-make-font-lock-search-form): New function, extracted from
13806 c-make-font-lock-search-function.
13807 (c-make-font-lock-search-function): Use the above function.
13808 (c-make-font-lock-context-search-function): New function.
13809 (c-cpp-matchers): Enhance the preprocessor expression case with
13810 the above function
13811 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
13812 which takes an expression.
13813
13814 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
13815
13816 2011-08-20 Martin Rudalics <rudalics@gmx.at>
13817
13818 * window.el (display-buffer-reuse-window)
13819 (display-buffer-pop-up-window): Don't reuse or split a side
13820 window.
13821
13822 2011-08-19 Glenn Morris <rgm@gnu.org>
13823
13824 * files.el (hack-local-variables-prop-line, hack-local-variables):
13825 Downcase "Mode:". (Bug#9331)
13826
13827 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
13828
13829 * international/characters.el: Add L and R categories.
13830
13831 * subr.el (bidi-string-mark-left-to-right): Rename from
13832 string-mark-left-to-right. Use category search.
13833
13834 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
13835
13836 2011-08-18 Juri Linkov <juri@jurta.org>
13837
13838 * faces.el (error, warning, success): New faces with definitions
13839 copied from old default values of `font-lock-warning-face',
13840 `compilation-warning', `compilation-info' (bug#6117).
13841
13842 * font-lock.el (font-lock-warning-face): Inherit from `error'.
13843
13844 * progmodes/compile.el (compilation-error): Inherit from `error'.
13845 (compilation-warning): Inherit from `warning'.
13846 (compilation-info): Inherit from `success'.
13847
13848 * dired.el (dired-marked): Inherit from `warning'.
13849 (dired-flagged): Inherit from `error'.
13850
13851 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13852
13853 * mail/smtpmail.el (auth-source): Require to avoid problems with
13854 binding variables (bug#9298). Also clean up some unused
13855 autoloads.
13856
13857 * net/network-stream.el (network-stream-open-starttls):
13858 Support using starttls.el without using gnutls-cli.
13859
13860 2011-08-17 Juri Linkov <juri@jurta.org>
13861
13862 * progmodes/grep.el (rgrep): Handle the case when
13863 `grep-find-command' is a cons cell (bug#9278).
13864
13865 2011-08-17 Martin Rudalics <rudalics@gmx.at>
13866
13867 * window.el (display-buffer-pop-up-frame): Run frame creation
13868 function with BUFFER current (as special-display-popup-frame
13869 does). Reported by Drew Adams.
13870
13871 2011-08-17 Daiki Ueno <ueno@unixuser.org>
13872
13873 * epa-mail.el: Simplify GnuPG group expansion using
13874 epg-expand-group.
13875 (epa-mail-group-alist, epa-mail-group-modtime)
13876 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
13877 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
13878 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
13879 Remove.
13880
13881 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
13882
13883 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
13884
13885 2011-08-16 Alan Mackenzie <acm@muc.de>
13886
13887 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
13888 Correct, to avoid the inside of macros.
13889
13890 2011-08-16 Richard Stallman <rms@gnu.org>
13891
13892 * epa-mail.el: Handle GnuPG group definitions.
13893 (epa-mail-group-alist, epa-mail-group-modtime)
13894 (epa-mail-gnupg-conf-file): New variables.
13895 (epa-mail-parse-groups, epa-mail-sync-groups)
13896 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
13897 (epa-mail-expand-recipients): New functions.
13898 (epa-mail-encrypt): Call epa-mail-expand-recipients.
13899
13900 * mail/rmail.el (rmail-epa-decrypt): New command.
13901
13902 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
13903 Don't bind buffer-read-only, just inhibit-read-only.
13904 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
13905 (epa-decrypt-armor-in-region): Make error message clearer.
13906
13907 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
13908
13909 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
13910 and "a2b" to "ab" for `prefix'.
13911
13912 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
13913
13914 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
13915 filter groups.
13916 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
13917 Fourquet (Bug#8804).
13918
13919 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
13920
13921 * startup.el (argi): Declare as global variable (bug#9275).
13922
13923 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
13924
13925 * subr.el (string-mark-left-to-right): Search the entire string
13926 for RTL script, not just the terminating character. Doc fix.
13927
13928 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
13929
13930 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
13931 New function.
13932 (js--regexp-literal, js-syntax-propertize-function): Remove.
13933 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
13934 (js-mode-map): Don't rebind electric keys.
13935 (js-insert-and-indent): Remove.
13936 (js-mode): Setup electric-layout and electric-indent instead.
13937
13938 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
13939
13940 2011-08-12 Daiki Ueno <ueno@unixuser.org>
13941
13942 * epa.el (epa-progress-callback-function): Fix the logic of
13943 displaying progress.
13944 * epa-file.el (epa-file-insert-file-contents): Make progress
13945 display more user-friendly.
13946 (epa-file-write-region): Ditto.
13947
13948 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
13949
13950 * subr.el (string-mark-left-to-right): New function.
13951
13952 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
13953 Use string-mark-left-to-right.
13954 (list-buffers-noselect): Caller changed.
13955
13956 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13957 Use string-mark-left-to-right.
13958 (tabulated-list-print): Recenter after moving point.
13959
13960 2011-08-10 Juri Linkov <juri@jurta.org>
13961
13962 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
13963 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
13964 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
13965
13966 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
13967
13968 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
13969 (Bug#7554).
13970
13971 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
13972
13973 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
13974 character. (Bug#6594)
13975
13976 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
13977
13978 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
13979 (image-dired--with-db-file): New macro.
13980 (image-dired-write-tags, image-dired-remove-tag)
13981 (image-dired-create-gallery-lists, image-dired-write-comments)
13982 (image-dired-get-comment, image-dired-mark-tagged-files)
13983 (image-dired-list-tags, image-dired-gallery-generate): Use it.
13984 (image-dired-gallery-generate): Use insert-file-contents.
13985
13986 * time.el (display-time-world-list, display-time-world-display):
13987 * time-stamp.el (time-stamp-string):
13988 * vc/add-log.el (add-change-log-entry): Use setenv instead of
13989 set-time-zone-rule (Bug#7337).
13990
13991 2011-08-08 Daiki Ueno <ueno@unixuser.org>
13992
13993 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
13994 (epg-error-to-string, epg-errors-to-string): New function.
13995 (epg-wait-for-completion): Reverse errors list.
13996 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
13997 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
13998 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
13999 (epg-sign-keys, epg-generate-key-from-file)
14000 (epg-generate-key-from-string): Format errors by using
14001 epg-errors-to-string (bug#9255).
14002 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14003
14004 2011-08-07 Juri Linkov <juri@jurta.org>
14005
14006 * faces.el (list-faces-display): Remove extra angle bracket
14007 from `help-mode-map'.
14008
14009 * info.el (Info-history-toc-nodes): Doc fix.
14010
14011 * longlines.el (longlines-mode): Doc fix.
14012
14013 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14014
14015 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14016 of statements and in a few more cases (bug#9183).
14017
14018 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14019 New functions.
14020 (cl-transform-lambda): Use them (bug#9239).
14021
14022 2011-08-05 Martin Rudalics <rudalics@gmx.at>
14023
14024 * window.el (display-buffer-same-window)
14025 (display-buffer-same-frame, display-buffer-other-window)
14026 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14027 (pop-to-buffer-other-window)
14028 (pop-to-buffer-same-frame-other-window)
14029 (pop-to-buffer-other-frame): Make them defuns.
14030 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14031
14032 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14033
14034 * subr.el (make-composed-keymap): Move from C. Change calling
14035 convention, and improve docstring to bring attention to a subtle point.
14036 * minibuffer.el (completing-read-default): Adjust accordingly.
14037
14038 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
14039
14040 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14041 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14042
14043 * net/trampver.el: Update release number.
14044
14045 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14046
14047 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14048 "in" (bug#9190).
14049
14050 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14051
14052 * mail/sendmail.el (sendmail-query-once): Restore the current
14053 buffer after querying (bug#9074).
14054
14055 * dired.el (dired-flagged): Use different faces for marked and
14056 flagged files (bug#6117).
14057
14058 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14059 (bug#4433).
14060
14061 * ido.el (ido-mode): Switch off the message if called
14062 non-interactively.
14063
14064 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14065 before 587, since it appears that that's more likely to work for
14066 more people.
14067
14068 * cus-edit.el (custom-file): When running under emacs -q, always
14069 refuse to save the customizations, even if the .emacs file doesn't
14070 exist.
14071
14072 * info.el: Remove the `Info-beginning-of-buffer' function
14073 (bug#8325).
14074
14075 * net/network-stream.el (network-stream-open-starttls):
14076 Use `starttls-available-p' to see whether starttls.el can be used.
14077
14078 2011-08-01 Martin Rudalics <rudalics@gmx.at>
14079
14080 * window.el (display-buffer-in-window): Don't set dedicated status
14081 of window here (Bug#9215).
14082 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14083 (display-buffer-pop-up-side-window)
14084 (display-buffer-in-side-window): Set dedicated status of window here.
14085
14086 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14087
14088 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14089 before binding generated-autoload-file.
14090
14091 2011-08-01 Deniz Dogan <deniz@dogan.se>
14092
14093 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14094
14095 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
14096
14097 Sync with Tramp 2.2.2.
14098
14099 * net/trampver.el: Update release number.
14100
14101 2011-07-30 Juri Linkov <juri@jurta.org>
14102
14103 * dired-aux.el (dired-touch-initial): Remove function.
14104 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14105 current time, and `default' to the last modification time of the
14106 current marked file (bug#6887).
14107
14108 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14109
14110 * simple.el (goto-line): Use string-to-number to provide a
14111 numeric argument to read-number (bug#9163).
14112
14113 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
14114
14115 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14116 connection process, it could be nil.
14117
14118 2011-07-27 Leo Liu <sdl.web@gmail.com>
14119
14120 Simplify url handling in rcirc-mode.
14121
14122 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14123 (rcirc-browse-url-at-mouse): Remove.
14124 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14125
14126 2011-07-26 Alan Mackenzie <acm@muc.de>
14127
14128 Fontify bitfield declarations properly.
14129
14130 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14131 (c-symbol-chars): Now exported as a lang variable.
14132 (c-not-primitive-type-keywords): New lang variable.
14133
14134 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14135 QT keyword "more" to prevent "more slots: ...." being spuriously
14136 parsed as a bitfield declaration.
14137
14138 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14139 Refactor and enhance to handle bitfield declarations.
14140 (c-punctuation-in): New function.
14141 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14142 declarations properly.
14143
14144 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
14145
14146 * calendar/icalendar.el (icalendar--all-events): Take care of
14147 multiple vcalendars in a single file.
14148 (icalendar--convert-float-to-ical): Checkdoc fixes.
14149
14150 2011-07-25 Deniz Dogan <deniz@dogan.se>
14151
14152 * image.el (insert-image): Clarifying docstring.
14153
14154 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
14155
14156 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14157 `tramp-send-command-and-check' if there is no error.
14158 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14159
14160 2011-07-22 Alan Mackenzie <acm@muc.de>
14161
14162 Prevent cc-langs.elc being loaded at run time.
14163
14164 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14165 cc-langs.
14166
14167 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
14168 "(require 'cc-langs)". Quote a form so it will evaluate at
14169 (cc-mode's) compilation time.
14170
14171 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
14172
14173 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14174 loading. (Bug#9114)
14175
14176 2011-07-21 Martin Rudalics <rudalics@gmx.at>
14177
14178 * window.el (display-buffer-pop-up-window)
14179 (display-buffer-pop-up-side-window)
14180 (display-buffer-in-side-window): Call display-buffer-set-height
14181 and display-buffer-set-width after setting the new window's
14182 buffer so `fit-window-to-buffer' and friends work on the right buffer.
14183
14184 2011-07-20 Sam Steingold <sds@gnu.org>
14185
14186 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14187 (etags-tags-included-tables): Call `convert-standard-filename' on
14188 the file names contained in TAGS so that windows Emacs can handle
14189 TAGS files created by cygwin ctags.
14190
14191 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14192
14193 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14194 which apparently didn't work.
14195
14196 2011-07-19 Roland Winkler <winkler@gnu.org>
14197
14198 * proced.el (proced-send-signal): For *Marked Processes* buffer
14199 put point at beginning of buffer.
14200
14201 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
14202
14203 * proced.el (proced-format): Make header lines align with the text
14204 (bug#1779).
14205
14206 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14207
14208 * view.el (view-buffer): Allow running in `special' modes if we're
14209 visiting a file (bug#8615).
14210
14211 2011-07-19 Martin Rudalics <rudalics@gmx.at>
14212
14213 * window.el (display-buffer-alist-of-strings-p)
14214 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14215 New functions.
14216 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14217 more accurately.
14218
14219 2011-07-18 Alan Mackenzie <acm@muc.de>
14220
14221 Fontify declarators properly when, e.g., a jit-lock chunk begins
14222 inside a declaration.
14223
14224 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14225
14226 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14227 New function.
14228 (c-complex-decl-matchers): Insert reference to
14229 c-font-lock-enclosing-decls.
14230
14231 * progmodes/cc-engine.el (c-backward-single-comment):
14232 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14233 to nil around calls to (forward-comment -1).
14234
14235 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14236
14237 * image.el (put-image): Doc typo fix.
14238
14239 * progmodes/etags.el (tags-search): Doc typo fix.
14240
14241 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14242 password if we get errors 550 to 554.
14243
14244 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14245
14246 * net/gnutls.el (gnutls-log-level): Remove.
14247
14248 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14249 indentation character (bug#6380).
14250
14251 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14252
14253 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14254 to clarify what the problem is (bug#4291).
14255
14256 * simple.el (current-kill): Clarify what
14257 `interprogram-paste-function' does (bug#7500).
14258 (auto-fill-mode): Document `auto-fill-function' in relation to
14259 `auto-fill-mode' (bug#2470).
14260
14261 2011-07-16 Lawrence Mitchell <wence@gmx.li>
14262
14263 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14264 method if slot is read-only (bug#9035).
14265
14266 2011-07-16 Martin Rudalics <rudalics@gmx.at>
14267
14268 * frame.el (select-frame-set-input-focus): New argument NORECORD.
14269 * window.el (pop-to-buffer): Select window used even if it was
14270 selected before, see discussion of (Bug#8615), (Bug#6954).
14271 Pass argument NORECORD on to select-frame-set-input-focus.
14272
14273 2011-07-15 Glenn Morris <rgm@gnu.org>
14274
14275 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
14276 Respect help-form.
14277
14278 2011-07-09 Lawrence Mitchell <wence@gmx.li>
14279
14280 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14281 (gnutls-negotiate): Use it.
14282
14283 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14284
14285 * net/gnutls.el (gnutls-negotiate):
14286 Upcase `gnutls-algorithm-priority'.
14287
14288 2011-07-15 Glenn Morris <rgm@gnu.org>
14289
14290 * jka-compr.el (jka-compr-verbose): Move from here...
14291 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14292 Add missing :version tag.
14293 * info.el: No need to require jka-compr when compiling.
14294
14295 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14296
14297 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14298 (gnutls-negotiate): Use it.
14299
14300 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14301
14302 * info.el (Info-beginning-of-buffer): New command.
14303 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14304 announcing `b' as the key (bug#8325).
14305 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
14306
14307 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14308
14309 * international/mule-cmds.el
14310 (describe-specified-language-support): Make the error message
14311 clearer (bug#8905).
14312
14313 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14314
14315 * isearch.el (isearch-barrier): Add a doc string, since it's
14316 mentioned in a function doc string (bug#8678).
14317
14318 2011-07-15 Martin Rudalics <rudalics@gmx.at>
14319
14320 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14321 buffer argument (Bug#9083) and self-identifying label argument.
14322
14323 2011-07-15 Glenn Morris <rgm@gnu.org>
14324
14325 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
14326
14327 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14328
14329 * man.el (Man-fontify-manpage): Fix message when formatting the
14330 man page (bug#7929).
14331
14332 2011-07-14 Eli Zaretskii <eliz@gnu.org>
14333
14334 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14335 argument LRM; if non-nil, append an invisible LRM character to the
14336 buffer name.
14337 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14338 last argument non-nil, when formatting buffer names.
14339 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14340 paragraph direction.
14341
14342 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14343
14344 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14345 the man page name (bug#7929).
14346
14347 * image.el (put-image): Mention the `put-image' overlay property
14348 (bug#7834).
14349
14350 * scroll-bar.el (set-scroll-bar-mode): Mention that
14351 `scroll-bar-mode' lists the values (bug#7772).
14352
14353 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14354 command (bug#7729).
14355
14356 * rect.el (apply-on-rectangle): Return the point after the last
14357 operation.
14358 (string-rectangle): Go to the point after the last operation
14359 (bug#7522).
14360
14361 * printing.el (pr-toggle-region): Clarify the documentation
14362 slightly (bug#7493).
14363
14364 * time.el (display-time-update):
14365 Allow `display-time-mail-function' to return nil (bug#7158).
14366 Fix suggested by Detlev Zundel.
14367
14368 * vc/diff.el (diff): Clarify the order the file names are read
14369 (bug#7111).
14370
14371 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14372 the doc string (bug#7015).
14373
14374 * font-lock.el (font-lock-maximum-decoration): Mention what
14375 numeric levels mean (bug#6935).
14376
14377 * startup.el (initial-buffer-choice): Don't mention the `none'
14378 selection, which is against policy.
14379
14380 2011-07-14 Martin Rudalics <rudalics@gmx.at>
14381
14382 * window.el (display-buffer-normalize-special):
14383 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
14384
14385 2011-07-14 Eli Zaretskii <eliz@gnu.org>
14386
14387 * subr.el (version<, version<=, version=): Mention "-CVS" and
14388 "-12345" alpha version numbers.
14389
14390 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
14391
14392 * bindings.el: Add advertised binding for set-mark-command
14393 (Bug#5772).
14394
14395 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
14396
14397 * bindings.el (mode-line-other-buffer):
14398 * bookmark.el (bookmark-bmenu-2-window):
14399 * bs.el (bs-cycle-next, bs-cycle-previous):
14400 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14401 switch-to-buffer.
14402
14403 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14404 Delete.
14405
14406 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
14407
14408 * follow.el (follow-debug-message, follow-redisplay):
14409 * jka-cmpr-hook.el (with-auto-compression-mode):
14410 Fix typos in docstrings.
14411
14412 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14413
14414 * subr.el (with-silent-modifications): Clarify somewhat what the
14415 macro inhibits (bug#6525).
14416
14417 * simple.el (eval-expression): Note what it does if called
14418 interactively (bug#6495).
14419
14420 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
14421
14422 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14423 Use pop-to-buffer buffer-or-name if it is nil.
14424
14425 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14426 Remove switch-to-buffer.
14427
14428 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14429
14430 * files.el (make-directory): Clarify that an error will be raised
14431 if there's an error (bug#6397).
14432
14433 * startup.el (initial-buffer-choice): Add `none' as a choice
14434 (bug#6234).
14435
14436 * subr.el (add-hook): Clarify section about buffer-local hooks
14437 (bug#6218).
14438
14439 * dired.el (dired-flagged): Clarify doc string (bug#6117).
14440
14441 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
14442
14443 * tabify.el (untabify): Preserve the current column so that point
14444 doesn't move (bug#6032).
14445
14446 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14447
14448 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
14449 Rewrite to avoid awkward possessive "s" (bug#5986).
14450
14451 2011-07-13 Glenn Morris <rgm@gnu.org>
14452
14453 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
14454 (dired-insert-directory): Give a message the first time
14455 if ls is found not to support --dired.
14456
14457 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14458
14459 * simple.el (toggle-truncate-lines): Clarify what is toggled
14460 (bug#5580). Text by Drew Adams.
14461
14462 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
14463
14464 * simple.el (blink-matching-open): Make the error message from the
14465 last change less verbose.
14466
14467 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
14468
14469 * font-lock.el (font-lock-comment-face): Use the high contrast
14470 "yellow" color for font-lock-comment-face on low color terminals
14471 using a dark background color (bug#4221).
14472
14473 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14474
14475 * dired.el (dired-insert-set-properties): Make the doc string
14476 reflect what it does now (bug#5325).
14477
14478 * simple.el (blink-matching-open): Say that we were unable to find
14479 the match within the limit, if we're limited (bug#5122).
14480
14481 * international/mule-cmds.el (prefer-coding-system): Add an
14482 example (bug#4869).
14483
14484 * progmodes/etags.el (tags-search): Document `file-list-form'
14485 (bug#4731).
14486
14487 2011-07-13 Lawrence Mitchell <wence@gmx.li>
14488
14489 * net/browse-url.el (browse-url-default-browser)
14490 (browse-url-browser-function): Make the default browser choice a
14491 bit more logical (bug#4300). Also clean up the doc string.
14492
14493 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
14494
14495 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14496 binary endings (bug#4440).
14497
14498 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14499
14500 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14501 which can be pretty annoying (bug#8971).
14502
14503 * jka-compr.el (jka-compr-verbose): New variable, and use
14504 throughout (bug#8971).
14505
14506 * info.el (Info-find-file): Fall back on the installation
14507 directory if we can't find the info node anywhere else.
14508
14509 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
14510
14511 * vc/vc.el (vc-revert-file):
14512 Don't set file time-stamp in the past. (Bug#5181)
14513
14514 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14515
14516 * files.el (after-find-file): Give a better error message when
14517 trying to find a symlink that points to a file that doesn't exist
14518 (bug#4398).
14519
14520 * progmodes/cc-vars.el: Remove (probably) misleading comment
14521 (bug#4396).
14522
14523 2011-07-12 Johan Bockgård <bojohan@gnu.org>
14524
14525 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14526
14527 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
14528
14529 * mouse-sel.el: Hack restoring functionality, while keeping
14530 compatibility with 2010-07-03 changes to mouse selection.
14531 (mouse-sel-primary-overlay): New var.
14532 (mouse-sel-selection-alist): Use it.
14533 (mouse-sel-mode): Doc fix; remove points that are default features
14534 of mouse.el.
14535
14536 2011-07-12 Johan Bockgård <bojohan@gnu.org>
14537
14538 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14539 Fix previous fix (bug#2490).
14540
14541 2011-07-12 Roland Winkler <winkler@gnu.org>
14542
14543 * textmodes/bibtex.el (bibtex-initialize):
14544 Use pop-to-buffer-same-window.
14545 (bibtex-search-entries): Fix interactive call.
14546
14547 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14548
14549 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14550 Fontise bytecomp Error lines more correctly (bug#2490).
14551 Fix suggested by Johan Bockgård.
14552
14553 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14554
14555 * dired-x.el (dired-guess-default): Use `delete-dups'.
14556
14557 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
14558
14559 * dired.el (dired-mark-prompt):
14560 * dired-aux.el (dired-read-shell-command): Doc fix.
14561
14562 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14563
14564 * mail/sendmail.el (sendmail-query-once):
14565 Use `customize-save-variable' unconditionally, now that it works under
14566 emacs -Q.
14567
14568 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14569
14570 * cus-edit.el (custom-file): Take an optional no-error variable.
14571 (customize-save-variable): Set the variable, and give a warning if
14572 running under "emacs -q".
14573
14574 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
14575
14576 * loadhist.el (unload-feature-special-hooks):
14577 Add `auto-coding-functions', `fill-nobreak-predicate' and
14578 `find-directory-functions' (bug#5327).
14579
14580 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14581
14582 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
14583
14584 * cus-edit.el (custom-guess-name-alist): -alist variables should
14585 use the `alist' type (bug#3120). Suggested by Drew Adams.
14586
14587 * printing.el: Add documentation to all the `pr-toggle-' commands.
14588
14589 2011-07-11 Leo Liu <sdl.web@gmail.com>
14590
14591 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
14592 backends where it makes sense (bug#2623).
14593
14594 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14595
14596 * dired-x.el (dired-guess-default): Remove duplicate shell command
14597 entries (bug#2028).
14598 (dired-guess-default): Fix grammar in doc string (bug#2028).
14599 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
14600
14601 * subr.el (remove-duplicates): New conveniency function.
14602
14603 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14604
14605 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
14606 (bug#1526).
14607
14608 2011-07-10 Martin Rudalics <rudalics@gmx.at>
14609
14610 * window.el (display-buffer-normalize-default): Don't invert
14611 meaning of even-window-heights. Reported by Eli Zaretskii
14612 <eliz@gnu.org>.
14613
14614 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
14615
14616 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
14617
14618 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
14619
14620 * window.el (display-buffer): Fix arguments to
14621 display-buffer-reuse-window in last change.
14622
14623 * faces.el (link): Use a less saturated blue on light backgrounds.
14624
14625 * startup.el (fancy-startup-text, fancy-about-text)
14626 (fancy-startup-tail): Use font-lock faces, for background safety.
14627
14628 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
14629
14630 * emulation/viper-cmd.el (viper-change-state-to-vi):
14631 Limit triggering of abbrev expansion (Bug#9038).
14632
14633 2011-07-09 Martin Rudalics <rudalics@gmx.at>
14634
14635 * window.el (display-buffer-default-specifiers): Remove.
14636 (display-buffer-macro-specifiers): Remove default specifiers.
14637 (display-buffer-alist): Default to nil.
14638 (display-buffer-reuse-window): New optional argument other-window.
14639 (display-buffer-pop-up-window): Allow splitting internal
14640 windows. Check whether a live window was created.
14641 (display-buffer-other-window-means-other-frame)
14642 (display-buffer-normalize-arguments): Rename to
14643 display-buffer-normalize-argument and rewrite. Set the
14644 other-window specifier.
14645 (display-buffer-normalize-special): New function.
14646 (display-buffer-normalize-options): Rename to
14647 display-buffer-normalize-default and rewrite.
14648 (display-buffer-normalize-options-inhibit): Remove.
14649 (display-buffer-normalize-specifiers): Rewrite.
14650 (display-buffer): Process other-window specifier and call
14651 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
14652 more faithfully.
14653 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
14654 (display-buffer-alist-set): Don't handle 'unset default values.
14655 (display-buffer-in-window, display-buffer-alist-set):
14656 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
14657 <tassilo@member.fsf.org>.
14658
14659 2011-07-09 Leo Liu <sdl.web@gmail.com>
14660
14661 * register.el (insert-register): Restore accidental change on
14662 2011-06-26. (Bug#9028)
14663
14664 2011-07-09 Glenn Morris <rgm@gnu.org>
14665
14666 * subr.el (remq): Handle the empty list. (Bug#9024)
14667
14668 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
14669
14670 * mail/sendmail.el (send-mail-function): No longer delay custom
14671 initialization.
14672 * custom.el (custom-initialize-delay): Doc fix.
14673
14674 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14675
14676 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
14677
14678 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
14679
14680 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
14681 human-friendly prompt.
14682
14683 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14684
14685 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
14686 provided by a particular plugin.
14687
14688 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
14689
14690 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
14691 save customizations (with "emacs -Q"), just set the variable
14692 instead of erroring out.
14693
14694 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14695
14696 2011-07-08 Juri Linkov <juri@jurta.org>
14697
14698 * arc-mode.el (archive-zip-expunge, archive-zip-update)
14699 (archive-zip-update-case): Use 7z if found by `executable-find'.
14700 The order of searching the available programs is the same as in
14701 `archive-zip-extract' (bug#8968).
14702
14703 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
14704
14705 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
14706 (menu-bar-options-menu): Tweak descriptions.
14707
14708 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14709
14710 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
14711 menu items into verb phrases (bug#1421). Also refill to fit under
14712 80 columns.
14713
14714 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
14715
14716 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
14717 (Info-read-node-name): Doc fix (Bug#1084).
14718
14719 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
14720 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
14721 (end-of-sexp, beginning-of-sexp)
14722 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
14723 (forward-symbol, forward-same-syntax, word-at-point)
14724 (sentence-at-point): Doc fix (Bug#1144).
14725
14726 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14727
14728 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
14729 should cover it (bug#1281).
14730
14731 * cus-edit.el (custom-show): Mark as obsolete.
14732
14733 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
14734 negotiation fails, then possibly try again with a non-encrypted
14735 connection (bug#9017).
14736
14737 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
14738 be used.
14739
14740 2011-07-07 Richard Stallman <rms@gnu.org>
14741
14742 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
14743 property, and handle its changed format.
14744 Look for the correct line number.
14745 Use file's line contents (but not past first =) to find
14746 correct line in message.
14747
14748 2011-07-07 Kenichi Handa <handa@m17n.org>
14749
14750 * international/characters.el (build-unicode-category-table):
14751 Delete it.
14752 (unicode-category-table): Set it by unicode-property-table-internal.
14753
14754 * international/mule-cmds.el (char-code-property-alist): Move to
14755 to src/chartab.c.
14756 (get-char-code-property): Call unicode-property-table-internal to
14757 load a file. Call get-unicode-property-internal where necessary.
14758 (put-char-code-property): Call unicode-property-table-internal to
14759 load a file. Call put-unicode-property-internal where necessary.
14760 put-unicode-property-internal where necessary.
14761 (char-code-property-description):
14762 Call unicode-property-table-internal to load a file.
14763
14764 * international/charprop.el:
14765 * international/uni-bidi.el:
14766 * international/uni-category.el:
14767 * international/uni-combining.el:
14768 * international/uni-comment.el:
14769 * international/uni-decimal.el:
14770 * international/uni-decomposition.el:
14771 * international/uni-digit.el:
14772 * international/uni-lowercase.el:
14773 * international/uni-mirrored.el:
14774 * international/uni-name.el:
14775 * international/uni-numeric.el:
14776 * international/uni-old-name.el:
14777 * international/uni-titlecase.el:
14778 * international/uni-uppercase.el: Regenerate.
14779
14780 * loadup.el: Load international/charprop.el before
14781 international/characters.
14782
14783 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
14784
14785 * window.el (next-buffer, previous-buffer): Signal an error if
14786 called from a minibuffer window.
14787
14788 * bindings.el: Revert 2011-07-04 change.
14789
14790 2011-07-06 Richard Stallman <rms@gnu.org>
14791
14792 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
14793 (rmail-mime-insert-bulk, rmail-mime-insert-text):
14794 Treat markers like ints.
14795 (rmail-mime-entity): Doc fix.
14796
14797 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14798
14799 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
14800 defcustom again for backwards compatibility.
14801
14802 * simple.el (shell-command-on-region): Fill.
14803
14804 * dired-aux.el (dired-kill-line): Add a doc string.
14805
14806 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
14807 to "\\sw\\|\\s_" (bug#358).
14808
14809 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
14810 (dired-unmark-backward): Ditto.
14811 (dired-flag-backup-files): Ditto.
14812
14813 * dired-x.el (dired-mark-sexp): Ditto.
14814
14815 2011-07-06 Richard Stallman <rms@gnu.org>
14816
14817 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
14818 (rmail-mime-entity): New arg TRUNCATED.
14819 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
14820 New functions.
14821 (rmail-mime-save): Warn if entity is truncated.
14822 (rmail-mime-toggle-hidden): Likewise, for showing.
14823 (rmail-mime-process-multipart): Record when an entity is truncated.
14824
14825 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
14826 if ENTITY is a string.
14827
14828 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14829
14830 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
14831 of faces when `M-C-x'-ing their definitions (bug#8378).
14832 Also clean up the code slightly.
14833
14834 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
14835 because that makes the colors go away.
14836
14837 * mail/sendmail.el (send-mail-function): Change the default to
14838 `sendmail-query-once'.
14839 (sendmail-query-once): Add an autoload cookie.
14840
14841 * net/network-stream.el (network-stream-open-starttls): Try using
14842 a plain connection even if the server offered STARTTLS, and we
14843 kinda wanted to use it, if Emacs doesn't have any STARTTLS
14844 capability. This should make smtpmail.el work in slightly more
14845 configurations.
14846
14847 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
14848
14849 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14850 New defun.
14851 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
14852
14853 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
14854
14855 * progmodes/sql.el: Version 3.0
14856 (sql-product-alist): Add product :completion-object,
14857 :completion-column, and :statement attributes.
14858 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
14859 (sql-mode-syntax-table): Mark all punctuation.
14860 (sql-font-lock-keywords-builder): Temporarily remove fallback on
14861 ansi keywords.
14862 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
14863 (sql-mode-oracle-font-lock-keywords): Improve.
14864 (sql-oracle-show-reserved-words): New function for development.
14865 (sql-product-font-lock): Simplify for source code buffers.
14866 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
14867 New functions.
14868 (sql-highlight-product): Set product specific syntax table.
14869 (sql-mode-map): Add statement movement functions.
14870 (sql-ansi-statement-starters, sql-oracle-statement-starters):
14871 New variable.
14872 (sql-statement-regexp, sql-beginning-of-statement)
14873 (sql-end-of-statement, sql-signum): New functions.
14874 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
14875 (sql-show-sqli-buffer): Bug fix.
14876 (sql-interactive-mode): Store connection data as buffer local.
14877 (sql-connect): Add NEW-NAME parameter. Redesign interaction
14878 with sql-interactive-mode.
14879 (sql-save-connection): Save buffer local settings.
14880 (sql-connection-menu-filter): Change menu entry name.
14881 (sql-product-interactive): Bug fix.
14882 (sql-preoutput-hold): New variable.
14883 (sql-interactive-remove-continuation-prompt): Bug fixes.
14884 (sql-debug-redirect): New variable.
14885 (sql-str-literal): New function.
14886 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
14887 Redesign.
14888 (sql-oracle-save-settings, sql-oracle-restore-settings)
14889 (sql-oracle-list-all, sql-oracle-list-table): New functions.
14890 (sql-completion-object, sql-completion-column)
14891 (sql-completion-sqlbuf): New variables.
14892 (sql-build-completions-1, sql-build-completions)
14893 (sql-try-completion): New functions.
14894 (sql-read-table-name): Use them.
14895 (sql-contains-names): New buffer local variable.
14896 (sql-list-all, sql-list-table): Use it.
14897 (sql-oracle-completion-types): New variable.
14898 (sql-oracle-completion-object, sql-sqlite-completion-object)
14899 (sql-postgres-completion-object): New functions.
14900
14901 2011-07-06 Glenn Morris <rgm@gnu.org>
14902
14903 * window.el (pop-to-buffer): Doc fix.
14904
14905 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
14906
14907 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
14908
14909 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
14910
14911 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
14912
14913 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
14914
14915 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
14916
14917 * button.el (button): Inherit from link face. Suggested by Dan
14918 Nicolaescu.
14919
14920 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14921
14922 * progmodes/gdb-mi.el: Fit in 80 columns.
14923 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
14924 switch-to-buffer.
14925
14926 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
14927 if imenu is simply not configured (bug#8941).
14928
14929 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
14930
14931 * allout.el (allout-post-undo-hook): New allout outline-change
14932 event hook to signal undo activity.
14933 (allout-post-command-business): Run allout-post-undo-hook if an
14934 undo just occurred.
14935 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
14936 * allout-widgets.el (allout-widgets-after-undo-function):
14937 Ensure the integrity of the current item's decoration after it has been
14938 in the vicinity of an undo.
14939 (allout-widgets-mode): Include allout-widgets-after-undo-function
14940 on the new allout-post-undo-hook.
14941
14942 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14943
14944 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
14945 Let define-derived-mode define it.
14946 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
14947 cycles of abbrev-table inheritance (bug#8998).
14948
14949 2011-07-05 Roland Winkler <winkler@gnu.org>
14950
14951 * textmodes/bibtex.el: Add support for biblatex.
14952 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
14953 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
14954 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
14955 (bibtex-entry-alist, bibtex-field-alist): New variables.
14956 (bibtex-entry-field-alist): Obsolete alias for
14957 bibtex-BibTeX-entry-alist.
14958 (bibtex-entry-alist, bibtex-field-alist): New widgets.
14959 (bibtex-set-dialect): New command.
14960 (bibtex-entry-type, bibtex-entry-head)
14961 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
14962 Bind via bibtex-set-dialect.
14963 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
14964 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
14965 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
14966 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
14967 Define via bibtex-set-dialect.
14968 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
14969 Obey bibtex-no-opt-remove-re.
14970 (bibtex-vec-push, bibtex-vec-incr): New functions.
14971 (bibtex-format-entry, bibtex-field-list)
14972 (bibtex-print-help-message, bibtex-validate)
14973 (bibtex-search-entries): Use new format of bibtex-entry-alist.
14974
14975 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14976
14977 * progmodes/compile.el (compilation-goto-locus):
14978 * net/tramp-cmds.el (tramp-append-tramp-buffers):
14979 * bs.el (bs-cycle-next, bs-cycle-previous):
14980 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
14981 * bindings.el (mode-line-other-buffer):
14982 * autoinsert.el (auto-insert):
14983 * arc-mode.el (archive-extract):
14984 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
14985
14986 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
14987
14988 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
14989 Fix check of `emacs-lock-unlockable-modes'.
14990 Coerce true values of `emacs-lock--try-unlocking' to t.
14991
14992 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
14993
14994 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
14995 * emacs-lock.el: New file.
14996
14997 2011-07-05 Julien Danjou <julien@danjou.info>
14998
14999 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15000 than `boundp' to check if face is set.
15001
15002 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15003
15004 * register.el (registerv-make):
15005 * window.el (window-min-height): Fix typos in docstrings.
15006
15007 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15008
15009 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
15010 Update doc string.
15011
15012 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
15013
15014 * server.el (server-execute): Catch quit and call
15015 `server-return-error' to pass the error back to emacsclient and
15016 close the connection (bug#8942).
15017
15018 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15019
15020 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15021 insecure exception for current topic. Also note that auto-saves
15022 are handled differently.
15023
15024 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
15025 State variables for tracking auto-save inhibition situation.
15026
15027 (allout-write-contents-hook-handler): Rename from
15028 'allout-write-file-hook-handler', and describe how it depends on
15029 write-contents-functions sensitivity to non-nil value to prevent
15030 file write.
15031
15032 (allout-auto-save-hook-handler): Remove. auto-save does not check
15033 this in individual buffers, only in the starting buffer, so this
15034 is not the right way for us to inhibit auto-save in a buffer
15035 according to its condition.
15036
15037 (allout-mode): Use new allout-write-contents-hook-handler, and
15038 only with write-contents-functions. Remove auto-save provisions -
15039 they're implemented elsewhere.
15040
15041 (allout-before-change-handler): If undo is in progress, note that
15042 for attention of allout-post-command-business.
15043
15044 (allout-post-command-business): If the command we're following was
15045 an undo, check for change in the status of encrypted items and
15046 adjust auto-save inhibitions accordingly.
15047
15048 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15049 according to whether there are or aren't any plain-text topics
15050 pending encryption.
15051
15052 (allout-inhibit-auto-save-info-for-decryption):
15053 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15054 if there are plain-text topics pending encryption.
15055
15056 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15057 buffer-saved-size and some allout state to not inhibit auto-saves
15058 if there are no longer any plain-text topics pending encryption.
15059
15060 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15061 No longer provide for exemption of the current topic.
15062
15063 2011-07-04 Juri Linkov <juri@jurta.org>
15064
15065 Add 7z operations to delete and save changed members (bug#8968).
15066 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15067 New defcustoms.
15068 (archive-7z-write-file-member): New function.
15069 (archive-7z-summarize): Fix the number of dashes in the
15070 listing output.
15071
15072 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15073
15074 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15075 (bug#8958).
15076
15077 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
15078
15079 * bindings.el: Ignore next-buffer and previous-buffer in
15080 minibuffer-local-map.
15081
15082 * font-lock.el (font-lock-builtin-face): Change light background
15083 color to dark slate blue (Bug#6693).
15084
15085 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15086
15087 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15088
15089 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15090
15091 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15092 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15093 Add switch-to-buffer.
15094
15095 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15096
15097 * isearch.el (isearch-search-fun-function): Clarify further the
15098 meaning of the function returned.
15099
15100 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
15101
15102 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15103
15104 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15105 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15106 Use it.
15107 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15108 `tramp-default-remote-path' does not exist.
15109 (tramp-send-command-and-read): New optional argument NOERROR.
15110 (tramp-open-connection-setup-interactive-shell)
15111 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15112 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15113 (tramp-process-sentinel): Flush also process' connection property.
15114 (tramp-sh-handle-start-file-process): Do not set process
15115 sentinel. It is done now ...
15116 (tramp-maybe-open-connection): ... here. (Bug#8929)
15117
15118 2011-07-04 MON KEY <monkey@sandpframing.com>
15119
15120 * play/animate.el (animate-string): Doc fixes and allow changing
15121 the buffer name (bug#5417).
15122
15123 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15124
15125 * play/animate.el (animation-buffer-name): Rename from *animate*.
15126
15127 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15128
15129 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15130 This is simpler and helps future-proof the code.
15131 (timer-until): Use time-subtract and float-time.
15132 (timer--time-less-p): Use time-less-p.
15133
15134 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
15135
15136 * type-break.el (timep): Use the value of `float-time' to avoid a
15137 byte-compiler warning.
15138
15139 * server.el (server-eval-and-print): Return any result, even nil.
15140
15141 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15142
15143 * type-break.el: Accept time formats that the builtins accept.
15144 (timep, type-break-time-difference): Accept any format that
15145 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15146 This is simpler and helps future-proof the code.
15147 (type-break-time-difference): Round rather than ignoring
15148 subseconds components.
15149
15150 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15151
15152 * info.el (Info-apropos-matches): Make non-interactive, since it
15153 doesn't seem to do anything useful as a command (bug#8829).
15154
15155 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
15156
15157 * frame.el (frame-background-mode, frame-set-background-mode):
15158 Move from faces.el.
15159 (frame-default-terminal-background): New function.
15160
15161 * custom.el (custom-push-theme): Don't record faces in `changed'
15162 theme; this doesn't work correctly for per-frame face settings.
15163 (disable-theme): Use face-set-after-frame-default to reset faces.
15164 (custom--frame-color-default): New function.
15165
15166 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15167
15168 * dired.el (dired-flagging-regexp): Remove unused variable
15169 (bug#8769).
15170
15171 2011-03-29 Kevin Ryde <user42@zip.com.au>
15172
15173 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15174 `perl-Test2' extend to match possible "fail #N" rep count
15175 (bug#8377).
15176
15177 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15178
15179 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15180 `smtpmail-via-smtp' now returns the error instead of nil.
15181
15182 * isearch.el (isearch-search-fun-function): Clarify the doc string
15183 (bug#8101).
15184
15185 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
15186
15187 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15188 unnecessary spaces (bug#8987).
15189
15190 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15191
15192 * net/network-stream.el (open-network-stream): Use the
15193 :end-of-capability command thoughout.
15194
15195 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15196
15197 * net/network-stream.el (open-network-stream): Add the
15198 :end-of-capability command parameter, used by pop3.el.
15199
15200 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15201
15202 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15203
15204 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15205 for list)" (bug#6475).
15206
15207 * files.el (file-expand-wildcards): Ignore non-readable
15208 sub-directories while trying to find matches instead of signaling
15209 an error (bug#6297).
15210
15211 * man.el (Man-reference-regexp): Allow matching possible
15212 word-wrapped references (bug#6289).
15213
15214 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15215 for consistency with the other vc buffers (bug#6197).
15216 (vc-checkin): Ditto.
15217
15218 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15219
15220 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15221
15222 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15223
15224 * custom.el (defcustom): Clarify that :set is only used in the
15225 Customize user interface (bug#6089).
15226
15227 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15228 associated with a file, refuse to run instead of erroring out
15229 (bug#6084).
15230
15231 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15232 the doc string, since it appears that using `fill-column' always
15233 controls the width (bug#7845).
15234
15235 * simple.el (shell-command-on-region): Say where the error output
15236 went if `shell-command-default-error-buffer' is set (bug#6857).
15237
15238 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15239
15240 * allout.el (allout-yank-processing): Adjust cursor position for
15241 backwards-deleted space.
15242
15243 (allout-rebullet-heading): Register changes with
15244 allout-exposure-changed-hook, so the modified topic is properly
15245 decorated.
15246
15247 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15248
15249 * minibuffer.el (completion-in-region): Document PREDICATE
15250 (bug#7136).
15251
15252 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15253 of keyword/argument pairs (bug#6904).
15254
15255 * replace.el (multi-occur):
15256 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
15257
15258 2011-07-02 Drew Adams <drew.adams@oracle.com>
15259
15260 * dired.el (dired-mark-if): Make the message about whether it's
15261 marking or unmarking clearer (bug#8523).
15262
15263 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15264
15265 * disp-table.el (display-table-print-array): New function.
15266 (describe-display-table): Use it to print the vectors more pretty
15267 (Bug#8859).
15268
15269 2011-07-02 Martin Rudalics <rudalics@gmx.at>
15270
15271 * window.el (window-state-get-1): Don't assign clone numbers.
15272 Add clone-of item to list of window parameters.
15273 (window-state-put-2): Don't process clone numbers.
15274 (display-buffer-alist): Fix doc-string.
15275
15276 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15277
15278 * subr.el (remq): Don't allocate if it's not needed.
15279 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15280 (keymap--merge-bindings): New functions.
15281 (keymap-canonicalize): Use them to refine the canonicalization.
15282 * minibuffer.el (minibuffer-local-completion-map)
15283 (minibuffer-local-must-match-map): Move initialization from C.
15284 (minibuffer-local-filename-completion-map): Move initialization from C;
15285 don't inherit from anything here.
15286 (minibuffer-local-filename-must-match-map): Make obsolete.
15287 (completing-read-default): Use make-composed-keymap to combine
15288 minibuffer-local-filename-completion-map with either
15289 minibuffer-local-must-match-map or
15290 minibuffer-local-filename-completion-map.
15291
15292 2011-07-01 Glenn Morris <rgm@gnu.org>
15293
15294 * type-break.el (type-break-time-sum): Use dolist.
15295
15296 * textmodes/flyspell.el (flyspell-word-search-backward):
15297 Replace CL function.
15298
15299 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15300
15301 * mouse.el (mouse--strip-first-event): New function.
15302 (function-key-map): Use it to map fringe clicks to normal clicks
15303 by default.
15304
15305 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15306 (vc-bzr-revision-completion-table): Add support for annotate and date.
15307
15308 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15309 inherit from parent.
15310
15311 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15312
15313 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
15314 (dired-show-file-type): Doc fixup (bug#8818).
15315
15316 * dired.el (dired-mode): Fix up the doc string as suggested by
15317 Drew Adams (bug#8817).
15318
15319 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15320 cookie, since the manual says that it should be possible to add
15321 this function to `find-file-hook' (bug#8709).
15322
15323 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15324
15325 * progmodes/cfengine.el: Moved all cfengine3.el functionality
15326 here. Noted Ted Zlatanov as the maintainer.
15327 (cfengine-common-settings, cfengine-common-syntax): New functions
15328 to set up common things between `cfengine-mode' and
15329 `cfengine3-mode'.
15330 (cfengine3-mode): New mode.
15331 (cfengine3-defuns cfengine3-defuns-regex
15332 (cfengine3-class-selector-regex cfengine3-category-regex)
15333 (cfengine3-vartypes cfengine3-font-lock-keywords)
15334 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
15335 (cfengine3-indent-line): Add from cfengine3.el.
15336
15337 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
15338
15339 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15340
15341 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15342
15343 2011-07-01 Martin Rudalics <rudalics@gmx.at>
15344
15345 * window.el (same-window-buffer-names, same-window-regexps)
15346 (same-window-p, special-display-frame-alist)
15347 (special-display-popup-frame, special-display-function)
15348 (special-display-buffer-names, special-display-regexps)
15349 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15350 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15351 (split-window-preferred-function, split-height-threshold)
15352 (split-width-threshold, even-window-heights)
15353 (display-buffer-mark-dedicated, window-splittable-p)
15354 (split-window-sensibly, window-safely-shrinkable-p):
15355 Un-obsolete.
15356 (display-buffer): Don't spread args with function specifier
15357 because special-display-popup-frame won't like it.
15358
15359 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
15360
15361 Time-stamp simplifications and fixes.
15362 These improve accuracy slightly, and future-proof the code
15363 against some potential changes to current-time format.
15364
15365 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15366 by using time-since and float-time.
15367
15368 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15369 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
15370 + NNN microseconds".
15371
15372 * type-break.el (type-break-time-sum): Rewrite using time-add.
15373
15374 * play/hanoi.el (hanoi-current-time-float): Remove.
15375 All uses replaced by float-time.
15376
15377 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15378 This yields a more-accurate answer.
15379 (rng-time-to-float): Remove; no longer needed.
15380
15381 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15382
15383 * calendar/timeclock.el (timeclock-seconds-to-time):
15384 Defalias to seconds-to-time, since they're the same thing.
15385
15386 * emacs-lisp/elp.el (elp-elapsed-time):
15387 * emacs-lisp/benchmark.el (benchmark-elapse):
15388 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15389
15390 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15391
15392 * window.el (bury-buffer): Don't iconify the only frame.
15393 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15394 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
15395
15396 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
15397
15398 * eshell/em-smart.el (eshell-smart-display-navigate-list):
15399 Add mouse-yank-primary.
15400
15401 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15402
15403 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15404
15405 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15406
15407 * emacs-lisp/find-func.el (find-library--load-name): New fun.
15408 (find-library-name): Use it to find relative load names when provided
15409 absolute file name (bug#8803).
15410
15411 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15412
15413 * textmodes/flyspell.el (flyspell-word): Consider words that
15414 differ only in case as potential doublons (bug#5687).
15415
15416 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
15417 Remove two rather uninteresting debugging-like messages to make
15418 debbugs.el more silent.
15419
15420 * comint.el (comint-password-prompt-regexp): Accept "Response" as
15421 a password-like phrase.
15422
15423 2011-06-30 Masatake YAMATO <yamato@redhat.com>
15424
15425 * progmodes/cc-guess.el: New file.
15426
15427 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
15428
15429 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15430 derived from `c-basic-common-init'.
15431
15432 * progmodes/cc-mode.el (top-level): Require cc-guess.
15433 (c-basic-common-init): Use `cc-choose-style-for-mode'.
15434
15435 2011-06-30 Lawrence Mitchell <wence@gmx.li>
15436
15437 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
15438
15439 2011-06-30 Alan Mackenzie <acm@muc.de>
15440
15441 * progmodes/cc-engine.el (c-guess-continued-construct):
15442 Correct the handling of template-args-cont, particularly for when font
15443 lock is disabled. Name this case as "CASE G".
15444
15445 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
15446
15447 * allout.el (allout-yank-processing): Fix injection of extra space
15448 between bullet and non-whitespace character in first topic when
15449 pasting, ensuring that the actual spacing in the pasted topic
15450 following the bullet char is preserved. This extra space was
15451 causing pasted encrypted topics to get a decrypted status even
15452 when the content was actually still encrypted. Now the decryption
15453 status from before the paste is preserved.
15454
15455 (allout-flag-region): Set all allout overlays so they evaporate
15456 when reduced to zero length (evanescent), to prevent overlay
15457 leakage.
15458
15459 2011-06-30 Glenn Morris <rgm@gnu.org>
15460
15461 * w32-fns.el (w32-charset-info-alist): Declare.
15462
15463 * find-dired.el (find-grep-options): Simplify.
15464
15465 * term/ns-win.el (ns-set-resource): Declare.
15466
15467 * ses.el (row, col): Declare dynamic variables honestly.
15468
15469 * textmodes/reftex-parse.el (index-tags): Declare.
15470
15471 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
15472
15473 * cus-edit.el (customize-push-and-save): New function.
15474
15475 * files.el (hack-local-variables-confirm): Use it.
15476
15477 * custom.el (load-theme): New arg NO-CONFIRM.
15478 Use customize-push-and-save (Bug#8720).
15479 (custom-enabled-themes): Doc fix.
15480
15481 * cus-theme.el (customize-create-theme)
15482 (custom-theme-merge-theme): Callers to load-theme changed.
15483
15484 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15485
15486 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15487 short URLs have at least one dot in them (bug #7614).
15488
15489 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15490 nil, because using a pty is apparently too slow (bug #895).
15491
15492 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
15493
15494 * mail/sendmail.el (sendmail-query-once): New function.
15495 (sendmail-query-once-function): New variable.
15496
15497 2011-06-29 Glenn Morris <rgm@gnu.org>
15498
15499 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15500
15501 * ses.el (top-level): Require cl when compiling.
15502 (ses-set-localvars): Fix error statement.
15503 Call it at compile time to silence a storm of warnings.
15504
15505 2011-06-29 Martin Rudalics <rudalics@gmx.at>
15506
15507 * window.el (normalize-live-buffer): Rename to
15508 window-normalize-buffer.
15509 (normalize-live-frame): Rename to window-normalize-frame.
15510 (normalize-any-window): Rename to window-normalize-any-window.
15511 (normalize-live-window): Rename to window-normalize-live-window.
15512 (make-window-atom): Rename to window-make-atom.
15513 (window-resize-reset): Rename to window--resize-reset.
15514 (window-resize-reset-1): Rename to window--resize-reset-1.
15515 (resize-mini-window): Rename to window--resize-mini-window.
15516 (resize-subwindows-skip-p): Rename to
15517 window--resize-subwindows-skip-p.
15518 (resize-subwindows-normal): Rename to
15519 window--resize-subwindows-normal.
15520 (resize-subwindows): Rename to window--resize-subwindows.
15521 (resize-other-windows): Rename to window--resize-siblings.
15522 (resize-this-window): Rename to window--resize-this-window.
15523 (resize-root-window): Rename to window--resize-root-window.
15524 (resize-root-window-vertically): Rename to
15525 window--resize-root-window-vertically.
15526 (normalize-buffer-to-display): Rename to
15527 window-normalize-buffer-to-display.
15528 (normalize-buffer-to-switch-to): Rename to
15529 window-normalize-buffer-to-switch-to.
15530 Correspondingly update all callers of the functions listed
15531 above.
15532 (display-buffer-alist, display-buffer-normalize-arguments)
15533 (display-buffer-normalize-options, display-buffer)
15534 (display-buffer-alist-set): Use "function" instead of
15535 "fun-with-args".
15536
15537 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
15538
15539 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15540 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
15541 debbugs.gnu.org. Mention acknowledgment email.
15542
15543 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
15544
15545 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15546 buffer multibyteness, since it shouldn't matter.
15547
15548 2011-06-28 Martin Rudalics <rudalics@gmx.at>
15549
15550 * window.el (display-buffer-in-side-window): Handle dedicated
15551 windows as in display-buffer-reuse-window.
15552 (display-buffer-normalize-alist): Use value of override
15553 specifier.
15554 (display-buffer-normalize-specifiers): Use value of
15555 other-window-means-other-frame specifier.
15556 (display-buffer-alist): Rewrite some texts in widgets.
15557 (display-buffer): Spread arguments when calling function
15558 specified by fun-with-args.
15559
15560 2011-06-28 Deniz Dogan <deniz@dogan.se>
15561
15562 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15563 Unnest `let'.
15564
15565 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15566 selectors (Bug#5732).
15567 (css-proprietary-nmstart-re): Use `regexp-opt'.
15568
15569 2011-06-27 Jari Aalto <jari.aalto@cante.net>
15570
15571 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15572 (eshell-ls-date-format): New defcustom.
15573 (eshell-ls-file): Use it.
15574
15575 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15576
15577 * help-fns.el (describe-variable): Fix message for terminal-local vars.
15578
15579 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
15580
15581 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
15582 (ange-ftp-make-tmp-name): New arg.
15583 (ange-ftp-file-local-copy): Use it.
15584
15585 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
15586
15587 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
15588 no-conversion (Bug#8870).
15589
15590 2011-06-27 Martin Rudalics <rudalics@gmx.at>
15591
15592 * window.el (window-right, window-left, window-child)
15593 (window-child-count, window-last-child)
15594 (window-iso-combination-p, walk-window-tree-1)
15595 (window-atom-check-1, window-tree-1, delete-window)
15596 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
15597 new naming conventions - window-vchild, window-hchild,
15598 window-next and window-prev are now called window-top-child,
15599 window-left-child, window-next-sibling and window-prev-sibling
15600 respectively.
15601 (resize-window-reset): Rename to window-resize-reset.
15602 (resize-window-reset-1): Rename to window-resize-reset-1.
15603 (resize-window): Rename to window-resize.
15604 (window-min-height, window-min-width)
15605 (resize-mini-window, resize-this-window, resize-root-window)
15606 (resize-root-window-vertically, adjust-window-trailing-edge)
15607 (enlarge-window, shrink-window, maximize-window)
15608 (minimize-window, delete-window, quit-restore-window)
15609 (split-window, balance-windows, balance-windows-area-adjust)
15610 (balance-windows-area, window-state-put-2)
15611 (display-buffer-even-window-sizes, display-buffer-set-height)
15612 (display-buffer-set-width, set-window-text-height)
15613 (fit-window-to-buffer): Rename all "resize-window" prefixed
15614 calls to use the "window-resize" prefix convention.
15615 (display-buffer-alist): Fix symbol for label specifier.
15616 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
15617 corresponding specifier.
15618 Reported by Juanma Barranquero <lekktu@gmail.com>.
15619
15620 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15621
15622 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
15623 convention.
15624 (ses-call-printer): Does not pass an empty string to formatter when the
15625 cell is empty to keep from barking printer Calc math-format-value.
15626
15627 2011-06-27 Richard Stallman <rms@gnu.org>
15628
15629 * battery.el (battery-mode-line-limit): New variable.
15630 (battery-update): Handle it.
15631
15632 * mail/rmailmm.el (rmail-mime-process-multipart):
15633 Handle truncated messages.
15634
15635 2011-06-27 Glenn Morris <rgm@gnu.org>
15636
15637 * progmodes/flymake.el (flymake-err-line-patterns):
15638 Allow for column numbers in the ant/javac pattern. (Bug#8866)
15639
15640 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15641
15642 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
15643 (ses--clean-!, ses--clean-_): New functions.
15644 (ses-range): Add configurability of readout order, and conversion
15645 to Calc vector.
15646
15647 * ses.el (ses-repair-cell-reference-all): New function.
15648 (ses-cell-symbol): Set macro as safe, so that it can be used in
15649 formulas.
15650
15651 * ses.el: Update cycle detection algorithm.
15652 (ses-localvars): Add ses--Dijkstra-attempt-nb and
15653 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
15654 (ses-set-localvars): New function.
15655 (ses-make-cell): Add property-list as a cell element.
15656 (ses-cell-property-get-fun, ses-cell-property-get)
15657 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
15658 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
15659 New functions.
15660 (ses-cell-property-set, ses-cell-property-pop)
15661 (ses-cell-property-get-handle): New macro.
15662 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
15663 New aliases, used for code readability.
15664 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
15665 cycle detection.
15666 (ses-self-reference-early-detection): New defcustom.
15667 (ses-formula-references): Robustify against self-referring cells.
15668 (ses-mode): Use ses-set-localvars.
15669 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
15670 before lauching the update processing.
15671 (ses-initialize-Dijkstra-attempt): New function.
15672 (ses-recalculate-cell): Update for cycle detection based on
15673 Dijkstra algorithm.
15674
15675 * ses.el: Fix commenting and indenting convention.
15676
15677 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15678
15679 * bs.el (bs-cycle-next): Complete last change.
15680
15681 2011-06-27 Drew Adams <drew.adams@oracle.com>
15682
15683 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
15684
15685 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15686
15687 * net/network-stream.el (network-stream-open-starttls):
15688 Don't re-get capabilities unless we've reestablished connection.
15689 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
15690
15691 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
15692 to binary to possibly avoid line encoding issues on Windows (among
15693 other things).
15694
15695 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15696
15697 * net/network-stream.el (open-network-stream): Return an :error
15698 saying what the problem was, if possible.
15699
15700 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
15701 server.
15702
15703 * net/network-stream.el (network-stream-open-starttls): If we
15704 wanted to use STARTTLS, and the server offered it, but we weren't
15705 able to because we had no STARTTLS support, then close the connection.
15706 (open-network-stream): Return an :error element, if present.
15707
15708 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
15709
15710 * hl-line.el (hl-line-sticky-flag): Doc fix.
15711 (global-hl-line-sticky-flag): New option (Bug#8323).
15712 (global-hl-line-highlight): Obey it.
15713
15714 * vc/vc.el (vc-revert-show-diff): Default to t.
15715
15716 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
15717
15718 * allout-widgets.el (allout-widgets-post-command-business):
15719 Stop decorating intermediate isearch matches. They're not being
15720 undecorated when an isearch is continued past, and isearch
15721 automatically collapses them. This leads to "widget leaks", where
15722 decorated items accumulate in collapsed areas. Lines with lots of
15723 hidden widgets can slow down cursor travel, substantially.
15724 Too much complicated machinery would be needed to ensure undecoration,
15725 so we're doing without this nicety.
15726
15727 (allout-widgets-tally-string): Don't try to do a hash-table-count
15728 of allout-widgets-tally when it's nil. This eliminates spurious "Error
15729 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
15730 *Messages* when allout-widgets-maintain-tally is t.
15731
15732 2011-06-26 Martin Rudalics <rudalics@gmx.at>
15733
15734 * window.el (display-buffer-normalize-argument): Rename to
15735 display-buffer-normalize-arguments. Handle special meaning of
15736 LABEL argument. Respect special-display-function when popping up
15737 a new frame. Fix code searching for a window showing the buffer
15738 on another frame.
15739 (display-buffer-normalize-specifiers):
15740 Call display-buffer-normalize-arguments.
15741 (display-buffer-in-window): Don't undedicate the window if its
15742 buffer remains the same.
15743 Reported by Drew Adams <drew.adams@oracle.com>.
15744 (display-buffer-alist): Add choice for same-window macro
15745 specfier.
15746 (display-buffer): Mention special meaning of LABEL argument in
15747 doc-string. Fix quoting. Don't pop up a new frame even as
15748 fallback.
15749
15750 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
15751
15752 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
15753 avoid deleting the current window in some cases (bug#8911).
15754
15755 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
15756
15757 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
15758 (Bug#8934)
15759
15760 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15761
15762 * net/network-stream.el (network-stream-open-starttls):
15763 Use built-in TLS support if `gnutls-available-p' is true.
15764 (network-stream-open-tls): Ditto.
15765
15766 2011-06-26 Leo Liu <sdl.web@gmail.com>
15767
15768 * register.el (registerv): New struct.
15769 (registerv-make): New function.
15770 (jump-to-register, describe-register-1, insert-register):
15771 Support the jump-func, print-func and insert-func slot of a registerv
15772 struct. (Bug#8415)
15773
15774 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
15775
15776 * vc/vc.el (vc-revert-show-diff): New defcustom.
15777 (vc-diff-internal): New arg specifying diff buffer.
15778 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
15779 reuse an existing *vc-diff* buffer (Bug#8927).
15780
15781 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
15782
15783 2011-06-26 Glenn Morris <rgm@gnu.org>
15784
15785 * progmodes/f90.el (f90-critical-indent): New option.
15786 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
15787 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
15788 (f90-mode): Doc fix.
15789 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
15790 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
15791 (f90-beginning-of-block, f90-next-block, f90-indent-region)
15792 (f90-match-end): Handle block, critical.
15793
15794 2011-06-25 Glenn Morris <rgm@gnu.org>
15795
15796 * calendar/diary-lib.el (diary-included-files): Doc fix.
15797 (diary-include-files): New function, extracted from
15798 diary-include-other-diary-files and diary-mark-included-diary-files.
15799 (diary-include-other-diary-files, diary-mark-included-diary-files):
15800 Just call diary-include-files.
15801 (diary-mark-entries): Reset diary-included-files on first call.
15802
15803 * calendar/diary-lib.el (diary-mark-entries)
15804 (diary-mark-included-diary-files):
15805 Visit included diary-files in temp buffers.
15806
15807 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
15808 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
15809 (f90-start-block-re, f90-imenu-generic-expression)
15810 (f90-looking-at-program-block-start, f90-no-block-limit):
15811 Add support for submodules.
15812
15813 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15814 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
15815
15816 2011-06-25 Eli Zaretskii <eliz@gnu.org>
15817
15818 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
15819 buffer-file-type before setting its value, to avoid disastrous
15820 global effects on decoding files for DOS/Windows systems. (Bug#8780)
15821
15822 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
15823
15824 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
15825
15826 * ses.el (ses-unload-function):
15827 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
15828
15829 * proced.el (proced-unload-function):
15830 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
15831
15832 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
15833
15834 * server.el (server-create-window-system-frame): Add parameters arg.
15835 (server-process-filter): Doc fix. Handle frame-parameters.
15836
15837 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
15838
15839 Fix bug#8730, bug#8781.
15840
15841 * loadhist.el (unload--set-major-mode): New function.
15842 (unload-feature): Use it.
15843
15844 * progmodes/python.el (python-after-info-look): Add autoload cookie.
15845 (python-unload-function): New function.
15846
15847 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
15848
15849 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
15850
15851 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
15852
15853 * net/browse-url.el (browse-url-firefox-program): Add icecat to
15854 the candidates list.
15855
15856 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
15857
15858 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
15859
15860 2011-06-23 Richard Stallman <rms@gnu.org>
15861
15862 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
15863 (rmail-variables): Set next-error-move-function.
15864 (rmail-what-message): Take argument POS.
15865 (rmail-next-error-move): New function.
15866
15867 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
15868
15869 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
15870 messages for adjacent non-terminals.
15871
15872 2011-06-23 Richard Stallman <rms@gnu.org>
15873
15874 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
15875 (rmail-show-message-1): Preserve buffer modified flag.
15876 (rmail-start-mail): Don't specify use of rmail-mail-return;
15877 that's done by mail-bury now.
15878 (rmail-mail-return): Handle arg NEWBUF.
15879
15880 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
15881
15882 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
15883 SIZE is a number.
15884
15885 2011-06-23 Martin Rudalics <rudalics@gmx.at>
15886
15887 * window.el (get-lru-window, get-mru-window)
15888 (get-largest-window): Never return a minibuffer window.
15889 (display-buffer-pop-up-window): Fix a bug that could lead to
15890 reusing the minibuffer window.
15891 (display-buffer): Pass original specifier argument to
15892 display-buffer-function instead of the normalized one.
15893 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15894
15895 2011-06-22 Leo Liu <sdl.web@gmail.com>
15896
15897 * minibuffer.el (completing-read-function)
15898 (completing-read-default): Move from minibuf.c
15899
15900 2011-06-22 Richard Stallman <rms@gnu.org>
15901
15902 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
15903 to Rmail even if not started by a special Rmail command.
15904
15905 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
15906 Copy the buffer currently showing just one message.
15907
15908 2011-06-22 Roland Winkler <winkler@gnu.org>
15909
15910 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
15911 (bibtex-clean-entry): First delete the old key so that a
15912 customized algorithm for generating the new key does not get
15913 confused by the old key.
15914 (bibtex-url): Obey regexp of first step.
15915 (bibtex-search-entries): Do not use add-to-list with local
15916 list-var.
15917
15918 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15919
15920 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
15921 stored a user name, then query for the password first, instead of
15922 waiting for SMTP to give an error message and the trying again.
15923
15924 2011-06-22 Lawrence Mitchell <wence@gmx.li>
15925
15926 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
15927 BUFFER in call-process.
15928
15929 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15930
15931 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
15932 QUIT twice.
15933 (smtpmail-try-auth-methods): Require user name and password from
15934 auth-source.
15935
15936 2011-06-22 Martin Rudalics <rudalics@gmx.at>
15937
15938 * window.el (display-buffer-default-specifiers)
15939 (display-buffer-alist): Remove entries for pop-up-frame-alist.
15940 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
15941 (split-window): Normalize SIDE argument (Bug#8916).
15942
15943 * frame.el (pop-up-frame-alist, pop-up-frame-function)
15944 (special-display-frame-alist, special-display-popup-frame):
15945 Remove duplicate declarations. These are now in window.el.
15946
15947 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15948
15949 * mail/smtpmail.el (smtpmail-via-smtp):
15950 Set :use-starttls-if-possible so that we always use STARTTLS if the
15951 server supports it. SMTP servers that support STARTTLS commonly
15952 require it.
15953
15954 * net/network-stream.el (network-stream-open-starttls): Support
15955 upgrading to STARTTLS always, even if we don't have built-in support.
15956 (open-network-stream): Add the :always-query-capabilities keyword.
15957
15958 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
15959 upgrades with `open-network-stream', and rely solely on
15960 auth-source for all credentials. Big changes throughout the file,
15961 but in particular:
15962 (smtpmail-auth-credentials): Remove.
15963 (smtpmail-starttls-credentials): Remove.
15964 (smtpmail-via-smtp): Check for servers saying they want AUTH after
15965 MAIL FROM, too.
15966
15967 * net/network-stream.el (network-stream-open-starttls):
15968 Provide support for client certificates both for external and built-in
15969 STARTTLS.
15970 (auth-source): Require.
15971 (open-network-stream): Document the :client-certificate keyword.
15972 (network-stream-certificate): Change cert-cert to cert and
15973 cert-key to key.
15974
15975 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
15976
15977 * net/tramp-cache.el (top): Don't load the persistency file when
15978 "emacs -Q" has been called.
15979
15980 2011-06-21 Tim Harper <timcharper@gmail.com>
15981
15982 * term/ns-win.el (ns-initialize-window-system):
15983 Set application-specific `ApplePressAndHoldEnabled' system
15984 resource to NO as it is not yet supported by the NS port.
15985
15986 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
15987
15988 * misc.el (list-dynamic-libraries--refresh): Compute header here...
15989 (list-dynamic-libraries): ...not here.
15990
15991 2011-06-21 Leo Liu <sdl.web@gmail.com>
15992
15993 * subr.el (sha1): Implement sha1 using secure-hash.
15994
15995 2011-06-21 Martin Rudalics <rudalics@gmx.at>
15996
15997 * window.el (display-buffer-alist): In default value do not
15998 enforce searching a window on any but the selected frame.
15999 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16000 (display-buffer-select-window): Remove function.
16001 (display-buffer-in-window): When a window on another frame gets
16002 reused, do not select it any more but just raise its frame if
16003 necessary (Bug#8851) and (Bug#8856).
16004 (display-buffer-normalize-options): Handle pop-up-frames related
16005 options more faithfully.
16006 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16007 window if it is on another frame.
16008 (display-buffer-alist, display-buffer-default-specifiers):
16009 Don't make new frame unsplittable by default.
16010 (display-buffer-normalize-argument): Fix doc-string typo and use
16011 'same-frame-other-window instead of 'other-window when associating
16012 with display-buffer-macro-specifiers.
16013
16014 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16015
16016 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16017 New functions.
16018 (5x5-mode-map, 5x5-mode-menu): Bind them.
16019 (5x5-draw-grid): Tweak the solver's rendering.
16020
16021 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16022
16023 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16024 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16025
16026 2011-06-21 Drew Adams <drew.adams@oracle.com>
16027
16028 * menu-bar.el: Use function variable instead of switch-to-buffer.
16029 (menu-bar-select-buffer-function): New variable.
16030 (menu-bar-update-buffers): Use it (bug#8876).
16031
16032 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16033
16034 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16035 variable's status.
16036
16037 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16038
16039 * x-dnd.el (x-dnd-version-from-flags)
16040 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16041 and long as number (Bug#8899).
16042 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16043
16044 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16045
16046 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
16047 (completion-try-completion, completion-all-completions): Compute the
16048 metadata argument if it's missing; make it optional (bug#8795).
16049
16050 * wid-edit.el: Use lex-bind and move towards completion-at-point.
16051 (widget-complete): Use new :completion-function property.
16052 (widget-completions-at-point): New function.
16053 (default): Use :completion-function instead of :complete.
16054 (widget-default-completions): Rename from widget-default-complete;
16055 Rewrite.
16056 (widget-string-complete, widget-file-complete, widget-color-complete):
16057 Remove functions.
16058 (file, symbol, function, variable, coding-system, color):
16059 * international/mule-cmds.el (default-input-method, charset)
16060 (language-info-custom-alist):
16061 * cus-edit.el (face): Use new property :completions.
16062
16063 * progmodes/pascal.el (pascal-completions-at-point): New function.
16064 (pascal-mode): Use it.
16065 (pascal-mode-map): Use completion-at-point.
16066 (pascal-toggle-completions): Make obsolete.
16067 (pascal-complete-word, pascal-show-completions):
16068 * progmodes/octave-mod.el (octave-complete-symbol):
16069 Redefine as obsolete alias.
16070 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16071 Signal absence of completion info for old Octave,
16072 (inferior-octave-complete): Redefine as obsolete alias.
16073 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16074 (meta-completions-at-point): Rename from meta-complete-symbol and
16075 adapt it for use on completion-at-point-functions.
16076 (meta-common-mode): Use it.
16077 (meta-looking-at-backward, meta-match-buffer): Remove.
16078 (meta-complete-symbol): Redefine as obsolete alias.
16079 (meta-common-mode-map): Use completion-at-point.
16080 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16081 (makefile-mode-map): Use completion-at-point.
16082 (makefile-completions-at-point): Rename from makefile-complete and
16083 adapt it for use on completion-at-point-functions.
16084 (makefile-mode): Use it.
16085 (makefile-complete): Redefine as obsolete alias.
16086
16087 2011-06-20 Deniz Dogan <deniz@dogan.se>
16088
16089 * net/rcirc.el: Delete trailing whitespaces once and for all.
16090
16091 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16092
16093 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16094
16095 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
16096
16097 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16098
16099 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16100
16101 2011-06-19 Martin Rudalics <rudalics@gmx.at>
16102
16103 * window.el (display-buffer-other-window-means-other-frame):
16104 Call display-buffer-normalize-alist.
16105 (display-buffer-normalize-specifiers-1): Rename to
16106 display-buffer-normalize-argument. New argument other-frame.
16107 Rewrite.
16108 (display-buffer-normalize-specifiers-2): Rename to
16109 display-buffer-normalize-options.
16110 (display-buffer-normalize-alist-1): New function.
16111 (display-buffer-normalize-specifiers-3): Rename to
16112 display-buffer-normalize-alist.
16113 Call display-buffer-normalize-alist-1.
16114 (display-buffer-normalize-options-inhibit): New variable.
16115 (display-buffer-normalize-specifiers): Rewrite calling
16116 display-buffer-normalize-alist,
16117 display-buffer-normalize-argument, and
16118 display-buffer-normalize-options. Don't call the latter if
16119 display-buffer-normalize-options-inhibit is non-nil.
16120 (frame-auto-delete): New option.
16121 (window-deletable-p): Use frame-auto-delete.
16122 (window-list-no-nils, window-state-ignored-parameters)
16123 (window-state-get-1, window-state-get, window-state-put-list)
16124 (window-state-put-1, window-state-put-2, window-state-put):
16125 New functions.
16126 (display-buffer-normalize-options): Move special-display-p group
16127 after pop-up-frame group (Bug#8851) and (Bug#8856).
16128
16129 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
16130
16131 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16132 groups (Bug#8776).
16133 (rx-submatch-n): New function.
16134 (rx): Document it.
16135
16136 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16137 (Bug#8768).
16138
16139 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16140
16141 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16142
16143 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16144 anytime existing face settings are present (Bug#8889).
16145
16146 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16147 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16148 Remove unused argument.
16149
16150 2011-06-18 Martin Rudalics <rudalics@gmx.at>
16151
16152 * window.el (display-buffer-default-specifiers):
16153 Remove pop-up-frame. Add pop-up-window-min-height,
16154 pop-up-window-min-width, and another reuse-window specifier
16155 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
16156 (display-buffer-normalize-specifiers-2):
16157 Handle split-height-threshold and split-width-threshold also when
16158 pop-up-windows is unset. Add a reuse-window specifier for the
16159 case popping up a new window fails.
16160 (special-display-popup-frame): Remove double quoting.
16161 (display-buffer-normalize-specifiers-1): Fix thinko.
16162
16163 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16164
16165 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16166 according to comint-completion-addsuffix.
16167
16168 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16169 (pcomplete-suffix-list): Mark as obsolete.
16170 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16171 pcomplete-seen in the closure.
16172 (pcomplete-comint-setup): Setup completion-at-point as well.
16173 (pcomplete--entries): New function.
16174 (pcomplete--env-regexp): New var.
16175 (pcomplete-entries): Rewrite to work with partial-completion and
16176 without relying on pcomplete-suffix-list.
16177 (pcomplete-pare-list): Remove, unused.
16178
16179 2011-06-17 Martin Rudalics <rudalics@gmx.at>
16180
16181 * window.el (display-buffer-alist): Set pop-up-window-min-height
16182 and pop-up-window-min-width in default value. Reported by
16183 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16184 other-window-means-other-frame.
16185 (display-buffer-macro-specifiers): Comment out entry for
16186 other-window specifier.
16187 (display-buffer-other-window-means-other-frame): New function.
16188 (display-buffer-normalize-specifiers-1): New arguments
16189 buffer-name and label. Treat other-window case specially.
16190 (display-buffer-normalize-specifiers-2): Treat other-window case
16191 specially.
16192 (display-buffer-normalize-specifiers-3): New function.
16193 (display-buffer-normalize-specifiers):
16194 Call display-buffer-normalize-specifiers-3.
16195
16196 2011-06-17 Martin Rudalics <rudalics@gmx.at>
16197
16198 * window.el (same-window-p): Fix two typos introduced when
16199 adding with-no-warnings.
16200 (display-buffer-normalize-specifiers-1): Don't check
16201 pop-up-frames for 'unset initialization.
16202 (display-buffer-normalize-specifiers-2): Major rewrite using
16203 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16204 (pop-up-frames, display-buffer-reuse-frames)
16205 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16206 Suggested by David Engster <deng@randomsample.de>.
16207 (even-window-heights): Initialize to 'unset.
16208 (display-buffer-alist-set): Handle new 'unset initializations.
16209 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16210 other window case.
16211
16212 2011-06-16 Martin Rudalics <rudalics@gmx.at>
16213
16214 * window.el (display-buffer-normalize-specifiers-1):
16215 Respect current value of pop-up-frames for most reasonable values of
16216 second argument of display-buffer (Bug#8865).
16217 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16218 (switch-to-buffer-other-window-same-frame)
16219 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16220 Adams (Bug#8875).
16221 (display-buffer): Don't check noninteractive when calling
16222 display-buffer-pop-up-frame.
16223 (display-buffer-pop-up-frame): Never pop up a frame in
16224 noninteractive mode (Bug#8857).
16225 (enlarge-window, shrink-window): Don't report an error when the
16226 window can't be resized as requested (Bug#8862).
16227
16228 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16229
16230 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16231
16232 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16233
16234 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16235
16236 2011-06-15 Alan Mackenzie <acm@muc.de>
16237
16238 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16239 for declarators, disable knr checking to speed up for normal files.
16240 2: Refactor, replacing a sequence of nested if forms by a cond form.
16241
16242 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16243
16244 * net/network-stream.el (open-network-stream): Add the keyword
16245 :always-query-capabilities for the case where you want to force a
16246 `plain' network connection, but the protocol still requires the
16247 capabilitiy command (i.e., SMTP and EHLO).
16248
16249 * subr.el (process-live-p): Rename from `process-alive-p' for
16250 consistency with other `-live-p' functions.
16251
16252 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16253
16254 * window.el (same-window-buffer-names, same-window-regexps)
16255 (special-display-frame-alist, special-display-popup-frame)
16256 (special-display-function, special-display-buffer-names)
16257 (special-display-regexps, pop-up-frame-alist)
16258 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16259 (pop-up-windows, split-window-preferred-function)
16260 (split-height-threshold, split-width-threshold, even-window-heights)
16261 (display-buffer-mark-dedicated): Don't encourage the use of
16262 display-buffer-alist from Elisp code.
16263
16264 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16265
16266 * progmodes/python.el (python-mode): Derive from prog-mode.
16267 * progmodes/ps-mode.el (ps-mode):
16268 * progmodes/mixal-mode.el (mixal-mode):
16269 * progmodes/cfengine.el (cfengine-mode):
16270 * progmodes/ld-script.el (ld-script-mode): Likewise.
16271
16272 2011-06-15 Martin Rudalics <rudalics@gmx.at>
16273
16274 * window.el (display-buffer-alist): Trim default value to avoid
16275 popping up a new frame (Bug#8857) or reusing an arbitrary window
16276 on another frame.
16277 (display-buffer): Do not fall back on popping up a new frame in
16278 batch mode (Bug#8857).
16279
16280 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
16281
16282 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16283 (custom-theme-summary): New function.
16284 (customize-themes): Use it.
16285
16286 2011-06-13 Glenn Morris <rgm@gnu.org>
16287
16288 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16289
16290 2011-06-13 Martin Rudalics <rudalics@gmx.at>
16291
16292 * help.el (help-window): Remove variable.
16293 (help-window-point-marker, temp-buffer-max-height)
16294 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16295 (help-print-return-message): Don't set help-window.
16296 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16297 (help-window-setup-finish): Remove.
16298 (help-window-display-message, help-window-setup)
16299 (with-help-window): Major rewrite based on new
16300 display-buffer-window variable.
16301
16302 * help-mode.el (help-mode-finish): Remove help-window related
16303 code.
16304
16305 * view.el (view-exits-all-viewing-windows): Remove reference to
16306 view-return-to-alist in doc-string.
16307 (view-return-to-alist): Make obsolete.
16308 (view-buffer): Call pop-to-buffer-same-window and remove
16309 undo-window code.
16310 (view-buffer-other-window): Call pop-to-buffer-other-window and
16311 simplify code. Ignore second argument.
16312 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16313 simplify code. Ignore second argument.
16314 (view-return-to-alist-update): Make obsolete.
16315 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16316 Rewrite using quit-restore window parameters.
16317 (view-mode-exit): Rename second argument to EXIT-ONLY.
16318 Rewrite using quit-restore-window.
16319 (View-exit, View-exit-and-edit, View-leave, View-quit)
16320 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16321 appropriate arguments.
16322 (view-end-message): Use quit-restore window parameter.
16323
16324 * window.el (display-buffer-function): Rewrite doc-string.
16325 (display-buffer-window, display-buffer-alist): New variables.
16326 (display-buffer-split-specifiers)
16327 (display-buffer-side-specifiers)
16328 (display-buffer-macro-specifiers): New constants.
16329 (display-buffer-even-window-sizes, display-buffer-set-height)
16330 (display-buffer-set-width, display-buffer-select-window)
16331 (display-buffer-in-window, display-buffer-reuse-window)
16332 (display-buffer-split-window-1, display-buffer-split-window)
16333 (display-buffer-split-atom-window, display-buffer-pop-up-window)
16334 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16335 (display-buffer-in-side-window, normalize-buffer-to-display)
16336 (display-buffer-normalize-specifiers-1)
16337 (display-buffer-normalize-specifiers-2)
16338 (display-buffer-normalize-specifiers, display-buffer-frame):
16339 New functions.
16340 (display-buffer): Major rewrite.
16341 (display-buffer-other-window, display-buffer-other-frame)
16342 (pop-to-buffer, switch-to-buffer-other-window)
16343 (switch-to-buffer-other-frame): Rewrite.
16344 (display-buffer-same-window, display-buffer-same-frame)
16345 (display-buffer-same-frame-other-window)
16346 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16347 (pop-to-buffer-other-window)
16348 (pop-to-buffer-same-frame-other-window)
16349 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16350 (switch-to-buffer-other-window-same-frame): New functions.
16351 (same-window-p, special-display-p): Rewrite disabling warnings.
16352 Make obsolete.
16353 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16354 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16355 Make obsolete
16356 (same-window-buffer-names, same-window-regexps)
16357 (special-display-frame-alist, special-display-popup-frame)
16358 (special-display-function, special-display-buffer-names)
16359 (special-display-regexps, pop-up-frame-alist)
16360 (pop-up-frame-function, split-window-preferred-function)
16361 (split-height-threshold, split-width-threshold)
16362 (even-window-heights): Make obsolete.
16363
16364 2011-06-12 Glenn Morris <rgm@gnu.org>
16365
16366 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
16367 Misc simplifications.
16368
16369 2011-06-12 Martin Rudalics <rudalics@gmx.at>
16370
16371 * window.el (window-safely-shrinkable-p): Restore function which
16372 was inadvertently removed in change from 2011-06-11. Declare as
16373 obsolete.
16374
16375 * calendar/calendar.el (calendar-generate-window):
16376 Use window-iso-combined-p instead of combination of one-window-p and
16377 window-safely-shrinkable-p.
16378
16379 2011-06-12 Glenn Morris <rgm@gnu.org>
16380
16381 * progmodes/fortran.el (fortran-mode-syntax-table):
16382 * progmodes/f90.el (f90-mode-syntax-table):
16383 Set % to punctuation. (Bug#8820)
16384 (f90-find-tag-default): Remove, no longer needed.
16385
16386 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
16387
16388 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16389
16390 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
16391
16392 * image.el (image-animated-p): Return animation delay in seconds.
16393 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16394 (image-animate-timeout): Remove DELAY argument. Don't assume
16395 every subimage has the same delay; get it from image-animated-p.
16396 (image-animate): Caller changed.
16397
16398 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
16399
16400 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16401 to ignored backtrace functions.
16402
16403 2011-06-11 Glenn Morris <rgm@gnu.org>
16404
16405 * calendar/appt.el (appt-disp-window-function): Doc fix.
16406 (appt-check): Handle overlapping appointments. (Bug#8337)
16407
16408 2011-06-11 Martin Rudalics <rudalics@gmx.at>
16409
16410 * window.el (window-tree-1, window-tree): New functions, moving
16411 the latter to window.el.
16412 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
16413 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
16414 (bw-refresh-edges): Remove.
16415 (balance-windows-1, balance-windows-2): New functions.
16416 (balance-windows): Rewrite in terms of window tree functions,
16417 balance-windows-1 and balance-windows-2.
16418 (bw-adjust-window): Remove.
16419 (balance-windows-area-adjust): New function with functionality of
16420 bw-adjust-window but using resize-window.
16421 (set-window-text-height): Rewrite doc-string.
16422 Use normalize-live-window and resize-window.
16423 (enlarge-window-horizontally, shrink-window-horizontally):
16424 Rename argument to DELTA.
16425 (window-buffer-height): New function.
16426 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16427 Rewrite using new window resize routines.
16428 (kill-buffer-and-window, mouse-autoselect-window-select):
16429 Use ignore-errors instead of condition-case.
16430 (quit-window): Call delete-frame instead of delete-windows-on
16431 for the only buffer on frame.
16432
16433 2011-06-10 Martin Rudalics <rudalics@gmx.at>
16434
16435 * loadup.el (top-level): Load window before files for the sake
16436 of replace-buffer-in-windows.
16437
16438 * files.el (read-buffer-to-switch)
16439 (switch-to-buffer-other-window)
16440 (switch-to-buffer-other-frame, display-buffer-other-frame):
16441 Move to window.el.
16442
16443 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
16444 (previous-buffer): Move to window.el.
16445
16446 * bindings.el (unbury-buffer): Move to window.el.
16447
16448 * window.el (delete-other-windows-vertically): Move after
16449 definition of delete-other-windows.
16450 (other-window, delete-windows-on, replace-buffer-in-windows):
16451 Move here from window.c.
16452 (record-window-buffer, unrecord-window-buffer)
16453 (set-window-buffer-start-and-point, switch-to-prev-buffer)
16454 (switch-to-next-buffer): New functions.
16455 (get-next-valid-buffer, last-buffer, next-buffer): Move here
16456 from simple.el. Call switch-to-next-buffer.
16457 (previous-buffer): Move here from simple.el.
16458 Call switch-to-prev-buffer.
16459 (bury-buffer): Move here from buffer.c. Switch to previous
16460 buffer when window cannot be deleted.
16461 (unbury-buffer): Move here from bindings.el.
16462 (ctl-x-map): Move binding for other-window from window.c to
16463 here.
16464 (read-buffer-to-switch, switch-to-buffer-other-window)
16465 (switch-to-buffer-other-frame): Move here from files.el.
16466 (normalize-buffer-to-switch-to): New functions.
16467 (switch-to-buffer): Move here from buffer.c.
16468 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
16469
16470 2011-06-10 Martin Rudalics <rudalics@gmx.at>
16471
16472 * window.el (window-min-height, window-min-width): Move here
16473 from window.c. Add defcustoms and rewrite doc-strings.
16474 (resize-mini-window, resize-window): New functions.
16475 (adjust-window-trailing-edge, enlarge-window, shrink-window):
16476 Move here from window.c.
16477 (maximize-window, minimize-window): New functions.
16478 (delete-window, delete-other-windows, split-window): Move here
16479 from window.c.
16480 (window-split-min-size): New function.
16481 (split-window-keep-point): Mention split-window-above-each-other
16482 instead of split-window-vertically.
16483 (split-window-above-each-other, split-window-vertically):
16484 Rename split-window-vertically to split-window-above-each-other
16485 and provide defalias for old definition.
16486 (split-window-side-by-side, split-window-horizontally):
16487 Rename split-window-horizontally to split-window-side-by-side
16488 and provide defalias for the old definition.
16489 (ctl-x-map): Move bindings for delete-window,
16490 delete-other-windows and enlarge-window here from window.c.
16491 Replace bindings for split-window-vertically and
16492 split-window-horizontally by bindings for
16493 split-window-above-each-other and split-window-side-by-side.
16494
16495 * cus-start.el (all): Remove entries for window-min-height and
16496 window-min-width. Add entries for window-splits and
16497 window-nest.
16498
16499 2011-06-09 Glenn Morris <rgm@gnu.org>
16500
16501 * calendar/appt.el (appt-mode-line): New function.
16502 (appt-check, appt-disp-window): Use it.
16503
16504 * files.el (hack-one-local-variable-eval-safep):
16505 Allow minor-modes with explicit +/-1 arguments.
16506
16507 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
16508
16509 * term/xterm.el (xterm): Add defgroup.
16510 (xterm-extra-capabilities): Add defcustom to supply known xterm
16511 capabilities, skip querying them, or query them (default).
16512 (terminal-init-xterm): Use it.
16513 (terminal-init-xterm-modify-other-keys): New function to set up
16514 modifyOtherKeys support to simplify `terminal-init-xterm'.
16515
16516 2011-06-09 Martin Rudalics <rudalics@gmx.at>
16517
16518 * window.el (resize-window-reset, resize-window-reset-1)
16519 (resize-subwindows-skip-p, resize-subwindows-normal)
16520 (resize-subwindows, resize-other-windows, resize-this-window)
16521 (resize-root-window, resize-root-window-vertically)
16522 (window-deletable-p, window-or-subwindow-p)
16523 (frame-root-window-p): New functions.
16524
16525 2011-06-09 Glenn Morris <rgm@gnu.org>
16526
16527 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16528 (ange-ftp-get-files): Use it.
16529
16530 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
16531
16532 * mail/sendmail.el (mail-recover-1, mail-recover):
16533 * files.el (recover-file, recover-session):
16534 Handle dired-listing-switches not being just a single short option.
16535
16536 2011-06-09 Glenn Morris <rgm@gnu.org>
16537
16538 * calendar/appt.el (appt-display-message, appt-disp-window):
16539 Handle lists of appointments.
16540
16541 2011-06-08 Martin Rudalics <rudalics@gmx.at>
16542
16543 * window.el (one-window-p): Move down in code.
16544 Rewrite doc-string.
16545 (window-current-scroll-bars): Rewrite doc-string.
16546 Normalize live window argument.
16547 (walk-windows, get-window-with-predicate, count-windows):
16548 Rewrite doc-string. Use window-list-1.
16549 (window-in-direction-2, window-in-direction, get-mru-window):
16550 New functions.
16551
16552 2011-06-08 Reuben Thomas <rrt@sc3d.org>
16553
16554 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16555 Doc fix (Bug#8713).
16556
16557 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
16558
16559 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16560
16561 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
16562
16563 * loadhist.el (unload-feature-special-hooks):
16564 Add `comint-output-filter-functions'.
16565
16566 2011-06-08 Ivan Kanis <gnu@kanis.fr>
16567
16568 * calendar/appt.el (appt-check): Move some initializations into the let.
16569
16570 2011-06-08 Martin Rudalics <rudalics@gmx.at>
16571
16572 * window.el (window-height): Defalias to window-total-height.
16573 (window-width): Defalias to window-body-width.
16574
16575 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
16576
16577 * image-mode.el (image-toggle-animation): New command.
16578 (image-mode-map): Bind it to RET.
16579 (image-mode): Update message.
16580 (image-toggle-display-image): Avoid a spurious cache flush.
16581 (image-transform-rotation): Doc fix.
16582 (image-transform-properties): Return quickly in the normal case.
16583 (image-animate-loop): Rename from image-animate-max-time.
16584
16585 * image.el (image-animate-max-time): Move to image-mode.el.
16586 (create-animated-image): Remove unnecessary function.
16587 (image-animate): Rename from image-animate-start. New arg.
16588 (image-animate-stop): Remove; just use image-animate-timer.
16589 (image-animate-timer): Use car-safe.
16590 (image-animate-timeout): Rename argument.
16591
16592 2011-06-07 Martin Rudalics <rudalics@gmx.at>
16593
16594 * window.el (get-lru-window, get-largest-window): Move here from
16595 window.c. Rename first argument to ALL-FRAMES.
16596 Rephrase doc-strings.
16597 (get-buffer-window-list): Rewrite using window-list-1.
16598 Rephrase doc-string.
16599 (window-safe-min-height, window-safe-min-width): New constants.
16600 (window-size-ignore, window-min-size, window-min-size-1)
16601 (window-sizable, window-sizable-p, window-size-fixed-1)
16602 (window-size-fixed-p, window-min-delta-1, window-min-delta)
16603 (window-max-delta-1, window-max-delta, window-resizable)
16604 (window-resizable-p, window-total-height, window-total-width)
16605 (window-body-width): New functions.
16606 (window-full-height-p, window-full-width-p): Rewrite using
16607 window-total-size.
16608 (window-body-height): Rewrite using window-body-size.
16609
16610 2011-06-06 Martin Rudalics <rudalics@gmx.at>
16611
16612 * window.el (window-right, window-left, window-child)
16613 (window-child-count, window-last-child, window-any-p)
16614 (normalize-live-buffer, normalize-live-frame)
16615 (normalize-any-window, normalize-live-window)
16616 (window-iso-combination-p, window-iso-combined-p)
16617 (window-iso-combinations)
16618 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
16619 (windows-with-parameter, window-with-parameter)
16620 (window-atom-root, make-window-atom, window-atom-check-1)
16621 (window-atom-check, window-side-check, window-check):
16622 New functions.
16623 (ignore-window-parameters, window-sides, window-sides-vertical)
16624 (window-sides-slots): New variables.
16625 (window-size-fixed): Move down in code. Minor doc-string fix.
16626
16627 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
16628
16629 * comint.el (comint-dynamic-complete-as-filename)
16630 (comint-dynamic-complete-filename): Correctly call
16631 completion-in-region.
16632
16633 2011-06-05 Deniz Dogan <deniz@dogan.se>
16634
16635 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
16636 in last change.
16637
16638 2011-06-05 Deniz Dogan <deniz@dogan.se>
16639
16640 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16641 (rcirc): Use it to prompt for encryption.
16642
16643 2011-06-05 Roland Winkler <winkler@gnu.org>
16644
16645 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
16646 (bibtex-search-entries): New command bound to C-c C-a.
16647 (bibtex-display-entries): New function.
16648
16649 2011-06-05 Roland Winkler <winkler@gnu.org>
16650
16651 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
16652 (bibtex-insert-kill): After yanking insert newline if necessary.
16653 (bibtex-initialize): Call bibtex-string-files-init only once.
16654 (bibtex-mode): Do not call easy-menu-add.
16655 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
16656 (bibtex-yank): Set arg properly if nil.
16657
16658 2011-06-05 Roland Winkler <winkler@gnu.org>
16659
16660 * textmodes/bibtex.el (bibtex-search-entry-globally):
16661 New variable.
16662 (bibtex-search-entry): Use it.
16663
16664 2011-06-05 Roland Winkler <winkler@gnu.org>
16665
16666 * textmodes/bibtex.el (bibtex-entry-format): New option
16667 sort-fields.
16668 (bibtex-format-entry, bibtex-reformat): Honor this option.
16669 (bibtex-parse-entry): Return fields in proper order.
16670
16671 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
16672
16673 * doc-view.el (doc-view-remove-if): Move computation of result out
16674 of `dolist' to silence misleading lexical-binding warning.
16675
16676 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
16677
16678 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
16679 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
16680
16681 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
16682
16683 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
16684 "SunOS 5.10".
16685
16686 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
16687
16688 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
16689 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
16690 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
16691 (tramp-parse-putty):
16692 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
16693 (tramp-completion-function-alist-ssh)
16694 (tramp-completion-function-alist-telnet)
16695 (tramp-completion-function-alist-su)
16696 (tramp-completion-function-alist-putty): Set `tramp-autoload'
16697 cookie.
16698
16699 * net/tramp-ftp.el:
16700 * net/tramp-sh.el:
16701 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
16702 load "tramp.el" `tramp-set-completion-function'.
16703
16704 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
16705
16706 * shell.el: Require and use pcomplete.
16707 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
16708 (shell-completion-vars): Set pcomplete-default-completion-function.
16709
16710 2011-06-04 Deniz Dogan <deniz@dogan.se>
16711
16712 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
16713 `memq' (Bug#8799).
16714
16715 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16716
16717 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
16718
16719 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
16720
16721 * bs.el (bs--mark-unmark, bs--nth-wrapper):
16722 * mpc.el (mpc-select-extend, mpc-songpointer-context):
16723 * vc/log-view.el (log-view-beginning-of-defun):
16724 * vc/smerge-mode.el (smerge-apply-resolution-patch)
16725 (smerge-refine-forward, smerge-refine-chopup-region):
16726 Silence warning for unused `dotimes' counter variables.
16727
16728 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16729
16730 * net/tramp.el (tramp-with-progress-reporter): Rename from
16731 with-progress-reporter. Use `declare'.
16732 * net/tramp-smb.el:
16733 * net/tramp-sh.el:
16734 * net/tramp-gvfs.el: Update all uses.
16735
16736 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
16737
16738 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
16739 buffer isn't killed before making it current.
16740
16741 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16742
16743 Silence various byte-compiler warnings.
16744 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
16745 `access-type' and new obsolescence format.
16746 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
16747 new format.
16748 (byte-compile-check-variable): New `access-type' argument.
16749 Only warn if the access-type is obsolete.
16750 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16751 (byte-compile-variable-set): Adjust callers.
16752 * help-fns.el (describe-variable): Adjust to new obsolescence format.
16753 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
16754 setting it as obsolete.
16755 * simple.el (minibuffer-completing-symbol):
16756 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
16757 access as obsolete.
16758 * minibuffer.el (minibuffer-completing-file-name): Don't make it
16759 obsolete yet.
16760 * international/quail.el (quail-mouse-choose-completion): Remove unused
16761 code referring to obsolete var.
16762 (quail-choose-completion-string): Remove.
16763 * server.el (server-clients-with, server-kill-buffer-query-function)
16764 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
16765 * proced.el (proced-send-signal):
16766 * emacs-lisp/lisp.el (lisp-complete-symbol):
16767 Replace completion-annotate-function with completion-extra-properties.
16768
16769 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16770
16771 * simple.el (goto-line): Use read-number.
16772 (overriding-map-is-bound): Remove.
16773 (saved-overriding-map): Change default.
16774 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
16775 Take the map as argument.
16776 (universal-argument, negative-argument, digit-argument): Use it.
16777 (restore-overriding-map): Adjust.
16778 (do-auto-fill): Use fill-forward-paragraph.
16779 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
16780
16781 * minibuffer.el (minibuffer-inactive-mode-map): New var.
16782 (minibuffer-inactive-mode): New major mode.
16783 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
16784 the *Messages* buffer" hack.
16785 (mouse-popup-menubar): Don't burp if the event is a normal key.
16786
16787 Miscellaneous tweaks.
16788 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
16789 lexical scoping as in subr.el's dolist and dotimes.
16790 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
16791 Silence compiler warning.
16792 * thingatpt.el (forward-whitespace): Trivial coding style fix.
16793 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
16794 * international/ccl.el (ccl-compile): Trivial simplification.
16795 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
16796 * emacs-lisp/testcover.el (testcover-end): Remove spurious
16797 `printflag' argument.
16798 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16799 Purecopy the whole obsolescence data.
16800
16801 2011-06-01 Leo Liu <sdl.web@gmail.com>
16802
16803 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
16804 improve doc-string as suggested by Marco Pessotto
16805 <melmothx@gmail.com>.
16806 (rcirc-print): Fix last change.
16807
16808 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16809
16810 * minibuffer.el (complete-with-action): Return nil for the metadata and
16811 boundaries of non-functional tables.
16812 (completion-table-dynamic): Return nil for the metadata.
16813 (completion-table-with-terminator): Add default case, using
16814 complete-with-action.
16815 (completion--metadata): New function.
16816 (completion-all-sorted-completions, minibuffer-completion-help): Use it
16817 to try and avoid pathological performance problems.
16818 (completion--embedded-envvar-table): Return `category' metadata.
16819
16820 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
16821
16822 * subr.el (process-alive-p): New tiny convenience function.
16823
16824 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16825
16826 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
16827 content but also its previous major mode.
16828
16829 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
16830
16831 * emacs-lisp/debug.el (debug): Restore the previous content of the
16832 *Backtrace* buffer when we exit with C-M-c.
16833
16834 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16835
16836 * minibuffer.el: Add metadata method to completion tables.
16837 (completion-category-overrides): New defcustom.
16838 (completion-metadata, completion--field-metadata)
16839 (completion-metadata-get, completion--styles)
16840 (completion--cycle-threshold): New functions.
16841 (completion-try-completion, completion-all-completions):
16842 Add `metadata' argument to choose completion-styles.
16843 (completion--do-completion): Use metadata to choose cycling.
16844 (completion-all-sorted-completions): Use metadata for sorting.
16845 Remove :completion-cycle-penalty which is not needed any more.
16846 (completion--try-word-completion): Add `metadata' argument.
16847 (minibuffer-completion-help): Check metadata for annotation function
16848 and sorting.
16849 (completion-file-name-table): Return `category' metadata.
16850 (minibuffer-completing-file-name): Make obsolete.
16851 * simple.el (minibuffer-completing-symbol): Make obsolete.
16852 * icomplete.el (icomplete-completions): Pass new `metadata' param to
16853 completion-try-completion.
16854
16855 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16856
16857 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
16858
16859 2011-05-30 Leo Liu <sdl.web@gmail.com>
16860
16861 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
16862 (rcirc-print): Decode all incoming messages (bug#8744).
16863 (rcirc-decode-coding-system): Allow value nil for automatic coding
16864 system detection.
16865
16866 2011-06-01 Glenn Morris <rgm@gnu.org>
16867
16868 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
16869
16870 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
16871
16872 * image.el (image-animate-max-time): Allow nil and t values.
16873 Default to nil.
16874 (create-animated-image): Doc fix.
16875 (image-animate-start): Remove second arg; just use
16876 image-animate-max-time.
16877 (image-animate-timeout): Doc fix. Args changed.
16878
16879 * image-mode.el (image-toggle-display-image): Ensure that the
16880 image spec passed to the animate timer is the same object as in
16881 the buffer's display property (Bug#6981).
16882 (image-transform-properties): Doc fix.
16883
16884 * image.el (image-animate-max-time): Default to nil.
16885
16886 2011-05-29 Martin Rudalics <rudalics@gmx.at>
16887
16888 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
16889 entire buffer list (Bug#8184).
16890
16891 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
16892
16893 * image.el (imagemagick-types-inhibit)
16894 (imagemagick-register-types): Doc fix.
16895
16896 2011-05-29 Deniz Dogan <deniz@dogan.se>
16897
16898 * net/rcirc.el (rcirc): Use the user's stored encryption method by
16899 default.
16900
16901 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
16902
16903 * select.el: Don't perform clipboard-manager saving in hooks;
16904 leave the hooks empty.
16905
16906 2011-05-28 Leo Liu <sdl.web@gmail.com>
16907
16908 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
16909 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
16910 (occur-edit-mode): New major mode (Bug#8463).
16911 (occur-after-change-function): New function.
16912 (occur-engine): Give Occur tags a read-only property.
16913
16914 2011-05-28 Kevin Ryde <user42@zip.com.au>
16915
16916 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
16917
16918 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
16919
16920 * bindings.el (help-echo): Make the initial non-indicator dash
16921 empty on graphical terminals (Bug#7295).
16922
16923 * files.el (auto-mode-alist): Move config rule after the
16924 in-stripping one (Bug#8547).
16925
16926 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
16927
16928 * startup.el (normal-splash-screen): Remove gratuitous mode-line
16929 setting (Bug#8740).
16930
16931 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
16932
16933 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
16934 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
16935 (Bug#8539).
16936
16937 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
16938
16939 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
16940
16941 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
16942
16943 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
16944 (hs-hide-block-at-point, hs-find-block-beginning)
16945 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
16946 (Bug#8279).
16947
16948 2011-05-28 Glenn Morris <rgm@gnu.org>
16949
16950 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
16951
16952 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
16953
16954 * help-fns.el (describe-function-1): If the function is a derived
16955 major mode, print the parent mode.
16956
16957 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
16958 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
16959
16960 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
16961
16962 * minibuffer.el (completion--capf-wrapper): Check applicability before
16963 returning non-nil for non-exclusive completion data.
16964 * progmodes/etags.el (tags-completion-at-point-function):
16965 * info-look.el (info-lookup-completions-at-point): Mark as
16966 non-exclusive.
16967 (info-complete): Adjust accordingly.
16968
16969 * info-look.el: Convert to lexical-binding and completion-at-point.
16970 (info-lookup-completions-at-point): New function.
16971 (info-complete): Use it and completion-in-region.
16972
16973 2011-05-28 Drew Adams <drew.adams@oracle.com>
16974
16975 * isearch.el: Let M-e start with point at the first mismatched char.
16976 (isearch-fail-pos): New function.
16977 (isearch-edit-string): Use it.
16978
16979 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16980
16981 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16982
16983 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
16984
16985 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
16986 traversal functions for avl-trees.
16987 (avl-tree--stack): New struct.
16988 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
16989 (avl-tree-enter): Add optional `updatefun' arg.
16990 (avl-tree--do-enter): Add optional `updatefun' arg.
16991 Change return value.
16992 (avl-tree-delete): Add optional `test' and `nilflag' args.
16993 (avl-tree--do-delete): Add `test' and `nilflag' args.
16994 Change return value.
16995 (avl-tree-member): Add optional `nilflag'
16996 (avl-tree-member-p): New function.
16997 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
16998 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
16999 (avl-tree-stack-empty-p): New functions.
17000
17001 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17002 avl-tree--del-balance1 and make it work both ways.
17003 (avl-tree--del-balance2): Remove.
17004 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17005 make it work both ways.
17006 (avl-tree--enter-balance2): Remove.
17007 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17008 New macros.
17009 (avl-tree--mapc, avl-tree-map): Add direction argument.
17010
17011 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
17012
17013 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17014
17015 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
17016
17017 * select.el: Support clipboard managers with built-in function
17018 x-clipboard-manager-save, via delete-frame-functions and
17019 kill-emacs-hook.
17020 (xselect-convert-to-targets): Add MULTIPLE target to list.
17021 (xselect-convert-to-save-targets): New function.
17022
17023 2011-05-27 Kenichi Handa <handa@m17n.org>
17024
17025 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17026 let-binding rfc2047-encode-encoded-words to nil.
17027
17028 2011-05-27 Glenn Morris <rgm@gnu.org>
17029
17030 * mail/emacsbug.el: Don't require url-util.
17031
17032 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17033
17034 * files.el (set-auto-mode):
17035 Also respect mode: entries at the end of the file. (Bug#8586)
17036
17037 2011-05-26 Glenn Morris <rgm@gnu.org>
17038
17039 * files.el (hack-local-variables-prop-line, hack-local-variables):
17040 Downcase mode names, as seems to be traditional.
17041 (hack-local-variables, hack-local-variables-apply): Doc fixes.
17042
17043 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17044 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17045
17046 2011-05-25 Julien Danjou <julien@danjou.info>
17047
17048 * textmodes/rst.el (rst-define-level-faces): Do not define face
17049 symbol if it is already defined.
17050
17051 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17052
17053 * play/5x5.el (5x5-new-game, 5x5-randomize):
17054 Reset 5x5-solver-output to nil when a new grid is cast.
17055 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17056 these debugging traces, as defmacro breaks the compiled code.
17057
17058 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17059
17060 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17061
17062 2011-05-24 Leo Liu <sdl.web@gmail.com>
17063
17064 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17065 (vc-bzr-sha1): Adapt.
17066
17067 * sha1.el: Remove. Function `sha1' is now builtin.
17068
17069 * bindings.el: Provide sha1 feature.
17070
17071 2011-05-24 Kenichi Handa <handa@m17n.org>
17072
17073 * mail/sendmail.el: Require `rfc2047'.
17074 (mail-insert-from-field): Do not perform RFC2047 encoding.
17075 (mail-encode-header): New function.
17076 (sendmail-send-it): Set buffer-file-coding-system of the work
17077 buffer to the return value of select-message-coding-system.
17078 Call mail-encode-header.
17079
17080 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17081
17082 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
17083
17084 * mail/supercite.el (sc-default-cite-frame):
17085 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
17086
17087 2011-05-24 Glenn Morris <rgm@gnu.org>
17088
17089 * progmodes/python.el (brm-menu): Declare.
17090
17091 * emulation/viper.el (viper-set-hooks): Declare.
17092
17093 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17094 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17095 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17096 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17097 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17098 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17099
17100 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17101
17102 Add an :exit-function for completion-at-point.
17103
17104 * minibuffer.el (completion--done): New fun.
17105 (completion--do-completion): Use it. New arg `expect-exact'.
17106 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17107 since completion--do-completion does it for us now.
17108 (minibuffer-force-complete): Use completion--done and
17109 completion--replace. Handle sole-completion case with more care.
17110 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17111 (completion-extra-properties): New var.
17112 (completion-annotate-function): Make obsolete.
17113 (minibuffer-completion-help): Adjust accordingly.
17114 Use completion-list-insert-choice-function.
17115 (completion-at-point, completion-help-at-point):
17116 Bind completion-extra-properties.
17117 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17118 * simple.el (completion-list-insert-choice-function): New var.
17119 (completion-setup-function): Preserve it.
17120 (choose-completion): Pay attention to it, shuffle the code a bit.
17121 (choose-completion-string): New arg `insert-function'.
17122
17123 * textmodes/bibtex.el: Convert to lexical binding.
17124 (bibtex-mode-map): Use completion-at-point.
17125 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17126 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17127 (bibtex-complete): Define as obsolete alias.
17128 (bibtex-complete-internal): Remove.
17129 (bibtex-format-entry): Remove unused sub-group in regexp.
17130 * shell.el (shell--command-completion-data)
17131 (shell-environment-variable-completion):
17132 * pcomplete.el (pcomplete-completions-at-point):
17133 * comint.el (comint--complete-file-name-data): Use :exit-function
17134 instead of completion-table-with-terminator so it also works for
17135 choose-completion.
17136
17137 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17138
17139 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17140
17141 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17142 (bug#8710).
17143
17144 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17145
17146 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17147
17148 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17149 customization variable and implement: If non-nil, auto-fill will
17150 be inhibited while on topic's header line.
17151
17152 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17153
17154 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
17155 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
17156 always have a solution in grid size = 5 cases.
17157 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17158 (5x5-solver-output, 5x5-log-buffer): New vars.
17159 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17160 Make these variables buffer local to achieve 5x5 multi-session-ness.
17161 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17162 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17163 (5x5-solve-suggest): New funs.
17164 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17165 randomize a grid so that we ensure that there is always a solution.
17166 (5x5-make-random-grid): Allow other movement than flipping.
17167
17168 2011-05-23 Kevin Ryde <user42@zip.com.au>
17169
17170 * emacs-lisp/advice.el (ad-read-advised-function):
17171 Use `function-called-at-point' as the default, if it has
17172 advice and passes PREDICATE.
17173
17174 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17175
17176 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17177 byte-compile-lambda if it's actually a lambda.
17178
17179 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17180 Fix function quoting. Use backquote better.
17181
17182 2011-05-22 Yuanle Song <sylecn@gmail.com>
17183
17184 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17185 matching (Bug#8516).
17186
17187 2011-01-22 Jari Aalto <jari.aalto@cante.net>
17188
17189 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17190 different face (Bug#8178).
17191
17192 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
17193
17194 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17195 defface (Bug#8144).
17196
17197 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17198
17199 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17200 funcall as well (bug#8712). Warn when performing those conversions.
17201 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17202
17203 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17204
17205 2011-05-22 Glenn Morris <rgm@gnu.org>
17206
17207 * files.el (hack-local-variables-prop-line): Small simplifications.
17208 (hack-local-variables, hack-local-variables-prop-line):
17209 If MODE-ONLY, return the mode, rather than just `t'.
17210
17211 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17212
17213 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17214
17215 2011-05-21 Glenn Morris <rgm@gnu.org>
17216
17217 * files.el (hack-local-variables-prop-line, hack-local-variables):
17218 If only interested in the mode, don't bother doing the other stuff.
17219
17220 * image-mode.el (image-after-revert-hook):
17221 Redraw all frames on which the image is visible. (Bug#8567)
17222
17223 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17224
17225 * wid-edit.el (widget-checklist-match-inline):
17226 Fix 2011-04-19 change. (Bug#8649)
17227
17228 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17229
17230 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17231 Also allow singlespace after single-letter capitals followed by a dot.
17232
17233 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17234 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17235
17236 2011-05-20 Nix <nix@esperi.org.uk>
17237
17238 * files.el (basic-save-buffer-2):
17239 Fix handling of break-hardlink-on-save with non-existent files.
17240
17241 2011-05-19 Deniz Dogan <deniz@dogan.se>
17242
17243 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
17244 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
17245
17246 2011-05-19 Glenn Morris <rgm@gnu.org>
17247
17248 * progmodes/f90.el (f90-type-def-re):
17249 Handle "type, bind(c)". (Bug#8691)
17250
17251 * emacs-lisp/autoload.el (batch-update-autoloads):
17252 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17253
17254 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
17255
17256 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17257 property for the correct connection in case of multihops.
17258
17259 2011-05-18 Glenn Morris <rgm@gnu.org>
17260
17261 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
17262 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17263
17264 Rationalize calendar handling of day and month abbrev-arrays.
17265 * calendar/calendar.el (calendar-customized-p): New function.
17266 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17267 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17268 Add :set function.
17269 (calendar-abbrev-length, calendar-day-abbrev-array)
17270 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17271 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17272 Elements may no longer be nil.
17273 (calendar-day-name, calendar-month-name):
17274 Update for changed nature of abbrev arrays.
17275 * calendar/diary-lib.el (diary-name-pattern):
17276 Update for changed nature of abbrev arrays.
17277 (diary-mark-entries-1): Update calendar-make-alist calls.
17278 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17279 * calendar/cal-html.el (cal-html-day-abbrev-array):
17280 Simply inherit from calendar-day-abbrev-array.
17281
17282 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17283
17284 * progmodes/grep.el (grep-mode): Disable default
17285 compilation-directory-matcher setting (bug#8684).
17286
17287 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
17288
17289 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17290 instead of "head" and "tail". There were problems with SunOS 5.9,
17291 and it performs better.
17292
17293 2011-05-17 Glenn Morris <rgm@gnu.org>
17294
17295 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17296
17297 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17298 Replace obsolete function.
17299
17300 * shell.el (pcomplete-parse-arguments-function): Declare.
17301
17302 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17303 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17304 (appt-check): Doc fixes.
17305 (appt-disp-window-function, appt-delete-window-function):
17306 Remove needless special case in custom :type.
17307 (appt-display-count): Default to 0, not nil.
17308 (appt-check): Reset appt-display-count to 0, not nil.
17309
17310 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
17311
17312 * progmodes/python.el (python-font-lock-keywords):
17313 Add the Python 3.X keyword "nonlocal" (bug#8639).
17314
17315 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17316
17317 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17318
17319 2011-05-16 Kevin Ryde <user42@zip.com.au>
17320
17321 * info-look.el (makefile-automake-mode): New setups, looking in
17322 automake manual, then makefile-mode.
17323 (makefile-mode): Remove automake manual, have it just in
17324 makefile-automake-mode since there's various things different or
17325 not relevant to plain make.
17326 (makefile-mode): Remove "other-modes" non-existent automake-mode,
17327 believe a hypothetical automake-mode would go to makefile-mode,
17328 not the other way around.
17329
17330 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
17331
17332 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17333 hunk-end tags (Bug#8672).
17334
17335 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17336 vc-annotate-show-diff-revision-at-line (Bug#8671).
17337
17338 2011-05-14 Glenn Morris <rgm@gnu.org>
17339
17340 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17341 in the middle of an existing one with multiple authors. (Bug#8645)
17342 (change-log-font-lock-keywords): Also handle multiple author lines
17343 with leading tabs. (Bug#8644)
17344
17345 * calendar/appt.el (appt-check): Rename some local variables.
17346 Some simplification/reordering.
17347
17348 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17349 (feedmail-sendmail-f-doesnt-sell-me-out)
17350 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17351 (feedmail-debug-sit-for, feedmail-queue-express-hook)
17352 (feedmail-queue-runner-message-sender): Set :version.
17353 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17354 (bbdb-dwim-net-address, vm-mail): Declare.
17355 (feedmail-binmail-gnulinuxish-template):
17356 Rename from feedmail-binmail-linuxish-template.
17357 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17358 Use insert-buffer-substring.
17359
17360 2011-05-14 Bill Carpenter <bill@carpenter.org>
17361
17362 * mail/feedmail.el (feedmail-patch-level): Increase.
17363 (feedmail-debug): New custom group.
17364 (feedmail-confirm-outgoing-timeout)
17365 (feedmail-sendmail-f-doesnt-sell-me-out)
17366 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17367 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17368 (feedmail-sender-line, feedmail-from-line)
17369 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
17370 (feedmail-spray-this-address)
17371 (feedmail-spray-address-fiddle-plex-list)
17372 (feedmail-queue-use-send-time-for-date)
17373 (feedmail-queue-use-send-time-for-message-id)
17374 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17375 (feedmail-buffer-eating-function):
17376 Doc fixes.
17377 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17378 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17379 (feedmail-message-action-scroll-down): New functions.
17380 (feedmail-queue-directory, feedmail-queue-draft-directory):
17381 Use expand-file-name.
17382 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17383 Remove C-v help entry.
17384 (feedmail-queue-buffer-file-name): New variable.
17385 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17386 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17387 (feedmail-message-action-send-strong, feedmail-message-action-edit)
17388 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17389 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17390 (feedmail-message-action-toggle-spray)
17391 (feedmail-run-the-queue-no-prompts)
17392 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17393 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17394 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17395 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17396 (feedmail-envelope-deducer, feedmail-fiddle-from)
17397 (feedmail-fiddle-sender, feedmail-default-date-generator)
17398 (feedmail-fiddle-date, feedmail-fiddle-message-id)
17399 (feedmail-fiddle-spray-address)
17400 (feedmail-fiddle-list-of-spray-fiddle-plexes)
17401 (feedmail-fiddle-list-of-fiddle-plexes)
17402 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17403 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17404 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17405 Change default. Doc fix.
17406 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
17407 (feedmail-binmail-linuxish-template): New constant.
17408 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
17409 Respect feedmail-sendmail-f-doesnt-sell-me-out.
17410 (feedmail-send-it): Add debug call.
17411 Use feedmail-queue-buffer-file-name, and
17412 feedmail-send-it-immediately-wrapper.
17413 (feedmail-message-action-send): Add debug call.
17414 Use feedmail-send-it-immediately-wrapper.
17415 (feedmail-queue-express-to-queue): Add debug call.
17416 Run feedmail-queue-express-hook.
17417 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
17418 (feedmail-message-action-help-blat):
17419 Rename from feedmail-queue-send-edit-prompt-help-first.
17420 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
17421 Check line-endings. Handle errors better.
17422 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17423 Doc fix. Add debug call.
17424 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
17425 Use feedmail-queue-send-edit-prompt-inner.
17426 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17427 (feedmail-queue-send-edit-prompt-inner): New function, extracted
17428 from feedmail-queue-send-edit-prompt.
17429 (feedmail-queue-send-edit-prompt-help)
17430 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17431 (feedmail-tidy-up-slug): Add debug call.
17432 Respect feedmail-queue-slug-suspect-regexp.
17433 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17434 (feedmail-dump-message-to-queue): Add debug call.
17435 Expand queue-directory.
17436 (feedmail-dump-message-to-queue): Change message slightly.
17437 Use feedmail-say-chatter.
17438 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
17439 (feedmail-send-it-immediately-wrapper): New function.
17440 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
17441 Insert empty string rather than newline. Handle full-frame case.
17442 Use catch/throw. Use feedmail-say-chatter.
17443 (feedmail-fiddle-from): Try mail-host-address.
17444 (feedmail-default-message-id-generator): Doc fix.
17445 Bind system-time-locale. Handle missing end.
17446 (feedmail-fiddle-x-mailer): Add debug call.
17447 Handle feedmail-x-mailer-line being nil.
17448 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
17449 Add debug call. Use buffer-substring-no-properties.
17450 (feedmail-say-debug, feedmail-say-chatter): New functions.
17451 (feedmail-find-eoh): Give an explicit error.
17452
17453 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
17454
17455 * net/newst-treeview.el (newsticker-treeview-face): Change default
17456 family from helvetica to sans.
17457 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
17458 etc/images/newsticker.
17459
17460 * net/newst-reader.el (newsticker-feed-face): Change default
17461 family from helvetica to sans.
17462
17463 * net/newst-plainview.el (newsticker-new-item-face)
17464 (newsticker-old-item-face, newsticker-immortal-item-face)
17465 (newsticker-obsolete-item-face, newsticker-date-face)
17466 (newsticker-statistics-face): Change default family from
17467 helvetica to sans.
17468 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
17469 etc/images/newsticker.
17470
17471 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17472 (newsticker--process-auto-mark-filter-match): Tell user about
17473 auto-marking.
17474
17475 2011-05-13 Didier Verna <didier@xemacs.org>
17476
17477 Common Lisp indentation improvements on defmethod and lambda-lists.
17478 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17479 TODO entries.
17480 (lisp-lambda-list-keyword-parameter-indentation)
17481 (lisp-lambda-list-keyword-parameter-alignment)
17482 (lisp-lambda-list-keyword-alignment): New customizable user options.
17483 (lisp-indent-defun-method): Improve docstring.
17484 (extended-loop-p): Fix comment.
17485 (lisp-indent-lambda-list-keywords-regexp): New variable.
17486 (lisp-indent-lambda-list): New function.
17487 (lisp-indent-259): Use it.
17488 (lisp-indent-defmethod): Support for more than one
17489 method qualifier and properly indent methods lambda-lists.
17490 (defgeneric): Provide a missing common-lisp-indent-function property.
17491
17492 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17493
17494 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17495 bounds for the empty string (bug#8667).
17496
17497 2011-05-13 Glenn Morris <rgm@gnu.org>
17498
17499 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17500
17501 * mail/sendmail.el (sendmail-program): Try executable-find first.
17502 (sendmail-send-it): `sendmail-program' cannot be unbound.
17503
17504 * calendar/appt.el (appt-make-list): Simplify.
17505 (appt-time-msg-list): Doc fix.
17506 (appt-check): Change mode-line message at the time of the appointment.
17507
17508 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
17509
17510 * progmodes/ld-script.el (ld-script-keywords)
17511 (ld-script-builtins): Update keywords list.
17512
17513 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17514
17515 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17516
17517 * shell.el (shell-completion-vars): New function.
17518 (shell-mode):
17519 * simple.el (read-shell-command): Use it.
17520 (blink-matching-open): No need for " [...]" in minibuffer-message.
17521
17522 2011-05-12 Glenn Morris <rgm@gnu.org>
17523
17524 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17525 (appt-check): Simplify.
17526
17527 2011-05-12 Eli Zaretskii <eliz@gnu.org>
17528
17529 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
17530 literal "/dev/null".
17531
17532 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17533
17534 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17535 Fix typo.
17536
17537 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
17538
17539 * progmodes/which-func.el (which-function):
17540 Use add-log-current-defun instead of add-log-current-defun-function,
17541 which might not be defined (Bug#8260).
17542
17543 2011-05-12 Glenn Morris <rgm@gnu.org>
17544
17545 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17546 Let byte-compile-initial-macro-environment always take precedence.
17547
17548 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17549
17550 * net/rcirc.el: Add support for SSL/TLS connections.
17551 (rcirc-server-alist): New field `encryption'.
17552 (rcirc): Check `encryption' settings.
17553 (rcirc-connect): New arg `encryption'. Use open-network-stream.
17554 Merge make-local-variable into `set'.
17555 (rcirc--connection-open-p): New function.
17556 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17557 the process is not a network process (e.g. running gnutls-cli).
17558 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17559 Make rcirc-(en|de)code-coding-system local here.
17560 (rcirc-mode): Merge make-local-variable into `set'.
17561 (rcirc-parent-buffer): Make permanent buffer-local.
17562 (rcirc-multiline-minor-mode): Don't do it here.
17563 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17564 there's no server buffer.
17565
17566 2011-05-11 Glenn Morris <rgm@gnu.org>
17567
17568 * newcomment.el (comment-kill): Prefix "unused" local.
17569
17570 * term/w32console.el (get-screen-color): Declare.
17571
17572 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17573 Handle symbol elements of byte-compile-initial-macro-environment.
17574
17575 2011-05-10 Leo Liu <sdl.web@gmail.com>
17576
17577 * bookmark.el (bookmark-bmenu-mode-map):
17578 Bind bookmark-bmenu-search to `/'.
17579
17580 * mail/footnote.el: Convert to utf-8 encoding.
17581 (footnote-unicode-string, footnote-unicode-regexp): New variable.
17582 (Footnote-unicode): New function.
17583 (footnote-style-alist): Add unicode style to the list.
17584 (footnote-style): Doc fix.
17585
17586 2011-05-10 Jim Meyering <meyering@redhat.com>
17587
17588 Fix doubled-word typos.
17589 * international/quail.el (quail-insert-kbd-layout): and and -> and
17590 * kermit.el: and and -> and
17591 * net/ldap.el (ldap-search-internal): to to -> to
17592 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
17593 * progmodes/js.el (js-mode): and and -> and
17594 * textmodes/artist.el (artist-move-to-xy): at at -> at
17595 (artist-draw-region-trim-line-endings): if if -> if
17596 And Safetyc -> Safety.
17597 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
17598
17599 2011-05-10 Glenn Morris <rgm@gnu.org>
17600 Stefan Monnier <monnier@iro.umontreal.ca>
17601
17602 * files.el (hack-one-local-variable-eval-safep):
17603 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
17604
17605 2011-05-10 Glenn Morris <rgm@gnu.org>
17606
17607 * calendar/diary-lib.el (diary-list-entries-hook)
17608 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
17609 (diary-nongregorian-marking-hook, diary-list-entries)
17610 (diary-include-other-diary-files, diary-mark-entries)
17611 (diary-mark-included-diary-files): Doc fixes.
17612
17613 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
17614
17615 * misc.el: Require tabulated-list.el during compilation.
17616
17617 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
17618
17619 * progmodes/compile.el (compilation-start):
17620 Run compilation-filter-hook for the async case too.
17621 (compilation-filter-hook): Doc fix.
17622
17623 2011-05-09 Deniz Dogan <deniz@dogan.se>
17624
17625 * wdired.el: Remove outdated installation comment. Fix usage
17626 comment.
17627
17628 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
17629
17630 * misc.el: Implement new command `list-dynamic-libraries'.
17631 (list-dynamic-libraries--loaded-only-p): New variable.
17632 (list-dynamic-libraries--refresh): New function.
17633 (list-dynamic-libraries): New command.
17634
17635 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
17636
17637 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17638 Fix the ant regexp to handle end-line and end-column info from jikes.
17639 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
17640 higher priority to avoid clobbering by gnu.
17641
17642 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
17643
17644 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
17645 if the face has existing theme settings (Bug#8454).
17646
17647 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
17648
17649 * progmodes/perl-mode.el (perl-imenu-generic-expression):
17650 Only match variables declared via `my' or `our' (Bug#8261).
17651
17652 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
17653 special file names `.' and `..' (Bug#8259).
17654
17655 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
17656
17657 * progmodes/grep.el (grep-mode-font-lock-keywords):
17658 Remove buffer-changing entries.
17659 (grep-filter): New function.
17660 (grep-mode): Add it to compilation-filter-hook.
17661
17662 * progmodes/compile.el (compilation-filter-hook)
17663 (compilation-filter-start): New defvars.
17664 (compilation-filter): Call compilation-filter-hook prior to
17665 updating the process mark.
17666
17667 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17668
17669 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
17670
17671 2011-05-07 Eli Zaretskii <eliz@gnu.org>
17672
17673 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
17674 mailclient-send-it even if window-system is nil. (Bug#8595)
17675
17676 * term/w32console.el (terminal-init-w32console):
17677 Call get-screen-color and use its output to set the frame
17678 background-mode. (Bug#8597)
17679
17680 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17681
17682 Make bytecomp.el understand that defmethod defines funs (bug#8631).
17683 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
17684 New functions.
17685 (defgeneric, eieio--defmethod): Use them.
17686 (eieio-defgeneric): Remove.
17687 (defmethod): Call defgeneric in a way visible to the byte-compiler.
17688
17689 2011-05-07 Glenn Morris <rgm@gnu.org>
17690
17691 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
17692 Use let rather than let*.
17693 (timeclock-find-discrep): Remove unused local.
17694
17695 * calendar/diary-lib.el (diary-comment-start): Doc fix.
17696
17697 * calendar/appt.el (appt-time-msg-list): Doc fix.
17698
17699 2011-05-06 Noah Friedman <friedman@splode.com>
17700
17701 * apropos.el (apropos-print-doc): Only use
17702 emacs-lisp-docstring-fill-column when it is bound to an integer,
17703 per that variable's documentation.
17704
17705 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17706
17707 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
17708 and warnings are not silently discarded (e.g. use -d instead of -P).
17709
17710 2011-05-06 Glenn Morris <rgm@gnu.org>
17711
17712 * calendar/appt.el (appt-message-warning-time): Doc fix.
17713 (appt-warning-time-regexp): New option.
17714 (appt-make-list): Respect appt-message-warning-time.
17715
17716 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
17717 New options.
17718 (diary-add-to-list): Strip comments from the displayed string.
17719 (diary-mode): Set comment-start and comment-end.
17720
17721 * vc/diff-mode.el (smerge-refine-subst): Declare.
17722 (diff-refine-hunk): Don't require smerge-mode when compiling.
17723
17724 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
17725
17726 * simple.el (list-processes): Return nil as the docstring says.
17727
17728 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
17729
17730 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
17731 to "".
17732 (ange-ftp-write-region, ange-ftp-insert-file-contents)
17733 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
17734 determining of binary transfer. (Bug#7383)
17735
17736 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
17737
17738 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17739 Fix port computation bug. (Bug#8618)
17740
17741 2011-05-05 Glenn Morris <rgm@gnu.org>
17742
17743 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
17744
17745 * simple.el (shell-dynamic-complete-functions)
17746 (comint-dynamic-complete-functions): Declare.
17747
17748 * net/network-stream.el (gnutls-negotiate):
17749 * simple.el (tabulated-list-print): Fix declarations.
17750
17751 * progmodes/gud.el (syntax-symbol, syntax-point):
17752 Remove unnecessary and incorrect declarations.
17753
17754 * emacs-lisp/check-declare.el (check-declare-scan):
17755 Handle byte-compile-initial-macro-environment in bytecomp.el
17756
17757 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
17758
17759 Fix earlier half-done eieio-defmethod change (bug#8338).
17760 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
17761 Streamline and change calling convention.
17762 (defmethod): Adjust accordingly and simplify.
17763 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
17764 new eieio--defmethod.
17765 (slot-boundp): Minor CSE simplification.
17766
17767 2011-05-05 Milan Zamazal <pdm@zamazal.org>
17768
17769 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
17770 (glasses-make-readable): Use glasses-separate-capital-groups.
17771
17772 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
17773
17774 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
17775 (warning-series): Doc fix.
17776 (display-warning): Don't try to create the buffer if we just found it.
17777
17778 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
17779
17780 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
17781 (autoload-find-generated-file): New function.
17782 (generate-file-autoloads): Bind generated-autoload-file to
17783 buffer-file-name.
17784 (update-file-autoloads, update-directory-autoloads):
17785 Use autoload-find-generated-file. If called interactively, prompt for
17786 output file (Bug#7989).
17787 (batch-update-autoloads): Doc fix.
17788
17789 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
17790
17791 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
17792
17793 2011-05-04 Glenn Morris <rgm@gnu.org>
17794
17795 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
17796 function, so it follows changes in calendar-date-style.
17797 (diary-fancy-date-matcher): New function.
17798 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
17799 (diary-fancy-font-lock-fontify-region-function):
17800 Use diary-fancy-date-pattern as a function.
17801
17802 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
17803 non-numbers for `year' etc pseudo-variables. (Bug#8583)
17804
17805 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
17806
17807 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
17808 instead of positional arguments. Allow :keylist and :crlfiles
17809 arguments.
17810 (open-gnutls-stream): Call it.
17811
17812 * net/network-stream.el (network-stream-open-starttls): Adjust to
17813 call `gnutls-negotiate' with :process and :hostname arguments.
17814
17815 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
17816
17817 * minibuffer.el (completion--message): New function.
17818 (completion--do-completion, minibuffer-complete)
17819 (minibuffer-force-complete, minibuffer-complete-word): Use it.
17820 (completion--do-completion): Don't ignore completion-auto-help when in
17821 icomplete-mode.
17822
17823 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
17824 internal encoding (e.g. tibetan zero is not whitespace).
17825 (global-whitespace-mode): Prefer save-current-buffer.
17826 (whitespace-trailing-regexp): Remove useless save-match-data.
17827 (whitespace-empty-at-bob-regexp): Minor simplification.
17828
17829 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
17830
17831 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
17832
17833 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17834
17835 * textmodes/ispell.el (ispell-add-per-file-word-list):
17836 Use `concat' to create string for insertion.
17837
17838 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17839
17840 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
17841 Avoid open-line which runs post-self-insert-hook.
17842 (bibtex-fill-entry): Remove unused `end' var.
17843
17844 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
17845
17846 * textmodes/ispell.el (ispell-add-per-file-word-list):
17847 Protect against `nil' value of `comment-start' (Bug#8579).
17848
17849 2011-05-03 Leo Liu <sdl.web@gmail.com>
17850
17851 * isearch.el (isearch-yank-pop): New command.
17852 (isearch-mode-map): Bind it to `M-y'.
17853 (isearch-forward): Mention it.
17854
17855 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17856
17857 * simple.el (minibuffer-complete-shell-command): Remove.
17858 (minibuffer-local-shell-command-map): Use completion-at-point.
17859 (read-shell-command): Setup completion vars here instead.
17860 (read-expression-map): Bind TAB to symbol completion.
17861
17862 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
17863 error directly rather via storing it into `results'.
17864
17865 2011-05-02 Leo Liu <sdl.web@gmail.com>
17866
17867 * vc/diff.el: Fix description.
17868
17869 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17870
17871 * server.el (server-eval-at): New function.
17872
17873 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17874
17875 * net/network-stream.el (open-network-stream): Take a :nowait
17876 parameter and pass it on to `make-network-process'.
17877 (network-stream-open-plain): Ditto.
17878
17879 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
17880
17881 * faces.el (face-spec-set-match-display): Don't match toolkit
17882 options on terminal frames.
17883
17884 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
17885
17886 * progmodes/pascal.el: Use lexical binding.
17887 (pascal-mode-map): Remove author preferences.
17888
17889 * pcomplete.el (pcomplete-std-complete): Don't abuse
17890 completion-at-point.
17891
17892 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
17893
17894 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
17895 removing code that has been dead since 1991 or so.
17896
17897 * startup.el (command-line): When warning about "_emacs", use a
17898 delayed warning to allow the user to filter it out.
17899
17900 2011-04-28 Deniz Dogan <deniz@dogan.se>
17901
17902 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
17903 user has not joined.
17904
17905 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17906
17907 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
17908 aren't any completions at point.
17909
17910 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
17911
17912 * subr.el (display-delayed-warnings): New function.
17913 (delayed-warnings-hook): New variable.
17914
17915 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17916
17917 * minibuffer.el (completion-at-point, completion-help-at-point):
17918 Don't presume that a given completion-at-point-function will always
17919 use the same calling convention.
17920
17921 * pcomplete.el (pcomplete-completions-at-point):
17922 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
17923 pcomplete-seen is non-nil.
17924 (pcomplete-comint-setup): Also recognize the new comint/shell
17925 completion functions.
17926 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
17927 pcomplete-seen is non-nil.
17928
17929 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
17930
17931 * calendar/icalendar.el (diary-lib): Add require statement.
17932 (icalendar--create-uid): Read out a uid from a text-property on
17933 the first character in the entry. This allows for code to add its
17934 own uid to the entry.
17935 (icalendar--convert-float-to-ical): Add export of
17936 `diary-float'-entries save for those with the optional DAY
17937 argument.
17938
17939 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
17940
17941 * subr.el (shell-quote-argument): Use alternate escaping strategy
17942 when we spot a variable reference in a string.
17943
17944 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
17945
17946 * cus-start.el (all): Define customization for debug-on-event.
17947
17948 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
17949
17950 * subr.el (shell-quote-argument): Escape correctly under Windows.
17951
17952 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17953
17954 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
17955
17956 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
17957
17958 * net/tramp.el (tramp-process-actions): Add POS argument.
17959 Delete region between POS and (pos).
17960
17961 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17962 Use `nil' position in `tramp-process-actions' call.
17963 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
17964
17965 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
17966 position in `tramp-process-actions' call.
17967
17968 * net/trampver.el: Update release number.
17969
17970 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17971
17972 * custom.el (defcustom): Obey lexical-binding.
17973
17974 Fix octave-inf completion problems reported by Alexander Klimov.
17975 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
17976 Inherit from octave-mode-syntax-table.
17977 (inferior-octave-mode): Set info-lookup-mode.
17978 (inferior-octave-completion-at-point): New function.
17979 (inferior-octave-complete): Use it and completion-in-region.
17980 (inferior-octave-dynamic-complete-functions): Use it as well, and use
17981 comint-filename-completion.
17982 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
17983 symbol elements which shouldn't be word elements.
17984 (octave-font-lock-keywords, octave-beginning-of-defun)
17985 (octave-function-header-regexp): Adjust regexps accordingly.
17986 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
17987
17988 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
17989
17990 * net/gnutls.el (gnutls-errorp): Declare before first use.
17991
17992 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
17993
17994 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
17995 verify-error, and verify-hostname-error parameters. Check whether
17996 default trustfile exists before going to use it. Add missing
17997 argument to gnutls-message-maybe call. Return value.
17998 Reported by Claudio Bley <claudio.bley@gmail.com>.
17999 (open-gnutls-stream): Add usage example.
18000
18001 * net/network-stream.el (network-stream-open-starttls): Give host
18002 parameter to `gnutls-negotiate'.
18003 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
18004 * subr.el (shell-quote-argument): Escape correctly under Windows.
18005
18006 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
18007
18008 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18009 Use correct match group (bug#8438).
18010
18011 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
18012
18013 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18014 (package-menu--generate): New arg specifying packages to show.
18015 (package-menu-refresh, package-menu-execute, list-packages):
18016 Callers changed.
18017 (package-show-package-list): New function, replacing deleted
18018 package--list-packages (renamed because it is non-internal).
18019
18020 * finder.el (finder-list-matches): Use package-show-package-list
18021 instead of deleted package--list-packages.
18022
18023 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18024 Based on a previous implementation by Juanma Barranquero (Bug#8366).
18025 (vc-annotate-mode-map): Bind it to RET.
18026
18027 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18028
18029 * progmodes/etags.el (next-file): Don't use set-buffer to change
18030 buffers (Bug#8478).
18031
18032 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
18033
18034 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18035
18036 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18037 (apropos-accumulator): Doc fix.
18038 (apropos-function, apropos-macro, apropos-command)
18039 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18040 (apropos-plist): Add face property.
18041 (apropos-symbols-internal): Fix indentation.
18042 (apropos-print): Simplify help, and recognize apropos-multi-type.
18043 (apropos-print-doc): Use button-type-get to extract the button's
18044 face property. Fill docstring (Bug#8352).
18045
18046 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
18047
18048 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18049
18050 * play/mpuz.el (mpuz-silent): Doc fix.
18051 (mpuz-mode-map): Use mapc.
18052 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18053 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18054 Fix typos in docstrings.
18055
18056 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18057 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18058
18059 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18060
18061 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
18062
18063 * minibuffer.el (completion--do-completion): Avoid the "Next char
18064 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18065
18066 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18067 mouse-2 into unread-command-events, it is interpreted correctly.
18068
18069 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
18070 (image-toggle-display): Doc fix.
18071
18072 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
18073
18074 * textmodes/page.el (what-page): Use line-number-at-pos to
18075 calculate line number (Bug#6825).
18076
18077 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
18078
18079 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18080 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18081 Pass argument NO-DEFAULT to `find-tag-interactive'.
18082
18083 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
18084
18085 Lexical-binding cleanup.
18086
18087 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18088 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18089 * progmodes/ada-prj.el (ada-prj-initialize-values)
18090 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18091 (ada-prj-show-value):
18092 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18093 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18094 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18095 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18096 * progmodes/bug-reference.el (bug-reference-push-button):
18097 * progmodes/fortran.el (fortran-line-length):
18098 * progmodes/glasses.el (glasses-change):
18099 * progmodes/octave-mod.el (octave-fill-paragraph):
18100 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18101 (python-pdbtrack-grub-for-buffer, python-sentinel):
18102 * progmodes/sql.el (sql-save-connection):
18103 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18104 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18105 Mark unused parameters.
18106
18107 * progmodes/compile.el (compilation--flush-directory-cache)
18108 (compilation--flush-parse, compile-internal): Mark unused parameters.
18109 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18110 (compilation-next-error-function): Remove unused variable `timestamp'.
18111
18112 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18113 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18114
18115 * progmodes/dcl-mode.el (dcl-end-of-command):
18116 Remove unused variable `start'.
18117 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18118 (dcl-option-value-basic, dcl-option-value-offset)
18119 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18120 Mark unused parameters.
18121 (dcl-save-local-variable): Remove unused variable `val'.
18122 (mode): Declare.
18123
18124 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18125 Mark unused parameters.
18126 (delphi-ignore-changes): Move before first use.
18127 (delphi-charset-token-at): Remove unused variable `start'.
18128 (delphi-else-start): Remove unused variable `if-count'.
18129 (delphi-comment-block-start, delphi-comment-block-end):
18130 Remove unused variable `kind'.
18131 (delphi-indent-line): Remove unused variable `new-point'.
18132
18133 * progmodes/ebrowse.el (ebrowse-files-list)
18134 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18135 Mark unused parameters. Don't quote `lambda'.
18136 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18137 Don't quote `lambda'.
18138 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18139 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18140 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18141 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18142 Use `ignore-errors'.
18143 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18144 (ebrowse-view/find-file-and-search-pattern)
18145 (ebrowse-view/find-member-declaration/definition):
18146 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18147 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18148 Rename parameter PREFIX-ARG to PREFIX.
18149 (ebrowse-tags-read-name): Remove unused variables `start' and
18150 `member-info'.
18151 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18152 to `tags-file'.
18153
18154 * progmodes/etags.el (local-find-tag-hook): Declare.
18155 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18156 Mark unused parameters.
18157
18158 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18159 (executable-interpret): Mark unused parameter.
18160
18161 * progmodes/flymake.el (flymake-process-sentinel)
18162 (flymake-after-change-function)
18163 (flymake-create-temp-with-folder-structure)
18164 (flymake-get-include-dirs-dot): Mark unused parameters.
18165 (flymake-safe-delete-directory): Remove unused variable `err'.
18166
18167 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18168 (speedbar-timer-fn, speedbar-line-text)
18169 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18170 (speedbar-center-buffer-smartly): Declare functions.
18171 (gdb-find-watch-expression): Remove unused variable `array'.
18172 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18173 (gdb-starting): Mark unused parameters.
18174 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18175 (gdb-table-string): Remove unused variable `res'.
18176 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18177 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18178 (gdb-display-buffer): Remove unused variable `cur-size'.
18179
18180 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18181 allow lexical-binding compilation.
18182 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18183 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18184 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18185 Mark unused parameters.
18186 (gud-gdb-marker-filter): Remove unused variable `match'.
18187 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18188 lambda expressions and funcall them, instead of using `fset'.
18189
18190 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18191 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18192
18193 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18194 variable `header-beg'; use `let'.
18195
18196 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18197 `restart', `last-sexp' and `at-do'.
18198
18199 * progmodes/js.el (js--debug): Mark unused parameter.
18200 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18201 (js--splice-into-items): Remove unused variable `item'.
18202 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18203
18204 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18205 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18206 (makefile-complete): Remove unused variable `try'.
18207 (makefile-fill-paragraph, makefile-match-function-end):
18208 Mark unused parameters.
18209
18210 * progmodes/octave-inf.el (inferior-octave-complete):
18211 Remove unused variable `proc'.
18212 (inferior-octave-output-digest): Mark unused parameter.
18213
18214 * progmodes/perl-mode.el (perl-calculate-indent):
18215 Remove unused variable `err'.
18216
18217 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18218 (prolog-indent-line): Mark unused parameters.
18219 (prolog-indent-line): Remove unused variable `beg'.
18220
18221 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18222 (reporter-dont-compact-list): Declare.
18223
18224 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18225 Remove unused variable `char'.
18226 (sh-debug): Mark unused parameter.
18227 (sh-get-indent-info): Remove unused variable `start'.
18228 (sh-calculate-indent): Remove unused variable `var'.
18229
18230 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18231 (simula-electric-keyword): Remove unused variable `null'.
18232 (simula-search-backward, simula-search-forward): Remove unused
18233 variables `begin' and `end'.
18234
18235 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18236 Remove unused variable `pos'.
18237 (vera-electric-tab, vera-comment-uncomment-region):
18238 Mark unused parameters.
18239 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18240
18241 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
18242
18243 * emacs-lisp/package.el (package--builtins, package-alist)
18244 (package-load-descriptor, package-built-in-p, package-activate)
18245 (define-package, package-installed-p)
18246 (package-compute-transaction, package-buffer-info)
18247 (package--push): Doc fix. Distinguish more clearly between
18248 version strings and version lists.
18249
18250 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
18251
18252 Lexical-binding cleanup.
18253
18254 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18255 (5x5-make-mutate-best):
18256 * play/fortune.el (fortune-in-buffer):
18257 * play/gomoku.el (gomoku-init-display):
18258 * play/solitaire.el (solitaire, solitaire-do-check):
18259 * play/tetris.el (tetris-default-update-speed-function):
18260 Mark unused parameters.
18261
18262 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18263 (bubbles--shift): Remove unused variable `char-org'.
18264 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18265 (bubbles--show-images): Remove unused variable `char'.
18266
18267 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18268 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18269 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18270 (decipher-analyze-buffer): Use ?\s.
18271 (decipher-make-checkpoint): Remove unused variable `mapping'.
18272
18273 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18274
18275 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18276 Remove unused variable `result'; use `let'.
18277
18278 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18279 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18280 (gametree-children-shown-p, gametree-compute-reduced-score):
18281 Use `ignore-errors'.
18282
18283 * play/handwrite.el (ps-lpr-switches): Declare.
18284 (handwrite): Remove unused variables `pmin' and `lastp'.
18285
18286 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18287
18288 * play/landmark.el (landmark-init-display)
18289 (landmark-update-naught-weights): Mark unused parameters.
18290 (landmark-y): Remove unused variable `noise'. Simplify.
18291 (landmark-human-plays): Remove unused variable `score'.
18292
18293 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18294 (mpuz-try-proposal): Remove unused variable `game'.
18295
18296 * play/zone.el (life-patterns): Declare.
18297
18298 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
18299
18300 * vc/vc.el (ediff-vc-internal): Declare function.
18301
18302 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18303
18304 * shell.el: Use lexical-binding and std completion UI.
18305 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18306 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18307 comint-preoutput-filter-functions rather than on
18308 comint-output-filter-functions.
18309 (shell-command-completion, shell--command-completion-data)
18310 (shell-filename-completion, shell-environment-variable-completion)
18311 (shell-c-a-p-replace-by-expanded-directory): New functions.
18312 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18313 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18314 (shell-dynamic-complete-environment-variable): Use them.
18315 (shell-dynamic-complete-as-environment-variable)
18316 (shell-dynamic-complete-as-command): Remove.
18317 (shell-match-partial-variable): Match past point.
18318 * comint.el: Clean up use of completion-at-point-functions.
18319 (comint-completion-at-point): New function.
18320 (comint-mode): Use it completion-at-point-functions.
18321 (comint-dynamic-complete): Make it obsolete.
18322 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18323 (comint-c-a-p-replace-by-expanded-history): New function.
18324 (comint-dynamic-complete-functions)
18325 (comint-replace-by-expanded-history): Use it.
18326 * minibuffer.el (completion-table-with-terminator): Allow dynamic
18327 termination strings. Try harder to avoid second try-completion.
18328 (completion-in-region-mode-map): Disable bindings that don't work yet.
18329
18330 * comint.el: Use lexical-binding. Require CL.
18331 (comint-dynamic-complete-functions): Use comint-filename-completion.
18332 (comint-completion-addsuffix): Tweak custom type.
18333 (comint-filename-completion, comint--common-suffix)
18334 (comint--common-quoted-suffix, comint--table-subvert)
18335 (comint--complete-file-name-data): New functions.
18336 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18337 (comint-dynamic-list-filename-completions): Use them.
18338 (comint-dynamic-simple-complete): Make obsolete.
18339
18340 * minibuffer.el (completion-in-region-mode):
18341 Keep completion-in-region-mode--predicate global.
18342 (completion-in-region--postch):
18343 Assume completion-in-region-mode--predicate is not null.
18344
18345 * progmodes/flymake.el (flymake-start-syntax-check-process):
18346 Obey `dir'. Simplify.
18347
18348 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18349 we're in VC after all.
18350
18351 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
18352
18353 * vc/vc.el (vc-diff-build-argument-list-internal)
18354 (vc-version-ediff, vc-ediff): New commands.
18355 (vc-version-diff): Use vc-diff-build-argument-list-internal.
18356
18357 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18358
18359 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18360 add sanity check.
18361
18362 * obsolete/erc-hecomplete.el: Make obsolete.
18363 * obsolete/: Standardize obsolescence info in the header.
18364
18365 2011-04-20 Glenn Morris <rgm@gnu.org>
18366
18367 * calendar/solar.el (solar-horizontal-coordinates):
18368 Use the longitude argument rather than `calendar-longitude'.
18369 (solar-date-next-longitude): Remove unused locals.
18370
18371 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18372
18373 * whitespace.el: New version 13.2.1.
18374
18375 2011-04-20 felix <EmacsWiki> (tiny change)
18376
18377 * whitespace.el (global-whitespace-mode): Keep highlight when
18378 switching between major modes on a file.
18379
18380 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18381
18382 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18383 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18384 multi-line comments as well.
18385
18386 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
18387
18388 Lexical-binding cleanup.
18389
18390 * arc-mode.el (archive-mode-revert):
18391 * cmuscheme.el (scheme-interactively-start-process):
18392 * custom.el (custom-initialize-delay):
18393 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18394 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18395 * emacs-lock.el (emacs-lock-clear-sentinel):
18396 * ezimage.el (defezimage):
18397 * follow.el (follow-avoid-tail-recenter):
18398 * fringe.el (set-fringe-mode-1):
18399 * generic-x.el (bat-generic-mode-compile):
18400 * help-mode.el (help-info-variable, help-do-xref)
18401 (help-mode-revert-buffer):
18402 * help.el (view-emacs-todo):
18403 * iswitchb.el (iswitchb-completion-help):
18404 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18405 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18406 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
18407 * locate.el (locate-update):
18408 * longlines.el (longlines-encode-region)
18409 (longlines-after-change-function):
18410 * outline.el (outline-isearch-open-invisible):
18411 * ps-def.el (declare-function, charset-dimension, char-width)
18412 (encode-char):
18413 * ps-mule.el (ps-mule-plot-string):
18414 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
18415 (recentf-edit-list-select, recentf-edit-list-validate)
18416 (recentf-open-files-action):
18417 * rect.el (delete-whitespace-rectangle-line)
18418 (rectangle-number-line-callback):
18419 * register.el (window-configuration-to-register)
18420 (frame-configuration-to-register):
18421 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18422 * select.el (xselect-convert-to-string, xselect-convert-to-length)
18423 (xselect-convert-to-targets, xselect-convert-to-delete)
18424 (xselect-convert-to-filename, xselect-convert-to-charpos)
18425 (xselect-convert-to-lineno, xselect-convert-to-colno)
18426 (xselect-convert-to-os, xselect-convert-to-host)
18427 (xselect-convert-to-user, xselect-convert-to-class)
18428 (xselect-convert-to-name, xselect-convert-to-integer)
18429 (xselect-convert-to-atom, xselect-convert-to-identity):
18430 * subr.el (declare, ignore, process-kill-without-query)
18431 (text-clone-maintain):
18432 * terminal.el (te-get-char, te-tic-sentinel):
18433 * tool-bar.el (tool-bar-make-keymap):
18434 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18435 * type-break.el (type-break-mode, type-break-noninteractive-query):
18436 * view.el (View-back-to-mark):
18437 * wid-browse.el (widget-browse-action, widget-browse-widget)
18438 (widget-browse-widgets, widget-browse-sexp):
18439 * widget.el (define-widget-keywords):
18440 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
18441 Mark unused parameters.
18442
18443 * align.el (align-adjust-col-for-rule): Mark unused parameter.
18444 (align-areas): Remove unused variable `look'.
18445 (align-region): Remove unused variables `real-end' and `pos-list'.
18446
18447 * apropos.el (apropos-score-doc): Remove unused variable `i'.
18448
18449 * bindings.el (mode-line-modified, mode-line-remote):
18450 Mark unused parameters.
18451 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
18452
18453 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
18454 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18455
18456 * comint.el (comint-history-isearch-pop-state)
18457 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18458 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18459 (comint-substitute-in-file-name): Doc fix.
18460
18461 * completion.el (cmpl-statistics-block): Mark unused parameter.
18462 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18463 (save-completions-to-file, load-completions-from-file):
18464 Remove unused local variable `e'.
18465
18466 * composite.el (compose-chars): Remove unused variable `len'.
18467 (lgstring-insert-glyph): Remove unused variable `g'.
18468 (compose-glyph-string): Remove unused variables `ascent',
18469 `descent', `lbearing' and `rbearing'.
18470 (compose-glyph-string-relative): Remove unused variables
18471 `lbearing', `rbearing' and `wadjust'.
18472 (compose-gstring-for-graphic): Remove unused variables `header',
18473 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
18474 (compose-gstring-for-terminal): Remove unused variables `header'
18475 and `nchars'. Use `let', not `let*'.
18476
18477 * cus-edit.el (Custom-set, Custom-save, custom-reset)
18478 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18479 (Custom-buffer-done, custom-buffer-create-internal)
18480 (custom-browse-visibility-action, custom-browse-group-tag-action)
18481 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18482 (widget-magic-mouse-down-action, custom-toggle-parent)
18483 (custom-add-parent-links, custom-toggle-hide-variable)
18484 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18485 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18486 (custom-face-menu-create, custom-variable-menu-create, get)
18487 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18488 (custom-reset-standard-save-and-update): Remove unused variable `value'.
18489 (customize-apropos): Remove unused variable `tests'.
18490 (custom-group-value-create): Remove unused variable `hidden-p'.
18491 (sort-fold-case): Declare.
18492
18493 * cus-theme.el (custom-reset-standard-faces-list)
18494 (custom-reset-standard-variables-list): Declare.
18495 (customize-create-theme, custom-theme-revert, custom-theme-write)
18496 (custom-theme-choose-mode, customize-themes, custom-theme-save):
18497 Mark unused parameters.
18498
18499 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18500
18501 * delim-col.el (delimit-columns-max): Move defvar before first use.
18502
18503 * descr-text.el (describe-char-categories): Don't quote `lambda'.
18504 (describe-char): Don't quote `lambda'. Mark unused parameter.
18505
18506 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18507 (auto-insert): Declare.
18508 (desktop-restore-file-buffer): Rename desktop-* parameters;
18509 mark unused ones.
18510 (desktop-create-buffer): Rename desktop-* parameters and bind them.
18511 (desktop-buffer): Rename desktop-* parameters.
18512
18513 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18514 (dframe-reposition-frame-xemacs, dframe-help-echo)
18515 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18516 Mark unused parameters.
18517
18518 * dired-aux.el (backup-extract-version-start, overwrite-query)
18519 (overwrite-backup-query, rename-regexp-query)
18520 (rename-non-directory-query): Declare.
18521 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18522 (dired-add-entry): Remove unused variable `orig-file-name'.
18523 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18524 Use parameter PRESERVE-TIME instead of accessing dynamic variable
18525 `dired-copy-preserve-time' directly.
18526 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18527 (dired-insert-subdir-newpos): Rename unused variable `pos'.
18528
18529 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18530 (dired-virtual-revert, dired-make-relative-symlink):
18531 Mark unused parameters.
18532 (manual-program): Declare.
18533 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18534 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18535 wrapped in `with-no-warnings' to avoid replacing one warning by another.
18536
18537 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18538
18539 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18540
18541 * echistory.el (electric-history-in-progress, Helper-return-blurb):
18542 Declare.
18543
18544 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18545
18546 * electric.el (Electric-command-loop): Rename parameter
18547 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18548
18549 * expand.el (expand-in-literal): Remove unused variable `here'.
18550
18551 * facemenu.el (facemenu-add-new-color):
18552 Remove unused variable `docstring'.
18553
18554 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18555 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18556 (face-attr-construct): Mark unused parameter. Doc fix.
18557 (read-color): Remove unused variable `hex-string'.
18558
18559 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18560 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18561 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18562 (display-buffer-other-frame): Remove unused variable `old-window'.
18563 (kill-buffer-hook): Declare.
18564 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18565 Mark unused parameters.
18566 (after-find-file): Pass 1 to `auto-save-mode', not t.
18567
18568 * files-x.el (auto-insert): Declare.
18569 (modify-file-local-variable-prop-line): Remove unused variable `val'.
18570
18571 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
18572 variable `buf'. Mark unused parameter.
18573 (find-lisp-insert-directory): Mark unused parameter.
18574
18575 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
18576 (format-encode-region): Remove unused variables `cur-buf' and `result'.
18577 (format-common-tail): Remove, unused.
18578 (format-deannotate-region): Remove unused variable `loc'.
18579 (format-annotate-region): Remove unused variable `p'.
18580 (format-annotate-single-property-change): Remove unused variables
18581 `default' and `tail'.
18582
18583 * forms.el (read-file-filter): Declare.
18584 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
18585
18586 * frame.el (frame-creation-function-alist): Mark unused parameter.
18587 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
18588
18589 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
18590 Remove unused parameters.
18591 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
18592 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
18593
18594 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
18595 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
18596 (hfy-prepare-tag-map): Mark unused parameters.
18597 (htmlfontify-buffer): Use `called-interactively-p'.
18598
18599 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
18600 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
18601 (ibuffer-do-occur): Mark unused parameters.
18602 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
18603 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
18604
18605 * ibuffer.el: Don't quote `lambda'.
18606 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
18607 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
18608 Mark unused parameters.
18609
18610 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
18611 (ido-completing-read): Mark unused parameters.
18612 (ido-copy-current-word): Mark unused parameters;
18613 remove unused variable `name'.
18614 (ido-sort-merged-list): Remove unused parameter `dirs'.
18615
18616 * ielm.el (ielm-input-sender): Mark unused parameter.
18617 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
18618 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
18619 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
18620 `ielm-string' as a dynamic variable accessible from the IELM prompt.
18621 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
18622
18623 * image-dired.el (image-dired-display-thumbs): Remove unused
18624 variables `curr-file' and `count'.
18625 (image-dired-remove-tag): Remove unused variable `start'.
18626 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
18627 variable `curr-file'
18628 (image-dired-rotate-original): Remove unused variable `temp-file'.
18629 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
18630 Remove unused variable `file'.
18631 (image-dired-gallery-generate): Remove unused variable `curr'.
18632 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
18633
18634 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
18635
18636 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
18637
18638 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18639
18640 * isearch.el (minibuffer-history-symbol): Declare.
18641 (isearch-edit-string): Remove unused variable `err'.
18642 (isearch-message-prefix, isearch-message-suffix):
18643 Mark unused parameters.
18644
18645 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
18646
18647 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
18648
18649 * makesum.el (double-column): Remove unused variable `cnt'.
18650
18651 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
18652 (ido-ignore-item-temp-list): Declare.
18653
18654 * mouse-drag.el (mouse-drag-throw): Remove unused variables
18655 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
18656 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
18657 (mouse-drag-drag): Remove unused variables `mouse-delta' and
18658 `mouse-col-delta'.
18659
18660 * mouse-sel.el (mouse-extend-internal):
18661 Remove unused variable `orig-window-frame'.
18662
18663 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
18664 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
18665 Move declarations before first use.
18666 (pcomplete-opt): Mark unused parameters; doc fix.
18667
18668 * proced.el (proced-revert): Mark unused parameter.
18669 (proced-send-signal): Remove unused variable `err'.
18670
18671 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
18672 Rename parameter PREFIX-ARG to ARG.
18673 (ps-basic-plot-string, ps-basic-plot-whitespace):
18674 Mark unused parameters.
18675
18676 * replace.el (replace-count): Define.
18677 (occur-revert-function): Mark unused parameters.
18678 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
18679 (isearch-case-fold-search, isearch-string): Declare.
18680 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
18681 bind `case-fold-search'. Remove unused variables `beg' and `end',
18682 and simplify.
18683 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
18684 COUNT and bind `replace-count'.
18685 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
18686 to COUNT.
18687
18688 * savehist.el (print-readably, print-string-length): Declare.
18689
18690 * shadowfile.el (shadow-expand-cluster-in-file-name):
18691 Remove unused variable `cluster'.
18692 (shadow-copy-file): Remove unused variable `i'.
18693 (shadow-noquery, shadow-clusters, shadow-site-cluster)
18694 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
18695 (shadow-define-literal-group, shadow-define-regexp-group)
18696 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
18697
18698 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
18699 (shell): Use `called-interactively-p'.
18700 (shell-directory-tracker): Remove unused variable `chdir-failure'.
18701
18702 * simple.el (compilation-context-lines, comint-file-name-quote-list)
18703 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
18704 (delete-backward-char): Remove unused variable `ocol'.
18705 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
18706 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
18707 (event-apply-hyper-modifier, event-apply-shift-modifier)
18708 (event-apply-control-modifier, event-apply-meta-modifier):
18709 Mark unused parameters.
18710 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
18711 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
18712
18713 * speedbar.el (speedbar-ignored-directory-expressions)
18714 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
18715 (speedbar-find-file, speedbar-dir-follow)
18716 (speedbar-directory-buttons-follow, speedbar-tag-find)
18717 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
18718 (speedbar-buffers-line-directory, speedbar-buffer-click):
18719 Mark unused parameters.
18720 (speedbar-tag-file): Remove unused variable `mode'.
18721 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
18722
18723 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
18724
18725 * talk.el (talk): Remove unused variable `display'.
18726
18727 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
18728 (tar-write-region-annotate): Mark unused parameter.
18729
18730 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
18731 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
18732 Declare them, wrapped in `with-no-warnings' to avoid replacing one
18733 warning by another.
18734
18735 * time-stamp.el (time-stamp-string-preprocess):
18736 Remove unused variable `require-padding'.
18737
18738 * tree-widget.el (widget-glyph-enable): Declare.
18739 (tree-widget-action): Mark unused parameter.
18740
18741 * w32-fns.el (x-get-selection): Mark unused parameter.
18742 (autoload-make-program, generated-autoload-file): Declare.
18743
18744 * wdired.el (wdired-revert): Mark unused parameters.
18745 (wdired-xcase-word): Remove unused variable `err'.
18746
18747 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
18748 (whitespace-help-scroll): Remove unused variable `data-help'.
18749
18750 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
18751 (widget-image-insert, widget-after-change, default)
18752 (widget-default-format-handler, widget-default-notify)
18753 (widget-default-prompt-value, widget-info-link-action)
18754 (widget-url-link-action, widget-function-link-action)
18755 (widget-variable-link-action, widget-file-link-action)
18756 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
18757 (widget-field-prompt-internal, widget-field-action, widget-field-match)
18758 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
18759 (widget-insert-button-action, widget-delete-button-action, visibility)
18760 (widget-documentation-link-action, widget-documentation-string-action)
18761 (widget-const-prompt-value, widget-regexp-match, symbol)
18762 (widget-coding-system-prompt-value)
18763 (widget-key-sequence-value-to-external, sexp)
18764 (widget-sexp-value-to-internal, character, vector, cons)
18765 (widget-choice-prompt-value, widget-boolean-prompt-value)
18766 (widget-color--choose-action): Mark unused parameters.
18767 (widget-item-match-inline, widget-choice-match-inline)
18768 (widget-checklist-match, widget-checklist-match-inline)
18769 (widget-group-match): Rename parameter VALUES to VALS.
18770 (widget-field-value-set): Remove unused variable `size'.
18771 (widget-color-action): Remove unused variables `value' and `start'.
18772
18773 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
18774 variable `dir'. Doc fix.
18775 (windmove-find-other-window): Don't pass it.
18776
18777 * window.el (count-windows): Mark unused parameter.
18778 (bw-adjust-window): Remove unused variable `err'.
18779
18780 * woman.el (woman-file-name): Remove unused variable `default'.
18781 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
18782 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
18783 (global-font-lock-mode): Declare.
18784 (woman-decode-region): Mark unused parameter.
18785 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
18786
18787 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
18788 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
18789 (x-dnd-handle-moz-url): Remove unused variable `title'.
18790 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
18791
18792 * xml.el (xml-parse-tag, xml-parse-attlist):
18793 Remove unused variable `pos'.
18794
18795 2011-04-19 Glenn Morris <rgm@gnu.org>
18796
18797 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
18798 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
18799 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
18800 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
18801 * calendar/cal-html.el (cal-html-insert-minical):
18802 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
18803 (calendar-mark-date-pattern):
18804 Prefix "unused" locals.
18805
18806 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
18807 optional argument `style'.
18808
18809 * calendar/appt.el (appt-make-list):
18810 * calendar/cal-china.el (calendar-chinese-date-string):
18811 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
18812 (diary-hebrew-yahrzeit):
18813 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
18814 * calendar/calendar.el (calendar-generate-window):
18815 * calendar/time-date.el (time-to-days):
18816 Remove unused local variables.
18817
18818 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
18819
18820 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
18821 glyphless-char-display table.
18822 (tabulated-list-glyphless-char-display): New var.
18823
18824 2011-04-18 Sam Steingold <sds@gnu.org>
18825
18826 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
18827 to acknowledgments.
18828
18829 2011-04-17 Glenn Morris <rgm@gnu.org>
18830
18831 * calendar/diary-lib.el (diary-sexp-entry):
18832 * calendar/holidays.el (holiday-sexp):
18833 Set debug-on-error rather than the removed stack-trace-on-error.
18834
18835 2011-04-16 Glenn Morris <rgm@gnu.org>
18836
18837 * progmodes/f90.el: Use lexical-binding.
18838 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
18839
18840 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18841
18842 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
18843 (mail-mode): Setup mailalias completion here instead.
18844 * mail/mailalias.el: Use lexical-binding.
18845 (pattern, mailalias-done): Declare dynamic.
18846 (mail-completion-at-point-function): New function, from mail-complete.
18847 (mail-complete): Use it.
18848 (mail-completion-expand): New function.
18849 (mail-get-names): Use it.
18850 (mail-directory, mail-directory-process, mail-directory-stream):
18851 Don't use `pattern' for lexically bound arg.
18852
18853 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
18854
18855 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
18856 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
18857 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
18858
18859 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
18860 (byte-save-window-excursion, byte-temp-output-buffer-setup)
18861 (byte-interactive-p): Define them again, for use when inlining
18862 old code.
18863
18864 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
18865
18866 * loadup.el: Use `string-to-number', not `string-to-int'.
18867
18868 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18869
18870 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
18871 gud-gdb-complete-command.
18872 (gud-gdb-completions): New function, from gud-gdb-complete-command.
18873 (gud-gdb-completion-at-point): New function.
18874 (gud-gdb-completions): Remove.
18875
18876 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
18877
18878 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
18879 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
18880 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
18881 whether `executable-find' is bound.
18882
18883 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
18884
18885 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18886
18887 * minibuffer.el (completion-in-region-mode-predicate)
18888 (completion-in-region-mode--predicate): New vars.
18889 (completion-in-region, completion-in-region--postch)
18890 (completion-in-region-mode): Use them.
18891 (completion--capf-wrapper): Also return the hook function.
18892 (completion-at-point, completion-help-at-point):
18893 Adjust and provide a predicate.
18894
18895 Preserve arg names for advice of subr and lexical functions (bug#8457).
18896 * help-fns.el (help-function-arglist): Consolidate the subr and
18897 new-byte-code cases. Add argument `preserve-names' to extract names
18898 from the docstring when needed.
18899 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
18900 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
18901 (ad-arglist): Use help-function-arglist's new arg.
18902 (ad-definition-type): Use cond.
18903
18904 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
18905
18906 * autorevert.el (auto-revert-handler):
18907 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
18908 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
18909 Don't quote lambda.
18910
18911 * image-mode.el (image-transform-set-scale):
18912 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
18913
18914 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18915
18916 * net/network-stream.el (network-stream-open-starttls): Only do
18917 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
18918 Upgrades via gnutls-cli are too slow to be done opportunistically.
18919
18920 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
18921
18922 * dframe.el (dframe-current-frame): Remove spurious quote.
18923
18924 2011-04-12 Glenn Morris <rgm@gnu.org>
18925
18926 * calendar/cal-tex.el (cal-tex-end-document):
18927 Try to automatically use latin1 input if needed.
18928
18929 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
18930 Don't try to cons a mark onto an empty element.
18931
18932 2011-04-11 Leo Liu <sdl.web@gmail.com>
18933
18934 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
18935 buffers.
18936 (ido-kill-buffer-at-head): Support killing virtual buffers.
18937
18938 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
18939
18940 * minibuffer.el (completion-show-inline-help): New var.
18941 (completion--do-completion, minibuffer-complete)
18942 (minibuffer-force-complete, minibuffer-complete-word):
18943 Inhibit minibuffer messages if completion-show-inline-help is nil.
18944
18945 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
18946 to avoid interference from inline help (Bug#5849).
18947
18948 2011-04-10 Leo Liu <sdl.web@gmail.com>
18949
18950 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18951 Fix typo.
18952
18953 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
18954
18955 * image-mode.el (image-toggle-display-image): Signal an error if
18956 not in Image mode.
18957 (image-transform-mode, image-transform-resize)
18958 (image-transform-set-rotation): Doc fix.
18959 (image-transform-set-resize): Delete.
18960 (image-transform-set-scale, image-transform-fit-to-height)
18961 (image-transform-fit-to-width): Handle image-toggle-display-image
18962 and image-transform-resize directly.
18963
18964 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
18965
18966 * doc-view.el (doc-view-fit-width-to-window)
18967 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
18968 New functions for fitting the shown image to the Emacs window size.
18969 (doc-view-mode-map): Add bindings for the new functions.
18970
18971 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
18972
18973 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
18974 Fix typo in docstring.
18975
18976 2011-04-08 Eli Zaretskii <eliz@gnu.org>
18977
18978 * files.el (file-size-human-readable): Produce one digit after
18979 decimal, like "ls -lh" does.
18980
18981 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
18982 the file size representation.
18983
18984 * simple.el (list-processes): If async subprocesses are not
18985 available, error out with a clear error message.
18986
18987 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
18988
18989 * help.el (help-form-show): New function, to be called from C.
18990 Put help-form output in a buffer named differently than *Help*.
18991
18992 2011-04-08 Eli Zaretskii <eliz@gnu.org>
18993
18994 * files.el (file-size-human-readable): New function.
18995
18996 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
18997 computing the representation inline. Don't require `cl'.
18998
18999 2011-04-08 Glenn Morris <rgm@gnu.org>
19000
19001 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19002
19003 * net/browse-url.el (browse-url-firefox):
19004 Test system-type, not system-configuration.
19005
19006 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19007 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19008 Use log-edit-empty-buffer-p. (Bug#7598)
19009
19010 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19011 (rlogin-mode-map): Initialize in the defvar.
19012 (rlogin): Use ignore-errors.
19013
19014 * replace.el (occur-mode-map): Some fixes for menu items.
19015
19016 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19017
19018 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19019
19020 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
19021
19022 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19023 issuing unused warnings.
19024
19025 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19026 macro directly.
19027
19028 * simple.el: Lisp reimplement of list-processes. Based on an
19029 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19030 (process-menu-mode): New major mode.
19031 (list-processes--refresh, list-processes):
19032 (process-menu-visit-buffer): New functions.
19033
19034 * files.el (save-buffers-kill-emacs): Don't assume any return
19035 value of list-processes, which is undocumented anyway.
19036
19037 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
19038
19039 * emacs-lisp/tabulated-list.el: New file.
19040
19041 * emacs-lisp/package.el: Use Tabulated List mode.
19042 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19043 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19044 table format using Tabulated List mode variables.
19045 (package--push): New macro, replacing package-list-maybe-add.
19046 (package-menu--generate): Use package--push. Renamed from
19047 package--generate-package-list.
19048 (package-menu-refresh, list-packages): Use it.
19049 (package-menu--print-info): Rename from package-print-package.
19050 Return insertion data instead of inserting it directly.
19051 (package-menu-describe-package, package-menu-execute):
19052 Use tabulated-list-get-id.
19053 (package-menu-mark-delete, package-menu-mark-install)
19054 (package-menu-mark-unmark, package-menu-backup-unmark)
19055 (package-menu-mark-obsolete-for-deletion):
19056 Use tabulated-list-put-tag.
19057 (package--list-packages, package-menu-revert)
19058 (package-menu-get-package, package-menu-get-version)
19059 (package-menu-sort-by-column): Functions deleted.
19060 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19061 (package-menu--status-predicate, package-menu--version-predicate)
19062 (package-menu--name-predicate)
19063 (package-menu--description-predicate): Handle arguments in the
19064 Tabulated List format.
19065 (package-list-packages-no-fetch): Call list-packages.
19066
19067 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
19068
19069 * files.el (after-find-file-from-revert-buffer): Remove variable.
19070 (after-find-file): Don't bind it.
19071 (revert-buffer-in-progress-p): New variable.
19072 (revert-buffer): Bind it.
19073 Pass nil for `after-find-file-from-revert-buffer'.
19074
19075 * saveplace.el (save-place-find-file-hook): Use new variable
19076 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19077
19078 2011-04-06 Glenn Morris <rgm@gnu.org>
19079
19080 * Makefile.in (AUTOGEN_VCS): New variable.
19081 (autoloads): Use $AUTOGEN_VCS.
19082
19083 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19084 * calendar/calendar.el (calendar-mode-map):
19085 Check for toolkit scroll bars. (Bug#8305)
19086
19087 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
19088
19089 * minibuffer.el (completion-in-region--postch)
19090 (completion-in-region-mode): Remove unnecessary messages.
19091
19092 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
19093
19094 * font-lock.el (font-lock-refresh-defaults):
19095 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19096 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19097
19098 * info.el (Info-directory-list, Info-read-node-name-2)
19099 (Info-split-parameter-string): Doc fixes.
19100 (Info-virtual-nodes): Reflow docstring.
19101 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19102 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19103 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19104 Fix typos in docstrings.
19105 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19106 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19107 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19108 (Info-restore-desktop-buffer): Mark unused parameters.
19109 (Info-directory-find-file, Info-directory-find-node)
19110 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19111 (Info-virtual-index-find-node, Info-apropos-find-file)
19112 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
19113 Mark unused parameters; fix typos in docstrings.
19114 (Info-virtual-index): Remove unused local variable `nodename'.
19115
19116 2011-04-05 Deniz Dogan <deniz@dogan.se>
19117
19118 * net/rcirc.el: Update my e-mail address.
19119 (rcirc-mode-map): Remove M-o binding.
19120
19121 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
19122
19123 * startup.el (command-line): Save the cursor's theme-face
19124 directly, instead of using face-override-spec.
19125
19126 * custom.el (load-theme): Minor optimization in assigning faces.
19127
19128 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
19129
19130 * help-fns.el (describe-variable): Complete all variables having
19131 documentation, including keywords.
19132 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19133
19134 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
19135
19136 Convert to lexical-binding.
19137
19138 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19139 (bs--get-marked-string, bs--get-modified-string)
19140 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19141 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19142 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19143
19144 * ehelp.el (electric-help-execute-extended)
19145 (electric-help-ctrl-x-prefix):
19146 * hexl.el (hexl-revert-buffer-function):
19147 * linum.el (linum-after-change, linum-after-scroll):
19148 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19149
19150 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19151
19152 2011-04-04 Daiki Ueno <ueno@unixuser.org>
19153
19154 * epa-dired.el:
19155 * epa-mail.el:
19156 * epa-hook.el:
19157 * epa-file.el:
19158 * epa.el:
19159 * epg.el: Use lexical binding.
19160
19161 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
19162
19163 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19164
19165 * textmodes/flyspell.el (flyspell-word): Recognize default
19166 dictionary case for flyspell-mark-duplications-exceptions.
19167 Use regexp matching for languages.
19168 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19169 default dictionary (Bug#7926).
19170
19171 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
19172
19173 * emacs-lisp/package.el (package--with-work-buffer):
19174 Recognize https URLs.
19175
19176 * net/network-stream.el: Move from gnus/proto-stream.el.
19177 Change prefix to network-stream throughout.
19178 (open-protocol-stream): Merge into open-network-stream, leaving
19179 open-protocol-stream as an alias. Handle nil BUFFER args.
19180
19181 * subr.el (open-network-stream): Move to net/network-stream.el.
19182
19183 2011-04-02 Glenn Morris <rgm@gnu.org>
19184
19185 * find-dired.el (find-exec-terminator): New option.
19186 (find-ls-option): Test for -ls support.
19187 (find-ls-subdir-switches): Test for -b in find-ls-option.
19188 (find-dired, find-grep-dired): Doc fixes.
19189 (find-dired): Use find-exec-terminator.
19190
19191 * find-dired.el (find-ls-option, find-ls-subdir-switches)
19192 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19193 (find-name-arg): Remove purecopy.
19194
19195 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19196 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19197 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19198 accordingly. Don't add the null-device if not needed.
19199
19200 * files.el (save-some-buffers): Doc fix.
19201
19202 2011-04-02 Eli Zaretskii <eliz@gnu.org>
19203
19204 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19205
19206 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
19207
19208 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19209 Use `dolist' rather than `mapcar'.
19210
19211 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19212
19213 Add lexical binding.
19214
19215 * subr.el (apply-partially): Use new closures rather than CL.
19216 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19217 (dolist, dotimes): Use slightly different expansion for lexical code.
19218 (functionp): Move to C.
19219 (letrec): New macro.
19220 (with-wrapper-hook): Use it and apply-partially instead of CL.
19221 (eval-after-load): Preserve lexical-binding.
19222 (save-window-excursion, with-output-to-temp-buffer): Turn them
19223 into macros.
19224
19225 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19226
19227 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19228 than the arglist.
19229 (help-add-fundoc-usage): Don't add `Not documented'.
19230 (help-function-arglist): Handle closures, subroutines, and new
19231 byte-code-functions.
19232 (help-make-usage): Remove leading underscores.
19233 (describe-function-1): Handle closures.
19234 (describe-variable): Use special-variable-p for completion.
19235
19236 * files.el (lexical-binding): Declare safe.
19237
19238 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19239 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19240 (pcase): Add `let' pattern.
19241 Change memoization so it actually works.
19242 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19243 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19244 <let>: New case.
19245
19246 * emacs-lisp/macroexp.el: Use lexical binding.
19247 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19248 Don't convert ' to #' without checking that it's indeed quoting
19249 a lambda.
19250
19251 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
19252 Use eval-sexp-add-defvars.
19253 (eval-sexp-add-defvars): New fun.
19254
19255 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19256
19257 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19258 Don't autoload.
19259 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19260 than the internal `byte-compile-lambda'.
19261 (defmethod): Don't hide code under quotes.
19262 (eieio-defmethod): New `code' argument.
19263
19264 * emacs-lisp/eieio-comp.el: Remove.
19265
19266 * emacs-lisp/edebug.el (edebug-eval-defun)
19267 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19268 (edebug-toggle): Avoid `eval'.
19269
19270 * emacs-lisp/disass.el (disassemble-internal): Handle new
19271 `closure' objects.
19272 (disassemble-1): Handle new byte codes.
19273
19274 * emacs-lisp/cl.el (pushnew): Silence warning.
19275
19276 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19277 (cl-byte-compile-throw): Remove.
19278 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19279
19280 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19281 closures.
19282
19283 * emacs-lisp/cconv.el: New file.
19284
19285 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19286 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19287 (byte-compile-initial-macro-environment):
19288 Handle declare-function here.
19289 (byte-compile--lexical-environment): New var.
19290 (byte-stack-ref, byte-stack-set, byte-discardN)
19291 (byte-discardN-preserve-tos): New lap codes.
19292 (byte-interactive-p): Don't use any more.
19293 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19294 New macros.
19295 (byte-compile-lapcode): Use them and handle new lap codes.
19296 (byte-compile-obsolete): Remove.
19297 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19298 (byte-compile-arglist-warn): Check late def of inlinable funs.
19299 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19300 since they should have been expanded by now.
19301 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19302 (byte-compile-from-buffer): Remove unused second arg.
19303 (byte-compile-preprocess): New function.
19304 (byte-compile-toplevel-file-form): New function to distinguish
19305 file-form calls from outside from file-form calls from hunk-handlers.
19306 (byte-compile-file-form): Simplify.
19307 (byte-compile-file-form-defsubst): Remove.
19308 (byte-compile-file-form-defmumble): Simplify now that
19309 byte-compile-lambda always returns a byte-code-function.
19310 (byte-compile): Preprocess.
19311 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19312 Remove, not used any more.
19313 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19314 (byte-compile-make-args-desc): New funs.
19315 (byte-compile-lambda): Handle lexical functions. Always return
19316 a byte-code-function.
19317 (byte-compile-reserved-constants): New var, to make up room for
19318 closed-over variables.
19319 (byte-compile-constants-vector): Obey it.
19320 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19321 (byte-compile-macroexpand-declare-function): New function.
19322 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19323 byte-code-functions.
19324 (byte-compile-form): Check obsolescence here.
19325 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19326 (byte-compile-variable-ref): Remove.
19327 (byte-compile-dynamic-variable-op): New fun.
19328 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19329 (byte-compile-variable-set): New funs.
19330 (byte-compile-discard): Add 2 args.
19331 (byte-compile-stack-ref, byte-compile-stack-set)
19332 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19333 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19334 macroexpand-all instead.
19335 (byte-compile-quote-form): Remove.
19336 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19337 (byte-compile-bind, byte-compile-unbind): New funs.
19338 (byte-compile-let): Handle let* and lexical binding.
19339 (byte-compile-let*): Remove.
19340 (byte-compile-catch, byte-compile-unwind-protect)
19341 (byte-compile-track-mouse, byte-compile-condition-case):
19342 Handle a new :fun-body form, used for lexical scoping.
19343 (byte-compile-save-window-excursion)
19344 (byte-compile-with-output-to-temp-buffer): Remove.
19345 (byte-compile-defun): Simplify.
19346 (byte-compile-stack-adjustment): New fun.
19347 (byte-compile-out): Use it.
19348 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19349
19350 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19351 handler any more.
19352
19353 * emacs-lisp/byte-opt.el: Use lexical binding.
19354 (byte-inline-lapcode): Remove (to bytecomp).
19355 (byte-compile-inline-expand): Pay attention to inlining to/from
19356 lexically bound code.
19357 (byte-compile-unfold-lambda): Don't handle byte-code-functions
19358 any more.
19359 (byte-optimize-form-code-walker): Don't handle save-window-excursion
19360 any more and don't call compiler-macros.
19361 (byte-compile-splice-in-already-compiled-code): Remove.
19362 (byte-code): Don't inline any more.
19363 (disassemble-offset): Receive `bytes' as argument rather than via
19364 dynamic scoping.
19365 (byte-compile-tag-number): Declare before first use.
19366 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19367 `return' even if make-spliceable.
19368 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19369 obsolete interactive-p.
19370 (byte-optimize-lapcode): Optimize new lap-codes.
19371 Don't trip up on new form of `byte-constant' lap code.
19372
19373 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19374
19375 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19376
19377 * custom.el (custom-initialize-default, custom-declare-variable):
19378 Use `defvar'.
19379
19380 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19381 New variables.
19382 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19383 (COMPILE_FIRST): Add macroexp and cconv.
19384 * makefile.w32-in: Mirror changes in Makefile.in.
19385
19386 * vc/cvs-status.el:
19387 * vc/diff-mode.el:
19388 * vc/log-edit.el:
19389 * vc/log-view.el:
19390 * vc/smerge-mode.el:
19391 * textmodes/bibtex-style.el:
19392 * textmodes/css-mode.el:
19393 * startup.el:
19394 * uniquify.el:
19395 * minibuffer.el:
19396 * newcomment.el:
19397 * reveal.el:
19398 * server.el:
19399 * mpc.el:
19400 * emacs-lisp/smie.el:
19401 * doc-view.el:
19402 * dired.el:
19403 * abbrev.el: Use lexical binding.
19404
19405 2011-04-01 Eli Zaretskii <eliz@gnu.org>
19406
19407 * info.el (info-display-manual): New function.
19408
19409 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
19410
19411 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
19412
19413 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
19414
19415 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
19416 an entry for that server in rcirc-authinfo. (Bug#8385)
19417
19418 2011-03-31 Glenn Morris <rgm@gnu.org>
19419
19420 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19421
19422 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19423
19424 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
19425
19426 * progmodes/python.el (python-default-interpreter)
19427 (python-python-command-args, python-jython-command-args)
19428 (python-which-shell, python-which-args, python-which-bufname)
19429 (python-file-queue, python-comint-output-filter-function)
19430 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19431 variables and functions.
19432
19433 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
19434
19435 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19436 (completion-in-region-mode): New minor mode.
19437 (completion-in-region): Use it.
19438 (completion-in-region--data, completion-in-region-mode-map): New vars.
19439 (completion-in-region--postch): New function.
19440 (completion--capf-misbehave-funs, completion--capf-safe-funs):
19441 New vars.
19442 (completion--capf-wrapper): New function.
19443 (completion-at-point): Use it to track well-behavedness of
19444 hook functions.
19445 (completion-help-at-point): New command.
19446
19447 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
19448
19449 * vc/add-log.el (add-change-log-entry): Don't use whitespace
19450 syntax class to search for whitespace on a single line
19451 (Message-ID: <4D938140.4030905@redhat.com>).
19452
19453 2011-03-30 Leo Liu <sdl.web@gmail.com>
19454
19455 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19456 New commands.
19457 (edit-abbrevs-map): Bind them here.
19458 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
19459
19460 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
19461
19462 * allout.el (allout-hide-by-annotation, allout-flag-region):
19463 Reduce possibility of overlay leakage by making them volatile.
19464
19465 * allout-widgets.el (allout-widgets-tally): Define as nil so the
19466 hash is not shared between buffers. Mode initialization is
19467 responsible for giving it a useful starting value.
19468 (allout-item-span): Reduce possibility of overlay leakage by
19469 making them volatile.
19470 (allout-widgets-count-buttons-in-region): Add diagnostic function
19471 for tracking down button overlay leaks.
19472
19473 2011-03-29 Leo Liu <sdl.web@gmail.com>
19474
19475 * ido.el (ido-read-internal): Use the default history var
19476 minibuffer-history if no HISTORY is specified.
19477
19478 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
19479
19480 * net/imap.el (imap-shell-open, imap-process-connection-type):
19481 Use imap-process-connection-type for 'shell' streams as well as
19482 Kerberos, SSL, other subprocesses.
19483
19484 2011-03-28 Leo Liu <sdl.web@gmail.com>
19485
19486 * abbrev.el (abbrev-table-empty-p): New function.
19487 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19488 nonempty ones. (Bug#5937)
19489
19490 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
19491
19492 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19493
19494 2011-03-27 Leo Liu <sdl.web@gmail.com>
19495
19496 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19497 for foreground and background colors.
19498 (ansi-color-make-color-map): Adapt.
19499
19500 2011-03-25 Leo Liu <sdl.web@gmail.com>
19501
19502 * midnight.el (midnight-time-float): Remove. Note it calculates
19503 the microsecond component incorrectly and seconds-to-time does the
19504 same job.
19505 Remove redundant (require 'timer).
19506
19507 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19508 (ido-completions): Remove unused arguments. (Bug#8329)
19509
19510 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
19511
19512 * minibuffer.el (completion--flush-all-sorted-completions):
19513 Remove itself from hook.
19514 (completion-at-point): Let the functions perform the completion
19515 immediately and return nil or t.
19516 * comint.el (comint-dynamic-complete-functions): Now identical to
19517 completion-at-point-functions.
19518 (comint-dynamic-list-input-ring): Remove unused var `index'.
19519 (comint--match-partial-filename, comint--unquote&expand-filename):
19520 New funs, split from comint-match-partial-filename.
19521 (comint-dynamic-complete): Use completion-at-point.
19522 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19523
19524 2011-03-24 Drew Adams <drew.adams@oracle.com>
19525
19526 * thingatpt.el: Support `defun'.
19527
19528 2011-03-23 Leo Liu <sdl.web@gmail.com>
19529
19530 * abbrevlist.el: Move to obsolete/abbrevlist.el.
19531
19532 * help-mode.el (help-mode-finish): Tweak regexp.
19533
19534 2011-03-23 Glenn Morris <rgm@gnu.org>
19535
19536 * eshell/esh-opt.el (eshell-eval-using-options):
19537 Do not bind unused local variable `eshell-option-stub'.
19538
19539 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19540
19541 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
19542
19543 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19544 keymap variable in `with-no-warnings' to avoid a warning when the
19545 keymap has been already `defconst'ed.
19546
19547 2011-03-22 Leo Liu <sdl.web@gmail.com>
19548
19549 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19550 encode all chars in abbrevs; otherwise use emacs-mule or
19551 utf-8-emacs. (Bug#8308)
19552
19553 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
19554
19555 * simple.el (backward-delete-char-untabify):
19556 Avoid warning about using `delete-backward-char'.
19557
19558 * image.el (image-type-file-name-regexps): Make it variable.
19559 `imagemagick-register-types' modifies it, and the user may want
19560 to add new extensions for known image types.
19561 (imagemagick-register-types): Throw error if not using ImageMagick.
19562
19563 2011-03-22 Leo Liu <sdl.web@gmail.com>
19564
19565 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19566 located before rcirc-prompt-end-marker.
19567 (rcirc-complete): Error if point is not after rcirc prompt.
19568 Handle the case when table is nil.
19569 (rcirc-user-authenticated): Define to fix compiler warning.
19570
19571 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
19572
19573 * custom.el (custom--inhibit-theme-enable): Make it affect only
19574 custom-theme-set-variables and custom-theme-set-faces.
19575 (provide-theme): Ignore custom--inhibit-theme-enable.
19576 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
19577 (custom-enabling-themes): Delete variable.
19578 (enable-theme): Accept only loaded themes as arguments.
19579 Ignore the special custom-enabled-themes variable.
19580 (custom-enabled-themes): Forbid themes from setting this.
19581 Eliminate use of custom-enabling-themes.
19582 (custom-push-theme): Quote "changed" custom var entry.
19583
19584 2011-03-21 Leo Liu <sdl.web@gmail.com>
19585
19586 * ido.el (ido-read-internal): Add ido-selected to history instead
19587 of user input.
19588
19589 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
19590
19591 * subr.el (deferred-action-list, deferred-action-function):
19592 Mark obsolete.
19593
19594 2011-03-21 Leo Liu <sdl.web@gmail.com>
19595
19596 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
19597 change on 2011-02-13 (bug#8309).
19598
19599 * minibuffer.el (read-file-name-function): Change default value.
19600 (read-file-name--defaults): Rename from read-file-name-defaults.
19601 (read-file-name-default): Rename from read-file-name.
19602 (read-file-name): Call read-file-name-function.
19603
19604 2011-03-21 Glenn Morris <rgm@gnu.org>
19605
19606 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
19607 Doc fixes.
19608
19609 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
19610
19611 * cus-theme.el: Add missing provide statement.
19612 (customize-create-theme): Extract theme value correctly.
19613 (custom-theme-visit-theme): Autoload.
19614 (customize-create-theme): Prompt before inserting default faces.
19615
19616 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
19617
19618 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
19619 units and musical notes.
19620
19621 2011-03-20 Leo Liu <sdl.web@gmail.com>
19622
19623 * ido.el (ido-read-internal): Use completing-read-default.
19624 (ido-completing-read): Fix compatibility with completing-read.
19625
19626 2011-03-20 Christian Ohler <ohler@gnu.org>
19627
19628 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
19629 (ert-delete-all-tests): Use `called-interactively-p' rather than
19630 `interactive-p'.
19631 (ert--make-xrefs-region): Respect END.
19632
19633 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
19634
19635 * dired-aux.el (dired-create-directory): Signal an error if the
19636 directory already exists (Bug#8246).
19637
19638 * facemenu.el (list-colors-display): Call list-faces-display
19639 inside with-help-window.
19640 (list-colors-print): Use display property to align the final
19641 column, instead of checking window-width.
19642
19643 2011-03-19 Eli Zaretskii <eliz@gnu.org>
19644
19645 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
19646 windows-nt systems.
19647 (emerge-protect-metachars): Quote correctly for ms-dos and
19648 windows-nt systems.
19649
19650 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
19651
19652 * info.el (info-initialize): Replace all uses of `:' with
19653 path-separator for compatibility with non-Unix systems.
19654 Cache quoting of path-separator. (Bug#8258)
19655
19656 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
19657
19658 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
19659 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
19660 (mouse-avoidance-mode): Fix typos in docstrings.
19661
19662 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
19663
19664 * startup.el (package-subdirectory-regexp): Move from package.el.
19665 Omit \\` and \\', and let callers add them.
19666
19667 * emacs-lisp/package.el (package-strip-version)
19668 (package-load-all-descriptors): Add \\` and \\' to
19669 package-subdirectory-regexp before using it.
19670 (package-untar-buffer): New arg DIR; ensure that file untars only
19671 into this expected directory. Remove superfluous delete-region.
19672 (package-unpack): Caller changed.
19673 (package-tar-file-info): Use package-subdirectory-regexp.
19674
19675 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
19676
19677 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
19678 diff-mode-shared-map (bug#8284).
19679 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
19680
19681 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19682
19683 * calendar/time-date.el (format-seconds): Use assoc instead of
19684 assoc-string, since assoc-string doesn't exist in XEmacs.
19685
19686 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
19687
19688 * custom.el (custom-known-themes): Reflow docstring.
19689 (custom-theme-load-path): Fix typo in docstring.
19690 (load-theme): Fix typo in error message.
19691 (custom-available-themes, custom-variable-theme-value):
19692 Use `let', not `let*'.
19693
19694 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
19695
19696 * calc/README: Mention inclusion of musical notes.
19697
19698 * calc/calc-units.el (calc-lu-quant): Rename from
19699 `calc-logunits-quantity'.
19700 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
19701 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
19702 (calc-db): Rename from `calc-dblevel'.
19703 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
19704 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
19705 (calc-np): Rename from `calc-nplevel'.
19706 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
19707 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
19708 (calc-lu-plus): Rename from `calc-logunits-add'.
19709 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
19710 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
19711 (calc-lu-minus): Rename from `calc-logunits-sub'.
19712 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
19713 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
19714 (calc-lu-times): Rename from `calc-logunits-mul'.
19715 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
19716 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
19717 (calc-lu-divide): Rename from `calc-logunits-div'.
19718 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
19719 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
19720
19721 * calc/calc-ext.el (calc-init-extensions): Update the names of the
19722 functions being autoloaded.
19723
19724 * calc/calc.el (calc-lu-power-reference): Rename from
19725 `calc-logunits-power-reference'.
19726 (calc-lu-field-reference): Rename from
19727 `calc-logunits-field-reference'.
19728
19729 * calc/calc-help.el (calc-l-prefix-help):
19730 Mention musical note functions.
19731
19732 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
19733
19734 * minibuffer.el (completion-all-sorted-completions):
19735 Use :completion-cycle-penalty text property if present.
19736
19737 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
19738
19739 * allout.el (allout-yank-processing): Adjust for new rebulleting
19740 regime so bullet being yanked is used without prompting the user
19741 for a choice.
19742
19743 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
19744
19745 * startup.el (command-line): Warn the user that _emacs is deprecated.
19746
19747 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
19748
19749 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
19750 (delphi-verbose, delphi-comment-face, delphi-string-face)
19751 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
19752 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
19753 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
19754 (delphi-new-comment-line, delphi-font-lock-defaults)
19755 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
19756 Fix typos in docstrings.
19757
19758 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
19759
19760 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
19761 Invert the roles of character and string values for INSTEAD, so a
19762 string is used for the more common case of a defaulting prompt.
19763
19764 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19765
19766 * progmodes/ruby-mode.el (ruby-backward-sexp):
19767 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
19768 * play/gamegrid.el (gamegrid-make-face):
19769 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
19770 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
19771 * notifications.el (notifications-notify):
19772 * net/xesam.el (xesam-search-engines):
19773 * net/quickurl.el (quickurl-list-insert):
19774 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
19775
19776 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
19777
19778 * startup.el (command-line): Update package subdirectory regexp.
19779
19780 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19781
19782 * allout.el (allout-abbreviate-flattened-numbering)
19783 (allout-mode-deactivate-hook): Fix up obsolescence "date".
19784
19785 * subr.el (read-char-choice): Only show the cursor after the prompt,
19786 not after the answer.
19787
19788 2011-03-15 Kevin Ryde <user42@zip.com.au>
19789
19790 * help-fns.el (variable-at-point): Skip leading quotes, if any
19791 (bug#8253).
19792
19793 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19794
19795 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
19796 warning message.
19797
19798 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
19799
19800 * shell.el (shell): When called interactively, offer to change the
19801 shell file name on remote hosts.
19802
19803 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
19804
19805 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
19806 integration for LDAP parameters. The host, base, user or binddn,
19807 and secret tokens can be specified in a netrc file, for instance.
19808 This is optional because an `auth-source' parameter must be
19809 specified in the search attributes.
19810
19811 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
19812
19813 * help.el (describe-mode): Link to the mode's definition (bug#8185).
19814
19815 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19816
19817 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
19818 into declaration. Remove redundant and harmful binding.
19819
19820 2011-03-12 Eli Zaretskii <eliz@gnu.org>
19821
19822 * files.el (file-ownership-preserved-p): Pass `integer' as an
19823 explicit 2nd argument to `file-attributes'. If the file's owner
19824 is the Administrators group on Windows, and the current user is
19825 Administrator, consider that a match.
19826
19827 * server.el (server-ensure-safe-dir): Consider server directory
19828 safe on MS-Windows if its owner is the Administrators group while
19829 the current Emacs user is Administrator. Use `=' to compare
19830 numerical UIDs, since they could be integers or floats.
19831
19832 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
19833
19834 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
19835
19836 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
19837
19838 Sync with Tramp 2.2.1.
19839
19840 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
19841
19842 * net/trampver.el: Update release number.
19843
19844 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19845
19846 * progmodes/compile.el (compilation--previous-directory): Fix up
19847 various nil/dead-marker mismatches (bug#8014).
19848 (compilation-directory-properties, compilation-error-properties):
19849 Don't call it at a position past the one we're about to change.
19850
19851 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
19852 Disable obsolescence warnings in the file that declares it.
19853
19854 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
19855
19856 * allout-widgets.el (allout-widgets-tally):
19857 Initialize allout-widgets-tally as a hash table rather than nil to
19858 prevent mode-line redisplay warnings. Also, clarify the module
19859 description and fix a comment typo.
19860
19861 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
19862
19863 * help-fns.el (describe-variable): Don't complete keywords.
19864 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
19865
19866 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
19867
19868 * emacs-lisp/package.el (package-version-join): Impose a standard
19869 string representation for pre/alpha/beta version lists.
19870 (package-unpack-single): Standardize the directory name by passing
19871 it through package-version-join.
19872 (package-strip-rcs-id): Accept any version string that does not
19873 signal an error in version-to-list.
19874
19875 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
19876
19877 * simple.el (delete-trailing-whitespace): Return nil for the
19878 benefit of `write-file-functions'.
19879
19880 2011-03-10 Glenn Morris <rgm@gnu.org>
19881
19882 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
19883
19884 * vc/vc-git.el (vc-git-program): New option.
19885 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
19886 (vc-git--call): Use it.
19887
19888 * eshell/esh-util.el (eshell-condition-case): Doc fix.
19889
19890 * cus-edit.el (Custom-newline): If no button at point, look
19891 for a subgroup button at start-of-line. (Bug#2298)
19892
19893 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
19894
19895 2011-03-10 Julien Danjou <julien@danjou.info>
19896
19897 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
19898 `cursor-type' is nil.
19899
19900 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
19901
19902 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
19903
19904 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
19905
19906 * allout.el: Change so yank of distinctive-bullet items
19907 preserves the existing header prefix, rebulleting it if necessary,
19908 rather than replacing it. This is necessary for proper operation
19909 of cooperative addons like allout-widgets.
19910 (allout-make-topic-prefix, allout-rebullet-heading):
19911 Change SOLICIT arg to INSTEAD, and interpret additionally a string
19912 value as alternate bullet to be used, instead of prompting the user
19913 for a bullet character.
19914
19915 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
19916
19917 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19918 Do not use `tramp-file-name-port', because this returns also
19919 `tramp-default-port'.
19920
19921 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
19922
19923 * net/rcirc.el (rcirc-handler-001): Remove useless
19924 with-rcirc-process-buffer.
19925 (rcirc-check-auth-status): Swap arguments to string-match.
19926
19927 2011-03-09 Glenn Morris <rgm@gnu.org>
19928
19929 * shell.el (shell-mode):
19930 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
19931
19932 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
19933 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
19934
19935 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
19936
19937 * emacs-lisp/package.el (package-refresh-contents)
19938 (package-menu-execute): Use condition-case-no-debug.
19939
19940 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
19941
19942 * simple.el (shell-command-to-string): Use `process-file'.
19943
19944 * emacs-lisp/package.el (package-tar-file-info): Handle also
19945 remote files.
19946
19947 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19948 Use `equal' for upload base check.
19949
19950 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
19951
19952 * textmodes/texinfo.el (texinfo-environments):
19953 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
19954
19955 2011-03-08 Glenn Morris <rgm@gnu.org>
19956
19957 * cus-start.el (cursor-in-non-selected-windows):
19958 Fix :set quoting oddness. (Bug#8192)
19959
19960 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
19961 in some setf expressions. (Bug#2159)
19962
19963 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
19964
19965 * custom.el (custom-available-themes): Return themes in
19966 alphabetical order.
19967
19968 See ChangeLog.15 for earlier changes.
19969
19970 ;; Local Variables:
19971 ;; coding: utf-8
19972 ;; End:
19973
19974 Copyright (C) 2011-2012 Free Software Foundation, Inc.
19975
19976 This file is part of GNU Emacs.
19977
19978 GNU Emacs is free software: you can redistribute it and/or modify
19979 it under the terms of the GNU General Public License as published by
19980 the Free Software Foundation, either version 3 of the License, or
19981 (at your option) any later version.
19982
19983 GNU Emacs is distributed in the hope that it will be useful,
19984 but WITHOUT ANY WARRANTY; without even the implied warranty of
19985 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19986 GNU General Public License for more details.
19987
19988 You should have received a copy of the GNU General Public License
19989 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.