1 2013-05-28 Alan Mackenzie <acm@muc.de>
3 Handle "capitalised keywords" correctly.
4 * progmodes/cc-mode.el (c-after-change): bind case-fold-search to
7 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9 * eshell/em-unix.el: Added -r option to cp
11 2013-05-28 Glenn Morris <rgm@gnu.org>
13 * vc/vc-arch.el (vc-exec-after): Declare.
14 (vc-switches): Autoload.
15 * vc/vc-bzr.el: No need to require vc when compiling.
16 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
17 (vc-resynch-buffer, vc-dir-refresh): Declare.
18 (vc-setup-buffer, vc-switches): Autoload.
19 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
20 (vc-resynch-buffer): Declare.
21 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
22 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
23 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
24 (grep-read-regexp, grep-read-files, grep-expand-template)
25 (vc-dir-refresh): Declare.
26 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
27 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
28 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
29 * vc/vc-mtn.el (vc-exec-after): Declare.
30 (vc-switches): Autoload.
31 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
32 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
33 (vc-file-tree-walk): Declare.
34 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
35 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
36 (vc-tag-precondition, vc-rename-master): Autoload.
37 * vc/vc-svn.el (vc-exec-after): Declare.
38 (vc-switches, vc-setup-buffer): Autoload.
39 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
41 (vc-resynch-buffer): Declare.
43 * obsolete/fast-lock.el (byte-compile-warnings):
44 Don't warn about obsolete features in this obsolete file.
46 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
47 Move definition before use.
49 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
50 (dun-unix-verbs): Remove dun-zippy.
51 (dun-zippy): Remove function.
53 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
55 2013-05-27 Juri Linkov <juri@jurta.org>
57 * replace.el (replace-search): New function with code moved out
58 from `perform-replace'.
59 (replace-highlight, replace-dehighlight): Move function definitions
60 up closer to `replace-search'. (Bug#11746)
62 2013-05-27 Juri Linkov <juri@jurta.org>
64 * replace.el (perform-replace): Ignore invisible matches.
65 In addition to checking `query-replace-skip-read-only', also
66 filter out matches by calling `run-hook-with-args-until-failure'
67 on `isearch-filter-predicates', and also check `search-invisible'
68 for t or call `isearch-range-invisible'.
69 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
71 2013-05-27 Juri Linkov <juri@jurta.org>
73 * isearch.el (isearch-filter-predicates): Rename from
74 `isearch-filter-predicate'. Doc fix. (Bug#11378)
75 (isearch-message-prefix): Display text from the property
76 `isearch-message-prefix' of the currently active filters.
77 (isearch-search): Don't compare `isearch-filter-predicate' with
78 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
79 on `isearch-filter-predicates'. Also check `search-invisible' for t
80 or call `isearch-range-invisible'.
81 (isearch-filter-visible): Make obsolete.
82 (isearch-lazy-highlight-search):
83 Call `run-hook-with-args-until-failure' on
84 `isearch-filter-predicates' and use `isearch-range-invisible'.
86 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
87 `isearch-filter-predicates' instead of `funcall'ing
88 `isearch-filter-predicate'.
89 (Info-mode): Set `Info-isearch-filter' to
90 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
92 * dired-aux.el (dired-isearch-filter-predicate-orig):
94 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
95 (dired-isearch-filenames-end): Add and remove
96 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
97 instead of changing the value of `isearch-filter-predicate'.
98 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
99 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
100 Put property `isearch-message-prefix' to "filename " on
101 `dired-isearch-filter-filenames'.
103 * wdired.el (wdired-change-to-wdired-mode):
104 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
105 locally instead of changing `isearch-filter-predicate'.
106 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
108 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
110 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
111 return the commit hash (Bug#14459). Also set the
112 `vc-git-detached' property.
113 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
114 (vc-git-mode-line-string): Use the same help-echo format whether
115 in detached mode or not, because we know the actual revision now.
116 When in detached mode, shorten the revision to 7 chars.
118 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
120 * emacs-lisp/easy-mmode.el (define-minor-mode):
121 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
122 mode hook and provide a docstring.
124 2013-05-27 Alan Mackenzie <acm@muc.de>
126 Remove spurious syntax-table text properties inserted by C-y.
127 * progmodes/cc-mode.el (c-after-change): Also clear hard
128 syntax-table property with value nil.
130 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
132 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
133 when reading the events; the buffer layout shall not be changed.
135 2013-05-27 Leo Liu <sdl.web@gmail.com>
137 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
139 (inferior-octave-directory-tracker): Automatically re-sync
141 (octave-help): Improve handling of 'See also'.
143 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
145 * doc-view.el: Minor naming convention tweaks.
146 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
148 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
149 even if there's no `display' property yet (bug#14435).
151 2013-05-25 Eli Zaretskii <eliz@gnu.org>
153 * subr.el (unmsys--file-name): Rename from reveal-filename.
155 * Makefile.in (custom-deps, finder-data, autoloads)
156 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
157 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
158 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
160 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
162 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
163 error-completion on the first 2 args of condition-case (bug#14446).
166 2013-05-25 Leo Liu <sdl.web@gmail.com>
168 * comint.el (comint-previous-matching-input): Do not flood the
169 *Messages* buffer with trivial messages.
171 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
173 * progmodes/flymake.el (flymake-nop): Don't return a string.
174 (flymake-set-at): Fix typo.
176 * simple.el (read--expression): New function, extracted from
177 eval-expression. Set completion-at-point-functions (bug#14465).
178 (eval-expression, eval-minibuffer): Use it.
180 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
182 * progmodes/flymake.el (flymake-save-buffer-in-file)
183 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
184 (flymake-selected-frame, flymake-log, flymake-ins-after)
185 (flymake-set-at, flymake-get-buildfile-from-cache)
186 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
187 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
188 Refine the doc string.
189 (flymake-get-file-name-mode-and-masks): Reformat.
190 (flymake-get-real-file-name-function): Fix a minor bug.
192 2013-05-24 Juri Linkov <juri@jurta.org>
194 * progmodes/grep.el (grep-mode-font-lock-keywords):
195 Support =linenumber= format used by git-grep for lines with
196 function names. (Bug#13549)
198 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
200 * progmodes/octave.el (octave-smie-rules): Return nil rather than
201 0 after a semi-colon; it works better for smie-auto-fill.
202 (octave--indent-new-comment-line): New function.
203 (octave-indent-new-comment-line): Use it (indirectly).
204 (octave-mode): Don't disable smie-auto-fill. Use add-function to
205 modify comment-line-break-function.
207 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
208 (smie-setup): Use add-function to set it.
210 2013-05-24 Sam Steingold <sds@gnu.org>
212 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
213 argument (before the `interactive' argument).
215 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
217 * image-mode.el (image-mode-winprops): Add winprops to
218 image-mode-winprops-alist before running
219 image-mode-new-window-functions.
220 * doc-view.el (doc-view-new-window-function): Don't delay
221 doc-view-goto-page via timers (bug#14435).
223 2013-05-24 Tassilo Horn <tsdh@gnu.org>
225 * doc-view.el: Integrate with desktop.el. (Bug#14435)
226 (doc-view-desktop-save-buffer): New function.
227 (doc-view-restore-desktop-buffer): New function.
228 (desktop-buffer-mode-handlers):
229 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
231 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
232 `desktop-save-buffer' function.
234 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
236 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
237 (tramp-gvfs-file-name-handler): Raise a user error when
238 `tramp-gvfs-enabled' is nil.
239 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
240 Do not raise a user error when loading package. (Bug#14447)
242 * net/xesam.el: Move to obsolete/.
244 2013-05-24 Glenn Morris <rgm@gnu.org>
246 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
248 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
250 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
251 (Info-find-node, Man-getpage-in-background): Declare.
253 * mail/unrmail.el (unrmail):
254 Replace obsolete detect-coding-with-priority.
256 * net/socks.el (socks-split-string): Use this rather than split-string.
257 (socks-nslookup-host): Update for above change.
258 (dynamic-choice, s5-dynamic-choice-match)
259 (s5-dynamic-choice-match-inline, s5-widget-value-create):
260 Comment out unused code.
262 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
263 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
264 (gud-tooltip-echo-area): Make obsolete.
265 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
267 * progmodes/js.el (js--optimize-arglist): Declare.
269 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
271 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
272 (ediff-window-C): Declare.
274 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
275 Tweak requires to silence compiler.
277 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
278 (he-search-string, he-tried-table, he-expand-list)
279 (he-init-string, he-string-member, he-substitute-string)
280 (he-reset-string): Declare.
282 * obsolete/options.el (list-options): Use custom-variable-p,
283 rather than obsolete alias.
285 2013-05-23 Sam Steingold <sds@gnu.org>
287 * simple.el (shell-command-on-region): Pass the `replace' argument
288 down to `call-process-region' to comply with the doc as reported on
289 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
291 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
293 * emacs-lisp/smie.el (smie-indent-forward-token)
294 (smie-indent-backward-token): Handle string tokens (bug#14381).
296 2013-05-23 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
298 * ielm.el (ielm-menu): New menu.
299 (inferior-emacs-lisp-mode): Set comment-start.
301 2013-05-23 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
303 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
304 Fix deactivate action.
306 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
309 * lisp/textmodes/reftex-parse.el
310 (reftex-locate-bibliography-files): Accept options for
311 bibliography commands.
312 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
313 Add addbibresource. Basic Biblatex support.
315 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
317 * net/tramp-gvfs.el (top):
318 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
319 when loading package. (Bug#14447)
321 2013-05-23 Glenn Morris <rgm@gnu.org>
323 * progmodes/js.el: No need to load comint when compiling.
324 (ring-insert, comint-send-string, comint-send-input)
325 (comint-last-input-end, ido-chop): Declare.
327 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
328 * vc/ediff-mult.el: Adjust requires.
329 (ediff-directories-internal, ediff-directory-revisions-internal)
330 (ediff-patch-file-internal): Declare.
331 * vc/ediff-ptch.el: Adjust requires.
332 (ediff-use-last-dir, ediff-buffers-internal): Declare.
333 (ediff-find-file): Autoload.
334 * vc/ediff-util.el: No need to load ediff when compiling.
335 (ediff-regions-internal): Declare.
336 * vc/ediff-wind.el: Adjust requires.
337 (ediff-compute-toolbar-width): Define when compiling.
338 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
339 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
340 (dired-get-filename, dired-get-marked-files)
341 (ediff-last-dir-patch, ediff-patch-default-directory)
342 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
343 (ediff-patch-buffer-internal): Declare.
345 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
346 (ispell-process, ispell-buffer-local-words, lm-summary)
347 (lm-section-start, lm-section-end): Declare.
348 (checkdoc-ispell-init): Simplify.
350 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
351 (he-string-member, he-reset-string, he-substitute-string): Declare.
353 * eshell/em-ls.el: Adjust requires.
354 (eshell-glob-regexp): Declare.
355 * eshell/em-tramp.el: Adjust requires.
356 (eshell-parse-command): Autoload.
357 * eshell/em-xtra.el: Adjust requires.
358 (eshell-parse-command): Autoload.
359 * eshell/esh-ext.el: Adjust requires.
360 (eshell-parse-command, eshell-close-handles): Autoload.
361 * eshell/esh-io.el: Adjust requires.
362 (eshell-output-filter): Autoload.
363 * eshell/esh-util.el: No need to load tramp when compiling.
364 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
366 (eshell-parse-ange-ls): Require ange-ftp and tramp.
367 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
368 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
369 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
370 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
371 * eshell/esh-opt.el, eshell/esh-proc.el:
372 * eshell/esh-var.el: Adjust requires.
373 * eshell/eshell.el: Do not require esh-util twice.
374 (eshell-add-input-to-history): Declare.
375 (eshell-command): Check history module is active before using it.
377 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
379 2013-05-22 Leo Liu <sdl.web@gmail.com>
381 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
383 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
385 * autorevert.el (auto-revert-notify-add-watch)
386 (auto-revert-notify-handler): Add `attrib' for the inotify case,
387 it indicates changes in file modification time.
389 2013-05-22 Glenn Morris <rgm@gnu.org>
391 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
392 Always delete the autoloaded function from the noruntime and
393 unresolved functions lists.
395 * allout.el: No need to load epa, epg, overlay when compiling.
396 (epg-context-set-passphrase-callback, epg-list-keys)
397 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
398 (epg-key-user-id-list): Declare.
400 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
401 (viper-set-parsing-style-toggling-macro)
402 (viper-set-emacs-state-searchstyle-macros):
403 Use called-interactively-p on Emacs.
404 (viper-looking-back): Make it an obsolete alias. Update callers.
405 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
406 Use looking-back rather than viper-looking-back.
407 (viper-tmp-insert-at-eob, viper-enlarge-region)
408 (viper-read-string-with-history, viper-register-to-point)
409 (viper-append-to-register, viper-change-state-to-vi)
410 (viper-backward-char-carefully, viper-forward-char-carefully)
411 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
412 (viper-change-state-to-emacs): Declare.
413 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
414 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
415 * emulation/viper-mous.el: Do not load viper-cmd.
416 (viper-backward-char-carefully, viper-forward-char-carefully)
417 (viper-forward-word, viper-adjust-window): Declare.
419 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
421 * progmodes/idlw-help.el (idlwave-help-fontify):
422 Use called-interactively-p.
424 * term/w32console.el (w32-get-console-codepage)
425 (w32-get-console-output-codepage): Declare.
427 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
428 Remove unnecessary declarations.
429 (dframe-message): Doc fix.
431 * info.el (dframe-select-attached-frame, dframe-current-frame):
434 * speedbar.el (speedbar-message): Make it an obsolete alias.
436 (speedbar-with-attached-buffer)
437 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
438 (speedbar-with-writable): Use backquote.
439 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
440 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
441 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
442 rather than speedbar- aliases.
443 * mail/rmail.el: Load dframe rather than speedbar when compiling.
444 (speedbar-make-specialized-keymap, speedbar-insert-button)
445 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
446 (speedbar-do-function-pointer): Declare.
447 (rmail-speedbar-button, rmail-speedbar-find-file)
448 (rmail-speedbar-move-message):
449 Use dframe-with-attached-buffer rather than speedbar- alias.
450 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
451 (dframe-message, speedbar-make-specialized-keymap)
452 (speedbar-add-expansion-list, speedbar-mode-functions-list)
453 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
454 (speedbar-insert-button, dframe-select-attached-frame)
455 (dframe-maybee-jump-to-attached-frame)
456 (speedbar-change-initial-expansion-list)
457 (speedbar-previously-used-expansion-list-name): Declare.
458 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
459 Use dframe-message, dframe-with-attached-buffer rather than
461 (gud-sentinel): Silence compiler.
462 * progmodes/vhdl-mode.el (speedbar-refresh)
463 (speedbar-do-function-pointer, speedbar-add-supported-extension)
464 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
465 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
466 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
467 (speedbar-file-lists, speedbar-make-tag-line)
468 (speedbar-line-directory, speedbar-goto-this-file)
469 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
470 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
471 (speedbar-make-button, speedbar-reset-scanners)
472 (speedbar-files-item-info, speedbar-line-text)
473 (speedbar-find-file-in-frame, speedbar-set-timer)
474 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
475 (speedbar-with-writable): Do not (re)define it.
476 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
477 rather than speedbar- alias.
479 2013-05-21 Leo Liu <sdl.web@gmail.com>
481 * progmodes/octave.el (octave-mode-menu): Update and re-organize
483 (octave-mode): Tweak fill-nobreak-predicate.
484 (inferior-octave-startup): Check process to avoid infinite loop.
485 (inferior-octave): Pop to buffer first to show abornmal process
488 2013-05-21 Glenn Morris <rgm@gnu.org>
490 * printing.el (pr-menu-bar): Define when compiling.
492 2013-05-21 Leo Liu <sdl.web@gmail.com>
494 * progmodes/octave.el (octave-auto-fill): Remove.
495 (octave-indent-new-comment-line): Improve.
496 (octave-mode): Use auto fill mode through
497 comment-line-break-function and fill-nobreak-predicate
498 (octave-goto-function-definition): Support DEFUN_DLD.
499 (octave-beginning-of-defun): Small Tweak
500 (octave-help): Show parent directory.
502 2013-05-21 Glenn Morris <rgm@gnu.org>
504 * files.el (dired-unmark):
505 * progmodes/gud.el (gdb-input): Update declarations.
507 * calculator.el (electric, ehelp): No need to load when compiling.
508 (Electric-command-loop, electric-describe-mode): Declare.
510 * doc-view.el (doc-view-current-converter-processes): Move before use.
512 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
513 Move MODE-set-explicitly definition before use.
515 * international/mule-diag.el (mule-diag):
516 Don't use obsolete window-system-version.
518 * mail/feedmail.el (smtpmail): No need to load when compiling.
519 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
521 * mail/mail-utils.el (rfc822): No need to load when compiling.
522 (rfc822-addresses): Autoload it.
523 (mail-strip-quoted-names): Trivial simplification.
525 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
526 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
528 * net/snmp-mode.el (tempo): Don't duplicate requires.
530 * progmodes/prolog.el (info): No need to load when compiling.
531 (comint): Require before shell requires it.
532 (Info-goto-node): Autoload it.
533 (Info-follow-nearest-node): Declare.
534 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
536 * textmodes/artist.el (picture-mode-exit): Declare.
538 * textmodes/reftex-parse.el (reftex-parse-from-file):
539 Trivial rewrite so the compiler can parse it better.
541 2013-05-20 Leo Liu <sdl.web@gmail.com>
543 * progmodes/octave.el (octave-help-mode-map)
544 (octave-help-mode-finish-hook): New variables.
545 (octave-help-mode, octave-help-mode-finish): New functions.
546 (octave-help): Use octave-help-mode.
548 2013-05-20 Glenn Morris <rgm@gnu.org>
550 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
552 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
554 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
555 start at point, so that expansion starting right after opening
556 slash in a regexp is recognized.
557 (ruby-syntax-before-regexp-re): New defvar, extracted from
558 ruby-syntax-propertize-function. Since the value of this regexp
559 is looked up at runtime now, we should be able to turn
560 `ruby-syntax-methods-before-regexp' into a defcustom later.
561 (ruby-syntax-propertize-function): Split regexp matching into two
562 parts, for opening and closing slashes. That allows us to skip
563 over string interpolations and support multiline regexps.
564 Don't call `ruby-syntax-propertize-expansions', instead use another rule
565 for them, which calls `ruby-syntax-propertize-expansion'.
566 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
567 call to `ruby-syntax-propertize-function'.
568 (ruby-syntax-propertize-expansion): Extracted from
569 `ruby-syntax-propertize-expansions'. Handles one expansion.
570 (ruby-syntax-propertize-percent-literal): Leave point right after
571 the percent symbol, so that the expression expansion rule can
572 propertize the contents.
573 (ruby-syntax-propertize-heredoc): Leave point at bol following the
575 (ruby-syntax-propertize-expansions): Remove.
577 2013-05-18 Juri Linkov <juri@jurta.org>
579 * man.el (Man-default-man-entry): Remove `-' from the end
580 of the default value. (Bug#14400)
582 2013-05-18 Glenn Morris <rgm@gnu.org>
584 * comint.el (comint-password-prompt-regexp):
585 Allow "password for XXX" where XXX contains colons (eg https://...).
587 2013-05-18 Leo Liu <sdl.web@gmail.com>
589 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
590 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
591 (octave-source-directories): Don't check process.
592 (octave-source-directories, octave-find-definition): Doc fix.
594 2013-05-18 Glenn Morris <rgm@gnu.org>
596 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
597 Remove backspace/delete bindings. (Bug#14392)
599 * cus-dep.el (custom-make-dependencies): Sort the output.
600 (custom-versions-load-alist): Convert comment to doc.
602 2013-05-17 Leo Liu <sdl.web@gmail.com>
604 * newcomment.el (comment-search-backward): Stricter in finding
605 comment start. (Bug#14303)
607 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
608 (octave-comment-start-skip): Properly anchored.
610 2013-05-17 Leo Liu <sdl.web@gmail.com>
612 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
613 Clean up when turned off. (Bug#14395)
614 (smie--highlight-matching-block-overlay): No longer buffer-local.
615 (smie-highlight-matching-block): Adjust.
617 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
619 Doc string fix for "nanoseconds" (Bug#14406).
620 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
621 Fix doc string typo that had "nanoseconds" instead of "microseconds".
623 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
625 * calc/calc-units.el (math-extract-units): Preserve powers
628 2013-05-17 Leo Liu <sdl.web@gmail.com>
630 * subr.el (delete-consecutive-dups): New function.
631 * ido.el (ido-set-matches-1): Use it.
632 * progmodes/octave.el (inferior-octave-completion-table): Use it.
633 * ido.el (ido-remove-consecutive-dups): Remove.
635 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
637 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
638 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
639 regexp-opt's `words'.
641 2013-05-16 Leo Liu <sdl.web@gmail.com>
643 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
644 (smie--highlight-matching-block-overlay)
645 (smie--highlight-matching-block-lastpos)
646 (smie--highlight-matching-block-timer): New variables.
647 (smie-highlight-matching-block): New function.
648 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
649 (smie-setup): Conditionally enable smie-blink-matching-open.
651 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
653 Sync with upstream verilog-mode r840.
654 * progmodes/verilog-mode.el (verilog-mode-version)
655 (verilog-mode-release-date): Update.
656 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
657 (verilog-sig-tieoff): Fix string error on
658 AUTORESET with colon define, bug594. Reported by Andrew Hou.
659 (verilog-read-decls): Fix parameters confusing
660 AUTOINST interfaces, bug565. Reported by Leith Johnson.
662 2013-05-16 Eli Zaretskii <eliz@gnu.org>
664 * subr.el (reveal-filename): New function.
666 * loadup.el: Compute Emacs executable versions on MS-Windows,
667 where executables have the .exe extension. Add a hard link
668 emacs-XX.YY.ZZ.exe on MS-Windows.
670 * Makefile.in (XARGS_LIMIT): New variable.
671 (custom-deps, finder-data, autoloads)
672 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
673 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
674 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
675 (compile-main): Limit xargs according to $(XARGS_LIMIT).
677 2013-05-16 Leo Liu <sdl.web@gmail.com>
679 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
680 (octave-mode-menu, octave-mode-map): Remove its uses.
682 2013-05-16 Reto Zimmermann <reto@gnu.org>
684 Sync with upstream vhdl mode v3.34.2.
685 * progmodes/vhdl-mode.el: Use `push' throughout.
686 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
687 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
688 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
689 (vhdl-actual-generic-name): New option to derive actual generic name.
690 (vhdl-port-paste-signals): Replace formal by actual generics.
691 (vhdl-beautify): New name for old group vhdl-align. Update users.
692 (vhdl-beautify-options): New option.
693 (vhdl-last-input-event): New compat alias. Use throughout.
694 (vhdl-goto-line): Replace user level function `goto-line'.
695 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
696 vhdl-fix-statement-buffer.
697 (vhdl-create-mode-menu): Add some entries.
698 (vhdl-align-region-groups): Respect vhdl-beautify-options.
699 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
700 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
701 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
702 to force statements on one line.
703 (vhdl-remove-trailing-spaces-region):
704 New, split from vhdl-remove-trailing-spaces.
705 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
706 Respect vhdl-beautify-options.
707 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
708 (vhdl-update-sensitivity-list): Not add with index if exists without.
709 Not include array index with signal. Ignore keywords in comments.
710 (vhdl-get-visible-signals): Regexp tweaks.
711 (vhdl-template-component-inst): Handle empty library.
712 (vhdl-template-type): Add template for 'enum' type.
713 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
714 Use vhdl-replace-string.
715 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
716 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
717 (vhdl-speedbar-initialize): Update for above name change.
718 (vhdl-compose-wire-components): Fix in handling of constants.
719 (vhdl-error-regexp-emacs-alist): New variable.
720 (vhdl-error-regexp-add-emacs): New function;
721 adds support for new compile.el (Emacs 22+)
722 (vhdl-generate-makefile-1): Change target order for single lib. units.
723 Allow use of absolute file names.
725 2013-05-16 Leo Liu <sdl.web@gmail.com>
727 * simple.el (prog-indent-sexp): Indent enclosing defun.
729 2013-05-15 Glenn Morris <rgm@gnu.org>
731 * cus-start.el (show-trailing-whitespace): Move to editing basics.
732 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
733 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
734 (whitespace-highlight): Move to whitespace group.
736 * comint.el (comint-source):
737 * pcmpl-linux.el (pcmpl-linux):
738 * shell.el (shell-faces):
739 * eshell/esh-opt.el (eshell-opt):
740 * international/ccl.el (ccl): Remove empty custom groups.
742 * completion.el (dynamic-completion-mode):
743 * jit-lock.el (jit-lock-debug-mode):
744 * minibuffer.el (completion-in-region-mode):
745 * type-break.el (type-break-mode-line-message-mode)
746 (type-break-query-mode):
747 * emulation/tpu-edt.el (tpu-edt-mode):
748 * progmodes/subword.el (global-subword-mode, global-superword-mode):
749 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
750 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
752 * term/xterm.el (xterm): Change parent group to terminals.
754 * master.el (master): Remove empty custom group.
755 (master-mode): Remove unused :group argument.
756 * textmodes/refill.el (refill): Remove empty custom group.
757 (refill-mode): Remove unused :group argument.
759 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
761 * cus-dep.el: Provide a feature.
762 (custom-make-dependencies): Ignore dotfiles (dir-locals).
763 Don't mistakenly ignore files whose basenames match a basename
764 from preloaded-file-list (eg cedet/ede/simple.el).
765 Add a fallback method for getting :group.
767 2013-05-15 Juri Linkov <juri@jurta.org>
769 * isearch.el (isearch-char-by-name): Rename from
770 `isearch-insert-char-by-name'. Doc fix.
771 (isearch-forward): Mention `isearch-char-by-name' in
772 the docstring. (Bug#13348)
774 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
775 `exit-minibuffer' instead of
776 `isearch-nonincremental-exit-minibuffer'.
777 (isearch-edit-string): Remove mention of
778 `isearch-nonincremental-exit-minibuffer' from docstring.
779 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
780 (isearch-forward-exit-minibuffer)
781 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
783 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
785 * loadup.el: Just use unversioned DOC.
787 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
788 literals as extending to EOB.
789 (nxml-last-fontify-end): Remove unused variable.
790 (nxml-after-change1): Use with-silent-modifications.
791 (nxml-extend-after-change-region): Simplify.
792 (nxml-extend-after-change-region1): Remove function.
793 (nxml-after-change1): Don't adjust for dependent regions.
794 (nxml-fontify-matcher): Simplify.
795 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
796 (xmltok-add-dependent): Remove function.
797 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
798 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
799 (xmltok-scan-prolog-after-processing-instruction-open): Treat
800 unclosed <[[, <?, comment, and other literals as extending to EOB.
801 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
802 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
804 (rng-do-some-validation-1): Don't mark dependent regions.
805 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
806 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
807 (nxml-clear-dependent-regions): Remove functions.
808 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
809 (nxml-ensure-scan-up-to-date):
810 Don't clear&mark dependent regions.
812 2013-05-15 Leo Liu <sdl.web@gmail.com>
814 * progmodes/octave.el (octave-goto-function-definition):
815 Improve and fix callers.
817 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
819 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
820 the setter (bug#14387).
822 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
823 surrounding group (bug#14402).
825 2013-05-14 Juri Linkov <juri@jurta.org>
827 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
830 2013-05-14 Glenn Morris <rgm@gnu.org>
832 * progmodes/f90.el (f90-imenu-generic-expression):
833 Fix typo in 2013-05-08 change. (Bug#14402)
835 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
837 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
838 Remove signals for which replies are never received.
840 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
842 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
843 (gdb-handler-alist, gdb-handler-number): Remove variables.
844 (gdb-handler-list): New variable.
845 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
846 (gdb-pending-handler-p, gdb-handle-reply)
847 (gdb-remove-all-pending-triggers): New functions.
848 (gdb-discard-unordered-replies): New defcustom.
849 (gdb-handler): New defstruct.
850 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
851 instead of gdb-pending-triggers. Update docstring.
852 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
853 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
854 (gdb-var-update-handler, def-gdb-auto-update-trigger)
855 (def-gdb-auto-update-handler, gdb-get-changed-registers)
856 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
857 (gdb-frame-handler): Pending triggers are now automatically managed.
858 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
860 (gdb-input): Automatically handles pending triggers. Update docstring.
861 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
862 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
864 (gdb-done-or-error): Now use gdb-handle-reply.
866 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
868 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
871 2013-05-14 Glenn Morris <rgm@gnu.org>
873 * subr.el (user-emacs-directory-warning): New option.
874 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
876 2013-05-14 Leo Liu <sdl.web@gmail.com>
878 * progmodes/octave.el (octave-font-lock-keywords): Fix error
880 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
881 (octave-font-lock-texinfo-comment): Fix invalid search bound
882 error: wrong side of point.
884 2013-05-14 Glenn Morris <rgm@gnu.org>
886 * progmodes/flymake.el (flymake-xml-program): New option.
887 (flymake-xml-init): Use it.
889 * term/xterm.el: Provide a feature.
891 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
893 2013-05-13 Glenn Morris <rgm@gnu.org>
895 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
896 Add compat aliases as a hack workaround. (Bug#14384)
898 2013-05-13 Leo Liu <sdl.web@gmail.com>
900 * progmodes/octave.el (octave-indent-comment): Fix indentation for
902 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
904 (octave-comment-start-skip): Include %!.
905 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
907 2013-05-12 Leo Liu <sdl.web@gmail.com>
909 * progmodes/octave.el (inferior-octave-startup): Store the value
910 of __octave_srcdir__ for octave-source-directories.
911 (inferior-octave-check-process): New function refactored out of
912 inferior-octave-send-list-and-digest.
913 (octave-source-directories)
914 (octave-find-definition-filename-function): New variables.
915 (octave-source-directories)
916 (octave-find-definition-default-filename): New functions.
917 (octave-find-definition): Improve to find functions implemented in C++.
919 2013-05-12 Glenn Morris <rgm@gnu.org>
921 * calendar/diary-lib.el (diary-outlook-format-1):
922 Don't include dayname in the output. (Bug#14349)
924 2013-05-11 Glenn Morris <rgm@gnu.org>
926 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
928 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
929 Treat cc-provide like provide.
931 2013-05-11 Kevin Ryde <user42@zip.com.au>
933 * cus-dep.el (custom-make-dependencies):
934 Use generated-autoload-load-name for the sake of files such
935 such cedet/semantic/bovine/c.el, where the base file name
936 is not in load-path. (Bug#5277)
938 2013-05-11 Glenn Morris <rgm@gnu.org>
940 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
943 2013-05-11 Leo Liu <sdl.web@gmail.com>
945 * progmodes/octave.el (octave-indent-comment): Improve.
946 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
947 (octave-eldoc-function-signatures, octave-eldoc-function):
949 (octave-mode, inferior-octave-mode): Add eldoc support.
951 2013-05-11 Richard Stallman <rms@gnu.org>
953 * epa.el (epa-decrypt-file): Take output file name as argument
954 and read it using `interactive'.
956 2013-05-11 Leo Liu <sdl.web@gmail.com>
958 * progmodes/octave.el (octave-beginning-of-line)
959 (octave-end-of-line): Check before using up-list because it jumps
960 out of more syntactic contructs since moving to smie.
961 (octave-indent-comment): New function.
962 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
963 (octave-begin-keywords, octave-end-keywords)
964 (octave-reserved-words, octave-smie-bnf-table)
965 (octave-smie-rules): Add new keywords from Octave 3.6.4.
967 2013-05-11 Glenn Morris <rgm@gnu.org>
969 * faces.el (internal-face-x-get-resource):
970 * frame.el (ns-display-monitor-attributes-list):
971 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
973 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
975 * calc/calc-menu.el: Make it loadable in isolation.
977 * net/eudcb-bbdb.el: Make it loadable without bbdb.
978 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
979 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
980 (eudc-bbdb-query-internal): Require 'bbdb.
982 * lpr.el (lpr-headers-switches):
983 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
985 * progmodes/sql.el (sql-login-params): Fix and improve :type.
987 * emulation/edt-mapper.el: In batch mode, error rather than hang.
989 * term.el (term-set-escape-char): Make it idempotent.
991 2013-05-10 Leo Liu <sdl.web@gmail.com>
993 * progmodes/octave.el (inferior-octave-completion-table):
994 No longer a function and all uses changed. Use cache to speed up
995 completion due to bug#11906.
996 (octave-beginning-of-defun): Re-write to be more general.
998 2013-05-10 Glenn Morris <rgm@gnu.org>
1000 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
1002 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1004 * comint.el (comint-redirect-send-command-to-process): Use :around
1005 rather than :override for comint-redirect-filter.
1006 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
1007 Call it instead of comint-redirect-original-filter-function (which
1008 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
1010 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
1012 * frame.el (display-monitor-attributes-list): Add NS case.
1013 (ns-display-monitor-attributes-list): Declare.
1015 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
1017 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
1019 2013-05-09 Glenn Morris <rgm@gnu.org>
1021 * international/fontset.el (vertical-centering-font-regexp):
1024 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
1026 * bookmark.el (bookmark-search-delay):
1027 * cus-start.el (vertical-centering-font-regexp):
1028 * ps-mule.el (ps-mule-font-info-database-default):
1029 * ps-print.el (ps-default-fg, ps-default-bg):
1030 * type-break.el (type-break-good-break-interval):
1031 * whitespace.el (whitespace-indentation-regexp)
1032 (whitespace-space-after-tab-regexp):
1033 * emacs-lisp/testcover.el (testcover-1value-functions)
1034 (testcover-noreturn-functions, testcover-progn-functions)
1035 (testcover-prog1-functions):
1036 * emulation/viper-init.el (viper-emacs-state-cursor-color):
1037 * eshell/em-glob.el (eshell-glob-translate-alist):
1038 * play/tetris.el (tetris-tty-colors):
1039 * progmodes/cpp.el (cpp-face-default-list):
1040 * progmodes/flymake.el (flymake-allowed-file-name-masks):
1041 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
1042 (idlwave-help-browser-generic-args):
1043 * progmodes/make-mode.el (makefile-special-targets-list):
1044 * progmodes/python.el (python-shell-virtualenv-path):
1045 * progmodes/verilog-mode.el (verilog-active-low-regexp)
1046 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
1047 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
1048 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
1049 * textmodes/reftex-vars.el (reftex-format-label-function):
1050 * textmodes/remember.el (remember-diary-file): Fix custom types.
1052 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
1055 2013-05-09 Leo Liu <sdl.web@gmail.com>
1057 * progmodes/octave.el (inferior-octave-completion-at-point):
1058 Restore file completion. (Bug#14300)
1059 (inferior-octave-startup): Fix incorrect highlighting for the
1062 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1064 * progmodes/ruby-mode.el: First cut at SMIE support.
1065 (ruby-use-smie): New var.
1066 (ruby-smie-grammar): New constant.
1067 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
1068 (ruby-smie--forward-token, ruby-smie--backward-token)
1069 (ruby-smie-rules): New functions.
1070 (ruby-mode-variables): Setup SMIE if applicable.
1072 2013-05-08 Eli Zaretskii <eliz@gnu.org>
1074 * simple.el (line-move-visual): Signal beginning/end of buffer
1075 only if vertical-motion moved less than it was requested. Avoids
1076 silly incorrect error messages when there are display strings with
1077 multiple newlines at EOL.
1079 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1081 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
1082 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
1083 (prolog-char-quote-workaround):
1084 * progmodes/cperl-mode.el (cperl-under-as-char):
1085 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
1087 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1089 (vhdl-mode-syntax-table-init): Remove.
1091 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
1094 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
1096 (ld-script-font-lock-keywords):
1097 Change regexps to use things like \_< and \_>.
1099 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
1100 Change all regexps to use things like \_< and \_>.
1102 * progmodes/autoconf.el (autoconf-definition-regexp)
1103 (autoconf-font-lock-keywords, autoconf-current-defun-function):
1104 Handle a _ with symbol syntax.
1105 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
1107 * progmodes/ada-mode.el (ada-mode-abbrev-table):
1108 Consolidate declaration.
1109 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
1111 (ada-create-syntax-table): Remove.
1112 (ada-capitalize-word): Don't mess with the syntax of "_" since it
1113 already has the right syntax nowadays.
1114 (ada-goto-next-word): Don't change the syntax of "_".
1116 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
1119 2013-05-08 Sam Steingold <sds@gnu.org>
1121 * thingatpt.el (thing-at-point): Accept optional second argument
1122 NO-PROPERTIES to strip the text properties from the return value.
1123 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
1124 to `thing-at-point' instead of stripping the properties ourselves.
1125 Also, when `thing-at-point' fails to find a url, prepend "http://"
1126 to the filename at point on the assumption that the user is
1127 pointing at something like gnu.org/gnu.
1129 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
1131 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1132 * faces.el (crm-separator):
1133 Silence byte-compiler.
1135 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
1136 (tool-bar-map): Remove unneeded defvars.
1138 2013-05-08 Leo Liu <sdl.web@gmail.com>
1140 Re-work a fix for bug#10994 based on Le Wang's patch.
1141 * ido.el (ido-remove-consecutive-dups): New helper.
1142 (ido-completing-read): Use it.
1143 (ido-chop): Revert fix for bug#10994.
1145 2013-05-08 Adam Spiers <emacs@adamspiers.org>
1147 * cus-edit.el (custom-save-variables):
1148 Pretty-print long values. (Bug#14187)
1150 2013-05-08 Glenn Morris <rgm@gnu.org>
1152 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
1153 (m4-mode-syntax-table): Init in the defvar.
1154 (m4-mode-abbrev-table): Let define-derived-mode define it.
1156 2013-05-08 Tom Tromey <tromey@redhat.com>
1158 * progmodes/m4-mode.el (m4-mode-syntax-table):
1159 Do not treat "_" as word constituent. (Bug#14167)
1161 2013-05-07 Glenn Morris <rgm@gnu.org>
1163 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
1164 Remove explicit eshell-isearch-cancel-map.
1166 * progmodes/f90.el (f90-smart-end-names): New option.
1167 (f90-smart-end): Doc fix.
1168 (f90-end-block-optional-name): New constant.
1169 (f90-block-match): Respect f90-smart-end-names.
1171 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1173 * progmodes/octave.el (octave-smie-forward-token): Be more careful
1174 about implicit semi-colons (bug#14218).
1176 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1178 * frame.el (display-monitor-attributes-list)
1179 (frame-monitor-attributes): New functions.
1181 2013-05-06 Leo Liu <sdl.web@gmail.com>
1183 * progmodes/octave.el (octave-syntax-propertize-function): Change
1184 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
1185 (octave-font-lock-keywords): Use octave-operator-regexp.
1186 (octave-completion-at-point): Rename from
1187 octave-completion-at-point-function.
1188 (inferior-octave-directory-tracker): Robustify.
1189 (octave-text-functions): Remove and fix its uses. No such things
1192 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1194 * emacs-lisp/trace.el (trace--display-buffer): New function.
1195 (trace-make-advice): Use it.
1197 2013-05-06 Juri Linkov <juri@jurta.org>
1199 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
1200 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
1202 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
1203 in the help string. (Bug#12985)
1205 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1207 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
1209 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1211 * progmodes/perl-mode.el: Add support for here documents.
1212 (perl-syntax-propertize-function): Match here-doc markers.
1213 (perl-syntax-propertize-special-constructs): Find their end.
1214 (perl-imenu-generic-expression): Use [:alnum:].
1216 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
1217 (advice--add-function): Refresh the advice if already present
1220 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
1222 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
1224 2013-05-06 Glenn Morris <rgm@gnu.org>
1226 * w32-fns.el (w32-charset-info-alist): Declare.
1228 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
1229 of its defcustom properties.
1230 (eshell-cmpl-initialize): No need to load pcomplete.
1232 * generic-x.el: No need to require comint when compiling.
1234 * net/eudc-export.el: Make it loadable without bbdb.
1235 (top-level): Use require rather than load-library.
1236 (eudc-create-bbdb-record, eudc-bbdbify-phone)
1237 (eudc-batch-export-records-to-bbdb)
1238 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
1241 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1243 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
1244 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
1245 some tweaks, instead.
1247 2013-05-05 Leo Liu <sdl.web@gmail.com>
1249 * progmodes/octave.el (octave-font-lock-keywords)
1250 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
1251 (inferior-octave-send-list-and-digest): Improve error message.
1252 (octave-mode, inferior-octave-mode): Use setq-local.
1253 (octave-help): Set info-lookup-mode.
1255 2013-05-05 Richard Stallman <rms@gnu.org>
1257 * vc/compare-w.el (compare-windows-whitespace):
1258 Treat no-break space as whitespace.
1260 * mail/rmailsum.el (rmail-summary-rmail-update):
1261 Detect empty summary and don't change selected message.
1262 (rmail-summary-goto-msg): Likewise.
1264 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
1265 Doc fixes, rename args.
1267 2013-05-05 Alan Mackenzie <acm@muc.de>
1269 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
1271 2013-05-05 Juri Linkov <juri@jurta.org>
1273 * info.el (Info-read-subfile): Use (point-min) instead of (point)
1274 to not add the length of the summary segment to the return value.
1277 2013-05-05 Leo Liu <sdl.web@gmail.com>
1279 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
1280 (inferior-octave-output-filter): Remove.
1281 (octave-send-region, inferior-octave-startup): Fix callers.
1282 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
1283 (octave-binary-file-extensions): New user variable.
1284 (octave-find-definition): Confirm if opening binary files.
1285 (octave-help-file): Use octave-find-definition to get the binary
1287 (octave-help): Adjust for octave-help-file change.
1289 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1291 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
1292 Merge the two entries that handle function definitions.
1293 (pascal--syntax-propertize): New const.
1294 (pascal-mode): Use it. Use setq-local.
1296 2013-05-04 Glenn Morris <rgm@gnu.org>
1298 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
1299 (diary-from-outlook): Respect diary-from-outlook-function.
1301 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1303 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
1304 Move the declaration from C.
1305 (read-minibuffer, eval-minibuffer): Move from C.
1306 (completion-setup-function): Avoid minibuffer-completion-contents.
1308 2013-05-03 Leo Liu <sdl.web@gmail.com>
1310 * progmodes/octave.el (octave-font-lock-keywords): Do not
1311 dehighlight 'end' in comments or strings.
1312 (octave-completing-read, octave-goto-function-definition):
1314 (octave-help-buffer): New user variable.
1315 (octave-help-file, octave-help-function): New button types.
1316 (octave-help): New command and bind it to C-h ;.
1317 (octave-find-definition): New command and bind it to M-.
1318 (user-error): Alias to error if not defined.
1320 2013-05-02 Leo Liu <sdl.web@gmail.com>
1322 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
1324 (octave-font-lock-keywords): Include [ and {.
1326 2013-05-02 Leo Liu <sdl.web@gmail.com>
1328 * progmodes/octave.el (inferior-octave-startup-file): Change default.
1329 (inferior-octave): Remove calling comint-mode and return the buffer.
1330 (inferior-octave-startup): Cosmetic changes.
1332 2013-05-02 Leo Liu <sdl.web@gmail.com>
1334 * progmodes/octave.el (octave-syntax-propertize-function):
1335 Include the case when ' is at line beginning. (Bug#14336)
1337 2013-05-02 Glenn Morris <rgm@gnu.org>
1339 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
1340 * desktop.el (vc-dir-mode): Just autoload it here.
1342 2013-05-02 Alan Mackenzie <acm@muc.de>
1344 Eliminate variable c-standard-font-lock-fontify-region-function.
1345 * progmodes/cc-mode.el
1346 (c-standard-font-lock-fontify-region-function): Remove.
1347 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
1349 2013-05-01 Leo Liu <sdl.web@gmail.com>
1351 * progmodes/octave.el: Compatible with older emacs-24 releases.
1352 (inferior-octave-has-built-in-variables): Remove. Built-in
1353 variables were removed from Octave in 2007.
1354 (inferior-octave-startup): Fix uses.
1355 (comint-line-beginning-position): Remove compatibility code for
1358 2013-05-01 Juri Linkov <juri@jurta.org>
1360 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
1362 2013-05-01 Juri Linkov <juri@jurta.org>
1364 * comint.el (comint-previous-matching-input): Don't print message
1365 "History item: %d" when `isearch-mode' is active.
1366 (comint-history-isearch-message): Print message "History item: %d"
1367 when `comint-input-ring-index' is not empty and this function is
1368 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
1370 2013-05-01 Leo Liu <sdl.web@gmail.com>
1372 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
1373 definitions. Use completion-at-point to insert keywords.
1374 (octave-abbrev-start): Remove.
1375 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
1377 2013-04-30 Leo Liu <sdl.web@gmail.com>
1379 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
1382 2013-04-30 Alan Mackenzie <acm@muc.de>
1384 Handle arbitrarily long C++ member initialisation lists.
1385 * progmodes/cc-engine.el (c-back-over-member-initializers):
1387 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
1388 (most) member init lists.
1390 2013-04-30 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
1392 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
1395 2013-04-30 Leo Liu <sdl.web@gmail.com>
1397 * progmodes/octave.el (octave-variables): Remove. No builtin
1398 variables any more. All converted to functions.
1399 (octave-font-lock-keywords, octave-completion-at-point-function):
1401 (octave-font-lock-texinfo-comment): New user variable.
1402 (octave-texinfo-font-lock-keywords): New variable for texinfo
1404 (octave-function-comment-block): New face.
1405 (octave-font-lock-texinfo-comment): New function.
1406 (octave-mode): Font lock texinfo comment block.
1408 2013-04-29 Leo Liu <sdl.web@gmail.com>
1410 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
1411 indexing expression.
1412 (octave-continuation-string): Do not use \.
1413 (inferior-octave-complete-impossible): Remove.
1414 (inferior-octave-completion-table)
1415 (inferior-octave-completion-at-point): Remove its uses.
1416 (inferior-octave-startup): completion_matches was introduced to
1417 Octave in 1996 so safe to assume it.
1418 (octave-function-file-comment): Improve to follow how Octave does it.
1419 (octave-update-function-file-comment): Tweak.
1421 2013-04-29 Leo Liu <sdl.web@gmail.com>
1423 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
1424 (inferior-octave-startup): Remove inferior-octave-startup-hook.
1425 (octave-function-file-comment): Fix typo.
1426 (octave-sync-function-file-names): Use read-char-choice.
1428 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
1430 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
1431 to t for the less important warnings.
1433 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1435 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
1437 2013-04-27 Glenn Morris <rgm@gnu.org>
1439 * vc/log-view.el (log-view-current-entry):
1440 Treat "---" separator lines as part of the following rev. (Bug#14169)
1442 2013-04-27 Juri Linkov <juri@jurta.org>
1444 * subr.el (read-number): Doc fix about using it by interactive
1445 code letter `n'. (Bug#14254)
1447 2013-04-27 Juri Linkov <juri@jurta.org>
1449 * desktop.el (desktop-auto-save-timeout): New option.
1450 (desktop-file-checksum): New variable.
1451 (desktop-save): Add optional arg `auto-save' and don't auto-save
1453 (desktop-auto-save-timer): New variable.
1454 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
1455 (after-init-hook): Call `desktop-auto-save-set-timer'.
1456 Suggested by Reuben Thomas <rrt@sc3d.org> in
1457 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
1459 2013-04-27 Leo Liu <sdl.web@gmail.com>
1461 * progmodes/octave.el (octave-function-file-p)
1462 (octave-skip-comment-forward, octave-function-file-comment)
1463 (octave-update-function-file-comment): New functions.
1464 (octave-mode-map): Bind C-c ; to
1465 octave-update-function-file-comment.
1466 (octave-mode-menu): Add octave-update-function-file-comment.
1467 (octave-mode, inferior-octave-mode): Fix doc-string.
1468 (octave-insert-defun): Conform to Octave's coding convention.
1471 * files.el (basic-save-buffer): Don't let errors in
1472 before-save-hook prevent saving buffer.
1474 2013-04-20 Roland Winkler <winkler@gnu.org>
1476 * faces.el (read-face-name): Use completing-read if arg multiple
1479 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
1481 * ls-lisp.el (ls-lisp-insert-directory): If no files are
1482 displayed, move point to after the totals line.
1483 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
1486 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1488 * emacs-lisp/package.el (package-autoload-ensure-default-file):
1489 Add current dir to the load-path.
1490 (package-generate-autoloads): Don't rely on
1491 autoload-ensure-default-file.
1493 2013-04-26 Reuben Thomas <rrt@sc3d.org>
1495 * textmodes/remember.el (remember-store-in-files): Document that
1496 the file name format is passed to `format-time-string'.
1498 2013-04-26 Leo Liu <sdl.web@gmail.com>
1500 * progmodes/octave.el (octave-sync-function-file-names): New function.
1501 (octave-mode): Use it in before-save-hook.
1503 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1505 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
1508 * progmodes/octave.el (octave-smie-forward-token): Properly skip
1509 \n and comment, even if it's not an implicit ; (bug#14218).
1511 2013-04-26 Glenn Morris <rgm@gnu.org>
1513 * subr.el (read-number): Once more use `read' rather than
1514 `string-to-number', to trap non-numeric input. (Bug#14254)
1516 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
1518 * emacs-lisp/syntax.el (syntax-propertize-multiline):
1519 Use `syntax-multiline' text property consistently instead of
1520 `font-lock-multiline'. (bug#14237).
1522 2013-04-26 Glenn Morris <rgm@gnu.org>
1524 * emacs-lisp/shadow.el (list-load-path-shadows):
1525 No longer necessary to check for duplicate simple.el, since
1526 2012-07-07 change to init_lread to not include installation lisp
1527 directories in load-path when running uninstalled. (Bug#14270)
1529 2013-04-26 Leo Liu <sdl.web@gmail.com>
1531 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
1532 (octave-mode, inferior-octave-mode): Use setq-local.
1533 (octave-not-in-string-or-comment-p): Rename to
1534 octave-in-string-or-comment-p.
1535 (octave-in-comment-p, octave-in-string-p)
1536 (octave-in-string-or-comment-p): Replace defsubst with defun.
1538 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
1540 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
1542 2013-04-25 Bastien Guerry <bzg@gnu.org>
1544 * textmodes/remember.el (remember-data-directory)
1545 (remember-directory-file-name-format): Fix custom types.
1547 2013-04-25 Leo Liu <sdl.web@gmail.com>
1549 * progmodes/octave.el (octave-completion-at-point-function):
1550 Make use of inferior octave process.
1551 (octave-initialize-completions): Remove.
1552 (inferior-octave-completion-table): New function.
1553 (inferior-octave-completion-at-point): Use it.
1554 (octave-completion-alist): Remove.
1556 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1558 * progmodes/opascal.el: Use font-lock and syntax-propertize.
1559 (opascal-mode-syntax-table): New var.
1560 (opascal-literal-kind, opascal-is-literal-end)
1561 (opascal-literal-token-at): Rewrite.
1562 (opascal--literal-start-re, opascal-font-lock-keywords)
1563 (opascal--syntax-propertize): New constants.
1564 (opascal-font-lock-defaults): Adjust.
1565 (opascal-mode): Use them. Set comment-<foo> variables as well.
1566 (delphi-comment-face, opascal-comment-face, delphi-string-face)
1567 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
1568 (delphi-other-face, opascal-other-face): Remove face variables.
1569 (opascal-save-state): Remove macro.
1570 (opascal-fontifying-progress-step): Remove constant.
1571 (opascal--ignore-changes): Remove var.
1572 (opascal-set-token-property, opascal-parse-next-literal)
1573 (opascal-is-stable-literal, opascal-complete-literal)
1574 (opascal-is-literal-start, opascal-face-of)
1575 (opascal-parse-region, opascal-parse-region-until-stable)
1576 (opascal-fontify-region, opascal-after-change)
1577 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
1578 (opascal-debug-parse-region, opascal-debug-parse-window)
1579 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
1580 (opascal-debug-fontify-buffer): Remove.
1581 (opascal-debug-mode-map): Adjust accordingly.
1583 2013-04-25 Leo Liu <sdl.web@gmail.com>
1585 Merge octave-mod.el and octave-inf.el into octave.el with some
1587 * progmodes/octave.el: New file renamed from octave-mod.el.
1588 * progmodes/octave-inf.el: Merged into octave.el.
1589 * progmodes/octave-mod.el: Renamed to octave.el.
1591 2013-04-25 Tassilo Horn <tsdh@gnu.org>
1593 * textmodes/reftex-vars.el
1594 (reftex-label-ignored-macros-and-environments): New defcustom.
1596 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
1598 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1600 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
1601 (smie-indent-keyword): Improve the check to ensure that the next
1602 comment is really on the same line.
1603 (smie-indent-comment): Don't align with a subsequent closer (or eob).
1605 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
1606 semi-colons if the line is not otherwise empty (bug#14218).
1608 2013-04-25 Glenn Morris <rgm@gnu.org>
1610 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
1612 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1614 * progmodes/opascal.el (opascal-set-token-property): Rename from
1615 opascal-set-text-properties and only set `token' (bug#14134).
1616 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
1617 (opascal-literal-text-properties): Remove.
1618 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
1621 2013-04-24 Reuben Thomas <rrt@sc3d.org>
1623 * textmodes/remember.el (remember-handler-functions): Add an
1624 option for a new handler `remember-store-in-files'.
1625 (remember-data-directory, remember-directory-file-name-format):
1627 (remember-store-in-files): New function to store remember notes
1628 as separate files within a directory.
1630 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
1632 * progmodes/compile.el (compilation-next-error-function):
1633 Pass "formats" to compilation-find-file (bug#11777).
1635 2013-04-24 Glenn Morris <rgm@gnu.org>
1637 * vc/vc-bzr.el (vc-bzr-print-log):
1638 * vc/vc-hg.el (vc-hg-print-log):
1639 * vc/vc-svn.el (vc-svn-print-log):
1640 Fix START-REVISION with LIMIT != 1. (Bug#14168)
1642 * vc/vc-bzr.el (vc-bzr-print-log):
1643 * vc/vc-cvs.el (vc-cvs-print-log):
1644 * vc/vc-git.el (vc-git-print-log):
1645 * vc/vc-hg.el (vc-hg-print-log):
1646 * vc/vc-mtn.el (vc-mtn-print-log):
1647 * vc/vc-rcs.el (vc-rcs-print-log):
1648 * vc/vc-sccs.el (vc-sccs-print-log):
1649 * vc/vc-svn.el (vc-svn-print-log):
1650 * vc/vc.el (vc-print-log-internal): Doc fixes.
1652 2013-04-23 Glenn Morris <rgm@gnu.org>
1654 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
1655 Remove venerable code attempting to avoid substitute-command-keys.
1657 2013-04-23 Tassilo Horn <tsdh@gnu.org>
1659 * textmodes/reftex-vars.el (reftex-label-regexps):
1660 Call `reftex-compile-variables' after changes to this variable.
1662 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1664 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
1665 Use lexical-binding.
1666 (jit-lock-force-redisplay): Use markers, check buffer's continued
1667 existence and beware narrowed buffers.
1668 (jit-lock-fontify-now): Adjust call accordingly.
1670 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1672 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
1673 to avoid misleading the user.
1675 2013-04-22 Leo Liu <sdl.web@gmail.com>
1677 * info-look.el: Prefer latex2e.info. (Bug#14240)
1679 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
1681 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
1683 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
1684 * net/tramp.el (tramp-call-process): ... here
1685 (tramp-set-completion-function, tramp-parse-putty):
1686 * net/tramp-adb.el (tramp-adb-execute-adb-command):
1687 * net/tramp-gvfs.el (tramp-gvfs-send-command):
1688 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1689 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
1690 (tramp-call-local-coding-command): Use `tramp-call-process'
1691 instead of `tramp-compat-call-process'.
1693 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
1694 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
1695 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
1696 (tramp-find-inline-compress): Improve traces.
1697 (tramp-maybe-send-script): Check for Perl binary.
1698 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
1700 2013-04-22 Daiki Ueno <ueno@gnu.org>
1702 * epg.el (epg-context-pinentry-mode): New function.
1703 (epg-context-set-pinentry-mode): New function.
1704 (epg--start): Pass --pinentry-mode option to gpg command.
1706 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
1708 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
1709 `comint-dynamic-complete' is obsolete since 24.1, replaced by
1710 `completion-at-point'. (Bug#13774)
1712 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
1713 default key binding for `describe-distribution' has been moved to
1714 `C-h C-o'. (Bug#13970)
1716 2013-04-21 Glenn Morris <rgm@gnu.org>
1718 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
1720 (vc-print-log): Clarify interactive prompt.
1722 2013-04-20 Glenn Morris <rgm@gnu.org>
1724 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1725 No longer include timestamp etc information.
1727 2013-04-20 Roland Winkler <winkler@gnu.org>
1729 * faces.el (read-face-name): Bug fix, return just one face if arg
1730 multiple is nil. (Bug#14209)
1732 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1734 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
1735 (remove-function): Autoload.
1737 * comint.el (comint-redirect-original-filter-function): Remove.
1738 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
1739 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
1740 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
1741 * progmodes/prolog.el (prolog-consult-compile):
1742 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
1743 Use add/remove-function instead.
1744 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
1745 (gud-tooltip-process-output, gud-tooltip-tips):
1746 Use add/remove-function instead.
1747 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
1748 (scheme-interaction-mode, exit-scheme-interaction-mode):
1749 Use add/remove-function instead.
1751 * vc/vc-dispatcher.el: Use lexical-binding.
1752 (vc--process-sentinel): Rename from vc-process-sentinel.
1753 Change last arg to be the code to run. Don't use vc-previous-sentinel
1754 and vc-sentinel-commands any more.
1755 (vc-exec-after): Allow code to be a function. Use add/remove-function.
1756 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
1758 2013-04-19 Masatake YAMATO <yamato@redhat.com>
1760 * progmodes/sh-script.el (sh-imenu-generic-expression):
1761 Handle function names with a single character. (Bug#14111)
1763 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
1765 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
1766 for subroutines defined in an eval (bug#14182).
1768 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1770 * bookmark.el (bookmark-completing-read): Improve handling of empty
1773 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1775 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
1777 2013-04-19 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1779 New faster Imenu implementation (bug#14058).
1780 * progmodes/python.el:
1781 (python-imenu-prev-index-position):
1782 (python-imenu-format-item-label-function)
1783 (python-imenu-format-parent-item-label-function)
1784 (python-imenu-format-parent-item-jump-label-function):
1786 (python-imenu-format-item-label)
1787 (python-imenu-format-parent-item-label)
1788 (python-imenu-format-parent-item-jump-label)
1789 (python-imenu--put-parent, python-imenu--build-tree)
1790 (python-imenu-create-index, python-imenu-create-flat-index)
1791 (python-util-popn): New functions.
1792 (python-mode): Set imenu-create-index-function to
1793 python-imenu-create-index.
1795 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1797 * winner.el (winner-active-region): Use region-active-p, activate-mark
1798 and deactivate-mark (bug#14225).
1800 * simple.el (deactivate-mark): Don't inline it.
1802 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
1804 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
1806 2013-04-18 Tassilo Horn <tsdh@gnu.org>
1808 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
1809 file extensions from the archive-mode entry in order to prefer
1810 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
1812 2013-04-18 Leo Liu <sdl.web@gmail.com>
1814 * bindings.el (help-event-list): Add ?\?.
1816 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1818 * subr.el (with-wrapper-hook): Declare obsolete.
1819 * simple.el (filter-buffer-substring-function): New hook.
1820 (filter-buffer-substring): Use it.
1821 (filter-buffer-substring-functions): Mark obsolete.
1822 * minibuffer.el (completion-in-region-function): New hook.
1823 (completion-in-region): Use it.
1824 (completion-in-region-functions): Mark obsolete.
1825 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
1826 * abbrev.el (abbrev-expand-function): New hook.
1827 (expand-abbrev): Use it.
1828 (abbrev-expand-functions): Mark obsolete.
1829 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
1832 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1834 * progmodes/python.el (python-nav--syntactically): Fix cornercases
1835 and do not care about match data.
1837 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1839 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
1840 completion tables when completing error conditions and
1841 `declare' arguments.
1842 (lisp-complete-symbol, field-complete): Mark as obsolete.
1843 (check-parens): Unmatched parens are user errors.
1844 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
1846 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
1848 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
1849 command changed buffer (ie. `flyspell-pre-buffer' is not current
1850 buffer), which prevents making decisions based on invalid value of
1851 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
1852 cause an error when `flyspell-pre-point' was nil after switching
1854 (flyspell-post-command-hook): No longer needs to change buffers when
1855 checking pre-word. While at it remove unnecessary progn.
1857 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1859 * textmodes/ispell.el (ispell-add-per-file-word-list):
1860 Fix `flyspell-correct-word-before-point' error when accepting
1861 words and `coment-padding' is an integer by using
1862 `comment-normalize-vars' (Bug #14214).
1864 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1866 New defun movement commands.
1867 * progmodes/python.el (python-nav--syntactically)
1868 (python-nav--forward-defun, python-nav-backward-defun)
1869 (python-nav-forward-defun): New functions.
1871 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1873 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
1874 (python-syntax-context): Use named compiler-macro for backwards
1875 compatibility with Emacs 24.x.
1877 2013-04-17 Leo Liu <sdl.web@gmail.com>
1879 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
1880 octave-hide-process-buffer.
1882 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1884 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
1887 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
1889 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
1890 Fix adjustment of offset when receiving incomplete responses from GDB
1893 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1895 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
1896 python-mode-abbrev-table.
1897 (python-skeleton-define): Adjust accordingly.
1898 (python-mode-abbrev-table): New table that inherits from it so that
1899 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
1901 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
1902 (abbrev-symbol): Use it.
1903 (abbrev--before-point): Use it since we already handle inheritance.
1905 2013-04-16 Leo Liu <sdl.web@gmail.com>
1907 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
1908 binding to info-lookup-symbol.
1910 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
1912 * minibuffer.el (completion--twq-all):
1913 * term/ns-win.el (ns-initialize-window-system):
1914 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
1916 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1918 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
1921 * doc-view.el (doc-view-start-process): Handle url-handler directories.
1923 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
1925 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
1926 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
1928 (ruby-end-of-defun): Remove the unused arg, change the docstring
1929 to reflect that this function is only used as the value of
1930 `end-of-defun-function'.
1931 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
1932 to reflect an earlier change that beginning/end-of-defun functions
1933 jump between methods in a class definition, as well as top-level
1936 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1938 * minibuffer.el (minibuffer-complete): Don't just scroll
1939 a *Completions* that's been iconified.
1940 (minibuffer-force-complete): Make sure repetitions do cycle when going
1941 through completion-in-region -> minibuffer-complete.
1943 2013-04-15 Alan Mackenzie <acm@muc.de>
1945 Correct the placement of c-cpp-delimiters when there're #s not at
1948 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
1949 place a submatch around the #.
1950 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
1951 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
1954 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1956 * emacs-lisp/nadvice.el: Properly test names when adding advice.
1957 (advice--member-p): New arg `name'.
1958 (advice--add-function, advice-member-p): Use it (bug#14202).
1960 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
1962 Reformulate java imenu-generic-expression.
1963 The old expression contained ill formed regexps.
1965 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
1966 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
1967 (cc-imenu-java-method-arg-regexp): New defconsts.
1968 (cc-imenu-java-build-type-args-regex): New defun.
1969 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
1970 handling of spaces in the regexp.
1972 2013-03-15 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
1974 * textmodes/ispell.el (ispell-command-loop): Remove
1975 flyspell highlight of a word when ispell accepts it (bug #14178).
1977 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
1979 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
1980 uses code from the previous `ange-ftp-run-real-handler'.
1981 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
1982 only in case that function exist. This is needed for proper
1985 2013-04-15 Tassilo Horn <tsdh@gnu.org>
1987 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
1989 * textmodes/reftex.el (reftex-compile-variables): Use it.
1991 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1993 * files.el (normal-mode): Only use default major-mode if no other mode
1996 * emacs-lisp/trace.el (trace-values): New function.
1998 * files.el: Allow : in local variables (bug#14089).
1999 (hack-local-variable-regexp): New var.
2000 (hack-local-variables-prop-line, hack-local-variables): Use it.
2002 2013-04-13 Roland Winkler <winkler@gnu.org>
2004 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
2005 data before it gets modified by bibtex-beginning-of-entry.
2007 2013-04-13 Roland Winkler <winkler@gnu.org>
2009 * textmodes/bibtex.el (bibtex-url): Doc fix.
2011 2013-04-13 Roland Winkler <winkler@gnu.org>
2013 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
2014 does not visit a BibTeX file, exclude it from the list of buffers
2015 returned by bibtex-initialize.
2017 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
2019 * window.el (split-window): Remove interactive form, since as a
2020 command this function is a special case of split-window-below.
2023 2013-04-12 Roland Winkler <winkler@gnu.org>
2025 * faces.el (read-face-name): Do not override value of arg default.
2026 Allow single faces and strings as default values. Remove those
2027 elements from return value that are not faces.
2028 (describe-face): Simplify.
2029 (face-at-point): New optional args thing and multiple so that this
2030 function can provide the same functionality previously provided by
2032 (make-face-bold, make-face-unbold, make-face-italic)
2033 (make-face-unitalic, make-face-bold-italic, invert-face)
2034 (modify-face, read-face-and-attribute): Use face-at-point.
2036 * cus-edit.el (customize-face, customize-face-other-window)
2037 * cus-theme.el (custom-theme-add-face)
2038 * face-remap.el (buffer-face-set)
2039 * facemenu.el (facemenu-set-face): Use face-at-point.
2041 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
2043 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
2045 2013-04-10 Tassilo Horn <tsdh@gnu.org>
2047 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
2048 off leading { and trailing } from field values.
2050 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2052 * emacs-lisp/timer.el (timer--check): New function.
2053 (timer--time, timer-set-function, timer-event-handler): Use it.
2054 (timer-set-idle-time): Simplify.
2055 (timer--activate): CSE.
2056 (timer-event-handler): Give more info in error message.
2057 (internal-timer-start-idle): New function, moved from C.
2059 * mpc.el (mpc-proc): Add `restart' argument.
2060 (mpc-proc-cmd): Use it.
2061 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
2062 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
2065 2013-04-10 Masatake YAMATO <yamato@redhat.com>
2067 * progmodes/sh-script.el: Implement `sh-mode' own
2068 `add-log-current-defun-function' (bug#14112).
2069 (sh-current-defun-name): New function.
2070 (sh-mode): Use the function.
2072 2013-04-09 Bastien Guerry <bzg@gnu.org>
2074 * simple.el (choose-completion-string): Fix docstring (bug#14163).
2076 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2078 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
2080 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
2083 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
2085 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
2088 2013-04-07 Leo Liu <sdl.web@gmail.com>
2090 * pcmpl-x.el: New file.
2092 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
2094 Do not set x-display-name until X connection is established.
2095 This is needed to prevent from weird situation described at
2096 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
2097 * frame.el (make-frame): Set x-display-name after call to
2098 window system initialization function, not before.
2099 * term/x-win.el (x-initialize-window-system): Add optional
2100 display argument and use it.
2101 * term/w32-win.el (w32-initialize-window-system):
2102 * term/ns-win.el (ns-initialize-window-system):
2103 * term/pc-win.el (msdos-initialize-window-system):
2104 Add compatible optional display argument.
2106 2013-04-06 Eli Zaretskii <eliz@gnu.org>
2108 * files.el (normal-backup-enable-predicate): On MS-Windows and
2109 MS-DOS compare truenames of temporary-file-directory and of the
2110 file, so that 8+3 aliases (usually found in $TEMP on Windows)
2111 don't fail comparison by compare-strings. Also, compare file
2112 names case-insensitively on MS-Windows and MS-DOS.
2114 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2116 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
2117 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
2119 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
2121 * whitespace.el (whitespace-color-on, whitespace-color-off):
2122 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
2124 2013-04-05 Jacek ChrzÄ…szcz <chrzaszcz@mimuw.edu.pl> (tiny change)
2126 * ispell.el (ispell-set-spellchecker-params):
2127 Really set `ispell-args' for all equivs.
2129 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2131 * ido.el (ido-completions): Use extra elements of ido-decorations
2133 (ido-decorations): Update docstring.
2135 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
2137 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2138 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
2139 nil during initialization, in order not to miss changes since the
2140 file was opened. (Bug#14140)
2142 2013-04-05 Leo Liu <sdl.web@gmail.com>
2144 * kmacro.el (kmacro-call-macro): Fix bug#14135.
2146 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
2148 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
2150 2013-04-04 Glenn Morris <rgm@gnu.org>
2152 * electric.el (electric-pair-inhibit-predicate): Add :version.
2154 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2156 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
2157 when a package is required several times (bug#14082).
2159 2013-04-04 Roland Winkler <winkler@gnu.org>
2161 * faces.el (read-face-name): Behave as promised by the docstring.
2162 Assume that arg default is a list of faces.
2163 (describe-face): Call read-face-name with list of default faces.
2165 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2167 * bookmark.el: Fix deletion of bookmarks (bug#13972).
2168 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
2169 (bookmark-bmenu-execute-deletions): Only skip first line if it's
2171 (bookmark-exit-hook-internal): Save even if list is empty.
2173 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
2175 * emacs-lisp/package.el (package-pinned-packages): New var.
2176 (package--add-to-archive-contents): Obey it (bug#14118).
2178 2013-04-03 Alan Mackenzie <acm@muc.de>
2180 Handle `parse-partial-sexp' landing inside a comment opener
2181 (Bug#13244). Also adapt to the new values of element 7 of a parse
2184 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
2185 parameter `not-in-delimiter'. Handle being inside comment opener.
2186 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
2187 character in case we're typing a '*' after a '/'.
2188 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
2189 instead by passing the parameter to c-state-pp-to-literal.
2191 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
2192 for elt. 7 of a parse state.
2194 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
2196 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
2197 * international/latin1-disp.el, international/mule-util.el:
2198 * language/cyril-util.el, language/european.el, language/ind-util.el:
2199 * language/lao-util.el, language/thai.el, language/tibet-util.el:
2200 * language/tibetan.el, language/viet-util.el:
2201 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
2203 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
2205 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
2206 (electric-pair-post-self-insert-function): Use it.
2207 (electric-pair-default-inhibit): New function, extracted from
2208 electric-pair-post-self-insert-function.
2210 2013-03-31 Roland Winkler <winkler@gnu.org>
2212 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
2214 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
2216 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
2218 2013-03-30 FabiĂ¡n Ezequiel Gallina <fabian@anue.biz>
2220 Un-indent after "pass" and "return" statements (Bug#13888)
2221 * progmodes/python.el (python-indent-block-enders): New var.
2222 (python-indent-calculate-indentation): Use it.
2224 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
2226 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
2227 defun. Defining it as defalias could introduce too eager
2228 byte-compiler optimization. (Bug#14030)
2230 2013-03-30 Chong Yidong <cyd@gnu.org>
2232 * iswitchb.el (iswitchb-read-buffer): Fix typo.
2234 2013-03-30 Leo Liu <sdl.web@gmail.com>
2236 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
2237 (kmacro-execute-from-register): Pass the keyboard macro to
2238 kmacro-call-macro or repeating won't work correctly.
2240 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
2242 * progmodes/subword.el: Back to using `forward-symbol'.
2244 * subr.el (forward-whitespace, forward-symbol)
2245 (forward-same-syntax): Move from thingatpt.el.
2247 2013-03-29 Leo Liu <sdl.web@gmail.com>
2249 * kmacro.el (kmacro-to-register): New command.
2250 (kmacro-execute-from-register): New function.
2251 (kmacro-keymap): Bind to 'x'. (Bug#14071)
2253 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
2255 * mpc.el: Use defvar-local and setq-local.
2256 (mpc--proc-connect): Connection failures are not bugs.
2257 (mpc-mode-map): `follow-link' only applies to the buffer's content.
2258 (mpc-volume-map): Bind to the up-events.
2260 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
2262 * progmodes/subword.el (superword-mode): Use `forward-sexp'
2263 instead of `forward-symbol'.
2265 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2267 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
2268 (edebug--recursive-edit): Use it.
2269 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
2270 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
2272 2013-03-28 Leo Liu <sdl.web@gmail.com>
2274 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
2276 2013-03-27 Eli Zaretskii <eliz@gnu.org>
2278 * facemenu.el (list-colors-callback): New defvar.
2279 (list-colors-redisplay): New function.
2280 (list-colors-display): Install list-colors-redisplay as the
2281 revert-buffer-function. (Bug#14063)
2283 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2285 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
2286 and suffixes don't overlap (bug#14061).
2288 * case-table.el: Use lexical-binding.
2289 (case-table-get-table): New function.
2290 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
2292 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
2294 * progmodes/subword.el: Add `superword-mode' to do word motion
2295 over symbol_words (parallels and leverages `subword-mode' which
2296 does word motion inside MixedCaseWords).
2298 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
2300 * eshell/em-unix.el: Move su and sudo to...
2301 * eshell/em-tramp.el: ...Eshell tramp module.
2303 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2305 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
2306 Change return value to be a sexp. Delay `get-buffer' to after
2307 restoring the desktop (bug#13951).
2309 2013-03-26 Leo Liu <sdl.web@gmail.com>
2311 * register.el: Move semantic tag handling back to
2312 cedet/semantic/senator.el. (Bug#14052)
2314 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2316 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
2317 into the prompt either (bug#13963).
2319 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
2321 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
2322 part of "(error-foo)".
2324 2013-03-24 Juri Linkov <juri@jurta.org>
2326 * replace.el (list-matching-lines-prefix-face): New defcustom.
2327 (occur-1): Pass `list-matching-lines-prefix-face' to the function
2328 `occur-engine' if `face-differs-from-default-p' returns t.
2329 (occur-engine): Add `,' inside backquote construct to evaluate
2330 `prefix-face'. Propertize the prefix with the `prefix-face' face.
2331 Pass `prefix-face' to the functions `occur-context-lines' and
2332 `occur-engine-add-prefix'.
2333 (occur-engine-add-prefix, occur-context-lines): Add optional arg
2334 `prefix-face' and propertize the prefix with `prefix-face'.
2337 2013-03-24 Leo Liu <sdl.web@gmail.com>
2339 * nxml/rng-valid.el (rng-validate-while-idle)
2340 (rng-validate-quick-while-idle): Guard against deleted buffer.
2343 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
2344 is the last entry in kill-buffer-hook.
2346 * files.el (kill-buffer-hook): Doc fix.
2348 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
2350 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
2353 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
2355 2013-03-23 Leo Liu <sdl.web@gmail.com>
2357 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
2360 * nxml/rng-valid.el (rng-validate-mode)
2361 (rng-after-change-function, rng-do-some-validation):
2362 * nxml/rng-maint.el (rng-validate-buffer):
2363 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
2364 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
2365 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
2366 (nxml-extend-after-change-region): Use with-silent-modifications.
2368 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
2371 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
2372 (rng-next-error-1, rng-previous-error-1): Do not let-bind
2373 timer-idle-list. (Bug#13999)
2375 2013-03-23 Juri Linkov <juri@jurta.org>
2377 * info.el (info-index-match): New face.
2378 (Info-index, Info-apropos-matches): Add a nested subgroup to the
2379 main pattern and add text properties with the new face to matches
2380 in index entries relative to the beginning of the index entry.
2383 2013-03-21 Eric Ludlam <zappo@gnu.org>
2385 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
2386 Inhibit read only while inserting objects.
2388 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
2390 * progmodes/cfengine.el: Update docs to mention
2391 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
2392 symbol motion. Remove "_" from the word syntax.
2394 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
2396 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
2397 syntax for both `cfengine2-mode' and `cfengine3-mode'.
2399 2013-03-20 Juri Linkov <juri@jurta.org>
2401 * info.el (Info-next-reference-or-link)
2402 (Info-prev-reference-or-link): New functions.
2403 (Info-next-reference, Info-prev-reference): Use them.
2404 (Info-try-follow-nearest-node): Handle footnote navigation.
2405 (Info-fontify-node): Fontify footnotes. (Bug#13989)
2407 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2409 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
2410 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
2412 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
2414 Suppress unnecessary non-ASCII chatter during build process.
2415 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
2416 (batch-skkdic-convert): Suppress most of the chatter.
2417 It's not needed so much now that machines are faster,
2418 and its non-ASCII component was confusing; see Dmitry Gutov in
2419 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
2421 2013-03-20 Leo Liu <sdl.web@gmail.com>
2423 * ido.el (ido-chop): Fix bug#10994.
2425 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2427 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
2429 (whitespace-color-on, whitespace-color-off):
2430 Use `font-lock-fontify-buffer' (Bug#13817).
2432 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
2434 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
2435 remapping in mode-line.
2436 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
2438 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2440 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
2441 value for `whitespace-line' face (Bug#13875).
2442 (whitespace-font-lock-keywords): Change description.
2443 (whitespace-color-on): Don't save `font-lock-keywords' value, save
2444 the constructed keywords instead.
2445 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
2447 2013-03-19 Leo Liu <sdl.web@gmail.com>
2449 * progmodes/compile.el (compilation-display-error): New command.
2450 (compilation-mode-map, compilation-minor-mode-map): Bind it to
2453 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2455 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
2457 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
2459 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
2461 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
2463 * net/tramp-compat.el (tramp-compat-user-error): New defun.
2465 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2466 * net/tramp-gvfs.el (top):
2467 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
2468 (tramp-handle-shell-command): Use it.
2469 (tramp-dissect-file-name): Raise an error when hostname is a
2470 method name, and neither method nor user is specified.
2472 * net/trampver.el: Update release number.
2474 2013-03-18 Leo Liu <sdl.web@gmail.com>
2476 Make sure eldoc can be turned off properly.
2477 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
2479 (eldoc-display-message-p): Revert last change.
2480 (eldoc-display-message-no-interference-p)
2481 (eldoc-print-current-symbol-info): Tweak.
2483 2013-03-18 Tassilo Horn <tsdh@gnu.org>
2485 * doc-view.el (doc-view-new-window-function): Check the new window
2486 overlay's display property instead the char property of the
2487 buffer's first char. Use `with-selected-window' instead of
2488 `save-window-excursion' with `select-window'.
2489 (doc-view-document->bitmap): Check the current doc-view overlay's
2490 display property instead the char property of the buffer's first char.
2492 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2494 Automate the build of ja-dic.el (Bug#13984).
2495 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
2496 from the input, rather than assume that it's been done for us by the
2497 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
2498 the current date into a ja-dic.el comment, as that complicates
2501 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2503 * whitespace.el: Fix double evaluation.
2504 (whitespace-space, whitespace-hspace, whitespace-tab)
2505 (whitespace-newline, whitespace-trailing, whitespace-line)
2506 (whitespace-space-before-tab, whitespace-indentation)
2507 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
2509 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
2510 (whitespace-color-on): Use a single font-lock-add-keywords call.
2511 Fix double-evaluation of face variables.
2513 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
2515 * net/tramp-adb.el (tramp-adb-parse-device-names):
2516 Use `start-process' instead of `call-process'. Otherwise, the
2517 function might be blocked under MS Windows. (Bug#13299)
2519 2013-03-17 Leo Liu <sdl.web@gmail.com>
2521 Extend eldoc to display info in the mode-line. (Bug#13978)
2522 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
2523 (eldoc-mode-line-string): New variable.
2524 (eldoc-minibuffer-message): New function.
2525 (eldoc-message-function): New variable.
2526 (eldoc-message): Use it.
2527 (eldoc-display-message-p)
2528 (eldoc-display-message-no-interference-p):
2529 Support eldoc-post-insert-mode.
2531 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
2532 (eval-expression): Run it.
2534 2013-03-17 Roland Winkler <winkler@gnu.org>
2536 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
2537 strings in the list of return values.
2539 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2541 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
2542 radix before checking for HMS forms.
2544 2013-03-16 Leo Liu <sdl.web@gmail.com>
2546 * progmodes/scheme.el: Add indentation and font-locking for λ.
2549 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
2551 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
2552 token before point (bug#13942).
2554 2013-03-16 Leo Liu <sdl.web@gmail.com>
2556 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
2558 2013-03-16 Eli Zaretskii <eliz@gnu.org>
2560 * startup.el (command-line-normalize-file-name): Fix handling of
2561 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
2562 <xfq.free@gmail.com> in
2563 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
2565 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
2567 Sync with Tramp 2.2.7.
2569 * net/trampver.el: Update release number.
2571 2013-03-14 Tassilo Horn <tsdh@gnu.org>
2573 * doc-view.el Fix bug#13887.
2574 (doc-view-insert-image): Don't modify overlay associated to
2575 non-live windows, and implement horizontal centering of image in
2576 case it's smaller than the window.
2577 (doc-view-new-window-function): Force redisplay of new windows on
2580 2013-03-13 Karl Fogel <kfogel@red-bean.com>
2582 * saveplace.el (save-place-alist-to-file): Don't sort
2583 `save-place-alist', just pretty-print it (bug#13882).
2585 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
2587 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
2588 whether `default-file-name-coding-system' is bound. It isn't in
2591 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
2593 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
2594 backquotes for `obsolete' (bug#13929).
2596 * international/mule.el (find-auto-coding): Include file name in
2597 obsolescence warning (bug#13922).
2599 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
2601 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
2602 for CFEngine 3-specific indentation.
2603 (cfengine3-indent-line): Use it. Fix up category regex.
2604 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
2606 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2608 * type-break.el (type-break-file-name):
2609 * textmodes/remember.el (remember-data-file):
2610 * strokes.el (strokes-file):
2611 * shadowfile.el (shadow-initialize):
2612 * saveplace.el (save-place-file):
2613 * ps-bdf.el (bdf-cache-file):
2614 * progmodes/idlwave.el (idlwave-config-directory):
2615 * net/quickurl.el (quickurl-url-file):
2616 * international/kkc.el (kkc-init-file-name):
2617 * ido.el (ido-save-directory-list-file):
2618 * emulation/viper.el (viper-custom-file-name):
2619 * emulation/vip.el (vip-startup-file):
2620 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2621 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
2623 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
2625 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
2626 * language/thai-word.el: Switch to UTF-8.
2628 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2630 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
2632 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2634 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
2635 Use with-current-buffer and don't move point.
2636 (net-utils-run-simple): Remove useless code.
2637 (net-utils-remove-ctl-m): Remove unused custom.
2639 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
2641 * international/characters.el (glyphless-set-char-table-range): New fun.
2642 (update-glyphless-char-display): Use it (bug#13744).
2644 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
2646 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
2647 namespaces in the syntax, indent closer for hanging brace
2648 correctly, allow single-quote delimited 'strings', and make
2649 `cfengine3-mode' the default.
2651 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
2653 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
2654 Use lexical-binding. Fix up docstring according to conventions.
2655 (gdbmi-debug-mode): New var.
2656 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
2657 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
2658 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
2659 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
2660 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
2661 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
2662 (gdbmi-bnf-incomplete-record-result): New functions.
2663 (gdb-car<): Remove function.
2664 (gdbmi-record-list): Remove variable.
2665 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
2666 (gdbmi-bnf-result-state-configs): New const.
2667 (gud-gdbmi-marker-filter): Rewrite.
2668 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
2669 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
2670 Add `token' argument.
2671 (gdb-done, gdb-error): New functions.
2672 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
2674 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2676 * term/xterm.el (xterm--report-background-handler): Don't burp
2678 (xterm--version-handler): Extract from terminal-init-xterm.
2679 (xterm--query): Don't mishandle timeout. Remove debugging messages.
2680 Allow multiple handlers.
2681 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
2683 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
2684 (xterm--report-background-handler, xterm--query): New functions.
2685 (terminal-init-xterm): Use them.
2687 2013-03-11 Michael R. Mauger <michael@mauger.com>
2689 * progmodes/sql.el Version 3.2
2690 Please note that my address changed to <michael@mauger.com>;
2691 the <mmaug@yahoo.com> address remains active.
2692 (sql-connection-alist): Updates documentation to fix bug#13715.
2693 (sql-connect): Handle missing `sql-connection-alist' correctly.
2694 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
2695 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
2697 (sql-default-value): New function.
2698 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
2699 values were not used.
2700 (sql-rename-buffer): Make sure alternate buffer name has no text
2702 (sql-input-sender, sql-execute-feature): Fetch variable with
2703 `buffer-local-value' rather than `with-current-buffer'.
2704 (sql-*): Use #' function syntax consistently.
2705 (sql-*): Use message/error/user-error consistently.
2707 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2709 * xt-mouse.el (xterm-mouse-event-read): Remove.
2710 (xterm-mouse--read-event-sequence-1000)
2711 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
2713 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2715 * term/xterm.el (xterm-function-map): Support format used with
2716 formatOtherKeys=1 (bug#13839).
2718 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
2719 (with-no-warnings): Use `declare'.
2721 * whitespace.el (whitespace-enable-predicate): New variable.
2722 (whitespace-enable-predicate): Use it.
2724 * comint.el (comint-send-input, comint-snapshot-last-prompt)
2725 (comint-output-filter, comint-update-fence):
2726 Use with-silent-modifications.
2728 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
2730 * replace.el (occur-read-regexp-defaults-function): New var.
2731 (occur-read-regexp-defaults): New defun.
2732 (occur-read-primary-args): Propagate above change (bug#13892).
2734 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2736 * mouse.el (mouse-drag-track): Remove left-over debugging code.
2738 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
2740 Major rewrite due to changed D-Bus interface of GVFS 1.14.
2742 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
2743 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
2744 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
2746 (tramp-gvfs-file-name-handler-alist) [directory-files]
2747 [directory-files-and-attributes, file-exists-p, file-modes]:
2748 Use Tramp default handler.
2749 [file-acl, file-selinux-context, process-file, set-file-acl]:
2750 [set-file-modes, set-file-selinux-context, shell-command]:
2751 [start-file-process]: Remove handler.
2752 [verify-visited-file-modtime]: New handler.
2753 (tramp-gvfs-dbus-string-to-byte-array)
2754 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
2755 calls of `dbus-string-to-byte-array' and
2756 `tramp-gvfs-dbus-byte-array-to-string'.
2757 (tramp-gvfs-handle-copy-file)
2758 (tramp-gvfs-handle-delete-directory)
2759 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
2760 (tramp-gvfs-handle-file-directory-p)
2761 (tramp-gvfs-handle-file-executable-p)
2762 (tramp-gvfs-handle-file-name-all-completions)
2763 (tramp-gvfs-handle-file-readable-p)
2764 (tramp-gvfs-handle-file-writable-p)
2765 (tramp-gvfs-handle-insert-directory)
2766 (tramp-gvfs-handle-insert-file-contents)
2767 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
2768 (tramp-gvfs-handle-set-visited-file-modtime)
2769 (tramp-gvfs-handle-write-region): Rewrite.
2770 (tramp-gvfs-handle-file-acl)
2771 (tramp-gvfs-handle-file-selinux-context)
2772 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
2773 (tramp-gvfs-handle-set-file-modes)
2774 (tramp-gvfs-handle-set-file-selinux-context)
2775 (tramp-gvfs-handle-shell-command)
2776 (tramp-gvfs-handle-start-file-process)
2777 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
2778 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
2779 over the symlinks. Fix user handling.
2780 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
2781 of the D-Bus signals.
2782 (tramp-gvfs-connection-mounted-p): Handle different names of the
2784 (tramp-gvfs-mount-spec-entry): New defun.
2785 (tramp-gvfs-mount-spec): Use it.
2786 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
2787 there is a share name. Handle different names of the D-Bus
2788 signals and methods. Set connection properties needed for
2789 `tramp-check-cached-permissions'.
2790 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
2793 * net/tramp.el (tramp-backtrace): Move up.
2794 (tramp-error): Dump a backtrace into the debug buffer when
2796 (tramp-file-mode-type-map, tramp-file-mode-from-int)
2797 (tramp-file-mode-permissions, tramp-get-local-uid)
2798 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
2801 * net/tramp-sh.el (tramp-file-mode-type-map)
2802 (tramp-check-cached-permissions, tramp-file-mode-from-int)
2803 (tramp-file-mode-permissions, tramp-get-local-uid)
2804 (tramp-get-local-gid): Move to tramp.el.
2806 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2808 Separate mouse-1-click-follows-link from mouse-drag-region.
2809 * mouse.el (mouse--down-1-maybe-follows-link): New function.
2810 (key-translation-map): Use it to implement mouse-1-click-follows-link.
2811 (mouse-drag-line, mouse-drag-track):
2812 Remove mouse-1-click-follows-link code.
2813 (mouse--remap-link-click-p): Remove.
2815 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
2817 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
2818 (hi-lock-read-regexp-defaults): New defun.
2819 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2820 (hi-lock-face-phrase-buffer): Propagate above change.
2821 Update docstring (bug#13892).
2823 * subr.el (find-tag-default-as-regexp): New defun.
2824 * replace.el (read-regexp): Propagate above change.
2826 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
2828 * calc/calc-units.el (calc-convert-units): Fix the way that default
2829 new units are stored.
2831 2013-03-07 Matthias Meulien <orontee@gmail.com>
2833 * bookmark.el: Define a face to highlight bookmark names in
2834 bookmark menu buffers, where the default is a bold face similarly
2835 to buffer names in buffer menu buffers.
2836 (bookmark-menu-bookmark): New face to highlight bookmark names.
2837 (bookmark-insert-location): Remove duplicated text property to
2838 conform to buffer list (see `list-buffers').
2839 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
2840 `bookmark-menu-bookmark' to bookmark names.
2842 2013-03-07 Matthias Meulien <orontee@gmail.com>
2843 Karl Fogel <kfogel@red-bean.com>
2845 * bookmark.el: Display the bookmark list header similarly to the
2846 buffer list header (see `list-buffers'), where the default is now
2847 an immovable/immutable header line.
2848 (bookmark-bmenu-use-header-line): New variable.
2849 (bookmark-bmenu-inline-header-height): New name for
2850 `bookmark-bmenu-header-height', to avoid confusion with the code
2851 for the new immovable header. All references changed.
2852 (bookmark-bmenu-set-header): New function.
2853 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
2854 Conditionalize header construction accordingly.
2855 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
2856 the inline header height.
2857 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
2858 Conditionalize the skipping of the inline header height.
2860 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
2862 * progmodes/js.el (js--multi-line-declaration-indentation):
2863 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
2865 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
2867 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2868 Only propertize regexp when not inside a string (Bug#13885).
2870 2013-03-06 Alan Mackenzie <acm@muc.de>
2872 Correct the position of point in some line-up functions.
2873 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
2874 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
2875 point at column 0 rather than at a random place in the line.
2877 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
2879 * net/tramp-compat.el (tramp-compat-delete-directory):
2880 Implement TRASH argument.
2882 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
2884 Keep pre-existing highlighting in completion candidates (Bug#13250).
2885 * minibuffer.el (completions-first-difference): State that the
2886 face is "added" in the docstring.
2887 (completions-common-part): Same. And don't inherit from default.
2888 (completion-hilit-commonality): Prepend 'completions-common-part
2889 and 'completion-first-difference faces to the 'face property,
2890 instead of replacing the value(s).
2891 (completion--insert-strings): Same with 'completions-annotations face.
2892 (completion-hilit-commonality): Use 'face instead of
2893 'font-lock-face, because it gets priority if the completion
2894 strings already have 'face set.
2896 2013-03-04 Alan Mackenzie <acm@muc.de>
2898 Replace `last-command-event' by `last-command-char' in XEmacs.
2899 * progmodes/cc-defs.el (c-last-command-char): New macro.
2900 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
2901 (c-semi&comma-no-newlines-before-nonblanks)
2902 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
2903 in place of `last-command-event'.
2904 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
2905 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
2906 (c-electric-paren, c-electric-continued-statement): Use the new
2907 macro in place of `last-command-event'.
2909 2013-03-04 Glenn Morris <rgm@gnu.org>
2911 * files.el (inhibit-local-variables-regexps):
2912 Add .diff and .patch. (Bug#13862)
2914 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
2916 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
2917 whether the "su" command is available on the device.
2919 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2921 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
2922 (tramp-adb-handle-process-file): Remove superfluous setting.
2923 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
2924 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
2925 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
2927 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
2929 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
2930 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
2931 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
2932 Use dict-key rather than dict-name for the error message.
2934 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2936 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
2937 when reverting (bug#13831).
2939 2013-03-01 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
2941 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2942 Always expand affix-file before storing to protect against changed
2943 `default-directory'.
2944 (ispell-print-if-debug): Make sure message is printed at the end
2945 of the debug buffer.
2947 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2949 * net/tramp.el (tramp-obsolete-methods): New defconst.
2950 (tramp-warned-obsolete-methods): New defvar.
2951 (tramp-find-method): Check for obsolete methods. Map them to a
2952 replacement method if appropriate.
2954 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
2956 (top): Remove completion functions for "scp1", "scp2", "ssh1",
2957 "ssh2" and "plink1".
2959 2013-02-28 Dale Sedivec <dale@codefu.org>
2961 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
2962 Return valid syntax-table property value when converting
2963 quotes within text from string syntax to punctuation syntax (bug#13844).
2965 2013-02-28 Juri Linkov <juri@jurta.org>
2967 * dired-aux.el (dired-diff): If file at point is a backup file,
2968 use its original as the default value, and reverse the order
2969 of arguments to the `diff' call. Doc fix. (Bug#13772)
2971 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
2973 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
2974 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
2976 2013-02-28 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
2978 Initial support for hunspell dictionaries auto-detection (Bug#13639)
2980 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2981 Ask hunspell about available and default dictionaries.
2982 (ispell-parse-hunspell-affix-file): Extract relevant info from
2983 hunspell affix file.
2984 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
2985 `ispell-dictionary-alist' entry for given dictionary after info
2986 provided by `ispell-parse-hunspell-affix-file'.
2987 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
2988 of parsed hunspell dicts and associated affix files.
2989 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
2990 of parsed hunspell dicts and associated parameters.
2991 (ispell-set-spellchecker-params):
2992 Call `ispell-find-hunspell-dictionaries' if hunspell and not
2994 (ispell-start-process):
2995 Call `ispell-hunspell-fill-dictionary-entry' for current
2996 dictionary if it is not initialized.
2998 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
3000 * imenu.el: Comment nitpicks.
3002 2013-02-28 Sam Steingold <sds@gnu.org>
3004 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
3005 See <http://stackoverflow.com/questions/14720205>.
3007 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3009 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
3010 (net-utils-mode): Use it.
3011 (net-utils--revert-cmd): New var.
3012 (net-utils-run-simple): Set it, and remove bogus interactive spec.
3013 (traceroute): Use net-utils-run-simple.
3015 2013-02-28 Glenn Morris <rgm@gnu.org>
3017 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
3019 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
3021 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
3022 (doc-view-fallback-mode): Remove overlays here.
3023 (doc-view-toggle-display): Instead of here. Don't throw away
3024 image-mode-winprops-alist.
3025 (doc-view-goto-page): Don't mess with hscroll.
3027 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3029 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
3030 &optional (bug#13819).
3032 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
3034 * net/tramp-adb.el (tramp-adb-parse-device-names)
3035 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
3037 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
3039 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3040 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
3041 defined. POSIX environments fall back to the "C" locale then and
3042 emit a warning, which shall be suppressed.
3044 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
3046 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
3047 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
3049 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3051 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
3053 2013-02-25 Juri Linkov <juri@jurta.org>
3055 * replace.el (read-regexp): Let-bind `default' to the first
3056 element of `defaults' if it's a list, otherwise it should be
3057 a string or nil. Let-bind `suggestions' to `defaults' if it's
3058 a list, otherwise make a list with the string value. Doc fix.
3061 2013-02-25 Eli Zaretskii <eliz@gnu.org>
3063 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
3064 that match "\`\.#", to avoid compiling lock files, even if they
3065 are readable (as they are on MS-Windows).
3067 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3069 * files.el (basic-save-buffer): Remove redundant directory-creation.
3071 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
3073 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
3074 Add option to force `pi' to remain symbolic.
3075 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
3076 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
3077 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
3078 derivatives, when necessary.
3080 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
3082 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
3083 (ps-mode-octal-region): Use string-make-unibyte.
3085 2013-02-23 Glenn Morris <rgm@gnu.org>
3087 * emulation/viper-cmd.el (viper-submit-report):
3088 * progmodes/ps-mode.el (ps-mode-maintainer-address):
3089 * progmodes/vera-mode.el (vera-mode-help-address):
3090 * textmodes/artist.el (artist-maintainer-address):
3091 * textmodes/reftex.el (reftex-report-bug):
3092 * vc/ediff-util.el (ediff-submit-report):
3093 Add bug-gnu-emacs to bug report address.
3095 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
3096 Remove bug report entries.
3097 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
3099 * emacs-lisp/bytecomp.el (byte-compile-level): New.
3100 (byte-compile-file, byte-compile-from-buffer):
3101 Use separate input/output buffers for each level of recursive
3102 byte-compile-file calls. (Bug#13787)
3104 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
3106 * net/tramp.el (tramp-methods): Fix docstring.
3107 (tramp-ssh-controlmaster-options): Rename it from
3108 `tramp-ssh-controlmaster-template'. Return a string.
3109 (tramp-default-method): Adapt check for
3110 `tramp-ssh-controlmaster-options'.
3112 * net/tramp-sh.el (tramp-methods):
3113 Replace `tramp-ssh-controlmaster-template' by "%c".
3114 (tramp-do-copy-or-rename-file-out-of-band)
3115 (tramp-maybe-open-connection): Use it in format spec. Ensure,
3116 that it is applied for the first hop only.
3118 2013-02-22 Juri Linkov <juri@jurta.org>
3120 * isearch.el (isearch-lazy-highlight-new-loop):
3121 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
3122 to `isearch-other-end' if it is not nil. (Bug#13402)
3124 * replace.el (replace-highlight): Let-bind `isearch-other-end'
3127 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
3128 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
3129 and `isearch-error' to nil.
3131 2013-03-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3133 * progmodes/python.el (python-info-current-defun):
3134 Enhance match-data cluttering prevention.
3136 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
3138 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
3140 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3141 Handle multibyte file names.
3143 2013-02-22 Glenn Morris <rgm@gnu.org>
3145 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
3146 (sgml-transformation-function): Give it a :set function.
3147 (sgml-tag): Doc fix.
3149 * cmuscheme.el (scheme-buffer):
3150 * progmodes/inf-lisp.el (inferior-lisp-buffer):
3151 * progmodes/tcl.el (inferior-tcl-buffer):
3152 * textmodes/tex-mode.el (tex-command): Doc fixes.
3154 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
3156 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
3158 2013-02-21 Bastien Guerry <bzg@gnu.org>
3160 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
3162 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3164 * progmodes/python.el (python-info-current-defun):
3165 Enhance match-data cluttering prevention.
3167 2013-02-21 Glenn Morris <rgm@gnu.org>
3169 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
3170 loaded while outline-regexp is let bound. (Bug#9584)
3172 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3174 * progmodes/python.el (python-info-current-defun): Fix failed
3175 defun name retrieval because of unwanted match-data cluttering.
3177 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
3179 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
3180 defconst. Apply independent check for ControlPersist.
3182 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
3183 temporarily, via "env".
3185 2013-02-21 Glenn Morris <rgm@gnu.org>
3187 * info.el (Info-enable-edit): Remove.
3188 (Info-edit): Disable it rather than using Info-enable.
3189 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
3190 (Info-cease-edit): Make editing of Info files obsolete.
3192 * informat.el (Info-tagify):
3193 Handle buffers not visiting files. (Bug#13763)
3195 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
3197 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
3199 2013-02-21 Glenn Morris <rgm@gnu.org>
3201 * files.el (basic-save-buffer): Move check for existing parent
3202 directory after hooks. (Bug#13773)
3204 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
3206 * simple.el (command-execute): Move from C. Add obsolete check.
3207 (extended-command-history): Move from C.
3209 2013-02-20 Ulrich MĂ¼ller <ulm@gentoo.org>
3211 * jka-cmpr-hook.el (jka-compr-compression-info-list)
3212 (jka-compr-mode-alist-additions): Handle .txz suffix for
3213 XZ-compressed tar archives (bug#13770).
3215 2013-02-20 Bastien Guerry <bzg@gnu.org>
3217 * outline.el (outline-regexp, outline-heading-end-regexp):
3218 Make variables, not options (bug#13731).
3220 2013-02-20 Glenn Morris <rgm@gnu.org>
3222 * image.el (image-current-frame): Change from variable to function.
3223 (image-show-frame): Rename from image-nth-frame. Update callers.
3224 * image-mode.el (image-multi-frame): New variable.
3225 (image-mode-map, image-mode, image-goto-frame):
3226 Use image-multi-frame rather than image-current-frame.
3227 (image-mode, image-goto-frame): Use image-current-frame as
3228 function rather than as variable.
3230 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
3231 * emacs-lisp/cl-macs.el (cl--make-type-test)
3232 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
3234 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3236 * net/tramp-cache.el (tramp-get-hash-table): New defun.
3237 (tramp-get-file-property, tramp-set-file-property)
3238 (tramp-get-connection-property, tramp-set-connection-property): Use it.
3239 (tramp-flush-file-property, tramp-flush-directory-property):
3240 Rename argument to KEY.
3241 (tramp-flush-connection-property): Simplify a little bit.
3242 (tramp-connection-property-p): New defun.
3243 (top): Reapply saved values only if there isn't a corresponding
3244 entry in `tramp-connection-properties'.
3246 2013-02-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3248 * progmodes/python.el (python-indent-context):
3249 Fix python-info-line-ends-backslash-p call.
3250 (python-info-line-ends-backslash-p)
3251 (python-info-beginning-of-backslash): Respect line-number argument.
3252 (python-info-current-line-comment-p):
3253 Fix behavior when not at beginning-of-line.
3254 (python-util-position): Remove function.
3255 (python-util-goto-line): New function.
3257 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3259 * eshell/em-unix.el (eshell/su): Require tramp.
3260 (eshell/sudo): Require tramp. Remove now unnecessary check.
3262 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
3263 `tramp-current-connection' in order to avoid an error when several
3264 commands are invoked in a short time in eshell and friends.
3266 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
3268 Cleanup some of EIEIO's namespace.
3269 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
3270 Use it to define all the class-* and object-* field accessors (renamed
3271 to eieio--class-* and eieio--object-*). Update all uses.
3272 (eieio--class-num-slots, eieio--object-num-slots): Rename from
3273 class-num-slots and object-num-slots.
3274 (eieio--check-type): New macro.
3275 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
3276 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
3277 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
3278 (object-assoc-list-safe): Use it.
3279 (eieio-defclass): Tighten regexp.
3280 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
3281 Remove unreachable code.
3282 (object-class-fast): Declare obsolete.
3283 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
3284 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
3285 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
3286 Rename from class-name, object-name, object-set-name-string,
3287 object-class, object-class-name, class-parents, class-children,
3288 class-precedence-list, class-parent; with obsolete alias.
3289 (class-of, class-direct-superclasses, class-direct-subclasses):
3291 (eieio-defmethod): Use `memq'; remove unreachable code.
3292 * emacs-lisp/eieio-base.el (eieio-persistent-read):
3293 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
3294 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
3296 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
3298 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
3301 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
3303 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
3304 Use font-lock-keyword-face for macros and special forms (bug#8345).
3306 2013-02-17 Didier Verna <didier@didierverna.net>
3308 * net/network-stream.el (network-stream-open-starttls):
3309 Check that response to the starttls-command is non-nil. (Bug#13706)
3311 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3313 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
3314 Don't assume all identifier chars have syntax word.
3315 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3316 Remove bar-not-symbol. Adjust callers.
3317 (lisp-mode-variables): Don't set a font-lock-syntax-table.
3319 2013-02-17 Leo Liu <sdl.web@gmail.com>
3321 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
3323 2013-02-17 Glenn Morris <rgm@gnu.org>
3325 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
3327 * image-mode.el (image-mode-map): Add image-dired menu entry.
3329 * image-dired.el (tumme): Make this alias obsolete.
3331 2013-02-16 Glenn Morris <rgm@gnu.org>
3333 * image.el (image-animated-types): Remove.
3334 (image-multi-frame-p): Rename from image-animated-p, and generalize.
3335 (image-animated-p): Make obsolete alias.
3336 (image-animate, image-nth-frame, image-animate-timeout):
3337 Use image-multi-frame-p.
3338 (image-animate-timeout): If no delay, use image-default-frame-delay.
3339 * image-mode.el (image-mode, image-toggle-animation):
3340 Use image-multi-frame-p. (Bug#763, bug#10739)
3341 (image-mode): Adjust startup message for a multi-frame image.
3343 * image-mode.el (image-mode-map): Give it a menu.
3345 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
3347 * net/tramp-cache.el (tramp-connection-properties): New customer
3349 (tramp-get-connection-property): Use it.
3351 * net/tramp-compat.el (top): Require 'trampver.
3353 * net/tramp-sh.el (tramp-remote-process-environment):
3354 Set tramp-autoload cookie.
3356 2013-02-16 Kevin Ryde <user42@zip.com.au>
3358 * info-look.el (info-lookup-select-mode): If major-mode has no
3359 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
3361 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
3363 * replace.el (read-regexp): Tighten the regexp that matches tag.
3364 When tag is retrieved with `find-tag-default', use regexp that
3365 matches tag at point. Also update docstring (Bug#13687).
3367 2013-02-16 Eli Zaretskii <eliz@gnu.org>
3369 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
3370 add watch for the file, not its parent directory, since w32notify
3371 sets up the watch for the directory internally. (Bug#13725)
3373 2013-02-16 Glenn Morris <rgm@gnu.org>
3375 * image.el (image-default-frame-delay): New variable.
3376 (image-animated-p): Use image-default-frame-delay.
3377 (image-minimum-frame-delay): New constant.
3378 (image-animate-timeout): Use image-minimum-frame-delay.
3380 * image.el (image-nth-frame): New, split from image-animate-timeout.
3381 (image-animate-timeout): Use image-nth-frame.
3382 * image-mode.el (image-goto-frame, image-next-frame)
3383 (image-previous-frame): New commands.
3384 (image-mode-map): Add new frame commands.
3386 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
3388 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
3389 If col-desc already has help-echo, use it. (Bug#13563)
3391 2013-02-16 Glenn Morris <rgm@gnu.org>
3393 * image.el (image-current-frame): New variable.
3394 (image-animate-timeout): Set image-current-frame.
3395 * image-mode.el (image-mode): For animated images,
3396 display a frame counter via mode-line-process.
3398 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
3400 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3402 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
3404 2013-02-15 Alan Mackenzie <acm@muc.de>
3406 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
3407 global minor mode has been enabled, call the minor mode function
3408 for a new buffer once only, after the major mode hook, whilst
3409 allowing that hook explicitly to disable the minor mode.
3410 (MODE-disable-in-buffer): New (generated) function.
3411 (disable-MODE): New (generated) buffer local variable.
3413 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
3415 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
3416 `iswitchb-next-match' and `iswitchb-prev-match' resply.
3417 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
3418 `ido-next-match' and `ido-prev-match' resply.
3419 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
3420 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
3421 `icomplete-backward-completions' (Bug#13708).
3423 2013-02-15 Glenn Morris <rgm@gnu.org>
3425 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3427 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3429 * net/goto-addr.el (goto-address-fontify): Add start and end args.
3430 (goto-address-fontify-region): Use them instead of narrowing, so
3431 syntax-ppss has access to the whole buffer.
3433 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3435 * progmodes/python.el: Explain how to restore "cc-mode"-like
3436 forward-sexp movement in header documentation (Bug#13642).
3437 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
3438 comments and strings (GH bug 114).
3440 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3442 * progmodes/python.el (python-info-current-defun): Fix current
3443 defun detection (Bug#13618).
3445 2013-02-15 Chong Yidong <cyd@gnu.org>
3447 * xml.el (xml-parse-string): Fix typo in handling of bad character
3450 2013-02-15 Glenn Morris <rgm@gnu.org>
3452 * play/fortune.el (fortune-compile): Simplify and fix previous change.
3454 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
3456 * net/tramp.el (tramp-debug-message):
3457 Add `tramp-condition-case-unless-debug'.
3458 (tramp-debug-on-error): New defvar.
3459 (tramp-condition-case-unless-debug): New defun.
3460 (tramp-file-name-handler): Use it.
3462 2013-02-14 Juri Linkov <juri@jurta.org>
3464 * info.el (Info-isearch-filter): Treat non-nil values of
3465 `search-invisible' including its default value `open'
3466 like the value `t' to match hidden text. (Bug#13402)
3468 2013-02-14 Glenn Morris <rgm@gnu.org>
3470 * help-fns.el (find-lisp-object-file-name): Give special treatment
3471 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
3473 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
3475 * net/quickurl.el (quickurl-save-urls):
3476 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
3478 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
3480 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
3481 depth for unfinished percent literal. Not using it in the caller.
3482 (ruby-move-to-block): Jump over multiline literals of all types,
3483 ignoring code-looking contents inside them.
3484 (ruby-add-log-current-method): Improve performance at the expense
3485 of accuracy. `ruby-block-contains-point' is relatively slow, so
3486 only use it for method and singleton class blocks.
3488 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3490 Use ControlMaster where applicable. (Bug#13677)
3492 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
3493 replacing `tramp-detect-ssh-controlmaster'.
3494 (tramp-default-method): Use it.
3496 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
3497 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
3499 [scpc, rsyncc]: Remove methods.
3500 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
3502 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
3503 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
3505 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3507 * emacs-lisp/package.el (package--initialized): Move before first use.
3509 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
3511 * icomplete.el (icomplete-hide-common-prefix): New user option.
3512 (icomplete-first-match): New face.
3513 (icomplete-completions): Correct handling of "complete but not
3514 unique" (Bug#12638).
3516 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
3518 * descr-text.el (describe-char): Display the script (bug#13698).
3520 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3522 * tmm.el: Use lexical-binding and current-active-maps.
3523 (tmm-menubar): Use map-keymap and pcase.
3524 (tmm--completion-table): New function.
3525 (tmm-prompt): Use it to fix the menu order.
3526 (tmm-get-keybind): Use current-active-maps.
3528 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
3530 Add dired-hide-details-mode. (Bug#6799)
3532 * locate.el (locate-mode): Set parent mode property to dired-mode.
3534 * find-dired.el (find-dired): Call dired-insert-set-properties on
3535 initial information line. Set process mark on end of buffer.
3536 (find-dired-sentinel):
3537 Call dired-insert-set-properties on summary.
3539 * dired.el (dired-hide-details-hide-symlink-targets)
3540 (dired-hide-details-hide-information-lines): New options.
3541 (dired-insert-directory):
3542 Set properties after final treatment of output.
3543 (dired-insert-set-properties):
3544 Set dired-hide-details-* properties.
3545 (dired-mode-map): Bind dired-hide-details-mode.
3546 (dired-mode): Set buffer-invisibility-spec to a list.
3547 (dired-next-line): Skip hidden lines.
3548 (dired-previous-line): Use dired-next-line.
3549 (dired-hide-details-mode): New minor mode.
3550 (dired-hide-details-update-invisibility-spec): New function.
3552 2013-02-13 Glenn Morris <rgm@gnu.org>
3554 * play/yow.el: Move to obsolete/. (Bug#9384)
3556 2013-02-13 Juri Linkov <juri@jurta.org>
3558 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
3559 to select `ediff-control-frame' and set input focus correctly on Xfce.
3562 2013-02-13 Juri Linkov <juri@jurta.org>
3564 * image-mode.el (image-mode-map):
3565 * doc-view.el (doc-view-mode-map):
3566 * vc/ediff-util.el (ediff-setup-keymap):
3567 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3569 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
3571 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
3572 performance. Instead of recalculating indentation fully for each
3573 line, sum up indentation depth based only on visited lines.
3574 (ruby-parse-partial): Increase the depth after "do" even when END
3576 (ruby-parse-partial): When END is in the middle of a percent
3577 literal, increase the depth if the delimiter chars belong to the
3580 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
3582 * play/fortune.el (fortune-compile): Also make the compiled file
3583 if it does not exist at all, not just if it is old. (Bug#5338)
3585 2013-02-13 Glenn Morris <rgm@gnu.org>
3587 * emacs-lisp/package.el (package-menu-execute): Doc fix.
3589 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
3591 * lisp/emacs-lisp/package.el (package-menu-execute):
3592 Add optional noquery argument. (Bug#13625)
3594 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3596 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
3597 if DIR exists and PARENTS is non-nil.
3599 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
3601 * progmodes/js.el (js--multi-line-declaration-indentation):
3602 Silence byte-compiler warning.
3604 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
3606 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
3608 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
3609 only if it doesn't exist.
3611 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3614 2013-02-12 Tassilo Horn <tsdh@gnu.org>
3616 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
3617 UserInstallation when calling soffice to work around LibreOffice
3620 2013-02-12 Glenn Morris <rgm@gnu.org>
3622 * files.el (basic-save-buffer):
3623 Offer to create a non-existing directory. (Bug#3016)
3625 * calc/calc-graph.el (calc-graph-show-dumb):
3626 * calendar/calendar.el (calendar-mode-map):
3627 * cus-edit.el (custom-mode-map):
3628 * ehelp.el (electric-help-map):
3629 * emulation/vip.el (vip-mode-map):
3630 * epa.el (epa-key-list-mode-map):
3631 * info.el (Info-mode-map):
3632 * mail/rmail.el (rmail-mode-map):
3633 * mail/rmailsum.el (rmail-summary-mode-map):
3634 * man.el (Man-mode-map):
3635 * net/newst-plainview.el (newsticker-mode-map):
3636 * progmodes/cpp.el (cpp-edit-mode-map):
3637 * progmodes/grep.el (grep-mode-map):
3638 * progmodes/idlw-help.el (idlwave-help-mode-map):
3639 * simple.el (special-mode-map):
3640 * startup.el (splash-screen-keymap):
3641 * view.el (view-mode-map):
3642 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3644 2013-02-11 Elias Pipping <pipping@lavabit.com>
3646 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
3649 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
3651 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
3653 2013-02-11 Glenn Morris <rgm@gnu.org>
3655 * vc/diff.el (diff-use-labels): New variable.
3656 (diff-no-select): Use --label rather than -L, and first
3657 check that it is supported. (Bug#11067)
3659 * files.el (enable-dir-local-variables): New variable.
3660 (hack-dir-local-variables): Respect enable-dir-local-variables.
3661 * tutorial.el (help-with-tutorial):
3662 Ignore directory-local variables. (Bug#11127)
3664 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
3665 (vc-svn-global-switches): ... to here. (Bug#13513)
3667 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
3669 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
3670 Handle "foo (bar, default: xxx): " prompts.
3672 2013-02-10 Chong Yidong <cyd@gnu.org>
3674 * files.el (basic-save-buffer-1): Do not set
3675 buffer-file-coding-system-explicit (Bug#4533).
3677 * mail/emacsbug.el (report-emacs-bug): Change binding of
3678 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
3680 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
3682 * calc/calc.el (calc-allow-units-as-numbers): New variable.
3683 * calc/calc-units.el (calc-convert-units): Use new variable.
3685 2013-02-09 Eli Zaretskii <eliz@gnu.org>
3687 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
3689 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
3692 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
3693 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
3694 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
3695 coding-system-for-write instead.
3697 * jka-compr.el (jka-compr-write-region): Don't bind
3700 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
3703 * files.el (file-name-buffer-file-type-alist): Remove defvar.
3704 (insert-file-contents-literally): Remove reference to
3705 file-name-buffer-file-type-alist.
3707 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
3709 (find-buffer-file-type-match, find-buffer-file-type): Remove.
3710 (find-buffer-file-type-coding-system): Remove references to
3711 find-buffer-file-type-match, find-buffer-file-type, and
3713 Don't put find-buffer-file-type-coding-system into
3714 file-coding-system-alist.
3715 (find-file-binary, find-file-text): Bind coding-system-for-read
3716 instead of file-name-buffer-file-type-alist.
3718 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
3720 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
3721 converter (Bug#13622).
3722 (doc-view-unoconv-program): Make obsolete alias.
3723 (doc-view-odf->pdf-converter-program): New variable.
3724 (doc-view-odf->pdf-converter-function): New variable.
3725 (doc-view-mode-p): Use it.
3726 (doc-view-odf->pdf-converter-unoconv):
3727 Rename from `doc-view-odf->pdf-converter-unoconv'.
3728 (doc-view-odf->pdf-converter-soffice): New function.
3729 (doc-view-convert-current-doc):
3730 Use `doc-view-odf->pdf-converter-function'.
3732 2013-02-09 Chong Yidong <cyd@gnu.org>
3734 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
3735 view-echo-area-messages (Bug#13340).
3737 * help.el (view-echo-area-messages): Use display-buffer.
3739 * dired-x.el (dired-do-run-mail): Prompt for confirmation
3742 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
3744 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
3745 Eval body right away, now that we do eager macroexpansion (bug#13605).
3747 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
3748 (fundamental-mode): Use run-mode-hooks.
3750 * eshell/esh-proc.el (eshell/kill): Fix last change.
3751 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
3753 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
3755 * eshell/esh-proc.el (eshell/kill): Rewrite.
3757 * eshell/em-ls.el (show-almost-all): Declare.
3758 (eshell-do-ls): Add support for -A argument.
3760 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
3762 * icomplete.el (icomplete-forward-completions)
3763 (icomplete-backward-completions): Handle corner case (bug#13602).
3765 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
3767 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
3768 be nil. Handle this. (Bug#13636)
3770 2013-02-07 Richard Stallman <rms@gnu.org>
3772 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
3773 `save-buffer-coding-system'.
3775 2013-02-07 Alan Mackenzie <acm@muc.de>
3777 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
3778 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
3779 (c-parse-state-get-strategy): Don't return 'BOD any more.
3780 (c-append-lower-brace-pair-to-state-cache):
3781 Extra parameter HERE instead of narrowing.
3782 Widen to top of buffer before searching backwards for a brace pair.
3783 (c-state-push-any-brace-pair): Add HERE parameter to function call.
3784 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
3785 Narrow to parameter HERE, in place of being called narrowed.
3786 (c-remove-stale-state-cache): Extra parameter HERE in place of
3787 narrowing. Check there's an open brace in the cache before
3788 searching for its match.
3789 (c-invalidate-state-cache-1): Add HERE parameter to function call.
3790 (c-parse-state-1): Don't narrow here for 'forward strategy,
3791 instead passing extra parameter HERE to several functions.
3792 Remove 'BOD strategy.
3794 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
3796 * emacs-lisp/package.el (describe-package-1): Tell what archive is
3797 used to install the package.
3799 2013-02-06 Glenn Morris <rgm@gnu.org>
3801 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
3802 if we can't get user input. (Bug#6567)
3804 * startup.el (command-line): If simple.el is missing,
3805 test and warn about for some possible causes.
3807 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
3809 * cus-start.el (all): Add ns-use-native-fullscreen.
3811 2013-02-05 Glenn Morris <rgm@gnu.org>
3813 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
3815 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3816 Fix directory creation in fallback case.
3818 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3820 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
3821 (vc-update-change-log): Use dolist.
3823 2013-02-04 Chong Yidong <cyd@gnu.org>
3825 * thingatpt.el: Rewrite the URL detection routines, absorbing some
3827 (thing-at-point-beginning-of-url-regexp): New var.
3828 (thing-at-point-uri-schemes): Update list of URI schemes.
3829 (thing-at-point-url-regexp): Variable deleted.
3830 (thing-at-point-markedup-url-regexp): Disallow newlines.
3831 (thing-at-point-newsgroup-regexp)
3832 (thing-at-point-newsgroup-heads)
3833 (thing-at-point-default-mail-uri-scheme): New variables.
3834 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
3835 method to find the possible bounds of the URI at point.
3836 New optional argument to find ill-formed URIs.
3837 (thing-at-point-url-at-point): Rewrite. New arguments for finding
3838 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
3839 the scheme-adding heuristics from ffap-url-at-point.
3840 (thing-at-point--bounds-of-well-formed-url): New function.
3841 Do parens matching to decide whether to include parens in the URI
3844 * ffap.el: Require thingatpt.
3845 (ffap-url-at-point): Delegate URI detection to thing-at-point.
3846 All URI-valid characters are now recognized (Bug#5673).
3847 (ffap-string-at-point): Use use-region-p.
3848 (ffap-url-regexp): Extra character is handled by thing-at-point.
3849 (ffap-string-at-point-mode-alist): Allow parentheses.
3850 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
3851 Convert to aliases; code moved to thingatpt.el.
3852 (ffap-gnus-hook): Use setq-local.
3854 2013-02-04 Glenn Morris <rgm@gnu.org>
3856 * emacs-lisp/ert.el (ert--explain-format-atom):
3857 Don't try to print non-characters as characters. (Bug#13543)
3859 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
3861 * net/tramp.el (tramp-debug-message): Extend function exclude list.
3862 (tramp-backtrace): New defun.
3863 (tramp-handle-insert-file-contents): Use `visit' when inserting
3866 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
3867 Use `remote-file-name-inhibit-cache'.
3869 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
3871 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
3874 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
3875 current-load-list (bug#13366).
3877 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
3879 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3880 Identify g++ template instantiation trace. (Bug#12287)
3881 (compilation-mode-hook, compilation-start-hook)
3882 (compilation-window-height): Simplify docstrings. (Bug#13379)
3884 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3886 * mouse.el (mouse-drag-track): Always deactivate the mark before
3887 running the final event's command since that command is in charge of
3888 activating the mark if needed (bug#13523).
3890 2013-02-02 Juri Linkov <juri@jurta.org>
3892 * replace.el (perform-replace): Move let-bindings of isearch-*
3893 variables deeper to the loop that searches for the next match.
3894 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
3895 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
3898 * isearch.el (isearch-search-fun-default): Check for null
3899 first element of isearch-cmds as a precaution when it's used
3900 with inactive isearch.
3902 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
3904 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
3905 error when buffer in question is narrowed so position 1 is out of
3908 2013-02-02 Glenn Morris <rgm@gnu.org>
3910 * textmodes/remember.el (remember-clipboard): Doc fix.
3912 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3914 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
3915 properties (bug#13179).
3917 2013-02-02 Juri Linkov <juri@jurta.org>
3919 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
3920 instead of hard-coded default face `match'. (Bug#9438)
3922 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
3924 * vc/vc-arch.el (vc-arch-registered):
3925 * vc/vc-bzr.el (vc-bzr-registered):
3926 * vc/vc-cvs.el (vc-cvs-registered):
3927 * vc/vc-git.el (vc-git-registered):
3928 * vc/vc-hg.el (vc-hg-registered):
3929 * vc/vc-mtn.el (vc-mtn-registered):
3930 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
3933 * info.el (Info-next-reference, Info-prev-reference): Add numeric
3934 prefix argument. (Bug#11656)
3936 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
3938 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
3940 2013-02-01 Glenn Morris <rgm@gnu.org>
3942 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
3943 if the backend is known not to support it.
3945 * imenu.el (imenu-default-create-index-function):
3946 Tweak infinite loop test to check for forward motion as well as none.
3948 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
3950 * net/soap-client.el (soap-invoke): Encode the string for
3951 `url-request-data' as UTF-8.
3952 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
3954 2013-02-01 Glenn Morris <rgm@gnu.org>
3956 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
3958 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
3960 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
3962 * net/tramp.el (tramp-tramp-file-p): Comment check for
3963 `string-as-unibyte'. The function does not exist on XEmacs, and
3964 likely we need another approach.
3966 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
3967 `tramp-gw-*' variables are bound.
3969 2013-01-31 Glenn Morris <rgm@gnu.org>
3971 * files.el (basic-save-buffer-2): Choose coding system for
3972 writing the file before backing it up, to reduce delay between
3973 backing up and writing the new version. (Bug#13522)
3975 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
3977 * simple.el (cycle-spacing): New command.
3978 (just-one-space): Use it.
3980 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
3982 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
3983 (opascal-newline-always-indents): Remove custom.
3984 (opascal-tab, opascal-newline): Remove commands.
3985 (opascal-new-comment-line): Insert "\n" instead of calling newline.
3986 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
3987 (opascal-save-match-data): Remove, use save-match-data instead.
3988 (opascal-save-state): Use with-silent-modifications.
3990 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
3993 2013-01-30 Juri Linkov <juri@jurta.org>
3995 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
3996 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
3997 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
3999 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4001 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
4002 column if we're just deleting the backslashes.
4003 (makefile-fill-paragraph): Use eolp.
4005 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
4007 * autorevert.el (auto-revert-use-notify): Fix docstring.
4009 2013-01-30 Leo Liu <sdl.web@gmail.com>
4011 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
4013 2013-01-30 Glenn Morris <rgm@gnu.org>
4015 * mouse.el (mouse-drag-line): Avoid pushing same event onto
4016 unread-command-events twice in some cases. This tries to implement
4017 the 2012-07-26 changes in a different way. (Bug#13560)
4019 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4021 * progmodes/python.el
4022 (python-pdbtrack-comint-output-filter-function): Enhancements on
4023 stacktrace detection. (thanks @gnovak)
4025 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4027 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
4028 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
4030 (jit-lock-register): Use setq-local.
4032 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
4034 * calc-units.el (math-default-units-table): Remove initial value.
4035 (calc-convert-units): Treat expressions where all the units cancel as
4036 if they didn't have units.
4038 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
4040 * net/tramp.el (tramp-process-connection-type): Fix docstring.
4041 (tramp-completion-reread-directory-timeout): Fix type.
4042 (tramp-connection-min-time-diff): New defcustom.
4044 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4046 2013-01-30 Glenn Morris <rgm@gnu.org>
4048 * imenu.el (imenu-default-create-index-function):
4049 Put back a version of the infinite loop test removed 2013-01-23.
4051 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4053 * progmodes/python.el (python-shell-parse-command):
4054 Find python-shell-interpreter with modified environment.
4056 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4058 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
4060 2013-01-29 Alan Mackenzie <acm@muc.de>
4062 Amend to fontify /regexp/s in actions correctly.
4063 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
4064 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
4065 are no longer included.
4066 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
4067 What used to be these variables without "-line" in the name.
4068 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
4069 (c-awk-non-arith-op-bra-re): Now also matches {.
4070 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
4071 "return", and "case".
4072 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
4074 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
4075 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
4077 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
4079 * autorevert.el (auto-revert-use-notify):
4080 Use `custom-initialize-default' for initialization. (Bug#13583)
4082 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
4084 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4085 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
4086 in `tramp-file-name-handler'.
4087 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
4089 (tramp-compute-multi-hops): Check, whether
4090 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
4092 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
4094 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
4097 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
4099 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
4100 checks made superfluous by the \_< operator.
4101 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
4102 temporarily) broken indentation.
4103 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4104 Highlight nested constants, too. \_< broke that.
4106 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
4108 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
4111 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
4113 * autorevert.el (auto-revert-handler): Notifications which result
4114 from a saved file shall not be taken into account. (Bug#13557)
4116 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
4118 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
4119 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
4120 (lisp-mode): Pass t for it. (Bug#13556)
4122 2013-01-25 Alan Mackenzie <acm@muc.de>
4124 AWK Mode: Fix indentation bug at top level. Bug #12274.
4126 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
4127 just before CASE 5D.
4129 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
4131 * net/socks.el (socks-nslookup-host): Use string-to-number.
4133 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
4135 * autorevert.el (auto-revert-remote-files)
4136 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
4137 (auto-revert-notify-enabled, auto-revert-use-notify)
4138 (auto-revert-notify-watch-descriptor-hash-list)
4139 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
4140 (auto-revert-notify-event-descriptor)
4141 (auto-revert-notify-event-action)
4142 (auto-revert-notify-event-file-name): Doc fix.
4143 (global-auto-revert-mode): Reorder checks.
4144 (auto-revert-notify-rm-watch): Respect changed values of
4145 `auto-revert-notify-watch-descriptor-hash-list'.
4146 (auto-revert-notify-add-watch): Check for
4147 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
4148 `inotify-add-watch'. Watch `default-directory' instead of
4149 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
4150 has a changed meaning now. (Bug#13540)
4151 (auto-revert-notify-handler): Change implementation wrt events
4152 returning from a directory.
4153 (auto-revert-handler): Reorder implementation for checks of remote
4155 (auto-revert-buffers): Fix parentheses error.
4157 2013-01-25 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4159 * progmodes/python.el: Enhancements to header documentation about
4160 skeletons. (Bug#5716)
4162 * imenu.el (imenu-default-create-index-function): Remove useless
4163 infinite loop check. (Bug#13438)
4165 2013-01-25 Alan Mackenzie <acm@muc.de>
4167 Fix a bug in the state cache mechanism. Refactor this a bit.
4169 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
4170 `cache-pos' element from the return value.
4171 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
4172 buffer to enable proper searching from beyond HERE. Amend the
4173 test for detecting the sought brace pair. Amend the value written
4174 to the "brace desert cache" when the brace isn't found.
4175 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
4176 and several other variables analogously.
4177 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
4178 parameter to a locally calculated variable.
4179 (c-parse-state-1): Change the calling conventions to the two
4180 defuns involving `cache-pos'.
4182 2013-01-25 Chong Yidong <cyd@gnu.org>
4184 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
4186 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
4188 * paren.el (show-paren-function): Make sure to set 'priority and
4189 'face only if the overlay does exist.
4191 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
4193 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
4195 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
4197 (tramp-sh-handle-set-file-acl): Improve error checking.
4199 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
4201 * doc-view.el (doc-view-display): Force mode line update until all
4202 document is converted. Suggested by Stefan Monnier (Bug#13164).
4204 2013-01-23 Bastien Guerry <bzg@gnu.org>
4206 * paren.el (show-paren-function): Make sure an overlay exists
4207 before trying to delete it. Also use `pos' as a position only
4208 when it is an integer.
4210 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
4212 * play/gametree.el (gametree-break-line-here): Use point-marker.
4214 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
4216 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4217 Mark descriptive parts with `display' property.
4219 2013-01-21 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
4221 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
4222 New variable to map standard dict names to hunspell ones.
4223 (ispell-set-spellchecker-params): Make sure specific dict names
4224 are used for standard dicts with hunspell.
4226 2013-01-21 Tassilo Horn <tsdh@gnu.org>
4228 * textmodes/reftex-cite.el (reftex-format-citation): Add format
4229 chars for note (%N) and url (%U).
4230 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
4232 2013-01-21 Juri Linkov <juri@jurta.org>
4234 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
4235 in addition to existing separate binding `meta f10' in `global-map'.
4238 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
4240 Improve XEmacs compatibility.
4242 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
4244 * net/tramp-adb.el (top): Require `time-date'.
4245 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
4246 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
4247 Use `tramp-file-name-handler'.
4248 (tramp-adb-maybe-open-connection):
4249 Use `tramp-compat-set-process-query-on-exit-flag'.
4251 * net/tramp-sh.el (tramp-sh-handle-file-acl):
4252 Use `tramp-compat-funcall'.
4254 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
4255 `tramp-compat-funcall'.
4257 2013-01-21 JĂ¼rgen Hötzel <juergen@archlinux.org>
4259 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
4260 reimplementation using "adb shell command ..." instead of running
4261 remote shell interactively.
4263 2013-01-20 Glenn Morris <rgm@gnu.org>
4265 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
4266 Add native profiler menu entries.
4268 * profiler.el (profiler-running-p): New function.
4269 (profiler-cpu-profile): Use profiler-running-p.
4270 (profiler-report-mode-map): Add some more menu entries.
4272 2013-01-19 Glenn Morris <rgm@gnu.org>
4274 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
4275 fixes 2012-12-07 change. (Bug#13499)
4277 2013-01-19 Leo Liu <sdl.web@gmail.com>
4279 * dired.el (dired-get-marked-files): Prune erroneous values due to
4280 last change. (Bug#13152)
4282 2013-01-19 Glenn Morris <rgm@gnu.org>
4284 * progmodes/etags.el (tags-table-check-computed-list):
4285 Preserve point in tags buffer. (Bug#13412)
4287 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
4289 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
4290 Chong Yidong <cyd@gnu.org>
4292 * image-mode.el (image-next-file, image-previous-file):
4293 New commands (Bug#8453).
4294 (image-mode-map): Bind them to n and p.
4295 (image-mode--images-in-directory): New helper function.
4297 2013-01-19 Chong Yidong <cyd@gnu.org>
4299 * image-mode.el (image-mode-fit-frame): Add a frame argument.
4300 Suggested by Drew Adams (Bug#7730). Handle window decorations;
4301 save and restore the old window configuration.
4303 2013-01-18 Leo Liu <sdl.web@gmail.com>
4305 * progmodes/js.el: Tweak autoload cookie for alias.
4307 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4309 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
4310 buffer local, again. This was lost with the fix on 2013-01-12.
4312 2013-01-17 JĂ¼rgen Hötzel <juergen@archlinux.org>
4314 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
4315 order to support several eshell buffers in parallel.
4317 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4319 * autorevert.el (auto-revert-use-notify): In the :set function, do
4320 not modify `kill-buffer-hook'.
4321 (auto-revert-notify-rm-watch):
4322 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
4323 (auto-revert-notify-add-watch): Do not call
4324 `auto-revert-notify-rm-watch', but add it to a buffer local
4327 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4329 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
4330 call to `eval' rather than a backquoted lambda.
4332 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
4334 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
4335 to return an explicit nil.
4336 (advice--remove-function): Change accordingly.
4338 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
4339 the use of nadvice.el.
4341 * progmodes/which-func.el (which-function): Silence imenu errors
4344 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4346 * progmodes/sql.el (sql-imenu-generic-expression):
4347 (sql-mode-font-lock-object-name): Match schema qualified names.
4348 (sql-connect): Use string keys.
4349 (sql-product-interactive): Wait for interpreter prompt.
4350 (sql-comint-oracle): Set process coding based on NLS_LANG.
4352 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4354 * progmodes/sql.el (sql-output-to-send): Remove, unused.
4355 (sql-interactive-remove-continuation-prompt):
4356 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
4358 2013-01-14 Leo Liu <sdl.web@gmail.com>
4360 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
4363 2013-01-14 Glenn Morris <rgm@gnu.org>
4365 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4366 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
4368 2013-01-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4370 * progmodes/python.el (python-nav-end-of-statement):
4371 Fix cornercase when handling multiline strings.
4373 2013-01-13 Richard Stallman <rms@gnu.org>
4375 * mail/sendmail.el (mail-position-on-field): Add doc string.
4377 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4378 Get current message boundaries and pass them to
4379 message-forward-make-body-mime. Minor style changes.
4381 2013-01-13 Eli Zaretskii <eliz@gnu.org>
4383 * cus-start.el (all): Avoid warnings about
4384 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
4386 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
4388 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
4390 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4392 * jit-lock.el (jit-lock-debug-mode): New minor mode.
4393 (jit-lock--debug-fontifying): New var.
4394 (jit-lock--debug-fontify): New function.
4395 * subr.el (condition-case-unless-debug): Don't prevent catching the
4396 error, just let the debbugger run.
4397 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
4398 timer code and don't drop errors silently.
4400 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
4402 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
4403 `permanent-local' property.
4404 (auto-revert-notify-handler): Use `file-equal-p'.
4406 2013-01-12 Eli Zaretskii <eliz@gnu.org>
4408 * autorevert.el (auto-revert-notify-handler): Fix filtering of
4409 file notification by ACTION. For filtering by file name, compare
4410 only the non-directory part of the file name.
4412 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4414 * autorevert.el: Use cl-lib instead of cl.
4416 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
4417 (vc-bzr-checkin): Use it.
4418 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
4419 will preserve match-data.
4421 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
4423 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
4424 (js--declaration-keyword-re): New var.
4425 (js--multi-line-declaration-indentation): New function.
4426 (js--proper-indentation): Use it.
4428 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
4430 * calc/calc.el (calc-highlight-selections-with-faces)
4432 * comint.el (comint-history-isearch-message):
4433 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
4434 * ffap.el (ffap-string-at-point-region, ffap-next)
4435 (ffap-string-at-point, ffap-string-around)
4436 (ffap-copy-string-as-kill, ffap-highlight-overlay)
4438 * font-lock.el (font-lock-keywords-alist)
4439 (font-lock-removed-keywords-alist):
4440 * help-mode.el (help-xref-symbol-regexp):
4441 * info.el (Info-find-emacs-command-nodes):
4442 * international/mule.el (add-to-coding-system-list):
4443 * isearch.el (isearch-message-function, isearch-fail-pos):
4444 * misearch.el (multi-isearch-next-buffer-function):
4445 * newcomment.el (comment-box):
4446 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
4447 (pr-setting-database):
4448 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
4449 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
4450 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
4451 (pike-font-lock-keywords-3):
4452 * progmodes/compile.el (compile):
4453 * progmodes/etags.el (tags-table-files)
4454 (tags-table-files-function, tags-included-tables-function):
4455 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
4456 (gdb-restore-windows):
4457 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
4458 (ps-n-up-filling-database):
4459 * server.el (server-buffer, server-log):
4460 * simple.el (newline, delete-backward-char, delete-forward-char)
4461 (minibuffer-history-isearch-message, kill-line, track-eol)
4462 (temporary-goal-column):
4463 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
4464 (flyspell-default-deplacement-commands):
4465 * textmodes/ispell.el (ispell-accept-output):
4466 * textmodes/sgml-mode.el (html-tag-help):
4467 * vc/compare-w.el (compare-ignore-whitespace)
4468 (compare-ignore-case, compare-windows-dehighlight):
4469 * vc/diff.el (diff):
4470 * whitespace.el (whitespace-point)
4471 (whitespace-font-lock-refontify, whitespace-bob-marker)
4472 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
4474 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
4476 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
4477 (auto-revert-notify-rm-watch): Ignore errors.
4478 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
4479 inotify, and '(size last-write-time) for w32notify.
4480 Set buffer-local `auto-revert-use-notify' to nil when adding a file
4481 watch fails - this is a fallback to the file modification check.
4482 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
4483 (auto-revert-notify-event-action)
4484 (auto-revert-notify-event-file-name): New defuns.
4485 (auto-revert-notify-handler): Use them. Implement first
4486 plausibility checks.
4487 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
4489 2013-01-11 Julien Danjou <julien@danjou.info>
4491 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
4492 max are almost equal. Also return the correct value for V which is
4493 already between 0 and 1.
4495 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
4497 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
4499 2013-01-11 Eli Zaretskii <eliz@gnu.org>
4501 * autorevert.el (auto-revert-notify-rm-watch)
4502 (auto-revert-notify-add-watch): Fix typos in w32notify function
4505 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4507 * autorevert.el (auto-revert-notify-enabled): Move up.
4508 (auto-revert-use-notify): New defcustom.
4509 (auto-revert-mode, global-auto-revert-mode)
4510 (auto-revert-notify-add-watch, auto-revert-handler)
4511 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
4512 `auto-revert-notify-enabled'.
4514 2013-01-10 Elias Pipping <pipping@exherbo.org>
4516 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
4517 * doc-view.el (doc-view-document->bitmap):
4518 Use doc-view-single-page-converter-function instead of
4519 single-page-converter arg; adjust callers.
4521 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
4523 * progmodes/which-func.el (which-function): Understand Semantic's use
4524 of overlays in imenu--index-alist.
4526 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
4528 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
4529 (Man-man-k-use-anchor): New var.
4530 (Man-parse-man-k): New function.
4531 (Man-completion-table): Use it.
4532 (man): Flush the completion cache between uses.
4534 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4536 * autorevert.el: Add file watch support.
4537 (auto-revert-notify-enabled): New defconst.
4538 (auto-revert-notify-watch-descriptor-hash-list)
4539 (auto-revert-notify-watch-descriptor)
4540 (auto-revert-notify-modified-p): New defvars.
4541 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4542 (auto-revert-notify-handler): New defuns.
4543 (auto-revert-mode, global-auto-revert-mode): Remove file watches
4544 when mode is disabled.
4545 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
4546 (auto-revert-buffers): Add file watches for active buffers.
4548 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
4550 * cus-start.el (toplevel): Only allow float values for
4551 scroll-up-aggressively and scroll-down-aggressively.
4552 Allow any number for line-spacing.
4554 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4556 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
4557 (doc-view-pdf->png-converter-function): Use mupdf if available.
4558 (doc-view-djvu->png-converter-function)
4559 (doc-view-ps->png-converter-function): Remove.
4560 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
4561 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
4562 (doc-view-already-converted-p): Adjust accordingly.
4563 (doc-view-mode-p): Simplify.
4564 (doc-view-enlarge): Use setq-local.
4565 (doc-view-pdf->png-converter-ghostscript)
4566 (doc-view-djvu->png-converter-ddjvu)
4567 (doc-view-pdf->png-converter-mupdf): Rework to call
4568 doc-view-start-process directly.
4569 (doc-view-pdf/ps->png): Simplify accordingly.
4570 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
4571 (doc-view-document->bitmap): Rename from doc-view-document->png.
4572 (doc-view-convert-current-doc): Merge pdf and djvu cases.
4573 (doc-view-set-slice-from-bounding-box): Fix completion table.
4574 (doc-view-mode): Use add-hook for after-revert-hook.
4576 2013-01-10 Glenn Morris <rgm@gnu.org>
4578 * emacs-lisp/authors.el (authors-ignored-files)
4579 (authors-valid-file-names, authors-renamed-files-alist):
4580 Add some more entries.
4582 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4584 * image-mode.el (image-mode-winprops): Don't throw away the fallback
4585 `t' pseudo-window entry.
4587 2013-01-10 Alan Mackenzie <acm@muc.de>
4589 Fix bugs in the c-parse-state mechanism. Reuse some markers
4590 instead of continually generating new ones.
4592 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
4593 (c-state-old-cpp-end-marker): New variables.
4594 (c-append-lower-brace-pair-to-state-cache): Start a backward
4595 search for "}" definitively outside CPP constructs.
4596 (c-remove-stale-state-cache): Inform the caller of a need to
4597 search back for a brace pair in certain circumstances.
4598 (c-state-maybe-marker): New macro.
4599 (c-parse-state): Reuse markers when appropriate.
4601 2013-01-10 Glenn Morris <rgm@gnu.org>
4603 * simple.el (execute-extended-command): Doc fix.
4604 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
4606 2013-01-10 Chong Yidong <cyd@gnu.org>
4608 * faces.el (read-face-name): Doc fix.
4610 2013-01-10 Roland Winkler <winkler@gnu.org>
4612 * emacs-lisp/crm.el: Allow any regexp for separators.
4613 (crm-default-separator): All spaces around the default comma separator.
4614 (crm--completion-command): New macro.
4615 (crm-completion-help, crm-complete, crm-complete-word): Use it.
4616 (crm-complete-and-exit): Handle non-single-char separators.
4618 2013-01-09 Elias Pipping <pipping@lavabit.com>
4620 * doc-view.el: Add support for DjVu (bug#13164).
4621 (doc-view-djvu->png-converter-function): New config var.
4622 (doc-view-single-page-converter-function, doc-view--image-type)
4623 (doc-view--image-file-extension): New vars.
4624 (doc-view-mode): Initialize them.
4625 (doc-view-goto-page): Use them.
4626 (doc-view-mode-p): Add support for ddjvu.
4627 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
4628 (doc-view-set-up-single-converter): New funs.
4629 (doc-view-pdf/ps->png): Extend for djvu.
4630 (doc-view-document->png): Rename from doc-view-pdf->png.
4631 (doc-view-convert-current-doc): Handle djvu.
4632 (doc-view-insert-image, doc-view-display)
4633 (doc-view-already-converted-p): Don't hardcode png.
4634 (doc-view-set-doc-type): Recognize djvu docs.
4636 2013-01-09 Elias Pipping <pipping@lavabit.com>
4638 * doc-view.el: Add support for mupdf converter (bug#13164).
4639 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
4640 (doc-view-ps->png-converter-function): New config vars.
4641 (doc-view-pdf->png-converter-ghostscript)
4642 (doc-view-ps->png-converter-ghostscript)
4643 (doc-view-pdf->png-converter-mupdf): New functions.
4644 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
4646 2013-01-09 JĂ¼rgen Hötzel <juergen@archlinux.org>
4648 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
4649 first in session cache: When `tramp-own-remote-path' is in
4650 `tramp-remote-path', the remote path is only set in the session
4653 2013-01-09 Glenn Morris <rgm@gnu.org>
4655 * emacs-lisp/trace.el (trace-function-foreground)
4656 (trace-function-background): Doc fix.
4658 2013-01-09 Juri Linkov <juri@jurta.org>
4660 * international/mule-cmds.el (read-char-by-name): Move let-binding
4661 of completion-ignore-case around completing-read to fix regression
4662 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
4663 `string-match-p' using the nil value of `case-fold-search' and
4664 `completion-ignore-case' in `completion-pcm--all-completions'.
4667 2013-01-09 Glenn Morris <rgm@gnu.org>
4669 * progmodes/compile.el (compilation-parse-errors):
4670 Fix typo. (Bug#13369)
4672 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4674 * comint.el (comint-send-input): Check size of buffer before
4675 waiting for process output, in case already accepted. (Bug#13290)
4677 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
4680 * net/tramp-adb.el (tramp-adb-get-toolbox):
4681 Fix misspelling of 'unknown'.
4683 2013-01-08 Juri Linkov <juri@jurta.org>
4685 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4686 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4687 Use underline style wave on terminals that support it. (Bug#13000)
4689 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4691 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
4692 the predicate returns nil.
4694 * simple.el: Use lexical-binding.
4695 (primitive-undo): Use pcase.
4696 (minibuffer-history-isearch-push-state): Use a closure.
4698 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4700 * simple.el (primitive-undo): Move from undo.c.
4702 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4704 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
4705 (cvs-mode-remove-handled): Use it (bug#13380).
4707 * emacs-lisp/nadvice.el (advice--tweak): New function.
4708 (advice--remove-function, advice--subst-main): Use it.
4710 * emacs-lisp/advice.el: Update commentary.
4712 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
4714 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4715 Remove spurious entry.
4717 2013-01-08 Glenn Morris <rgm@gnu.org>
4719 * net/tramp.el (tramp-default-host-alist): Add :version.
4721 2013-01-08 Juri Linkov <juri@jurta.org>
4723 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
4724 single completion. (Bug#12456)
4725 (info--manual-names): Expand node completions into an explicit list
4726 before appending it to another list. Filter out internal buffers
4727 with the leading space in the buffer name. (Bug#10771)
4729 2013-01-08 Juri Linkov <juri@jurta.org>
4731 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
4732 that defaults to the Top node.
4733 (Info-goto-node, Info-read-node-name): Doc fix to mention that
4734 the short format (FILENAME) goes to the Top node.
4735 (Info-build-node-completions): Rename arg `file' to `filename'.
4738 2013-01-07 Bastien Guerry <bzg@gnu.org>
4740 * menu-bar.el (menu-bar-search-documentation-menu):
4741 Use `apropos-user-option' and fix the help message.
4743 2013-01-07 Bastien Guerry <bzg@gnu.org>
4745 * apropos.el (apropos-do-all): Update docstring.
4746 (apropos-user-option-button): New face.
4747 (apropos-user-option): Rename from `apropos-variable' and update
4749 (apropos-variable): Rewrite, now show all variables by default.
4750 (apropos-print): Mention "User option" instead of "Variable" when
4751 printing doc for user options. (Bug#13276)
4753 2013-01-07 JĂ¼rgen Hötzel <juergen@archlinux.org>
4755 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4756 Handle filename correctly, when parsing "source -> target" symlink
4758 (tramp-adb-handle-set-file-times): New defun.
4760 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
4762 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
4763 advice list when the interactive-spec of ad-Advice-* changes.
4765 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
4767 * wid-edit.el (widget-default-get): Work for inlined elements.
4770 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
4772 * net/tramp.el (tramp-default-host-alist): New defcustom.
4773 (tramp-find-host): Use it.
4774 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
4775 `eshell-directory-change-hook'.
4777 * net/tramp-adb.el (top): Add adb specific entry in
4778 `tramp-default-host-alist'.
4779 (tramp-adb-file-name-host): Remove function.
4780 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4781 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
4783 * net/tramp-sh.el: Move eshell integration code to tramp.el.
4785 2013-01-06 JĂ¼rgen Hötzel <juergen@archlinux.org>
4787 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
4789 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
4791 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
4792 consist of more than one digit.
4793 (tramp-adb-file-name-handler-alist):
4794 Use `tramp-handle-file-exists-p' consistently.
4795 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
4796 (tramp-adb-handle-file-exists-p): Remove function.
4797 (tramp-adb-file-name-host): New defun.
4798 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4800 (tramp-adb-maybe-open-connection): Set "remote-path" property.
4802 2013-01-06 Chong Yidong <cyd@gnu.org>
4804 * vc/vc.el (vc-next-action): Detect buffer modifications
4805 conflicting with locking VCS operation (Bug#11490).
4807 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
4809 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
4811 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4812 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
4814 2013-01-05 JĂ¼rgen Hötzel <juergen@archlinux.org>
4816 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
4817 parsing of ls output using regular expression (handle filenames
4818 with spaces). Use virtual device number.
4819 (tramp-do-parse-file-attributes-with-ls): New defun (Code
4822 2013-01-04 Daiki Ueno <ueno@gnu.org>
4824 * epg.el: Silence byte-compiler warnings.
4825 (epg--start): Use delete-char instead of delete-backward-char.
4826 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
4828 2013-01-04 Daiki Ueno <ueno@gnu.org>
4830 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
4831 Suggested by Eli Zaretskii <eliz@gnu.org>.
4833 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
4835 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
4836 non-negative integers. Otherwise, the default values are used.
4837 (tramp-convert-file-attributes): Convert uid and gid to integers.
4839 2013-01-04 Glenn Morris <rgm@gnu.org>
4841 * term.el (term-handle-colors-array): Ensure face attributes
4842 are fully specified, not nil. (Bug#13337)
4844 * term.el (term-default-fg-color, term-default-bg-color):
4847 * progmodes/etags.el (tags-compression-info-list): Doc fix.
4848 (tag-find-file-of-tag-noselect): Check auto-compression-mode
4849 rather than 'jka-compr being loaded. (Bug#13338)
4851 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
4853 * icomplete.el (icomplete-completions):
4854 Honor icomplete-prospects-height once more following
4855 2012-11-29 changes. (Bug#13224)
4857 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
4859 * subr.el (internal--called-interactively-p--get-frame): Find aliases
4860 of called-interactively-p as well (bug#13237).
4862 * view.el (view--enable, view--disable): Rename from view-mode-enable
4863 and view-mode-disable and assume it's called from view-mode.
4864 (view-mode-enable, view-mode-disable): Redefine as obsolete
4865 compatibility layer above view-mode.
4866 (view-mode-enter): Call `view-mode'.
4868 * files.el (after-find-file): Call `view-mode'.
4870 * doc-view.el (doc-view-scale-internally): New var.
4871 (doc-view-enlarge, doc-view-insert-image): Obey it.
4873 2013-01-03 Daiki Ueno <ueno@gnu.org>
4875 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
4878 2013-01-03 Glenn Morris <rgm@gnu.org>
4880 * mail/rmail.el (rmail-set-header-1): Ignore case.
4881 Handle multi-line headers. (Bug#13330)
4883 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
4884 Handle paragraph starting at beginning of buffer.
4886 * subr.el (eval-after-load): Don't purecopy the form, so that it
4887 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
4889 * emacs-lisp/byte-run.el (defun): Place cl declarations
4890 after any interactive spec. (Bug#13265)
4892 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4894 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
4895 defun. Don't check for DECL if DOCSTRING isn't a string.
4898 2013-01-02 Glenn Morris <rgm@gnu.org>
4900 * eshell/em-cmpl.el (eshell-pcomplete):
4901 More thoroughly imitate pcomplete. (Bug#13293)
4903 * files.el (parse-colon-path): Doc fix. (Bug#12351)
4904 Return nil for empty path elements. (Bug#13296)
4906 2013-01-02 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4908 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
4909 order to improve efficiency (Based on Daniel Colascione's
4910 <dancol@dancol.org> patch). (Bug#13182)
4912 2013-01-02 Glenn Morris <rgm@gnu.org>
4914 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
4916 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4918 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
4919 neither DOCSTRING nor DECL was given. (Bug#13316)
4921 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
4923 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
4925 (tramp-do-copy-or-rename-file): Ignore errors when calling
4926 `set-file-extended-attributes'.
4928 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4929 Add handler for `file-acl'.
4930 (tramp-smb-handle-file-acl): New defun.
4932 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
4934 * calc/README: Mention ISO 8601 week-numbering dates.
4936 2013-01-01 Martin Rudalics <rudalics@gmx.at>
4938 * view.el (view-mode-enable): New argument run-view-mode-hook.
4939 Run view-mode-hook only when it's non-nil (Bug#13315).
4940 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
4943 2012-12-31 JĂ¼rgen Hötzel <juergen@archlinux.org>
4945 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
4946 (No device connected, invalid device name). (Bug #13299)
4948 2012-12-31 Martin Rudalics <rudalics@gmx.at>
4950 * window.el (window-resizable--p): Rename to window-resizable-p.
4951 (window-resize-no-error): New function.
4953 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
4954 broken in fix from 2012-12-28.
4956 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
4958 * subr.el (special-form-p): Don't signal errors on undef aliases.
4960 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
4962 * calc/calc-forms.el (math-parse-date): Try using
4963 `math-parse-iso-date' when it looks like it might be needed.
4964 Allow times of 24:00.
4965 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
4968 2012-12-30 Glenn Morris <rgm@gnu.org>
4970 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
4971 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
4972 (rmail-summary-displayed, rmail-summary): Declare.
4973 (mairix-rmail-display): Just require rmail.
4975 2012-12-30 Chong Yidong <cyd@gnu.org>
4977 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
4978 check for the tarball contents.
4980 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
4982 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
4983 tarfile content listings (Bug#13136).
4985 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
4987 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4988 Insert the undecoded text of the message being forwarded. (Bug#9521)
4990 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
4992 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
4993 integers, if they are real numbers. (Bug#13282)
4995 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
4996 Return `t' on success.
4998 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4999 Add handler for `set-file-selinux-context'.
5001 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
5003 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
5004 (tramp-sh-handle-set-file-acl): Return `t' on success.
5006 2012-12-29 Eli Zaretskii <eliz@gnu.org>
5008 * files.el (backup-buffer-copy, basic-save-buffer-2):
5009 If set-file-extended-attributes fails, fall back on set-file-modes
5010 instead of signaling an error. (Bug#13298)
5011 (basic-save-buffer): Likewise.
5013 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5015 * progmodes/python.el: Support other commands triggering
5016 python-indent-line so indentation cycling continues to work.
5017 (python-indent-trigger-commands): New defcustom.
5018 (python-indent-line): Use it.
5020 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5022 * progmodes/python.el (python-shell-send-region): Add blank lines
5023 for non sent code so backtraces remain correct.
5025 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5027 * progmodes/python.el: Remove cl dependency.
5028 (python-syntax-count-quotes): Replace incf call.
5029 (python-fill-string): Replace setf call.
5031 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
5033 * info.el (info-other-window): New arg, for consistency with info.
5035 2012-12-28 Martin Rudalics <rudalics@gmx.at>
5037 * mail/rmail.el (rmail-maybe-display-summary):
5038 Rewrite (Bug#13066).
5040 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
5042 * epg.el (epg--start): Modify process-environment locally.
5044 2012-12-28 Daiki Ueno <ueno@gnu.org>
5046 * epg.el: Support pinentry-curses.
5047 Suggested by Werner Koch in
5048 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
5049 (epg-agent-file, epg-agent-mtime): New variable.
5050 (epg--start): Record the modified time of gpg-agent socket file,
5051 to restore Emacs frame after pinentry-curses termination.
5052 (epg-wait-for-completion): Restore Emacs frame here.
5054 2012-12-27 Juri Linkov <juri@jurta.org>
5056 * info.el (Info-file-completions): New variable.
5057 (Info-read-node-name-1): Complete node names in the Info file
5058 when a file name is given. Call `Info-build-node-completions'
5060 (Info-build-node-completions): Add new arg `file'. When it is
5061 non-nil, visit it in a temporary buffer and cache its completions in
5062 `Info-current-file-completions'. Move most of the function body to
5063 `Info-build-node-completions-1'.
5064 (Info-build-node-completions-1): New function with the body from
5065 `Info-build-node-completions'. (Bug#12456)
5067 2012-12-27 Juri Linkov <juri@jurta.org>
5069 * frame.el (frame-maximization-style): Remove user option.
5070 (cycle-frame-maximized): Remove function.
5071 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
5072 (toggle-frame-fullscreen): New command bound to <f11> instead of
5073 `toggle-frame-maximized'.
5074 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
5076 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
5078 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
5080 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5081 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5082 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5083 for `file-accessible-directory-p'. (Bug#13275)
5085 2012-12-27 Sam Steingold <sds@gnu.org>
5087 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
5088 continuations, see <http://stackoverflow.com/questions/3582436>.
5090 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
5092 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
5093 "module" and "def" to have indentation before them.
5094 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
5096 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
5098 2012-12-27 Alan Mackenzie <acm@muc.de>
5100 Speed up fontification where there's large brace blocks.
5101 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
5102 to a call of c-beginning-of-decl-1.
5104 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
5106 * comint.el (comint-adjust-window-point): New function.
5107 (comint-postoutput-scroll-to-bottom):
5108 Call comint-adjust-window-point (Bug#13248).
5110 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
5112 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
5114 (auto-mode-alist): Associate .gemspec files with ruby-mode
5115 (https://bugs.ruby-lang.org/issues/5453).
5117 2012-12-26 JĂ¼rgen Hötzel <juergen@archlinux.org>
5119 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
5120 Suppress coloring, if possible (required for BusyBox based systems like
5122 (tramp-adb-handle-file-attributes)
5123 (tramp-adb-handle-insert-directory)
5124 (tramp-adb-handle-file-name-all-completions): Use it.
5125 (tramp-adb-get-toolbox): New defun. Check for remote shell
5126 implementation (BusyBox or Toolbox).
5128 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
5130 * startup.el (initial-buffer-choice): Allow function as value
5132 (command-line-1): Handle case where initial-buffer-choice
5133 specifies a function.
5134 * server.el (server-execute): Handle case where
5135 initial-buffer-choice specifies a function.
5137 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5139 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
5141 (smtpmail-try-auth-methods): Forget the user name/password if the
5142 login is unsuccessful (bug#12424).
5144 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
5146 * notifications.el (notifications-notify): Protect body with
5147 `with-demoted-errors'.
5149 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5150 Check properties of remote device. Restart connection, if there is a
5153 2012-12-21 Chong Yidong <cyd@gnu.org>
5155 * sort.el (sort-subr): Doc fix (Bug#13056).
5157 2012-12-21 Bastien Guerry <bzg@gnu.org>
5159 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
5161 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
5163 * simple.el (process-file): Overwrite stderr file, if exists.
5165 2012-12-21 Daiki Ueno <ueno@gnu.org>
5167 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
5168 (epg-error): Set `error-message' property.
5170 2012-12-21 Chong Yidong <cyd@gnu.org>
5172 * international/mule-cmds.el (read-char-by-name): Signal an error
5173 if the user does not supply a valid character (Bug#13177).
5175 * simple.el (transpose-subr-1): Preserve marker positions by
5176 changing the insertion sequence (Bug#13122).
5178 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5180 * simple.el (kill-region): Deactivate mark even for empty regions
5183 2012-12-21 Chong Yidong <cyd@gnu.org>
5185 * help-fns.el (describe-variable): Make sure we get the right
5186 buffer name (Bug#13105). Suggested by Kelly Dean.
5188 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
5190 * comint.el (comint-redirect-previous-input-string): New variable.
5191 (comint-redirect-setup, comint-redirect-cleanup)
5192 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
5193 (comint-redirect-preoutput-filter): Fix verbose message.
5195 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
5197 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
5198 is too long for Tramp. See discussion in
5199 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
5201 * progmodes/compile.el (compilation-start): Remove line escape
5204 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
5206 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
5209 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
5211 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
5212 following non-comment text (bug#13207).
5213 (lm-header-multiline): Continuation lines need to be indented more than
5215 (lm-homepage): New function.
5216 (lm-with-file): Don't be confused if narrowing is in effect.
5218 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5220 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
5221 very beginning of a hunk (e.g. killing the first line).
5223 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
5225 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
5226 and text properties from returned ACL string.
5227 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
5228 for "setfacl" command.
5230 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
5232 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
5233 `tramp-cleanup-this-connection', when the process has died.
5236 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5238 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
5240 2012-12-17 Kevin Ryde <user42@zip.com.au>
5242 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
5244 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
5246 Add support for preserving ACL entries of files.
5248 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
5249 `set-file-acl' handlers.
5251 * net/tramp-adb.el (tramp-adb-handle-copy-file):
5252 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5254 * net/tramp-compat.el (tramp-compat-copy-file):
5255 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5257 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5258 Add `file-acl' and `set-file-acl' handlers.
5259 (tramp-gvfs-handle-copy-file):
5260 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5261 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
5264 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5265 Add `file-acl' and `set-file-acl' handlers.
5266 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
5267 (tramp-sh-handle-set-file-acl): New defuns.
5268 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
5269 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5271 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5272 Add `file-acl' and `set-file-acl' handlers.
5273 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
5275 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5277 * help-macro.el (make-help-screen): Instead of switch-to-buffer
5278 use pop-to-buffer with NORECORD argument t. As buffer name, use
5279 *Metahelp* with a leading space (Bug#13190).
5281 2012-12-16 Romain Francoise <romain@orebokech.com>
5283 * files.el (file-extended-attributes)
5284 (set-file-extended-attributes): New functions.
5285 (backup-buffer): Use them to handle both SELinux context and ACL
5287 (backup-buffer-copy): Work with an alist of extended attributes,
5288 rather than an SELinux context.
5289 (basic-save-buffer-2): Ditto.
5291 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
5293 * battery.el (battery-bsd-apm): New function.
5295 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
5297 * calc/calc.el (calc-standard-date-formats): Adjust one of the
5298 standard date formats.
5300 2012-12-15 Juri Linkov <juri@jurta.org>
5302 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
5303 `isearch-insert-char-by-name'.
5304 (with-isearch-suspended): New defmacro with body mostly from
5305 `isearch-edit-string' except the part that sets
5306 `isearch-new-string' and `isearch-new-message'.
5307 (isearch-edit-string): Use new macro `with-isearch-suspended' with
5308 body that sets `isearch-new-string' and `isearch-new-message'.
5309 (isearch-insert-char-by-name): New command.
5310 * international/mule-cmds.el (read-char-by-name): Let-bind
5311 `enable-recursive-minibuffers' to t.
5312 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
5314 2012-12-15 Juri Linkov <juri@jurta.org>
5316 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
5319 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
5321 * dired-x.el (dired-guess-shell-command): Put colon at the end of
5322 the prompt. (Bug#13045)
5324 2012-12-14 Glenn Morris <rgm@gnu.org>
5326 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
5327 Try to include filename in non-bytecomp warning. (Bug#13132)
5329 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
5331 Fix permissions bugs with setgid directories etc. (Bug#13125)
5332 * files.el (backup-buffer): Don't rely on 9th output of
5333 file-attributes, as it's now a placeholder. Instead, use the new
5334 optional arg of file-ownership-preserved-p.
5335 (file-ownership-preserved-p): New optional arg GROUP.
5336 Fix mishandling of setuid directories that would cause this
5337 function to return t when it should have returned nil.
5338 Document what happens if the file does not exist, and when
5339 it's not known whether the ownership will be preserved.
5340 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
5342 (tramp-get-local-gid): Use group-gid for integer, as that's
5343 faster and more reliable.
5345 2012-12-14 Julien Danjou <julien@danjou.info>
5347 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
5348 Update keywords list, data type and PL/pgSQL.
5350 2012-12-14 Dave Abrahams <dave@boostpro.com>
5352 * vc/ediff-util.el (ediff-buffer-type): New function.
5353 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
5354 rather than taking it as as argument.
5355 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
5357 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
5359 * json.el: Add pretty-print option (bug#12634).
5360 (json-encoding-separator, json-encoding-default-indentation)
5361 (json--encoding-current-indentation, json-encoding-pretty-print)
5362 (json-encoding-lisp-style-closings): New vars.
5363 (json--with-indentation): New macro.
5364 (json-encode-hash-table, json-encode-alist, json-encode-plist)
5365 (json-encode-array): Use it to obey json-encoding-pretty-print.
5366 (json-pretty-print-buffer, json-pretty-print): New commands.
5368 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
5370 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5371 Extract `ruby-syntax-propertize-expansions'.
5372 (ruby-syntax-propertize-expansions): Only change syntax on
5373 certain string delimiters, to punctuation. This way the common
5374 functions like forward-word and thing-at-point still work.
5375 (ruby-match-expression-expansion): Improve readability.
5376 (ruby-block-contains-point): New function.
5377 (ruby-add-log-current-method): Handle several edge cases.
5379 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5381 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
5382 unload-feature finishes even when aborting an ongoing edebug session.
5383 Also, do not worry about edebug-mode, unload-feature takes care of it.
5385 2012-12-13 Andreas Schwab <schwab@suse.de>
5387 * net/tls.el (tls-program): Update customize type.
5389 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5391 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
5392 (edebug-setup-hook, cl-read-load-hooks): Use it.
5393 (edebug-unload-function): New function. (Bug#13163)
5395 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
5397 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
5398 Otherwise, there could be errors in autoloading. (Bug#13151)
5400 2012-12-13 JĂ¼rgen Hötzel <juergen@archlinux.org>
5402 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
5405 2012-12-13 Alan Mackenzie <acm@muc.de>
5407 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
5408 * progmodes/cc-engine.el (c-backward-comments): Add code to work
5409 around `forward-comment' not recognizing ^M as whitespace.
5411 2012-12-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5413 * progmodes/python.el (python-skeleton-class)
5414 (python-skeleton-def): Do not add space after defun name.
5416 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5418 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
5419 (cl--symbol-function): Remove (now that funbound is like nil).
5421 2012-12-12 Glenn Morris <rgm@gnu.org>
5423 * button.el (button--area-button-p): Fix typo.
5425 2012-12-12 Sam Steingold <sds@gnu.org>
5427 * frame.el (frame-maximization-style): New user option.
5428 (toggle-frame-maximized): Toggle frame maximization according to
5429 `frame-maximization-style', bound to <f11>.
5430 (cycle-frame-maximized): Cycle between all maximization styles and
5431 non-maximized frame, bound to shift-<f11>.
5433 2012-12-12 David Cadé <codename68@gmail.com>
5435 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
5437 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
5439 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
5440 (eieio-override-prin1): Don't quote kewords and booleans.
5441 (object-write) <eieio-default-superclass>: Don't put closing parens
5442 on new line, avoid needless empty lines, align values that are objects
5443 with the slot keyword (instead of beginning on the same line).
5444 (eieio-list-prin1): Align value with slot keyword; increase
5445 eieio-print-depth before printing members of the list.
5447 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5449 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
5450 a display text-property.
5451 (report-emacs-bug-hook): Don't bother deleting it any more.
5453 * hilit-chg.el (highlight-save-buffer-state): Delete.
5454 Use with-silent-modifications instead.
5455 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
5457 * button.el: Handle buttons in display text-properties.
5458 (button--area-button-p, button--area-button-string):
5459 Use (STRING . STRING-POS) representation instead of just STRING.
5461 2012-12-11 Eli Zaretskii <eliz@gnu.org>
5463 * makefile.w32-in (compile4-SH): Fix a typo that caused term
5464 subdirectory be skipped.
5466 2012-12-11 Glenn Morris <rgm@gnu.org>
5468 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
5470 * progmodes/f90.el (f90-line-continued, f90-indent-region):
5471 Treat preprocessor lines embedded in continuations like comments.
5472 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
5474 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
5476 * calc/calc.el (calc-standard-date-formats): Add more date
5478 * calc/calc-forms.el (math-parse-iso-date): New function.
5479 (math-parse-date): Use `math-parse-iso-date' when appropriate.
5480 (math-parse-iso-date-validate): Add extra error checking.
5481 (calc-date-notation): Add ability to access new date formats.
5483 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5485 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
5486 font-lock as well as when there's no text-property.
5488 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
5490 * hi-lock.el: Refine the choice of default face.
5491 (hi-lock-keyword->face): New function. Use it wherever we used
5493 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
5494 (hi-lock--last-face): Remove var.
5495 (hi-lock--unused-faces): New var to replace it.
5496 (hi-lock-read-face-name): Use/maintain it.
5497 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
5498 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
5499 if it has another face.
5501 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5503 * subr.el (w32notify-handle-event): New function.
5504 (inotify-handle-event): Doc fix.
5506 2012-12-10 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
5508 * subr.el (inotify-event-p, inotify-handle-event): New functions.
5510 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
5512 * simple.el (just-one-space): Doc fix.
5514 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5516 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
5518 2012-12-10 Le Wang <l26wang@gmail.com>
5520 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
5521 narrowed buffer (bug#12361).
5523 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
5525 * vc/vc-hooks.el (vc-state): Doc fix.
5527 2012-12-10 Glenn Morris <rgm@gnu.org>
5529 * mail/rmail.el (rmail-maybe-display-summary):
5530 Preserve buffer, in case select-window changes it. (Bug#13066)
5532 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5534 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
5535 cl-load-hook where they belong.
5537 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5539 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
5541 2012-12-09 Eli Zaretskii <eliz@gnu.org>
5543 Parallelize byte compilation on MS-Windows.
5544 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
5545 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
5546 (WINS_BASIC): Define as concatenation of the above.
5547 (compile): Subdivide into 4 separate and independent jobs that can
5549 (compile0-CMD, compile0-SH): New targets for compiling
5550 COMPILE_FIRST files, which are prerequisites for the rest of the
5552 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
5553 New targets for parallel compilation with cmd.exe.
5554 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
5555 compiling under a Unixy shell.
5557 2012-12-09 Chong Yidong <cyd@gnu.org>
5559 * simple.el (set-mark-default-inactive): Delete this
5560 accidentally-introduced option.
5561 (set-mark-command, exchange-point-and-mark): Remove calls.
5563 2012-12-09 Glenn Morris <rgm@gnu.org>
5565 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
5566 Respect a defcustom's :set function, if appropriate. (Bug#109)
5567 (eval-defun): Doc fix.
5569 2012-12-08 Juri Linkov <juri@jurta.org>
5571 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
5572 (Info-fontify-node, Info-bookmark-make-record): Remove the
5573 file extension from Info-current-file (Bug#13016).
5575 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5577 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
5578 point, still provide some default.
5579 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
5580 names, since we don't use it right now. Actually return the list.
5581 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
5583 2012-12-07 Chong Yidong <cyd@gnu.org>
5585 * novice.el (disabled-command-function): Remove a spurious help
5586 xref (Bug#13043). Suggested by Kelly Dean.
5588 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
5589 syntax is specified (Bug#13025).
5591 * info.el (Info-set-mode-line): Remove the file extension from
5592 Info-current-file if there is one (Bug#13016).
5594 2012-12-07 Glenn Morris <rgm@gnu.org>
5596 * mail/rmail.el (rmail-mime-decoded): New permanent local.
5597 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
5598 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
5599 and rmail-mime-decoded. (Bug#9841)
5601 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
5602 (batch-unrmail, unrmail): Doc fixes.
5603 (unrmail): Respect unrmail-mbox-format.
5604 * mail/rmail.el (rmail-mbox-format): New option.
5605 (rmail-show-message-1): Respect rmail-mbox-format.
5607 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5609 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
5611 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5613 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
5614 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
5615 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
5616 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
5617 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
5618 (cl-progv): Don't rely on dynamic scoping to find the body.
5619 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
5620 (cl--proclaims-deferred): Rename from the "cl-" prefix.
5621 (cl-declaim): Use backquotes.
5622 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
5623 Use "cl--" prefix for the object's tag.
5625 * ses.el: Use advice-add/remove.
5626 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
5627 (copy-region-as-kill, yank): Use advice-add.
5628 (ses-unload-function): Use advice-remove.
5630 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
5632 * button.el: Make them work in header-lines (bug#12817).
5633 (button-map): Add bindings for header-line and mode-line use.
5634 (button-get, button-put, button-label): `button' may now be a string.
5635 (button-activate): Don't make it a defsubst.
5636 (button--area-button-p, button--area-button-string): New functions.
5637 (make-text-button): Fix the return value when `beg' was a string.
5638 (push-button): Handle the mode-line case.
5640 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5642 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
5643 (sql-signum): Remove. Use `cl-signum' instead.
5644 (sql-read-passwd): Remove; use read-passwd instread.
5645 (sql-get-login-ext): Use read-string.
5646 (sql-get-login): Use dolist and pcase.
5647 (sql--completion-table): Rename from sql-try-completion.
5648 Use complete-with-action.
5649 (sql-mode): Don't change abbrev-all-caps globally.
5650 (sql-connect): Don't rely on dynamic scoping for `new-name'.
5651 (sql-postgres-completion-object): Initialize vars in their `let'.
5652 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
5653 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
5654 (sql-comint-interbase): Use a single append, without setq.
5655 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
5657 * hi-lock.el: Rework the default face and the serialize regexp code.
5658 (hi-lock--auto-select-face-defaults): Remove.
5659 (hi-lock-string-serialize-serial): Remove.
5660 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
5662 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
5664 (hi-lock-set-pattern): Adjust accordingly.
5665 (hi-lock--regexps-at-point): Simplify accordingly.
5666 (hi-lock--auto-select-face-defaults): Remove.
5667 (hi-lock--last-face): New var to replace it.
5668 (hi-lock-read-face-name): Rewrite (bug#11095).
5669 (hi-lock-unface-buffer): Arrange for the face to be the next default.
5671 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
5673 * net/tramp.el (tramp-replace-environment-variables):
5674 Hide compiler warning.
5675 (tramp-file-name-for-operation): Remove `executable-find',
5676 `start-process', `call-process' and `call-process-region'.
5678 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5680 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
5683 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
5685 2012-12-06 Chong Yidong <cyd@gnu.org>
5687 * ffap.el (ffap-replace-file-component): Fix typo.
5689 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5691 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
5692 fix open-paren-like token test (bug#12785).
5694 2012-12-06 Glenn Morris <rgm@gnu.org>
5696 * mail/rmailsum.el (rmail-new-summary): Tweak for
5697 rmail-maybe-display-summary changing buffer. (Bug#13066)
5699 2012-12-06 Juri Linkov <juri@jurta.org>
5701 * info.el (Info-fontify-node): Don't hide the last newline.
5704 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
5706 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
5707 so as to enable message-read-from-minibuffer to expand mail aliases.
5709 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5711 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
5712 the `intangible' property.
5713 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
5715 2012-12-05 Deniz Dogan <deniz@dogan.se>
5717 * net/rcirc.el (rcirc-urls): Update documentation.
5718 (rcirc-condition-filter): New function.
5719 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
5720 and exclude consecutive duplicate URLs (Bug#6082).
5722 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
5724 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5725 Check return code of copy command.
5727 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
5728 Use group `tramp'. Add version.
5730 2012-12-05 Chong Yidong <cyd@gnu.org>
5732 * ffap.el (ffap-url-regexp): Don't require matching at front of
5734 (ffap-url-p): If only a substring matches, return that.
5735 (ffap-url-at-point): Use the return value of ffap-url-p.
5736 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
5737 (find-file-at-point, dired-at-point, dired-at-point-prompter)
5738 (ffap-guess-file-name-at-point): Likewise.
5739 (ffap-replace-file-component): Fix typo.
5741 * info.el (info-display-manual): Add existing Info buffers, whose
5742 files may not be in Info-directory-list, to the completion.
5743 (info--manual-names): New helper function.
5745 2012-12-05 Glenn Morris <rgm@gnu.org>
5747 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
5748 New functions, for detecting and resolving conflicts. (Bug#10709)
5750 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
5752 * hi-lock.el (hi-lock-auto-select-face): New user variable.
5753 (hi-lock-auto-select-face-defaults): New buffer local variable.
5754 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
5755 (hi-lock-unface-buffer): Prompt user with useful defaults.
5756 With prefix arg, unhighlight all hi-lock patterns in buffer.
5758 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5760 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
5762 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
5764 * Makefile.in (TRAMP_SRC):
5765 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
5767 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
5769 * net/tramp-adb.el: New package.
5771 2012-12-04 Chong Yidong <cyd@gnu.org>
5773 * terminal.el: Move to obsolete/.
5775 * longlines.el: Move to obsolete/.
5777 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
5778 Remove code referring to longlines mode.
5780 2012-12-03 Juri Linkov <juri@jurta.org>
5782 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
5784 2012-12-03 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
5786 * textmodes/ispell.el (ispell-init-process)
5787 (ispell-start-process, ispell-internal-change-dictionary):
5788 Make sure personal dictionary name is expanded after initial
5789 `default-directory' value. Use expanded strings for
5790 keep/restart checks and for value (Bug#13019).
5792 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5794 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
5796 2012-12-03 Leo Liu <sdl.web@gmail.com>
5798 * files.el (dir-locals-read-from-file): Check file non-empty
5799 before reading. (Bug#13038)
5801 2012-12-03 Glenn Morris <rgm@gnu.org>
5803 * jka-cmpr-hook.el (jka-compr-get-compression-info):
5804 Remove any version extension before checking filename. (Bug#13006)
5805 (jka-compr-compression-info-list): Belated :version bump.
5807 2012-12-03 Chong Yidong <cyd@gnu.org>
5809 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
5811 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
5812 (buffer-menu): Doc fix (Bug#12294).
5814 2012-12-03 Roland Winkler <winkler@gnu.org>
5816 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
5817 of diary-show-all-entries in the diary buffer (Bug#12994).
5819 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
5821 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
5822 "<STDIN>". This is binary safe.
5824 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5826 * calc/calc-forms.el (math-absolute-from-iso-dt)
5827 (math-date-to-iso-dt, math-parse-iso-date-validate)
5828 (math-iso-dt-to-date): New functions.
5829 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
5830 (math-fd-isoweekday): New variables.
5831 (calc-date-notation, math-parse-standard-date, math-format-date)
5832 (math-format-date-part): Add support for more formatting codes.
5834 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
5836 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
5837 current buffer's file name when called interactively (Bug#12488).
5839 2012-12-02 Juri Linkov <juri@jurta.org>
5841 * info.el (info-display-manual): Don't clobber an existing Info
5842 buffer (Bug#10770). Add completion (Bug#10771).
5844 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
5846 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
5847 before using it for comparison (Bug#5297).
5849 2012-12-01 Jari Aalto <jari.aalto@cante.net>
5851 * textmodes/css-mode.el (css-current-defun-name): New function.
5854 * textmodes/sgml-mode.el (html-current-defun-name): New function.
5855 (html-mode): Use it.
5857 2012-12-01 Chong Yidong <cyd@gnu.org>
5859 Modularize add-log-current-defun (Bug#2224).
5860 Suggested by Jari Aalto.
5862 * vc/add-log.el (add-log-current-defun-function): Doc fix.
5863 (add-log-current-defun): Move mode-specific code to other files.
5864 (add-log-lisp-like-modes, add-log-c-like-modes)
5865 (add-log-tex-like-modes): Variables deleted.
5867 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
5868 (lisp-mode-variables): Use it.
5870 * progmodes/cc-mode.el (c-common-init):
5871 * progmodes/cperl-mode.el (cperl-mode): Set a value for
5872 add-log-current-defun-function.
5874 * progmodes/m4-mode.el (m4-current-defun-name): New function.
5877 * progmodes/perl-mode.el (perl-current-defun-name): New.
5878 (perl-mode): Use it.
5880 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
5881 Use lisp-current-defun-name.
5883 * textmodes/tex-mode.el (tex-current-defun-name): New.
5884 (tex-common-initialization): Use it.
5886 * textmodes/texinfo.el (texinfo-current-defun-name): New.
5887 (texinfo-mode): Use it.
5889 2012-12-01 Chong Yidong <cyd@gnu.org>
5891 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
5892 * progmodes/autoconf.el (autoconf-mode):
5893 * progmodes/js.el (js-mode):
5894 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
5895 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
5896 * progmodes/perl-mode.el (perl-mode):
5897 * progmodes/sh-script.el (sh-mode, sh-set-shell):
5898 * textmodes/css-mode.el (css-mode):
5899 * textmodes/sgml-mode.el (html-mode, sgml-mode)
5900 (sgml-tags-invisible, sgml-guess-indent):
5901 * textmodes/tex-mode.el (tex-common-initialization)
5902 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
5903 (doctex-mode, plain-tex-mode, latex-mode):
5904 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
5906 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
5908 * vc/vc-hg.el (vc-hg-next-revision):
5909 Ensure use of default "tip" output format. (Bug#6968)
5911 2012-12-01 Kim F. Storm <storm@cua.dk>
5913 * startup.el (fancy-startup-tail): Add a clickable link
5916 2012-12-01 Chong Yidong <cyd@gnu.org>
5918 * startup.el (fancy-startup-tail): Improve the message about
5919 auto-save files (Bug#2176).
5921 * files.el (recover-session): Improve the descriptive message, and
5922 use substitute-command-keys.
5924 2012-12-01 Glenn Morris <rgm@gnu.org>
5926 * ido.el (ido-file-internal):
5927 Handle other-window, other-frame for dired. (Bug#13036)
5929 2012-11-30 Glenn Morris <rgm@gnu.org>
5931 * icomplete.el (icomplete-separator): Fix :version.
5933 2012-11-30 Chong Yidong <cyd@gnu.org>
5935 * shell.el (shell): For C-u M-x shell, use an inactive shell
5936 buffer as the default (Bug#1975).
5937 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
5938 (shell-mode): Use them to reapply ansi colorization if Shell mode
5941 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
5943 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
5945 2012-11-30 Samuel Bronson <naesten@gmail.com>
5947 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
5948 flag to xargs, for compatibility with BSD xargs (Bug#11703).
5950 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5952 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
5953 by move-to-column (Bug#3234).
5955 2012-11-30 Chong Yidong <cyd@gnu.org>
5957 * longlines.el (longlines-wrap-line, longlines-encode-region):
5958 Preserve text properties (Bug#1425).
5960 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5962 * vc/vc.el (vc-register): Allow registering a file which is
5963 already registered with a different backend (Bug#10589).
5965 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
5966 Stefan Monnier <monnier@iro.umontreal.ca>
5968 * icomplete.el: Change separator; add ido-style commands.
5969 (icomplete-show-key-bindings): Remove custom var.
5970 (icomplete-get-keys): Remove function.
5971 (icomplete-forward-completions, icomplete-backward-completions):
5973 (icomplete-minibuffer-map): New var.
5974 (icomplete-minibuffer-setup): Use it.
5975 (icomplete-exhibit): Don't delay if the list of completions is known.
5976 (icomplete-separator): New custom.
5977 (icomplete-completions): Use it.
5978 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
5979 (minibuffer-force-complete-and-exit): New command.
5980 (minibuffer--complete-and-exit): New function extracted from
5981 minibuffer-complete-and-exit.
5982 (minibuffer-complete-and-exit): Use it.
5984 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
5985 error message when the file doesn't exist (bug#12974).
5987 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5989 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
5991 2012-11-29 Glenn Morris <rgm@gnu.org>
5993 * files.el (hack-dir-local-variables): Warn if try to set
5994 coding via dir-locals, since it doesn't work. (Bug#7169)
5996 Add desktop support for restoring vc-dir buffers. (Bug#10606)
5997 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
5998 Set buffer-local value of desktop-save-buffer.
5999 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
6001 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
6002 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
6004 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
6005 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
6007 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
6010 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
6012 * calc/calc-forms.el (calc-date-notation): Fix regexp
6013 used to find time codes. Fix symbol for seconds.
6015 2012-11-27 Glenn Morris <rgm@gnu.org>
6017 * emacs-lisp/derived.el (derived-mode-make-docstring):
6018 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
6020 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6022 * textmodes/table.el (table-insert): Don't use `symbol-name' on
6023 lexically scoped variables (bug#13005).
6025 2012-11-27 Glenn Morris <rgm@gnu.org>
6027 * vc/vc-hooks.el (vc-mistrust-permissions):
6028 Default to t, to avoid data-loss. (Bug#11490)
6030 2012-11-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6032 * progmodes/python.el (python-indent-guess-indent-offset):
6033 If indentation is guessed make python-indent-offset buffer-local.
6035 Fix Imenu regression.
6036 * progmodes/python.el (python-nav-beginning-of-defun):
6037 Fix forward movement when statement(s) separates point from defun.
6038 (python-imenu-prev-index-position): New function.
6040 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6042 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
6044 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
6045 Don't set buffer-file-type. Return nil. (Bug#12989)
6047 2012-11-27 Glenn Morris <rgm@gnu.org>
6049 * hippie-exp.el (hippie-expand-try-functions-list):
6050 Re-autoload it. (Bug#12982)
6052 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6054 * descr-text.el (describe-char-padded-string):
6055 Call internal-char-font only on GUI frames. (Bug#11964)
6057 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
6059 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
6060 and obsoletion message.
6062 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6064 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
6065 the constructs to keep outside of the `cl-block' (bug#12977).
6067 2012-11-27 Chong Yidong <cyd@gnu.org>
6069 * mouse.el (mouse-drag-line): Even if the line is not draggable,
6070 keep reading until we get the up-event anyway, in order to process
6071 the up-event for mouse-1-click-follows-link (Bug#12971).
6073 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
6075 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
6076 base function is not yet defined (bug#12965).
6077 (ad-activate-advised-definition): Use ad-compile-function.
6078 (ad-activate): Use cond.
6080 2012-11-25 Leo Liu <sdl.web@gmail.com>
6082 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
6085 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6087 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
6088 reftex-section-info-function in order to be compatible with
6089 Texinfo integration.
6091 * textmodes/reftex.el (reftex-section-pre-regexp)
6092 (reftex-section-post-regexp, reftex-section-info-function):
6094 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
6095 reftex-section-post-regexp, and reftex-section-info-function in order
6096 to be compatible with Texinfo integration.
6098 * textmodes/reftex-toc.el (reftex-toc-promote-action):
6099 use reftex-section-pre-regexp variable in order to be compatible with
6100 Texinfo integration.
6102 2012-11-25 Chong Yidong <cyd@gnu.org>
6104 * faces.el: Make face-spec-set more analogous to setq.
6105 (face-spec-set): Change the third arg to specify whether this
6106 function is being called via defface, customize, or a third party.
6107 Set the appropriate symbol properties. Clear the override spec if
6108 setting via Custom. Initialize face if necessary. (Bug#4988)
6109 (face-spec-recalc): Allow theme faces to completely replace the
6110 defface spec, in the same way as custom faces (Bug#8454).
6112 * cus-face.el (custom-declare-face): Move face initialization to
6114 (custom-theme-set-faces): Don't initialize the face name here, as
6115 that is now done in face-spec-set.
6117 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
6118 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
6119 Simplify by using the new arg to face-spec-set.
6121 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
6122 reset face-override-spec too, and use custom-declare-face.
6124 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
6126 * term/ns-win.el (ns-initialize-window-system): Move creation of
6127 fontsets here (Bug#11964).
6129 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6131 * ses.el (ses-rename-cell): Correct bug on mode-line update after
6134 2012-11-24 Chong Yidong <cyd@gnu.org>
6136 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
6139 * custom.el (custom-theme-set-variables): Use a topological sort
6140 for ordering by custom dependencies (Bug#12952).
6141 (custom--sort-vars, custom--sort-vars-1): New functions.
6143 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
6145 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
6146 lexical-binding (bug#12938).
6148 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
6150 * image-mode.el (image-transform-check-size): Use assertions only
6151 for images of type imagemagick.
6153 Otherwise no error, image-transform-fit-to-{width,height} is
6154 silently ignored, as before. Doc fix.
6156 2012-11-24 Chong Yidong <cyd@gnu.org>
6158 * faces.el (color-defined-p): Doc fix (Bug#12853).
6160 2012-11-24 Juri Linkov <juri@jurta.org>
6162 * dired.el (dired-mark): Add optional arg `interactive'.
6163 Check for `use-region-p' if `interactive' is non-nil.
6164 (dired-unmark, dired-flag-file-deletion): Add optional arg
6165 `interactive'. Call `dired-mark' with the arg `interactive'.
6168 * wdired.el: Revert 2012-10-17 change partly and replace it with
6169 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
6170 (wdired-finish-edit): Add marks for new file names to
6171 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
6172 after `revert-buffer'.
6173 (wdired-do-renames): Remove calls to `dired-remove-file',
6174 `dired-add-file', `dired-add-entry'. (Bug#11795)
6176 2012-11-24 Alan Mackenzie <acm@muc.de>
6178 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
6180 Fix bugs in the state cache. Enhance a debugging mechanism.
6181 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
6182 "brace at column zero" strategy for C++.
6183 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
6184 (c-parse-state-point): New variable.
6185 (c-record-parse-state-state): Record old parse state with
6186 `copy-tree'. Record previous value of point.
6187 (c-debug-parse-state-double-cons): New debugging function.
6188 (c-debug-parse-state): Call the above new function.
6189 (c-toggle-parse-state-debug): Output a confirmatory message.
6191 * progmodes/cc-mode.el (c-before-change, c-after-change):
6192 Call c-invalidate-state-cache from `c-before-change' instead of
6195 2012-11-23 Chong Yidong <cyd@gnu.org>
6197 * find-cmd.el (find-constituents): Add executable, ipath,
6198 readable, samefile, writable, daystart, regextype (Bug#12856).
6200 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
6202 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
6204 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
6206 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
6207 definition. This fixes a bootstrap failure.
6208 (calc-gregorian-switch): In menu, put dates before regions.
6209 This is easier to follow, lines up better in the menu, and lets us
6210 coalesce regions that switch at the same time. Give country
6211 names, not "Vatican", as that's better for non-expert users.
6212 Use names that are stable between the date of switch and now, e.g.,
6213 Bohemia and Moravia (which existed then and now) and not
6214 Czechoslovakia (which didn't exist then and doesn't exist now).
6215 What is now the U.S. mostly did not switch at the same time as
6216 Britain, so omit the U.S. Correct spelling of "Britain".
6217 Catholic Switzerland was too much of a mess, so omit it.
6219 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
6221 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
6222 after the variable is changed.
6224 2012-11-21 Daniel Colascione <dancol@dancol.org>
6226 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
6227 in SQL declarations for font-lock.
6228 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
6230 2012-11-21 Glenn Morris <rgm@gnu.org>
6232 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
6233 (face-italic-p): Add optional argument "inherit".
6235 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
6236 Remove -p suffix from names, for consistency with other set-face-*.
6237 (set-face-inverse-video): Fix interactive spec.
6238 * play/gamegrid.el (gamegrid-make-mono-tty-face):
6239 * textmodes/table.el (table--update-cell-face):
6240 Use set-face-inverse-video rather than now obsolete alias.
6242 2012-11-21 Eli Zaretskii <eliz@gnu.org>
6244 * simple.el (line-move): Don't call line-move-partial if
6245 scroll-conservatively is in effect. (Bug#12927)
6247 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6249 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
6250 Fallback on completion-at-point rather than
6251 pcomplete-expand-and-complete, and only if pcomplete actually failed.
6252 (eshell-cmpl-initialize): Setup completion-at-point.
6254 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
6256 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
6258 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
6260 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
6261 are remote, check out-of-band property for both.
6263 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6265 * window.el (switch-to-buffer): Re-add the warning that was lost in the
6268 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
6270 More minor time fixes.
6271 * calendar/time-date.el: Commentary fix.
6272 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
6273 too much other code depends on (0 0) time stamps.
6274 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
6275 Add a couple of FIXME comments.
6277 Minor cleanup for times as lists of four integers.
6278 * files.el (dir-locals-directory-cache):
6279 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
6281 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
6282 * ps-bdf.el (bdf-file-newer-than-time):
6283 Process four-integers time stamps, not two. Doc fixes.
6285 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6287 * uniquify.el (uniquify-managed): Use defvar-local.
6288 (rename-buffer, create-file-buffer): Advise with advice-add.
6289 (uniquify-unload-function): Unadvise accordingly.
6291 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
6292 (trace-buffer): Don't purecopy.
6293 (trace-entry-message, trace-exit-message): Add `context' arg.
6294 (trace--timer): New var.
6295 (trace-make-advice): Adjust for use in nadvice.
6296 Add `context' argument. Delay `display-buffer' via a timer.
6297 (trace-function-internal): Use advice-add.
6298 (trace--read-args): New function.
6299 (trace-function-foreground, trace-function-background): Use it.
6300 (trace-function): Rename to trace-function-foreground and redefine as
6301 an alias to that new name.
6302 (untrace-function, untrace-all): Adjust to the use of nadvice.
6304 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
6306 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
6308 * subr.el (called-interactively-p-functions): New var.
6309 (internal--called-interactively-p--get-frame): New macro.
6310 (called-interactively-p, interactive-p): Rewrite in Lisp.
6311 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
6312 (called-interactively-p-functions): Use it.
6313 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
6314 (called-interactively-p-functions): Use it.
6315 * allout.el (allout-called-interactively-p): Don't assume
6316 called-interactively-p is a subr.
6318 2012-11-20 Glenn Morris <rgm@gnu.org>
6320 * profiler.el (profiler-report-mode-map): Add a menu.
6321 No need to bind `q' because we derive from special-mode.
6322 (profiler-report-find-entry): Handle calls from the menu-bar.
6324 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
6326 * emacs-lisp/byte-run.el (defun-declarations-alist):
6327 Allow a compiler-macro to be a lambda expression.
6329 * progmodes/python.el: Use cl-lib. Move var declarations outside of
6331 (python-syntax-context): Add compiler-macro.
6332 (python-font-lock-keywords): Simplify with De Morgan.
6334 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
6336 * files.el (load-file): Require match in minibuffer selection, as was
6337 the case in Emacs-20 before we changed the spec to allow .elc files
6340 * json.el: Don't require cl since we don't use it.
6341 * color.el: Don't require cl.
6342 (color-complement): `caddr' -> `nth 2'.
6344 * calendar/time-date.el (time-to-seconds): De-obsolete.
6346 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
6348 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
6350 (math-date-to-julian-dt): Adjust the initial approximation for the
6351 year to deal with the new definition of the DATE.
6353 2012-11-19 Daniel Colascione <dancol@dancol.org>
6355 * term/w32-win.el (cygwin-convert-path-from-windows):
6356 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6358 2012-11-18 Chong Yidong <cyd@gnu.org>
6360 * filecache.el (file-cache--read-list): New function.
6361 (file-cache-add-directory-list, file-cache-add-file-list)
6362 (file-cache-delete-file-list, file-cache-delete-directory-list):
6363 Use it to read a list of files or directories (Bug#12846).
6364 (file-cache-add-file, file-cache-add-directory)
6365 (file-cache-delete-file-list, file-cache-delete-file-regexp)
6366 (file-cache-delete-directory): Print an message.
6368 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
6370 * calc/calc-forms.el (math-date-to-dt): Use integer date when
6371 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
6373 2012-11-18 Glenn Morris <rgm@gnu.org>
6375 * image.el (insert-image, insert-sliced-image): Doc fix.
6377 2012-11-18 Chong Yidong <cyd@gnu.org>
6379 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
6382 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6384 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
6385 response when the target file is in a subdirectory (Bug#12757).
6387 2012-11-18 Chong Yidong <cyd@gnu.org>
6389 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
6391 2012-11-18 Glenn Morris <rgm@gnu.org>
6393 * emacs-lisp/cl-lib.el (face-underline-p):
6394 Use set-face-underline rather than the alias set-face-underline-p.
6396 * window.el (with-temp-buffer-window): Doc fix.
6397 * subr.el (with-output-to-temp-buffer):
6398 Add doc xref to with-temp-buffer-window.
6400 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
6402 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
6403 * calc/calc.el (math-format-date-cache): Declare.
6405 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
6407 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
6408 It also uses January 1, 1 AD as its day number 1.
6409 * calc/calc-forms.el (math-julian-date-beginning)
6410 (math-julian-date-beginning-int): Implement this.
6412 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
6414 * descr-text.el (quail-find-key):
6415 * dired.el (desktop-file-name):
6416 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
6417 * generic-x.el (comint-mode, comint-exec):
6418 * image-dired.el (widget-forward):
6419 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
6420 (speedbar-change-expand-button-char)
6421 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
6422 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
6423 * printing.el (easy-menu-add-item, easy-menu-remove-item)
6424 (widget-field-action, widget-value-set):
6425 * speedbar.el (imenu--make-index-alist):
6426 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
6427 (ring-length, ring-insert):
6428 * vcursor.el (compare-windows-skip-whitespace):
6429 * woman.el (dired-get-filename):
6432 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
6434 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6436 * calc/calc.el (calc-gregorian-switch): New variable.
6438 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
6439 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
6440 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
6441 (math-leap-year-p): Add option to distinguish between Julian
6442 and Gregorian calendars.
6443 (math-day-number): Use `math-day-in-year' to do the computations.
6444 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
6445 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
6446 to do the computations.
6447 (math-date-to-dt): Use `math-date-to-julian-dt' and
6448 `math-date-to-gregorian-dt' to do the computations.
6449 (calcFunc-weekday, math-format-date-part): Use the new version of
6450 the DATE to determine the weekday.
6451 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
6454 2012-11-17 Eli Zaretskii <eliz@gnu.org>
6456 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
6457 Cygwin; otherwise use 'file:'. (Bug#12914)
6458 (cygwin-convert-path-from-windows): Declare, to avoid
6459 byte-compiler warnings.
6461 2012-11-17 Andreas Politz <politza@fh-trier.de>
6463 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
6464 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
6465 prefix and negative numeric prefix args (Bug#12795).
6467 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
6469 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
6470 Don't signal an error with a score that is too low to add to the
6471 list of top scores. (Bug#12779)
6473 2012-11-17 Chong Yidong <cyd@gnu.org>
6475 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
6477 * filecache.el (file-cache-add-file): Handle relative file name in
6478 the argument (Bug#12694).
6480 2012-11-16 JĂ¼rgen Hötzel <juergen@archlinux.org> (tiny change)
6482 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
6484 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6486 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
6488 * emacs-lisp/cl-lib.el: Set more meaningful version number.
6490 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6492 * window.el (enlarge-window, shrink-window): Don't mention return
6493 value in doc-string (Bug#12896).
6494 (window--display-buffer): Don't resize frames - it won't work
6495 with all window managers and defeat pop-up-frame-alist.
6496 (display-buffer-alist): In doc-string explain that CONDITION can
6497 be a function and which arguments are passed to it (Bug#12854).
6498 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
6499 expressions (Bug#12854).
6500 (display-buffer): Pass ACTION argument to
6501 display-buffer-assq-regexp.
6503 2012-11-16 Glenn Morris <rgm@gnu.org>
6505 * window.el (fit-frame-to-buffer-bottom-margin)
6506 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
6508 * faces.el (face-underline-p): Use face-attribute-specified-or.
6510 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
6512 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
6514 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6516 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
6518 2012-11-16 Glenn Morris <rgm@gnu.org>
6520 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
6521 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
6523 * faces.el (face-underline-p): Doc fix. Handle :underline being
6524 things other than `t' (a string, a list).
6525 (face-inverse-video-p): Doc fix.
6526 (set-face-underline): Rename it back from set-face-underline-p.
6527 Doc fix. Allow interactive input of values other than t.
6528 (read-face-attribute): Apply formatting to :underline,
6529 since like :box and :stipple it can take list values.
6531 * term.el (ansi-term): Don't let C-x escape-char binding
6532 clobber the more standard C-c binding. (Bug#12842)
6534 * subr.el (set-temporary-overlay-map): Doc fix.
6536 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6538 * window.el (record-window-buffer)
6539 (display-buffer-record-window): When copying the markers to
6540 window-point preserve window-point-insertion-type. (Bug#12588)
6542 2012-11-16 Glenn Morris <rgm@gnu.org>
6544 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
6545 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
6546 Use new names for hooks rather than obsolete aliases.
6548 2012-11-15 Daniel Colascione <dancol@dancol.org>
6550 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
6551 prefix instead of "file:" so that when FILE-NAME begins with "//",
6552 as it does when the target file is on a network share, url-handler
6555 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6557 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
6558 a preactivated advice from an old advice.el; they're not compatible!
6560 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
6562 * emacs-lisp/nadvice.el (advice--make-interactive-form):
6563 Fix string-spec case.
6565 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
6567 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6569 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
6570 (advice--buffer-local-function-sample): New var.
6571 (advice--set-buffer-local, advice--buffer-local): New functions.
6572 (add-function, remove-function): Use them.
6574 2012-11-15 Drew Adams <drew.adams@oracle.com>
6576 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
6578 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6580 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
6581 potential binding of print-gensym to t, and prettify (back)quotes in
6582 case they appear in args's default values (bug#12884).
6584 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6586 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
6587 (advice-eval-interactive-spec): New function.
6588 (advice--make-interactive-form): Support around advice (bug#12844).
6590 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
6592 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
6593 more strict. Add docstring.
6594 (ruby-expression-expansion-re): Extract from
6595 `ruby-match-expression-expansion'.
6596 (ruby-syntax-propertize-function): After everything else, search
6597 for expansions in string literals, mark their insides as
6598 whitespace syntax and save match data for font-lock.
6599 (ruby-font-lock-keywords): Use the 2nd group from expression
6601 (ruby-match-expression-expansion): Use the match data saved to the
6602 text property in ruby-syntax-propertize-function.
6604 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6606 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
6609 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6611 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
6612 start/end keyword a bit harder. Works with different values of N.
6614 (ruby-end-of-block): Update accordingly.
6616 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6618 * woman.el (woman-file-name): Don't mess with unread-command-events
6621 * emacs-lisp/advice.el: Layer on top of nadvice.el.
6622 Remove out of date self-require hack.
6623 (ad-do-advised-functions): Use simple `dolist'.
6624 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
6625 (ad-advice-definition): Redefine as functions.
6626 (ad-advice-classes): Move before first use.
6627 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
6628 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
6629 (ad--defalias-fset): Remove functions.
6630 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
6631 (ad-get-orig-definition): Rewrite.
6632 (ad-make-advised-definition-docstring): Change base docstring.
6633 (ad-real-orig-definition): Rewrite.
6634 (ad-map-arglists): Change name of called function.
6635 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
6636 (ad-make-advised-definition): Simplify.
6637 (ad-assemble-advised-definition): Tweak for new calling context.
6638 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
6639 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
6640 function and call ad-activate if needed.
6641 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
6642 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
6643 (ad-compile-function): Compile ad-Advice-*.
6644 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
6645 (ad-start-advice, ad-stop-advice): Remove.
6647 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6649 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
6650 period before class method names, not after. Remove handling of
6651 one impossible case. Add comments.
6653 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6655 * emacs-lisp/advice.el: Remove support for freezing.
6656 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
6657 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
6658 Remove support for `freeze'.
6660 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
6661 override the default.
6662 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
6664 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
6667 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
6669 (advice--strip-macro): New function.
6670 (advice--defalias-fset): Use them to handle macros.
6671 (advice-add): Use them.
6672 (advice-member-p): Correctly handle macros.
6674 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6676 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6677 Never font-lock the beginning of singleton class as heredoc.
6679 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6681 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
6683 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
6685 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
6686 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
6687 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
6689 2012-11-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6691 Fix end-of-defun misbehavior.
6692 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
6693 python-beginning-of-defun-function. Handle nested defuns
6695 (python-nav-end-of-defun): Rename from
6696 python-end-of-defun-function. Ensure forward movement.
6697 (python-info-current-defun): Reimplement to work as intended
6698 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
6699 parent defuns as soon as possible.
6701 2012-11-13 Glenn Morris <rgm@gnu.org>
6703 * progmodes/flymake.el (flymake-error-bitmap)
6704 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
6705 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
6707 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6709 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
6710 backward, always stop at indentation. Reverts the change from
6711 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
6713 2012-11-13 Glenn Morris <rgm@gnu.org>
6715 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
6716 Add ibuffer-filter-by-derived-mode.
6718 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
6719 the same name shadowing each other.
6721 * window.el (with-temp-buffer-window): Doc tweak.
6723 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
6725 * help.el (temp-buffer-max-height):
6726 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
6727 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
6729 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
6731 * emacs-lisp/nadvice.el: New package.
6732 * subr.el (special-form-p): New function.
6733 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
6734 (elp-all-instrumented-list): Remove var.
6735 (elp-not-profilable): Remove elp-wrapper.
6736 (elp-profilable-p): Use autoloadp and special-form-p.
6737 (elp--advice-name): New const.
6738 (elp-instrument-function): Use advice-add.
6739 (elp--instrumented-p): New predicate.
6740 (elp-restore-function): Use advice-remove.
6741 (elp-restore-all, elp-reset-all): Use mapatoms.
6742 (elp-set-master): Use elp--instrumented-p.
6743 (elp--make-wrapper): Rename from elp-wrapper, return a function
6744 suitable for advice-add. Use cl-inf.
6745 (elp-results): Use mapatoms+elp--instrumented-p.
6746 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
6747 (debug-function-list): Remove var.
6748 (debug): Rename arg, and then let-bind it explicitly inside.
6749 (debugger-setup-buffer): Rename arg.
6750 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
6751 (debugger-frame-number): Adjust to new debug-on-entry setup.
6752 (debug--implement-debug-on-entry): Rename from
6753 implement-debug-on-entry, add argument.
6754 (debugger-special-form-p): Remove, use special-form-p instead.
6755 (debug-on-entry): Use advice-add.
6756 (debug--function-list): New function.
6757 (cancel-debug-on-entry): Use it, along with advice-remove.
6758 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
6759 (debugger-list-functions): Use debug--function-list instead of
6760 debug-function-list.
6761 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
6762 (ad-special-form-p): Remove, use special-form-p instead.
6763 (ad-set-advice-info): Use add-function and remove-function.
6764 (ad--defalias-fset): Adjust accordingly.
6766 2012-11-10 Glenn Morris <rgm@gnu.org>
6768 * mail/emacsbug.el (report-emacs-bug-tracker-url)
6769 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
6770 (report-emacs-bug-create-existing-bugs-buffer)
6771 (report-emacs-bug-parse-query-results)
6772 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
6774 * term.el (term-default-fg-color, term-default-bg-color):
6775 Make obsolete, rather than just saying "deprecated" in the doc.
6777 * term.el (term): Rename from `term-face'.
6778 (term-current-face, ansi-term-color-vector)
6779 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
6782 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
6784 * server.el (server-create-window-system-frame): Handle Nextstep
6785 specially (Bug#12780).
6787 2012-11-10 Glenn Morris <rgm@gnu.org>
6789 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
6790 Unautoload, and make obsolete. (Bug#7449)
6792 2012-11-10 Chong Yidong <cyd@gnu.org>
6794 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
6795 rename from diff-remove-trailing-whitespace (Bug#12831).
6797 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6799 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
6800 miscompilation of trace.el.
6802 2012-11-10 Glenn Morris <rgm@gnu.org>
6804 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
6806 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6808 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
6811 2012-11-10 Chong Yidong <cyd@gnu.org>
6813 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
6814 a defcustom with an appropriate :set function.
6815 (minibuffer-default--in-prompt-regexps): New function.
6817 2012-11-10 Glenn Morris <rgm@gnu.org>
6819 * emacs-lisp/cl.el (define-setf-expander, defsetf)
6820 (define-modify-macro): Doc fixes.
6822 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
6823 (gv-define-simple-setter): Update doc of `fix-return'.
6825 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6827 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
6828 twice when `fix-return' is set (bug#12813).
6830 * emacs-lisp/cl.el (defsetf): Pass the third arg to
6831 gv-define-simple-setter (bug#12812).
6833 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
6836 2012-11-10 Glenn Morris <rgm@gnu.org>
6838 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
6840 * emacs-lisp/cl-extra.el (cl-prettyexpand):
6841 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
6842 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
6843 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
6845 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
6847 2012-11-10 Leo Liu <sdl.web@gmail.com>
6849 * ido.el (ido-set-matches-1): Improve flex matching performance by
6850 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
6852 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6854 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
6855 (ad--defalias-fset): New function.
6856 (ad-safe-fset): Remove.
6857 (ad-make-freeze-definition): Use cl-letf*.
6859 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6861 * subr.el (dolist): Don't bind VAR in RESULT.
6863 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
6864 (fset, documentation): Don't save real def since we don't advise.
6865 (ad-do-advised-functions): Remove problematic `result-form'.
6866 (ad-safe-fset): `ad-real-fset' => `fset'.
6867 (ad-read-advised-function): Don't assume that ad-do-advised-functions
6868 uses CL's dolist internally.
6869 (ad-arglist): Remove unused arg `name'.
6870 (ad-docstring, ad-make-advised-docstring):
6871 `ad-real-documentation' => `documentation'.
6872 (warning-suppress-types): Declare.
6873 (ad-set-arguments): Simple CSE.
6874 (ad-recover-normality): Sanity check.
6876 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
6877 (funcall '(lambda ..) ..) into ((lambda ..) ..).
6879 2012-11-09 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6881 * ses.el: symbol to coordinate mapping is made by symbol property
6882 `ses-cell'. This means that the same mapping is done for all SES
6883 sheets. That is good enough for cells with standard A1 names, but
6884 not for named cell. So a hash map is added for the latter.
6885 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
6886 (ses-sym-rowcol): Use hashmap for named cell.
6887 (ses-is-cell-sym-p): New defun.
6888 (ses-decode-cell-symbol): New defun.
6889 (ses-create-cell-variable): Add cell to hashmap when name is not
6891 (ses-rename-cell): Check that cell new name is not already in
6892 spreadsheet with the use of ses-is-cell-sym-p
6893 (ses-rename-cell): Use hash map for named cells, but accept also
6894 renaming back to A1-like.
6896 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6898 * emacs-lisp/advice.el: Use new dynamic docstrings.
6899 (ad-make-advised-definition-docstring, ad-advised-definition-p):
6900 Use dynamic-docstring-function instead of ad-advice-info.
6901 (ad--make-advised-docstring): New function extracted from
6902 ad-make-advised-docstring.
6903 (ad-make-advised-docstring): Use it.
6904 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
6906 (sql-help): Use it with dynamic-docstring-function.
6908 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
6910 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6912 * files.el (hack-one-local-variable--obsolete): New function.
6913 (hack-one-local-variable): Use it for obsolete settings.
6915 * subr.el (locate-user-emacs-file): If both old and new name exist, use
6918 * progmodes/js.el (js--filling-paragraph): New var.
6919 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
6920 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
6923 2012-11-08 Julien Danjou <julien@danjou.info>
6925 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
6926 `auto-mode-alist' (Bug#12835).
6928 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6930 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
6931 (perl--prettify-symbols-alist): New const.
6932 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
6934 (perl-font-lock-keywords-2): Use them.
6935 (perl-electric-noindent-p): New function.
6936 (perl-mode): Use it to set up electric-indent-mode.
6937 (perl-electric-terminator, perl-indent-command): Mark obsolete.
6938 (perl-mode-map): Remove bindings for them.
6939 (perl-imenu-generic-expression, perl-outline-level):
6940 Match functions&packages in column>0.
6942 * env.el (env--substitute-vars-regexp): New const.
6943 (substitute-env-vars): Use it. Add `only-defined' arg.
6944 * net/tramp.el (tramp-replace-environment-variables): Use it.
6946 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
6947 Byte-compile *before* eval in eval-and-compile.
6948 (byte-compile-log-warning): Remove redundant inhibit-read-only.
6949 (byte-compile-file-form-autoload): Don't hide actual definition.
6950 (byte-compile-maybe-guarded): Accept `functionp' as well.
6952 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
6954 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
6956 * notifications.el (notifications-get-server-information-method):
6958 (notifications-get-capabilities): Fix docstring.
6959 (notifications-get-server-information): New defun.
6961 2012-11-06 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
6963 * textmodes/ispell.el (ispell-region): Standard re-indent for better
6966 * textmodes/ispell.el: Experimental support for support debugging.
6967 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
6969 (ispell-print-if-debug): New function to print stuff to
6970 `ispell-debug-buffer' if debugging is enabled.
6971 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
6972 show some debugging info.
6973 (ispell-buffer-with-debug): New function that creates a debugging
6974 buffer and calls `ispell-buffer' with debugging enabled.
6976 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
6977 comment in autoconf mode. (Bug#12768)
6979 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
6981 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
6982 frame-first-window, frame-root-window, frame-selected-window,
6983 minibuffer-selected-window, minibuffer-window,
6984 window-absolute-pixel-edges, window-at, window-body-height,
6985 window-body-width, window-display-table, window-combination-limit,
6986 window-frame, window-fringes, window-inside-absolute-pixel-edges,
6987 window-inside-edges, window-inside-pixel-edges, window-left-child,
6988 window-left-column, window-margins, window-next-buffers,
6989 window-next-sibling, window-new-normal, window-new-total,
6990 window-normal-size, window-parameter, window-parameters, window-parent,
6991 window-pixel-edges, window-point, window-prev-buffers,
6992 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
6993 window-start, window-text-height, window-top-child, window-top-line,
6994 window-total-height, window-total-width and window-use-time to the list
6995 of functions without side-effects.
6996 (toplevel): Add window-valid-p to the list of error-free functions
6997 without side-effects.
6999 2012-11-05 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
7001 * textmodes/ispell.el (ispell-program-name):
7002 Update spellchecker parameters when customized.
7004 2012-11-04 Glenn Morris <rgm@gnu.org>
7006 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
7008 2012-11-04 Chong Yidong <cyd@gnu.org>
7010 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
7011 same-window-* variables.
7013 2012-11-04 Juri Linkov <juri@jurta.org>
7015 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
7016 (isearch-describe-key, isearch-describe-mode): Use a display
7017 action instead of binding same-window-* variables (Bug#10040).
7019 2012-11-03 Glenn Morris <rgm@gnu.org>
7021 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
7022 Rename handler properties back from cl-- to cl-. (Bug#12788)
7024 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
7026 2012-11-03 Eli Zaretskii <eliz@gnu.org>
7028 * term/pc-win.el: Don't load term/internal from here.
7030 * loadup.el: Load term/internal from here.
7032 2012-11-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7034 * progmodes/python.el (inferior-python-mode): Fix hang in
7035 jit-lock (Bug#12645).
7037 2012-11-03 Martin Rudalics <rudalics@gmx.at>
7039 * window.el (switch-to-visible-buffer)
7040 (switch-to-buffer-preserve-window-point): Fix doc-strings.
7042 2012-11-03 Glenn Morris <rgm@gnu.org>
7044 * emacs-lisp/cl-lib.el (cl--random-time):
7045 Rename from cl-random-time. (Bug#12773)
7046 (cl--gensym-counter, cl--random-state): Update callers.
7047 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
7049 2012-11-03 Chong Yidong <cyd@gnu.org>
7051 * cus-start.el: Make cursor-type customizable (Bug#11633).
7053 2012-11-02 Glenn Morris <rgm@gnu.org>
7055 * filecache.el: No need to load find-lisp when compiling.
7056 (find-lisp-find-files): Autoload it.
7057 (file-cache-add-directory-recursively): Don't require find-lisp.
7059 * image.el (image-type-from-file-name): Trivial simplification.
7061 * emacs-lisp/bytecomp.el (byte-compile-eval):
7062 Decouple "noruntime" and "cl-functions" warnings.
7064 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
7066 * play/gomoku.el (gomoku-display-statistics): Update mode line
7067 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
7069 2012-10-31 Martin Rudalics <rudalics@gmx.at>
7071 * window.el (quit-restore-window): If the window has been
7072 created on an existing frame and ended up as the sole window on
7073 that frame, do not delete it (Bug#12764).
7075 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
7077 * progmodes/sh-script.el (sh--inside-noncommand-expression):
7078 Rename from sh--inside-arithmetic-expression, handle more cases
7081 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
7082 (sh-font-lock-open-heredoc): Use it (bug#12770).
7084 2012-10-30 Glenn Morris <rgm@gnu.org>
7086 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
7088 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
7090 2012-10-29 Chong Yidong <cyd@gnu.org>
7092 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
7093 function key is stored in a keyboard macro (Bug#4894).
7095 * thingatpt.el (number-at-point): Apply a thing-at-point property.
7097 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7099 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
7101 (diff-unified->context, diff-context->unified)
7102 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
7104 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
7106 * files.el (find-alternate-file): Only ask one question (bug#12487).
7108 2012-10-29 Chong Yidong <cyd@gnu.org>
7110 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
7111 Suggested by Dan Nicolaescu (Bug#6326).
7113 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
7115 * startup.el (fancy-about-screen): Don't message (Bug#12680).
7117 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
7119 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
7121 * face-remap.el (face-remap-add-relative): Handle the case where a
7122 face-remapping-alist entry is a cons cell (Bug#12762).
7124 2012-10-29 Kevin Ryde <user42@zip.com.au>
7126 * woman.el (woman-parse-numeric-value): Handle picas correctly
7129 2012-10-29 Glenn Morris <rgm@gnu.org>
7131 * emacs-lisp/cl.el (defsetf): Doc fix.
7133 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7135 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
7136 syntax to the matching opener, if any (bug#12547).
7137 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
7138 matching open as a "case-(".
7139 (sh-smie-rc-grammar): Add a corresponding rule for it.
7141 2012-10-28 Daniel Hackney <dan@haxney.org>
7143 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
7144 "PKGNAME-autoloads.el" in case we created it.
7146 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7148 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
7149 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
7150 (completion--twq-all): Disable too-strict assertions.
7152 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
7154 2012-10-27 Eli Zaretskii <eliz@gnu.org>
7156 * profiler.el (profiler-report-make-entry-part): Fix help-echo
7157 text to match the real keybindings.
7159 2012-10-27 Juri Linkov <juri@jurta.org>
7161 * wdired.el (wdired-keep-marker-rename): New defcustom.
7162 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
7165 * dired.el (dired-keep-marker-rename): Add reference to
7166 `wdired-keep-marker-rename' in the docstring.
7167 Add default character value ?R to display initially in
7168 Customization UI instead of ?@.
7170 2012-10-27 Martin Rudalics <rudalics@gmx.at>
7172 * window.el (display-buffer): In doc-string describe
7173 window-height and window-width alist entries.
7175 * time.el (display-time-world): Restore fit-window-to-buffer
7178 2012-10-27 Chong Yidong <cyd@gnu.org>
7180 * subr.el (insert-buffer-substring-as-yank): Doc fix.
7182 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
7184 * minibuffer.el (completion-category-overrides): New completion
7185 category `bookmark' (bug#11131).
7187 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7189 * emacs-lisp/advice.el (ad-assemble-advised-definition):
7190 Silence bogus compiler warnings for ad-do-it.
7192 * bookmark.el (bookmark-completing-read): Set the completion category
7193 to `bookmark' (bug#11131).
7195 2012-10-26 Bastien <bzg@altern.org>
7196 Stefan Monnier <monnier@iro.umontreal.ca>
7198 * face-remap.el: Use lexical-binding.
7199 (text-scale-adjust): Improve docstring. Use itself for the temporary
7200 overlay-map bindings, so as to repeat the "Use..." message each time.
7202 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7204 * emacs-lisp/macroexp.el (macroexp--expand-all):
7205 Obey byte-compile-warning-enabled-p (bug#12486).
7207 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
7208 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
7210 2012-10-26 Martin Rudalics <rudalics@gmx.at>
7212 * mouse.el (mouse-drag-line): Move last form into preceding when
7215 * help.el (resize-temp-buffer-window): Fix doc-string.
7217 2012-10-25 David Engster <deng@randomsample.de>
7219 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
7220 Remove. This feature is already integrated in imenu.
7222 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
7223 always loaded. Require `speedbar' unconditionally.
7225 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7227 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
7229 * minibuffer.el (minibuffer-force-complete): Fix thinko.
7231 * net/ldap.el (ldap-search-internal): The official ldif format starts
7232 with a "version: 1" header (bug#12724).
7234 * emacs-lisp/package.el (package-installed-p): Warn if not ready
7237 2012-10-25 Glenn Morris <rgm@gnu.org>
7239 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
7241 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7243 * minibuffer.el (minibuffer-force-complete): Use one more marker
7244 for the temporary-overlay-map command (bug#12619).
7246 2012-10-24 Chong Yidong <cyd@gnu.org>
7248 * time.el (display-time-world-mode): Derive from special-mode.
7249 (display-time-world): Use display-buffer (Bug#12708).
7250 (display-time-world-mode-map): Variable deleted.
7251 (display-time-world-display): Wrap the final delete-char inside
7254 2012-10-24 Chong Yidong <cyd@gnu.org>
7256 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
7259 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
7261 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7263 * minibuffer.el (completion--all-sorted-completions-location): New var.
7264 (completion--cache-all-sorted-completions)
7265 (completion--flush-all-sorted-completions): Use it.
7266 (completion-in-region, completion-in-region--postch)
7267 (completion-at-point, completion-help-at-point): Use markers in
7268 completion-in-region--data (bug#12619).
7270 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7272 * progmodes/compile.el (compilation-start): Try to handle common
7273 quoting of `cd' argument (bug#12640).
7275 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
7278 2012-10-23 Glenn Morris <rgm@gnu.org>
7280 * progmodes/gud.el (gud-menu-map):
7281 Check gdb-active-process is bound. (Bug#12358)
7283 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7285 * repeat.el (repeat): Set real-this-command (bug#12232).
7287 * htmlfontify.el (hfy-post-html-hook):
7288 * filesets.el (filesets-cache-fill-content-hook):
7289 * arc-mode.el (archive-extract-hook):
7290 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
7291 * net/rcirc.el (rcirc-sentinel-functions)
7292 (rcirc-receive-message-functions, rcirc-activity-functions)
7293 (rcirc-print-functions):
7294 * net/dbus.el (dbus-event-error-functions):
7295 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
7296 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
7297 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
7298 * term/sun.el (sun-raw-prefix-hooks):
7299 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
7301 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
7303 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7304 Set `tramp-chunksize' to 1. This improves the performance.
7305 (tramp-smb-wait-for-output): Add timeout to
7306 `tramp-accept-process-output' calls.
7308 2012-10-23 Chong Yidong <cyd@gnu.org>
7310 * faces.el (font-list-limit): Define as an obsolete variable.
7312 * startup.el (command-line):
7313 * cus-start.el: Don't refer to font-list-limit.
7315 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
7317 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7319 * subr.el (internal-temp-output-buffer-show): Rename from
7320 temp-output-buffer-show, since previously compiled files expect this name.
7322 2012-10-23 Glenn Morris <rgm@gnu.org>
7324 * image.el (image-type-from-file-name): If multiple types match,
7325 return the first one that is supported. (Bug#9045)
7327 2012-10-22 Glenn Morris <rgm@gnu.org>
7329 * image.el (imagemagick-enabled-types): Doc fix.
7331 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
7333 * progmodes/which-func.el (which-func-current): The hash-table may have
7334 an explicit nil (bug#12338).
7336 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7338 * electric.el (electric-pair-delete-selection-self-insert-function):
7339 Rename to electric-pair-will-use-region, return a boolean.
7340 (electric-pair-mode): Adjust accordingly. Don't require delsel.
7342 * delsel.el (delete-selection-helper): Use a function instead of a hook.
7343 (delete-selection-pre-hook): Use use-region-p.
7344 (delete-selection-self-insert-function): Remove.
7345 (self-insert-command): Obey self-insert-uses-region-functions.
7346 (self-insert-iso): Revert to previous setting, since we don't actually
7347 know what that command does.
7348 (delete-selection-self-insert-hooks): Remove.
7350 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
7352 * delsel.el (delete-selection-helper): New function, extracted from
7353 delete-selection-pre-hook.
7354 (delete-selection-pre-hook): Use it.
7355 (delete-selection-self-insert-function): New function.
7356 (delete-selection-self-insert-hooks): New hook.
7357 (self-insert-command, self-insert-iso): Use it.
7358 * electric.el (electric-pair-syntax): New function, extracted from
7359 electric-pair-post-self-insert-function.
7360 (electric-pair-post-self-insert-function): Use it.
7361 (electric-pair-delete-selection-self-insert-function): New function.
7362 (electric-pair-mode): Require delsel and setup
7363 delete-selection-self-insert-hooks (bug#11520).
7365 2012-10-20 Chong Yidong <cyd@gnu.org>
7367 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
7368 no changes to show (Bug#12586).
7370 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
7371 list explicitly (Bug#12571).
7373 2012-10-20 Arne Jørgensen <arne@arnested.dk>
7375 * progmodes/flymake.el (flymake-create-temp-inplace):
7378 2012-10-20 Eli Zaretskii <eliz@gnu.org>
7380 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
7382 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
7384 * calc/calc-units.el (math-extract-units): Properly extract powers
7387 2012-10-20 Daniel Colascione <dancol@dancol.org>
7389 * frame.el (make-frame): Set x-display-name as we used to in order
7390 to unbreak creating an X11 frame from an Emacs daemon started
7393 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7395 * minibuffer.el (minibuffer-force-complete): Make the next completion use
7396 the same completion-field (bug#12221).
7398 2012-10-19 Martin Rudalics <rudalics@gmx.at>
7400 * emacs-lisp/debug.el (debug): Record height of debugger window
7401 also when debugger will be back (Bug#8789).
7403 2012-10-18 Chong Yidong <cyd@gnu.org>
7405 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7406 Convert to defcustom.
7407 (gdb-get-source-file): Don't bind pop-up-windows.
7409 * progmodes/gud.el (gud-display-line): Don't specially re-use
7410 other frames for the gdb-mi case (Bug#12648).
7412 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7414 * emacs-lisp/advice.el: Clean up commentary a bit.
7415 (ad-do-advised-functions, ad-with-originals): Use `declare'.
7416 (byte-code-function-p): Never redefine.
7418 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
7420 2012-10-18 Glenn Morris <rgm@gnu.org>
7422 * dired.el (dired-sort-toggle): Some ls implementations only allow
7423 a single option string. (Bug#12666)
7425 * minibuffer.el (completion-cycle-threshold): Doc fix.
7427 2012-10-17 Kenichi Handa <handa@gnu.org>
7429 * international/mule.el (set-keyboard-coding-system):
7430 Recover input meta mode when the new coding system doesn not use 8-bit.
7431 Supply TERMINAL arg to set-input-meta-mode.
7433 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7435 * wdired.el (wdired-old-marks): New variable.
7436 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
7437 (wdired-do-renames): Move point with renamed file and don't lose
7438 mark status (Bug#11795).
7440 2012-10-16 Juri Linkov <juri@jurta.org>
7442 * replace.el (query-replace-help): Mention multi-buffer replacement
7443 keys in the Help message. (Bug#12655)
7445 2012-10-15 Chong Yidong <cyd@gnu.org>
7447 * emacs-lisp/byte-run.el (defsubst): Doc fix.
7449 2012-10-14 Eli Zaretskii <eliz@gnu.org>
7451 * window.el (display-buffer): Doc fix.
7453 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7454 Adjust the msft regexp to the output of Studio 2010, and move msft
7455 before edg-1. See the discussion on emacs-devel,
7456 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
7459 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7461 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
7462 (oset): Move uses of object-class-fast macro after its definition.
7464 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
7466 2012-10-13 Chong Yidong <cyd@gnu.org>
7468 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
7469 enabled, re-enable it (Bug#11963).
7471 2012-10-13 Martin Rudalics <rudalics@gmx.at>
7473 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
7474 non-nil, restore window configuration (Bug#12623).
7476 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7478 * help-fns.el (describe-variable, describe-function-1):
7479 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
7481 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
7483 2012-10-12 Glenn Morris <rgm@gnu.org>
7485 * mail/rmailsum.el (rmail-header-summary):
7486 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
7488 2012-10-12 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7490 * progmodes/python.el (python-mode-map):
7491 Replace subtitute-key-definition with proper command remapping.
7492 (python-nav--up-list): Fix behavior for blocks on the same level.
7494 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7496 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
7498 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
7499 changes to the format of load-history.
7501 * international/mule-cmds.el (read-char-by-name): Move let-binding of
7502 completion-ignore-case in case that var is buffer-local (bug#12615).
7504 2012-10-11 Kenichi Handa <handa@gnu.org>
7506 * international/eucjp-ms.el: Re-generated.
7508 2012-10-10 Kenichi Handa <handa@gnu.org>
7510 * select.el (xselect--encode-string): If a coding is specified for
7511 selection, and that is compatible with COMPOUND_TEXT, use it.
7513 2012-10-10 Martin Rudalics <rudalics@gmx.at>
7515 * window.el (switch-to-buffer-preserve-window-point): New option.
7517 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
7519 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7521 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
7522 Don't document nil as a useful value (bug#12583).
7524 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
7526 * net/tramp.el (tramp-debug-message):
7527 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
7528 (with-tramp-progress-reporter): Rename from
7529 `tramp-with-progress-reporter'.
7530 (with-tramp-file-property, with-tramp-connection-property):
7531 Move from tramp-cache.el, rename from `with-file-property' and
7532 `with-connection-property', respectively.
7534 * net/tramp-cache.el: Remove `with-file-property' and
7535 `with-connection-property'.
7538 * net/tramp-gvfs.el:
7540 * net/tramp-smb.el: Adapt callees.
7542 * net/trampver.el: Update release number.
7544 2012-10-09 Glenn Morris <rgm@gnu.org>
7546 * w32-fns.el (set-message-beep):
7547 * term/w32-win.el (set-message-beep): Update declarations.
7549 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7551 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
7552 (mode-line-widen, mode-line-input-method-map)
7553 (mode-line-coding-system-map, mode-line-remote)
7554 (mode-line-unbury-buffer, mode-line-bury-buffer)
7555 (mode-line-next-buffer, mode-line-previous-buffer):
7556 Replace save-selected-window+select-window => with-selected-window.
7558 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
7559 * progmodes/cc-vars.el (bq-process): Remove, unused.
7561 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
7563 2012-10-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7565 Implemented `backward-up-list'-like navigation.
7566 * progmodes/python.el (python-nav-up-list)
7567 (python-nav-backward-up-list): New functions.
7568 (python-mode-map): Define substitute key for backward-up-list to
7569 python-nav-backward-up-list.
7571 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7573 * progmodes/python.el (python-fill-paragraph): Rename from
7574 python-fill-paragraph-function. Fixed fill-paragraph for
7575 decorators (Bug#12605).
7577 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7579 * progmodes/python.el (python-shell-output-filter): Handle extra
7580 carriage return in OSX (Bug#12409).
7582 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7584 Fix shell handling of unbalanced quotes and parens in output.
7585 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
7586 (python-syntax-propertize-function): Use it.
7587 (python-shell-output-syntax-table): New var.
7588 (inferior-python-mode): Prevent unbalanced parens/quotes from
7589 previous output mess with current input context.
7591 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
7593 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
7594 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
7596 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
7598 * ffap.el (ffap-replace-file-component): Support Tramp file name
7599 syntax, not only ange-ftp's one.
7601 2012-10-08 Glenn Morris <rgm@gnu.org>
7603 * cus-start.el (message-log-max): Set :version.
7605 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
7607 2012-10-08 Martin Rudalics <rudalics@gmx.at>
7609 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
7610 the minibuffer window (Bug#10851).
7612 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7614 Enhancements on forward-sexp movement.
7615 * progmodes/python.el (python-nav-beginning-of-statement)
7616 (python-nav-end-of-statement): Return point-marker.
7617 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
7618 (python-info-current-symbol)
7619 (python-info-statement-starts-block-p): Rename from
7620 python-info-beginning-of-block-p.
7621 (python-info-statement-ends-block-p): Rename from
7622 python-info-end-of-block-p.
7623 (python-info-beginning-of-statement-p)
7624 (python-info-end-of-statement-p)
7625 (python-info-beginning-of-block-p, python-info-end-of-block-p):
7628 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7630 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
7631 frame-selected-windows.
7633 2012-10-08 Daniel Colascione <dancol@dancol.org>
7635 * battery.el (battery-status-function): Check for
7636 w32-battery-status itself, not system-time windows-nt.
7638 * frame.el: Require cl-lib.
7639 (display-format-alist): New variable mapping frame types to
7640 functions that initialize them.
7641 (window-system-for-display): New function: interprets
7642 display-format-alist.
7643 (make-frame-on-display): Remove existing display-selection logic
7644 and just forward to make-frame, which will now DTRT.
7645 (make-frame): Restructure to use window-system-for-display to
7646 figure out how to create a frame on a given display.
7647 (display-mouse-p): Look for frame-type w32, not a particular
7650 * loadup.el: Load w32 lisp code when we have the w32 feature.
7652 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
7653 system-type windows-nt.
7655 * server.el (server-create-window-system-frame): Look for window
7657 (server-proces-filter): Only force a window system when windows-nt
7658 _and_ w32. Explain why.
7660 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
7661 of window systems we configure for the mode.
7663 * startup.el (command-line): Mark window system is initialized
7664 after we've done it.
7666 * common-win.el (x-select-text): Look for w32, not windows-nt.
7668 * ns-win.el: Require cl-lib. Add ourselves to
7669 display-format-alist.
7670 (ns-initialize-window-system): Assert we're not initialized twice.
7672 * w32-win.el: Enable lexical binding; require cl-lib; add
7673 ourselves to display-format-alist.
7674 (w32-handle-dropped-file): Convert incoming dropped files from
7675 Windows paths to Cygwin ones before passing them on to the rest of
7677 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
7678 (w32-initialize-window-system): Assert we're not initialized twice.
7680 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
7681 (x-initialize-window-system): Assert we're not initialized twice.
7683 * w32-common-fns.el: New File.
7684 (w32-version, w32-using-nt, w32-get-clipboard-data)
7685 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7686 (w32-charset-info-alist, x-last-selected, text)
7687 (x-get-selection-value, x-selection-value): Move here.
7689 * w32-fns.el: Require w32-common-fns.
7690 (w32-version, w32-using-nt, w32-get-clipboard-data)
7691 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7692 (w32-charset-info-alist, x-last-selected, text)
7693 (x-get-selection-value, x-selection-value): Move to
7697 (w32-allow-system-shell, w32-system-shells): Define only in
7700 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7702 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
7703 (read-passwd): Remove a few more potential sources of leaks.
7705 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7707 * progmodes/python.el (inferior-python-mode)
7708 (python-shell-make-comint): Fix initialization of local
7709 variables copied from parent buffer.
7711 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
7713 * term/ns-win.el (ns-read-file-name): Update declaration to match
7715 (ns-respond-to-change-font): Change fontsize separately so we are sure
7716 it is set when font is acted upon.
7718 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7720 Enhancements to indentation.
7721 * progmodes/python.el (python-indent-context): Give priority to
7722 inside-string context. Make comments indentation markers.
7723 (python-indent-region): Do not mess with strings, unless it's the
7724 enclosing set of quotes.
7726 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7728 * window.el (internal--before-save-selected-window)
7729 (internal--after-save-selected-window): New functions extracted from
7730 save-selected-window. Make sure we return the `alist' we construct.
7731 (save-selected-window): Use them.
7733 * textmodes/tex-mode.el (tex-recenter-output-buffer):
7734 Use with-selected-window.
7736 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
7737 forms that define macros (bug#12593).
7739 2012-10-07 Kenichi Handa <handa@gnu.org>
7741 * international/mule-conf.el (compound-text-with-extensions):
7742 Add :mime-charset property as x-ctext.
7744 2012-10-07 Stefan Merten <smerten@oekonux.de>
7746 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7747 (rst-indent-literal-normal, rst-indent-literal-minimized)
7748 (rst-indent-comment): Correct :version tag.
7749 (rst-official-cvs-rev): Correct version string.
7751 2012-10-07 Glenn Morris <rgm@gnu.org>
7753 * mail/rmailmm.el (rmail-mime-process-multipart):
7754 Do not confuse a multipart message with an epilogue
7755 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
7757 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7759 Fix shell output retrieval and comint-prompt-regexp init.
7760 * progmodes/python.el (inferior-python-mode):
7761 (python-shell-make-comint): Fix initialization of
7762 comint-prompt-regexp from copied file local variables.
7763 (python-shell-fetched-lines): Remove var.
7764 (python-shell-output-filter-in-progress): Rename from
7765 python-shell-fetch-lines-in-progress.
7766 (python-shell-output-filter-buffer): Rename from
7767 python-shell-fetch-lines-string.
7768 (python-shell-fetch-lines-filter): Delete function.
7769 (python-shell-output-filter): New function.
7770 (python-shell-send-string-no-output): Use them.
7772 2012-10-07 Glenn Morris <rgm@gnu.org>
7774 * hi-lock.el (hi-lock-process-phrase):
7775 Try to make it less fragile. (Bug#7161)
7777 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
7779 2012-10-06 Glenn Morris <rgm@gnu.org>
7781 * ehelp.el (electric-help-mode): Use help-mode rather than
7782 non-existent mode `help'.
7783 (electric-help-map): Use button-buffer-map. (Bug#10917)
7785 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
7786 (reftex-create-bibtex-footer): Fix custom types.
7788 * progmodes/sh-script.el (sh-indent-after-continuation):
7789 Add explicit :group.
7791 * textmodes/rst.el (rst-preferred-decorations)
7792 (rst-shift-basic-offset): Clarify obsolescence versions.
7794 * profiler.el (profiler): Add missing group :version tag.
7795 * avoid.el (mouse-avoidance-banish-position):
7796 * proced.el (proced-renice-command):
7797 * calc/calc.el (calc-ensure-consistent-units):
7798 * calendar/icalendar.el (icalendar-import-format-uid):
7799 * net/tramp.el (tramp-save-ad-hoc-proxies):
7800 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7801 * progmodes/flymake.el (flymake-error-bitmap)
7802 (flymake-warning-bitmap, flymake-fringe-indicator-position):
7803 * progmodes/sh-script.el (sh-indent-after-continuation):
7804 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
7805 (verilog-before-save-font-hook, verilog-after-save-font-hook):
7806 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
7807 (vhdl-array-index-record-field-in-sensitivity-list)
7808 (vhdl-indent-comment-like-next-code-line):
7809 * textmodes/reftex-vars.el (reftex-ref-style-alist)
7810 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
7811 (reftex-cite-key-separator, reftex-create-bibtex-header)
7812 (reftex-create-bibtex-footer):
7813 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7814 (rst-indent-literal-normal, rst-indent-literal-minimized)
7815 (rst-indent-comment): Add missing custom :version tags.
7817 * calendar/timeclock.el (timeclock-modeline-display):
7818 Add missing obsolete alias for renamed user option.
7820 * strokes.el (strokes-modeline-string):
7821 * emulation/crisp.el (crisp-mode-modeline-string):
7822 * eshell/esh-mode.el (eshell-status-in-modeline):
7823 Aliases to defcustoms must come before the defcustom.
7825 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
7826 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7827 (cal-tex-cursor-week-monday): Doc fixes.
7828 (cal-tex-cursor-week2-summary): Doc fix.
7829 Rename from cal-tex-cursor-week-at-a-glance.
7831 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
7832 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
7834 * calendar/calendar.el (calendar-mode-map):
7835 Add cal-tex-cursor-week2-summary.
7837 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
7839 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
7841 * subr.el (read-passwd-map): New var.
7842 (read-passwd): Use `read-string' again.
7843 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
7845 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
7847 * register.el (append-to-register, prepend-to-register):
7848 Deactivate mark, as does `copy-to-register' (bug#12389).
7850 2012-10-06 Chong Yidong <cyd@gnu.org>
7852 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
7854 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
7856 * international/characters.el: Fix simple mistake ((car chars) ->
7857 elt), delete duplicated code.
7859 2012-10-06 Glenn Morris <rgm@gnu.org>
7861 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
7863 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
7865 * color.el (color-hsl-to-rgb): Fix incorrect results for
7866 small and large hue values. (Bug#12559)
7868 2012-10-05 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7870 Enhancements to docstring formatting when filling paragraphs.
7871 * progmodes/python.el (python-fill-docstring-style): Rename from
7872 python-fill-string-style. Added new style.
7873 (python-fill-string): Use new style. Better checks for
7876 2012-10-05 Glenn Morris <rgm@gnu.org>
7878 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
7880 * color.el (color-name-to-rgb, color-rgb-to-hex)
7881 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
7882 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
7883 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7884 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
7886 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
7888 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
7890 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
7891 to get the correct size across symlinks.
7893 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
7895 2012-10-04 Juri Linkov <juri@jurta.org>
7897 * replace.el (query-replace-interactive): Declare obsolete.
7898 (query-replace-read-from): Add the last incremental search string
7899 to the list of default values accessible via M-n.
7900 (map-query-replace-regexp): Use `read-regexp'.
7901 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7902 (map-query-replace-regexp, replace-string, replace-regexp):
7903 Fix docstrings to replace mentions of `query-replace-interactive'
7904 with alternatives. (Bug#12526)
7906 2012-10-04 Juri Linkov <juri@jurta.org>
7908 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
7909 (dired-pop-to-buffer): Declare obsolete.
7910 (dired-mark-pop-up): Doc fix.
7912 2012-10-04 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7914 Allow user to set docstring style for fill-paragraph.
7915 * progmodes/python.el
7916 (python-fill-comment-function, python-fill-string-function)
7917 (python-fill-decorator-function, python-fill-paren-function):
7918 Remove :safe for defcustoms.
7919 (python-fill-string-style): New defcustom
7920 (python-fill-paragraph-function): Enhance context detection.
7921 (python-fill-string): Honor python-fill-string-style settings.
7923 2012-10-04 Martin Rudalics <rudalics@gmx.at>
7925 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
7926 after setting its buffer (Bug#10805).
7928 2012-10-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7930 Fix cornercase for string syntax.
7931 * progmodes/python.el (python-syntax-propertize-function):
7932 Simplify and enhance the regexp for unescaped quotes. Now it also
7933 matches quotes in weird situations like the single quote in
7935 (python-syntax-stringify): Simplify num-quotes detecting code.
7937 2012-10-03 Glenn Morris <rgm@gnu.org>
7939 * help-macro.el (three-step-help):
7940 Revert 2012-09-29 change. (Bug#12567)
7942 2012-10-03 Martin Rudalics <rudalics@gmx.at>
7944 * menu-bar.el (kill-this-buffer): Don't do anything when
7945 `menu-frame' is not alive or visible (Bug#8184).
7947 * emacs-lisp/debug.el (debug): When quitting the debugger window
7948 restore current buffer (Bug#12502).
7950 2012-10-02 Chong Yidong <cyd@gnu.org>
7952 * progmodes/hideif.el (hif-lookup, hif-defined):
7953 Handle semantic-c-takeover-hideif.
7955 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
7957 Change sampling interval units from ms to ns.
7958 * profiler.el (profiler-sampling-interval): Change units
7959 from ms to ns, multiplying the default by 1000000 so that
7961 (profiler-report-cpu-line-format): Give enough room for
7962 the maximum counters on 64-bit hosts.
7963 (profiler-report-render-calltree-1): Call them "CPU samples",
7964 not "Time (ms)", since they are not milliseconds now (and
7967 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7969 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
7970 Fix querying BBDB for entries without a last name (Bug#11580).
7972 2012-10-02 Chong Yidong <cyd@gnu.org>
7974 * emacs-lisp/eieio.el: Restore Version header.
7976 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7978 * vc/diff-mode.el (diff--auto-refine-data): New var.
7979 (diff-hunk): Use it to delay refinement.
7980 (diff-mode): Remove overlays when we turn off font-lock.
7982 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
7983 (table-initialize-table-fixed-width-mode)
7984 (table-set-table-fixed-width-mode): Remove functions.
7985 (table-command-list): Move initialization into declaration.
7986 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
7987 (table-with-cache-buffer): Use `declare'.
7988 (table-span-cell): Simplify via CSE.
7989 (table-fixed-width-mode): Use define-minor-mode.
7990 (table-call-interactively, table-funcall, table-apply): Remove.
7991 (table-function): New function, to replace them.
7993 * bookmark.el (bookmark-search-pattern): Remove var.
7994 (bookmark-read-search-input): Remove function.
7995 (bookmark-bmenu-search): Reimplement using a minibuffer.
7997 * faces.el (modeline): Remove obsolete face name.
7999 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
8000 and give a non-nil default value.
8001 (add-change-log-entry): Simplify accordingly.
8003 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
8005 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
8006 (vc-git-log-edit-toggle-amend): New function.
8007 (vc-git-log-edit-toggle-signoff): New function.
8008 (vc-git-log-edit-mode): New major mode.
8009 (vc-git-log-edit-mode-map): Keymap for it.
8010 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
8012 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
8014 (log-edit-toggle-header): New function.
8015 (log-edit-extract-headers): Accept function values in HEADERS alist.
8017 2012-10-01 David Engster <deng@randomsample.de>
8019 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
8020 from symbol property and change message to be more consistent with
8022 (eieio-describe-generic): Add filename for each implementation.
8023 Fix indices for generic and normal methods.
8024 (eieio-method-def, eieio-class-def): New buttons.
8025 (eieio-help-find-method-definition)
8026 (eieio-help-find-class-definition): New functions.
8027 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
8028 class, constructor and method definitions.
8030 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
8031 information in symbol property.
8032 (scoped-class): Remove.
8033 (eieio-slot-name-index, call-next-method): Check if it is bound.
8035 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
8037 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
8038 (eieio-custom-mode): New major mode.
8039 (eieio-customize-object): Use it.
8041 2012-10-01 Eric Ludlam <zappo@gnu.org>
8043 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
8044 specifying the expected class, and whether subclassing is allowed.
8045 (eieio-persistent-convert-list-to-object):
8046 (eieio-persistent-validate/fix-slot-value)
8047 (eieio-persistent-slot-type-is-class-p): New functions.
8048 (eieio-named::slot-missing): Doc fix.
8050 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
8051 Stop using unused publd variable.
8053 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8054 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
8055 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
8056 (eieio-speedbar-handle-click): Do not specify a class for the
8057 method. Fixes method invocation order problems with EDE.
8059 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8061 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
8062 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
8064 2012-10-01 Karl Fogel <kfogel@red-bean.com>
8066 * bookmark.el (bookmark-version-control): Give tags in the
8067 :type choices (Bug#12309), and improve doc string.
8068 (bookmark-write-file): Bind `print-circle' to `t' to allow
8069 circular custom bookmark types. (Bug#12503)
8071 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
8073 Revert the FOLLOW-SYMLINKS change for file-attributes.
8074 * files.el (remote-file-name-inhibit-cache, after-find-file):
8075 * time.el (display-time-file-nonempty-p): Undo last change.
8077 * profiler.el (profiler-sampling-interval): Change default back to 1.
8078 See Stefan Monnier in
8079 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
8081 2012-10-01 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8083 Shell output catching a la gud-gdb.
8084 * progmodes/python.el (python-shell-fetch-lines-in-progress)
8085 (python-shell-fetch-lines-string, python-shell-fetched-lines):
8087 (python-shell-fetch-lines-filter): New function.
8088 (python-shell-send-string-no-output): Use them.
8090 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
8092 * profiler.el (profiler-sampling-interval): Rename from
8093 profiler-sample-interval.
8094 (profiler-sampling-interval): Default to 10.
8095 (profiler-find-profile): New command (was profiler-find-log).
8096 (profiler-find-profile-other-window): New command.
8097 (profiler-find-profile-other-frame): New command.
8098 (profiler-profile): Introduce API-level data structure.
8100 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
8102 file-attributes has a new optional arg FOLLOW-SYMLINKS.
8103 * files.el (remote-file-name-inhibit-cache):
8104 * time.el (display-time-file-nonempty-p): Use it.
8105 * files.el (after-find-file): Don't chase links before calling
8106 file-exists-p, as file-exists-p already does the right thing.
8108 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
8110 Merge from standalone RefTeX repository.
8112 The following ChangeLog entries are shortened versions of the
8113 original ones with file paths adapted. A not so strongly edited
8114 version of the original ChangeLog can be found in the commit log.
8116 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
8117 (reftex-arg-cite): Use `reftex-cite-key-separator'.
8118 Correctly handle new value type returned by `reftex-citation'.
8120 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
8121 that entries with whitespace at various places are found.
8122 Doc fix. Include entries that are cross-referenced from cited entries.
8123 Include @String definitions in the resulting bib file. Add header
8124 and footer defined in `reftex-create-bibtex-header' and
8125 `reftex-create-bibtex-footer'.
8126 (reftex-do-citation): Make it possible again to insert
8127 non-existent entries. Save match data when asking for optional
8128 arguments. Return all keys, not just the first one.
8129 (reftex-all-used-citation-keys): Fix regexp to correctly extract
8130 all citations in the same line.
8131 (reftex-parse-bibtex-entry): Accept additional optional argument
8132 `raw' and keep quotes or braces if it is non-nil. Match fields
8133 containing hyphens besides word constituents.
8134 (reftex-get-string-refs): New function.
8135 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
8136 and ask if it should be reread in case it did.
8137 (reftex-pop-to-bibtex-entry)
8138 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
8139 entries with spaces or tabs in front of arguments.
8140 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8141 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
8142 Match entries containing numbers and symbol constituents.
8143 (reftex-do-citation, reftex-figure-out-cite-format):
8144 Use `reftex-cite-key-separator'.
8146 * textmodes/reftex-dcr.el: Move provide statement to end of file.
8147 (reftex-mouse-view-crossref): Explain why point is set.
8149 * textmodes/reftex-global.el: Whitespace changes.
8151 * textmodes/reftex-index.el: Move provide statement to end of
8153 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
8154 (reftex-index-visit-phrases-buffer): Set marker when visiting
8155 buffer. This allows for returning from the phrases file to the
8156 file one was just editing instead of the file where the last
8157 phrases was added from.
8158 (reftex-index-phrases-syntax-table): New variable. Give ?\"
8159 punctuation syntax as it usually is not used as string quote in
8160 TeX-related modes and may occur unmatched. The change also
8161 prevents fontification of quoted content.
8162 (reftex-index-phrases-mode): Use it.
8164 * textmodes/reftex-parse.el (reftex-parse-from-file):
8165 Move backward one char if a `\' was matched after a section macro.
8166 (reftex-parse-from-file): Use beginning of match instead of end as
8169 * textmodes/reftex-ref.el: Adapt creation of
8170 `reftex-<package>-<macro>' functions to new structure of
8171 `reftex-ref-style-alist'.
8172 (reftex-reference): Use `reftex-ref-style-list' function.
8173 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
8174 reference macro if `reftex-ref-macro-prompt' is non-nil.
8175 (reftex-reference): Pass refstyle to `reftex-format-special'.
8176 Determine reference macro by looking at
8177 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
8178 Use only one special format function.
8179 (reftex-varioref-vref, reftex-fancyref-fref)
8180 (reftex-fancyref-Fref): Remove definitions. The functions are now
8181 generated from `reftex-ref-style-alist'.
8182 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
8184 (reftex-format-special): New function.
8186 * textmodes/reftex-sel.el
8187 (reftex-select-cycle-ref-style-internal): Adapt to new structure
8188 of `reftex-ref-style-alist'. Remove code for testing macro type.
8189 (reftex-select-toggle-varioref)
8190 (reftex-select-toggle-fancyref): Remove.
8191 (reftex-select-cycle-ref-style-internal)
8192 (reftex-select-cycle-ref-style-forward)
8193 (reftex-select-cycle-ref-style-backward): New functions.
8194 (reftex-select-label-map): Use `v' and `V' for general cycling
8195 through reference styles. Add `p' for switching between number
8196 and page reference types.
8198 * textmodes/reftex-toc.el (reftex-re-enlarge):
8199 Call `enlarge-window' only if there is something to do because in Emacs
8200 the horizontal version throws an error even if the parameter is 0.
8202 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
8203 (reftex-plug-into-AUCTeX): Doc fix.
8204 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
8205 string. Adapt to new name.
8206 (reftex-ref-style-alist): Change structure so that it is not
8207 possible to use multiple different package names within a style.
8208 Remove the symbols for symbols for macro type distinction.
8209 Add characters for macro selection.
8210 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
8211 (reftex-create-bibtex-footer): New variables.
8212 (reftex-format-ref-function): Mention third argument of special
8214 (reftex-ref-style-alist, reftex-ref-style-default-list):
8216 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
8217 to new implementation. Mark as obsolete. Add compatibility code
8218 for honoring the variable values in case they are set.
8219 (reftex-cite-format-builtin, reftex-bibliography-commands):
8220 Add support for ConTeXt.
8221 (reftex-format-ref-function, reftex-format-cite-function):
8223 (reftex-cite-key-separator): New variable.
8225 * textmodes/reftex.el (reftex-syntax-table-for-bib)
8226 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
8227 `reftex-syntax-table' because parens have to retain their paren
8228 syntax in order for parsing of BibTeX entries like @book(...) to
8230 (reftex-in-comment): Do not error out if `comment-start-skip' is
8231 not set. Deal correctly with escaped comment characters.
8232 (reftex-tie-multifile-symbols): Add doc string.
8233 Initialize `reftex-ref-style-list'.
8234 (reftex-untie-multifile-symbols): Add doc string.
8235 (reftex-add-index-macros): Doc fix.
8236 (reftex-ref-style-activate, reftex-ref-style-toggle)
8237 (reftex-ref-style-list): New functions.
8238 (reftex-mode-menu): Use them. Adapt to new structure of
8239 `reftex-ref-style-alist'.
8240 (reftex-select-with-char): Kill the RefTeX Select buffer when
8242 (reftex-remove-if): New function.
8243 (reftex-erase-all-selection-and-index-buffers)
8244 (reftex-mode-menu): Reference styles are now computed from
8245 `reftex-ref-style-alist'. Fix typo.
8246 (reftex-report-bug): New function.
8247 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
8248 algorithms with O(n log n). Introduce optional argument SORT (not
8251 2012-09-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8253 Enhancements for triple-quote string syntax.
8254 * progmodes/python.el (python-syntax-propertize-function):
8255 Match both quote cases in one regexp.
8256 (python-syntax-stringify): Handle matches properly.
8258 2012-09-30 Juri Linkov <juri@jurta.org>
8260 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
8261 to nil around the call to `insert' to prevent
8262 directory time modification by lock_file. (Bug#2295)
8263 * tar-mode.el (tar-summarize-buffer): Idem.
8265 2012-09-30 Juri Linkov <juri@jurta.org>
8267 * facemenu.el (list-colors-sort): Add option "Luminance".
8268 (list-colors-sort-key): Implement it.
8270 * vc/diff-mode.el (diff-refine-removed):
8271 * vc/ediff-init.el (ediff-fine-diff-A):
8272 * vc/smerge-mode.el (smerge-refined-removed):
8273 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
8275 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
8277 * term/ns-win.el (x-file-dialog): New function.
8279 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
8281 * ido.el (ido-max-directory-size): Default to nil; the current
8282 default is small for POSIX systems, and impractical on Windows 7
8283 now that lstat returns directory sizes for NTFS.
8285 2012-09-30 Martin Rudalics <rudalics@gmx.at>
8287 In buffer display functions handle window-height/window-width
8288 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
8289 * window.el (window--display-buffer): New argument ALIST.
8290 Obey window-height and window-width alist entries.
8291 (window--try-to-split-window): New argument ALIST.
8292 Bind window-combination-limit to t when the window's size shall be
8293 changed and window-combination-limit equals `window-size'.
8294 (display-buffer-in-atom-window)
8295 (display-buffer-in-major-side-window)
8296 (display-buffer-in-side-window, display-buffer-same-window)
8297 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8298 (display-buffer-pop-up-window, display-buffer-below-selected)
8299 (display-buffer-at-bottom, display-buffer-in-previous-window)
8300 (display-buffer-use-some-window): Adjust all callers of
8301 window--display-buffer and window--try-to-split-window.
8302 (fit-frame-to-buffer): New option.
8303 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
8305 (display-buffer-in-major-side-window): Evaluate window-height /
8306 window-width alist entries.
8308 * help.el (temp-buffer-resize-frames)
8309 (temp-buffer-resize-regexps): Remove options.
8310 (temp-buffer-resize-mode): Adjust doc-string.
8311 (resize-temp-buffer-window): Don't consult
8312 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
8313 temp-buffer-resize-frames.
8315 * dired.el (dired-mark-pop-up):
8316 Call display-buffer-below-selected with a fit-window-to-buffer alist
8319 2012-09-30 Chong Yidong <cyd@gnu.org>
8321 * server.el (server-host): Document the security implications.
8322 (server-auth-key): Doc fix.
8324 * startup.el (initial-buffer-choice): Doc fix.
8326 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
8328 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
8331 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
8333 * help-fns.el (help-fns--obsolete): Fix last change.
8335 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
8337 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
8338 (minor-mode-map-alist): Remove redundant code.
8340 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
8341 visited in a buffer.
8342 (cvs-insert-visited-file): New function.
8343 (find-file-hook): Use it.
8345 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
8347 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
8349 (log-edit-empty-buffer-p): Don't require a space after a header.
8351 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
8353 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
8355 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
8356 a proper minor-mode.
8358 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
8360 2012-09-29 Glenn Morris <rgm@gnu.org>
8362 * winner.el (winner-mode): Remove variable (let define-minor-mode
8364 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
8366 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
8367 (winner-mode): Use define-minor-mode.
8369 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
8370 the full definition in loaddefs, rather than duplicating it.
8372 * help-macro.el (three-step-help): No need to autoload defcustom.
8374 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
8375 (inferior-lisp-program, inferior-lisp-load-command)
8376 (inferior-lisp-prompt, inferior-lisp-mode-hook):
8377 No need to autoload defcustoms.
8379 * hippie-exp.el (hippie-expand-try-functions-list)
8380 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
8381 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
8382 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
8383 (hippie-expand-only-buffers): No need to autoload defcustoms.
8384 * progmodes/vhdl-mode.el (vhdl-line-expand):
8385 Explicitly load hippie-exp, so it does not get autoloaded
8386 while hippie-expand-try-functions-list is let-bound.
8388 2012-09-28 Glenn Morris <rgm@gnu.org>
8390 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
8392 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
8393 Only "cl.el" counts as cl these days.
8395 2012-09-28 Juri Linkov <juri@jurta.org>
8397 Display archive errors in the echo area instead of inserting
8400 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
8401 to STDERR-TEST that can be a regexp matching a successful output.
8402 Create a temporary file and redirect stderr to it. Search for
8403 STDERR-TEST in the stderr output and display it in the echo area
8404 if no match is found.
8405 (archive-extract-by-file): New function like
8406 `archive-extract-by-stdout' but extracting archives to files
8407 and looking for successful matches in stdout. Function body is
8408 mostly copied from `archive-rar-extract'.
8409 (archive-rar-extract): Use `archive-extract-by-file'.
8410 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
8412 2012-09-28 Leo Liu <sdl.web@gmail.com>
8414 * pcomplete.el (pcomplete-show-completions):
8415 Use minibuffer-message to make pcomplete usable in minibuffer.
8417 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
8419 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8421 * type-break.el: Use lexical-binding.
8422 (type-break-mode): Use define-minor-mode.
8424 * emacs-lisp/pcase.el (pcase--mark-used): New.
8425 (pcase--u1): Use it (bug#12512).
8427 * custom.el (load-theme): Set buffer-file-name so the load is recorded
8428 in load-history with the right file name.
8430 2012-09-28 Tassilo Horn <tsdh@gnu.org>
8432 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
8433 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
8434 (doc-view-get-bounding-box): Make bounding box slicing work for
8435 ODF and DVI documents.
8437 2012-09-28 Glenn Morris <rgm@gnu.org>
8439 * type-break.el (type-break-mode, type-break-interval)
8440 (type-break-good-rest-interval, type-break-keystroke-threshold):
8441 No need to autoload.
8442 (type-break-good-rest-interval, type-break-keystroke-threshold):
8445 2012-09-28 Chong Yidong <cyd@gnu.org>
8447 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
8450 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8452 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
8454 2012-09-27 Glenn Morris <rgm@gnu.org>
8456 * faces.el (x-display-name): Declare (for without-x builds).
8458 * linum.el (linum-format): Don't autoload it. Improve :type.
8460 * progmodes/tcl.el: Don't require outline when compiling.
8461 (outline-regexp, outline-level): Declare.
8462 * textmodes/sgml-mode.el: Don't require outline when compiling.
8463 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
8465 * term.el (term-ansi-reset):
8466 Try setting term-ansi-face-already-done to nil. (Bug#11785)
8468 * vc/vc.el (vc-next-action): Only gripe about committing read-only
8469 files for RCS and SCCS. (Bug#9781)
8471 2012-09-27 Chong Yidong <cyd@gnu.org>
8473 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
8474 change; value should be t.
8476 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8478 * image-mode.el: Use lexical-binding.
8479 (image-mode-winprops): Use t to stand for the window of
8480 a buffer that's not displayed.
8481 * doc-view.el (doc-view-new-window-function): Handle the new
8483 (doc-view-enlarge): Make it a real nop if the size is not changed.
8484 (doc-view-display): Handle the case where the buffer is not (yet?)
8485 displayed in any window.
8486 (doc-view-saved-settings): New var.
8487 (doc-view-mode): Use it.
8488 (doc-view-fallback-mode): Set it.
8490 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
8491 Set lexical-binding.
8492 (minibuffer-eldef-shorten-default): New var.
8493 (minibuffer-default-in-prompt-regexps): Use it for new default.
8494 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
8496 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8498 * international/uni-bidi.el:
8499 * international/uni-category.el:
8500 * international/uni-name.el:
8501 * international/uni-numeric.el: Regenerate.
8503 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
8504 Stefan Monnier <monnier@iro.umontreal.ca>
8506 * profiler.el: New file.
8508 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
8510 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
8511 (testcover-reinstrument): Simplify with CSE.
8513 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8515 * window.el (temp-buffer-window-setup): Fix typo in docstring.
8517 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
8519 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
8520 (verilog-auto-input, verilog-auto-insert-lisp)
8521 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
8522 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
8523 (verilog-auto-unused, verilog-auto-wire)
8524 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
8525 newline. Reported by Andrew Jones.
8526 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
8527 Reported by Brad Dobbie.
8528 (verilog-batch-delete-trailing-whitespace):
8529 Create verilog-batch-delete-trailing-whitespace.
8530 Reported by Brad Dobbie.
8531 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
8532 parameters from another module. Reported by Dan Katz.
8533 (verilog-auto, verilog-auto-assign-modport)
8534 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
8535 AUTOINOUTMODPORT for UVM interface module shell generation.
8536 Reported by Brad Dobbie.
8537 (verilog-auto-inst-interfaced-ports): Make default nil, as more
8539 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
8540 Reported by Matt Martin.
8542 2012-09-25 Martin Rudalics <rudalics@gmx.at>
8544 * window.el (window--resize-child-windows): When resizing child
8545 windows proportionally, process them in reverse order to
8546 preserve the "when splitting a window the new one gets the odd
8548 (window--resize-root-window-vertically): When resizing the
8549 minibuffer window try to affect only windows at the bottom of the
8552 2012-09-25 Chong Yidong <cyd@gnu.org>
8554 * subr.el (declare): Doc fix.
8556 * help-fns.el (help-fns--obsolete): Handle macros properly.
8558 2012-09-25 Chong Yidong <cyd@gnu.org>
8560 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
8561 this function obsolete.
8563 * calendar/cal-x.el (calendar-two-frame-setup)
8564 (calendar-only-one-frame-setup, calendar-one-frame-setup):
8565 * calendar/calendar.el (american-calendar, european-calendar)
8566 (calendar-for-loop):
8567 * comint.el (comint-dynamic-simple-complete)
8568 (comint-dynamic-complete-as-filename, comint-unquote-filename):
8569 * desktop.el (desktop-load-default):
8570 * dired-x.el (dired-omit-here-always)
8571 (dired-hack-local-variables, dired-default-directory):
8572 * emacs-lisp/derived.el (derived-mode-class):
8573 * emacs-lisp/timer.el (timer-set-time-with-usecs):
8574 * emacs-lock.el (toggle-emacs-lock):
8575 * epa.el (epa-display-verify-result):
8576 * epg.el (epg-sign-keys, epg-start-sign-keys)
8577 (epg-passphrase-callback-function):
8578 * eshell/esh-util.el (eshell-for):
8579 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
8580 (eshell-add-to-window-buffer-names):
8581 * files.el (locate-file-completion):
8582 * imenu.el (imenu-example--create-c-index)
8583 (imenu-example--create-lisp-index)
8584 (imenu-example--lisp-extract-index-name)
8585 (imenu-example--name-and-position):
8586 * international/mule-cmds.el (princ-list):
8587 * international/mule-diag.el (decode-codepage-char):
8588 * international/mule-util.el (detect-coding-with-priority):
8589 * iswitchb.el (iswitchb-read-buffer):
8590 * mail/mailalias.el (mail-complete):
8591 * mail/sendmail.el (mail-sent-via):
8592 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
8593 (mouse-major-mode-menu):
8594 * password-cache.el (password-read-and-add):
8595 * pcomplete.el (pcomplete-parse-comint-arguments):
8596 * progmodes/sh-script.el (sh-maybe-here-document):
8597 * replace.el (query-replace-regexp-eval):
8598 * savehist.el (savehist-load):
8599 * simple.el (choose-completion-delete-max-match):
8600 * term.el (term-dynamic-simple-complete):
8601 * vc/ediff-init.el (ediff-check-version):
8602 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
8603 * vc/vc.el (vc-diff-switches-list):
8604 * view.el (view-return-to-alist-update): Likewise.
8606 * subr.el (eval-next-after-load, makehash, insert-string)
8607 (assoc-ignore-representation, assoc-ignore-case): Use declare to
8609 (mode-line-inverse-video): Variable deleted.
8611 * international/mule-util.el (string-to-sequence): Remove.
8613 * calendar/calendar.el (calendar-version):
8614 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
8615 (icalendar-convert-diary-to-ical):
8616 * cus-edit.el (custom-mode):
8617 * ansi-color.el (ansi-color-unfontify-region):
8618 * international/latin1-disp.el (latin1-char-displayable-p):
8619 * progmodes/cwarn.el (turn-on-cwarn-mode):
8620 * progmodes/which-func.el (which-func-update-1):
8621 Use define-obsolete-function-alias.
8623 * net/newst-backend.el (newsticker-cache-filename):
8624 * net/newst-treeview.el (newsticker-groups-filename):
8625 Fix incorrect obsolescence declaration.
8627 * allout.el (allout-passphrase-hint-string): Likewise.
8628 (allout-init): Use a declare form to mark obsolete.
8630 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
8631 this applies to functions.
8633 * iswitchb.el (iswitchb-read-buffer): Move code of
8634 iswitchb-define-mode-map here, and delete that obsolete function.
8636 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
8637 font-lock-reference-face.
8639 2012-09-25 Glenn Morris <rgm@gnu.org>
8641 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
8644 * eshell/em-term.el (eshell-term-name):
8645 Default to term-term-name. (Bug#12485)
8647 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8649 * progmodes/python.el (python-shell-send-buffer): Better handling
8650 of "if __name__ == '__main__':" conditionals when sending the buffer.
8652 2012-09-24 Glenn Morris <rgm@gnu.org>
8654 * eshell/esh-cmd.el (eshell-find-alias-function):
8655 Tighten up file-name regexp. (Bug#12499)
8657 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8659 Enhancements for triple-quote string syntax.
8660 * progmodes/python.el (python-quote-syntax): Remove.
8661 (python-syntax-propertize-function): New value.
8662 (python-syntax-count-quotes, python-syntax-stringify):
8665 2012-09-24 Chong Yidong <cyd@gnu.org>
8667 * mail/supercite.el (sc-version): Remove obsolete function.
8668 (sc-describe): Don't mark as obsolete, since it is bound.
8669 (sc-submit-bug-report): Remove.
8671 * vc/log-edit.el (cvs-changelog-full-paragraphs)
8672 (cvs-commit-buffer-require-final-newline): Remove.
8673 (log-edit-require-final-newline)
8674 (log-edit-changelog-full-paragraphs): Default to t.
8676 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
8677 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
8678 * vc/vc.el (vc-checkout-carefully): Likewise.
8680 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
8681 (emerge-version): Remove.
8683 * progmodes/compile.el (compile-internal): Remove.
8684 (compilation-parse-errors-function): Fix typo.
8686 * international/mule.el (set-char-table-default): Remove.
8687 (set-coding-priority, make-coding-system, generic-char-p)
8688 (charset-list, charset-bytes, charset-id): Use declare to mark
8689 functions as obsolete.
8691 * vc/pcvs-defs.el (cvs-buffer-name-alist)
8692 (cvs-invert-ignore-marks): Remove references to obsolete vars.
8693 * vc/vc-hooks.el (vc-default-registered): Don't use
8694 vc-master-templates.
8696 * font-lock.el (font-lock-reference-face):
8697 Use define-obsolete-variable-alias.
8699 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
8700 * calendar/calendar.el (calendar-font-lock-keywords):
8701 * calendar/diary-lib.el (diary-font-lock-keywords)
8702 (diary-fancy-font-lock-keywords):
8703 * textmodes/reftex-sel.el (reftex-insert-docstruct):
8704 * textmodes/reftex-index.el (reftex-insert-index):
8705 * textmodes/reftex-cite.el (reftex-format-bib-entry):
8706 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8707 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
8708 * progmodes/prolog.el (prolog-font-lock-keywords):
8709 * progmodes/idlwave.el (idlwave-idl-keywords):
8710 * progmodes/ada-mode.el (ada-font-lock-keywords):
8711 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
8713 2012-09-24 Glenn Morris <rgm@gnu.org>
8715 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
8717 2012-09-23 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8719 * progmodes/python.el (python-indent-line): More consistent cursor
8722 2012-09-23 Stefan Merten <smerten@oekonux.de>
8724 * textmodes/rst.el: Fix compiler warning.
8726 2012-09-23 Roland Winkler <winkler@gnu.org>
8728 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
8729 Transcribe also LaTeX hyphenation.
8730 (bibtex-reformat): Bug fix. Do not quote twice the elements of
8731 bibtex-reformat-previous-options.
8733 2012-09-23 Roland Winkler <winkler@gnu.org>
8735 * proced.el (proced-renice-command): New variable.
8736 (proced-marked-processes): New function.
8737 (proced-with-processes-buffer): New macro.
8738 (proced-send-signal): Use them.
8739 (proced-renice): New command bound to r.
8741 2012-09-23 Roland Winkler <winkler@gnu.org>
8743 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
8744 ibuffer-saved-filter-groups has one element, shortcut the call of
8745 completing-read. (Bug#12331)
8747 2012-09-23 Chong Yidong <cyd@gnu.org>
8749 * bindings.el (mode-line-toggle-read-only):
8750 * bs.el (bs-toggle-readonly):
8751 * buff-menu.el (Buffer-menu-toggle-read-only):
8752 * dired.el (dired-toggle-read-only):
8753 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
8755 2012-09-23 Chong Yidong <cyd@gnu.org>
8757 * image.el (image-type-available-p): Adapt to init-image-library
8760 2012-09-22 Juri Linkov <juri@jurta.org>
8762 * dired.el (dired-mode-map): Add [remap read-only-mode] for
8763 `dired-toggle-read-only'. (Bug#12462)
8765 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8767 * subr.el (temp-output-buffer-show): New function.
8768 (with-output-to-temp-buffer): Call temp-output-buffer-show
8769 instead of internal-temp-output-buffer-show.
8771 2012-09-22 Chong Yidong <cyd@gnu.org>
8773 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
8776 * repeat.el (repeat): Doc fix (Bug#12348).
8778 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
8781 * simple.el (shell-command-on-region): Doc fix.
8782 (read-only-mode): Doc fix.
8784 2012-09-22 Eli Zaretskii <eliz@gnu.org>
8786 * emacs-lisp/timer.el (run-with-idle-timer)
8787 (timer-activate-when-idle): Warn against reinvoking an idle timer
8788 from within its own timer action. (Bug#12447)
8790 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8792 * cus-start.el (window-combination-limit): Add new optional
8794 * window.el (temp-buffer-window-show)
8795 (window--try-to-split-window): Handle new values of
8796 window-combination-limit (Bug#1806).
8797 (split-window): Test window-combination-limit for t instead of
8799 (display-buffer-at-bottom): New buffer display action function.
8800 * help.el (temp-buffer-resize-regexps): New option.
8801 (temp-buffer-resize-mode): Rewrite doc-string.
8802 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
8803 Don't resize reused window. Suggested by Glenn Morris.
8805 2012-09-22 Stefan Merten <smerten@oekonux.de>
8807 * textmodes/rst.el: Revamp section title faces.
8808 (rst-official-version)
8809 (rst-package-emacs-version-alist): Sync with official version
8811 (rst-faces-defaults, rst-set-level-default)
8812 (rst-level-face-max, rst-level-face-base-color)
8813 (rst-level-face-base-light, rst-level-face-format-light)
8814 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
8815 (rst-adornment-faces-alist): Match new setup.
8816 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
8817 (rst-level-5, rst-level-6): New faces.
8819 2012-09-22 Chong Yidong <cyd@gnu.org>
8821 * simple.el (undo): Handle indirect buffers (Bug#8207).
8823 2012-09-21 Leo Liu <sdl.web@gmail.com>
8825 IDO: Disable match re-ordering for buffer switching.
8826 * ido.el (ido-buffer-disable-smart-matches): New variable.
8827 (ido-set-matches-1): Use it. (Bug#2042)
8829 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
8831 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8832 Fix 2011-05-17 change. (Bug#12418)
8834 2012-09-21 Leo Liu <sdl.web@gmail.com>
8836 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
8838 2012-09-21 Glenn Morris <rgm@gnu.org>
8840 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
8841 Be more robust about locating simple.el.
8843 2012-09-21 Glenn Morris <rgm@gnu.org>
8845 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
8847 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
8849 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
8851 2012-09-20 Juri Linkov <juri@jurta.org>
8853 * replace.el (query-replace-read-from): Use `read-regexp' instead
8854 of `read-from-minibuffer' when `regexp-flag' is non-nil.
8855 (occur-read-primary-args): Use `read-regexp' instead of
8857 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
8858 `read-from-minibuffer'.
8859 * isearch.el (isearch-occur): Use `read-regexp' instead of
8861 * dired.el (dired-read-regexp): Use `read-regexp' instead of
8862 `read-from-minibuffer'.
8863 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
8864 of `read-string'. (Bug#7567)
8866 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
8867 and allow accepting a list of strings prepended to a list of
8868 standard default values. Doc fix. (Bug#12321)
8870 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
8872 * replace.el (read-regexp): Don't add ": " when PROMPT already
8873 ends with a colon and space. (Bug#12321)
8875 2012-09-20 Tassilo Horn <tsdh@gnu.org>
8877 * doc-view.el (doc-view-display): Better fix for the cl-assertion
8880 2012-09-20 Stefan Merten <smerten@oekonux.de>
8882 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
8883 Fixes feature request bug#11711.
8884 (rst-mode): Create `imenu-create-index-function'.
8885 (rst-get-stripped-line): Delete after refactoring.
8886 (rst-section-tree, rst-section-tree-rec)
8887 (rst-section-tree-point): Refactor and document properly.
8888 (rst-imenu-find-adornments-for-position)
8889 (rst-imenu-convert-cell, rst-imenu-create-index):
8892 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8894 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
8895 (macroexp--expand-all): Use it.
8896 (macroexp--funcall-and-return): Remove by folding it into its sole
8897 caller (macroexp--warn-and-return).
8898 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
8899 Use macroexp--obsolete-warning.
8901 * calc/calc.el: Fix last change by removing the whole chunk, since it
8902 was only needed back when Calc was not bundled.
8904 2012-09-20 Martin Rudalics <rudalics@gmx.at>
8906 * emacs-lisp/debug.el (debug): Restore assignment to
8907 debugger-old-buffer removed on 2012-09-08.
8909 2012-09-20 Juri Linkov <juri@jurta.org>
8911 * dired-aux.el (dired-diff): Remove (require 'diff) since
8912 `diff-latest-backup-file' is now autoloaded.
8914 2012-09-20 Chong Yidong <cyd@gnu.org>
8916 * vc/diff.el (diff-latest-backup-file): Autoload.
8918 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8920 * calc/calc.el: Remove redundant autoload shape check.
8921 (sel-mode): Don't defvar.
8922 (calc-get-stack-element): Add `sel-mode' arg instead.
8923 (calc-top, calc-top-list): Pass it this additional argument.
8924 * calc/calc-store.el (calc-store-map):
8925 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
8926 (calc-map-equation, calc-outer-product, calc-inner-product):
8927 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
8929 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
8931 2012-09-19 Juri Linkov <juri@jurta.org>
8933 * dired-aux.el (dired-diff): Add (require 'diff) because
8934 `diff-latest-backup-file' is not autoloaded.
8935 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
8936 of `dired-get-filename' to t to not report error when there is
8937 no default file on the current line.
8939 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8941 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
8942 macroexp--eval-if-compile.
8943 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
8944 (macroexp--expand-all): Use them (bug#12371).
8946 * doc-view.el (doc-view-guess-paper-size)
8947 (doc-view-scale-bounding-box): Fix unbound `caddr'.
8949 2012-09-19 Tassilo Horn <tsdh@gnu.org>
8951 New feature: set optimal slice from BoundingBox information.
8952 * doc-view.el (doc-view-mode-map): Add keybinding.
8953 (doc-view-menu): Add menu entry.
8954 (doc-view-set-slice): Adapt docstring.
8955 (doc-view-get-bounding-box, doc-view-guess-paper-size)
8956 (doc-view-scale-bounding-box)
8957 (doc-view-set-slice-from-bounding-box): New functions.
8958 (doc-view-paper-sizes): New defvar.
8960 2012-09-19 Glenn Morris <rgm@gnu.org>
8962 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
8963 (byte-compile-log-warning): Autoload. (Bug#12371)
8965 * calendar/calendar.el (calendar-american-month-header)
8966 (calendar-european-month-header, calendar-iso-month-header)
8967 (calendar-month-header): New options.
8968 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
8969 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
8971 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
8973 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
8975 2012-09-18 Juri Linkov <juri@jurta.org>
8977 * dired-aux.el (dired-diff): Restore original functionality of
8978 getting the default value, but keep new feature of using the
8979 latest existing backup file (`diff-latest-backup-file').
8981 2012-09-18 Juri Linkov <juri@jurta.org>
8983 * dired.el (dired-mark): If the region is active in Transient Mark
8984 mode, mark all files in the active region. Doc fix.
8985 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
8986 Doc fix. (Bug#10624)
8988 2012-09-18 Juri Linkov <juri@jurta.org>
8990 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
8991 attributes for M-n are pulled from the file at point.
8992 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
8993 Suggested by Drew Adams. (Bug#10624)
8995 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
8997 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
8998 whitespace after "end".
8999 (ruby-do-end-to-brace): Collapse block to one line if it fits
9002 2012-09-18 Martin Rudalics <rudalics@gmx.at>
9004 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
9006 (debug): Don't remove debugger window when debugger is expected
9009 2012-09-18 Chong Yidong <cyd@gnu.org>
9011 * custom.el (defface): Doc fix.
9013 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
9015 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
9017 * progmodes/compile.el (compilation-start): Use compilation-always-kill
9018 to initialize query-on-exit; then test that instead (bug#12288).
9020 2012-09-17 Stefan Merten <smerten@oekonux.de>
9022 * textmodes/rst.el: Add support for `testcover'.
9023 (rst-defcustom-testcover, rst-testcover-add-compose)
9024 (rst-testcover-add-1value): New functions.
9025 (rst-portable-mark-active-p): Replace by `use-region-p'.
9026 (rst-update-section, rst-classify-adornment)
9027 (rst-find-title-line): Mark `1value' forms.
9028 (rst-classify-adornment): Remove superfluous form.
9029 (rst-update-section, rst-get-adornments-around)
9030 (rst-adornment-complete-p, rst-get-next-adornment)
9031 (rst-adjust, rst-promote-region)
9032 (rst-display-adornments-hierarchy, rst-straighten-adornments)
9033 (rst-find-pfx-in-region, rst-section-tree-rec)
9034 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
9035 (rst-toc-node, rst-toc, rst-forward-section)
9036 (rst-iterate-leftmost-paragraphs)
9037 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
9038 (rst-bullet-list-region)
9039 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
9040 (rst-compile-find-conf, rst-compile)
9041 (rst-repeat-last-character): Fix style.
9043 2012-09-17 Chong Yidong <cyd@gnu.org>
9045 * comint.el (comint--complete-file-name-data): Don't add a space
9046 if the status is `sole'; that adds a gratuitous space in the
9047 completion-cycling case (Bug#12092).
9049 * pcomplete.el (pcomplete-completions-at-point): Likewise.
9051 2012-09-17 Richard Stallman <rms@gnu.org>
9053 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
9054 only in the mime-shown mode, not in raw mode.
9055 (rmail-mime): Toggle off mime by displaying the message without
9056 mime processing. (Bug#12305)
9058 * mail/rmail.el (rmail-retry-failure):
9059 Turn off mime processing first. (Bug#12037)
9061 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
9063 2012-09-17 Chong Yidong <cyd@gnu.org>
9065 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
9066 (shell-dynamic-complete-functions): Convert to defcustom.
9067 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
9069 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
9070 * comint.el (comint-prompt-read-only):
9071 * custom.el (defcustom):
9072 * hi-lock.el (hi-lock-mode):
9073 * ibuffer.el (ibuffer-formats):
9074 * ielm.el (ielm-prompt-read-only):
9075 * novice.el (disable-command):
9076 * saveplace.el (toggle-save-place):
9077 * speedbar.el (speedbar-supported-extension-expressions):
9078 * startup.el (auto-save-list-file-prefix, init-file-user)
9079 (after-init-hook, inhibit-startup-echo-area-message):
9080 * strokes.el (strokes-help):
9081 * time-stamp.el (time-stamp):
9082 * calendar/calendar.el (calendar, diary-file):
9083 * calendar/diary-lib.el (diary-mail-entries, diary)
9084 (diary-list-entries-hook):
9085 * calendar/holidays.el (holidays, calendar-holidays):
9086 * calendar/lunar.el (lunar-phases):
9087 * calendar/solar.el (sunrise-sunset):
9088 * emulation/edt.el (edt-load-keys):
9089 * emulation/viper.el (viper-mode):
9090 * eshell/em-alias.el (eshell-command-aliases-list):
9091 * eshell/esh-util.el (eshell-convert-numeric-arguments):
9092 * international/ogonek.el (ogonek-information):
9093 * net/tramp-cmds.el (tramp-bug):
9094 * net/quickurl.el (quickurl-reread-hook-postfix):
9095 * play/decipher.el (decipher-font-lock-keywords):
9096 * progmodes/cc-styles.el (c-set-style):
9097 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
9098 * progmodes/inf-lisp.el (inferior-lisp-prompt):
9099 * progmodes/octave-mod.el (octave-mode):
9100 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
9101 * progmodes/verilog-mode.el (verilog-read-defines):
9102 * textmodes/two-column.el (2C-mode): Likewise.
9104 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
9106 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
9107 that holds many addresses.
9109 2012-09-16 Chong Yidong <cyd@gnu.org>
9111 * align.el (align-areas): Call the indication function with
9112 positions instead of markers for arguments (Bug#12343).
9114 * files.el (parse-colon-path): Use split-string (Bug#12351).
9116 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9117 (display-buffer-function): Mark as obsolete.
9119 * progmodes/compile.el (compilation-parse-errors): Accept list
9120 values similar to font-lock-keywords (Bug#12136).
9121 Suggested by Oleksandr Manzyuk.
9122 (compilation-error-regexp-alist): Doc fix.
9124 2012-09-15 Glenn Morris <rgm@gnu.org>
9126 * version.el (emacs-bzr-version-bzr): New function.
9127 (emacs-bzr-get-version): Add optional EXTERNAL argument.
9129 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
9130 checkouts, check the parent dirstate matches the branch.
9131 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
9134 * version.el (emacs-bzr-version): Doc fix.
9135 (emacs-bzr-version-dirstate): New function.
9136 (emacs-bzr-get-version): For lightweight checkouts, if the parent
9137 is local try and check that it matches the branch. If not, just
9138 use dirstate information. (Bug#12441)
9140 2012-09-14 Juri Linkov <juri@jurta.org>
9142 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
9145 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9147 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
9149 * emacs-lisp/edebug.el: Miscellaneous cleanup.
9150 Remove obsolete byte-compiler hack that tried to silence some warnings.
9151 (edebug-submit-bug-report): Remove.
9152 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
9153 Remove aliases, use the un-prefixed name instead.
9154 (edebug-pop-to-buffer): Consider other frames.
9155 (edebug-original-read):: Make it more obvious that it's always defined.
9156 (edebug--make-form-data-entry, edebug--form-data-name)
9157 (edebug--form-data-begin, edebug--form-data-end): Rename from the
9158 single-dashed name, and implement with cl-defstruct.
9159 (edebug-set-form-data-entry): Use the standard accessors.
9160 (edebug-make-top-form-data-entry): Use push.
9161 (edebug-no-match): Drop useless `funcall'.
9162 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
9164 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
9165 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
9166 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
9167 (easy-menu-define, with-custom-print): Remove redundant specs.
9168 (edebug-outside-overriding-local-map)
9169 (edebug-outside-overriding-terminal-local-map): Remove, unused.
9170 (edebug--display): Bind unread-command-events directly to nil rather
9171 than binding it to unread-command-events and later setting it to nil.
9172 (edebug--display): Kill edebug-eval-buffer here...
9173 (edebug--recursive-edit): ...rather than here.
9174 Bind standard-output and standard-input.
9175 (edebug-eval): Check cl-macroexpand-all is fboundp.
9176 (edebug-temp-display-freq-count): Fix last change.
9178 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
9179 * subr.el (noreturn, 1value): Add `debug' spec.
9180 * emacs-lisp/advice.el: Require cl-lib.
9181 (ad-copy-tree): Remove, use copy-tree instead.
9182 (ad-dolist): Remove use dolist or cl-dolist instead.
9183 (ad-do-return): Remove, use cl-return instead.
9184 (defadvice): Add `debug' spec.
9186 2012-09-13 Juri Linkov <juri@jurta.org>
9188 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
9191 2012-09-13 Glenn Morris <rgm@gnu.org>
9193 * calc/calc.el (math-compose-expr):
9194 * calc/calc-ext.el (math-compose-expr):
9195 * progmodes/cc-defs.el (cl-macroexpand-all):
9196 * progmodes/cc-langs.el (delete-duplicates, mapcan)
9197 (cl-macroexpand-all): Update declarations.
9199 * vc/vc.el: No need to require ediff.
9200 (ediff-load-version-control): Declare.
9201 (ediff-vc-internal): Fix declaration.
9202 (vc-version-ediff): Require ediff.
9204 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9206 Use a more backwards-compatible timer format (Bug#12430).
9207 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
9208 being right after USECS, as that better supports old code that
9209 inadvisedly looked directly at the timer vector.
9211 2012-09-13 Kenichi Handa <handa@gnu.org>
9213 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
9214 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
9215 `coding-priority' property of these language environment.
9217 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9219 Fix glitches caused by addition of psec to timers (Bug#12430).
9220 * image.el (image-animate-timer):
9221 * time.el (display-time-world-timer):
9222 Use timer--function and timer--args rather than raw access to
9225 2012-09-13 Glenn Morris <rgm@gnu.org>
9227 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
9228 If not compiling a file, try using load-file-name.
9230 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9232 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
9234 (edebug-update-eval-list): Use `push'.
9236 * emacs-lisp/edebug.el: Use lexical-binding.
9237 Remove the "edebug-" prefix from non-dynamically-scoped variables.
9238 Mark unused args with underscore.
9239 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
9240 (edebug-form-data): Use defvar-local.
9241 (edebug-make-before-and-after-form, edebug-make-after-form):
9243 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
9244 Not dynamically scoped any more.
9245 (edebug--enter-trace): Add arguments `function' and `args'.
9246 Rename from edebug-enter-trace.
9247 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
9248 (edebug--update-coverage): Add `after-index' and `value' args.
9249 Rename from edebug-update-coverage.
9250 (edebug-slow-after): Call it accordingly.
9251 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
9252 edebug-recursive-edit.
9253 (edebug--display): Call it accordingly. Add args `value',
9254 `offset-index', and `arg-mode'. Rename from edebug-display.
9255 (edebug-debugger, edebug): Call it accordingly.
9256 (edebug-eval-display-list): Use dolist.
9258 2012-09-12 Juri Linkov <juri@jurta.org>
9260 * info.el (Info-search): Don't check for isearch-mode and
9261 isearch-regexp before let-binding search-spaces-regexp to
9262 Info-search-whitespace-regexp.
9263 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
9264 search-whitespace-regexp if isearch-lax-whitespace or
9265 isearch-regexp-lax-whitespace is non-nil.
9266 (Info-mode): Don't set local variable search-whitespace-regexp.
9267 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
9269 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9271 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
9272 (debugger-env-macro): Remove support for unread-command-char.
9274 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
9275 the temporary map re-appearing on emulation-mode-map-alists.
9277 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
9280 * ehelp.el (with-electric-help): Accept functions in
9281 electric-help-form-to-execute.
9282 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
9283 And replace unread-command-char -> unread-command-events.
9285 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
9287 Sync with Tramp 2.2.6.
9289 * net/tramp.el (tramp-accept-process-output): Don't use
9290 JUST-THIS-ONE in the XEmacs case.
9292 * net/trampver.el: Update release number.
9294 2012-09-12 Martin Rudalics <rudalics@gmx.at>
9296 * emacs-lisp/debug.el (debugger-previous-window-height):
9298 (debug): When debugger-jumping-flag is non-nil try to restore
9299 height of debugger window. (Bug#8789)
9301 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9303 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
9304 overriding-local-map and pre/post-command-hook here.
9305 (edebug-recursive-edit): Do it here instead (bug#12345).
9306 (edebug-outside-unread-command-char): Remove all uses of
9307 unread-command-char.
9309 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
9310 inhibit-debugger is bound instead.
9312 2012-09-11 Bastien Guerry <bzg@gnu.org>
9314 * subr.el (set-temporary-overlay-map): Add a docstring.
9317 2012-09-11 Bastien Guerry <bzg@gnu.org>
9319 * minibuffer.el (completion-table-subvert): Fix docstring.
9322 2012-09-11 Bastien Guerry <bzg@gnu.org>
9324 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
9326 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
9328 * progmodes/sql.el: Version 3.1
9329 (sql-db2-escape-newlines): New variable.
9330 (sql-escape-newlines-filter): Use it.
9332 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
9334 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
9336 2012-09-10 Dan Nicolaescu <dann@gnu.org>
9338 * vc/diff-mode.el (diff-mode-menu):
9339 Bind diff-remove-trailing-whitespace.
9341 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9343 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
9344 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
9345 (emacs-lisp-byte-code-mode): New functions.
9346 (eval-sexp-add-defvars): Don't skip defvars in column >0.
9347 (eval-defun-2): Remove bogus interactive spec.
9348 (lisp-indent-line): Remove redundant whole-exp code, now done in
9349 indent-according-to-mode.
9350 (save-match-data): Remove redundant indent data.
9352 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
9355 2012-09-09 Juri Linkov <juri@jurta.org>
9357 * replace.el (replace-regexp-lax-whitespace): New defcustom.
9358 (replace-lax-whitespace, query-replace-regexp)
9359 (query-replace-regexp-eval, replace-regexp): Doc fix.
9360 (perform-replace, replace-highlight): Let-bind
9361 isearch-lax-whitespace to replace-lax-whitespace and
9362 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
9364 * isearch.el (isearch-query-replace): Let-bind
9365 replace-lax-whitespace to isearch-lax-whitespace and
9366 replace-regexp-lax-whitespace to
9367 isearch-regexp-lax-whitespace. (Bug#10885)
9369 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
9371 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
9373 2012-09-09 Alan Mackenzie <acm@muc.de>
9375 * progmodes/cc-engine.el (c-state-cache-init):
9376 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
9377 (c-record-parse-state-state):
9378 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
9380 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
9382 * register.el (register-separator): Rename from
9383 separator-register. All uses changed. Doc fix.
9384 (register): Fix version.
9386 2012-09-09 Chong Yidong <cyd@gnu.org>
9388 * replace.el (query-replace-map): Bind four new symbols for
9389 requesting window scrolling.
9391 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
9392 query-replace-map (Bug#8948).
9394 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
9396 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
9397 since they are now in query-replace-map.
9399 * window.el (scroll-other-window-down): Make the arg optional.
9401 2012-09-09 Chong Yidong <cyd@gnu.org>
9403 * files.el (hack-local-variables-confirm): Use quit-window to kill
9404 the *Local Variables* buffer.
9406 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9408 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
9409 not just expect to be at its beginning. Adjust callees.
9410 Succeed when do-end block has no space before the pipe character.
9411 (ruby-brace-to-do-end): When the original block is one-liner,
9412 convert to multiline. Reindent the result.
9414 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
9416 * register.el (register): New group.
9417 (separator-register): New user option.
9418 (increment-register): Route it to `append-to-register', if
9419 register contains text. Implication is that `C-x r +' can now be
9420 used for appending to a text register (bug#12217).
9421 (append-to-register, prepend-to-register): Add separator based on
9422 `separator-register'.
9424 2012-09-08 Alan Mackenzie <acm@muc.de>
9426 AWK Mode: make auto-newline work when there's "==" in the pattern.
9427 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
9429 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
9430 Test more rigorously for "=" token.
9432 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9434 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
9435 Only fail when reached LIMIT.
9437 2012-09-08 Chong Yidong <cyd@gnu.org>
9439 * dired.el (dired-mode-map): Don't bind M-=.
9441 * dired-aux.el (dired-diff): Use backup file as default.
9443 2012-09-08 Drew Adams <drew.adams@oracle.com>
9445 * subr.el (add-to-history): Fix delete usage (Bug#12314).
9447 2012-09-08 Chong Yidong <cyd@gnu.org>
9449 * subr.el (syntax-after, syntax-class): Doc fix.
9451 2012-09-08 Martin Rudalics <rudalics@gmx.at>
9453 * window.el (display-buffer-in-previous-window): New buffer
9454 display action function.
9456 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
9457 (debugger-previous-window): New variable.
9458 (debug): Rewrite using display-buffer-in-previous-window,
9459 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
9461 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9463 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
9465 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
9467 * progmodes/python.el (python-shell-send-string):
9468 When default-directory is remote, create temp file on remote
9470 (python-shell-send-file): When file is remote, pass local view of
9471 file paths to remote Python interpreter. (Bug#12340)
9473 2012-09-07 Chong Yidong <cyd@gnu.org>
9475 * window.el (switch-to-buffer): Doc fix (Bug#12181).
9477 * files.el (after-find-file): Don't fail on a read-only buffer if
9478 require-final-newline is `visit' or `visit-save' (Bug#11156).
9480 * subr.el (read-char-choice): Allow quitting via ESC ESC.
9482 * userlock.el (ask-user-about-supersession-threat):
9483 Use read-char-choice (Bug#12093).
9485 2012-09-07 Chong Yidong <cyd@gnu.org>
9487 * subr.el (buffer-narrowed-p): New function.
9489 * ses.el (ses-widen):
9490 * simple.el (count-words--buffer-message):
9491 * net/browse-url.el (browse-url-of-buffer): Use it.
9493 * simple.el (count-words-region): Don't signal an error if there
9494 is a non-nil prefix arg and the mark is not set.
9496 * help.el (describe-key-briefly): Allow the message to be seen
9497 when invoked from the minibuffer (Bug#7014).
9499 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9501 * progmodes/ruby-mode.el (ruby-end-of-defun)
9502 (ruby-beginning-of-defun): Simplify, allow indentation before
9503 block beginning and end keywords.
9504 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
9505 (ruby-end-of-defun): Expect that the point is at the beginning of
9508 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9510 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
9512 (cl--make-usage-args): Strip _ from argument names.
9514 2012-09-06 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
9516 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
9517 obsolete alias speedbar-key-map.
9518 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
9519 (vhdl-index-menu-init): Don't use obsolete variable
9520 font-lock-maximum-size.
9522 2012-09-06 Chong Yidong <cyd@gnu.org>
9524 * frame.el (window-system-version): Mark as obsolete.
9526 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
9527 of obsolete variable speedbar-key-map.
9529 2012-09-06 Juri Linkov <juri@jurta.org>
9531 * replace.el (replace-lax-whitespace): New defcustom.
9532 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9533 (replace-string, replace-regexp): Mention it in docstrings.
9534 (perform-replace, replace-highlight): Let-bind
9535 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
9536 to the values of replace-lax-whitespace and regexp-flag.
9537 Don't let-bind search-whitespace-regexp. (Bug#10885)
9539 * isearch.el (isearch-query-replace): Let-bind
9540 replace-lax-whitespace instead of let-binding
9541 replace-search-function and replace-re-search-function.
9542 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
9543 and isearch-regexp-lax-whitespace to lazy-highlight variables.
9544 (isearch-toggle-symbol): Set isearch-regexp to nil
9545 in isearch-word mode (like in isearch-toggle-word).
9547 2012-09-06 Juri Linkov <juri@jurta.org>
9549 * replace.el (replace-search-function)
9550 (replace-re-search-function): Set default values to nil.
9551 (perform-replace): Let-bind isearch-related variables based on
9552 replace-related values, call `isearch-search-fun' and let-bind
9553 the result to `search-function'. Remove code that sets
9554 `search-function' and `search-string' separately for
9556 (replace-highlight): Add new argument `delimited-flag' and
9557 rename other arguments to the names used in `perform-replace'.
9558 Let-bind `isearch-word' to the argument `delimited-flag'.
9559 (Bug#10885, bug#10887)
9561 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9563 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
9564 ruby-beginning-of-indent, simplify, allow all keywords to have
9565 indentation before them.
9566 (ruby-beginning-of-indent): Adjust for above. Search until the
9567 found point is not inside a string or comment.
9568 (ruby-font-lock-keywords): Allow symbols to start with "@"
9569 character, give them higher priority than variables.
9570 (ruby-syntax-propertize-function)
9571 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
9572 matchers. Expression expansions are not comments when inside a
9573 string, and there comment syntax status is irrelevant.
9574 (ruby-match-expression-expansion): New function. Check that
9575 expression expansion is inside a string, and it's not escaped.
9576 (ruby-font-lock-keywords): Use it.
9578 2012-09-05 Martin Rudalics <rudalics@gmx.at>
9580 * help.el (temp-buffer-max-height): New default value.
9581 (temp-buffer-resize-frames): New option.
9582 (resize-temp-buffer-window): Optionally resize frame.
9584 * window.el (fit-frame-to-buffer-bottom-margin): New option.
9585 (fit-frame-to-buffer): New function.
9587 2012-09-05 Glenn Morris <rgm@gnu.org>
9589 * emulation/cua-rect.el (cua--init-rectangles):
9590 * textmodes/picture.el (picture-mode-map):
9591 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
9592 like forward-char and backward-char. (Bug#12317)
9594 2012-09-05 Leo Liu <sdl.web@gmail.com>
9596 * progmodes/flymake.el (flymake-warning-re): New variable.
9597 (flymake-parse-line): Use it.
9599 2012-09-05 Glenn Morris <rgm@gnu.org>
9601 * calendar/holidays.el (holiday-christian-holidays):
9602 Rename an entry. (Bug#12289)
9604 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9606 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
9609 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9611 * loadup.el: Load macroexp. Remove hack.
9612 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
9613 (macroexp--expand-all): Use it to get better warnings.
9614 (macroexp--backtrace, macroexp--trim-backtrace-frame)
9615 (internal-macroexpand-for-load): New functions.
9616 (macroexp--pending-eager-loads): New var.
9617 (emacs-startup-hook): New hack to replace one in loadup.el.
9618 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
9619 (cl--compiler-macro-cXXr): Move to top, before they can be used.
9620 (cl-psetf): Simplify.
9621 (cl-defstruct): Add indent rule.
9623 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
9625 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
9626 over `user-mail-address' for the SMTP MAIL FROM envelope.
9627 (smtpmail-via-smtp): Ditto.
9629 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
9631 * progmodes/ruby-mode.el: Clean up keybindings.
9632 (ruby-mode-map): Don't bind ruby-electric-brace,
9633 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
9634 backward-kill-word, reindent-then-newline-and-indent.
9635 (ruby-mark-defun): Remove.
9636 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
9637 (ruby-mode): Set local beginning-of-defun-function and
9638 end-of-defun-function values.
9640 2012-09-03 Martin Rudalics <rudalics@gmx.at>
9642 * window.el (temp-buffer-window-setup-hook)
9643 (temp-buffer-window-show-hook): New hooks.
9644 (temp-buffer-window-setup, temp-buffer-window-show)
9645 (with-temp-buffer-window): New functions.
9646 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
9647 (special-display-popup-frame): Make sure the window used shows BUFFER.
9649 * help.el (temp-buffer-resize-mode): Fix doc-string.
9650 (resize-temp-buffer-window): New optional argument WINDOW.
9652 * files.el (recover-file, save-buffers-kill-emacs):
9653 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
9655 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
9657 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
9658 remote definition of `default-directory', ensure we can connect.
9660 2012-09-02 Juri Linkov <juri@jurta.org>
9662 Toggle whitespace matching mode with M-s SPC.
9663 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
9665 * isearch.el (search-whitespace-regexp): Doc fix.
9666 Remove cons cell customization.
9667 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
9668 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
9670 (isearch-forward, isearch-forward-regexp): Doc fix.
9671 (isearch-toggle-lax-whitespace): New command.
9672 (search-forward-lax-whitespace, search-backward-lax-whitespace)
9673 (re-search-forward-lax-whitespace)
9674 (re-search-backward-lax-whitespace): New functions.
9675 (isearch-whitespace-regexp): Remove function.
9676 (isearch-query-replace): Let-bind replace-search-function and
9677 replace-re-search-function.
9678 (isearch-occur): Let-bind search-spaces-regexp according to the
9679 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
9680 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
9681 condition for C-q SPC.
9682 (isearch-search-fun-default): Use new functions mentioned above.
9683 (isearch-search-forward, isearch-search-backward): Remove functions.
9684 (isearch-search): Don't let-bind search-spaces-regexp.
9685 (isearch-lazy-highlight-space-regexp): Remove variable.
9686 (isearch-lazy-highlight-lax-whitespace)
9687 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
9688 (isearch-lazy-highlight-new-loop): Use them.
9689 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
9691 2012-09-02 Chong Yidong <cyd@gnu.org>
9693 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
9695 2012-09-02 Glenn Morris <rgm@gnu.org>
9697 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
9699 2012-09-01 Glenn Morris <rgm@gnu.org>
9701 * term.el: Tidy up menu definitions.
9702 (term-mode-map): Use easymenu for In/Out, Complete menus.
9703 (term-pager-break-map): Initialize in the defvar.
9704 (term-terminal-menu, term-signals-menu): Define with easymenu.
9705 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
9706 (term-pager-menu): New, extracted from term-process-pager.
9707 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
9708 (term-update-mode-line): Propertize line/char and page items.
9709 (term-process-pager): Move keymap initialization elsewhere.
9711 2012-09-01 Martin Rudalics <rudalics@gmx.at>
9713 * window.el (switch-to-prev-buffer): Handle additional values of
9714 BURY-OR-KILL argument. Don't switch in minibuffer window.
9715 (switch-to-next-buffer): Don't switch in minibuffer window.
9716 (quit-restore-window): New function based on quit-window.
9717 Handle additional values of former KILL argument.
9718 (quit-window): Call quit-restore-window with appropriate
9719 interpretation of KILL argument.
9720 (display-buffer-below-selected): New buffer display action
9723 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
9725 * minibuffer.el (completion-at-point-functions): Complete docstring
9728 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
9730 Better seed support for (random).
9731 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
9732 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
9733 * play/mpuz.el, play/tetris.el, play/zone.el:
9734 * calc/calc-comb.el (math-init-random-base):
9735 * play/blackbox.el (bb-init-board):
9736 * play/life.el (life):
9737 * server.el (server-use-tcp):
9738 * type-break.el (type-break):
9739 Remove unnecessary call to (random t).
9740 * net/sasl.el (sasl-unique-id-function):
9741 Change (random t) to (random), now that the latter is more random.
9742 * play/life.el (life-initialized): Remove no-longer-needed var.
9744 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
9746 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9747 Consider frame's buffer predicate when choosing the buffer.
9750 2012-08-30 Richard Stallman <rms@gnu.org>
9752 * simple.el (special-mode-map): Delete binding for `z'.
9754 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
9756 * progmodes/compile.el (compilation-always-kill): Doc fix.
9758 2012-08-30 Chong Yidong <cyd@gnu.org>
9760 * window.el (display-buffer-reuse-frames): Make the obsolescence
9761 message more informative.
9763 2012-08-30 Glenn Morris <rgm@gnu.org>
9765 * paren.el (show-paren-delay):
9766 Add a :set function. Doc fix. (Bug#12297)
9768 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
9770 * progmodes/compile.el (compilation-always-kill): New var.
9771 (compilation-start): Use it.
9773 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9775 * simple.el (read-only-mode): Move from files.el for bootstrapping.
9776 * files.el (read-only-mode): Move to simple.el.
9778 * files.el (read-only-mode): New minor mode.
9779 (toggle-read-only): Use it and mark obsolete.
9780 (find-file--read-only):
9781 * vc/vc.el (vc-next-action, vc-checkout):
9782 * vc/vc-cvs.el (vc-cvs-checkout):
9783 * obsolete/vc-mcvs.el (vc-mcvs-update):
9784 * ffap.el (ffap--toggle-read-only): Update callers.
9786 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
9788 * eshell/esh-ext.el (eshell-external-command): Do not examine
9789 remote shell scripts.
9790 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
9792 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
9795 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9797 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
9799 2012-08-28 Leo Liu <sdl.web@gmail.com>
9801 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
9802 completion-at-point. (Bug#12220)
9804 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
9806 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
9808 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9810 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
9811 be buffer-local; add delete-trailing-whitespace (bug#12259).
9813 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
9815 * progmodes/hideif.el (hif-compress-define-list):
9816 Fix typo. (Bug#11951)
9818 2012-08-28 Dan Nicolaescu <dann@gnu.org>
9820 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
9821 buffer local setting.
9823 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
9824 rcirc-encode-coding-system.
9826 2012-08-28 Leo Liu <sdl.web@gmail.com>
9828 * net/rcirc.el (rcirc-split-message): New function.
9829 (rcirc-send-message): Use it. (Bug#12051)
9831 2012-08-28 Juri Linkov <juri@jurta.org>
9833 * info.el (Info-fontify-node): Hide empty lines at the end of
9834 the node. (Bug#12272)
9836 2012-08-27 Drew Adams <drew.adams@oracle.com>
9838 * dired.el (dired-pop-to-buffer): Make window start at beginning
9839 of buffer (Bug#12281).
9841 2012-08-26 Chong Yidong <cyd@gnu.org>
9843 * window.el (special-display-regexps, special-display-frame-alist)
9844 (special-display-buffer-names, special-display-function)
9845 (display-buffer-reuse-frames): Mark as obsolete.
9847 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
9849 * help.el (help-print-return-message): Don't treat
9850 display-buffer-reuse-frames specially.
9852 2012-08-26 Chong Yidong <cyd@gnu.org>
9854 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
9855 New variable, replacing gdb-frame-parameters.
9856 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
9857 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
9858 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
9859 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
9860 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
9861 the functions directly with gdb-display-buffer-other-frame-action.
9862 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
9863 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
9864 (gdb-display-stack-buffer, gdb-display-locals-buffer)
9865 (gdb-display-registers-buffer): Define directly.
9866 (def-gdb-display-buffer): Macro deleted.
9867 (gdb-display-buffer): Remove second and third args, callers don't
9868 use them. Defer to the default display-buffer behavior, apart
9869 from making windows dedicated.
9870 (gdb-setup-windows): Don't call display-buffer unnecessarily.
9872 * progmodes/gud.el (gud-display-line): Just use display-buffer.
9874 * window.el (display-buffer-pop-up-frame): Handle a
9875 pop-up-frame-parameters alist entry.
9876 (display-buffer): Document it.
9878 2012-08-26 Chong Yidong <cyd@gnu.org>
9880 * isearch.el (search-whitespace-regexp): Make string and nil
9881 values apply to both ordinary and regexp search. Allow a cons
9882 cell value to distinguish between the two.
9883 (isearch-whitespace-regexp, isearch-search-forward)
9884 (isearch-search-backward): New functions.
9885 (isearch-occur, isearch-search-fun-default, isearch-search)
9886 (isearch-lazy-highlight-new-loop): Use them.
9887 (isearch-forward, isearch-forward-regexp): Doc fix.
9889 2012-08-26 Chong Yidong <cyd@gnu.org>
9891 * faces.el (help-argument-name): Always inherit from italic
9894 2012-08-25 Martin Rudalics <rudalics@gmx.at>
9896 * window.el (window--even-window-heights): Even heights when
9897 WINDOW and the selected window form a vertical combination.
9898 (display-buffer-use-some-window): Provide that window used gets
9899 sized back by quit-window. (Bug#11880) and (Bug#12091)
9901 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
9903 Fix file time stamp problem with bzr and CVS (Bug#12001).
9904 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
9905 in the file's time stamp, since the version control system loses
9908 2012-08-22 Juri Linkov <juri@jurta.org>
9910 * info.el (Info-fontify-node): Hide the suffix of the
9911 Info file name in the header line. (Bug#12187)
9913 2012-08-22 Glenn Morris <rgm@gnu.org>
9915 * calendar/cal-tex.el (cal-tex-weekly-common):
9916 Restore leading blank page.
9918 2012-08-22 Le Wang <l26wang@gmail.com>
9920 * misc.el (forward-to-word, backward-to-word): Activate or extend
9921 the region under `shift-select-mode'. (Bug#12231)
9923 2012-08-22 Bastien Guerry <bzg@gnu.org>
9925 * progmodes/executable.el (executable-prefix): Set to "#!" instead
9926 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
9927 gives details on why the space is never needed.
9929 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9931 * window.el (walk-window-tree, window-with-parameter):
9932 New optional argument MINIBUF to control whether these functions
9933 should run on the minibuffer window.
9934 (window-at-side-list): Don't operate on minibuffer window.
9935 (window-in-direction): Simplify and rewrite doc-string.
9936 (window--size-ignore): Rename to window--size-ignore-p.
9938 (display-buffer-in-atom-window, window--major-non-side-window)
9939 (window--major-side-window, display-buffer-in-major-side-window)
9940 (delete-side-window, display-buffer-in-side-window):
9942 (window--side-check, window-deletable-p, delete-window)
9943 (delete-other-windows, split-window): Handle side windows and
9944 atomic windows appropriately.
9945 (window--display-buffer): Call display-buffer-record-window also
9946 when the window buffer did not change.
9948 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
9950 * help-fns.el (help-fns--key-bindings):
9951 Abbreviate non-symbol remap targets. (Bug#12174)
9953 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9955 * dired.el (dired-mark-remembered): Don't clobber point.
9958 2012-08-22 Glenn Morris <rgm@gnu.org>
9960 * progmodes/bug-reference.el (bug-reference): New custom group.
9961 (bug-reference-bug-regexp): Make it a defcustom.
9963 2012-08-22 Daiki Ueno <ueno@unixuser.org>
9965 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
9966 (js-paren-indent-offset, js-square-indent-offset)
9967 (js-curly-indent-offset): Add :safe (Bug#12257).
9969 2012-08-22 Edward O'Connor <hober0@gmail.com>
9971 * json.el (json-key-format): Add error properties.
9972 (json-encode-key): New function.
9973 (json-encode-hash-table, json-encode-alist, json-encode-plist):
9974 Use json-encode-key.
9976 2012-08-22 Glenn Morris <rgm@gnu.org>
9978 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
9979 (cal-tex-leftday, cal-tex-rightday): Remove functions.
9980 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
9981 Update for above change.
9983 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
9985 * cus-face.el (custom-face-attributes): Fix customize type for the
9986 :underline attribute. (Bug#11805)
9988 2012-08-21 Martin Rudalics <rudalics@gmx.at>
9990 * window.el (window-point-1, set-window-point-1): Remove.
9991 (window-in-direction, record-window-buffer)
9992 (set-window-buffer-start-and-point, split-window-below)
9993 (window--state-get-1, display-buffer-record-window):
9994 Replace calls to window-point-1 and set-window-point-1 by calls to
9995 window-point and set-window-point respectively.
9997 2012-08-21 Glenn Morris <rgm@gnu.org>
9999 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
10000 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
10003 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
10004 (cal-tex-shortday): New function.
10005 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
10006 (cal-tex-cursor-filofax-daily): Use the above.
10008 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
10010 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10011 (cal-tex-cursor-filofax-week): Use them.
10013 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
10015 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10016 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
10018 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
10019 (cal-tex-end-document): Don't rely on buffer name.
10021 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
10022 Use cal-tex-vspace.
10023 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
10024 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
10025 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
10028 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
10029 (cal-tex-cursor-week, cal-tex-cursor-week2)
10030 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
10031 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10032 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
10033 (cal-tex-insert-preamble, cal-tex-b-document)
10034 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
10035 Improve cal-tex-cmd usage.
10037 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
10038 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
10039 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
10040 (cal-tex-weekly-paper): New function.
10041 (cal-tex-cursor-week, cal-tex-cursor-week2)
10042 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
10043 (cal-tex-cursor-day): Use it.
10045 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
10046 (cal-tex-cursor-filofax-week): Remove leading blank page.
10048 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10049 Add autoload cookie. For now at least, don't use color, since
10050 no other cal-tex function does.
10052 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
10053 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10054 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
10056 2012-08-21 Juri Linkov <juri@jurta.org>
10058 * info.el (Info-file-attributes): New variable.
10059 (info-insert-file-contents): Add file attributes to
10060 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
10061 `Info-toc-nodes' when previous modtime of the Info file is less
10063 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
10064 of info.el. (Bug#12230)
10066 2012-08-20 Glenn Morris <rgm@gnu.org>
10068 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
10069 * calendar/holidays.el (calendar-holiday-list):
10070 Report errors with display-warning rather than beep'n'sleep.
10072 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
10074 * net/tramp.el (tramp-accept-process-output): Accept only output
10075 from PROC. Otherwise, process filters and sentinels might be
10076 confused. (Bug#12145)
10078 2012-08-20 Chong Yidong <cyd@gnu.org>
10080 * descr-text.el (describe-text-properties-1): Use overlays-in to
10081 report on empty overlays (Bug#3322).
10083 2012-08-20 Glenn Morris <rgm@gnu.org>
10085 * mail/rmailout.el (rmail-output-read-file-name):
10086 Trap and report errors in rmail-output-file-alist elements.
10088 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
10089 since most non-font-lock faces are not also variables).
10091 2012-08-20 Edward Reingold <reingold@iit.edu>
10093 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10094 New function. (Bug12160)
10096 2012-08-19 Glenn Morris <rgm@gnu.org>
10098 * mail/rmailout.el (rmail-output-read-file-name):
10099 Fix previous change (when the alist is nil or does not match).
10101 2012-08-19 Chong Yidong <cyd@gnu.org>
10103 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
10106 2012-08-18 Chong Yidong <cyd@gnu.org>
10108 * simple.el (yank-handled-properties): New defcustom.
10109 (yank-excluded-properties): Add font-lock-face and category.
10112 * subr.el (remove-yank-excluded-properties):
10113 Obey yank-handled-properties. The special handling of font-lock-face
10114 and category is now done this way, instead of being hard-coded.
10115 (insert-for-yank-1): Remove font-lock-face handling.
10116 (yank-handle-font-lock-face-property)
10117 (yank-handle-category-property): New function.
10119 2012-08-17 Glenn Morris <rgm@gnu.org>
10121 * mail/rmailout.el (rmail-output-read-file-name):
10122 Check rmail-output-file-alist against the full message body
10123 in the correct rmail buffer. (Bug#12214)
10125 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
10127 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
10128 Eliminate superfluous prompt. (Bug#12203)
10130 2012-08-17 Chong Yidong <cyd@gnu.org>
10132 * mouse.el (mouse-appearance-menu): If x-select-font returns a
10133 font spec, set the font directly (Bug#3228).
10135 2012-08-17 Martin Rudalics <rudalics@gmx.at>
10137 * window.el (delete-window): Fix last fix.
10139 2012-08-16 Martin Rudalics <rudalics@gmx.at>
10141 * window.el (window-valid-p): Move to window.c.
10142 (window-child, window-child-count, window-last-child)
10143 (window-normalize-window, window-combined-p)
10144 (window-combinations, window-atom-root, window-min-size)
10145 (window-sizable, window-sizable-p, window-size-fixed-p)
10146 (window-min-delta, window-max-delta, window--resizable)
10147 (window--resizable-p, window-resizable, window-total-size)
10148 (window-full-height-p, window-full-width-p, window-body-size)
10149 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
10150 (minimize-window, window-deletable-p, delete-window)
10151 (delete-other-windows, set-window-buffer-start-and-point)
10152 (next-buffer, previous-buffer, split-window, balance-windows-2)
10153 (set-window-text-height, window-buffer-height)
10154 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
10155 (truncated-partial-width-window-p): Minor code adjustments.
10156 In doc-strings state whether the argument window has to denote a
10157 live, valid or any window.
10159 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
10161 * progmodes/subword.el (subword-forward-function)
10162 (subword-backward-function, subword-forward-regexp)
10163 (subword-backward-regexp): New variables.
10164 (subword-forward, subword-forward-internal, subword-backward-internal):
10165 Use new variables, eg so that different "word" definitions
10166 can be easily used. (Bug#11411)
10168 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10170 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
10171 for composite selectors.
10172 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
10173 operation just because we can't find a previous revision.
10175 2012-08-15 Chong Yidong <cyd@gnu.org>
10177 * frame.el (set-frame-font): Accept font objects.
10179 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10181 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
10183 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
10185 * man.el (Man-overstrike-face, Man-underline-face)
10186 (Man-reverse-face): Remove variables.
10187 (Man-overstrike, Man-underline, Man-reverse): New faces.
10188 (Man-fontify-manpage): Use them instead of the variables.
10189 (Man-cleanup-manpage): Comment change.
10190 (Man-ansi-color-map): New variable.
10191 (Man-fontify-manpage): Use it.
10192 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
10194 Implement ANSI SGR parameters 22-27 (bug#12146).
10195 * ansi-color.el (ansi-colors): Doc fix.
10196 (ansi-color-context, ansi-color-context-region): Doc fix.
10197 (ansi-color--find-face): New function.
10198 (ansi-color-apply, ansi-color-apply-on-region): Use it.
10199 Rename the local variable `face' to `codes' since it is now a list of
10200 ansi codes. Doc fix.
10201 (ansi-color-get-face): Remove.
10202 (ansi-color-parse-sequence): New function, derived from
10203 ansi-color-get-face.
10204 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
10207 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
10209 * subr.el (read-passwd): Allow use from a minibuffer.
10211 2012-08-14 Eli Zaretskii <eliz@gnu.org>
10213 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
10214 inside comments and strings as identifiers.
10216 * progmodes/gud.el (gud-tooltip-print-command): Quote the
10217 expression to evaluate. This allows to evaluate expressions with
10218 embedded whitespace.
10219 (gud-tooltip-tips): Add a blank before the newline in the
10220 message-box text, for the benefit of message-box emulation on
10223 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
10224 messages from GDB, pop them up in a tooltip to give feedback to
10226 (gdb-tooltip-print-1): Quote the expression to evaluate.
10227 This allows to evaluate expressions with embedded whitespace.
10228 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
10229 if the TTY name is nil or empty (which happens when communicating
10230 with the inferior via pipes, e.g. on MS-Windows).
10231 (gdb-internals): If GDB sends a "&\n" empty debugging message,
10232 don't send that to the GUD buffer.
10234 2012-08-14 Glenn Morris <rgm@gnu.org>
10236 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
10237 Optimize away setq-default with no args, as for setq. (Bug#12195)
10239 2012-08-14 Chong Yidong <cyd@gnu.org>
10241 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
10243 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
10246 2012-08-14 Glenn Morris <rgm@gnu.org>
10248 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
10250 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
10252 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
10253 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10254 Use cached shell name.
10256 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10258 * progmodes/python.el (python-shell-send-string):
10259 (python-shell-send-setup-code): Do not use `format' with `message'.
10261 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
10263 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
10264 (ruby-percent-literal-beg-re): New constant.
10265 (ruby-syntax-general-delimiters-goto-beg): Rename to
10266 `ruby-syntax-enclosing-percent-literal', improve literal type check.
10267 (ruby-syntax-propertize-general-delimiters): Rename to
10268 `ruby-syntax-propertize-percent-literal', it's a shorter and more
10269 popular term. Adjust comments everywhere.
10270 (ruby-syntax-propertize-percent-literal): Only propertize when not
10271 inside a simple string or comment. When the literal is unclosed,
10272 leave the text after it unpropertized.
10273 (ruby-syntax-methods-before-regexp): New constant.
10274 (ruby-syntax-propertize-function): Use it to recognize regexps.
10275 Don't look at the text after regexp, just use the whitelist.
10277 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
10279 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
10280 non-nil always load the compiled file if it exists. (Bug#12197)
10282 2012-08-14 Chong Yidong <cyd@gnu.org>
10284 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
10285 (hi-lock-set-pattern): When deciding whether to use font lock or
10286 overlays, look at font-lock-mode instead of font-lock-fontified
10288 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
10289 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
10291 2012-08-14 Daiki Ueno <ueno@unixuser.org>
10293 * subr.el (internal--after-with-selected-window): Fix typo
10296 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10298 Use `completion-table-dynamic' for completion functions.
10299 * progmodes/python.el
10300 (python-shell-completion--do-completion-at-point)
10301 (python-shell-completion--get-completions):
10303 (python-shell-completion-complete-at-point): New function.
10304 (python-completion-complete-at-point): Use it.
10306 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
10308 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
10309 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
10311 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10313 * subr.el (function-get): Refine `autoload' arg so it can also
10314 autoload functions for gv.el (bug#12191).
10315 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
10318 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
10319 Prefer pcase-let over destructuring-bind.
10320 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
10321 Also, remove whitespace as we go, rather than after accumulating the
10324 * subr.el (internal--before-with-selected-window)
10325 (internal--after-with-selected-window): Fix typo seleted->selected.
10326 (with-selected-window): Adjust callers.
10327 Reported by Dmitry Gutov <dgutov@yandex.ru>.
10329 2012-08-13 Bastien Guerry <bzg@gnu.org>
10331 * window.el (special-display-popup-frame): Minor docstring
10332 enhancement. (Bug#12172)
10334 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
10336 * tar-mode.el (tar-header-data-end): Only ignore size for files of
10338 (tar-header-block-summarize, tar-get-descriptor): Handle pax
10341 * files.el (hack-local-variables-filter): Remove useless eval.
10343 2012-08-13 Martin Rudalics <rudalics@gmx.at>
10345 * subr.el (with-selected-window): Fix last change.
10347 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10349 * subr.el (internal--before-with-seleted-window)
10350 (internal--after-with-seleted-window): New functions.
10351 (with-selected-window): Use them, to replace dependency on
10354 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
10356 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
10357 binding for `newline'.
10358 (ruby-move-to-block): When moving backward, stop at block opening,
10360 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
10361 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
10362 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
10363 `ruby-toggle-block'.
10365 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10367 * ibuffer.el (ibuffer-do-toggle-read-only):
10368 * dired.el (dired-toggle-read-only):
10369 * buff-menu.el (Buffer-menu-toggle-read-only):
10370 * bindings.el (mode-line-toggle-read-only):
10371 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
10373 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
10375 * descr-text.el (describe-char): Put the overlays over the
10376 "displayed as" character.
10378 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
10380 * calc/calc-units.el (math-default-units-table): Give an
10382 (math-put-default-units): Add options to put composite units and
10383 unit systems in the default units table.
10384 (calc-convert-units): Send composite units to
10385 `math-put-default-units' when appropriate.
10387 2012-08-11 Glenn Morris <rgm@gnu.org>
10389 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
10391 * tutorial.el (help-with-tutorial):
10392 * emacs-lisp/copyright.el (copyright-update-directory):
10393 * emacs-lisp/autoload.el (autoload-find-generated-file)
10394 (autoload-find-file): Disable local eval: (for insurance).
10396 * files.el (hack-local-variables-filter): If an eval: form is not
10397 known to be safe, and enable-local-variables is :safe, then ignore
10398 the form totally, as is done for non-eval forms. (Bug#12155)
10399 This is CVE-2012-3479.
10401 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10403 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
10404 (rx-form): Simplify.
10406 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
10408 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
10409 ?, _, and : are symbol constituents, ! is not (but kinda should be).
10410 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
10411 (ruby-syntax-propertize-function): Adjust for changes in
10412 `ruby-syntax-propertize-heredoc'.
10414 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
10416 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
10417 binding (use `M-;' instead).
10418 (ruby-singleton-class-p): New function.
10419 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
10421 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10423 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
10425 2012-08-10 Chong Yidong <cyd@gnu.org>
10427 * progmodes/python.el (python-shell-get-process-name): Don't mess
10428 with same-window-buffer-names.
10430 * eshell/eshell.el (eshell-add-to-window-buffer-names)
10431 (eshell-remove-from-window-buffer-names): Make obsolete.
10432 (eshell-buffer-name, eshell-unload-hook): Don't use them.
10433 (eshell): Just use pop-to-buffer-same-window instead.
10435 2012-08-10 Chong Yidong <cyd@gnu.org>
10437 * bindings.el: Bind M-= back to count-words-region.
10439 * simple.el (count-words-region): Accept a prefix arg for acting
10440 on the entire buffer.
10441 (count-words--buffer-message): New helper function.
10443 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10445 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
10446 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
10447 (event-start, event-end): Use posn-at-point to return a more
10449 (posnp): New function.
10450 * mouse.el (popup-menu-normalize-position): Use it.
10452 2012-08-10 Masatake YAMATO <yamato@redhat.com>
10454 * mouse.el (popup-menu-normalize-position): New function.
10455 (popup-menu): Use `popup-menu-normalize-position' to normalize
10456 the form for POSITION argument.
10458 * term/x-win.el (x-menu-bar-open):
10459 Use the value returend from (posn-at-point) as position
10460 passed to `popup-menu'.
10462 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10464 * calc/calccomp.el (math-compose-expr): Add extra argument
10465 indicating that parentheses should be put around products in
10466 denominators. Give multiplication precedence over division during
10469 2012-08-09 Chong Yidong <cyd@gnu.org>
10471 * man.el (Man-switches, Man-sed-command, Man-awk-command)
10472 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
10473 (Man-untabify-command, manual-program): Convert to defcustom
10476 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
10478 * descr-text.el (describe-char): Don't insert extra newlines
10481 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
10482 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
10484 * align.el (align-region): Delete temporary markers (Bug#10047).
10485 Plus some code cleanups.
10487 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10489 * progmodes/python.el (python-pdbtrack-tracked-buffer)
10490 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
10491 (python-shell-internal-last-output): Use make-local-variable
10492 instead of make-variable-buffer-local.
10494 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10496 * progmodes/python.el: Enhancements to forward-sexp.
10497 (python-nav-forward-sexp): Rename from
10498 python-nav-forward-sexp-function.
10499 (python-nav--forward-sexp, python-nav--backward-sexp):
10502 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10504 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
10505 modes and simplification modes.
10507 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10509 * delsel.el (delete-selection-pre-hook): Don't propagate the
10510 file-supersession signals (bug#12161).
10512 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10514 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
10515 (cl-map-extents): Add compatibility aliases (bug#12135).
10517 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
10519 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
10520 tests by `ignore-error'.
10521 (tramp-find-shell): Open also a new shell, when cache is already
10522 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
10524 2012-08-08 Juri Linkov <juri@jurta.org>
10526 * bookmark.el: Add `defaults' property to the bookmark record.
10527 (bookmark-current-buffer): Doc fix.
10528 (bookmark-make-record): Add `defaults' property with default values
10529 to the bookmark record.
10530 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
10531 with `bookmark-insert-current-bookmark'.
10532 (bookmark-set): Get `defaults' property from the bookmark record
10533 and use it in `read-from-minibuffer'.
10534 (bookmark-insert-current-bookmark): Remove function.
10536 * info.el (Info-bookmark-make-record): Add `defaults' property
10537 with values of canonical Info node name, the current Info file
10538 name and the current Info node name. (Bug#12107)
10540 2012-08-08 Juri Linkov <juri@jurta.org>
10542 * files.el (basic-save-buffer): Use `buffer-name' as the default
10543 of `read-file-name' when buffer is not visiting a file (bug#12128).
10545 2012-08-08 Juri Linkov <juri@jurta.org>
10547 * info.el (Info-isearch-search): Doc fix.
10548 (Info-search): Change search-failed message from "initial node" to
10549 "end of node" (bug#12078).
10550 (Info-isearch-search): Change `isearch-string-state' to
10551 `isearch--state-string'.
10553 2012-08-08 Glenn Morris <rgm@gnu.org>
10555 * language/persian.el: Remove file.
10556 * language/misc-lang.el: Move unique part of persian.el here.
10557 * loadup.el: Remove language/persian.
10559 2012-08-08 Ă“scar Fuentes <ofv@wanadoo.es>
10561 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
10563 2012-08-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10565 * progmodes/python.el: Fix defsubst warning.
10566 (python-syntax-context) Rename from python-info-ppss-context.
10567 (python-syntax-context-type): Rename from
10568 python-info-ppss-context-type.
10569 (python-syntax-comment-or-string-p): Rename from
10570 python-info-ppss-comment-or-string-p.
10572 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
10574 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
10576 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
10578 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
10579 a defcustom that is quoted with backquote.
10581 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
10582 Fix handling of interactive spec when the body uses return.
10583 (math-do-arg-check, math-define-function-body): Use backquote forms.
10584 * calc/calc-ext.el (math-defcache): Likewise.
10585 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
10586 * allout.el (allout-new-exposure): Likewise.
10587 * calc/calcalg2.el (math-tracing-integral): Likewise.
10588 * info.el (Info-last-menu-item): Likewise.
10589 * emulation/vip.el (vip-loop): Likewise.
10590 * textmodes/artist.el (artist-funcall): Likewise.
10591 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
10592 Construct menu-item directly.
10594 * progmodes/autoconf.el (font-lock-syntactic-keywords):
10597 2012-08-07 Chong Yidong <cyd@gnu.org>
10599 * simple.el (deactivate-mark): Preserve text properties when
10600 saving the primary selection (Bug#8384).
10602 2012-08-07 Kevin Ryde <user42@zip.com.au>
10604 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
10605 (woman-parse-numeric-value): On a bad .IP line, issue a warning
10606 and continue processing (Bug#12110).
10608 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10610 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
10611 syntax-propertize-function (bug#10095).
10613 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10615 * help-fns.el (help-fns--key-bindings, help-fns--signature)
10616 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
10617 describe-function-1.
10618 (describe-function-1): Use them. Move compiler macro after sig.
10619 (help-fns--compiler-macro): Use function-get. Assume we're already in
10620 standard-output. Adjust layout to new call order.
10622 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
10623 re-binding a symbol that has a symbol-macro (bug#12119).
10625 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
10627 * language/persian.el: New file. (Bug#11812)
10628 * loadup.el: Add language/persian.el.
10630 2012-08-06 Chong Yidong <cyd@gnu.org>
10632 * window.el (window--maybe-raise-frame): New function.
10633 (window--display-buffer): Split off from here.
10634 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10635 (display-buffer-pop-up-window, display-buffer-use-some-window):
10636 Obey an inhibit-switch-frame action alist entry.
10637 (display-buffer): Update doc.
10639 * replace.el (occur-after-change-function): Avoid losing focus by
10640 using the inhibit-switch-frame display parameter (Bug#12139).
10642 2012-08-06 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10644 Make internal shell process buffer names start with space.
10645 * progmodes/python.el (python-shell-make-comint): Add optional
10647 (run-python-internal): Use it.
10648 (python-shell-internal-get-or-create-process): Check for new
10649 internal buffer names.
10651 2012-08-06 Glenn Morris <rgm@gnu.org>
10653 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
10654 Do less getting and setting of environment variables.
10656 2012-08-05 Chong Yidong <cyd@gnu.org>
10658 * proced.el (proced): Add substitution string to docstring to
10659 trigger autoloading of the proced library on C-h f (Bug#1768).
10661 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10662 Don't show defvars which have no second argument (Bug#8638).
10664 * imenu.el (imenu-generic-expression): Move documentation here
10665 from imenu--generic-function.
10666 (imenu--generic-function): Refer to imenu-generic-expression.
10668 2012-08-05 Vegard Ă˜ye <vegard_oye@hotmail.com> (tiny change)
10670 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
10671 indentation declaration.
10672 (viper-loop): Add indentation declaration (Bug#7025).
10674 2012-08-05 Chong Yidong <cyd@gnu.org>
10676 * help-fns.el (describe-variable): Add hyperlink for
10677 directory-local variables files. Improve buffer-local and
10678 permanent-local reporting; suggested by MON KEY (Bug#6644).
10680 * help-mode.el (help-dir-local-var-def): New button type.
10682 * files.el (kill-buffer-hook): Provide a defvar.
10684 2012-08-05 Glenn Morris <rgm@gnu.org>
10686 * eshell/esh-ext.el (eshell/addpath):
10687 Also update eshell-path-env. (Bug#12013)
10689 2012-08-05 Chong Yidong <cyd@gnu.org>
10691 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
10693 * fringe.el (fringe-styles): Add docstring.
10694 (fringe--check-mode): New function.
10695 (set-fringe-mode, set-fringe-style): Use it.
10696 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
10698 * files.el (set-auto-mode): Fix invalid setq call.
10700 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10702 * isearch.el: Misc simplification; use defstruct.
10703 (isearch-mode-map): Dense maps now work like sparse ones.
10704 (isearch--state): New defstruct.
10705 (isearch-string-state, isearch-message-state, isearch-point-state)
10706 (isearch-success-state, isearch-forward-state)
10707 (isearch-other-end-state, isearch-word-state, isearch-error-state)
10708 (isearch-wrapped-state, isearch-barrier-state)
10709 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
10710 replaced by defstruct's accessors.
10711 (isearch--set-state): Rename from isearch-top-state and change
10712 calling convention.
10713 (isearch-push-state): Use new isearch--get-state.
10714 (isearch-toggle-word): Disable regexp when enabling word.
10715 (isearch-message-prefix): Remove unused arg _c-q-hack.
10716 (isearch-message-suffix): Remove unused arg _ellipsis.
10718 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
10720 * simple.el (list-processes--refresh): For a server use :host or
10721 :local as the address.
10722 (list-processes): Doc fix.
10724 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
10726 * lisp/mpc.el: Support password in host argument.
10727 (mpc--proc-connect): Parse and use new password element.
10728 Set mpc-proc variable instead of returning process.
10729 (mpc-proc): Adjust accordingly.
10731 2012-08-03 Eli Zaretskii <eliz@gnu.org>
10733 * whitespace.el (whitespace-display-mappings): Use Unicode
10734 codepoints, instead of emacs-mule codepoints. See
10735 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
10738 * files.el (file-truename): Don't skip symlink-chasing part on
10739 windows-nt. Incorporate the resolution of 8+3 short aliases on
10740 Windows into the loop that recursively chases symlinks.
10741 Compare directory and its parent case-insensitively on MS-Windows and
10744 2012-08-03 Chong Yidong <cyd@gnu.org>
10746 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
10748 * sort.el (sort-regexp-fields): Doc fix.
10750 2012-08-03 Tassilo Horn <tsdh@gnu.org>
10752 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
10753 labels regex position point at the expected place.
10755 2012-08-03 MON KEY <monkey@sandpframing.com>
10757 * net/imap.el (imap-interactive-login, imap-authenticate)
10758 (imap-mailbox-lsub, imap-mailbox-list)
10759 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
10760 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
10761 (imap-parse-response): Doc fix.
10763 2012-08-03 JoĂ£o TĂ¡vora <joaotavora@gmail.com>
10765 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
10766 if sexp scanning does not move point (Bug#5734).
10768 2012-08-02 Tassilo Horn <tsdh@gnu.org>
10770 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
10771 Add listings, minted, and ctable packages.
10772 (reftex-label-alist-builtin): Move listings, minted, and ctable
10773 entries before LaTeX.
10774 (reftex-label-alist): Docfix.
10776 2012-08-02 Bastien Guerry <bzg@gnu.org>
10778 * replace.el (occur): Fix docstring (bug#12122).
10780 2012-08-02 Glenn Morris <rgm@gnu.org>
10782 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
10784 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
10786 Obsolete alias inactivate-current-input-method-function (Bug#10150).
10787 * international/mule-cmds.el: Create
10788 inactivate-current-input-method-function as an obsolete alias for
10789 deactivate-current-input-method-function. See Katsumi Yamaoka in
10790 <http://bugs.gnu.org/10150#46>.
10792 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
10794 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
10797 2012-08-01 Glenn Morris <rgm@gnu.org>
10799 * progmodes/autoconf.el (autoconf-definition-regexp):
10800 Add AH_TEMPLATE, adjust submatch numbering.
10801 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
10802 (autoconf-current-defun-function): Update for above change.
10803 (autoconf-current-defun-function): First skip to end of current word.
10805 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
10807 * calendar/cal-html.el (cal-html-insert-agenda-days):
10808 Fix typo. (Bug#12018)
10810 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10812 Shell processes: enhancements to startup and CEDET compatibility.
10813 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
10814 (python-shell-make-comint): accept-process-output at startup.
10815 (run-python-internal): Set inferior-python-mode-hook to nil.
10816 (python-shell-internal-get-or-create-process): call sit-for.
10817 (python-preoutput-result): Add obsolete alias.
10818 (python-shell-internal-send-string): Use it.
10819 (python-shell-send-setup-code): Remove call to
10820 accept-process-output.
10822 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
10824 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
10827 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
10829 * calc-mode.el (calc-basic-simplification-mode): Rename from
10830 `calc-limited-simplification-mode'.
10831 (calc-alg-simplification-mode): New function.
10832 (calc-set-simplify-mode): Adjust message.
10834 * calc.el (calc-set-mode-line): Adjust mode line display for
10835 basic simplification mode.
10837 * calc-help.el (calc-m-prefix-help): Update help message.
10839 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
10840 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
10842 2012-07-31 Bastien Guerry <bzg@gnu.org>
10844 * man.el (man): Fix comment. (bug#12101)
10846 2012-07-31 Martin Rudalics <rudalics@gmx.at>
10848 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
10849 Don't return a non-nil value when no suitable buffer was found.
10851 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10853 * progmodes/python.el (run-python-internal): Disable font lock for
10856 2012-07-30 Stefan Merten <smerten@oekonux.de>
10858 * textmodes/rst.el: Silence `checkdoc-ispell'.
10859 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10860 (rst-official-version, rst-official-cvs-rev)
10861 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
10862 (rst-mode-map): New key binding.
10864 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
10866 Update .PHONY listings in makefiles.
10867 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
10868 autoloads, update-subdirs, updates, bzr-update, update-authors,
10869 compile-onefile, compile-calc, backup-compiled-files,
10870 compile-after-backup, compile-one-process, mh-autoloads,
10871 bootstrap-clean, distclean, maintainer-clean.
10873 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
10875 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
10876 (calc-set-mode-line): Don't display "AlgSimp ".
10878 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
10879 (calc-lim-simplify-mode): New function.
10880 (calc-set-simplify-mode): Default to 'alg.
10881 (calc-default-simplify-mode): Make algebraic simplifications
10884 * calc/calc-ext.el (calc-init-extensions): Remove binding for
10885 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
10887 * calc/calc-help.el (calc-m-prefix-help): Change messages to
10888 indicate new simplification modes.
10890 * calc/README: Mention new default simplification mode.
10892 * calc/calc.el (math-normalize-error): New variable.
10893 (math-normalize): Set `math-normalize-error' to t
10894 when there's an error.
10896 * calc/calc-alg.el (math-simplify): Don't simplify when
10897 `math-normalize' returns an error.
10899 2012-07-29 Eli Zaretskii <eliz@gnu.org>
10901 * international/mule-cmds.el (set-locale-environment): Revert last
10902 change, since display-graphic-p returns nil when this function is
10903 called during startup. Instead...
10905 * term/w32console.el (terminal-init-w32console): ...setup the
10906 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
10908 2012-07-29 Juri Linkov <juri@jurta.org>
10910 * simple.el (goto-line): Don't display default line number in the
10911 prompt because it should be displayed by `read-number' (bug#9952).
10912 Add the current line number to the defaults of `goto-line' to
10913 allow its easier modification by users with `M-n' (bug#9201).
10915 * subr.el (read-number): Support multiple default values like in
10916 other minibuffer reading functions. Replace `read' with
10917 `string-to-number' for consistency with `number-to-string'.
10919 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
10921 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
10922 * emulation/viper-init.el (viper-deactivate-input-method-action):
10923 Rename from viper-inactivate-input-method-action.
10924 (viper-deactivate-input-method):
10925 Rename from viper-inactivate-input-method.
10926 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
10927 * international/mule-cmds.el (deactivate-input-method):
10928 Rename from inactivate-input-method.
10929 Also run input-method-deactivate-hook.
10930 (deactivate-current-input-method-function):
10931 Rename from inactivate-current-input-method-function.
10932 (input-method-deactivate-hook): New hook.
10933 (input-method-inactivate-hook): Mark obsolete.
10934 (inactivate-input-method): Mark obsolete.
10936 * international/quail.el (quail-activate):
10937 Also run quail-deactivate-hook.
10938 (quail-deactivate): Rename from quail-inactivate.
10939 * international/robin.el (robin-activate):
10940 Also run robin-deactivate-hook.
10941 (robin-deactivate): Rename from robin-inactivate.
10943 2012-07-29 Chong Yidong <cyd@gnu.org>
10945 * simple.el (indicate-copied-region): New function.
10946 (kill-ring-save): Split off from here.
10948 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
10949 (kill-rectangle): Set deactivate-mark to t on read-only error.
10951 * register.el (copy-to-register, copy-rectangle-to-register):
10952 Deactivate the mark, and use indicate-copied-region (Bug#10056).
10953 (append-to-register, prepend-to-register): Call indicate-copied-region.
10955 2012-07-29 Juri Linkov <juri@jurta.org>
10957 * simple.el (async-shell-command-buffer): New defcustom.
10958 (shell-command): Use it. (Bug#4719)
10960 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10962 * international/mule-cmds.el (set-locale-environment): In a
10963 console session on MS-Windows, set up keyboard and terminal
10964 encoding from the OEM codepage, not the ANSI codepage.
10967 2012-07-28 Chong Yidong <cyd@gnu.org>
10969 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
10972 2012-07-28 Leo Liu <sdl.web@gmail.com>
10974 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
10975 the alist (bug#12029).
10977 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10979 * makefile.w32-in (custom-deps, finder-data, updates, compile)
10980 (compile-always, compile-first)
10981 ($(lisp)/calendar/cal-loaddefs.el)
10982 ($(lisp)/calendar/diary-loaddefs.el)
10983 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10984 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
10985 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
10986 instead of on update-subdirs.
10987 (bootstrap-clean): Delete $(lisp)/subdirs.el.
10989 2012-07-28 Chong Yidong <cyd@gnu.org>
10991 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
10992 directory if vc-deduce-backend returns nil (Bug#7350).
10994 * simple.el (delete-trailing-lines): New option.
10995 (delete-trailing-whitespace): Obey it (Bug#11879).
10997 2012-07-28 David Engster <deng@randomsample.de>
10999 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
11000 Explanation of new 'symbol-qnames feature in doc-strings.
11001 (xml-maybe-do-ns): Return expanded names as plain symbols if
11002 'symbol-qnames was provided in XML-NS argument (Bug#11916).
11003 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
11005 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11007 Consistent completion in inferior python with emacs -nw.
11008 * progmodes/python.el (inferior-python-mode): replace "<tab>"
11009 binding in inferior-python-mode-map with "\t".
11010 (python-shell-completion-complete-at-point)
11011 (python-completion-complete-at-point): Remove interactive spec.
11013 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
11015 * calc/calccomp.el (math-compose-expr): Undo previous change.
11017 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11019 * progmodes/python.el (python-mode-map): Add keybinding for
11021 (python-shell-make-comint): Fix pop-to-buffer call.
11022 (run-python): Autoload. New arg SHOW.
11023 (python-shell-get-or-create-process): Do not pop python process
11026 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
11028 * notifications.el (notifications-on-action-signal)
11029 (notifications-on-closed-signal): Use also the bus address for the map.
11030 (notifications-notify, notifications-close-notification)
11031 (notifications-get-capabilities): Add optional argument BUS.
11033 2012-07-27 Tassilo Horn <tsdh@gnu.org>
11035 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
11036 Add support for the lstlisting and minted environments, and for the
11038 * textmodes/reftex.el (reftex-compile-variables): Also recognize
11039 labels written in keyvals syntax.
11041 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
11043 * calc/calccomp.el (math-compose-expr): Use parentheses when
11044 there is a product in the denominator of a fraction.
11046 2012-07-26 Eli Zaretskii <eliz@gnu.org>
11048 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
11049 ($(lisp)/calendar/diary-loaddefs.el)
11050 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11051 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
11052 Fixes failures in parallel bootstrap because subdirs.el is being
11053 rewritten while the autoload files are built at the same time,
11054 which needs to load subdirs.el.
11056 2012-07-26 Martin Rudalics <rudalics@gmx.at>
11058 * mouse.el (popup-menu): Fix doc-string and re-indent code.
11059 (mouse-drag-line): Don't exit tracking when a switch-frame or
11060 switch-window event occurs (Bug#12006).
11062 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11064 * mouse.el (popup-menu): Fix last change.
11066 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11068 Autoload from Lisp with more care. Follow aliases when looking for
11069 function properties.
11070 * subr.el (autoloadp): New function.
11071 (symbol-file): Use it.
11072 (function-get): New function.
11073 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
11075 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
11076 (lisp-indent-function):
11077 * emacs-lisp/gv.el (gv-get):
11078 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
11079 * emacs-lisp/byte-opt.el (byte-optimize-form):
11080 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11081 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
11083 * emacs-lisp/cl.el: Don't propagate function properties any more.
11085 * speedbar.el (speedbar-add-localized-speedbar-support):
11086 * emacs-lisp/disass.el (disassemble-internal):
11087 * desktop.el (desktop-load-file):
11088 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
11089 (describe-function-1):
11090 * emacs-lisp/find-func.el (find-function-noselect):
11091 * emacs-lisp/elp.el (elp-instrument-function):
11092 * emacs-lisp/advice.el (ad-has-proper-definition):
11093 * apropos.el (apropos-safe-documentation, apropos-macrop):
11094 * emacs-lisp/debug.el (debug-on-entry):
11095 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
11096 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
11097 * calc/calc.el (name): Use autoloadp & autoload-do-load.
11099 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
11101 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
11102 function, not an obsolete variable (Bug#12046).
11104 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11106 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
11108 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
11110 * emacs-lisp/pp.el (pp-display-expression): Select old selected
11111 window only if it is still live (Bug#12034).
11113 2012-07-25 Martin Rudalics <rudalics@gmx.at>
11115 * subr.el (redirect-frame-focus): Add advertised calling
11116 convention (Bug#12030).
11118 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
11120 Prefer typical American spelling for "acknowledgment".
11121 * vc/add-log.el (change-log-acknowledgment): Rename from
11122 change-log-acknowledgement, with an alias for the old name.
11124 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
11126 * calc-alg.el (math-simplify-divide): Don't cross multiply
11127 in an equation when the lhs is a variable.
11129 2012-07-24 Julien Danjou <julien@danjou.info>
11131 * net/netrc.el (netrc-find-service-number, netrc-store-data):
11134 2012-07-23 Eli Zaretskii <eliz@gnu.org>
11136 * startup.el (command-line): Don't display an empty user name in
11137 the error message about non-existent home directory, when
11138 init-file-user was set to an empty string. See
11139 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
11140 for the details and context.
11142 2012-07-22 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11144 * ses.el (ses-cell-formula-aset): New macro.
11145 (ses-cell-references-aset): New macro.
11146 (ses-cell-p): New function.
11147 (ses-rename-cell): Do no longer rely on complex operations like
11148 ses-cell-set-formula or ses-set-cell to change the cell and handle
11149 the undo at the same time, but rather use lower level new macros
11150 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
11151 the undo directly. Refresh the mode line.
11153 2012-07-21 Leo Liu <sdl.web@gmail.com>
11155 * progmodes/cc-cmds.el (c-defun-name):
11156 Use match-string-no-properties instead for consistency.
11158 2012-07-20 Leo Liu <sdl.web@gmail.com>
11160 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
11163 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
11165 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
11167 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
11168 * progmodes/bug-reference.el, misearch.el: Provide themselves
11171 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
11172 of narrowed buffer (bug#11966).
11174 2012-07-20 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11176 * ses.el (ses-rename-cell): Set new name also in reference list of
11177 cells of which the renamed cell depends.
11179 2012-07-20 Masatake YAMATO <yamato@redhat.com>
11181 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
11182 to check whether menu-bar is shown or not. If not shown,
11183 show the menu-bar as a popup menu instead of using tmm.
11184 * mouse.el (popup-menu): Accept `point' as `position' argument.
11186 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
11188 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
11189 up inside string symbol literal (bug#11923).
11191 2012-07-20 Eli Zaretskii <eliz@gnu.org>
11193 * startup.el (fancy-startup-text): Read the whole tutorial, not
11194 just its first 256 bytes. Prevents gibberish in display of the
11197 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
11199 Drop idle buffer compaction due to an absence of the
11201 * compact.el: Remove.
11203 2012-07-19 Sam Steingold <sds@gnu.org>
11205 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
11206 vc-bzr-pull & vc-bzr-merge-branch.
11207 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
11208 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
11209 for consistency with compilation-error-regexp-alist.
11210 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
11211 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
11212 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
11213 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
11215 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11217 * emacs-lisp/chart.el: Use lexical-binding.
11218 (chart-emacs-storage): Don't hardcode the list of entries.
11220 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11222 Next round of tweaks caused by Fgarbage_collect changes.
11223 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
11225 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11227 Compact buffers when idle.
11228 * compact.el: New file.
11230 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11232 * subr.el (eventp): Presume that if it looks vaguely like an event,
11233 it's an event (bug#10190).
11235 2012-07-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11237 Enhancements to ppss related code (thanks Stefan).
11238 * progmodes/python.el (python-indent-context)
11239 (python-indent-calculate-indentation, python-indent-dedent-line)
11240 (python-indent-electric-colon, python-nav-forward-block)
11241 (python-mode-abbrev-table)
11242 (python-info-assignment-continuation-line-p): Simplify checks
11244 (python-info-continuation-line-p): Cleanup.
11245 (python-info-ppss-context): Do not catch 'quote.
11246 (python-info-ppss-context-type)
11247 (python-info-ppss-comment-or-string-p): Simplify.
11249 2012-07-18 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11251 * progmodes/python.el: Enhancements to eldoc support.
11252 (python-info-current-symbol): New function.
11253 (python-eldoc-at-point): Use python-info-current-symbol.
11254 (python-info-current-defun): Fix cornercase on first defun scan.
11255 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
11256 and signal error when no inferior python process is available.
11258 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
11260 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
11261 assume it's always t.
11262 (vc-git-registered): Remove caching, the function is only called
11264 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
11266 2012-07-18 Chong Yidong <cyd@gnu.org>
11268 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
11270 * simple.el (count-words): Report on narrowing (Bug#9959).
11272 * bindings.el: Bind M-= to count-words.
11274 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
11276 2012-07-18 Masatake YAMATO <yamato@redhat.com>
11278 * progmodes/sh-script.el (sh-imenu-generic-expression):
11279 Capture a function with `function' keyword and without parentheses
11280 like "function FOO" (bug#11856).
11282 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
11284 * window.el (split-window-sensibly): Make WINDOW argument
11287 2012-07-18 Chong Yidong <cyd@gnu.org>
11289 * subr.el (keyboard-translate): Doc fix (Bug#7261).
11291 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
11292 and make C-x 8 RET exit isearch (Bug#11439).
11294 * international/iso-transl.el: Move isearch-mode-map key
11295 definitions to isearch.el.
11297 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
11299 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
11300 (eieio-defclass): Use gv-define-setter when possible.
11302 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
11304 Reflect recent changes in Fgarbage_collect.
11305 * emacs-lisp/chart.el (chart-emacs-storage): Change to
11306 reflect new format of data returned by Fgarbage_collect.
11308 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11310 New utility functions + python-info-ppss-context fix (Bug#11910).
11311 * progmodes/python.el (python-info-beginning-of-block-statement-p)
11312 (python-info-ppss-comment-or-string-p): New functions.
11313 (python-info-ppss-context): Small fix for string check.
11315 2012-07-17 Juri Linkov <juri@jurta.org>
11317 * dired-aux.el (dired-do-async-shell-command): Doc fix.
11318 (dired-do-async-shell-command): Don't add `*' at the end of the
11319 command (Bug#11815).
11320 (dired-do-shell-command): Doc fix.
11321 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
11322 Join the individual commands using either "&" or ";" as the
11323 separator depending on the values of these trailing characters.
11324 At the end re-add the trailing "&". (Bug#10598)
11326 * simple.el (async-shell-command): Sync the interactive spec with
11327 `shell-command'. Doc fix.
11328 (shell-command): Doc fix.
11330 2012-07-17 Juri Linkov <juri@jurta.org>
11332 * descr-text.el (describe-char): Fix format args. (Bug#10129)
11334 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11336 Final renames and doc fixes for movement commands (bug#11899).
11337 * progmodes/python.el (python-nav-beginning-of-statement):
11338 Rename from python-nav-statement-start.
11339 (python-nav-end-of-statement): Rename from
11340 python-nav-statement-end.
11341 (python-nav-beginning-of-block): Rename from
11342 python-nav-block-start.
11343 (python-nav-end-of-block): Rename from python-nav-block-end.
11345 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11347 * progmodes/python.el (python-shell-send-string-no-output):
11348 Allow accept-process-output to quit, keeping shell process ready for
11349 future interactions (Bug#11868).
11351 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11353 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
11355 * emacs-lisp/elint.el (elint-find-args-in-code):
11356 Use help-function-arglist, so as to handle lexical byte-code.
11358 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
11359 change (bug#11826).
11361 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11363 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
11364 Avoid spuriously marking the buffer as modified because of c-is-sws.
11366 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
11367 as not-a-comment (bug#11946).
11369 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
11370 for uninterned vars.
11372 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
11373 Use read-event since we don't really want to read chars but bytes.
11375 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
11376 $$..$$ but also $..$ using regexps (bug#11953).
11377 Use tex-verbatim for \url and \path.
11378 (tex-font-lock-keywords): Define as defconst like the others.
11379 (tex-common-initialization): Don't use font-lock-syntax-table any more.
11381 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
11383 * international/mule-cmds.el (ucs-insert): Make it an obsolete
11384 alias for insert-char.
11386 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11388 * progmodes/python.el: Simplified imenu implementation.
11389 (python-nav-jump-to-defun): Remove command.
11390 (python-mode-map): Use `imenu' instead.
11391 (python-nav-list-defun-positions-cache)
11392 (python-imenu-include-defun-type, python-imenu-make-tree)
11393 (python-imenu-subtree-root-label, python-imenu-index-alist):
11395 (python-nav-list-defun-positions, python-nav-read-defun)
11396 (python-imenu-tree-assoc, python-imenu-make-element-tree)
11397 (python-imenu-make-tree, python-imenu-create-index):
11399 (python-mode): Update to interact with imenu by setting
11400 `imenu-extract-index-name-function' only.
11402 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11404 * progmodes/python.el: Enhancements to navigation commands.
11405 (python-nav-backward-sentence)
11406 (python-nav-forward-sentence): Remove.
11407 (python-nav-backward-statement, python-nav-forward-statement)
11408 (python-nav-statement-start, python-nav-statement-end)
11409 (python-nav-backward-block, python-nav-forward-block)
11410 (python-nav-block-start, python-nav-block-end)
11411 (python-nav-forward-sexp-function)
11412 (python-info-current-line-comment-p)
11413 (python-info-current-line-empty-p): New functions.
11414 (python-indent-context): Use `python-nav-statement-start'.
11416 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
11418 * eshell/em-ls.el (eshell/ls): Use `apply'.
11420 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
11421 multi-hops, instead of Tramp internals.
11423 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
11425 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
11426 when F1 and F2 are located on different hosts.
11428 2012-07-14 Chong Yidong <cyd@gnu.org>
11430 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
11431 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
11432 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
11433 (xterm-mouse--read-event-sequence-1000)
11434 (xterm-mouse--read-event-sequence-1006): New functions. For old
11435 mouse protocol, handle M-mouse-X events correctly.
11436 (xterm-mouse-event): New arg specifying mouse protocol.
11437 (turn-on-xterm-mouse-tracking-on-terminal)
11438 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
11439 sequence to toggle extended coordinates on newer XTerms.
11440 This appears to be harmless on terminals which do not support this.
11442 2012-07-14 Leo Liu <sdl.web@gmail.com>
11444 Add fringe bitmap indicators for flymake. (Bug#11253)
11445 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
11446 (flymake-make-overlay): New arg BITMAP.
11447 (flymake-error-bitmap, flymake-warning-bitmap)
11448 (flymake-fringe-indicator-position): New user variables.
11450 * fringe.el: New bitmap exclamation-mark.
11452 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
11454 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
11457 2012-07-14 Chong Yidong <cyd@gnu.org>
11459 * electric.el (electric-pair-post-self-insert-function): Fix pair
11460 insertion in empty-region case (Bug#11520).
11462 2012-07-14 Chong Yidong <cyd@gnu.org>
11464 * bindings.el: Consolidate ctl-x-r-map bindings.
11465 Bind copy-rectangle-as-kill to C-x r w.
11467 * rect.el, register.el: Move bindings to bindings.el.
11469 2012-07-14 Reuben Thomas <rrt@sc3d.org>
11471 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
11473 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
11475 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
11477 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
11479 * bindings.el (top): Use `mapc' instead of `mapcar'.
11481 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
11483 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
11485 * progmodes/sql.el (sql-comint): Suppress the check for program on
11486 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
11489 2012-07-13 Chong Yidong <cyd@gnu.org>
11491 * bindings.el: Assign a non-nil permanent-local property to
11492 per-buffer variables which lack a default value (Bug#11930).
11494 * help-fns.el (describe-variable): In the "automatically becomes
11495 local" notice, take note of permanent-local variables.
11497 2012-07-13 Chong Yidong <cyd@gnu.org>
11499 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
11500 to allow printing the message when called from Lisp.
11502 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11503 Remove toggle-read-only.
11505 * bs.el (bs-toggle-readonly):
11506 * buff-menu.el (Buffer-menu-toggle-read-only):
11507 Remove with-no-warnings around toggle-read-only.
11509 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
11510 Remove with-no-warnings around toggle-read-only.
11511 (ffap-read-only, ffap-read-only-other-window)
11512 (ffap-read-only-other-frame): Callers changed.
11514 * help-mode.el: Don't require view package.
11515 (help-mode-finish): Set buffer-read-only instead of calling
11518 * bindings.el (mode-line-toggle-read-only):
11519 * dired.el (dired-toggle-read-only):
11520 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
11521 with non-nil second arg.
11523 * emacs-lisp/eieio-custom.el (eieio-customize-object):
11524 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
11527 2012-07-12 Eli Zaretskii <eliz@gnu.org>
11529 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
11532 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
11534 More CL cleanups and reduction of use of cl.el.
11535 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
11536 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
11537 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
11538 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
11539 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
11540 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
11541 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
11542 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
11543 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
11544 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
11545 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
11546 * eshell/em-cmpl.el, eshell/em-banner.el:
11547 * calendar/parse-time.el: Use cl-lib.
11548 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
11549 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
11550 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
11551 * term/ns-win.el, term.el, shell.el, ps-samp.el:
11552 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
11553 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
11554 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
11555 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
11556 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
11557 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
11558 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
11559 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
11560 `lambda' rather than with `quote'.
11561 (eshell-do-opt): Adjust accordingly.
11562 (eshell-process-option): Simplify.
11563 * eshell/esh-var.el:
11564 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
11565 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
11566 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
11567 to `pcase--dontcare'.
11568 * emacs-lisp/cl.el (labels): Mark obsolete.
11569 (cl--letf, letf): Move to cl-lib.
11570 (cl--letf*, letf*): Remove.
11571 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
11572 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
11573 (cl-progv): Rewrite.
11574 (cl--letf, cl-letf): Move from cl.el.
11575 (cl-letf*): New macro.
11576 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
11578 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
11580 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
11582 2012-07-11 Chong Yidong <cyd@gnu.org>
11584 * vc/log-edit.el (log-edit-vc-backend): New variable.
11585 (log-edit): Doc fix.
11587 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
11588 argument of log-edit to set up all local variables.
11589 (vc-start-logentry): New optional arg specifying VC backend.
11591 * vc/vc.el (vc-checkin): Use it.
11592 (vc-deduce-fileset): Handle Log Edit buffers.
11593 (vc-diff): Make first argument optional too.
11595 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
11597 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
11599 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
11600 command, just in case. The function is not needed anymore.
11601 (eshell-external-command): Do not call `eshell-remote-command'.
11603 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
11605 Reduce use of (require 'cl).
11606 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
11607 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
11608 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
11609 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
11610 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
11611 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
11612 * battery.el, avoid.el, abbrev.el: Use cl-lib.
11613 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
11614 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
11615 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
11616 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
11617 * calculator.el, autorevert.el, apropos.el: Don't require CL.
11618 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
11619 (byte-compile-unfold-bcf, byte-compile-check-variable):
11620 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
11621 (byte-compile-nilconstp):
11622 * emacs-lisp/autoload.el (make-autoload): Use pcase.
11623 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
11625 * emacs-lisp/gv.el (cond): Make it a valid place.
11626 (if): Simplify slightly.
11628 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
11629 (pcase--self-quoting-p): New function.
11630 (pcase--u1): Use it.
11632 2012-07-10 Glenn Morris <rgm@gnu.org>
11634 * emacs-lisp/authors.el (authors-fixed-entries):
11635 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
11637 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
11639 Rename configure.in to configure.ac (Bug#11603).
11640 * emacs-lisp/authors.el (authors-canonical-file-name):
11641 * progmodes/autoconf.el (autoconf-mode):
11642 Prefer configure.ac to configure.in.
11644 2012-07-08 Chong Yidong <cyd@gnu.org>
11646 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
11647 Implement the mouse-1-click-follows-link handling properly.
11649 * info.el (Info-link-keymap): Use follow-link mechanism for
11650 header-line links (Bug#374).
11652 * simple.el (deactivate-mark): Do not set the primary selection
11653 if another program has acquired it (Bug#11772).
11655 2012-07-07 Kevin Ryde <user42@zip.com.au>
11657 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
11658 (woman-decode-region): Replace escaped-escapes without destroying
11659 bold or underline (Bug#11552).
11660 (woman2-process-escapes): Handle nofill regions (Bug#11591).
11662 2012-07-07 Chong Yidong <cyd@gnu.org>
11664 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
11665 (interprogram-cut-function, interprogram-paste-function):
11666 Mention that we typically mean the clipboard.
11668 2012-07-06 Glenn Morris <rgm@gnu.org>
11670 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
11672 * files.el (toggle-read-only): Restrict message to interactive use.
11674 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
11676 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
11678 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
11680 2012-07-06 Glenn Morris <rgm@gnu.org>
11682 * Makefile.in (compile-one-process): Rename from "recompile".
11684 * Makefile.in (bzr-update): "compile" is the same as "recompile
11685 autoloads", but parallelizable, so use that instead.
11687 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
11689 * window.el (quit-window): Always restore window height when
11690 it's saved in quit-restore parameter (Bug#11810).
11692 2012-07-06 Glenn Morris <rgm@gnu.org>
11694 * simple.el (kill-whole-line): Doc tweak.
11696 2012-07-06 Eli Zaretskii <eliz@gnu.org>
11698 * files.el (file-relative-name): Compare file names
11699 case-insensitively if on MS-Windows or MS-DOS, or if
11700 read-file-name-completion-ignore-case is non-nil. Don't use
11701 case-fold-search for this purpose. (Bug#11827)
11703 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
11705 * calendar/cal-dst.el (calendar-current-time-zone):
11706 Return calendar-current-time-zone-cache if non-nil.
11708 2012-07-17 Masatake YAMATO <yamato@redhat.com>
11709 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11711 * calendar/cal-dst.el (calendar-current-time-zone):
11712 Return calendar-current-time-zone-cache if non-nil.
11714 2012-07-06 Glenn Morris <rgm@gnu.org>
11716 * Makefile.in (cvs-update): Remove old alias.
11718 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
11720 Sync with Tramp 2.2.6-pre.
11722 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
11723 compatible declaration.
11725 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11726 Protect `list-load-path-shadows' call.
11728 * net/tramp-compat.el (top): Require packages, which aren't
11729 autoloaded anymore for XEmacs. Protect call of
11730 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
11731 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
11732 it hurts at least for SXEmacs.
11733 (tramp-compat-temporary-file-directory): In XEmacs, there is no
11734 standard-value for `temporary-file-directory'.
11736 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
11737 Redirect stderr to /dev/null.
11738 (tramp-sh-handle-write-region): uid and gid can be floats.
11739 Reported by Russell Sim <russell.sim@gmail.com>.
11740 (tramp-sh-handle-vc-registered): Hide errors.
11741 (tramp-vc-file-name-handler): Use dummy results for `process-file'
11742 and `start-file-process'.
11743 (tramp-maybe-open-connection): Check also whether `non-essential'
11746 2012-07-04 Chong Yidong <cyd@gnu.org>
11748 * xml.el (xml--parse-buffer): Use xml-syntax-table.
11749 (xml-parse-tag): Likewise, and avoid changing entity tables.
11750 (xml-syntax-table): Define from scratch, making sure not to give
11751 x2000 and other Unicode spaces whitespace syntax, since those are
11753 (xml-parse-fragment): Delete unused function.
11754 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
11755 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
11756 (xml-entity-ref, xml-pe-reference-re)
11757 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
11758 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
11759 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
11760 (xml-entity-value-re): Use syntax references in regexps where
11761 possible; no need to define inside a let-binding.
11762 (xml-parse-dtd): Use xml-pe-reference-re.
11763 (xml-entity-or-char-ref-re): New defconst.
11764 (xml-parse-string, xml-substitute-special): Use it.
11766 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11768 * files.el (locate-dominating-file): Allow `name' to be a predicate.
11769 (find-file--read-only): New function.
11770 (find-file-read-only, find-file-read-only-other-window)
11771 (find-file-read-only-other-frame): Use it.
11772 (insert-file-contents-literally): Don't `fset'.
11773 (get-free-disk-space): Use locate-dominating-file.
11775 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
11776 function is already compiled.
11778 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
11780 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
11782 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
11783 files on the same host.
11785 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
11787 * help-fns.el (describe-function-1): Only call
11788 help-fns--autoloaded-p when we have a file name. (Bug#11848)
11790 2012-07-03 Chong Yidong <cyd@gnu.org>
11792 * xml.el: Protect parser against XML bombs.
11793 (xml-entity-expansion-limit): New variable.
11794 (xml-parse-string, xml-substitute-special): Use it.
11795 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
11797 2012-07-03 Glenn Morris <rgm@gnu.org>
11799 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11800 Allow linking to specific messages in debbugs reports (eg 123#5).
11802 2012-07-02 Chong Yidong <cyd@gnu.org>
11804 * xml.el: Fix entity and character reference expansion, allowing
11805 them to expand into markup as per XML spec.
11806 (xml-default-ns): New variable.
11807 (xml-entity-alist): Use XML spec definitions for lt and amp.
11808 (xml-parse-region): Make first two arguments optional.
11809 Discard text properties.
11810 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
11811 All callers changed.
11812 (xml-parse-tag): Call xml-parse-tag-1. For backward
11813 compatibility, this function should not modify buffer contents.
11814 (xml-parse-tag-1): Fix opening-tag regexp.
11815 (xml-parse-string): Rewrite, handling entity and character
11816 references properly.
11817 (xml--entity-replacement-text): Signal an error if a parameter
11818 entity is undefined.
11820 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11822 * comint.el (comint-output-filter): Filter out repeated prompts.
11824 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
11825 and file-name-absolute-p.
11826 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
11829 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
11832 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
11833 Rename from byte-compile--refiy-function. All uses changed.
11835 2012-07-01 Chong Yidong <cyd@gnu.org>
11837 * xml.el (xml--parse-buffer): New function. Move most of
11838 xml-parse-region here.
11839 (xml-parse-region): Copy region into a temporary buffer, since
11840 parameter entity substitution requires changing buffer contents.
11841 Use xml--parse-buffer.
11842 (xml-parse-file): Use xml--parse-buffer.
11843 (xml-parse-dtd): Make parameter entity substitution work right.
11844 Use proper regexps for ELEMENT declarations (Bug#7172).
11846 2012-06-30 Glenn Morris <rgm@gnu.org>
11848 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
11850 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
11851 Remove outdated and unnecessary dbus declarations.
11853 2012-06-30 Eli Zaretskii <eliz@gnu.org>
11855 * emacs-lisp/timer.el (timer-until): Subtract results of
11856 float-time, instead of taking float-time of the result of
11857 time-subtract, since float-time signals an error for negative time
11860 2012-06-30 Chong Yidong <cyd@gnu.org>
11862 * xml.el (xml-*-re): Convert defvars into defconsts, and
11863 eval-and-compile them so eval-and-compile works on derivatives.
11864 (xml--entity-replacement-text): Use eval-and-comple.
11866 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
11868 * vc/vc-git.el (vc-git-registered): Use cache property
11870 (vc-git-mode-line-string): Call `vc-working-revision' instead of
11871 `vc-git-working-revision' in order to benefit from the cache.
11872 (vc-git-root): Use cache property `git-root'. (Bug#11757)
11874 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
11876 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
11877 removed (likely outside Emacs). (Bug#11757)
11879 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11881 * emacs-lisp/cl-lib.el: Require macroexp.
11883 2012-06-30 Chong Yidong <cyd@gnu.org>
11885 * xml.el: Implement XML parameter entities.
11886 (xml-parameter-entity-alist): New variable.
11887 (xml-parse-region, xml-parse-fragment): Preserve previous values
11888 of xml-entity-alist and xml-parameter-entity-alist, so that
11889 repeated calls on different documents do not change them.
11890 (xml-parse-tag): Fix doctype regexp.
11891 (xml--entity-replacement-text): New function.
11892 (xml-parse-dtd): Use it. Don't handle system entities; doing that
11893 properly requires url retrieval which is unimplemented.
11894 (xml-escape-string): Doc fix.
11896 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11898 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
11900 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
11902 * fringe.el (fringe-mode): Doc fix.
11904 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
11906 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
11908 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
11909 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
11911 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
11913 * calendar/cal-dst.el (calendar-current-time-zone):
11914 Return calendar-current-time-zone-cache if non-nil.
11916 2012-06-29 Masatake YAMATO <yamato@redhat.com>
11918 * progmodes/which-func.el (which-func-format):
11919 Add mouse-face. (Bug#11698)
11921 2012-06-29 Leo Liu <sdl.web@gmail.com>
11923 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
11925 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11927 * minibuffer.el (minibuffer-confirm-exit-commands):
11928 Add completion-at-point (bug#11725).
11930 2012-06-29 Glenn Morris <rgm@gnu.org>
11932 * progmodes/f90.el (f90-font-lock-keywords-2):
11933 Add some preprocessor elements. (Bug#10499)
11935 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11937 * progmodes/cperl-mode.el (cperl-update-syntaxification):
11938 Use syntax-propertize (bug#11739).
11940 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
11942 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
11944 2012-06-28 Julien Danjou <julien@danjou.info>
11946 * term.el (term-handle-colors-array): Use a set of new faces to
11947 color the terminal. Also uses :inverse-video property.
11948 (term-default-fg-color): Set to nil by default, deprecate in favor
11950 (term-default-bg-color): Set to nil by default, deprecate in favor
11952 (term-current-face): Use `term-face' by default.
11953 (term-bold-attribute): Variable deleted.
11955 2012-06-28 Glenn Morris <rgm@gnu.org>
11957 * simple.el (completion-list-mode-finish):
11958 Don't use toggle-read-only. (Since completion-list-mode has
11959 a special mode-class, it wasn't doing anything extra anyway.)
11961 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
11963 Make inlining of other-mode interpreted functions work (bug#11799).
11964 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
11965 (byte-compile): Use it to fix compilation of lexical-binding closures.
11966 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
11967 function, if needed.
11969 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11971 * help-mode.el (help-make-xrefs): Don't just withstand
11972 cyclic-variable-indirection but any error in documentation-property.
11974 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
11976 * bindings.el (bindings--define-key): New function.
11977 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
11978 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
11979 * bindings.el: Use it to purecopy define-key bindings.
11981 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
11983 * emacs-lisp/cl.el (flet): Mark obsolete.
11984 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
11985 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
11986 * progmodes/js.el (js-c-fill-paragraph):
11987 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
11988 (ebrowse-switch-member-buffer-to-derived-class):
11989 * play/5x5.el (5x5-solver): Use cl-flet.
11991 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
11992 (cl--symbol-function): New macro.
11993 (cl--letf, cl--letf*): Use it.
11995 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
11996 Strip "toggle-" if any.
11998 2012-06-27 Glenn Morris <rgm@gnu.org>
12000 * info.el (Info-default-directory-list): Move here from paths.el.
12001 * paths.el: Remove file, which is now empty.
12002 * loadup.el: No longer load "paths".
12004 * custom.el (custom-initialize-delay): Doc fix.
12006 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12007 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
12008 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
12009 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
12010 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
12011 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
12012 * eshell/eshell.el (eshell-defgroup): Remove alias.
12014 2012-06-27 Chong Yidong <cyd@gnu.org>
12016 * help.el (help-enable-auto-load): New variable.
12018 * help-fns.el (help-fns--autoloaded-p): New function.
12019 (describe-function-1): Refer to a function as "autoloaded" if it
12020 was autoloaded at any time in the past. Perform autoloading if
12021 help-enable-auto-load is non-nil.
12023 2012-06-26 Eli Zaretskii <eliz@gnu.org>
12025 * makefile.w32-in (compile, compile-always): Depend on
12026 update-subdirs, not on subdirs.el. Otherwise, several different
12027 sub-targets of 'bootstrap' running in parallel could
12028 simultaneously write to subdirs.el, producing a garbled file.
12030 2012-06-26 Sam Steingold <sds@gnu.org>
12032 * files.el (file-name-base): New convenience function.
12033 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
12034 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
12035 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
12036 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
12037 * textmodes/ispell.el, textmodes/reftex-ref.el:
12038 * textmodes/tex-mode.el: Use it.
12039 Did not touch cedet and org because they are maintained elsewhere.
12041 2012-06-26 Martin Rudalics <rudalics@gmx.at>
12043 * calendar/calendar.el (calendar-exit): Don't try to delete or
12044 iconify last frame. See:
12045 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
12047 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
12049 * server.el (server-process-filter): Remember dir in the
12050 process's `server-client-directory' properties.
12052 2012-06-24 Chong Yidong <cyd@gnu.org>
12054 * xml.el (xml-parse-tag): Correctly handle comment embedded in
12057 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
12059 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
12061 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12063 * help-fns.el (describe-variable): Don't croak when doc is not found.
12064 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
12065 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
12066 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
12067 * emacs-lisp/smie.el (smie-next-sexp): CSE.
12068 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
12070 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
12072 2012-06-23 Chong Yidong <cyd@gnu.org>
12074 * info.el (Info-mouse-follow-link): Accept symbol values of
12075 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
12076 (Info-fontify-node): Use Info-link-keymap for all navigation
12077 buttons, with link-args property to perform the desired action.
12078 (Info-link-keymap): Doc fix.
12079 (Info-next-link-keymap, Info-prev-link-keymap)
12080 (Info-up-link-keymap): Delete now-unused keymaps.
12082 2012-06-23 Chong Yidong <cyd@gnu.org>
12084 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
12086 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
12089 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
12091 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12093 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
12096 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
12097 the requote function doesn't work properly (bug#11714).
12099 2012-06-23 Glenn Morris <rgm@gnu.org>
12101 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
12103 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12105 Further GV/CL cleanups.
12106 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
12108 (gv--defun-declaration): New function.
12109 (defun-declarations-alist): Use it.
12110 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
12111 (gv-place): Autoload.
12112 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
12113 original definition of dotimes and dolist.
12114 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
12115 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
12116 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
12117 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12118 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
12119 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
12120 to the function's definition.
12121 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
12125 * env.el: Don't use CL.
12127 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
12129 Support higher-resolution time stamps (Bug#9000).
12131 * calendar/time-date.el (with-decoded-time-value): New arg
12132 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
12133 (encode-time-value): New optional arg PICO. New type 3.
12134 (time-to-seconds) [!float-time]: Support the new picoseconds
12135 component if it's used.
12136 (seconds-to-time, time-subtract, time-add):
12137 Support ps-resolution time stamps as well.
12139 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
12140 (timerp): Timer vectors now have length 9, not 8.
12141 (timer--time): Support new-style (4-part) time stamps.
12142 (timer-next-integral-multiple-of-time): Time stamps now have
12143 picosecond resolution, so take a bit more care about rounding.
12144 (timer-relative-time, timer-inc-time): New optional arg psecs.
12145 (timer-set-time-with-usecs): Set psecs to 0.
12146 (timer--activate): Check psecs component, too.
12148 * proced.el (proced-time-lessp): Support ps-resolution stamps.
12150 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12152 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
12153 Move the non-essential binding to the post/pre-command-hook where it is
12154 more obviously correct.
12156 * subr.el (read-passwd): Don't use a history at all.
12157 * savehist.el (savehist-save): Remove password saved accidentally
12158 because of the above bug.
12160 2012-06-22 Bastien Guerry <bzg@gnu.org>
12162 * files.el (toggle-read-only): Display a message telling whether
12163 the buffer is read-only or not (bug#11726).
12165 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12167 * emacs-lisp/gv.el: New file.
12168 * subr.el (push, pop): Extend to generalized variables.
12169 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
12170 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
12171 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
12172 gv-define-simple-setter, and gv-define-expander.
12173 Remove setf-methods defined in gv. Rename cl-setf -> setf.
12174 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
12175 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
12176 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
12177 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
12179 (cl-defstruct): Don't define setf-method any more.
12180 * emacs-lisp/cl.el (flet): Don't autoload.
12181 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
12182 (define-setf-expander, defsetf, define-modify-macro)
12183 (cl-struct-setf-expander): Move from cl-lib.el.
12184 * emacs-lisp/syntax.el:
12185 * emacs-lisp/ewoc.el:
12186 * emacs-lisp/smie.el:
12187 * emacs-lisp/cconv.el:
12188 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
12189 (timer--time): Use gv-define-simple-setter.
12190 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
12191 to avoid coding-system problems in subr.el. Adjust all users.
12192 (macroexp--maxsize, macroexp-small-p): New functions.
12193 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
12194 * scroll-bar.el (scroll-bar-mode):
12195 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
12196 (normal-erase-is-backspace-mode): Don't use the `eq' place.
12197 * winner.el (winner-configuration, winner-make-point-alist)
12198 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
12199 * files.el (locate-file-completion-table): Avoid list*.
12201 2012-06-22 Chong Yidong <cyd@gnu.org>
12203 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
12204 (dired-create-files): Doc fix (Bug#11329).
12205 (dired-do-copy): Doc fix (Bug#11334).
12206 (dired-mark-read-string): Doc fix (Bug#11553).
12208 * dired.el (dired-recursive-copies, dired-recursive-deletes):
12209 Doc fix (Bug#11326).
12210 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
12211 (dired-dwim-target): Doc fix.
12213 * wdired.el (wdired-mode): Doc fix.
12215 2012-06-22 Glenn Morris <rgm@gnu.org>
12217 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
12218 (pcmpl-rpm-cache-stamp-file): New constant.
12219 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
12220 (pcmpl-rpm-packages): Optionally cache list of packages.
12222 * pcmpl-rpm.el (pcmpl-rpm): New group.
12223 (pcmpl-rpm-query-options): New option.
12224 (pcmpl-rpm-packages): No need to inline it.
12225 Use pcmpl-rpm-query-options.
12227 * calendar/calendar.el (calendar-in-read-only-buffer):
12228 Avoid some needless mode changes.
12230 2012-06-21 Chong Yidong <cyd@gnu.org>
12232 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
12233 (desktop-path): Remove . from the default value (Bug#10977).
12234 (desktop-read): Use user-emacs-directory if desktop-path is nil.
12236 2012-06-20 Chong Yidong <cyd@gnu.org>
12238 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
12240 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
12242 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
12245 2012-06-20 Chong Yidong <cyd@gnu.org>
12247 * term.el (term-window-width): Handle the case of a missing right
12249 (term-check-size): Use window-text-height (Bug#5445).
12250 (term-mode): Use define-derived-mode. Minor cleanups.
12251 Set font-lock-defaults (Bug#7692).
12252 (term-move-columns, term-insert-char, term-emulate-terminal)
12253 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
12255 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
12257 * net/ange-ftp.el (ange-ftp-get-passwd):
12258 Bind `enable-recursive-minibuffers'.
12259 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
12261 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
12263 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
12265 2012-06-19 Glenn Morris <rgm@gnu.org>
12267 * progmodes/python.el (python-mode): Derive from prog-mode.
12269 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
12271 * emulation/edt.el (edt-default-menu-bar-update-buffers)
12272 (edt-user-menu-bar-update-buffers): New functions.
12273 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
12275 2012-06-19 Chong Yidong <cyd@gnu.org>
12277 * subr.el (with-selected-window): Preserve the selected window's
12278 terminal's top-frame (Bug#4702).
12280 * window.el (save-selected-window): Likewise.
12282 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12284 * progmodes/python.el (python-rx-constituents): Move backquote.
12285 (python-skeleton-define, python-define-auxiliary-skeleton):
12288 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
12290 * minibuffer.el (read-file-name-default): Revert the patch from
12293 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12295 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
12296 (pcase--u1, pcase--q1): Don't use apply-partially.
12298 2012-06-18 Glenn Morris <rgm@gnu.org>
12300 * progmodes/python.el (python-proc, python-buffer)
12301 (python-send-receive, python-send-string): Fix obsolete versions.
12303 2012-06-18 Martin Rudalics <rudalics@gmx.at>
12305 * window.el (special-display-p): Completely remove stringp
12306 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
12308 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
12310 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
12312 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
12314 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
12315 * net/tramp-sh.el (tramp-maybe-open-connection):
12316 Throw if `non-essential' is non-nil.
12318 2012-06-17 Martin Rudalics <rudalics@gmx.at>
12320 * window.el (special-display-p): Signal an error if BUFFER-NAME
12321 is not a string (Bug#11713).
12323 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
12325 * progmodes/python.el (python-info-beginning-of-backslash):
12326 Rename from python-info-beginning-of-backlash, as a spelling fix.
12328 2012-06-17 Chong Yidong <cyd@gnu.org>
12330 * term.el (term-emulate-terminal): If term-check-size is called,
12331 move point to the process mark without resetting point (Bug#4635).
12333 2012-06-17 Glenn Morris <rgm@gnu.org>
12335 * international/mule-cmds.el (mule-menu-keymap)
12336 (set-language-environment, set-locale-environment): Doc tweaks.
12338 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
12340 * cus-face.el (custom-face-attributes): Add wave-style underline
12342 * faces.el (set-face-attribute): Update docstring to describe
12343 wave-style underline attribute.
12345 2012-06-16 Chong Yidong <cyd@gnu.org>
12347 * term/xterm.el (terminal-init-xterm): Discard input before
12348 querying background mode (Bug#10959).
12350 2012-06-16 Stefan Merten <smerten@oekonux.de>
12352 * textmodes/rst.el: Added and corrected some comments.
12353 (rst-re-alist-def): Improve symbol syntax.
12354 (rst-mode-syntax-table): Correct syntax entries.
12355 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
12356 (rst-official-version, rst-official-cvs-rev): Update version
12359 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
12361 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
12362 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
12364 2012-06-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
12366 * progmodes/python.el: New python.el merge.
12367 (python-guess-indent): Obsolete var.
12368 (python-indent-guess-indent-offset): New defcustom.
12369 (python-indent): Obsolete var.
12370 (python-indent-offset): New defcustom.
12371 (python-python-command, python-jython-command): Delete var.
12372 (python-shell-interpreter): New defcustom.
12373 (python-pdbtrack-do-tracking-p): Delete var.
12374 (python-pdbtrack-activate): New defcustom.
12375 (python-use-skeletons): Obsolete var.
12376 (python-skeleton-autoinsert): New defcustom.
12377 (inferior-python-filter-regexp, python-continuation-offset)
12378 (python-honour-comment-indentation, python-indent-string-contents)
12379 (python-jython-packages, python-mode-hook)
12380 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
12381 (python-shell-prompt-alist)
12382 (python-source-modes): Delete defcustoms.
12383 (python-check-buffer-name, python-eldoc-setup-code)
12384 (python-eldoc-string-code, python-ffap-setup-code)
12385 (python-ffap-string-code, python-fill-comment-function)
12386 (python-fill-decorator-function, python-fill-paren-function)
12387 (python-fill-string-function, python-imenu-include-defun-type)
12388 (python-imenu-make-tree, python-imenu-subtree-root-label)
12389 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
12390 (python-shell-compilation-regexp-alist)
12391 (python-shell-completion-module-string-code)
12392 (python-shell-completion-pdb-string-code)
12393 (python-shell-completion-setup-code)
12394 (python-shell-completion-string-code)
12395 (python-shell-enable-font-lock, python-shell-exec-path)
12396 (python-shell-extra-pythonpaths)
12397 (python-shell-internal-buffer-name, python-shell-interpreter-args)
12398 (python-shell-process-environment)
12399 (python-shell-prompt-block-regexp)
12400 (python-shell-prompt-output-regexp)
12401 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
12402 (python-shell-send-setup-max-wait, python-shell-setup-codes)
12403 (python-shell-virtualenv-path): New defcustoms.
12404 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
12405 (inferior-python-mode-syntax-table, python--prompt-regexp)
12406 (python-buffer, python-command python-python-command)
12407 (python-default-template, python-imports, python-indent-index)
12408 (python-indent-list, python-indent-list-length)
12409 (python-mode-running, python-pdbtrack-is-tracking-p)
12410 (python-preoutput-continuation, python-preoutput-leftover)
12411 (python-preoutput-result, python-preoutput-skip-next-prompt)
12412 (python-prev-dir/file, python-recursing)
12413 (python-saved-check-command, python-version-checked)
12414 (python-which-func-length-limit)
12415 (view-return-to-alist): Delete vars.
12416 (python-check-custom-command, python-dotty-syntax-table)
12417 (python-imenu-index-alist, python-indent-current-level)
12418 (python-indent-dedenters, python-indent-levels)
12419 (python-nav-beginning-of-defun-regexp)
12420 (python-nav-list-defun-positions-cache)
12421 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
12422 (python-shell-internal-buffer)
12423 (python-skeleton-available): New vars.
12424 (def-python-skeleton): Delete macro.
12425 (python-skeleton-define): New macro.
12426 (python-define-auxiliary-skeleton, python-rx): New macros.
12427 (python-insert-class): Delete command.
12428 (python-skeleton-class): New command.
12429 (python-insert-def): Delete command.
12430 (python-skeleton-def): New command.
12431 (python-insert-for): Delete command.
12432 (python-skeleton-for): New command.
12433 (python-insert-if): Delete command.
12434 (python-skeleton-if): New command.
12435 (python-insert-try/except, python-insert-try/finally): Delete commands.
12436 (python-skeleton-try): New command.
12437 (python-insert-while): Delete command.
12438 (python-skeleton-while): New command.
12439 (python-backspace): Delete command.
12440 (python-indent-dedent-line-backspace): New command.
12441 (python-electric-colon): Delete command.
12442 (python-indent-electric-colon): New command.
12443 (python-guess-indent): Delete command.
12444 (python-indent-guess-indent-offset): New command.
12445 (python-shift-left): Delete command.
12446 (python-indent-shift-left): New command.
12447 (python-shift-right): Delete command.
12448 (python-indent-shift-right): New command.
12449 (python-find-function): Delete command.
12450 (python-nav-jump-to-defun): New command.
12451 (python-next-statement): Delete command.
12452 (python-nav-forward-sentence): New command.
12453 (python-previous-statement): Delete command.
12454 (python-nav-backward-sentence): New command.
12455 (python-fill-paragraph): Delete command.
12456 (python-fill-paragraph-function): New command.
12457 (python-send-buffer): Delete command.
12458 (python-shell-send-buffer): New command.
12459 (python-send-defun): Delete command.
12460 (python-shell-send-defun): New command.
12461 (python-send-region, python-send-region-and-go): Delete commands.
12462 (python-shell-send-region)
12463 (python-shell-switch-to-shell): New commands.
12464 (python-send-string): Delete command.
12465 (python-shell-send-string): New command.
12466 (python-switch-to-python): Delete command.
12467 (python-shell-switch-to-shell): New command.
12468 (python-describe-symbol): Delete command.
12469 (python-eldoc-at-point): New command.
12470 (python--set-prompt-regexp, python-args-to-list)
12471 (python-after-info-look, python-check-version)
12472 (python-check-comint-prompt, python-find-imports)
12473 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
12474 (python-unload-function, python-expand-template)
12475 (python-maybe-jython, python-preoutput-filter)
12476 (python-pdbtrack-get-source-buffer)
12477 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
12478 (python-pdbtrack-toggle-stack-tracking)
12479 (python-pdbtrack-track-stack-file, python-initial-text)
12480 (python-first-word, python-comment-line-p, python-send-command)
12481 (python-setup-brm, python-sentinel, python-set-proc)
12482 (python-skip-out, python-input-filter, python-outdent-p)
12483 (python-outline-level, python-backslash-continuation-line-p)
12484 (python-end-of-block, python-end-of-statement, python-mark-block)
12485 (python-beginning-of-block, python-beginning-of-statement)
12486 (python-blank-line-p, python-beginning-of-string)
12487 (python-open-block-statement-p): Delete functions.
12488 (python-indent-line, python-indent-line-1): Delete functions.
12489 (python-indent-line): New function.
12490 (python-indentation-levels): Delete function.
12491 (python-indent-calculate-levels): New function.
12492 (python-proc): Delete function.
12493 (python-shell-get-process): New function.
12494 (python-send-receive): Delete function.
12495 (python-shell-send-string-no-output): New function.
12496 (python-module-path): Delete function.
12497 (python-ffap-module-path): New function.
12498 (python-completion-at-point)
12499 (python-symbol-completions): Delete functions.
12500 (python-completion-complete-at-point): New function.
12501 (python-load-file): Delete function.
12502 (python-shell-send-file): New function.
12503 (python-calculate-indentation): Delete function.
12504 (python-indent-calculate-indentation): New function.
12505 (python-skip-comments/blanks): Delete function.
12506 (python-util-forward-comment): New function.
12507 (python-continuation-line-p): Delete function.
12508 (python-info-continuation-line-p): New function.
12509 (python-which-func, python-current-defun): Delete function.
12510 (python-info-current-defun): New function.
12511 (python-beginning-of-defun): Delete function.
12512 (python-nav-beginning-of-defun): New function.
12513 (python-close-block-statement-p)
12514 (python-block-end-p): Delete function.
12515 (python-info-closing-block): New function.
12516 (python-comint-output-filter-function)
12517 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
12518 (python-fill-comment, python-fill-decorator, python-fill-paren)
12519 (python-fill-string, python-imenu-make-element-tree)
12520 (python-imenu-make-tree, python-imenu-tree-assoc)
12521 (python-indent-context, python-indent-dedent-line)
12522 (python-indent-line-function)
12523 (python-indent-post-self-insert-function)
12524 (python-indent-toggle-levels)
12525 (python-info-assignment-continuation-line-p)
12526 (python-info-beginning-of-backlash)
12527 (python-info-block-continuation-line-p)
12528 (python-info-closing-block-message)
12529 (python-info-line-ends-backslash-p)
12530 (python-info-looking-at-beginning-of-defun)
12531 (python-info-ppss-context, python-info-ppss-context-type)
12532 (python-nav-list-defun-positions, python-nav-read-defun)
12533 (python-nav-sentence-end, python-nav-sentence-start)
12534 (python-pdbtrack-comint-output-filter-function)
12535 (python-pdbtrack-set-tracked-buffer)
12536 (python-shell-calculate-exec-path)
12537 (python-shell-calculate-process-environment)
12538 (python-shell-completion--do-completion-at-point)
12539 (python-shell-completion--get-completions)
12540 (python-shell-completion-complete-at-point)
12541 (python-shell-completion-complete-or-indent)
12542 (python-shell-get-or-create-process)
12543 (python-shell-get-process-name)
12544 (python-shell-internal-get-or-create-process)
12545 (python-shell-internal-get-process-name)
12546 (python-shell-internal-send-string, python-shell-make-comint)
12547 (python-shell-parse-command, python-shell-send-setup-code)
12548 (python-skeleton-add-menu-items)
12549 (python-util-clone-local-variables, python-util-position)
12550 (run-python-internal, python-indentation-levels)
12551 (python-nav-beginning-of-defun)
12552 (python-completion-complete-at-point): New functions.
12553 (run-python): Change arguments. New API requirements.
12555 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12557 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
12560 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
12561 (macroexp--expand-all): Use it.
12563 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
12564 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
12565 Use `cl-function' instead.
12567 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
12569 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
12570 Suggested by Stefan Monnier while discussing bug#11657.
12572 2012-06-14 Sam Steingold <sds@gnu.org>
12574 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
12576 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
12578 * play/doctor.el (doctor-doc): Remove parameter and use
12579 doctor-sent instead of sent.
12580 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
12582 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12584 * files.el: Require cl-lib.
12585 (file-name-non-special): Replace case -> cl-case.
12587 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
12589 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
12590 mapping from #' to function*.
12592 2012-06-13 Chong Yidong <cyd@gnu.org>
12594 * mouse.el (mouse-drag-track): Do not set the mark if the user
12595 releases the mouse without selecting anything (Bug#11588).
12597 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12599 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
12600 as well (bug#11646).
12602 * loadup.el: Count byte-code functions as well.
12604 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
12605 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
12607 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
12608 (bug#11649). Add cl-defun and cl-defmacro.
12610 2012-06-13 Drew Adams <drew.adams@oracle.com>
12612 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12615 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
12617 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
12618 Otherwise, it blocks in batch mode.
12620 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
12622 * help-mode.el (bookmark-make-record-default): Declare.
12624 2012-06-13 Chong Yidong <cyd@gnu.org>
12626 * emacs-lisp/package.el (list-packages): Compute a list of
12627 packages that are newly-available since the last list-packages
12629 (package-menu--new-package-list): New var.
12630 (package-menu--generate, package-menu--print-info)
12631 (package-menu--status-predicate, package-menu-mark-install):
12632 Handle new status label "new".
12634 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12636 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
12637 conversion to backquotes.
12639 2012-06-12 Chong Yidong <cyd@gnu.org>
12641 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
12642 Rename from gud-inhibit-global-bindings.
12644 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
12646 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
12647 hook from nxml-glyph-set-hook.
12649 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
12652 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
12654 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
12655 Convert to defcustom.
12657 2012-06-12 Drew Adams <drew.adams@oracle.com>
12659 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12661 (help-mode): Use them.
12663 2012-06-11 Glenn Morris <rgm@gnu.org>
12665 * progmodes/fortran.el (fortran-font-lock-keywords-3):
12666 Use preprocessor face for directives.
12667 (fortran-directive-re): Doc fix.
12669 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12671 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
12672 conversion to backquotes (bug#11652).
12674 Fix compiler-expansion of CL's cXXr functions (bug#11673).
12675 * emacs-lisp/cl-lib.el (cl--defalias): New function.
12676 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
12677 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
12678 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12679 (cl-ninth, cl-tenth): Mark them as inlinable.
12680 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
12681 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
12682 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
12683 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
12684 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
12685 (cl-list*, cl-adjoin): Don't put an autoload manually.
12686 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
12687 (cl--compiler-macro-list*): Add autoload cookie.
12688 (cl--compiler-macro-cXXr): New function.
12690 * help-fns.el (help-fns--compiler-macro): New function extracted from
12691 describe-function-1; follow aliases and use `compiler-macro' property.
12692 (describe-function-1): Use it.
12694 2012-06-11 Chong Yidong <cyd@gnu.org>
12696 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
12697 is uninstalled, if imagemagick is installed.
12699 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12701 * emacs-lisp/cl-lib.el: Use lexical-binding.
12702 (cl-map-extents, cl-maclisp-member): Remove.
12703 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
12704 (cl--set-substring, cl--block-wrapper, cl--block-throw)
12705 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
12706 * emacs-lisp/cl-extra.el: Use lexical-binding.
12707 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
12708 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
12709 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
12710 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
12711 * emacs-lisp/cl-seq.el: Use lexical-binding.
12712 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
12713 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
12714 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
12715 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
12716 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
12719 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
12721 Sync with Tramp 2.2.6-pre.
12723 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
12724 `print-length' and `print-level' to nil, in order to avoid
12725 truncation. Reported by Christopher Schmidt
12726 <christopher@ristopher.com>.
12728 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
12730 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
12732 (tramp-compat-copy-directory): Add optional argument
12733 COPY-CONTENTS. It is not handled yet.
12735 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
12736 (tramp-ftp-file-name-p): Simplify.
12738 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
12739 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
12742 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
12743 (tramp-methods): Do not use `tramp-password-end-of-line'.
12744 (tramp-completion-function-alist-putty): Handle UNIX case.
12745 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
12746 (tramp-do-file-attributes-with-stat)
12747 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
12748 gid as real numbers. They could run out of integer range on cygwin.
12749 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
12750 (tramp-sh-handle-expand-file-name): Handle hops.
12751 (tramp-open-connection-setup-interactive-shell):
12752 Use `tramp-cleanup'. Move check for busyboxes ...
12753 (tramp-find-shell): ... here. Simplify implementation.
12754 Set "remote-shell" property also for alternative shells.
12755 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
12756 If failing, a regular file would be written otherwise.
12757 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
12758 (tramp-find-inline-encoding): Cache the coding commands in the
12759 process cache. Apply test command on the remote side, if defined.
12760 (tramp-find-inline-compress): Cache the compress commands in the
12762 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
12763 when requested. Handle hops.
12764 (tramp-current-connection): New defvar.
12765 (tramp-maybe-open-connection): Use `tramp-cleanup'.
12766 Throw `suppress', if there was a failed connection shortly before.
12767 Handle user interrupt. (Bug#10187)
12768 (tramp-get-inline-compress, tramp-get-inline-coding):
12769 Read connection properties from the process cache.
12771 * net/tramp-smb.el (tramp-smb-server-version)
12772 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
12774 (tramp-smb-prompt): Extend for powershell prompt.
12775 (tramp-smb-file-name-handler-alist): Add handlers for
12776 `process-file', `shell-command' and `start-file-process'.
12777 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
12778 (tramp-smb-winexe-shell-command-switch): New defcustoms.
12779 (tramp-smb-file-name-p): Simplify.
12780 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
12781 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
12782 (tramp-smb-shell-quote-argument): New defuns.
12783 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
12784 Implement using "tar". By this, time-stamps are preserved.
12785 (tramp-smb-handle-copy-file): Handle also the case of directories.
12786 (tramp-smb-do-file-attributes-with-stat)
12787 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
12788 Use `tramp-get-connection-buffer').
12789 (tramp-smb-handle-rename-file): Use "rename", when source and
12790 target are on the same share.
12791 (tramp-smb-maybe-open-connection): Handle wrong passwords.
12792 Use `tramp-smb-server-version'.
12793 (tramp-smb-wait-for-output): Remove prompt.
12795 * net/tramp.el (top): Require 'cl.
12796 (tramp-methods, tramp-rsh-end-of-line):
12797 Remove `tramp-password-end-of-line' from docstring.
12798 (tramp-save-ad-hoc-proxies): New defcustom.
12799 (tramp-completion-function-alist): Adapt docstring.
12800 (tramp-default-password-end-of-line): Remove defcustom.
12801 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
12802 (tramp-user-regexp, tramp-file-name-regexp-unified)
12803 (tramp-file-name-regexp-url): Extend regexp by hop separator.
12804 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
12805 (tramp-remote-file-name-spec-regexp): New defconst.
12806 (tramp-file-name-structure): Extend structure for hops.
12807 (tramp-get-method-parameter): Move up.
12808 (tramp-file-name-p, tramp-dissect-file-name)
12809 (with-parsed-tramp-file-name): Handle hops.
12810 (tramp-file-name-hop): New defun.
12811 (tramp-make-tramp-file-name): New optional arg HOP.
12812 (tramp-message-show-progress-reporter-message): New defvar.
12813 (tramp-with-progress-reporter): Use it. We cannot use
12814 `tramp-message-show-message' here, because this suppresses also
12816 (tramp-error-with-buffer): Suppress buffer view, if
12817 `tramp-message-show-message' is nil.
12818 Use `tramp-get-connection-buffer'.
12819 (tramp-cleanup): New defun.
12820 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
12821 (tramp-file-name-handler): If `debug-on-error' is set, propagate
12822 an error unchanged.
12823 (tramp-completion-handle-file-name-all-completions): Handle hops.
12824 Fix an error when called from ido.
12825 (tramp-completion-dissect-file-name): Use better local variable
12826 name. Add hop to the vector.
12827 (tramp-handle-insert-file-contents): Use progress-reporter for the
12829 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
12831 (tramp-check-for-regexp): Simplify search.
12832 (tramp-enter-password): Remove it. Move implementation ...
12833 (tramp-action-password): ... here.
12834 (tramp-mode-string-to-int, tramp-local-host-p)
12835 (tramp-make-tramp-temp-file, tramp-read-passwd)
12836 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
12837 Set tramp-autoload cookie.
12839 * net/trampver.el: Update release number.
12841 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12842 Michael Albinus <michael.albinus@gmx.de>
12844 * net/tramp.el (tramp-set-completion-function): Fix docstring.
12845 (tramp-parse-group, tramp-parse-file)
12846 (tramp-parse-shostkeys-sknownhosts): New defuns.
12847 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
12848 (tramp-parse-shosts-group, tramp-parse-sconfig)
12849 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
12850 (tramp-parse-sknownhosts, tramp-parse-hosts)
12851 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
12853 (tramp-parse-passwd-group, tramp-parse-netrc-group)
12854 (tramp-parse-putty-group): Don't narrow.
12855 (tramp-parse-putty): Make a loop.
12856 (tramp-file-name-handler): Catch the `suppress' signal.
12858 2012-06-11 Chong Yidong <cyd@gnu.org>
12860 * image.el (imagemagick-register-types): Put the ImageMagick entry
12861 at the end of image-type-file-name-regexps.
12863 2012-06-11 Johan BockgĂ¥rd <bojohan@gnu.org>
12865 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
12866 (pcase, pcase-let*, pcase-dolist): Use them.
12868 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12870 * emacs-lisp/pcase.el (pcase--let*): New function.
12871 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
12872 (pcase--expand): Use macroexp-let².
12874 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
12876 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
12877 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
12878 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
12879 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
12880 * emacs-lisp/derived.el: Use pcase instead of `cl'.
12881 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
12883 2012-06-10 Glenn Morris <rgm@gnu.org>
12885 * mail/rmail.el (rmail-yank-current-message): Leave point at
12886 correct position. (Bug#11660)
12888 2012-06-10 Chong Yidong <cyd@gnu.org>
12890 * allout-widgets.el: Fix code header.
12892 2012-06-10 Chong Yidong <cyd@gnu.org>
12894 * cus-edit.el (customize-changed-options-previous-release):
12897 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
12899 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
12901 2012-06-09 Chong Yidong <cyd@gnu.org>
12903 * ebuff-menu.el (electric-buffer-list): Preserve header line.
12905 2012-06-09 Martin Rudalics <rudalics@gmx.at>
12907 * window.el (special-display-popup-frame): Don't use
12908 window--display-buffer (Bug#11651).
12910 2012-06-09 Eli Zaretskii <eliz@gnu.org>
12912 Fix parallel builds: make sure loaddefs.el is not being written
12913 while Lisp files are compiled.
12914 (compile): Don't depend on 'mh-autoloads'.
12915 (compile-CMD, compile-SH): Depend on 'autoloads'.
12916 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
12918 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
12920 2012-06-09 Chong Yidong <cyd@gnu.org>
12922 * face-remap.el (face-remap-add-relative, face-remap-set-base)
12923 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
12924 Doc fixes (Bug#11225).
12926 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
12928 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
12929 a function if there's a clear indication that it has a compiler-macro.
12930 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
12931 (macro-declarations-alist): Add arglist to declaration functions.
12932 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
12933 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
12934 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
12935 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
12936 Also add autoload to find the compiler macro.
12937 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
12938 (cl--compiler-macro-member, cl--compiler-macro-assoc)
12939 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
12940 (cl--compiler-macro-get): New functions, replacing calls to
12941 cl-define-compiler-macro.
12942 (cl-typep) [compiler-macro]: Use macroexp-let².
12944 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
12946 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
12947 string properly, fixes Bug#11473.
12949 2012-06-08 Chong Yidong <cyd@gnu.org>
12951 * faces.el (set-face-attribute): Doc fix.
12952 (modify-face): Don't use :bold and :italic.
12953 (error, warning, success): Tweak definitions.
12955 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
12956 (custom-modified, custom-set, custom-changed, custom-themed)
12957 (custom-saved, custom-button, custom-button-mouse)
12958 (custom-button-pressed, custom-state, custom-comment-tag)
12959 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
12960 (custom-group-subtitle): Use new-style face specs.
12961 (custom-invalid-face, custom-rogue-face, custom-modified-face)
12962 (custom-set-face, custom-changed-face, custom-saved-face)
12963 (custom-button-face, custom-button-pressed-face)
12964 (custom-documentation-face, custom-state-face)
12965 (custom-comment-face, custom-comment-tag-face)
12966 (custom-variable-tag-face, custom-variable-button-face)
12967 (custom-face-tag-face, custom-group-tag-face-1)
12968 (custom-group-tag-face): Remove obsolete face alias.
12970 * epa.el (epa-validity-high, epa-validity-medium)
12971 (epa-validity-low, epa-mark, epa-field-name, epa-string)
12972 (epa-field-name, epa-field-body):
12973 * font-lock.el (font-lock-comment-face, font-lock-string-face)
12974 (font-lock-keyword-face, font-lock-builtin-face)
12975 (font-lock-function-name-face, font-lock-variable-name-face)
12976 (font-lock-type-face, font-lock-constant-face):
12977 * ido.el (ido-first-match, ido-only-match, ido-subdir)
12978 (ido-virtual, ido-indicator, ido-incomplete-regexp):
12979 * speedbar.el (speedbar-button-face, speedbar-file-face)
12980 (speedbar-directory-face, speedbar-tag-face)
12981 (speedbar-selected-face, speedbar-highlight-face)
12982 (speedbar-separator-face):
12983 * whitespace.el (whitespace-newline, whitespace-space)
12984 (whitespace-hspace, whitespace-tab, whitespace-trailing)
12985 (whitespace-line, whitespace-space-before-tab)
12986 (whitespace-space-after-tab, whitespace-indentation)
12987 (whitespace-empty):
12988 * emulation/cua-base.el (cua-global-mark):
12989 * eshell/em-prompt.el (eshell-prompt):
12990 * net/newst-plainview.el (newsticker-new-item-face)
12991 (newsticker-old-item-face, newsticker-immortal-item-face)
12992 (newsticker-obsolete-item-face, newsticker-date-face)
12993 (newsticker-statistics-face, newsticker-default-face):
12994 * net/newst-reader.el (newsticker-feed-face)
12995 (newsticker-extra-face, newsticker-enclosure-face):
12996 * net/newst-treeview.el (newsticker-treeview-face)
12997 (newsticker-treeview-new-face, newsticker-treeview-old-face)
12998 (newsticker-treeview-immortal-face)
12999 (newsticker-treeview-obsolete-face)
13000 (newsticker-treeview-selection-face):
13001 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
13002 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
13003 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
13004 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
13005 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
13006 (nxml-outline-active-indicator, nxml-outline-ellipsis):
13007 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
13009 * progmodes/vera-mode.el (vera-font-lock-number)
13010 (vera-font-lock-function, vera-font-lock-interface):
13011 * textmodes/table.el (table-cell): Use new-style face specs, and
13012 don't use the old :bold and :italic attributes.
13014 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
13015 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
13016 (ebrowse-member-class, ebrowse-progress): Likewise.
13017 (ebrowse-tree-mark-face, ebrowse-root-class-face)
13018 (ebrowse-file-name-face, ebrowse-default-face)
13019 (ebrowse-member-attribute-face, ebrowse-member-class-face)
13020 (ebrowse-progress-face): Remove obsolete faces.
13022 * progmodes/flymake.el (flymake-errline, flymake-warnline):
13023 Inherit from error and warning faces respectively.
13025 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
13027 (flyspell-incorrect-face, flyspell-duplicate-face):
13028 Remove obsolete aliases.
13030 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
13032 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13035 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13037 * startup.el (argv, argi): Make lexically scoped.
13038 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
13039 * emacs-lisp/cl-macs.el: Use lexical-binding.
13040 Rename cl-bind-* to cl--bind-*.
13041 * files.el: Don't require `cl' since it doesn't use it.
13042 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
13044 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
13046 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
13047 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
13048 instead of calling external sort utility.
13049 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
13051 2012-06-08 Eli Zaretskii <eliz@gnu.org>
13053 * descr-text.el (describe-char): Mention how to insert the
13054 character, if the current input method doesn't support it.
13055 See the discussion in this thread for the details:
13056 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
13058 2012-06-08 Sam Steingold <sds@gnu.org>
13060 * bindings.el (global-map): Bind XF86Forward to next-buffer and
13061 XF86Back to previous-buffer.
13062 (minibuffer-local-map): Bind them to next-history-element and
13063 previous-history-element respectively.
13064 * help-mode.el (help-mode-map): Bind them to help-go-forward and
13065 help-go-back respectively.
13066 * info.el (Info-mode-map): Bind them to Info-history-forward and
13067 Info-history-back respectively.
13068 These are the keys next to Up on the ThinkPad keyboard.
13070 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13072 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
13073 * emacs-lisp/cl-macs.el: Provide itself.
13074 (cl--labels-convert-cache): New var.
13075 (cl--labels-convert): New function.
13076 (cl-flet, cl-labels): New implementation with new semantics, relying on
13078 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
13079 (cl-closure-vars, cl--function-convert-cache)
13080 (cl--function-convert): Move from cl-macs.el.
13081 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
13082 rename by removing the "cl-" prefix.
13083 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
13085 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13087 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
13088 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
13089 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
13090 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
13091 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
13092 (cl-hash-table-count): Add old compatibility aliases.
13094 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
13095 Use macroexpand-all-environment instead.
13096 (cl--old-macroexpand): New var.
13097 (cl--sm-macroexpand): New function.
13098 (cl-symbol-macrolet): Use it during macro expansion.
13099 (cl--function-convert-cache): New var.
13100 (cl--function-convert): New function, extracted from
13101 cl-macroexpand-all.
13102 (cl-lexical-let): Use it.
13104 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
13105 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
13106 (cl-member): Remove old alias.
13108 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
13109 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
13110 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
13111 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
13112 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
13113 (cl-macroexpand-cmacs): Remove var.
13114 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
13115 Use macroexpand-all instead.
13117 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13119 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
13120 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
13121 (macroexp-copyable-p): New functions and macros.
13122 * emacs-lisp/edebug.el (edebug-unwrap):
13123 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
13124 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
13125 (pcase--let*): Remove.
13126 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
13127 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
13128 macroexp-const-p instead.
13129 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
13131 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
13132 instead of "cl-" for internal definitions. Use macroexp-const-p.
13133 (cl-old-bc-file-form): Remove var.
13134 (cl-const-exprs-p): Remove fun.
13135 (cl-labels, cl-macrolet): Use backquote.
13136 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
13137 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
13138 (cl-define-setf-expander): Rename from cl-define-setf-method.
13139 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
13141 * international/mule-cmds.el: Don't require CL.
13142 (view-hello-file): Don't use `letf'.
13144 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13146 * tmm.el (tmm-prompt): Use string-prefix-p.
13147 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
13148 (tmm-add-prompt): Use minibuffer-completion-help.
13149 (tmm-delete-map): Remove.
13151 * subr.el (kbd): Make it its own function.
13153 2012-06-07 Stefan Merten <smerten@oekonux.de>
13155 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
13156 Silence compiler warnings. Fix versions.
13157 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
13158 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
13159 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
13160 (rst-package-emacs-version-alist): Correct Emacs version to
13161 represent major merge with upstream.
13162 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
13164 2012-06-06 Glenn Morris <rgm@gnu.org>
13166 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
13167 Only print environment variables if set.
13169 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13171 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
13172 (macroexp--cons): Rename from maybe-cons.
13173 (macroexp--accumulate): Rename from macroexp-accumulate.
13174 (macroexp--all-forms): Rename from macroexpand-all-forms.
13175 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
13176 (macroexp--expand-all): Rename from macroexpand-all-1.
13178 2012-06-06 Sam Steingold <sds@gnu.org>
13180 * calendar/calendar.el (calendar-in-read-only-buffer):
13181 Call `special-mode' to enable the standard read-only keybindings.
13183 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13185 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
13186 with "loading" messages (bug#11635).
13188 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
13190 * files.el (enable-remote-dir-locals): New option.
13191 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
13193 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13194 Ensure, that the temp directory is local.
13196 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
13197 `temporary-file-directory'.
13199 * progmodes/python.el (python-send-region): Ensure, that the
13200 temporary file is created also in the remote case.
13202 2012-06-06 Glenn Morris <rgm@gnu.org>
13204 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
13205 (vc-rcs-update-changelog): Use it.
13207 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
13209 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
13210 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
13211 (vc-sccs-diff): Replace use of the external vcdiff script.
13213 2012-06-05 Glenn Morris <rgm@gnu.org>
13215 * ledit.el: Move to obsolete/.
13217 2012-06-05 Sam Steingold <sds@gnu.org>
13219 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
13222 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13224 * emacs-lisp/cust-print.el: Move to obsolete.
13226 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
13227 compiler-macro expansion.
13229 Add native compiler-macro support.
13230 * emacs-lisp/macroexp.el (macroexpand-all-1):
13231 Support compiler-macros directly. Properly follow aliases and apply
13232 the compiler macros more thoroughly.
13233 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
13234 macroexpand now properly follows aliases.
13235 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
13236 (cl-compiler-macroexpand): Use new prop.
13237 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
13239 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
13241 2012-06-05 Martin Rudalics <rudalics@gmx.at>
13243 * window.el (get-lru-window, get-mru-window, get-largest-window):
13244 New argument NOT-SELECTED to avoid picking the selected window.
13245 (window--display-buffer-1, window--display-buffer-2): Replace by
13246 new function window--display-buffer
13247 (display-buffer-same-window, display-buffer-reuse-window)
13248 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13249 Use window--display-buffer.
13250 (display-buffer-use-some-window): Remove temporary dedication
13251 hack by calling get-lru-window and get-largest-window with
13252 NOT-SELECTED argument non-nil. Call window--display-buffer.
13254 2012-06-05 Glenn Morris <rgm@gnu.org>
13256 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
13257 Replace external vcdiff script.
13259 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13261 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
13263 2012-06-04 Chong Yidong <cyd@gnu.org>
13265 * image.el (imagemagick-types-inhibit): Revert last change.
13267 (imagemagick-enabled-types): Remove CIN and EPS*.
13269 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13271 * emacs-lisp/cl-lib.el: Rename from cl.el.
13272 * emacs-lisp/cl.el: New compatibility file.
13273 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
13274 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
13275 to obey the "cl-" prefix.
13276 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
13278 2012-06-03 Glenn Morris <rgm@gnu.org>
13280 * emacs-lisp/authors.el (authors-aliases): Addition.
13282 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
13285 2012-06-03 Stefan Merten <smerten@oekonux.de>
13287 * textmodes/rst.el: Add comments.
13288 (rst-transition, rst-adornment): New faces.
13289 (rst-adornment-faces-alist): Make default safe to reevaluate.
13291 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
13292 Improve customization tags.
13293 (rst-define-level-faces): Clarify meaning.
13295 2012-06-03 Chong Yidong <cyd@gnu.org>
13297 * progmodes/compile.el (compilation-mode-line-fail)
13298 (compilation-mode-line-run, compilation-mode-line-exit):
13300 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
13302 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
13304 * progmodes/which-func.el (which-func-update-ediff-windows):
13305 New function. Use it in ediff-select-hook (Bug#11478).
13307 2012-06-03 Chong Yidong <cyd@gnu.org>
13309 * bindings.el: Remove explicit help text from format-mode-line.
13310 It is now supplied by mode-line-default-help-echo.
13311 (mode-line-front-space, mode-line-end-spaces)
13312 (mode-line-misc-info): New variables.
13313 (mode-line-modes, mode-line-position): Move the default value to
13314 the variable definition.
13315 (mode-line-default-help-echo): New defcustom.
13316 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
13317 (mode-line-modified-help-echo): New functions.
13318 (mode-line-mule-info, mode-line-modified): Use them.
13319 (mode-line-eol-desc, propertized-buffer-identification):
13320 Consistency fixes for help text.
13321 (mode-line-coding-system-map): Allow using mouse-3 to invoke
13322 set-buffer-file-coding-system (Bug#289).
13323 (mode-line-mule-info-help-echo): Update help text.
13325 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13327 * simple.el (execute-extended-command): Set real-this-command
13330 2012-06-02 Chong Yidong <cyd@gnu.org>
13332 Remove incorrect uses of "modeline" in comments, docstrings, and
13333 function/variable names (Bug#10329).
13335 * cus-edit.el (mode-line):
13336 * dframe.el (dframe-mouse-hscroll):
13337 * emacs-lisp/re-builder.el:
13338 * emacs-lisp/easy-mmode.el (define-minor-mode):
13339 * frame.el (set-frame-name):
13340 * help.el (lookup-minor-mode-from-indicator):
13341 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
13342 * progmodes/cc-cmds.el (c-toggle-auto-newline)
13343 (c-toggle-hungry-state):
13344 * progmodes/antlr-mode.el (antlr-language-alist):
13345 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
13346 * progmodes/vhdl-mode.el (vhdl-mode):
13347 * progmodes/which-func.el (which-func, which-func-cleanup-function):
13348 * term/ns-win.el (ns-face-at-pos):
13349 * term/sup-mouse.el (sup-mouse-report):
13350 * textmodes/flyspell.el (flyspell-mode-line-string):
13351 * textmodes/ispell.el (ispell-highlight-face):
13352 * textmodes/reftex-global.el:
13353 * vc/vc-arch.el (vc-arch-mode-line-string):
13354 * vc/vc-cvs.el (vc-cvs-mode-line-string):
13355 * vc/vc-git.el (vc-git-mode-line-string):
13356 * vc/vc-hooks.el (vc-display-status)
13357 (vc-default-mode-line-string):
13358 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
13360 * ansi-color.el (ansi-color-faces-vector): Change default faces.
13362 * dired.el (dired-sort-set-mode-line): Rename from
13363 dired-sort-set-modeline. All callers changed.
13365 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
13366 eshell-status-in-modeline.
13368 * foldout.el (foldout-mode-line-string): Rename from
13369 foldout-modeline-string. All callers changed.
13370 (foldout-update-mode-line): Rename from foldout-update-modeline.
13372 * subr.el (redraw-modeline): Make into obsolete alias.
13374 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
13375 timeclock-modeline-display. Make old name an alias.
13376 (timeclock-update-mode-line): Likewise. All callers changed.
13377 (timeclock-mode-line-display): No need to check before using
13379 (timeclock-relative, timeclock-day-over-hook)
13380 (timeclock-use-elapsed, timeclock-mode-string)
13381 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
13383 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
13384 crisp-mode-modeline-string.
13386 * play/solitaire.el (solitaire-build-mode-line): Rename from
13387 solitaire-build-modeline. All callers changed.
13389 * play/zone.el (zone-hiding-mode-line): Rename from
13390 zone-hiding-modeline. All callers changed.
13391 (zone): Remove unusued `modeline-hidden-level' property.
13393 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
13394 xscheme-modeline-initialize. All callers changed.
13396 * strokes.el (strokes-lighter): Rename from
13397 strokes-modeline-string.
13399 * textmodes/sgml-mode.el (html-face-tag-alist)
13400 (html-tag-face-alist): Use mode-line face instead of obsolete
13403 2012-06-02 Stefan Merten <smerten@oekonux.de>
13405 * textmodes/rst.el: Always require `cl'.
13406 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
13408 2012-06-02 Chong Yidong <cyd@gnu.org>
13410 * image.el (imagemagick-enabled-types): Rename from
13411 imagemagick-types-enable. Add many more types.
13412 (imagemagick-types-inhibit): Change default to nil.
13413 (imagemagick-filter-types): Caller changed.
13415 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13417 * emacs-lisp/cl-macs.el: Use backquotes.
13418 (cl-transform-function-property): Use eval-and-compile rather than
13420 (defstruct): Use declare-function instead of with-no-warnings.
13422 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
13423 (byte-compile-output-docform): Re-add the print-circle bindings.
13424 (byte-compile-fix-header): Use #$ just because it's shorter.
13425 (byte-compile-output-file-form): Remove defun/defmacro.
13427 2012-06-01 Martin Rudalics <rudalics@gmx.at>
13429 * simple.el (choose-completion): Remove now obsolete binding for
13432 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
13434 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
13435 in order to avoid "Stack overflow in regexp matcher".
13437 2012-05-31 Glenn Morris <rgm@gnu.org>
13439 * image.el: For clarity, call imagemagick-register-types at
13440 top-level, rather than relying on a custom :initialize.
13441 (imagemagick-types-enable): New option. (Bug#11557)
13442 (imagemagick-filter-types): New function. (Bug#7406)
13443 (imagemagick-register-types): Use imagemagick-filter-types.
13444 If disabling support, remove elements altogether rather
13445 than using an impossible regexp.
13446 (imagemagick-types-inhibit): Give it the default init function.
13448 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13450 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
13451 Handle arbitrary file name lengths (Bug#11585).
13453 2012-05-31 Martin Rudalics <rudalics@gmx.at>
13455 * desktop.el (desktop-read): Clear previous and next buffers for
13456 all windows and bury *Messages* buffer (bug#11556).
13458 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13460 Add `declare' for `defun'. Align `defmacro's with it.
13461 * emacs-lisp/easy-mmode.el (define-minor-mode)
13462 (define-globalized-minor-mode): Don't autoload the var definitions.
13463 * emacs-lisp/byte-run.el: Use lexical-binding.
13464 (defun-declarations-alist, macro-declarations-alist): New vars.
13465 (defmacro, defun): Use them.
13466 (make-obsolete, define-obsolete-function-alias)
13467 (make-obsolete-variable, define-obsolete-variable-alias):
13469 (macro-declaration-function): Mark obsolete.
13470 * emacs-lisp/autoload.el: Use lexical-binding.
13471 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
13473 2012-05-30 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
13475 * textmodes/ispell.el (ispell-with-no-warnings):
13477 (ispell-kill-ispell, ispell-change-dictionary):
13478 Use `called-interactively-p' for Emacs instead of obsolete
13481 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13483 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
13484 (macro-declaration-function): Move var from C code.
13485 (macro-declaration-function): Define function with defalias.
13486 * emacs-lisp/macroexp.el (macroexpand-all-1):
13487 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
13488 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
13489 defun/defmacro any more.
13490 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
13491 Provide fallback for unknown arglist.
13492 (byte-compile-arglist-warn): Change calling convention.
13493 (byte-compile-output-file-form): Move print-vars binding.
13494 (byte-compile-output-docform): Simplify accordingly.
13495 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
13496 (byte-compile-defmacro-declaration): Remove.
13497 (byte-compile-file-form-defmumble): Generalize to defalias.
13498 (byte-compile-output-as-comment): Return byte-positions.
13499 Simplify callers accordingly.
13500 (byte-compile-lambda): Use `assert'.
13501 (byte-compile-defun, byte-compile-defmacro): Remove.
13502 (byte-compile-file-form-defalias):
13503 Use byte-compile-file-form-defmumble.
13504 (byte-compile-defalias-warn): Remove.
13506 2012-05-29 Stefan Merten <smerten@oekonux.de>
13508 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
13509 possible. Fix authors. Improve comments. Improve loading of `cl'.
13511 (rst-mode-abbrev-table): Merge definition.
13512 (rst-mode): Make sure `font-lock-defaults' is buffer local.
13513 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
13515 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
13517 * calendar/icalendar.el
13518 (icalendar-export-region): Export UID properly.
13520 2012-05-29 Leo Liu <sdl.web@gmail.com>
13521 * calendar/icalendar.el (icalendar-import-format):
13522 Add `icalendar-import-format-uid' (Bug#11525).
13523 (icalendar-import-format-uid): New.
13524 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
13527 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13529 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
13530 different alternative patterns.
13531 (pcase-codegen): Be more careful to preserve identity.
13532 (pcase--u1): Don't forget to mark vars as used.
13534 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
13535 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
13536 (byte-compile-from-buffer): ...rather than here.
13538 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
13539 functions from byte-compile-function-environment.
13541 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
13543 * window.el (window-deletable-p): Avoid deleting the root window
13544 of a frame with an active minibuffer.
13546 2012-05-29 Martin Rudalics <rudalics@gmx.at>
13548 * simple.el (choose-completion): Use quit-window (Bug#11567).
13550 2012-05-29 Chong Yidong <cyd@gnu.org>
13552 * whitespace.el (whitespace-cleanup): Fix usage of
13553 whitespace-empty-at-bob-regexp (Bug#11492).
13555 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13557 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
13558 revert (Bug#11488).
13560 2012-05-29 Juri Linkov <juri@jurta.org>
13562 * isearch.el (isearch-mode-map): Bind `M-s _' to
13563 `isearch-toggle-symbol'. Bind `M-s c' to
13564 `isearch-toggle-case-fold'.
13565 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
13566 (isearch-forward): Add `M-s _' to the docstring.
13567 (isearch-forward-symbol, isearch-toggle-case-fold)
13568 (isearch-symbol-regexp): New functions. (Bug#11381)
13570 2012-05-29 Juri Linkov <juri@jurta.org>
13572 * isearch.el (isearch-word): Add docstring. (Bug#11381)
13573 (isearch-occur, isearch-search-and-update): If `isearch-word' is
13574 a function, call it to get the regexp.
13575 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
13576 property `isearch-message-prefix' instead of the string "word ".
13577 (isearch-search-fun-default): For the case of `isearch-word',
13578 return a lambda that calls re-search-forward/re-search-backward
13579 with a regexp returned by `word-search-regexp' or by the function
13582 2012-05-29 Juri Linkov <juri@jurta.org>
13584 * isearch.el (isearch-search-fun-default): New function.
13585 (isearch-search-fun): Move default part to the new function
13586 `isearch-search-fun-default'.
13587 (isearch-search-fun-function): Set the default value to
13588 `isearch-search-fun-default'. (Bug#11381)
13590 * comint.el (comint-history-isearch-end):
13591 Use `isearch-search-fun-default'.
13592 (comint-history-isearch-search): Use `isearch-search-fun-default'
13593 and remove spacial case for `isearch-word'.
13594 (comint-history-isearch-wrap): Remove spacial case for
13597 * hexl.el (hexl-isearch-search-function):
13598 Use `isearch-search-fun-default'.
13600 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
13601 Use `word-search-regexp' for `isearch-word'.
13603 * misearch.el (multi-isearch-search-fun):
13604 Use `isearch-search-fun-default'.
13606 * simple.el (minibuffer-history-isearch-search):
13607 Use `isearch-search-fun-default' and remove spacial case for
13609 (minibuffer-history-isearch-wrap): Remove spacial case for
13612 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
13613 Remove spacial case for `isearch-word'.
13614 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
13616 2012-05-28 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
13618 Decrease XEmacs incompatibilities.
13619 * textmodes/flyspell.el (flyspell-check-pre-word-p):
13620 Use `string-match'.
13621 (flyspell-delete-region-overlays): Use alternative definition for
13623 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
13624 (flyspell-word): Use `process-kill-without-query' if XEmacs.
13625 (flyspell-mode-on): Use `interactive-p' if XEmacs.
13626 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
13627 `define-obsolete-face-alias' under XEmacs, but old method.
13629 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
13630 `with-no-warnings' definition or Emacs alias.
13631 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
13632 (ispell-word): Do not use `region-p' if XEmacs.
13634 2012-05-28 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
13636 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
13637 Check for `ispell-dictionary-base-alist' instead of full
13638 `ispell-dictionary-alist'.
13639 (ispell-init-process): Show spellchecker when starting new Ispell
13642 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13644 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
13645 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
13647 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
13649 * version.el (motif-version-string, gtk-version-string)
13650 (ns-version-string): Declare.
13652 2012-05-27 Juri Linkov <juri@jurta.org>
13654 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
13655 after the `eval-defun-1' specialcaseing
13656 like in `edebug-eval-defun' (bug#10181).
13658 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
13659 like in `eval-defun-1'.
13661 2012-05-27 Eli Zaretskii <eliz@gnu.org>
13663 * mail/sendmail.el (mail-yank-region):
13664 Recognize rmail-yank-current-message in addition to insert-buffer.
13665 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
13666 a *mail* buffer created through rmail-start-mail with sendmail as
13669 2012-05-27 Chong Yidong <cyd@gnu.org>
13671 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
13672 Default to 256 (Bug#11267).
13674 * help.el (describe-mode): Doc fix.
13676 2012-05-26 Glenn Morris <rgm@gnu.org>
13678 * w32-fns.el (w32-init-info): Remove.
13679 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
13681 * info.el (info-initialize): For self-contained NS builds, put the
13682 included info/ directory at the front. (Bug#2791)
13684 * paths.el (Info-default-directory-list): Make it a defcustom,
13685 mainly so that we can use custom-initialize-delay.
13687 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
13689 * subr.el (buffer-has-markers-at): Mark obsolete.
13691 * subr.el (lambda): Use declare.
13693 * emacs-lisp/lisp-mode.el (lambda):
13694 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
13696 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13698 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
13700 2012-05-26 Glenn Morris <rgm@gnu.org>
13702 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
13704 2012-05-25 Glenn Morris <rgm@gnu.org>
13706 * paths.el: Remove no-byte-compile.
13707 * loadup.el: No need to load paths.el uncompiled.
13709 * image.el (imagemagick-types-inhibit): Doc fix.
13711 * version.el: Remove no-byte-compile and associated formatting.
13712 * loadup.el: No need to load version.el uncompiled. AFAICS, this
13713 is ancient code from when there was an "inc-vers.el".
13715 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13717 * progmodes/gdb-mi.el: Minor style changes.
13718 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
13719 Turn into minor modes.
13720 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
13721 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
13722 (gdb-shell): Remove unneeded let-binding.
13723 (gdb-get-many-fields): Eliminate O(n²) behavior.
13725 2012-05-25 Eli Zaretskii <eliz@gnu.org>
13727 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
13728 platforms that don't link in fontset.c.
13730 2012-05-25 Juri Linkov <juri@jurta.org>
13732 Use the same diff color scheme as in modern VCSes (bug#10181).
13734 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
13735 to avoid confusion with `diff-added' that now uses green colors.
13736 (diff-removed): Use shades of red.
13737 (diff-added): Use shades of green.
13738 (diff-changed): Leave just the yellow color.
13739 (diff-use-changed-face): New variable.
13740 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
13741 how to highlight context diff changes.
13742 (diff-refine-change): Use shades of yellow.
13743 (diff-refine-removed): New face that uses shades of red.
13744 (diff-refine-added): New face that uses shades of green.
13745 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
13746 `diff-refine-removed' in the call to `smerge-refine-subst'
13747 depending on the value of `diff-use-changed-face'.
13749 * vc/smerge-mode.el (smerge-mine): Use shades of red.
13750 (smerge-other): Use shades of green.
13751 (smerge-base): Use shades of yellow.
13752 (smerge-refined-change): Empty face.
13753 (smerge-refined-removed): New face that uses shades of red.
13754 (smerge-refined-added): New face that uses shades of green.
13755 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
13756 args `props-r' and `props-a', and use them. Doc fix.
13757 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
13758 on its value use different faces `smerge-refined-change',
13759 `smerge-refined-removed', `smerge-refined-added' in the call to
13760 `smerge-refine-subst'.
13762 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
13763 Add face condition `min-colors 88' with shades of red.
13764 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
13765 `min-colors 88' with shades of green.
13766 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
13767 `min-colors 88' with shades of yellow.
13769 2012-05-24 Glenn Morris <rgm@gnu.org>
13771 * paths.el (prune-directory-list, remote-shell-program): Move to...
13772 * files.el (prune-directory-list, remote-shell-program): ...here.
13773 For the latter, delay initialization, prefer ssh, just search PATH.
13775 * paths.el (term-file-prefix): Move to faces.el (the only user).
13776 * faces.el (term-file-prefix): Move here, make it a defcustom.
13778 * paths.el (news-directory, news-path, news-inews-program):
13779 Move to gnus/nnspool.el.
13781 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
13783 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
13784 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
13785 Make the latter a defcustom, with a delayed initialization.
13787 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
13788 These were deleted from Gnus itself late 2010.
13790 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
13792 * progmodes/which-func.el (which-func-ff-hook):
13793 Check against user-error, not error.
13795 * emacs-lisp/edebug.el (top): Do not load or set up loading of
13796 cl-specs.el, which no longer exists.
13798 2012-05-22 Glenn Morris <rgm@gnu.org>
13800 * info.el (info-emacs-bug): New command.
13801 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
13802 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
13804 2012-05-21 Glenn Morris <rgm@gnu.org>
13806 * makefile.w32-in (update-subdirs-SH):
13807 * Makefile.in (update-subdirs): Update for moved update-subdirs.
13809 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13811 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
13813 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13814 Simplify Maven regexp, and make sure the file can't start with a space
13817 2012-05-21 Glenn Morris <rgm@gnu.org>
13819 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
13820 Scrap superfluous subshells.
13822 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
13824 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
13825 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
13827 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
13829 * calc/calc.el (calc-ensure-consistent-units): New variable.
13831 * calc/calc-units.el (math-consistent-units-p)
13832 (math-check-unit-consistency): New functions.
13833 (calc-quick-units, calc-convert-units):
13834 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
13836 (calc-extract-units): Fix typo.
13838 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13840 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
13842 * textmodes/flyspell.el: Commenting style, plus code simplifications.
13843 (flyspell-default-deplacement-commands): Don't spell check after
13844 repeated window/frame switches (e.g. triggered by mouse-movement).
13845 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
13846 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
13847 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
13848 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
13849 Remove unused vars.
13850 (flyspell-get-casechars, flyspell-get-not-casechars):
13851 Simplify; Don't bother removing a ] just to add it back.
13852 * textmodes/ispell.el (ispell-program-name): Use executable-find.
13854 2012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
13856 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
13858 (math-function-table): Add support for more C functions.
13860 2012-05-18 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
13862 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13863 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13864 Protect delay handling for otherchars against empty otherchars.
13866 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13868 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
13869 their respective macro declarations.
13870 * skeleton.el (define-skeleton):
13871 * progmodes/compile.el (define-compilation-mode):
13872 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
13873 (define-ibuffer-filter):
13874 * emacs-lisp/generic.el (define-generic-mode):
13875 * emacs-lisp/easy-mmode.el (define-minor-mode)
13876 (define-globalized-minor-mode):
13877 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
13878 * emacs-lisp/byte-run.el (defsubst):
13879 * custom.el (deftheme): Add doc-string metadata.
13881 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13883 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
13885 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13887 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
13889 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
13890 * emacs-lisp/cl-macs.el: Idem.
13891 * emacs-lisp/cl-specs.el: Remove.
13893 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13895 Minor renaming of internal CL functions and variables.
13896 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
13897 (cl--position): Rename from cl-position.
13898 (cl--delete-duplicates): Rename from cl-delete-duplicates.
13899 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
13900 (cl--random-state): Rename from *random-state*.
13902 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13904 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
13905 parens around the arg list (bug#11499).
13907 2012-05-17 Juri Linkov <juri@jurta.org>
13909 * isearch.el (word-search-regexp, word-search-backward)
13910 (word-search-forward, word-search-backward-lax)
13911 (word-search-forward-lax): Move functions from search.c
13912 (bug#10145, bug#11381).
13914 2012-05-16 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
13916 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13917 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13918 Delay for otherchars as for normal word components.
13920 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13922 * minibuffer.el (completion--sifn-requote): Fix last change.
13923 (minibuffer-local-must-match-filename-map):
13924 Move define-obsolete-variable-alias before its var.
13926 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13928 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
13930 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
13932 (completion--string-equal-p): New function.
13933 (completion--twq-all): Use it to get better assertion failure data.
13935 Only handle ".." and '..' quoting in shell-mode (bug#11466).
13936 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
13937 (shell--requote-argument): New functions.
13938 (shell-completion-vars): Use them.
13939 (shell--parse-pcomplete-arguments): Rename from
13940 shell-parse-pcomplete-arguments.
13941 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
13942 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
13943 Obey comint-file-name-quote-list.
13945 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
13946 (smie-indent-keyword): Use it.
13948 2012-05-14 Stefan Merten <smerten@oekonux.de>
13950 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
13952 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13954 * net/rlogin.el (rlogin-mode-map): Fix last change.
13956 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
13958 * mail/smtpmail.el (smtpmail-send-command): Send the command and
13959 the following \r\n using a single `process-send-string', since the
13960 Lotus SMTP server refuses to accept any commands if they are sent
13961 with two `process-send-string's (Bug#11444).
13963 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13965 * shell.el (shell-parse-pcomplete-arguments):
13966 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
13968 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13970 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
13971 (image-transform-scale, image-transform-right-angle-fudge): New vars.
13972 (image-transform-width, image-transform-fit-width): New functions.
13973 (image-transform-properties): Use them.
13974 (image-transform-check-size): New function.
13975 (image-toggle-display-image): Use it (for testing).
13976 (image-transform-set-rotation): Reduce angle mod 360.
13977 Delete obsolete comment.
13979 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13981 * image-mode.el: Fix scaling (bug#11399).
13982 (image-transform-resize): Doc fix.
13983 (image-transform-properties): Default scale is 1 and height should
13986 2012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
13988 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
13989 than hard-coding `car', to fix misbehavior when moving forward.
13991 2012-05-13 Chong Yidong <cyd@gnu.org>
13993 * emacs-lisp/tabulated-list.el (tabulated-list-format)
13994 (tabulated-list-entries, tabulated-list-padding)
13995 (tabulated-list-sort-key): Make permanent-local.
13997 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
13998 (electric-buffer-list): Put electric buffer menu
13999 command descriptions in this docstring, instead of the docstring
14000 of electric-buffer-menu-mode. Code cleanups.
14001 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
14002 Electric-buffer-menu-mode.
14003 (electric-buffer-update-highlight): Minor code cleanup.
14005 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
14007 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
14010 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14012 Move define-obsolete-variable-alias before the var's definition.
14013 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
14014 * tooltip.el (tooltip-hook):
14015 * textmodes/reftex-toc.el (reftex-toc-map):
14016 * textmodes/reftex-sel.el (reftex-select-label-map)
14017 (reftex-select-bib-map):
14018 * textmodes/reftex-index.el (reftex-index-map)
14019 (reftex-index-phrases-map):
14020 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
14021 * progmodes/meta-mode.el (meta-mode-map):
14022 * novice.el (disabled-command-hook):
14023 * loadhist.el (unload-hook-features-list):
14024 * frame.el (blink-cursor):
14025 * files.el (find-file-not-found-hooks, write-file-hooks)
14026 (write-contents-hooks):
14027 * emulation/tpu-edt.el (GOLD-map):
14028 * emacs-lock.el (emacs-lock-from-exiting):
14029 * emacs-lisp/generic.el (generic-font-lock-defaults):
14030 * emacs-lisp/chart.el (chart-map):
14031 * dos-fns.el (register-name-alist):
14032 * dired-x.el (dired-omit-files-p):
14033 * desktop.el (desktop-enable):
14034 * cus-edit.el (custom-mode-hook):
14035 * buff-menu.el (buffer-menu-mode-hook):
14036 * bookmark.el (bookmark-read-annotation-text-func)
14037 (bookmark-exit-hooks):
14038 * allout.el (allout-mode-deactivate-hook)
14039 (allout-exposure-change-hook, allout-structure-added-hook)
14040 (allout-structure-deleted-hook, allout-structure-shifted-hook):
14041 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
14042 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
14043 comes before the corresponding variable's definition.
14045 2012-05-12 Chong Yidong <cyd@gnu.org>
14047 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
14048 (Buffer-menu-mouse-select): Restore function (Bug#11459).
14049 (Buffer-menu-mode-map): Bind it.
14050 (Buffer-menu--pretty-name): Add a mouse-face property.
14052 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
14054 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
14055 (prolog-upper-case-string, prolog-lower-case-string)
14056 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
14057 (prolog-use-smie, prolog-smie-grammar): New vars.
14058 (prolog-smie-forward-token, prolog-smie-backward-token)
14059 (prolog-smie-rules): New funs.
14060 (prolog-comment-indent): Remove.
14061 (prolog-mode-variables): Use default comment indentation instead.
14063 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
14064 (prolog-mode): Don't call them any more.
14065 (prolog-electric-colon, prolog-electric-dash)
14066 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
14068 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
14070 * minibuffer.el (completion--twq-all): Again, allow case differences.
14072 * term.el: Move keymap initialization code to be more idiomatic.
14073 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
14074 (term-terminal-menu): Move initialization into declaration.
14075 (term-escape-char): Let the user set it in her .emacs.
14077 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
14078 Provide SMIE-based indentation (not enabled by default yet).
14079 (sh-mode-map): Don't bind electric keys.
14080 Use electric-pair-mode instead of skeleton-pair.
14081 (sh-assignment-regexp): Fit within 80 columns.
14082 (sh-indent-supported): Specify actual shell name instead of boolean.
14083 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
14084 (sh-maybe-here-document): Use it. Make obsolete.
14085 (sh-electric-here-document-mode) New minor mode.
14086 (sh-mode): Use it. Don't set sh-indent-supported-here here.
14087 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
14088 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
14089 (sh-smie-rc-grammar, sh-use-smie): New vars.
14090 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
14091 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
14092 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
14093 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
14094 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
14095 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
14096 (sh-set-shell): Use smie-setup if requested.
14098 * term.el (term-set-escape-char): Properly set term-escape-char.
14099 See http://stackoverflow.com/questions/10524656.
14101 2012-05-10 Chong Yidong <cyd@gnu.org>
14103 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
14104 Use url-generic-parse-url, and handle host names and Windows
14105 filenames properly.
14106 (ffap-url-unwrap-remote): Use url-generic-parse-url.
14107 (ffap-url-unwrap-remote): Accept list values, specifying a list of
14108 URL schemes to work on.
14109 (ffap--toggle-read-only): New function.
14110 (ffap-read-only, ffap-read-only-other-window)
14111 (ffap-read-only-other-frame): Use it.
14112 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
14113 necessary for ffap-url-unwrap-remote.
14115 2012-05-10 Dave Abrahams <dave@boostpro.com>
14117 * cus-start.el (create-lockfiles): Add it.
14119 2012-05-09 Chong Yidong <cyd@gnu.org>
14121 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
14122 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
14124 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14126 * shell.el (shell-completion-vars): Fix last change (bug#11348).
14128 2012-05-09 Chong Yidong <cyd@gnu.org>
14130 * ansi-color.el (ansi-color-process-output): Check for validity of
14131 comint-last-output-start before using it. This avoids a bad
14132 interaction with gdb-mi's input/output buffer.
14134 2012-05-09 Glenn Morris <rgm@gnu.org>
14136 * files.el (dir-locals-read-from-file):
14137 Mention dir-locals in any error message.
14139 2012-05-09 Chong Yidong <cyd@gnu.org>
14141 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
14142 package (Bug#11410).
14144 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
14145 variables into description.
14147 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14149 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
14150 shell-delimiter-argument-list (bug#11348).
14151 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
14153 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
14155 * textmodes/rst.el: Silence byte-compiler warnings.
14156 (rst-re-alist, rst-reset-section-caches): Move around.
14157 (rst-re): Use `characterp', not `char-valid-p'.
14158 (font-lock-beg, font-lock-end): Declare.
14160 * progmodes/idlw-shell.el (specs): Remove reference to deleted
14161 variable `idlwave-shell-activate-alt-keybindings' and simplify.
14163 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
14165 2012-05-08 Glenn Morris <rgm@gnu.org>
14167 * files.el (auto-mode-alist): Treat ".make" like ".mk".
14169 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14171 * vc/log-edit.el: Add GNU coding standards highlighting.
14172 (log-edit-font-lock-gnu-style)
14173 (log-edit-font-lock-gnu-keywords): New vars.
14174 (log-edit-font-lock-keywords): New fun.
14175 (log-edit-mode): Don't fold case in font-lock.
14176 (log-edit-font-lock-keywords): Do not assume case-folding.
14178 * imenu.el: Misc cleanup. Make docstrings out of comments.
14179 Use lexical-binding.
14180 (imenu--index-alist, imenu--last-menubar-index-alist)
14181 (imenu-menubar-modified-tick): Use defvar-local.
14182 (imenu--split-menu): Remove unused var.
14183 (imenu--cleanup-seen): Declare as global.
14184 (imenu--cleanup): Use dolist.
14186 * subr.el (defvar-local): Add debug spec and doc-string position.
14188 2012-05-08 Glenn Morris <rgm@gnu.org>
14190 * language/burmese.el, language/cham.el, language/czech.el:
14191 * language/english.el, language/georgian.el, language/greek.el:
14192 * language/japanese.el, language/khmer.el, language/korean.el:
14193 * language/lao.el, language/misc-lang.el, language/romanian.el:
14194 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
14195 * language/thai.el, language/utf-8-lang.el:
14196 Remove no-byte-compile setting.
14198 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
14200 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14202 * progmodes/make-mode.el (makefile-browse):
14203 Remove unnecessary interactive. (Bug#11324)
14205 2012-05-07 Glenn Morris <rgm@gnu.org>
14207 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
14209 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
14211 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14213 * loadup.el: Preload newcomment.el.
14214 * newcomment.el: Move autoload-only code to toplevel.
14216 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
14217 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
14218 Handle new :right-align column property.
14219 (tabulated-list-print-col): Idem, plus use `display' text-property to
14220 try and preserve alignment for variable pitch fonts.
14222 2012-05-07 Chong Yidong <cyd@gnu.org>
14224 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
14225 (tabulated-list-use-header-line): New var.
14226 (tabulated-list-init-header): Use it.
14227 (tabulated-list-print-fake-header): New function.
14228 (tabulated-list-print): Use it.
14229 (tabulated-list-sort-button-map): Add non-header-line commands.
14230 (tabulated-list-init-header): Add column name property to basic
14232 (tabulated-list-col-sort): Handle non-header-line button case.
14233 (tabulated-list--sort-by-column-name): Fix a corner case.
14235 * buff-menu.el (list-buffers--refresh):
14236 Handle Buffer-menu-use-header-line.
14238 2012-05-06 Chong Yidong <cyd@gnu.org>
14240 * buff-menu.el: Convert to Tabulated List mode.
14241 (Buffer-menu-buffer+size-width): Make obsolete.
14242 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
14243 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
14244 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
14245 documentation into docstring of buffer-menu.
14246 (Buffer-menu-toggle-files-only): Add an informative message.
14247 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
14248 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
14249 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
14250 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
14251 (Buffer-menu-execute, Buffer-menu-select)
14252 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
14253 (Buffer-menu-bury): Use Tabulated List machinery.
14254 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
14255 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
14257 (list-buffers--refresh): New function.
14258 (list-buffers-noselect): Use it.
14259 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
14260 (Buffer-menu--pretty-file-name): New helper functions.
14262 * loadup.el: Preload tabulated-list.
14264 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
14265 tabulated-list-sort-column.
14266 (tabulated-list-init-header): Add the initial aligning space even
14267 if tabulated-list-padding is zero.
14269 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
14271 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
14272 whose cdr is not a cons cell correctly (bug#11038).
14274 2012-05-06 Chong Yidong <cyd@gnu.org>
14276 * emacs-lisp/tabulated-list.el (tabulated-list-format):
14277 Accept additional plist in column descriptors.
14278 (tabulated-list-init-header): Obey it.
14279 (tabulated-list-get-entry): New function.
14280 (tabulated-list-put-tag): Use it. Use string-width instead of
14282 (tabulated-list--column-number): New function.
14283 (tabulated-list-print): Use it.
14284 (tabulated-list-print-col): New function.
14285 Set `tabulated-list-column-name' property on each column's text.
14286 (tabulated-list-print-entry): Use it.
14287 (tabulated-list-delete-entry, tabulated-list-set-col):
14289 (tabulated-list-sort-column): New command (Bug#11337).
14291 * buff-menu.el (list-buffers): Move C-x C-b binding from
14292 buff-menu.el to bindings.el.
14294 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
14295 :advertised-binding feature.
14297 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
14299 * progmodes/compile.el (compilation-internal-error-properties):
14300 Calculate start position correctly when end-col is set but
14301 end-line is not (Bug#11382).
14303 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
14305 * man.el (Man-unindent): Use text-property-default-nonsticky to
14306 prevent untabify from inheriting face properties (Bug#11408).
14308 2012-05-05 Stefan Merten <smerten@oekonux.de>
14310 * textmodes/rst.el: Major merge with upstream development up to
14311 Docutils SVN r7399 / rst.el V1.2.1.
14313 Clarify maintainership and authors.
14315 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
14316 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
14317 (rst-official-version, rst-official-cvs-rev, rst-version)
14318 (rst-package-emacs-version-alist): New functions and variables
14319 for version information.
14321 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
14322 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
14323 (rst-mode-syntax-table, rst-mode): New and corrected functions
14324 and variables representing reStructuredText features.
14326 (rst-re): New function for reStructuredText regexes. Use in
14329 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
14330 (rst-mode-map): Rebind keys.
14332 (rst-mode-lazy, rst-font-lock-keywords)
14333 (rst-font-lock-extend-region)
14334 (rst-font-lock-extend-region-internal)
14335 (rst-font-lock-extend-region-extend)
14336 (rst-font-lock-find-unindented-line-limit)
14337 (rst-font-lock-find-unindented-line-match)
14338 (rst-adornment-level, rst-font-lock-adornment-level)
14339 (rst-font-lock-adornment-match)
14340 (rst-font-lock-handle-adornment-pre-match-form)
14341 (rst-font-lock-handle-adornment-matcher): Major revision of
14342 font-locking. Integrate with other code. Use `jit-lock-mode'.
14344 (rst-preferred-adornments, rst-adjust-hook)
14345 (rst-new-adornment-down, rst-preferred-bullets)
14346 (rst-preferred-bullets, rst-indent, rst-indent-width)
14347 (rst-indent-field, rst-indent-literal-normal)
14348 (rst-indent-literal-minimized, rst-indent-comment): Change,
14349 extend and improve customization.
14351 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
14352 (rst-normalize-cursor-position, rst-get-decoration)
14353 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
14354 (rst-rstrip, rst-toc-insert-find-delete-contents)
14355 (rst-shift-fill-region, rst-compute-bullet-tabs)
14356 (rst-debug-print-tabs, rst-debug-mark-found)
14357 (rst-shift-region-guts, rst-shift-region-right)
14358 (rst-shift-region-left, rst-use-char-classes)
14359 (rst-font-lock-keywords-function)
14360 (rst-font-lock-indentation-point)
14361 (rst-font-lock-find-unindented-line-begin)
14362 (rst-font-lock-find-unindented-line-end)
14363 (rst-font-lock-find-unindented-line)
14364 (rst-font-lock-adornment-point, rst-font-lock-level)
14365 (rst-adornment-level-alist): Remove functions and variables.
14367 (rst-compare-adornments, rst-get-adornment-match)
14368 (rst-suggest-new-adornment, rst-get-adornments-around)
14369 (rst-adornment-complete-p, rst-get-next-adornment)
14370 (rst-adjust-adornment, rst-display-adornments-hierarchy)
14371 (rst-straighten-adornments): Standardize function names to
14372 use "adornment" instead of "decoration". Correct callers.
14373 Similar standardizing in many places.
14375 (rst-update-section, rst-adjust, rst-promote-region)
14376 (rst-enumerate-region, rst-bullet-list-region)
14377 (rst-repeat-last-character): Correct use of `interactive'.
14379 (rst-classify-adornment, rst-find-all-adornments)
14380 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
14381 (rst-find-leftmost-column, rst-repeat-last-character):
14382 Refactor functions.
14384 (rst-find-title-line, rst-reset-section-caches)
14385 (rst-get-adornments-around, rst-adjust-adornment-work)
14386 (rst-arabic-to-roman, rst-roman-to-arabic)
14387 (rst-insert-list-pos, rst-insert-list-new-item)
14388 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
14391 (rst-all-sections, rst-section-hierarchy)
14392 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
14395 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
14396 configuration instead of only buffer. Change where necessary.
14398 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
14399 (rst-shift-region, rst-adaptive-fill): New functions for
14400 indentation and filling.
14402 (rst-comment-line-break, rst-comment-indent)
14403 (rst-comment-insert-comment, rst-comment-region)
14404 (rst-uncomment-region): New functions for handling comments.
14406 (rst-compile): Quote shell arguments.
14408 (rst-compile-pdf-preview, rst-compile-slides-preview):
14409 Delete temporary files after use.
14411 2012-05-05 Glenn Morris <rgm@gnu.org>
14413 * calendar/cal-html.el: Optionally include holidays in the output.
14414 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
14415 (cal-html-holidays): New option.
14416 (cal-html-css-default): Add holiday entry.
14417 (holiday-in-range): Autoload it.
14418 (cal-html-htmlify-entry): Add optional class argument.
14419 (cal-html-htmlify-list): Add optional holidays argument.
14420 (cal-html-insert-agenda-days): Include holidays in the output.
14421 (cal-html-one-month): Maybe include holidays.
14423 * calendar/holidays.el (holiday-in-range):
14424 Move here from cal-tex-list-holidays.
14425 * calendar/cal-tex.el (cal-tex-list-holidays):
14426 Make it an obsolete alias for holiday-in-range. Update all callers.
14428 2012-05-05 Chong Yidong <cyd@gnu.org>
14430 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
14433 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
14435 * files.el (file-auto-mode-skip): New var.
14436 (set-auto-mode-1): Use it.
14438 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14440 * repeat.el: Use lexical-binding.
14441 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
14442 (repeat-undo-count): Remove.
14444 * progmodes/octave-mod.el (octave-abbrev-start):
14445 * progmodes/f90.el (f90-abbrev-start):
14446 * face-remap.el (text-scale-adjust):
14447 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
14449 * emacs-lisp/pcase.el (pcase--let*): New function.
14450 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
14452 (pcase--split-pred): Be more clever about ruling out overlap between
14453 a predicate and some constant pattern.
14454 (pcase--q1): Use `null' instead of (eq foo nil).
14456 * subr.el (setq-local, defvar-local): New macros.
14457 (kbd): Redefine as an alias.
14458 (with-selected-window): Leave unrelated frames alone.
14459 (set-temporary-overlay-map): New function.
14461 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14463 * subr.el (user-error): New function.
14464 * window.el (switch-to-buffer):
14465 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
14466 (smerge-match-conflict):
14467 * simple.el (previous-matching-history-element)
14468 (next-matching-history-element, goto-history-element, undo-more)
14470 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
14471 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
14472 (next-file, tags-loop-scan, list-tags, complete-tag):
14473 * progmodes/compile.el (compilation-loop):
14474 * mouse.el (mouse-minibuffer-check):
14475 * man.el (Man-bgproc-sentinel, Man-goto-page):
14476 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
14477 (Info-history-forward, Info-follow-reference, Info-menu)
14478 (Info-extract-menu-item, Info-extract-menu-counting)
14479 (Info-forward-node, Info-backward-node, Info-next-menu-item)
14480 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
14481 (Info-next-reference, Info-prev-reference, Info-index)
14482 (Info-index-next, Info-follow-nearest-node)
14483 (Info-copy-current-node-name):
14484 * imenu.el (imenu--make-index-alist)
14485 (imenu-default-create-index-function, imenu-add-to-menubar):
14486 * files.el (basic-save-buffer, recover-file):
14487 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14488 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
14489 (checkdoc-message-text, checkdoc-defun):
14490 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
14491 * cus-edit.el (customize-changed-options, customize-rogue)
14492 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
14493 (custom-variable-mark-to-reset-standard)
14494 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
14496 * completion.el (check-completion-length):
14497 * comint.el (comint-search-arg)
14498 (comint-previous-matching-input-string-position)
14499 (comint-previous-matching-input)
14500 (comint-replace-by-expanded-history-before-point, comint-send-input)
14501 (comint-copy-old-input, comint-backward-matching-input)
14502 (comint-goto-process-mark, comint-set-process-mark):
14503 * calendar/calendar.el (calendar-cursor-to-date): Use it.
14504 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
14506 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14508 * dabbrev.el (dabbrev--ignore-case-p): New function.
14509 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
14512 * files.el (automount-dir-prefix): Mark as obsolete.
14514 2012-05-04 Glenn Morris <rgm@gnu.org>
14516 * patcomp.el, play/bruce.el: Move to obsolete/.
14518 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
14520 Fix minor Y10k bugs.
14521 * arc-mode.el (archive-unixdate):
14522 * autoinsert.el (auto-insert-alist):
14523 * calc/calc-forms.el (math-this-year):
14524 * emacs-lisp/copyright.el (copyright-current-year)
14525 (copyright-update-year, copyright):
14526 * tar-mode.el (tar-clip-time-string):
14527 * time.el (display-time-update):
14528 Don't assume years have 4 digits.
14530 2012-05-04 Chong Yidong <cyd@gnu.org>
14532 * dos-w32.el (file-name-buffer-file-type-alist)
14533 (direct-print-region-use-command-dot-com):
14534 * ffap.el (ffap-menu-regexp):
14535 * find-file.el (ff-special-constructs):
14536 * follow.el (follow-debug):
14537 * forms.el (forms--debug):
14538 * iswitchb.el (iswitchb-all-frames):
14539 * ido.el (ido-all-frames):
14540 * emacs-lisp/timer.el (timer-max-repeats):
14541 * mail/feedmail.el (feedmail-mail-send-hook)
14542 (feedmail-mail-send-hook-queued):
14543 * mail/footnote.el (footnote-signature-separator):
14544 * mail/mailabbrev.el (mail-alias-separator-string)
14545 (mail-abbrev-mode-regexp):
14546 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
14547 * progmodes/idlwave.el (idlwave-libinfo-file)
14548 (idlwave-default-completion-case-is-down)
14549 (idlwave-library-routines): Convert defvars to defcustoms.
14551 * mail/rmail.el (rmail-decode-mime-charset):
14552 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
14553 (idlwave-shell-fix-inserted-breaks)
14554 (idlwave-shell-activate-alt-keybindings)
14555 (idlwave-shell-use-breakpoint-glyph):
14556 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
14558 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14560 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
14562 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
14564 * progmodes/verilog-mode.el (font-lock-keywords):
14565 Fix mis-highligting auto. Reported by Craig Barner.
14566 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
14567 defines from global name space. Reported by Dan Dever.
14568 (verilog-auto-reset, verilog-auto-reset-widths)
14569 (verilog-auto-tieoff): Support using unbased numbers for
14570 AUTORESET and AUTOTIEOFF.
14571 (verilog-submit-bug-report): Update variable list.
14572 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
14573 parenthesis from not matching. Reported by Michael Rytting.
14574 (verilog-auto-template-lint): Fix hash error when linting modules
14575 with no used templates.
14576 (verilog-warn, verilog-warn-error)
14577 (verilog-warn-fatal): When non-interactive report multiple
14578 warnings before exiting. Suggested by Brad Dobbie.
14579 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
14580 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
14581 to report unused template errors. Reported by Brad Dobbie.
14582 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
14583 nets, bug438. Reported by Vns Blore.
14584 (verilog-auto-inout-module, verilog-auto-reg)
14585 (verilog-read-decls, verilog-read-sub-decls-sig)
14586 (verilog-signals-edit-wire-reg, verilog-signals-with):
14587 Fix passing of Verilog data types in ANSI input/output ports
14588 such as "output logic" into the AUTOs. Special case "wire" and
14589 "reg" for backwards compatibility presuming Verilog 2001.
14590 (verilog-auto-ascii-enum): Add "auto enum" as alias.
14591 (verilog-preprocess): Fix replication of preprocess output.
14592 Reported by Brad Dobbie.
14593 (verilog-auto-inst-interfaced-ports):
14594 Create verilog-auto-inst-interfaced-ports, bug429.
14595 Reported by Julian Gorfajn.
14596 (verilog-after-save-font-hook)
14597 (verilog-before-save-font-hook): New variable.
14598 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
14599 (verilog-save-font-mods): Wrap disabling fontification, reported
14601 (verilog-do-indent, verilog-pretty-declarations-auto)
14602 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
14603 Reported by Pierre-David Pfister.
14604 (verilog-set-auto-endcomments): Fix endtask auto comments outside
14605 of class declarations, bug292. Reported by Kevin Heilman.
14606 (verilog-read-decls): Fix 'parameter type' not appearing in
14607 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
14608 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
14609 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
14610 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
14611 Reported by David Kravitz.
14613 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
14615 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
14616 assignment with tests in ifs and for loops.
14617 (verilog-extended-complete-re, verilog-complete-reg): Change so
14618 that DPI inport functions don't look like fuction declarations.
14619 (verilog-pretty-expr): Don't line up assignment
14620 operations to the test and increment in if and for loops
14621 (verilog-extended-complete-re, verilog-complete-reg): Change so
14622 that DPI inport functions don't look like fuction declarations.
14624 2012-05-03 Kenichi Handa <handa@m17n.org>
14626 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
14627 decoding, and show a warning message without signaling an error
14630 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14632 * emacs-lisp/bytecomp.el
14633 (byte-compile-file-form-custom-declare-variable): Compile all elements,
14634 since cconv.el might have introduced :fun-body, internal-make-closure,
14635 and friends for bytecomp to handle (bug#11391).
14636 * custom.el (defcustom): Avoid ((λ ..) ..).
14638 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
14640 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
14642 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
14644 * notifications.el (dbus-debug):
14645 * term/linux.el (gpm-mouse-enable):
14646 * term/screen.el (xterm-register-default-colors): Declare.
14648 2012-05-02 Chong Yidong <cyd@gnu.org>
14650 * cus-start.el (gc-cons-percentage, exec-suffixes)
14651 (dos-display-scancodes, dos-hyper-key, dos-super-key)
14652 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
14653 (make-cursor-line-fully-visible, void-text-area-pointer)
14654 (font-list-limit): Add customization data.
14656 * allout.el (allout-exposure-change-functions)
14657 (allout-structure-added-functions)
14658 (allout-structure-deleted-functions)
14659 (allout-structure-shifted-functions): Rename abnormal hooks from
14660 *-hook, and convert to defcustoms.
14661 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
14662 Convert to defcustoms.
14663 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
14665 * allout-widgets.el: Hook callers changed.
14667 2012-05-02 Eli Zaretskii <eliz@gnu.org>
14669 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
14670 the yanked message in preference to the default value of
14671 buffer-file-coding-system.
14673 2012-05-02 Martin Rudalics <rudalics@gmx.at>
14675 * window.el (display-buffer--action-function-custom-type):
14678 2012-05-02 Alan Mackenzie <acm@muc.de>
14680 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
14682 2012-05-01 Glenn Morris <rgm@gnu.org>
14684 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
14686 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
14688 * cus-edit.el (custom-variable-documentation): Simplify with format.
14690 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14691 Stefan Monnier <monnier@iro.umontreal.ca>
14693 * simple.el (suggest-key-bindings, execute-extended-command):
14694 Move from keyboard.c.
14696 2012-05-01 Chong Yidong <cyd@gnu.org>
14698 * follow.el: Eliminate advice.
14699 (set-process-filter, process-filter, sit-for): Advice deleted.
14700 (follow-mode-off-hook): Obsolete hook removed.
14701 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
14703 (follow-auto): Use a :set function.
14704 (follow-mode): Rewritten. Don't advise process filters.
14705 (follow-switch-to-current-buffer-all, follow-scroll-up)
14706 (follow-scroll-down): Assume follow-mode is bound.
14707 (follow-comint-scroll-to-bottom)
14708 (follow-align-compilation-windows): New functions.
14709 (follow--window-sorter): New function.
14710 (follow-all-followers): Use it to explicitly sort windows by their
14711 positions; don't make assumptions about next-window order.
14712 (follow-windows-start-end, follow-delete-other-windows-and-split)
14713 (follow-calc-win-start): Doc fix.
14714 (follow-windows-aligned-p, follow-select-if-visible): Don't call
14715 vertical-motion unnecessarily.
14716 (follow-adjust-window): New function.
14717 (follow-post-command-hook): Use it.
14718 (follow-call-set-process-filter, follow-call-process-filter)
14719 (follow-intercept-process-output, follow-tidy-process-filter-alist)
14720 (follow-stop-intercept-process-output, follow-generic-filter):
14722 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
14723 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
14724 New functions, replacing advice on scroll-bar-* commands.
14725 (follow-mwheel-scroll): New function (Bug#4112).
14727 * comint.el (comint-adjust-point): New function.
14728 (comint-postoutput-scroll-to-bottom): Use it.
14729 Call follow-comint-scroll-to-bottom for Follow mode buffers.
14731 2012-05-01 Glenn Morris <rgm@gnu.org>
14733 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
14734 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
14735 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
14736 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
14737 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
14738 Remove no-byte-compile setting.
14740 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
14742 * minibuffer.el (completion-table-with-quoting): Fix compatibility
14743 all-completions code to not return a number in the last cdr.
14745 2012-04-30 Leo Liu <sdl.web@gmail.com>
14747 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
14750 2012-04-29 Chong Yidong <cyd@gnu.org>
14752 * follow.el (follow-calc-win-end): Rewrite to handle partial
14753 screen lines correctly (Bug#8390).
14754 (follow-avoid-tail-recenter): Minor cleanup.
14756 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14758 Avoid the obsolete `assoc' package.
14759 * speedbar.el (speedbar-refresh): Avoid adelete.
14760 (speedbar-file-lists): Simplify and avoid aput.
14761 * man.el (Man--sections, Man--refpages): New vars, replacing
14762 Man-sections-alist and Man-refpages-alist.
14763 (Man-build-section-alist, Man-build-references-alist):
14764 Use them; avoid aput.
14765 (Man--last-section, Man--last-refpage): New vars.
14766 (Man-follow-manual-reference): Use them.
14767 Use the `default' arg of completing-read.
14768 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
14770 2012-04-27 Chong Yidong <cyd@gnu.org>
14772 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
14774 * startup.el (x-apply-session-resources): New function.
14776 * term/ns-win.el (ns-initialize-window-system):
14777 * term/w32-win.el (w32-initialize-window-system):
14778 * term/x-win.el (x-initialize-window-system): Use it to properly
14779 set menu-bar-mode and other vars from X resources, even if the
14780 initial frame is not a window-system frame (Bug#2299).
14782 * subr.el (read-key): Avoid running filter function when setting
14783 up temporary tool bar entries (Bug#9922).
14785 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14787 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
14790 2012-04-27 Chong Yidong <cyd@gnu.org>
14792 * select.el (xselect--encode-string): New function, split from
14793 xselect-convert-to-string.
14794 (xselect-convert-to-string): Use it.
14795 (xselect-convert-to-filename, xselect-convert-to-os)
14796 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
14797 returned strings are properly encoded (Bug#11315).
14799 2012-04-27 Chong Yidong <cyd@gnu.org>
14801 * simple.el (delete-active-region): Move to killing custom group.
14803 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14805 * progmodes/which-func.el (which-func-current): Quote %
14806 characters for mode-line processing.
14808 2012-04-27 Chong Yidong <cyd@gnu.org>
14810 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
14811 reaching eob (Bug#11286).
14813 2012-04-27 Eli Zaretskii <eliz@gnu.org>
14815 * progmodes/gdb-mi.el (gdb-control-level): New variable.
14816 (gdb): Make it buffer-local and init to zero.
14817 (gdb-control-commands-regexp): New variable.
14818 (gdb-send): Don't wrap in "-interpreter-exec console" if
14819 gdb-control-level is positive. Increment gdb-control-level
14820 whenever the command matches gdb-control-commands-regexp, and
14821 decrement it each time the command is "end". (Bug#11279)
14823 2012-04-27 Martin Rudalics <rudalics@gmx.at>
14825 * window.el (adjust-window-trailing-edge, enlarge-window)
14826 (shrink-window, window-resize):
14827 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
14828 windows (Bug#11276).
14830 2012-04-27 Chong Yidong <cyd@gnu.org>
14832 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
14833 fix "missing prefix" warning. All callers changed.
14835 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14837 * emacs-lisp/assoc.el: Move to obsolete/.
14839 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14841 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
14843 * term/ns-win.el (ns-define-service):
14844 * progmodes/pascal.el (pascal-goto-defun):
14845 * progmodes/js.el (js--read-tab):
14846 * progmodes/etags.el (tags-lazy-completion-table):
14847 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
14848 * emacs-lisp/ewoc.el (ewoc--wrap):
14849 * emacs-lisp/assoc.el (aput, adelete, amake):
14850 * doc-view.el (doc-view-convert-current-doc):
14851 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
14853 2012-04-26 Chong Yidong <cyd@gnu.org>
14855 * image.el (image-type-from-buffer): Only return supported image
14858 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
14859 value, for symmetry with diff-end-of-hunk.
14860 (diff-split-hunk, diff-find-source-location)
14861 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
14862 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
14863 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
14864 compute the relevant hunk or file properly (Bug#6005).
14865 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
14867 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14876 * vc/vc.el: Replace lexical-let by lexical-binding.
14877 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
14878 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
14879 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
14881 2012-04-26 Chong Yidong <cyd@gnu.org>
14883 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
14884 (diff-mode-shared-map): Bind it to / and [remap undo].
14886 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
14887 (ediff-window-setup-function): Use it as the default, to set up
14888 windows based on whether the current frame is graphical (Bug#2138).
14889 (ediff-choose-window-setup-function-automatically): Make obsolete.
14891 * vc/ediff-init.el: Always define ediff-pixel-width/height.
14893 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14895 * ffap.el: Remove old code for obsolete package.
14896 (ffap-complete-as-file-p): Remove.
14898 Use completion-table-with-quoting for comint and pcomplete.
14899 * comint.el (comint--unquote&requote-argument)
14900 (comint--unquote-argument, comint--requote-argument): New functions.
14901 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
14902 (comint-quote-filename): Use regexp-opt-charset.
14903 (comint--common-suffix, comint--common-quoted-suffix)
14904 (comint--table-subvert): Remove.
14905 (comint-unquote-function, comint-requote-function): New vars.
14906 (comint--complete-file-name-data): Use them with
14907 completion-table-with-quoting.
14908 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
14909 * pcomplete.el (pcomplete-arg-quote-list)
14910 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
14911 (pcomplete-unquote-argument-function): Default to non-nil.
14912 (pcomplete-unquote-argument): Simplify.
14913 (pcomplete--common-quoted-suffix): Remove.
14914 (pcomplete-requote-argument-function): New var.
14915 (pcomplete--common-suffix): New function.
14916 (pcomplete-completions-at-point): Use completion-table-with-quoting
14917 and completion-table-subvert.
14919 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
14920 (minibuffer--double-dollars): Preserve properties.
14921 (completion--sifn-requote): New function.
14922 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
14924 * minibuffer.el: Add support for completion of quoted/escaped data.
14925 (completion-table-with-quoting, completion-table-subvert): New funs.
14926 (completion--twq-try, completion--twq-all): New functions.
14927 (completion--nth-completion): New function.
14928 (completion-try-completion, completion-all-completions): Use it.
14930 2012-04-25 Leo Liu <sdl.web@gmail.com>
14932 * progmodes/python.el (python-pdbtrack-get-source-buffer):
14933 Use compilation-message if available to find real filename.
14935 2012-04-25 Chong Yidong <cyd@gnu.org>
14937 * vc/diff-mode.el (diff-setup-whitespace): New function.
14938 (diff-mode): Use it.
14940 * vc/diff.el (diff-sentinel):
14941 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
14942 Whitespace mode variables based on diff style (Bug#8612).
14944 2012-04-25 Leo Liu <sdl.web@gmail.com>
14946 * progmodes/python.el (python-send-region): Add suffix .py to the
14949 * files.el (auto-mode-alist): Use javascript-mode instead.
14951 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
14953 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
14955 * net/soap-client.el (soap-resolve-references-for-sequence-type)
14956 (soap-resolve-references-for-array-type): Hack to prevent self
14957 references, see Bug#9.
14958 (soap-parse-envelope): Report the contents of the 'detail' node
14959 when receiving a fault reply.
14960 (soap-parse-envelope): Report the contents of the entire 'detail' node.
14962 * net/soap-inspect.el (soap-sample-value-for-simple-type)
14963 (soap-inspect-simple-type): New function.
14965 * net/soap-client.el (soap-simple-type): New struct.
14966 (soap-default-xsd-types, soap-default-soapenc-types)
14967 (soap-decode-basic-type, soap-encode-basic-type):
14968 support unsignedInt and double basic types.
14969 (soap-resolve-references-for-simple-type)
14970 (soap-parse-simple-type, soap-encode-simple-type): New function.
14971 (soap-parse-schema): Parse xsd:simpleType declarations.
14973 * net/soap-client.el (soap-default-xsd-types)
14974 (soap-default-soapenc-types): Add integer, byte and anyURI types.
14975 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
14976 the local name of "soapenc:Array".
14977 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
14978 decoding integer, byte and anyURI xsd types.
14980 2012-04-25 Chong Yidong <cyd@gnu.org>
14982 * cus-edit.el (custom-buffer-create-internal): Update header text.
14984 2012-04-25 Eli Zaretskii <eliz@gnu.org>
14986 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
14987 settings on 'system-type', not on 'window-system'. On MS-Windows,
14988 set interactive-mode on in GDB.
14990 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14992 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
14993 (ruby-syntax-propertize-regexp): Remove.
14994 (ruby-syntax-propertize-function): Split regexp into chunks.
14995 Match following code directly.
14997 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
14999 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
15000 (ruby-syntax-propertize-regexp): New function.
15001 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
15002 by a special keyword.
15004 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
15005 (ruby-syntax-general-delimiters-goto-beg)
15006 (ruby-syntax-propertize-general-delimiters): New functions.
15007 (ruby-syntax-propertize-function): Use them to handle GDL.
15008 (ruby-font-lock-keywords): Move old handling of GDL...
15009 (ruby-font-lock-syntactic-keywords): .. to here.
15010 (ruby-calculate-indent): Adjust indentation for GDL.
15012 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
15014 * notifications.el (top): Remove unneeded declarations.
15015 (notifications-specification-version): Change to "1.2".
15016 (notifications-interface, notifications-notify-method)
15017 (notifications-close-notification-method): Fix docstring.
15018 (notifications-get-capabilities-method): New defconst.
15019 (notifications-notify): Add :action-items, :resident and
15020 :transient hints. Change "image_data" to "image-data" and
15021 "image_path" to "image-path".
15022 (notifications-get-capabilities): New defun.
15024 2012-04-24 Leo Liu <sdl.web@gmail.com>
15026 * progmodes/python.el: Move hideshow setup to the end.
15028 2012-04-24 Martin Rudalics <rudalics@gmx.at>
15030 * window.el (handle-select-window): Clear echo area since this is
15031 no more done by read_char (Bug#11304).
15033 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15035 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
15036 and `/ M' to filter-derived-mode.
15037 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
15038 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
15039 (ibuffer-mark-by-mode): Use default rather than initial-input.
15040 (ibuffer-filter-by-derived-mode): Autoload and require-match.
15042 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
15044 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
15045 (ibuffer-filter-by-derived-mode): New filter.
15046 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
15048 2012-04-23 Andreas Politz <politza@fh-trier.de>
15050 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
15052 2012-04-23 Chong Yidong <cyd@gnu.org>
15054 * cus-edit.el (customize-apropos, customize-apropos-options):
15055 Disable matching of non-option variables (Bug#11176).
15056 (customize-option, customize-option-other-window)
15057 (customize-changed-options): Doc fix.
15058 (customize-apropos-options, customize-apropos-faces)
15059 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
15061 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
15062 Fix word list splitting (Bug#11132).
15063 (apropos-symbol, apropos-keybinding, apropos-label)
15064 (apropos-property, apropos-function-button)
15065 (apropos-variable-button, apropos-misc-button): New faces.
15066 (apropos-symbol-face, apropos-keybinding-face)
15067 (apropos-label-face, apropos-property-face, apropos-match-face):
15068 Variables removed (Bug#8396).
15069 (apropos-library-button, apropos-format-plist, apropos-print)
15070 (apropos-print-doc, apropos-describe-plist): Callers changed.
15072 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
15074 * net/xesam.el (xesam-mode-map): Use let-bound map in
15075 initialization. (Bug#11292)
15077 2012-04-23 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
15079 Preserve ispell session localwords when switching back to
15082 * textmodes/ispell.el (ispell-buffer-session-localwords):
15083 New buffer-local variable to hold buffer session localwords.
15084 (ispell-kill-ispell): Add option 'clear to delete session
15086 (ispell-command-loop, ispell-change-dictionary)
15087 (ispell-buffer-local-words): Preserve session localwords when
15090 * textmodes/flyspell.el (flyspell-process-localwords)
15091 (flyspell-do-correct): Preserve session localwords when needed.
15093 2012-04-23 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
15095 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
15096 using obsolete `translation-table-for-input'.
15097 (ispell-word, ispell-process-line, ispell-complete-word):
15098 Use plain `insert' instead of removed `ispell-insert-word'.
15100 2012-04-22 Chong Yidong <cyd@gnu.org>
15102 * cus-edit.el (custom-variable-menu)
15103 (custom-variable-reset-saved, custom-face-menu)
15104 (custom-face-reset-saved): If there is no saved value, make the
15105 "reset-saved" operation bring back the default (Bug#9509).
15106 (custom-face-state): Properly detect themed faces.
15108 * faces.el (face-spec-set): Stop supporting deprecated form of
15111 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
15113 Move functions from C to Lisp. Make non-blocking method calls
15114 the default. Implement further D-Bus standard interfaces.
15116 * net/dbus.el (dbus-message-internal): Declare function.
15117 Remove unneeded function declarations.
15118 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
15119 (dbus-message-type-method-return, dbus-message-type-error)
15120 (dbus-message-type-signal): Declare variables. Remove local
15122 (dbus-interface-dbus, dbus-interface-peer)
15123 (dbus-interface-introspectable, dbus-interface-properties)
15124 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
15126 (dbus-interface-objectmanager): New defconst.
15127 (dbus-call-method, dbus-call-method-asynchronously)
15128 (dbus-send-signal, dbus-method-return-internal)
15129 (dbus-method-error-internal, dbus-register-service)
15130 (dbus-register-signal, dbus-register-method): New defuns, moved
15132 (dbus-call-method-handler, dbus-setenv)
15133 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
15135 (dbus-call-method-non-blocking): Make it an obsolete function.
15136 (dbus-unregister-object, dbus-unregister-service)
15137 (dbus-handle-event, dbus-register-property)
15138 (dbus-property-handler): Obey the new structure of
15139 `bus-registered-objects'.
15140 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
15141 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15142 Use `dbus-call-method'.
15144 2012-04-22 Chong Yidong <cyd@gnu.org>
15146 * cus-edit.el (custom-commands, custom-reset-menu)
15147 (Custom-reset-standard): Tweak labels.
15148 (custom-reset-button-menu): Change default to t.
15149 (custom-buffer-create-internal): For the custom-reset-button-menu
15150 case, put the revert button first.
15151 (custom-group-subtitle): New face.
15152 (custom-group-value-create): Align docstring to a specific column.
15154 * wid-edit.el (widget-documentation-link-add): Don't handle
15155 indentation in this function.
15156 (widget-documentation-string-indent-to): New function.
15157 (widget-documentation-string-value-create): Use it.
15159 * autorevert.el (auto-revert):
15160 * epg-config.el (epg):
15161 * ibuffer.el (ibuffer):
15164 * eshell/eshell.el (eshell):
15165 * net/ange-ftp.el (ange-ftp):
15166 * progmodes/ebnf2ps.el (postscript):
15167 * progmodes/flymake.el (flymake):
15168 * progmodes/prolog.el (prolog):
15169 * progmodes/verilog-mode.el (verilog-mode):
15170 * progmodes/which-func.el (which-func):
15171 * term/xterm.el (xterm):
15172 * textmodes/picture.el (picture):
15173 * textmodes/tildify.el (tildify):
15174 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
15175 customization buffers.
15177 2012-04-22 Alan Mackenzie <acm@muc.de>
15179 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
15180 Adding a ) can hide the resulting (..) from searches. Fix it.
15181 Bound the backward search to the position of the existing (.
15183 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
15185 * progmodes/verilog-mode.el (verilog-mode): Check whether
15186 which-func-modes is t before adding verilog-mode.
15187 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
15189 2012-04-21 Leo Liu <sdl.web@gmail.com>
15191 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
15193 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
15195 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
15196 filling of the last column of a table (Bug#5635).
15197 (woman-find-next-control-line): New arg, specifying an additional
15198 regexp component for the control line.
15199 (woman2-roff-buffer): Use it.
15200 (woman-break-table): New function.
15201 (woman2-TS): Use it.
15203 2012-04-21 Chong Yidong <cyd@gnu.org>
15205 * woman.el (woman-set-buffer-display-table, woman-decode-region)
15206 (woman-horizontal-escapes, woman-negative-vertical-space)
15207 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
15208 (WoMan-warn-ignored): Use ?\s instead of ?\ .
15210 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15212 * minibuffer.el (completion-file-name-table): Complete user names.
15214 2012-04-20 Leo Liu <sdl.web@gmail.com>
15216 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
15219 2012-04-20 Chong Yidong <cyd@gnu.org>
15221 * server.el (server-execute): Respect initial-buffer-choice if it
15222 is a string and there are no files to open (Bug#2825).
15223 (server-create-window-system-frame, server-create-tty-frame):
15224 Don't switch buffers here.
15225 (server-process-filter): Only try to open a window system frame if
15226 compiled with graphical support (Bug#8314).
15228 2012-04-20 Dan Nicolaescu <dann@gnu.org>
15230 * battery.el (battery-echo-area-format): Display remaining time
15231 for sysfs backend too (Bug#11269).
15232 (battery-linux-sysfs): Fix conditional for the charge.
15234 2012-04-20 Chong Yidong <cyd@gnu.org>
15236 * progmodes/gdb-mi.el (gdb): Revert previous change.
15237 (gdb-inferior-io--init-proc): New function.
15238 (gdb-init-1): Use it.
15239 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
15240 responsible for allocating a new pty and hooking it to gdb when
15241 the old pty gets an EIO due to process exit.
15242 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
15243 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
15244 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
15246 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15248 * window.el (window-min-size, window-sizable, window-min-delta)
15249 (window-max-delta, window--resizable, window-resizable)
15250 (window-total-size, window-full-height-p, window-full-width-p)
15251 (window-in-direction, window--resize-mini-window, window-resize)
15252 (window--resize-child-windows-normal)
15253 (window--resize-child-windows, window--resize-siblings)
15254 (window--resize-this-window, adjust-window-trailing-edge)
15255 (enlarge-window, shrink-window): Doc fixes.
15257 2012-04-20 Chong Yidong <cyd@gnu.org>
15259 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
15260 New function to call delete-process on the gdb-inferior buffer's pty.
15261 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
15262 pty process (Bug#11273).
15263 (gdb-update): New arg to suppress talking to the gdb process.
15264 (gdb-done-or-error): Use it.
15265 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
15266 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
15267 sentinel not being called.
15269 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
15271 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
15273 2012-04-20 Glenn Morris <rgm@gnu.org>
15275 * net/network-stream.el (open-network-stream): Doc fix.
15277 2012-04-20 Chong Yidong <cyd@gnu.org>
15279 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
15281 2012-04-20 Alan Mackenzie <acm@muc.de>
15283 Ensure searching for keywords is case sensitive.
15285 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
15286 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
15287 (c-defun-name, c-mark-function, c-cpp-define-name)
15288 (c-comment-indent, c-scan-conditionals, c-indent-defun)
15289 (c-context-line-break): Bind case-fold-search to nil.
15291 * progmodes/cc-mode.el (c-font-lock-fontify-region):
15292 Bind case-fold-search to nil.
15294 2012-04-20 Chong Yidong <cyd@gnu.org>
15296 * mail/sendmail.el (mail-bury): Call return action with the right
15297 Rmail buffer (Bug#11242).
15299 * server.el (server-process-filter): Handle corner case where both
15300 tty and nowait options are present (Bug#11102).
15302 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15304 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
15305 (top level): Put into the executable the ident-style '$Id:' tag on
15306 windows-nt as well.
15308 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15310 * electric.el (electric-indent-post-self-insert-function): Check that
15311 electric-indent-mode is enabled in current buffer.
15313 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15315 * imenu.el (imenu-progress-message): Restore; it is "used" in
15316 erc/erc-imenu.el and net/snmp-mode.el.
15318 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15320 * avoid.el (mouse-avoidance-mode): Mark unused arg.
15321 (mouse-avoidance-nudge-mouse): Remove unused binding.
15323 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
15325 * descr-text.el (describe-char):
15326 * progmodes/python.el (python-describe-symbol):
15327 Don't call `toggle-read-only', set `buffer-read-only'.
15329 * imenu.el (imenu-default-goto-function): Mark unused args.
15330 (imenu-progress-message): Remove obsolete macro; all callers changed.
15332 * subr.el (keymap-canonicalize): Remove unused binding.
15333 (read-passwd): Mark unused arg.
15335 * tutorial.el (tutorial--display-changes): Remove unused binding.
15336 (tutorial--save-tutorial-to): Remove unused variable.
15338 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
15339 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
15340 (package-generate-autoloads, package-menu--generate)
15341 (package-menu--find-upgrades): Remove unused bindings.
15343 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
15344 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
15345 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
15346 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
15347 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
15348 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
15349 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
15350 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
15351 (cua-delete-char-rectangle): Mark unused args.
15352 (cua-align-rectangle): Remove unused binding.
15354 * mail/rmail.el (compilation--message->loc)
15355 (epa--find-coding-system-for-mime-charset): Declare.
15357 * net/dbus.el (dbus-register-service): Declare.
15358 (dbus-name-owner-changed-handler): Remove unused binding.
15360 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
15361 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
15362 (nxml-scan-backward-within): Mark unused arg.
15363 (nxml-dynamic-markup-word): Remove unused binding.
15365 * mouse.el (mouse-menu-major-mode-map):
15366 * emacs-lisp/authors.el (authors-scan-change-log)
15367 (authors-add-to-author-list):
15368 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
15369 * emacs-lisp/smie.el (smie-auto-fill):
15370 * mail/sendmail.el (mail-bury):
15371 * mail/unrmail.el (unrmail):
15372 * net/tls.el (open-tls-stream):
15373 * textmodes/picture.el (picture-mouse-set-point):
15374 Remove unused bindings.
15376 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
15378 * net/tramp.el (tramp-action-password): Let-bind
15379 `enable-recursive-minibuffers' to t.
15381 2012-04-18 Sam Steingold <sds@gnu.org>
15383 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
15384 instead of 'string to accommodate values like [f11].
15385 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
15386 * progmodes/gdb-mi.el: Likewise.
15388 2012-04-18 Leo Liu <sdl.web@gmail.com>
15390 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
15392 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
15395 2012-04-18 Chong Yidong <cyd@gnu.org>
15397 * simple.el (line-move): Use forward-line if in batch mode
15400 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
15402 * files.el (after-find-file): Do not try to add a final newline if
15403 the buffer is read-only (Bug#11156).
15405 2012-04-17 Richard Stallman <rms@gnu.org>
15407 * mail/rmail.el (rmail-start-mail):
15408 Pass (rmail-mail-return...) for the return-action.
15409 Pass (rmail-yank-current-message...) for the yank-action.
15410 (rmail-yank-current-message): New function.
15411 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
15412 (rmail-reply): Likewise.
15413 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
15415 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
15416 buffer, not the last. Reject temp buffers. Use the rmail-mode
15417 buffer, not newbuf.
15419 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
15421 * server.el (server-ensure-safe-dir): Simplify.
15423 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15425 * emacs-lisp/smie.el: Provide smarter auto-filling.
15426 (smie-auto-fill): New function.
15427 (smie-setup): Use it.
15429 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
15431 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
15433 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
15434 (comment-indent): Use it.
15436 2012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
15438 * ses.el: The overall change is to add cell renaming, that is
15439 setting fancy names for cell symbols other than name matching
15440 "\\`[A-Z]+[0-9]+\\'" regexp .
15441 (ses-localvars): Add ses--renamed-cell-symb-list.
15442 (ses-create-cell-variable): New defun.
15443 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
15444 (ses-relocate-formula): Relocate formulas only for cells the
15445 symbols of which are not renamed, i.e. symbols whose names do not
15446 match regexp "\\`[A-Z]+[0-9]+\\'".
15447 (ses-relocate-all): Relocate values only for cells the symbols of
15448 which are not renamed.
15449 (ses-load): Create cells variables as the (ses-cell ...) are read,
15450 in order to check row col consistency with cell symbol name only
15451 for cells that are not renamed.
15452 (ses-replace-name-in-formula): New defun.
15453 (ses-rename-cell): New defun.
15455 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
15457 * progmodes/perl-mode.el (perl-indent-parens-as-block):
15458 New option (bug#11118).
15459 (perl-calculate-indent): Respect it.
15461 2012-04-17 Glenn Morris <rgm@gnu.org>
15463 * dired-aux.el (dired-mark-read-string): Doc fix.
15465 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
15467 * dired-aux.el (dired-mark-read-string): Offer optional completion.
15468 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
15470 2012-04-17 Glenn Morris <rgm@gnu.org>
15472 * mouse.el (mouse-drag-track):
15473 * speedbar.el (speedbar-frame-mode):
15474 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
15476 2012-04-16 Leo Liu <sdl.web@gmail.com>
15478 * progmodes/python.el: Trivial cleanup.
15480 2012-04-16 Glenn Morris <rgm@gnu.org>
15482 * vc/vc.el (vc-string-prefix-p):
15483 * vc/pcvs-util.el (cvs-string-prefix-p):
15484 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
15485 * mpc.el (mpc-string-prefix-p):
15486 Make all of these into obsolete aliases for string-prefix-p.
15488 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
15490 * textmodes/two-column.el: Move custom options to the start.
15491 (frame-width): Remove compat definition.
15492 (2C-associate-buffer, 2C-dissociate):
15493 Use with-current-buffer rather than save-excursion.
15494 (2C-dissociate): Force a mode-line update.
15495 (2C-autoscroll): Use ignore-errors.
15497 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
15500 * emacs-lisp/cl-extra.el (*random-state*):
15501 Remove unnecessary declaration.
15503 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
15505 * play/cookie1.el (cookie-snarf):
15506 Give an explicit error if input file cannot be read.
15508 * play/yow.el (yow-file): Use expand-file-name rather than concat.
15510 * progmodes/perl-mode.el (c-macro-expand):
15511 Remove unnecessary autoload (it is in loaddefs.el).
15513 * textmodes/picture.el (picture-desired-column)
15514 (picture-update-desired-column): Convert comments to doc-strings.
15515 (picture-substitute): Remove function.
15516 (picture-mode-map): Initialize in the defvar.
15518 * woman.el: Remove eval-after-load for tar-mode.
15519 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
15520 (woman-tar-extract-file): Autoload it.
15522 * frame.el (automatic-hscrolling): Make this alias obsolete.
15524 2012-04-12 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
15526 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
15527 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
15528 (ispell-dictionary-base-alist): Revert to original XEmacs
15529 friendly version for default. [:alpha:] will be added in
15530 `ispell-set-spellchecker-params' if needed.
15532 2012-04-16 Chong Yidong <cyd@gnu.org>
15534 * image.el (imagemagick--file-regexp): New variable.
15535 (imagemagick-register-types): Use it.
15536 (imagemagick-types-inhibit): Add :set function. Allow new value
15537 of t to inhibit all types.
15539 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
15540 so we can preload it.
15542 * loadup.el (fboundp): Preload regexp-opt, needed by
15543 imagemagick-register-types.
15545 2012-04-15 Chong Yidong <cyd@gnu.org>
15547 * frame.el (scrolling): Remove nearly unused customization group.
15549 * scroll-all.el (scroll-all-mode): Move to windows group.
15551 2012-04-15 Chong Yidong <cyd@gnu.org>
15553 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
15555 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15557 Avoid the use of ((lambda ...) ...) in lexical-binding code.
15558 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
15560 2012-04-15 Glenn Morris <rgm@gnu.org>
15562 * simple.el (process-file-side-effects): Doc fix.
15564 2012-04-15 Glenn Morris <rgm@gnu.org>
15566 * international/mule-cmds.el (set-language-environment): Doc fix.
15568 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15570 * server.el (server-auth-key, server-generate-key): Doc fixes.
15571 (server-get-auth-key): Doc fix. Use `string-match-p'.
15572 (server-start): Reflow docstring.
15574 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
15576 * server.el (server-generate-key): `called-interactively-p'
15577 requires a parameter.
15579 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
15581 * server.el (server-auth-key): New variable.
15582 (server-generate-key, server-get-auth-key): New function.
15583 (server-start): Use the new variable and functions to allow
15584 setting a permanent server key (bug#9423).
15586 2012-04-14 Leo Liu <sdl.web@gmail.com>
15588 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
15590 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
15593 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
15594 Emacs uses American spelling.
15596 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15598 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
15599 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
15600 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
15601 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
15603 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15605 * progmodes/which-func.el (which-func-modes): Change default.
15607 2012-04-14 Kim F. Storm <storm@cua.dk>
15609 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
15610 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
15612 2012-04-14 Chong Yidong <cyd@gnu.org>
15614 * custom.el (custom-theme-set-variables): Doc fix.
15616 2012-04-14 Glenn Morris <rgm@gnu.org>
15618 * international/mule.el (set-auto-coding-for-load): Doc fix.
15620 2012-04-14 Alan Mackenzie <acm@muc.de>
15622 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
15623 imenu work again for Objective C Mode. Correct the *-index values,
15624 these having been disturbed by a previous change in 2011-08.
15626 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
15627 Correct two search limits.
15629 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15631 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
15633 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
15635 * international/characters.el: Fix sorting.
15637 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15639 * international/characters.el: Add more missing Latin case pairs.
15641 2012-04-14 Glenn Morris <rgm@gnu.org>
15643 * files.el (dir-locals-set-class-variables): Doc fix.
15645 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15647 * international/characters.el: Add set-case-syntax-pair call for
15648 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
15649 counterpart. (Bug#11209)
15651 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
15653 2012-04-14 Glenn Morris <rgm@gnu.org>
15655 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15657 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15659 * textmodes/ispell.el (ispell-dictionary-base-alist):
15660 Add data for Hebrew.
15662 2012-04-14 Chong Yidong <cyd@gnu.org>
15664 * net/rcirc.el (rcirc-cmd-quit):
15665 Revert 2012-03-18 change (Bug#11192).
15667 2012-04-14 Glenn Morris <rgm@gnu.org>
15669 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
15671 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15673 * minibuffer.el (completion-in-region-mode-map):
15674 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
15676 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
15678 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
15680 2012-04-13 Masatake YAMATO <yamato@redhat.com>
15682 * minibuffer.el (minibuffer-local-filename-syntax): New variable
15683 to allow `C-M-f' and `C-M-b' to move to the nearest path
15684 separator (bug#9511).
15686 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
15688 * avoid.el: Require cl when compiling. And also move the
15689 `provide' to the end.
15691 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15693 * avoid.el (mouse-avoidance-banish-position): New variable.
15694 (mouse-avoidance-banish-destination): Use it (bug#10165).
15696 2012-04-13 Leo Liu <sdl.web@gmail.com>
15698 * progmodes/which-func.el (which-func-modes): Add objc-mode.
15700 2012-04-13 Ken Brown <kbrown@cornell.edu>
15702 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
15703 this is no longer needed now that cygstart understands file:// URLs.
15704 (browse-url-filename-alist): For the same reason, don't modify
15705 file:// URLs on Cygwin.
15707 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
15709 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
15710 the region on shift if the binding is already shifted (bug#11221).
15712 2012-04-12 Glenn Morris <rgm@gnu.org>
15714 * mail/mailpost.el: Move to obsolete/.
15716 2012-04-12 Drew Adams <drew.adams@oracle.com>
15718 * imenu.el (imenu--generic-function): Ignore invisible definitions
15721 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
15723 * hexl.el (hexl-bits): New variable.
15724 (hexl-options): Mention the variable in the doc string.
15725 (hexl-rulerise, hexl-line-displen): New functions.
15726 (hexl-mode): Mention the new variable.
15727 (hexl-mode, hexl-current-address, hexl-current-address):
15729 (hexl-ascii-start-column): New function.
15730 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
15731 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
15733 2012-04-12 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
15735 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
15736 '("-i" ENCODING), in 2 separate command-line arguments, to specify
15737 the encoding, as expected by hunspell.
15739 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
15741 * battery.el (battery--linux-sysfs-regexp): New const.
15742 (battery-status-function): Use it. Remove yeeloong special case.
15743 (battery-yeeloong-sysfs): Remove.
15744 (battery-echo-area-format): Remove yeeloong special case.
15746 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15748 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
15749 Reported by Noah Friedman.
15751 * subr.el (read-passwd): Use read-string.
15753 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15755 * vcursor.el (vcursor-move): Increase the priority of the overlay
15758 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15760 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
15761 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
15763 2012-04-11 William Stevenson <yhvh2000@gmail.com>
15765 * textmodes/artist.el (artist-mode): Convert artist-mode to use
15766 define-minor-mode (bug#10760).
15768 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15770 * progmodes/grep.el (rgrep): Tweak the find command line so
15771 that directories matching `grep-find-ignored-files' won't be
15772 pruned (bug#10351).
15774 2012-04-11 Chong Yidong <cyd@gnu.org>
15776 * startup.el (command-line): Remove support for long-obsolete
15777 variable font-lock-face-attributes.
15779 2012-04-11 Glenn Morris <rgm@gnu.org>
15781 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
15783 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15785 * window.el (window--state-get-1): Obey window-point-insertion-type.
15787 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
15789 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
15790 to previous function when point is on the first character of a
15791 function. Take care of that in `narrow-to-defun' (bug#6157).
15793 2012-04-11 Glenn Morris <rgm@gnu.org>
15795 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
15796 not just file-errors.
15798 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
15799 (vc-bzr-sha1): Use internal sha1.
15801 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15803 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
15805 2012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
15807 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
15808 that start in the middle of the line (bug#10496).
15810 2012-04-10 Dan Nicolaescu <dann@gnu.org>
15812 * battery.el (battery-linux-proc-acpi): Only one battery is
15813 discharged at a time, but that seems to confuse battery.el when
15814 computing `rate-type' for the battery not being discharged
15817 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15819 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
15821 * international/quail.el: Use dolist and simplify.
15822 (quail-define-package, quail-update-keyboard-layout)
15823 (quail-define-rules): Use dolist.
15824 (quail-insert-kbd-layout, quail-get-translation): CSE.
15826 * tmm.el: Use dolist, remove left over hook.
15827 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
15829 (calendar-load-hook): Don't mess with it.
15831 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
15832 Use derived-mode-p. Run the diff asynchronously.
15834 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15836 * obsolete/mouse-sel.el: Add an Obsolete-since header.
15838 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
15840 * misc.el: Display absolute path of loaded DLLs (bug#10424).
15841 (list-dynamic-libraries--loaded): New function.
15842 (list-dynamic-libraries--refresh): Use it.
15844 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
15846 * progmodes/python.el (python-fill-paragraph):
15847 Make python-fill-region in a multiline string work when font-lock is
15848 disabled (bug#7018).
15850 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
15852 * language/european.el (cp775): Add oem/legacy (en)coding on
15853 DOS/MS Windows for the Baltic languages. There are still plenty
15854 of texts written in this encoding/codepage (bug#6519).
15856 2012-04-10 Glenn Morris <rgm@gnu.org>
15858 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
15859 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
15861 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
15863 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
15864 next-line "n" and previous-line "p" in order to make recentf more
15865 consistent with ibuffer, dired or org-mode (bug#9387).
15867 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15869 * image.el (put-image): Return the overlay created instead of the
15870 optional input string (bug#7834). Note that this may break code
15871 that is (for some reason or other) depending on `put-image'
15872 returning the string.
15874 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
15876 * simple.el (zap-to-char): Allow zapping using input methods
15879 * textmodes/fill.el (fill-region): Leave point and mark where they
15880 were before filling (bug#5399).
15882 2012-04-09 Glenn Morris <rgm@gnu.org>
15884 * version.el (emacs-bzr-get-version):
15885 Handle lightweight checkouts of local branches.
15887 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
15889 * international/characters.el: Recover lost case pairs. (Bug#11209)
15891 2012-04-09 Chong Yidong <cyd@gnu.org>
15893 * custom.el (custom-variable-p): Return nil for non-symbol
15894 arguments instead of signaling an error.
15895 (user-variable-p): Obsolete alias for custom-variable-p.
15897 * apropos.el (apropos-variable):
15898 * files-x.el (read-file-local-variable):
15899 * simple.el (set-variable):
15900 * woman.el (woman-mini-help):
15901 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
15903 2012-04-09 Glenn Morris <rgm@gnu.org>
15905 * startup.el (normal-top-level): Don't look for leim-list.el
15906 in places where it will not be found. (Bug#910)
15908 * international/mule-cmds.el (set-default-coding-systems):
15909 * files.el (normal-mode):
15910 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
15911 This function was removed with ucs-tables.el in 2008.
15913 2012-04-08 Eli Zaretskii <eliz@gnu.org>
15915 * textmodes/ispell.el (ispell-check-version): For hunspell, set
15916 ispell-encoding8-command to "-i", without a trailing space.
15917 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
15918 separate command-line arguments, to specify the encoding, since
15919 that's how hunspell expects it.
15921 2012-04-08 Glenn Morris <rgm@gnu.org>
15923 * loadup.el: Load bindings before cus-start.
15924 This reduces somewhat the number of "rogue" settings in emacs -Q.
15926 2012-04-07 Glenn Morris <rgm@gnu.org>
15928 * version.el (emacs-bzr-get-version): New function.
15929 (emacs-bzr-version): New variable.
15930 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
15931 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
15933 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15935 * international/uni-bidi.el, international/uni-category.el:
15936 * international/uni-combining.el, international/uni-decimal.el:
15937 * international/uni-decomposition.el, international/uni-digit.el:
15938 * international/uni-lowercase.el, international/uni-mirrored.el:
15939 * international/uni-name.el, international/uni-numeric.el:
15940 * international/uni-titlecase.el, international/uni-uppercase.el:
15941 Update for Unicode 6.1.
15943 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15945 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
15947 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
15949 * window.el (shrink-window): Mention the `window-min-height'
15950 variable in the doc string.
15952 2012-04-05 Bastien Guerry <bzg@altern.org>
15954 * color.el (color-lighten-name): Fix typo.
15956 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15958 * server.el (server--on-display-p): New function.
15959 (server--on-display-p): Use it.
15961 2012-04-04 GĂ¡bor Vida <vidagabor@gmail.com> (tiny change)
15963 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
15966 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15968 * comint.el (comint--common-quoted-suffix): Check string boundary
15969 before comparing (bug#11158).
15970 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
15972 2012-04-04 Chong Yidong <cyd@gnu.org>
15974 * minibuffer.el (completion-extra-properties): Doc fix.
15976 * subr.el (delayed-warnings-hook): Doc fix.
15978 2012-04-04 Daiki Ueno <ueno@unixuser.org>
15980 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
15981 selection (Bug#11159).
15982 (epa-insert-keys): Inform that the default public key will be
15983 exported if no key is selected.
15985 2012-04-04 Richard Stallman <rms@gnu.org>
15987 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
15989 2012-04-03 Chong Yidong <cyd@gnu.org>
15991 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
15992 mail-insert-file, not its obsolete alias mail-attach-file.
15994 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
15996 * notifications.el (notifications-notify): Fix docstring.
15998 2012-04-02 Glenn Morris <rgm@gnu.org>
16000 * emacs-lisp/authors.el (authors-aliases): Another addition.
16002 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
16004 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
16005 `tramp-compat-call-process' instead of `tramp-local-call-process'.
16006 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
16008 2012-04-01 Chong Yidong <cyd@gnu.org>
16010 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
16011 Handle root directory properly.
16012 (copy-directory): Caller changed.
16014 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16015 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
16017 2012-03-31 Glenn Morris <rgm@gnu.org>
16019 * term/xterm.el (xterm-extra-capabilities): Doc fix.
16021 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
16023 * calendar/calendar.el (calendar-window-list)
16024 (calendar-hide-window): Restore. (Bug#11140)
16025 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
16027 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
16029 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16031 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16032 Check if file is a symlink (Bug#10489).
16034 * files.el (copy-directory): Likewise.
16036 2012-03-30 Chong Yidong <cyd@gnu.org>
16038 * image.el (imagemagick-types-inhibit)
16039 (imagemagick-register-types): Doc fix.
16041 2012-03-30 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
16043 * textmodes/ispell.el (ispell-get-extended-character-mode):
16044 Disable extended-char-mode for hunspell. hunspell does not support it
16045 and treats ~word as ordinary words in pipe mode.
16047 2012-03-30 Glenn Morris <rgm@gnu.org>
16049 * tutorial.el (help-with-tutorial): Ensure local variables don't
16050 happen to make the buffer read-only. (Bug#11127)
16052 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16054 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
16055 (perl-calculate-indent): Return `noindent' in strings.
16057 2012-03-28 Sam Steingold <sds@gnu.org>
16059 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
16060 instead of the broken adhockery which does not prevent calendar
16061 buffers from being displayed at random after exit.
16062 (calendar-window-list, calendar-hide-window): Remove the broken
16065 2012-03-28 Glenn Morris <rgm@gnu.org>
16067 * replace.el (query-replace-map): Doc fix.
16069 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
16071 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
16072 contents. (Bug#11109)
16074 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16076 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
16078 (avl-tree--check, avl-tree--check-node): New funs.
16080 2012-03-27 Martin Rudalics <rudalics@gmx.at>
16082 * window.el (switch-to-visible-buffer): New option.
16083 (switch-to-prev-buffer, switch-to-next-buffer):
16084 Observe switch-to-visible-buffer. Make sure that checking for a window
16085 showing a buffer already is done on the same frame.
16087 2012-03-27 Glenn Morris <rgm@gnu.org>
16089 * startup.el (mail-host-address): Doc fix.
16091 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16093 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
16094 than 197 variables.
16096 2012-03-26 Ami Fischman <ami@fischman.org>
16098 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
16100 2012-03-26 Glenn Morris <rgm@gnu.org>
16102 * files.el (save-buffers-kill-emacs): Doc fix.
16104 * startup.el (normal-top-level, command-line, command-line-1):
16105 Give them doc strings.
16107 2012-03-25 Eli Zaretskii <eliz@gnu.org>
16109 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
16110 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
16112 2012-03-25 Chong Yidong <cyd@gnu.org>
16114 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
16115 theme if it was previously enabled before (Bug#11031).
16117 * cus-theme.el (custom-theme-write-faces): Retrieve current face
16118 spec with custom-face-get-current-spec if its :shown-value is not
16119 determined yet (Bug#9337).
16120 (customize-create-theme, custom-theme-revert): Doc fixes.
16122 * button.el (button-at): Minor addition to docstring.
16124 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
16126 * vc/vc.el (vc-merge): Fix a prompt.
16128 2012-03-24 Chong Yidong <cyd@gnu.org>
16130 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
16133 * button.el (button-at): Minor addition to docstring.
16135 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
16137 * newcomment.el (comment-choose-indent): No space after BOL.
16139 2012-03-22 Sam Steingold <sds@gnu.org>
16141 * window.el (switch-to-prev-buffer): Revert last patch because the
16142 bug turned out to be an advertised feature (Elisp manual 28.14).
16144 2012-03-22 Glenn Morris <rgm@gnu.org>
16146 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
16147 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
16149 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16151 * net/network-stream.el (network-stream-open-starttls): Make error
16152 message under Windows be less misleading.
16154 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
16156 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
16157 understands (bug#9942).
16159 2012-03-22 Chong Yidong <cyd@gnu.org>
16161 * simple.el (end-of-visible-line): Handle return value of
16162 next-single-property-change properly (Bug#9371).
16164 2012-03-22 Kenichi Handa <handa@m17n.org>
16166 * international/quail.el (quail-insert-kbd-layout): Fix previous
16167 change. To avoid unwanted bidi reordering, use
16168 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
16170 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
16172 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
16173 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
16174 (ruby-beginning-of-indent): Be more careful with the difference
16175 between word-boundary and symbol boundary.
16176 (ruby-mode-syntax-table): Make : a symbol constituent.
16178 2012-03-21 Andreas Politz <politza@fh-trier.de>
16180 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
16182 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16184 * progmodes/etags.el (tags-completion-at-point-function):
16187 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
16189 2012-03-21 Sam Steingold <sds@gnu.org>
16191 * progmodes/etags.el (tags-completion-at-point-function):
16192 Avoid the error when point is inside the pattern.
16194 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
16196 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
16199 2012-03-21 Drew Adams <drew.adams@oracle.com>
16201 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
16203 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
16205 * ido.el (ido-set-current-directory, ido-read-internal)
16206 (ido-choose-completion-string, ido-completion-help): Handle nil
16207 value of ido-completion-buffer (Bug#11008).
16209 2012-03-21 Sam Steingold <sds@gnu.org>
16211 * window.el (switch-to-prev-buffer): Do not switch to a visible
16212 window previous buffer, just like with the frame previous buffers.
16214 2012-03-21 Chong Yidong <cyd@gnu.org>
16216 * faces.el (make-face, make-empty-face, copy-face):
16217 * face-remap.el (face-remap-add-relative, face-remap-set-base):
16220 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16222 * wid-edit.el (widget-complete-field): Remove (bug#11051).
16223 (widget-complete): Remove broken use of it.
16225 2012-03-20 Chong Yidong <cyd@gnu.org>
16227 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16228 Use string-width and truncate-string-width to handle arbitrary
16231 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
16233 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
16234 to draw rectangles, not squares. (Regression introduced by revno
16235 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
16237 2012-03-18 Chong Yidong <cyd@gnu.org>
16239 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
16240 it is not yet defined (for temacs).
16242 2012-03-18 Leo Liu <sdl.web@gmail.com>
16244 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
16247 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16249 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
16250 (ispell-choices-win-default-height, ispell-silently-savep)
16251 (ispell-dictionary-alist, ispell-encoding8-command)
16252 (ispell-check-version, ispell-aspell-find-dictionary)
16253 (ispell-valid-dictionary-list, ispell-words-keyword)
16254 (ispell-get-word, ispell-internal-change-dictionary)
16255 (ispell-region, ispell-skip-region-list)
16256 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
16257 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
16258 (ispell-message-text-end, ispell-message)
16259 (ispell-buffer-local-parsing): Doc fix.
16261 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
16263 * htmlfontify.el: Add support for code block fontification for ODT
16264 export (Bug #9914).
16265 (hfy-optimisations): Define new option
16267 (hfy-fontify-buffer): Honor above setting.
16268 (hfy-begin-span, hfy-end-span): New routines factored out form
16269 `hfy-fontify-buffer'.
16270 (hfy-begin-span-handler, hfy-end-span-handler): New variables
16271 that permit insertion of custom tags.
16272 (hfy-fontify-buffer): Use above handlers.
16273 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
16274 (hfy-face-to-css): Re-defined to be a variable.
16275 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
16276 over multiple runs. This is made possible by having the caller let
16277 bind a special variable `hfy-user-sheet-assoc'.
16278 (htmlfontify-string): New defun.
16279 (hfy-compile-face-map): Make sure that the last char in the
16280 buffer is correctly fontified.
16281 (hfy-face-resolve-face): Whitespace only change.
16283 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16285 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
16286 message more clear.
16288 2012-03-16 Leo Liu <sdl.web@gmail.com>
16290 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
16292 2012-03-16 Alan Mackenzie <acm@muc.de>
16294 Further optimize the handling of large macros.
16296 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
16297 limit to a call of `c-literal-limits'.
16298 (c-determine-+ve-limit): New function.
16299 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
16300 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
16301 In CASE 5B, restrict a search limit to 500.
16302 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
16304 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
16305 Restrict macro bounds to +-500 from after-change's BEG END.
16307 2012-03-16 Leo Liu <sdl.web@gmail.com>
16309 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
16311 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
16313 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
16314 `special-mode' setting of `buffer-read-only'. (Bug#11010)
16316 2012-03-16 Glenn Morris <rgm@gnu.org>
16318 * view.el (view-buffer, view-buffer-other-window)
16319 (view-buffer-other-frame): Doc fixes re special mode-class.
16321 * subr.el (eval-after-load): If named feature is provided not from
16322 a file, run after-load forms. (Bug#10946)
16324 * calendar/calendar.el (calendar-insert-at-column):
16325 Handle non-unit-width characters a bit better. (Bug#10978)
16327 2012-03-15 Chong Yidong <cyd@gnu.org>
16329 * emacs-lisp/ring.el (ring-extend): New function.
16330 (ring-insert+extend): Extend the ring correctly (Bug#11019).
16332 * comint.el (comint-read-input-ring)
16333 (comint-add-to-input-history): Grow comint-input-ring lazily.
16335 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16337 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
16338 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
16340 * imenu.el: Fix multiple inheritance breakage (bug#9199).
16341 (imenu-add-to-menubar): Don't add a redundant index.
16342 (imenu-update-menubar): Handle a dynamically composed keymap.
16344 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
16346 * mail/sendmail.el (mail-encode-header):
16347 Bind rfc2047-encode-encoded-words to nil.
16349 2012-03-13 Glenn Morris <rgm@gnu.org>
16351 * calendar/calendar.el (calendar-string-spread):
16352 Handle non-unit-width characters a bit better. (Bug#10978)
16354 2012-03-13 Leo Liu <sdl.web@gmail.com>
16356 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
16357 directory and file as argument (Bug#10822).
16359 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16361 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
16362 For dynamically generated code, follow $PC.
16363 (gdb-disassembly-handler-custom): Handle no function name case.
16365 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
16367 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
16368 * emulation/ws-mode.el (ws-query-replace):
16369 * sort.el (sort-regexp-fields):
16370 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
16372 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16374 * dabbrev.el: Fix cycle completion order (bug#10963).
16375 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
16376 (dabbrev-completion): Don't use an obarray; provide
16377 a cycle-sort-function.
16379 2012-03-12 Leo Liu <sdl.web@gmail.com>
16381 * simple.el (kill-new): Use equal-including-properties for comparison.
16382 (kill-do-not-save-duplicates): Doc fix.
16384 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16386 * dabbrev.el: Fix cycle completion (bug#10963).
16387 Use lexical binding and wrap to 80 columns.
16388 (dabbrev-completion): Delay computing the list of completions.
16390 2012-03-12 Kenichi Handa <handa@m17n.org>
16392 * international/quail.el (quail-insert-kbd-layout): Surround each
16393 row by LRO and PDF instead of inserting many LRMs. Pad the left
16394 and right of each non-spacing marks. Insert invisible space
16395 between lower and upper characters to prevent composition.
16397 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16399 * minibuffer.el (minibuffer-complete): Don't get confused when the
16400 function is run twice via different commands (bug#10958).
16401 (complete-with-action): Fix docstring.
16403 2012-03-12 Chong Yidong <cyd@gnu.org>
16405 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
16406 (nxml-completion-at-point-function): New function.
16407 (nxml-mode): Use it.
16408 (nxml-bind-meta-tab-to-complete-flag): Default to t.
16410 * emacs-lisp/package.el (package-unpack, package-unpack-single):
16411 Load generated autoloads file before byte compiling (Bug#10970).
16412 (package--make-autoloads-and-compile): New helper fun.
16414 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
16416 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
16418 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
16420 * autorevert.el (auto-revert-handler): Ensure, that
16421 file-readable-p is applied only for local files or in
16422 auto-revert-tail-mode.
16424 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
16426 * server.el (server-eval-at): Handle non-tcp connections.
16427 Decode result string.
16429 * server.el (server-msg-size): New constant.
16430 (server-reply-print): New function.
16431 (server-eval-and-print): Use it.
16432 (server-eval-at): Use server-quote-arg and server-unquote-arg.
16433 Handle -print-nonl.
16435 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
16437 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
16440 2012-03-11 Chong Yidong <cyd@gnu.org>
16442 * simple.el (goto-line): Doc fix (Bug#9938).
16444 * subr.el (save-window-excursion): Doc fix (Bug#9979).
16446 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
16447 when finished (Bug#10963).
16449 2012-03-11 Martin Rudalics <rudalics@gmx.at>
16451 * window.el (split-window-below): Fix bug in case where
16452 split-window-keep-point is nil (Bug#10971).
16454 2012-03-11 Juri Linkov <juri@jurta.org>
16456 * replace.el (replace-highlight): Set isearch-word to nil
16457 unconditionally. (Bug#10887)
16459 2012-03-10 Eli Zaretskii <eliz@gnu.org>
16461 * net/mairix.el (mairix-replace-invalid-chars): Rename from
16462 mairix-replace-illegal-chars; all callers changed. Don't remove
16463 ^, ~, and = characters: they are meaningful in mairix search specs.
16464 (mairix-widget-create-query): Add usage information about mairix
16465 search forms: negating words, searching for substrings, etc.
16467 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
16469 * international/fontset.el (font-encoding-alist): Add an entry for
16470 ksx1001 (Bug#5667).
16472 2012-03-10 Richard Stallman <rms@gnu.org>
16474 * mail/sendmail.el (mail-encode-header):
16475 Set rfc2047-encode-encoded-words.
16477 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
16479 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
16480 view buffer means not swapped.
16481 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
16482 (rmail-write-region-annotate): Error if real text has disappeared.
16484 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
16486 2012-03-10 Chong Yidong <cyd@gnu.org>
16488 * emulation/cua-rect.el (cua--init-rectangles):
16489 * emulation/cua-base.el (cua--init-keymaps):
16490 Add delete-forward-char to remappings (Bug#9666).
16492 2012-03-10 Martin Rudalics <rudalics@gmx.at>
16494 * speedbar.el (speedbar-unhighlight-one-tag-line):
16495 Avoid unhighlighting due to frame switching (Bug#10275).
16497 2012-03-10 Chong Yidong <cyd@gnu.org>
16499 * minibuffer.el (completion-in-region, completion-help-at-point):
16500 Give the completion field overlay a high priority (Bug#6830).
16502 * dired.el (dired-goto-file): Recognize absolute file name
16503 listings (Bug#7126).
16504 (dired-goto-file-1): New helper function.
16505 (dired-toggle-read-only): Inhibit warnings.
16507 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
16509 * net/dbus.el (dbus-property-handler): Return empty array if
16510 there are no properties.
16512 2012-03-09 Leo Liu <sdl.web@gmail.com>
16514 * savehist.el (savehist-printable): Stricter check for string
16517 2012-03-09 Eli Zaretskii <eliz@gnu.org>
16519 * mail/smtpmail.el (smtpmail-send-it):
16520 Bind coding-system-for-write to *-unix, so that FCC files are kept in
16523 2012-03-09 Glenn Morris <rgm@gnu.org>
16525 * files.el (dir-locals-find-file):
16526 Don't check result is regular, readable.
16527 (dir-locals-read-from-file): Demote errors.
16529 2012-03-08 Eli Zaretskii <eliz@gnu.org>
16531 * international/quail.el (quail-insert-kbd-layout):
16532 Insert invisible LRM characters before each character in a keyboard
16533 layout cell, to prevent their reordering by bidi display engine.
16534 For details, see the discussion in
16535 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
16537 2012-03-08 Alan Mackenzie <acm@muc.de>
16539 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
16540 the starting position; make it extend the marked region when
16541 invoked repeatedly - all under appropriate circumstances.
16542 Fixes bugs #5525, #10906.
16544 2012-03-08 Glenn Morris <rgm@gnu.org>
16546 * files.el (locate-dominating-file, dir-locals-find-file):
16547 Undo 2012-03-06 change.
16549 2012-03-07 Eli Zaretskii <eliz@gnu.org>
16551 * international/quail.el (quail-help):
16552 Force bidi-paragraph-direction be left-to-right. See discussion in
16553 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
16556 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
16558 Avoid superfluous registering of signals. (Bug#10807)
16560 * notifications.el (notifications-on-action-object)
16561 (notifications-on-close-object): New defvars.
16562 (notifications-on-action-signal, notifications-on-closed-signal):
16563 Unregister the signal if not needed any longer.
16564 (notifications-notify): Register `notifications-action-signal' or
16565 `notifications-closed-signal', if :on-action or :on-close has been
16566 passed as argument.
16568 2012-03-07 Chong Yidong <cyd@gnu.org>
16570 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
16573 2012-03-06 Glenn Morris <rgm@gnu.org>
16575 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16576 (x-disown-selection-internal, x-get-selection-internal):
16577 Doc fix (add arglist signatures). (Bug#10783)
16579 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16581 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16582 Handle breakpoints with no "type".
16584 2012-03-06 Glenn Morris <rgm@gnu.org>
16586 * files.el (locate-dominating-file): Add optional predicate argument.
16587 (dir-locals-find-file): Make use of above change.
16589 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
16591 * info.el (Info-insert-dir): Also try "dir.gz".
16593 2012-03-06 Glenn Morris <rgm@gnu.org>
16595 * files.el (dir-locals-find-file):
16596 Ignore non-readable or non-regular files. (Bug#10928)
16598 * files.el (locate-dominating-file): Doc fix.
16600 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
16602 * calendar/calendar.el (calendar-set-mode-line):
16603 `getenv' returns a string. (Bug#10951)
16605 2012-03-05 Leo Liu <sdl.web@gmail.com>
16607 * simple.el (backward-delete-char-untabify): Constrain point to
16610 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
16612 2012-03-05 Chong Yidong <cyd@gnu.org>
16614 * simple.el (count-words): If called from Lisp, return the word
16615 count, for symmetry with `count-lines'. Arglist changed.
16616 (count-words--message): Args changed. Consolidate counting code
16617 from count-words and count-words-region.
16618 (count-words-region): Caller changed.
16619 (count-lines-region): Make it an obsolete alias.
16621 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
16623 * saveplace.el (save-place-to-alist)
16624 (save-place-ignore-files-regexp): Allow value nil to disable this
16627 2012-03-04 Chong Yidong <cyd@gnu.org>
16629 * faces.el (face-spec-reset-face): For the default face, reset the
16630 attributes to default values (Bug#10748).
16632 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16634 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
16635 previous patch: Check `message-send-mail-function', and not the
16636 default function (bug#10897).
16638 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
16640 * notifications.el (notifications-on-action-signal)
16641 (notifications-on-closed-signal): Check for unique service name of
16642 incoming event. Fix error in removing entry.
16643 (top): Register for signals with wildcard service name.
16644 (notifications-notify): Use daemon unique service name for map entries.
16646 2012-03-04 Chong Yidong <cyd@gnu.org>
16648 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
16650 2012-03-04 Glenn Morris <rgm@gnu.org>
16652 * abbrev.el (copy-abbrev-table, abbrev-table-p)
16653 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
16654 (expand-abbrev, define-abbrev-table): Doc fixes.
16656 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16658 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
16659 `message-default-send-mail-function' and not `send-mail-function'
16660 when doing the prompting for `sendmail-query-once' before sending
16661 in Message buffers (bug#10897).
16663 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
16664 This is inconsistent with all the other stream functions, which leave
16665 the setting up to the higher levels (if so wanted) (bug#10931).
16667 2012-03-02 Alan Mackenzie <acm@muc.de>
16669 Depessimize the handling of very large macros.
16671 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
16672 (c-macro-cache-syntactic): New variables to implement a one
16673 element macro cache.
16674 (c-invalidate-macro-cache): New function.
16675 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
16676 Adapt to use the new cache.
16677 (c-state-safe-place): Use better the cache of safe positions.
16678 (c-state-semi-nonlit-pos-cache)
16679 (c-state-semi-nonlit-pos-cache-limit):
16680 New variables for...
16681 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
16682 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
16683 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
16684 Use c-state-semi-safe-place.
16686 * progmodes/cc-langs.el (c-get-state-before-change-functions):
16687 Add c-invalidate-macro-cache to the C, C++, Obj entries.
16689 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
16691 * jka-compr.el (jka-compr-call-process):
16692 Apply `file-accessible-directory-p' only when the default directory is
16695 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
16697 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
16698 access of FILE2, if FILE1 does not exist.
16700 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
16701 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
16703 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
16704 Add "PAGER=" to `process-environment'.
16706 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
16708 * progmodes/sql.el: Bug fix
16709 (sql-get-login-ext): Save login values in globals.
16710 (sql-get-login): Use new version of `sql-get-login-ext'.
16711 (sql-interactive-mode): Set global `sql-connection' to nil.
16712 (sql-connect): Set global values for connection.
16713 (sql-product-interactive): Save global values as buffer local.
16715 2012-02-29 Leo Liu <sdl.web@gmail.com>
16717 * abbrev.el (define-abbrevs): Reset sys to nil.
16719 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16721 * files.el (file-equal-p): Rename from `files-equal-p'.
16722 Return nil when one or both files don't exist.
16723 (file-subdir-of-p): Now only top directory must exists,
16724 return nil if it doesn't.
16725 (copy-directory): No need to test with `file-subdir-of-p' after
16727 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
16730 2012-02-28 Glenn Morris <rgm@gnu.org>
16732 * shell.el (shell-mode):
16733 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
16734 * play/landmark.el (landmark-font-lock-face-O):
16735 * play/handwrite.el (handwrite):
16736 * play/gomoku.el (gomoku-O):
16737 * net/browse-url.el (browse-url-browser-display):
16738 * international/mule.el (define-charset):
16739 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
16740 * filesets.el (filesets-find-file-delay):
16741 * eshell/em-xtra.el (eshell-xtra):
16742 * eshell/em-unix.el (eshell-grep):
16743 * emulation/viper.el (viper-mode):
16744 * emacs-lisp/regexp-opt.el (regexp-opt-group):
16745 * emacs-lisp/easymenu.el (easy-menu-define):
16746 * calendar/timeclock.el (timeclock-use-display-time):
16748 * bookmark.el (bookmark-save-flag):
16749 Doc fix (standardize possessive apostrophe usage).
16751 2012-02-27 Chong Yidong <cyd@gnu.org>
16753 * emulation/viper-cmd.el (viper-intercept-ESC-key):
16754 Fix key-binding lookup for ESC key (Bug#9146).
16756 * font-lock.el (font-lock-specified-p): Rename from
16757 font-lock-spec-present. Callers changed.
16759 2012-02-27 Daniel Hackney <dan@haxney.org>
16761 * emacs-lisp/package.el (package-compute-transaction):
16762 Handle holding a package version to t in package-load-list.
16764 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
16766 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
16767 (tramp-get-inode, tramp-get-device): Use cached values.
16769 2012-02-26 Alan Mackenzie <acm@muc.de>
16771 Check there is a font-lock specification before doing initial
16774 * font-core.el (font-lock-mode): Move the conditional from
16775 :after-hook to font-lock-initial-fontify.
16776 (font-lock-default-function): Move the check for a specification
16777 to font-lock-spec-present.
16779 * font-lock.el (font-lock-initial-fontify): Call ...
16780 (font-lock-spec-present): New function.
16782 2012-02-26 Jim Blandy <jimb@red-bean.com>
16784 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
16785 (gdb-send): Apply it to the operand of the '-interpreter-exec
16786 console' command, so that we can pass arguments with (say) quotes
16787 in them. Store exact string sent in gdb-debug-log (Bug#10765).
16789 2012-02-26 Chong Yidong <cyd@gnu.org>
16791 * help-fns.el (describe-function-1): Clarify description of
16792 remapping (Bug#10844).
16794 * files.el (files-equal-p): Doc fix.
16795 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
16796 and quit the loop once a mismatch is found.
16798 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
16800 * bs.el (bs--show-with-configuration): Don't throw an error
16801 if the window cannot be split; otherwise, subsequent calls to
16802 bs-show fail, restoring a stale window config. (Bug#10882)
16804 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
16806 * term/ns-win.el (global-map): Bind ns-drag-file to
16807 ns-find-file (Bug#5855, Bug#10050).
16809 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
16811 * calendar/parse-time.el (parse-time-string): Allow extractor to
16814 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
16816 * net/tramp.el (tramp-file-name-for-operation):
16817 Add `files-equal-p' and `file-subdir-of-p'.
16819 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16820 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16821 Add COPY-CONTENTS argument.
16823 2012-02-25 Chong Yidong <cyd@gnu.org>
16825 Add custom groups for VC backends, for consistency with vc-bzr.
16827 * vc/vc-arch.el (vc-arch):
16828 * vc/vc-cvs.el (vc-cvs):
16829 * vc/vc-git.el (vc-git):
16830 * vc/vc-hg.el (vc-hg):
16831 * vc/vc-mtn.el (vc-mtn):
16832 * vc/vc-rcs.el (vc-rcs):
16833 * vc/vc-sccs.el (vc-sccs):
16834 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
16835 All relevant defcustoms reassigned.
16837 2012-02-25 Chong Yidong <cyd@gnu.org>
16839 * newcomment.el (comment-styles): Add autoload (Bug#10868).
16841 * term/x-win.el (x-initialize-window-system): Reduce default for
16842 x-selection-timeout to 5 seconds (Bug#8869).
16844 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16846 * files.el (files-equal-p, file-subdir-of-p): New functions.
16847 (copy-directory): Error when trying to copy a directory on itself.
16848 Add missing copy-contents arg to tramp handler.
16849 * dired-aux.el (dired-copy-file-recursive): Same.
16850 (dired-create-files): Modify destination when source is equal to
16851 dest when copying files.
16852 Return also when dest is a subdir of source. (Bug#10489)
16854 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
16856 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
16859 2012-02-23 Alan Mackenzie <acm@muc.de>
16861 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
16862 parameter "after-hook:" to allow the expansion to run code after
16863 the execution of the mode hooks.
16865 * font-lock.el (font-lock-initial-fontify): New function extracted
16866 from font-lock-mode-internal.
16868 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
16871 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16873 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
16874 (completion--cache-all-sorted-completions): New function.
16875 (completion-all-sorted-completions): Use it.
16876 (completion--do-completion, minibuffer-force-complete):
16877 Use it to re-instate the flush hook.
16879 * icomplete.el (icomplete-completions): Replace last fix with a better
16882 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
16884 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
16885 when it might call us back infinitely (bug#10797).
16887 2012-02-23 Glenn Morris <rgm@gnu.org>
16889 * minibuffer.el (completion-category-overrides): Doc fix.
16891 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16893 * minibuffer.el (completion-table-with-context): Fix inf-loop.
16894 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
16896 2012-02-23 Glenn Morris <rgm@gnu.org>
16898 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
16899 (authors-obsolete-files-regexps, authors-ignored-files)
16900 (authors-ambiguous-files, authors-renamed-files-alist):
16903 2012-02-23 Juri Linkov <juri@jurta.org>
16905 * isearch.el (isearch-occur): Sync interactive spec with occur's
16906 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
16908 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
16910 2012-02-22 Juri Linkov <juri@jurta.org>
16912 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
16913 (ucs-insert): Doc fix. Check for hex digits in the string.
16914 Don't display `nil' in the error message. (Bug#10857)
16916 2012-02-22 Alan Mackenzie <acm@muc.de>
16918 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
16920 2012-02-22 Glenn Morris <rgm@gnu.org>
16922 * ffap.el (ffap-c-path):
16923 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
16925 2012-02-22 Chong Yidong <cyd@gnu.org>
16927 * custom.el (load-theme): Doc fix.
16929 2012-02-22 Glenn Morris <rgm@gnu.org>
16931 * dired-x.el (dired-guess-shell-alist-default):
16932 Remove escape sequences from nroff output. (Bug#172)
16934 2012-02-21 Glenn Morris <rgm@gnu.org>
16936 * vc/emerge.el (emerge-defvar-local):
16937 Set `permanent-local' property rather than unused `preserved'.
16939 * textmodes/picture.el (picture-delete-char): New alias.
16940 (picture-mode-map): Use it. (Bug#10860)
16941 (picture-mode): Doc fix.
16943 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
16945 * newcomment.el (uncomment-region-default): Remove unused binding.
16947 2012-02-21 Glenn Morris <rgm@gnu.org>
16949 * textmodes/picture.el (picture-motion, picture-motion-reverse)
16950 (picture-self-insert, picture-tab-chars): Doc fix.
16951 (picture-mode-map): Fix C-a, C-e.
16953 2012-02-20 Glenn Morris <rgm@gnu.org>
16955 * emacs-lisp/authors.el (authors-aliases): Add another entry.
16957 2012-02-20 Leo Liu <sdl.web@gmail.com>
16959 * icomplete.el (icomplete-completions): Check FROM arg before
16960 passing to substring (Bug#10850).
16962 2012-02-19 Chong Yidong <cyd@gnu.org>
16964 * comint.el: Require ansi-color.
16965 (comint-output-filter-functions): Add ansi-color-process-output.
16967 * ansi-color.el: Don't set comint-output-filter-functions; it is
16968 now in the initial value defined in comint.el.
16969 (ansi-color-apply-face-function): New variable.
16970 (ansi-color-apply-on-region): Use it.
16971 (ansi-color-apply-overlay-face): New function.
16973 * shell.el (shell): No need to require ansi-color.
16974 (shell-mode): Use ansi-color-apply-face-function to highlight
16975 color escapes using font-lock-face property (Bug#10835).
16977 2012-02-19 Chong Yidong <cyd@gnu.org>
16979 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
16980 mode-line formats (Bug#10839).
16982 2012-02-18 Glenn Morris <rgm@gnu.org>
16984 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
16986 * mail/undigest.el (unforward-rmail-message): Doc fix.
16988 * saveplace.el (save-place-ignore-files-regexp): Add :version.
16990 2012-02-18 Eli Zaretskii <eliz@gnu.org>
16992 * international/characters.el (script-list): Sync with the latest
16993 Unicode Character Database.
16995 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
16997 * international/titdic-cnv.el: Remove duplicate coding tag.
16998 * language/cham.el: Likewise.
16999 * language/tai-viet.el: Likewise.
17001 2012-02-18 Glenn Morris <rgm@gnu.org>
17003 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
17004 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
17005 (calendar-bahai-all-holidays-flag, calendar-other-dates):
17006 * calendar/diary-lib.el (diary-abbreviated-year-flag):
17007 * calendar/holidays.el (holiday-bahai-holidays)
17008 (calendar-holidays, list-holidays):
17009 Use utf-8 BahĂ¡'Ă in doc-strings, menus, etc.
17011 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
17013 * saveplace.el (save-place-ignore-files-regexp): New variable
17014 allowing for excluding files from saving their location of point.
17015 The default value matches the temporary commit message editing
17016 files from Git, SVN, Bazaar, and Mercurial.
17017 (save-place-to-alist): Use it.
17019 2012-02-17 Lawrence Mitchell <wence@gmx.li>
17020 Stefan Monnier <monnier@iro.umontreal.ca>
17022 * newcomment.el (uncomment-region-default): Don't leave extra space
17023 when an arg is provided (bug#8150).
17025 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
17027 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
17029 2012-02-17 Glenn Morris <rgm@gnu.org>
17031 * net/socks.el: Require network-stream. (Bug#10599)
17033 2012-02-17 Kenichi Handa <handa@m17n.org>
17035 * international/charprop.el:
17036 * international/uni-name.el:
17037 * international/uni-old-name.el:
17038 * international/uni-comment.el: Regenerate.
17040 2012-02-16 Glenn Morris <rgm@gnu.org>
17042 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
17043 Interactively in calendar buffer, give an error if not on a date.
17045 2012-02-15 Glenn Morris <rgm@gnu.org>
17047 * shell.el (shell-delimiter-argument-list):
17048 Revert 2011-02-17 change. (Bug#8027)
17050 2012-02-15 Chong Yidong <cyd@gnu.org>
17052 * minibuffer.el (completion-at-point-functions): Doc fix.
17054 * custom.el (defcustom): Doc fix; note use of defvar.
17056 2012-02-15 Glenn Morris <rgm@gnu.org>
17058 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
17061 2012-02-14 Glenn Morris <rgm@gnu.org>
17063 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
17065 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
17067 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
17068 way the ports list is computed.
17069 (smtpmail-query-smtp-server): Prompt the user for a port number if
17070 we can't connect to any of the standard ports (bug#10810).
17072 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
17074 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
17076 2012-02-13 Glenn Morris <rgm@gnu.org>
17078 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
17080 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
17082 * net/gnutls.el (gnutls-trustfiles): New variable.
17083 (gnutls-negotiate): Use it.
17085 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
17087 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
17088 does its stuff if Gnus is running.
17090 2012-02-13 Alan Mackenzie <acm@muc.de>
17092 Fix a loop in c-set-fl-decl-start.
17094 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
17095 c-backward-syntactic-ws actually moves backwards.
17097 2012-02-13 Leo Liu <sdl.web@gmail.com>
17099 * net/rcirc.el (rcirc-markup-attributes): Move point to the
17100 beginning so that all \C-o chars are removed.
17102 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
17104 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
17106 2012-02-12 Alan Mackenzie <acm@muc.de>
17108 Fix infinite loop with long macros.
17109 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
17111 2012-02-12 Chong Yidong <cyd@gnu.org>
17113 * window.el (display-buffer): Doc fix (Bug#10785).
17115 2012-02-12 Glenn Morris <rgm@gnu.org>
17117 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17118 (x-disown-selection-internal, x-get-selection-internal):
17119 Sync docs with the xselect.c versions.
17121 * allout-widgets.el: Add missing license notice.
17123 2012-02-11 Glenn Morris <rgm@gnu.org>
17125 * select.el (x-get-selection-internal, x-own-selection-internal)
17126 (x-disown-selection-internal):
17127 * x-dnd.el (x-get-selection-internal): Update declarations.
17129 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
17131 * window.el (window-sides-slots):
17132 * tool-bar.el (tool-bar-position):
17133 * term/xterm.el (xterm-extra-capabilities):
17134 * ses.el (ses-self-reference-early-detection):
17135 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
17136 (verilog-auto-wire-type)
17137 (verilog-auto-delete-trailing-whitespace)
17138 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
17139 (verilog-auto-tieoff-declaration):
17140 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
17141 (sql-oracle-statement-starters, sql-oracle-scan-on):
17142 * progmodes/prolog.el (prolog-align-comments-flag)
17143 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
17144 (prolog-left-indent-regexp, prolog-paren-indent-p)
17145 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
17146 (prolog-types, prolog-mode-specificators)
17147 (prolog-determinism-specificators, prolog-directives)
17148 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
17149 (prolog-electric-dot-flag)
17150 (prolog-electric-dot-full-predicate-template)
17151 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
17152 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
17153 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
17154 (prolog-program-switches, prolog-prompt-regexp)
17155 (prolog-debug-on-string, prolog-debug-off-string)
17156 (prolog-trace-on-string, prolog-trace-off-string)
17157 (prolog-zip-on-string, prolog-zip-off-string)
17158 (prolog-use-standard-consult-compile-method-flag)
17159 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
17160 (prolog-imenu-max-lines, prolog-info-predicate-index)
17161 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
17162 (prolog-char-quote-workaround):
17163 * progmodes/cc-vars.el (c-defun-tactic):
17164 * net/tramp.el (tramp-encoding-command-interactive)
17165 (tramp-local-end-of-line):
17166 * net/soap-client.el (soap-client):
17167 * net/netrc.el (netrc-file):
17168 * net/gnutls.el (gnutls):
17169 * minibuffer.el (completion-category-overrides)
17170 (completion-cycle-threshold)
17171 (completion-pcm-complete-word-inserts-delimiters):
17172 * man.el (Man-name-local-regexp):
17173 * mail/feedmail.el (feedmail-display-full-frame):
17174 * international/characters.el (glyphless-char-display-control):
17175 * eshell/em-ls.el (eshell-ls-date-format):
17176 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
17177 (lisp-lambda-list-keyword-parameter-indentation)
17178 (lisp-lambda-list-keyword-parameter-alignment):
17179 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
17180 * dired-x.el (dired-omit-verbose):
17181 * cus-theme.el (custom-theme-allow-multiple-selections):
17182 * calc/calc.el (calc-highlight-selections-with-faces)
17183 (calc-lu-field-reference, calc-lu-power-reference)
17184 (calc-note-threshold):
17185 * battery.el (battery-mode-line-limit):
17186 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
17187 (archive-7z-update):
17188 * allout.el (allout-prefixed-keybindings)
17189 (allout-unprefixed-keybindings)
17190 (allout-inhibit-auto-fill-on-headline)
17191 (allout-flattened-numbering-abbreviation):
17192 * allout-widgets.el (allout-widgets-auto-activation)
17193 (allout-widgets-icons-dark-subdir)
17194 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
17195 (allout-widgets-theme-dark-background)
17196 (allout-widgets-theme-light-background)
17197 (allout-widgets-item-image-properties-emacs)
17198 (allout-widgets-item-image-properties-xemacs)
17199 (allout-widgets-run-unit-tests-on-load)
17200 (allout-widgets-time-decoration-activity)
17201 (allout-widgets-hook-error-post-time)
17202 (allout-widgets-track-decoration):
17203 Add missing :version tags to new defcustoms and defgroups.
17205 * progmodes/sql.el (sql-ansi-statement-starters)
17206 (sql-oracle-statement-starters): Add custom type.
17208 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
17209 (prolog-system-version): Give it a type.
17211 2012-02-11 Eli Zaretskii <eliz@gnu.org>
17213 * term/pc-win.el (x-select-text, x-selection-owner-p)
17214 (x-own-selection-internal, x-disown-selection-internal)
17215 (x-get-selection-internal): Sync doc strings and argument lists
17216 with xselect.c, common-win.el and x-win.el. (Bug#10783)
17218 2012-02-11 Leo Liu <sdl.web@gmail.com>
17220 * progmodes/python.el (python-end-of-statement): Fix infinite
17223 2012-02-10 Glenn Morris <rgm@gnu.org>
17225 * international/mule-cmds.el (unify-8859-on-encoding-mode)
17226 (unify-8859-on-decoding-mode): Properly mark as obsolete.
17228 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
17230 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
17231 about SMTP before checking the From header.
17233 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
17234 into own function for reuse by emacsbug.el.
17236 2012-02-10 Leo Liu <sdl.web@gmail.com>
17238 * subr.el (condition-case-unless-debug): Rename from
17239 condition-case-no-debug. All callers changed.
17240 (with-demoted-errors): Fix caller.
17242 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
17243 * nxml/rng-valid.el (rng-do-some-validation):
17244 * emacs-lisp/package.el (package-refresh-contents)
17245 (package-menu-execute):
17246 * desktop.el (desktop-create-buffer):
17247 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
17249 2012-02-10 Glenn Morris <rgm@gnu.org>
17251 * textmodes/bibtex.el:
17252 Add missing :version tags for new/changed defcustoms.
17254 * files.el (remote-file-name-inhibit-cache): Doc fixes.
17256 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
17258 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
17259 (smtpmail-via-smtp): Use it, or fall back on the From address.
17260 (smtpmail-send-it): Ditto.
17262 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
17264 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
17265 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
17266 (byte-compile-tmp-var): New const.
17267 (byte-compile-defvar): Use it to minimize .elc size.
17268 Just use `defvar' rather than simulate it (bug#10761).
17270 2012-02-09 Glenn Morris <rgm@gnu.org>
17272 * files.el (rename-uniquely): Doc fix. (Bug#3806)
17274 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
17277 * progmodes/compile.el (compilation-error-screen-columns)
17278 (compilation-first-column, compilation-filter-start): Doc fixes.
17280 * vc/log-view.el (log-view-toggle-entry-display):
17281 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
17283 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
17284 (report-emacs-bug-can-use-xdg-email):
17285 (report-emacs-bug-insert-to-mailer): Doc fixes.
17286 (report-emacs-bug): Message fix.
17288 * net/browse-url.el (browse-url-can-use-xdg-open)
17289 (browse-url-xdg-open): Doc fixes.
17291 * electric.el (electric-indent-mode, electric-pair-mode)
17292 (electric-layout-rules, electric-layout-mode): Doc fixes.
17293 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
17295 2012-02-08 Martin Rudalics <rudalics@gmx.at>
17297 * server.el (server-unselect-display): Don't inadvertently kill
17298 the current buffer. (Bug#10729)
17300 2012-02-08 Glenn Morris <rgm@gnu.org>
17302 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
17303 (sql-list-table): Doc fixes.
17305 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
17306 Comment out (does nothing).
17308 * completion.el (dynamic-completion-mode):
17309 * dirtrack.el (dirtrack-debug-mode):
17310 * electric.el (electric-layout-mode):
17311 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
17312 * face-remap.el (text-scale-mode, buffer-face-mode):
17313 * iimage.el (iimage-mode):
17314 * image-mode.el (image-transform-mode):
17315 * minibuffer.el (completion-in-region-mode):
17316 * scroll-lock.el (scroll-lock-mode):
17317 * simple.el (next-error-follow-minor-mode):
17318 * tar-mode.el (tar-subfile-mode):
17319 * tooltip.el (tooltip-mode):
17320 * vcursor.el (vcursor-use-vcursor-map):
17321 * wid-browse.el (widget-minor-mode):
17322 * emulation/tpu-edt.el (tpu-edt-mode):
17323 * emulation/tpu-extras.el (tpu-cursor-free-mode):
17324 * international/iso-ascii.el (iso-ascii-mode):
17325 * language/thai-util.el (thai-word-mode):
17326 * mail/supercite.el (sc-minor-mode):
17327 * net/goto-addr.el (goto-address-mode):
17328 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
17329 * progmodes/cwarn.el (cwarn-mode):
17330 * progmodes/flymake.el (flymake-mode):
17331 * progmodes/glasses.el (glasses-mode):
17332 * progmodes/hideshow.el (hs-minor-mode):
17333 * progmodes/pascal.el (pascal-outline-mode):
17334 * textmodes/enriched.el (enriched-mode):
17335 * vc/smerge-mode.el (smerge-mode):
17336 Doc fixes (minor mode argument).
17338 2012-02-07 Eli Zaretskii <eliz@gnu.org>
17340 * ls-lisp.el (ls-lisp-sanitize): New function.
17341 (ls-lisp-insert-directory): Use it to fix or remove any elements
17342 in file-alist with missing attributes. (Bug#4673)
17344 2012-02-07 Alan Mackenzie <acm@muc.de>
17346 Fix spurious recognition of c-in-knr-argdecl.
17348 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
17349 putative K&R region.
17351 2012-02-07 Alan Mackenzie <acm@muc.de>
17353 * progmodes/cc-engine.el (c-forward-objc-directive):
17354 Prevent looping in "#pragma mark @implementation".
17356 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
17358 * notifications.el (notifications-on-closed-signal): Make `reason'
17359 optional. (Bug#10744)
17361 2012-02-07 Glenn Morris <rgm@gnu.org>
17363 * emacs-lisp/easy-mmode.el (define-minor-mode):
17364 Doc fixes for the macro and the mode it defines.
17366 * image.el (imagemagick-types-inhibit): Doc fix.
17368 * cus-start.el (imagemagick-render-type): Add it.
17370 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
17372 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
17373 Set the default at load time, too, so that `font-lock-fontify-buffer'
17374 can be called without setting up the entire mode first. This fixes
17375 a bug in `mm-inline-text' with C MIME parts.
17377 2012-02-06 Chong Yidong <cyd@gnu.org>
17379 * simple.el (list-processes--refresh): Delete exited processes
17382 * comint.el (comint-next-prompt): next-single-char-property-change
17383 and prev-single-char-property-change never return nil (Bug#8657).
17385 * custom.el (defcustom): Doc fix (Bug#9711).
17387 2012-02-05 Chong Yidong <cyd@gnu.org>
17389 * cus-edit.el (custom-variable-reset-backup): Quote the value
17390 before storing it in the customized-value property (Bug#6712).
17391 (custom-display): Add a customization type tag.
17392 (custom-buffer-create-internal): Improve tooltip message.
17394 * wid-edit.el (widget-field-value-get): New optional arg to
17395 suppress trailing whitespace truncation.
17396 (character): Use it (Bug#2689).
17398 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
17400 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
17401 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
17403 2012-02-05 Chong Yidong <cyd@gnu.org>
17405 * cus-edit.el (custom-variable-value-create): For mismatched
17406 types, show the current value (Bug#7600).
17408 * custom.el (defcustom): Doc fix.
17410 2012-02-05 Glenn Morris <rgm@gnu.org>
17412 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
17414 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
17416 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
17417 (pp-buffer): Use `ignore-errors', `looking-at-p'.
17418 (pp-last-sexp): Use `looking-at-p'.
17420 2012-02-04 Glenn Morris <rgm@gnu.org>
17422 * files.el (revert-buffer):
17423 Doc fix (mention revert-buffer-in-progress-p).
17425 * emacs-lisp/ert-x.el (ert-simulate-command):
17426 Check deferred-action-list (which is obsolete) is bound.
17428 * subr.el (with-wrapper-hook): Doc fixes.
17430 * simple.el (filter-buffer-substring-functions)
17431 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
17433 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
17435 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
17436 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
17438 2012-02-04 Leo Liu <sdl.web@gmail.com>
17440 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
17442 2012-02-04 Glenn Morris <rgm@gnu.org>
17444 * image.el (image-extension-data): Add obsolete alias.
17446 * isearch.el (isearch-update): Doc fix.
17448 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
17450 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
17452 2012-02-03 Glenn Morris <rgm@gnu.org>
17454 * image.el (image-animated-p): Doc fix. Use image-animated-types.
17455 (image-animate-timeout): Doc fix.
17457 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
17459 2012-02-02 Glenn Morris <rgm@gnu.org>
17461 * server.el (server-auth-dir): Doc fix.
17462 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
17464 * subr.el (run-mode-hooks): Doc fix.
17466 2012-02-02 Juri Linkov <juri@jurta.org>
17468 * image-mode.el (image-toggle-display-image): Remove tautological
17469 `major-mode' from the `derived-mode-p' test.
17471 2012-02-02 Kenichi Handa <handa@m17n.org>
17473 * composite.el (compose-region): Cancel previous change.
17475 2012-02-02 Kenichi Handa <handa@m17n.org>
17477 * composite.el (compose-region, compose-string): Signal error for
17478 a null string component (Bug#6988).
17480 2012-02-01 Chong Yidong <cyd@gnu.org>
17482 * view.el (view-buffer-other-window, view-buffer-other-frame):
17483 Handle special modes like view-buffer (Bug#10650).
17484 (view-buffer): Simplify.
17486 * frame.el (set-frame-font): Tweak meaning of third argument.
17488 * dynamic-setting.el (font-setting-change-default-font):
17489 Use set-frame-font (Bug#9982).
17491 2012-02-01 Glenn Morris <rgm@gnu.org>
17493 * progmodes/compile.el (compilation-internal-error-properties):
17494 Respect compilation-first-column in the "*compilation*" buffer.
17496 * emacs-lisp/easy-mmode.el (define-minor-mode):
17497 Relax :variable's test for a named function.
17499 2012-01-31 Alan Mackenzie <acm@muc.de>
17501 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
17504 2012-01-31 Chong Yidong <cyd@gnu.org>
17506 * frame.el (set-frame-font): New arg ALL-FRAMES.
17508 * menu-bar.el (menu-set-font): Use set-frame-font.
17510 * faces.el (face-spec-reset-face): Don't apply unspecified
17511 attribute values to the default face.
17513 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
17515 * progmodes/cwarn.el (cwarn): Remove dead link.
17516 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
17517 Remove * from defcustom docstrings.
17518 (turn-on-cwarn-mode): Make obsolete.
17519 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
17520 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
17522 2012-01-31 Glenn Morris <rgm@gnu.org>
17524 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
17525 Fix :variable handling of mode a symbol not equal to modefun.
17526 Allow named functions to be used as the cdr of :variable.
17528 2012-01-30 Glenn Morris <rgm@gnu.org>
17530 * emacs-lisp/authors.el (authors-fixed-entries):
17531 Remove reference to deleted file rnewspost.el.
17533 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
17535 * window.el (window-with-parameter): Remove unused variable `windows'.
17536 (window--side-check): Remove unused variable `code'.
17537 (window--resize-siblings): Remove unused variable `first'.
17538 (adjust-window-trailing-edge): Remove unused variable `failed'.
17539 (window-deletable-p, window--delete): Remove unused variable `buffer'.
17540 Use `let', not `let*'.
17541 (balance-windows-2): Remove unused variable `found'.
17542 (window--state-put-2): Remove unused variable `splits'.
17543 (window-state-put): Remove unused variable `selected'.
17544 (same-window-p): Use `string-match-p'.
17545 (display-buffer-assq-regexp): Remove unused variable `value'.
17546 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17547 Mark argument ALIST as ignored.
17548 (pop-to-buffer): Remove unused variable `old-window'.
17550 2012-01-29 Eli Zaretskii <eliz@gnu.org>
17552 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
17553 and .lzma compressed files.
17555 2012-01-29 Chong Yidong <cyd@gnu.org>
17557 * frame.el (window-system-default-frame-alist): Doc fix.
17559 * dynamic-setting.el (font-setting-change-default-font): Don't
17560 change the default face if SET-FONT argument is non-nil (Bug#9982).
17562 2012-01-29 Samuel Bronson <naesten@gmail.com>
17564 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
17566 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
17568 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
17569 breakpoints in files outside current directory (Bug#6098).
17571 2012-01-29 Chong Yidong <cyd@gnu.org>
17573 * progmodes/python.el: Require ansi-color at top-level.
17575 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
17576 Define and use in Emacs Lisp mode (Bug#9360).
17577 (lisp-mode-abbrev-table): Add doc.
17578 (lisp-mode-variables): Don't set local-abbrev-table.
17579 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
17581 2012-01-28 Roland Winkler <winkler@gnu.org>
17583 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
17585 2012-01-28 Roland Winkler <winkler@gnu.org>
17587 * textmodes/bibtex.el (bibtex-entry-alist): New function.
17588 (bibtex-set-dialect): Use it. Either set global values of
17589 dialect-dependent variables or bind these variables buffer-locally
17591 (bibtex-mode): Call bibtex-set-dialect via
17592 hack-local-variables-hook.
17593 (bibtex-dialect): Update docstring.
17594 Add safe-local-variable predicate.
17595 (bibtex-entry-alist, bibtex-field-alist): Initialize via
17596 bibtex-set-dialect.
17597 (bibtex-mode-map): Define menu for each dialect.
17598 (bibtex-entry): Fix docstring.
17600 2012-01-28 Chong Yidong <cyd@gnu.org>
17602 * eshell/esh-arg.el (eshell-quote-argument): New function.
17604 * eshell/esh-ext.el (eshell-invoke-batch-file):
17605 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
17606 first arg to eshell-parse-command (Bug#10523).
17608 2012-01-28 Drew Adams <drew.adams@oracle.com>
17610 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
17611 `default-directory' is non-nil.
17613 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17615 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
17616 line that displays system-configuration-options. (Bug#9924)
17618 2012-01-28 Drew Adams <drew.adams@oracle.com>
17620 * descr-text.el (describe-char): Show information about POS, in
17621 addition to information about the character at POS. Improve and
17622 update the doc string. Change "code point" to "code point in
17623 charset", to avoid confusion with the character's Unicode code
17624 point shown above that. (Bug#10129)
17626 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17628 * descr-text.el (describe-char): Show the raw character, not only
17629 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
17630 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
17633 2012-01-28 Phil Hagelberg <phil@hagelb.org>
17635 * emacs-lisp/package.el (package-install):
17636 Run package-refresh-contents if there is no archive yet (Bug#9798).
17638 2012-01-28 Chong Yidong <cyd@gnu.org>
17640 * emacs-lisp/package.el (package-maybe-load-descriptor):
17641 New function, split from package-maybe-load-descriptor.
17642 (package-maybe-load-descriptor): Use it.
17643 (package-download-transaction): Fully load required packages
17644 inside the loop, so that `require' calls work (Bug#10593).
17645 (package-install): No need to call package-initialize now.
17647 2012-01-28 Chong Yidong <cyd@gnu.org>
17649 * simple.el (deactivate-mark): Doc fix (Bug#8614).
17651 * tooltip.el (tooltip-mode): Doc fix.
17652 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
17654 * frame.el (set-cursor-color): Doc fix (Bug#352).
17656 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
17657 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
17659 * cus-edit.el (custom-buffer-create-internal): Fix search button
17660 action (Bug#10542).
17661 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
17663 2012-01-27 Eduard Wiebe <usenet@pusto.de>
17665 * dired.el (dired-mark-files-regexp):
17666 Include any subdirectory components. (Bug#10445)
17668 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
17670 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
17671 Handle [host]:port syntax. (Bug#10533)
17673 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
17675 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
17677 2012-01-26 Glenn Morris <rgm@gnu.org>
17679 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
17680 * term.el (term-raw-escape-map): Use Control-X-prefix.
17681 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
17683 2012-01-25 Martin Rudalics <rudalics@gmx.at>
17685 * window.el (window-state-get, window--state-get-1): Don't deal
17686 with fixed-sizeness of windows. Simplify code.
17688 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
17690 * window.el (window--state-get-1, window--state-put-2):
17691 Don't save and restore the mark.
17693 2012-01-25 Chong Yidong <cyd@gnu.org>
17695 * custom.el (custom-variable-p): Doc fix.
17697 2012-01-25 Glenn Morris <rgm@gnu.org>
17699 * dired.el (dired-goto-file): Handle some of the more common
17700 characters that `ls -b' escapes. (Bug#10596)
17702 * progmodes/compile.el (compilation-next-error-function):
17703 Respect compilation-first-column in the "*compilation*" buffer.
17704 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
17706 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
17708 2012-01-24 Glenn Morris <rgm@gnu.org>
17710 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
17712 2012-01-24 Julien Danjou <julien@danjou.info>
17714 * color.el (color-rgb-to-hsl): Fix value computing.
17715 (color-hue-to-rgb): New function.
17716 (color-hsl-to-rgb): New function.
17717 (color-clamp, color-saturate-hsl, color-saturate-name)
17718 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
17719 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
17721 2012-01-24 Glenn Morris <rgm@gnu.org>
17723 * vc/vc-rcs.el (vc-rcs-create-tag):
17724 * vc/vc-sccs.el (vc-sccs-create-tag):
17725 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
17727 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
17729 * eshell/esh-util.el (eshell-read-hosts-file):
17730 Skip comment lines. (Bug#10549)
17732 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
17734 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
17736 * subr.el (display-delayed-warnings): Doc fix.
17737 (collapse-delayed-warnings): New function to collapse identical
17739 (delayed-warnings-hook): Add it.
17741 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
17743 * net/tramp.el (tramp-action-login): Set connection property "login-as".
17745 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
17746 (tramp-default-user-alist): Don't add "pscp".
17747 (tramp-do-copy-or-rename-file-out-of-band): Use connection
17748 property "login-as", if set. (Bug#10530)
17750 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
17752 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
17753 "plink1" and "psftp". (Bug#10530)
17755 2012-01-21 Kenichi Handa <handa@m17n.org>
17757 * international/mule-cmds.el (prefer-coding-system): Show a
17758 warning message if the default value of file-name-coding-system
17761 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17763 * windmove.el (windmove-reference-loc):
17764 Fix windmove-reference-loc miscalculation.
17766 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
17768 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
17771 2012-01-21 Glenn Morris <rgm@gnu.org>
17773 * international/mule.el (auto-coding-alist): Add .tbz.
17775 * files.el (local-enable-local-variables): Doc fix.
17776 (inhibit-local-variables-regexps): Rename from
17777 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
17778 Doc fix. Add some extensions from auto-coding-alist.
17779 (inhibit-local-variables-suffixes):
17780 Rename from inhibit-first-line-modes-suffixes. Doc fix.
17781 (inhibit-local-variables-p):
17782 New function, extracted from set-auto-mode-1.
17783 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
17784 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
17785 (hack-local-variables): Doc fix. Make the mode-only case
17786 respect enable-local-variables and friends.
17787 Respect inhibit-local-variables-regexps for file-locals, but
17788 not for directory-locals.
17789 (set-visited-file-name):
17790 Take account of inhibit-local-variables-regexps.
17791 Whether it applies may change as the file name is changed.
17792 * jka-cmpr-hook.el (jka-compr-install):
17793 * jka-compr.el (jka-compr-uninstall):
17794 Update for inhibit-first-line-modes-suffixes name change.
17796 2012-01-20 Martin Rudalics <rudalics@gmx.at>
17798 * help-macro.el (make-help-screen): Temporarily restore original
17799 binding for minor-mode-map-alist (Bug#10454).
17801 2012-01-19 Julien Danjou <julien@danjou.info>
17803 * color.el (color-name-to-rgb): Use the white color to find the max
17804 color component value and return correctly computed values.
17805 (color-name-to-rgb): Add missing float conversion for max value.
17807 2012-01-19 Martin Rudalics <rudalics@gmx.at>
17809 * window.el (window--state-get-1, window-state-get): Do not use
17810 special state value for window-persistent-parameters.
17811 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
17812 (window--state-put-2): Reset all window parameters to nil before
17813 assigning values of persistent parameters.
17815 2012-01-18 Alan Mackenzie <acm@muc.de>
17817 Eliminate sluggishness and hangs in fontification of "semicolon
17820 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
17821 Change value 10000 -> 3000.
17822 (c-state-safe-place): Reformulate so it doesn't stack up an
17823 infinite number of wrong entries in c-state-nonlit-pos-cache.
17824 (c-determine-limit-get-base, c-determine-limit): New functions to
17825 determine backward search limits disregarding literals.
17826 (c-find-decl-spots): Amend commenting.
17827 (c-cheap-inside-bracelist-p): New function which detects "={".
17829 * progmodes/cc-fonts.el
17830 (c-make-font-lock-BO-decl-search-function): Give a limit to a
17832 (c-font-lock-declarations): Fix an occurrence of point being
17833 undefined. Check additionally for point being in a bracelist or
17834 near a macro invocation without a semicolon so as to avoid a
17835 fruitless time consuming search for a declarator. Give a more
17836 precise search limit for declarators using the new
17839 2012-01-18 Glenn Morris <rgm@gnu.org>
17841 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
17842 (set-auto-mode): Doc fixes.
17844 2012-01-17 Glenn Morris <rgm@gnu.org>
17846 * isearch.el (search-nonincremental-instead): Fix doc typo.
17848 * dired.el (dired-insert-directory): Handle newlines in directory name.
17849 (dired-build-subdir-alist): Unescape newlines in directory name.
17851 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
17853 * net/tramp.el (tramp-local-end-of-line): New defcustom.
17854 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
17855 (tramp-action-terminal): Use it. (Bug#10530)
17857 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
17859 * minibuffer.el (completion--replace): Strip properties (bug#10062).
17861 2012-01-16 Martin Rudalics <rudalics@gmx.at>
17863 * window.el (window-state-ignored-parameters): Remove variable.
17864 (window--state-get-1): Rename argument MARKERS to IGNORE.
17865 Handle persistent window parameters. Make copy of clone-of
17866 parameter only if requested. (Bug#10348)
17867 (window--state-put-2): Install a window parameter only if it has
17868 a non-nil value or an existing parameter shall be overwritten.
17870 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
17872 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
17874 2012-01-14 Eli Zaretskii <eliz@gnu.org>
17876 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
17877 don't pass the (nil) value of `upnode' to string-match.
17879 2012-01-14 Chong Yidong <cyd@gnu.org>
17881 * startup.el (command-line): Fix X resource class for cursorColor.
17882 Fix values recognized by the cursorBlink resource.
17884 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
17886 * epg.el (epg--make-temp-file): Avoid permission race condition
17887 when running on old Emacs versions (bug#10403).
17889 2012-01-14 Glenn Morris <rgm@gnu.org>
17891 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
17893 2012-01-13 Alan Mackenzie <acm@muc.de>
17895 Fix filling for when filladapt mode is enabled.
17897 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
17898 c-mask-paragraph, pass in `fill-paragraph' rather than
17899 `fill-region-as-paragraph'. (This is a reversion of a previous
17901 * progmodes/cc-mode.el (c-basic-common-init):
17902 Make fill-paragraph-handle-comment buffer local and set it to nil.
17904 2012-01-13 Glenn Morris <rgm@gnu.org>
17906 * dired.el (dired-switches-escape-p): New function.
17907 (dired-insert-directory): Use dired-switches-escape-p.
17908 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
17910 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
17912 2012-01-12 Glenn Morris <rgm@gnu.org>
17914 * mail/sendmail.el (mail-mode): Update paragraph-separate for
17915 changes in adaptive-fill-regexp. (Bug#10276)
17917 2012-01-11 Alan Mackenzie <acm@muc.de>
17919 Fix Emacs bug #10463 - put `widen's around the critical spots.
17921 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
17922 widen around each invocation of c-state-pp-to-literal. Remove an
17923 unused let variable.
17925 2012-01-11 Glenn Morris <rgm@gnu.org>
17927 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
17930 2012-01-10 Chong Yidong <cyd@gnu.org>
17932 * net/network-stream.el (network-stream-open-starttls):
17933 Avoid emitting a confusing error message when the server gives a bad
17934 response to the capability command.
17936 2012-01-10 Glenn Morris <rgm@gnu.org>
17938 * mail/unrmail.el (unrmail): Tweak previous change.
17940 2012-01-09 Chong Yidong <cyd@gnu.org>
17942 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
17944 2012-01-08 Alan Mackenzie <acm@muc.de>
17946 Optimize font locking in long enum definitions.
17948 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
17949 arm to a cond form to handle enums.
17950 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
17951 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
17953 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
17955 * files.el (move-file-to-trash): Preserve default file modes on error.
17958 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17960 * faces.el (set-face-attribute): Clarify the meaning of the nil
17963 * subr.el (with-selected-frame): Mention that the selected frame
17964 is restored (bug#9980).
17966 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
17969 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
17970 (password-read): Don't autoload unused function.
17972 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
17974 * progmodes/which-func.el (which-func-mode): Turn into a
17975 non-interactive function and mark as obsolete (bug#10428).
17977 2012-01-06 Chong Yidong <cyd@gnu.org>
17979 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
17980 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
17981 functions, along with 1 and -1.
17983 2012-01-06 Eli Zaretskii <eliz@gnu.org>
17985 * time.el (display-time-load-average)
17986 (display-time-default-load-average): Doc fixes. See the thread
17988 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
17991 2012-01-06 Glenn Morris <rgm@gnu.org>
17993 * mail/unrmail.el (unrmail): Give an explicit error if the input file
17994 has no messages. (Bug#10377)
17996 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
17997 than Info-edit. (Bug#10385)
17999 * time.el (display-time-load-average, display-time-next-load-average):
18002 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
18003 local setting of buffer-read-only to the input buffer. (Bug#10419)
18005 * calendar/calendar.el (calendar-mode):
18006 Locally set scroll-margin to 0. (Bug#10379)
18008 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
18010 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
18012 2012-01-05 Glenn Morris <rgm@gnu.org>
18014 * eshell/em-unix.el (diff-no-select): Autoload it.
18015 (eshell/diff): Use diff-no-select. (Bug#10420)
18017 2012-01-05 Chong Yidong <cyd@gnu.org>
18019 * shell.el (shell-dynamic-complete-functions): Revert last change.
18020 (shell-command-completion-function): New function.
18021 (shell-completion-vars): Use it to implement
18022 shell-completion-execonly (Bug#10417).
18024 * custom.el (enable-theme): Don't set custom-safe-themes.
18026 * cus-theme.el (custom-theme-merge-theme):
18027 Ignore custom-enabled-themes and custom-safe-themes.
18029 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
18031 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
18032 first prompt in `sql-interacive-mode'.
18033 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
18035 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
18036 (sql-product-interactive): Bug fix: Set `sql-buffer' in
18037 context of original buffer. Invoke `sql-login-hook'.
18039 2012-01-04 Eli Zaretskii <eliz@gnu.org>
18041 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
18042 letters in cite-prefix.
18044 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18046 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
18048 2012-01-03 Chong Yidong <cyd@gnu.org>
18050 * shell.el (shell-dynamic-complete-functions):
18051 Put pcomplete-completions-at-point, so as to try
18052 comint-filename-completion first (Bug#10417).
18054 2012-01-02 Richard Stallman <rms@gnu.org>
18056 * battery.el (battery-status-function):
18057 Detect when to use battery-yeeloong-sysfs.
18058 (battery-echo-area-format): Add string for Yeeloong.
18059 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
18060 (battery-yeeloong-sysfs): New function.
18062 2012-01-02 Chong Yidong <cyd@gnu.org>
18064 * dirtrack.el (dirtrack-list): Eliminate unused third element.
18065 (dirtrack): Merge code for handling relative filenames in prompt
18066 from shell-dir-cookie-watcher.
18067 (dirtrack-debug-message): New arg to avoid excess format calls.
18069 * shell.el (shell-dir-cookie-re): Variable deleted.
18070 (shell-dir-cookie-watcher): Function deleted.
18071 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
18072 with dirtrack-mode.
18074 2012-01-01 Eli Zaretskii <eliz@gnu.org>
18076 * term/w32-win.el (dynamic-library-alist) <gnutls>:
18077 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
18080 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
18082 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
18084 2011-12-31 Eli Zaretskii <eliz@gnu.org>
18086 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
18087 headers of non-MIME messages, when rmail-enable-mime is non-nil.
18089 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
18091 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
18092 also for alternative shells.
18093 (tramp-open-connection-setup-interactive-shell): Check, whether
18094 the shell is a busybox.
18095 (tramp-send-command): Don't suppress multiple prompts for
18096 busyboxes, it hurts.
18098 2011-12-28 Chong Yidong <cyd@gnu.org>
18100 * progmodes/gdb-mi.el (gdb-get-source-file-list)
18101 (gdb-get-source-file): Move mode line update to
18102 gdb-get-source-file (Bug#10087).
18104 2011-12-25 Chong Yidong <cyd@gnu.org>
18106 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
18107 gud-gdb-marker-filter without taking it as an argument.
18108 (gud-gdb-run-command-fetch-lines): Caller changed.
18109 (gud-gdb-completion-function): New variable.
18110 (gud-gdb-completion-at-point): Use it.
18111 (gud-gdb-completions-1): Split from gud-gdb-completions.
18113 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
18114 function as separate arguments.
18115 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
18116 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
18117 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
18118 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
18119 (gdb-stopped, def-gdb-auto-update-trigger)
18120 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
18121 (gdb-get-changed-registers, gdb-get-main-selected-frame):
18123 (gud-gdbmi-completions): New function.
18124 (gdb): Use it for generating the completion table.
18126 2011-12-24 Alan Mackenzie <acm@muc.de>
18128 Introduce a mechanism to widen the region used in context font
18129 locking. Use this to protect declarations from losing their contexts.
18131 * progmodes/cc-langs.el (c-before-font-lock-functions):
18132 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
18133 (c-before-context-fontification-functions): New defvar, a list of
18134 functions to be run just before context (etc.) font locking.
18136 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
18137 New, functionality extracted from
18138 c-neutralize-syntax-in-and-mark-CPP.
18139 (c-in-after-change-fontification): New variable.
18140 (c-after-change): Set c-in-after-change-fontification.
18141 (c-set-fl-decl-start): Rejig its interface, so it can be called
18142 from both after-change and context fontifying.
18143 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
18145 (c-standard-font-lock-fontify-region-function): New variable.
18146 (c-font-lock-fontify-region): New function.
18148 2011-12-24 Juri Linkov <juri@jurta.org>
18150 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
18153 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
18155 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
18156 existence of source file. (Bug#10325)
18158 2011-12-23 Alan Mackenzie <acm@muc.de>
18160 Fix unstable fontification inside templates.
18162 * progmodes/cc-langs.el (c-before-font-lock-functions):
18163 Newly created from the singular version. The (c c++ objc) entry now
18164 additionally has c-set-fl-decl-start. The other languages (apart
18165 from AWK) have that as a single entry.
18167 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18168 The functionality for "local" declarations has been extracted to
18169 c-set-fl-decl-start.
18171 * progmodes/cc-mode.el (c-common-init, c-after-change):
18172 Changes due to pluralisation of c-before-font-lock-functions.
18173 (c-set-fl-decl-start): New function, extracted from
18174 c-font-lock-enclosing-decls and enhanced.
18176 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
18178 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
18180 2011-12-22 Juri Linkov <juri@jurta.org>
18182 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
18184 2011-12-22 Chong Yidong <cyd@gnu.org>
18186 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
18188 2011-12-21 Drew Adams <drew.adams@oracle.com>
18190 * files.el (file-remote-p): Fix docstring. (Bug#10319)
18192 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
18194 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
18196 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
18198 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
18199 highlighting and support. Fix up comments for capitalization.
18200 (cfengine-mode-debug): New var.
18201 (cfengine3-mode): Change the modeline indicator to "CFE3".
18202 (cfengine3-font-lock-keywords): Improve defun highlighting.
18203 (cfengine2-actions): Rename from `cfengine-actions'.
18204 (cfengine2-font-lock-keywords): Rename from
18205 `cfengine-font-lock-keywords'.
18206 (cfengine2-imenu-expression): Rename from
18207 `cfengine-imenu-expression'.
18208 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
18209 (cfengine2-beginning-of-defun): Rename from
18210 `cfengine-beginning-of-defun'.
18211 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
18212 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
18213 (cfengine2-mode): Rename from `cfengine-mode'. Change the
18214 modeline indicator to "CFE2".
18215 (cfengine-mode): Defalias to `cfengine-auto-mode'.
18216 (cfengine-mode-abbrevs): Mark obsolete.
18218 2011-12-21 Chong Yidong <cyd@gnu.org>
18220 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
18223 2011-12-20 Martin Rudalics <rudalics@gmx.at>
18225 * window.el (window-normalize-buffer-to-display): Remove.
18226 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
18228 2011-12-19 Chong Yidong <cyd@gnu.org>
18230 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
18231 Don't signal an error in a predicate function; return non-nil.
18232 (vc-dir-mark-file): Move the error here.
18233 (vc-dir-mark-unmark): If acting on the region, keep going if one
18234 of the entries cannot be marked/unmarked.
18235 (vc-dir-mark-all-files): If current entry is a directory, mark
18236 only child files, as documented.
18238 2011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
18240 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
18241 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
18244 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
18246 * term/ns-win.el (ns-get-selection-internal)
18247 (ns-store-selection-internal): Declare.
18248 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
18249 Declare as obsolete.
18250 (ns-get-pasteboard, ns-paste-secondary):
18251 Use ns-get-selection-internal.
18252 (ns-set-pasteboard, ns-copy-including-secondary):
18253 Use ns-store-selection-internal.
18255 2011-12-17 Chong Yidong <cyd@gnu.org>
18257 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
18258 (vc-deduce-fileset): Doc fix.
18260 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
18262 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
18264 2011-12-13 Sam Steingold <sds@gnu.org>
18266 * man.el (Man-getpage-in-background): When running under a
18267 window-system, ignore $MANWIDTH and $COLUMNS.
18269 2011-12-15 Kenichi Handa <handa@m17n.org>
18271 * language/ethio-util.el: Change coding tag to utf-8-emacs.
18272 (setup-ethiopic-environment-internal): Comment out key-binding for
18273 ethio-toggle-punctuation.
18275 2011-12-13 Alan Mackenzie <acm@muc.de>
18277 Add the switch statement to AWK Mode.
18279 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
18280 "default" to the keywords regexp.
18282 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
18283 expression as the rest.
18284 (c-nonlabel-token-key): Allow string literals for AWK.
18285 Refactor for the other modes.
18287 Large brace-block initialisation makes CC Mode slow: Fix.
18288 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
18289 routines. Limit backward searching in c-font-lock-enclosing.decl.
18291 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
18292 pp-state and literal type in addition to the limits.
18293 (c-state-safe-place): New defun, extracted from c-state-literal-at.
18294 (c-state-literal-at): Use the above new defun.
18295 (c-slow-in-literal, c-fast-in-literal): Remove.
18296 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
18298 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
18299 being in a literal. Add a limit for backward searching.
18301 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
18304 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
18306 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
18308 2011-12-13 Martin Rudalics <rudalics@gmx.at>
18310 * window.el (delete-other-windows): Use correct frame in call to
18311 window-with-parameter.
18313 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
18315 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
18316 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
18317 (makefile-gmake-statements, makefile-makepp-statements):
18318 Use it and add new makepp keywords.
18319 (makefile-makepp-font-lock-keywords): Add new patterns.
18320 (makefile-match-function-end): Match new [...] and [[...]].
18322 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
18324 * ses.el (ses-call-printer-return, ses-cell-property-get)
18325 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
18326 (ses-create-cell-variable, ses-reset-header-string)
18327 (ses-cell-set-formula, ses-repair-cell-reference-all)
18328 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
18329 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
18330 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
18331 (ses-aset-with-undo, ses-load, ses-truncate-cell)
18332 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
18333 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
18334 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
18335 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
18336 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
18337 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
18338 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
18339 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
18341 2011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
18343 * ses.el: The overall change is to add cell renaming, that is
18344 setting fancy names for cell symbols other than name matching
18345 "\\`[A-Z]+[0-9]+\\'" regexp .
18346 (ses-create-cell-variable): New defun.
18347 (ses-relocate-formula): Relocate formulas only for cells the
18348 symbols of which are not renamed, i.e. symbols whose names do not
18349 match regexp "\\`[A-Z]+[0-9]+\\'".
18350 (ses-relocate-all): Relocate values only for cells the symbols of
18351 which are not renamed.
18352 (ses-load): Create cells variables as the (ses-cell ...) are read,
18353 in order to check row col consistency with cell symbol name only
18354 for cells that are not renamed.
18355 (ses-replace-name-in-formula): New defun.
18356 (ses-rename-cell): New defun.
18358 2011-12-11 Chong Yidong <cyd@gnu.org>
18360 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
18361 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
18363 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
18365 * window.el (other-window): Fix docstring.
18367 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18369 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
18370 `from' or `to' address before taking its substring.
18371 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
18372 encoded name is chopped in the middle of the encoded string, and
18373 thus displayed encoded.
18375 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
18377 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
18379 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18381 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
18382 to use texinfo-update-node and commands that call it if the
18383 Texinfo file uses @node lines without next/prev/up pointers.
18384 Correct outdated description about texinfo-master-menu.
18385 (texinfo-all-menus-update, texinfo-master-menu)
18386 (texinfo-update-node, texinfo-every-node-update)
18387 (texinfo-multiple-files-update): Doc fix. Warn against updating
18388 all the @node lines.
18389 (texinfo-master-menu): Only call texinfo-update-node if the prefix
18390 argument is numeric. Explain better in the doc string what the
18391 function really does.
18392 (texinfo-insert-master-menu-list): Improve the error message
18393 displayed if there's no menu in the Top node.
18394 (Bug#2975) See also this thread:
18395 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
18397 2011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
18399 * speedbar.el (speedbar-supported-extension-expressions):
18400 Add .adb and .ads, commonly used for Ada source code (bug#10256).
18402 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
18404 * printing.el (pr-mode-alist):
18405 * simple.el (filter-buffer-substring-functions)
18406 (completion-list-insert-choice-function):
18407 * window.el (window-with-parameter, window-atom-root)
18408 (window-sides-slots, window-size-fixed, window-min-delta)
18409 (window-max-delta, window--resize-mini-window)
18410 (window--resize-child-windows-normal, window-tree)
18411 (delete-other-windows, quit-window, split-window)
18412 (display-buffer-record-window, special-display-buffer-names)
18413 (special-display-regexps, special-display-popup-frame)
18414 (same-window-p, split-window-sensibly)
18415 (display-buffer-overriding-action, display-buffer-alist)
18416 (display-buffer-base-action, display-buffer, switch-to-buffer)
18417 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
18418 (fit-window-to-buffer, recenter-positions)
18419 (mouse-autoselect-window-state, mouse-autoselect-window-select):
18420 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
18421 and remove unneeded backslashes in docstrings.
18423 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
18425 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
18427 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
18428 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
18430 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
18431 when reading the makefile (bug#10116).
18433 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
18435 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
18438 2011-12-06 Glenn Morris <rgm@gnu.org>
18440 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
18442 2011-12-06 Chong Yidong <cyd@gnu.org>
18444 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
18446 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
18448 * textmodes/table.el (table-shorten-cell): Fix typo.
18450 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
18452 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
18454 2011-12-05 Eli Zaretskii <eliz@gnu.org>
18456 * descr-text.el (describe-char): Fix display of strong
18457 right-to-left characters and directional embeddings and overrides.
18459 * simple.el (what-cursor-position): Fix display of codepoints of
18460 strong right-to-left characters.
18462 2011-12-05 Chong Yidong <cyd@gnu.org>
18464 * faces.el (read-color): Doc fix.
18466 2011-12-05 Glenn Morris <rgm@gnu.org>
18468 * align.el (align--set-marker): Add doc-string.
18469 Don't try to move something that is not a marker. (Bug#10216)
18471 2011-12-04 Glenn Morris <rgm@gnu.org>
18473 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
18474 overly zealous deletion of trailing whitespace.
18476 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
18478 * server.el (server-delete-client): On Windows, do not try to delete
18480 (server-process-filter): On Windows, treat requests for a tty frame as
18481 if they were for a GUI frame if the running server is in GUI mode.
18483 2011-12-03 Glenn Morris <rgm@gnu.org>
18485 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
18487 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
18489 * electric.el: Streamline electric-indent's hook.
18490 (electric-indent-chars): Revert to simple list.
18491 (electric-indent-functions): New var.
18492 (electric-indent-post-self-insert-function): Use it.
18494 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
18495 there's no inferior buffer (bug#10196).
18496 (prolog-consult-compile): Don't use toggle-read-only.
18498 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
18500 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
18501 interrupt. (Bug#10187)
18503 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
18505 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
18508 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
18511 2011-12-02 Juri Linkov <juri@jurta.org>
18513 * info.el (Info-search): Display "end of manual" when Isearch
18514 reaches the end of single-file Info manual. (Bug#9918)
18516 2011-12-02 Eli Zaretskii <eliz@gnu.org>
18518 * isearch.el (isearch-message-prefix): Run the input method part
18519 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
18521 2011-12-02 Juri Linkov <juri@jurta.org>
18523 * isearch.el (isearch-occur): Use `word-search-regexp' for
18525 (isearch-search-and-update): Add condition for `isearch-word' and
18526 call `word-search-regexp'. (Bug#10145)
18528 2011-12-01 Glenn Morris <rgm@gnu.org>
18530 * eshell/em-hist.el (eshell-hist-initialize):
18531 Handle eshell-history-size nil and HISTSIZE set or unset.
18532 (eshell-history-file-name, eshell-history-size): Fix custom type.
18534 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
18536 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
18538 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
18540 * progmodes/verilog-mode.el (verilog-pretty-expr):
18541 Rework verilog-pretty-expr to handle new assignment operators in system
18542 verilog, such as += *= and the like.
18543 (verilog-assignment-operator-re): Regular expression to find the
18544 assigment operator in a verilog assignment.
18545 (verilog-assignment-operation-re): Regular expression to find an
18546 assignment statement for pretty-expr.
18547 (verilog-in-attribute-p): Query returns true if point is in an
18548 attribute context; used to skip these for expression line up from
18550 (verilog-in-parameter-p): Query returns true if point is in an
18551 parameter definition context; used to skip these for expression
18552 line up from pretty-expr.
18553 (verilog-in-parenthesis-p): Query returns true if point is in a
18554 parenthetical expression, specifically ( ) but not [ ] or { };
18555 used by pretty-expr.
18556 (verilog-just-one-space): If there is no space, don't add one.
18557 (verilog-get-lineup-indent-2): Specifically skip just attribute
18558 contexts for expression lineup, rather than skipping all
18559 parenthetical expressions.
18560 (verilog-calculate-indent): Fix comment, and fix indent.
18561 (verilog-do-indent): Indent declarations in lists (suggested by
18563 (verilog-mode-abbrev-table): Populate abbrev mode with the various
18565 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
18568 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
18570 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
18571 parameters with embedded comments. Reported by Ray Stevens.
18572 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
18573 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
18574 Reported by Tim Holt.
18575 (verilog-auto): Fix AUTOing a upper module then AUTOing module
18576 instantiated by upper module causing wrong expansion until AUTOed a
18577 second time. Reported by K C Buckenmaier.
18578 (verilog-diff-auto): Fix showing .* as a difference when
18579 `verilog-auto-star-save' off. Reported by Dan Dever.
18580 (verilog-auto-reset, verilog-read-always-signals)
18581 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
18582 temporary signals in reset list if
18583 verilog-auto-reset-blocking-in-non is nil, and match assignment
18584 style to each signal's assignment type, bug381.
18585 Reported by Thomas Esposito.
18586 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
18587 (verilog-uvm-statement-re): Support UVM indentation and
18588 highlighting, with old OVM keywords only.
18589 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
18590 Support AUTOTIEOFF creating non-wire data types.
18591 Suggested by Jonathan Greenlaw.
18592 (verilog-auto-insert-lisp, verilog-delete-to-paren)
18593 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
18594 (verilog-inject-sense, verilog-read-inst-pins)
18595 (verilog-read-sub-decls, verilog-read-sub-decls-line):
18596 Fix mismatching parenthesis inside commented out code when deleting
18597 AUTOINST, bug383. Reported by Jonathan Greenlaw.
18598 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
18599 non-numeric vector width. Reported by Alex Reed.
18600 (verilog-auto-ascii-enum): Add "onehot" option to work around not
18601 detecting signals with parameter widths. Reported by Alex Reed.
18602 (verilog-auto-delete-trailing-whitespace):
18603 With `verilog-auto-delete-trailing-whitespace' remove trailing
18604 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
18605 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
18606 Fix verilog-scan-cache corruption when running user AUTO expansion
18607 hooks that call indentation routines.
18608 (verilog-simplify-range-expression): Fix typo ignoring lower case
18610 (verilog-delete-auto): Fix delete-autos to also remove user created
18611 automatics, as long as they start with AUTO.
18612 (verilog-batch-diff-auto, verilog-diff-auto)
18613 (verilog-diff-function): Add `verilog-diff-auto' and bind to
18614 "C-c?" to report differences in AUTO expansion, ignoring spaces.
18615 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
18616 (verilog-in-paren-quick, verilog-re-search-backward-quick)
18617 (verilog-re-search-forward-quick, verilog-syntax-ppss):
18618 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
18619 is disabled and its cache will get corrupt, causing AUTOS not to
18620 expand. Instead use only -quick functions.
18621 (verilog-scan-region): Fix scanning over escaped quotes.
18622 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
18623 (verilog-re-search-backward-quick)
18624 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
18625 related functions now ignore strings, to fix misparsing of strings
18626 with magic comments embedded in them.
18627 (verilog-read-auto-template):
18628 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
18629 Reported by Brad Dobbie.
18630 (verilog-read-auto-template):
18631 Fix 'verilog-auto-inst-template-numbers' with comments.
18632 Reported by Brad Dobbie.
18633 (verilog-auto-inst, verilog-auto-inst-param)
18634 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
18635 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
18636 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
18637 debugging templates without merge conflicts, bug357.
18638 Reported by Brad Dobbie.
18639 (verilog-read-auto-template):
18640 Fix verilog-auto-inst-template-numbers with multiple templates.
18641 Reported by Brad Dobbie.
18642 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
18643 abbrevs so user won't be asked to save.
18644 (verilog-read-auto-lisp-present): Fix to start at beginning of
18645 buffer in case called outside of verilog-auto.
18646 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
18647 to "X-2". Reported by Matthew Myers.
18648 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
18649 all inputs from module templates. Reported by Leith Johnson.
18650 (verilog-module-inside-filename-p): Fix locating programs as with
18652 (verilog-auto-inst-port): Fix vl-width expressions when using
18653 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
18654 (verilog-decls-get-regs, verilog-decls-get-signals,
18655 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
18656 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
18657 verilog-read-decls): Combine reg and wire structures into one var
18658 structure to represent SystemVerilog concepts.
18659 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
18660 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
18661 (verilog-auto-wire-type, verilog-insert-definition):
18662 Add verilog-auto-wire-type and AUTOLOGIC to support using
18663 SystemVerilog "logic" keyword instead of "wire"/"reg".
18664 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
18665 to declares outputs that also have assignments (presumably in an
18666 ifdef or generate if so there's not a driver conflict).
18667 Reported by Matthew Myers.
18668 (verilog-auto-declare-nettype, verilog-insert-definition):
18669 Add verilog-auto-declare-nettype to fix declarations using
18670 `default_nettype none. Reported by Julian Gorfajn.
18671 (verilog-read-always-signals-recurse, verilog-read-decls)
18672 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
18673 malformed end statement, bug325. Reported by Joshua Wise and
18675 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
18676 (verilog-inst-comment-re): Fix not deleting Interfaced comment
18677 when expanding .* in interfaces, bug320.
18678 Reported by Pierre-David Pfister.
18679 (verilog-read-module-name): Fix import statements between module
18680 name and open parenthesis, bug317.
18681 Reported by Pierre-David Pfister.
18682 (verilog-simplify-range-expression): Fix simplification of
18683 multiplications inside AUTOWIRE connections, bug303.
18684 (verilog-auto-inst-port): Support parameter expansion in
18685 multidimensional arrays.
18686 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
18687 after "assert property". Reported by Julian Gorfajn.
18688 (verilog-simplify-range-expression): Fix "couldn't merge" errors
18689 with multiplication, bug303.
18690 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
18691 Reported by Jan Frode Lonnum.
18693 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
18695 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
18696 (hfy-shell-file-name, hfy-shell):
18697 * international/fontset.el (x-decompose-font-name): Fix typos.
18699 2011-11-29 Ken Brown <kbrown@cornell.edu>
18701 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
18702 (gdb-version): Remove defvar.
18703 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
18704 (gdb-gud-context-command, gdb-non-stop-handler)
18705 (gdb-current-context-command, gdb-stopped): Use it.
18706 (gdb-init-1): Enable pretty printing here.
18707 (gdb-non-stop-handler): Don't enable pretty-printing here.
18708 Check to see if the target supports non-stop mode; if not, turn off
18709 non-stop mode. Use the following.
18710 (gdb-check-target-async): New defun.
18711 (gud-watch, gdb-stopped): Fix whitespace.
18712 (gdb-get-source-file): Don't try to display the source file if
18713 `gdb-main-file' is nil.
18715 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18717 * align.el: Try to generate fewer markers (bug#10047).
18718 (align--set-marker): New macro.
18719 (align-region): Use it.
18721 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18723 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
18725 2011-11-29 Chong Yidong <cyd@gnu.org>
18727 * indent.el (indent-for-tab-command, indent-according-to-mode):
18729 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
18731 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
18733 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
18734 aware of remote file names. (Bug#10124)
18736 2011-11-29 Chong Yidong <cyd@gnu.org>
18738 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
18740 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
18742 * files.el (find-file): Don't use force-same-window (bug#10144).
18743 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
18744 use pop-to-buffer if the selected window can't be used.
18745 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
18747 2011-11-28 Eli Zaretskii <eliz@gnu.org>
18749 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
18752 2011-11-28 Chong Yidong <cyd@gnu.org>
18754 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
18756 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
18758 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
18759 gdb-get-source-file-list on gdb-create-source-file-list.
18761 2011-11-26 Eli Zaretskii <eliz@gnu.org>
18763 * whitespace.el (whitespace-newline): Use a different foreground
18764 color for 16-color light-background displays.
18766 2011-11-24 Chong Yidong <cyd@gnu.org>
18768 * window.el (display-buffer--special-action): Doc fix.
18770 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
18772 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
18773 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
18774 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
18775 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
18776 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
18777 (avl-tree-stack-first):
18778 * emacs-lisp/cconv.el (cconv--analyse-use):
18779 * net/gnutls.el (gnutls-negotiate): Fix typos.
18781 2011-11-24 Glenn Morris <rgm@gnu.org>
18783 * lpr.el (lpr-windows-system, lpr-lp-system):
18784 * mail/binhex.el (binhex-begin-line):
18785 * progmodes/grep.el (grep-history, grep-find-history):
18786 * textmodes/flyspell.el:
18787 * vc/pcvs-defs.el (cvs-global-menu):
18788 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
18789 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
18790 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
18792 * net/tls.el: Fix case of "GnuTLS".
18794 * paths.el (rmail-file-name): Format doc-string for make-docfile.
18796 * version.el (emacs-build-system): Give it a doc-string.
18798 2011-11-24 Juri Linkov <juri@jurta.org>
18800 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
18802 2011-11-24 Glenn Morris <rgm@gnu.org>
18804 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
18805 if called on a non-mime message just toggle the headers. (Bug#8006)
18807 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
18809 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
18810 (allout-lead-with-comment-string, allout-structure-deleted-hook)
18811 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
18812 (allout-rebullet-heading, allout-open-sibtopic)
18813 (allout-toggle-current-subtree-encryption)
18814 (allout-toggle-subtree-encryption, allout-encrypt-string)
18815 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
18816 (allout-distinctive-bullets-string, allout-auto-activation):
18817 * window.el (window-normalize-buffer-to-display):
18818 * progmodes/verilog-mode.el (verilog-batch-indent):
18819 * textmodes/bibtex.el (bibtex-field-braces-opt)
18820 (bibtex-field-strings-opt):
18821 * vc/cvs-status.el (cvs-tree-merge):
18824 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
18826 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
18827 `non-essential' to t, in order to avoid remote connections.
18829 2011-11-23 Eli Zaretskii <eliz@gnu.org>
18831 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18832 On MS-DOS and MS-Windows, compare with loaddefs.el
18833 case-insensitively.
18835 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18837 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
18839 2011-11-23 Glenn Morris <rgm@gnu.org>
18841 * paths.el (rmail-file-name): Reformat the doc-string so that it
18844 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
18845 (rmail-auto-file): Ignore case in the "special" field names,
18846 as mail-fetch-field does for all others.
18848 * mail/rmail.el (rmail-forward):
18849 * mail/rmailkwd.el (rmail-set-label):
18850 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
18851 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
18853 * mail/rmail.el (rmail-current-message): Doc fix.
18855 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
18857 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
18859 * server.el (server-eval-and-print): Allow C-g (bug#6585).
18861 2011-11-22 Glenn Morris <rgm@gnu.org>
18863 * mail/rmailmm.el (test-rmail-mime-handler)
18864 (test-rmail-mime-bulk-handler)
18865 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
18867 2011-11-21 Juri Linkov <juri@jurta.org>
18869 * calc/calc.el (calc-read-key-sequence):
18870 Let-bind `input-method-function' to nil. (Bug#10018)
18872 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18874 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
18875 Tell the caller that the next line needs recomputation, even
18876 though it doesn't start a sexp (bug#10094).
18878 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
18880 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
18882 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18884 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18885 Use force-same-window.
18887 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18889 * descr-text.el (describe-char-unicode-data):
18890 * json.el (json-string-escape):
18891 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
18892 (Footnote-unicode, Footnote-style-p):
18893 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
18895 2011-11-20 Chong Yidong <cyd@gnu.org>
18897 * window.el (replace-buffer-in-windows): Restore interactive spec.
18899 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18901 * electric.el (electric-indent-mode): Fix last change (too optimistic).
18903 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
18904 (byte-compile-global-not-obsolete-vars): New var.
18905 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
18907 (byte-compile-warn-obsolete): Align text with the one in *Help*.
18909 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18911 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
18912 * progmodes/pascal.el (electric-pascal-equal):
18913 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
18914 * xml.el (xml-substitute-special): Fix typos.
18916 2011-11-20 Glenn Morris <rgm@gnu.org>
18918 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
18919 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
18921 (rmail-decode-mime-charset): Mark as obsolete.
18923 * mail/rmailsum.el (rmail-message-regexp-p-1):
18924 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
18925 Before using mime functions, check they are set. (Bug#10077)
18927 2011-11-19 Juri Linkov <juri@jurta.org>
18929 * info.el (Info-finder-find-node): Use `package--builtins' instead
18930 of `package-alist'. Use node names formed by the pattern "Keyword "
18931 and the keyword name.
18933 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18935 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
18937 2011-11-19 Juri Linkov <juri@jurta.org>
18939 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
18940 that calls `revert-buffer' on all Info buffers. (Bug#9915)
18941 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
18942 `old-history', `old-history-forward'. Add let-binding
18943 `window-selected'. Remove calls to `kill-buffer',
18944 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
18945 before calling `Info-find-node', so `Info-find-node-2' will reread
18946 the Info file. Restore window positions only when `window-selected'
18949 2011-11-19 Juri Linkov <juri@jurta.org>
18951 * isearch.el (isearch-lazy-highlight-new-loop):
18952 Remove condition `(not isearch-error)'. (Bug#9918)
18954 * misearch.el (multi-isearch-search-fun): Add condition
18955 `(not bound)' to ignore lazy-highlighting search.
18956 Add the search-failed message "end of multi" when the end of
18957 multi-sequence is reached. Uncapitalize the search-failed
18958 message "Repeat for next buffer".
18960 * info.el (Info-search): Add the search-failed message
18961 "end of the manual" when the end of the manual is reached
18964 2011-11-19 Juri Linkov <juri@jurta.org>
18966 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
18967 Use non-destructive `remove' instead of `delete' because
18968 `Info-history-list' stored to `Info-isearch-initial-history-list' in
18969 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
18971 2011-11-19 Juri Linkov <juri@jurta.org>
18973 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
18974 to nil instead of binding `search-ring' and `regexp-search-ring'.
18977 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18979 * simple.el (line-move): Force movement by logical lines for any
18980 hscrolled window, not only when auto-hscroll-mode is on.
18981 (line-move-visual): Update doc string to that effect. (Bug#10076)
18983 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18985 * language/european.el (macintosh): Define as alias for mac-roman.
18987 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18989 * mail/rmailmm.el (rmail-mime-display-header)
18990 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
18991 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
18992 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
18993 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
18994 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
18996 (rmail-mime-entity-segment): To get past the tagline, move forward
18997 2 more lines, to account for the 2 empty lines that precede and
18998 follow the line with the buttons.
18999 (rmail-mime-update-tagline): Move one more line, to get past the
19000 empty line that follows the buttons in the tagline. (Bug#9520)
19002 2011-11-19 Martin Rudalics <rudalics@gmx.at>
19004 * window.el (window-max-delta-1, window-min-delta-1)
19005 (window-min-size-1, window-state-get-1, window-state-put-1)
19006 (window-state-put-2): Use "window--" prefix.
19008 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
19010 * emacs-lisp/smie.el: Improve warnings and conflict detection.
19011 (smie-warning-count): New var.
19012 (smie-set-prec2tab): Use it.
19013 (smie-bnf->prec2): Improve warnings. Add docstring.
19014 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
19015 (smie-bnf--set-class): New function.
19016 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
19019 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
19020 (compilation-error-properties, compilation-move-to-column):
19021 Handle compilation-first-column while in the target buffer.
19023 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
19024 Don't hardcode point-min==1.
19026 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
19027 (eshell-rewrite-for-command): Remove workaround.
19028 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
19029 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
19030 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
19032 * files-x.el (modify-file-local-variable): Obey commenting conventions.
19034 2011-11-17 Glenn Morris <rgm@gnu.org>
19036 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
19037 Ignore buffer-local generated-autoload-file if it is the same
19038 as the global value. (Bug#10049)
19040 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
19042 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
19043 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
19044 (reftex-toc-previous-heading, reftex-toc-max-level)
19045 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
19046 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
19047 (reftex-toc-do-promote, reftex-toc-promote-prepare)
19048 (reftex-toc-promote-action, reftex-toc-extract-section-number)
19049 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
19050 (reftex-toc-rename-label, reftex-toc-visit-location)
19051 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
19052 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
19053 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
19054 leaving "*toc*" only for references to the buffer.
19056 2011-11-17 Martin Rudalics <rudalics@gmx.at>
19058 * window.el (window-resize, delete-window, split-window):
19059 Replace window-splits by window-combination-resize.
19060 * cus-start.el (window-splits): Replace by window-combination-resize.
19062 2011-11-17 Glenn Morris <rgm@gnu.org>
19064 * progmodes/sh-script.el (sh-font-lock-keywords-var):
19065 Make bash entry derive from sh entry, not shell entry.
19067 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
19069 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
19072 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19074 * menu-bar.el (menu-bar-file-menu):
19075 * printing.el (pr-ps-utility):
19076 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
19077 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
19078 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
19079 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
19080 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
19081 (icalendar--convert-cyclic-to-ical)
19082 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
19083 (icalendar--convert-ical-to-diary)
19084 (icalendar--convert-recurring-to-diary)
19085 (icalendar--convert-non-recurring-all-day-to-diary)
19086 (icalendar-import-format-sample):
19087 * progmodes/idlw-shell.el (idlwave-shell-mode):
19088 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
19089 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
19090 (vhdl-ps-print-init): Fix typos.
19092 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
19094 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
19095 FSF and collapse date sequence, obscure author/maintainer email address
19096 better, remove extra version line, track relocation of author's webpage.
19098 * progmodes/python.el (python-pdbtrack-input-prompt)
19099 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
19100 regular python pdb prompts. Adjustments shamelessly taken exactly as
19101 suggested in EmacsWiki page (tiny change):
19102 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
19104 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19106 * expand.el (expand-pos, expand-index, expand-point):
19107 Remove redundant info from docstring.
19108 (expand-add-abbrevs): Doc fix.
19109 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
19110 (expand-sample-perl-mode-expand-list): Fix typos.
19112 * net/dbus.el (dbus-event-member-name):
19113 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
19114 * term/pc-win.el (msdos-create-frame-with-faces):
19115 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
19117 2011-11-16 Martin Rudalics <rudalics@gmx.at>
19119 * window.el (split-window, window-state-get-1)
19120 (window-state-put-1, window-state-put-2): Rename occurrences of
19121 window-nest to window-combination-limit.
19122 * cus-start.el (window-nest): Rename to window-combination-limit.
19124 2011-11-16 Chong Yidong <cyd@gnu.org>
19126 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
19127 regexp (Bug#10033).
19129 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
19131 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
19132 `completing-read' will remove *Completions* and will preserve
19133 current-buffer for us.
19134 (tmm-add-prompt): Users of *Completions* will always (re)set its
19136 (tmm-old-comp-map): Remove.
19138 2011-11-16 Glenn Morris <rgm@gnu.org>
19140 * mail/rmailedit.el: Require rmailmm when compiling.
19141 (rmail-old-mime-state): New declaration.
19142 (rmail-edit-current-message): If editing a mime message,
19143 edit the "raw" message from the mbox buffer.
19144 (rmail-cease-edit): Handle mime messages. (Bug#9840)
19146 2011-11-15 Glenn Morris <rgm@gnu.org>
19148 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
19149 which wasn't being used. Add optional arg to force given state.
19150 (rmail-mime): Add optional arg to force given state.
19152 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19154 * allout.el (allout-encryption-plaintext-sanitization-regexps):
19155 * frame.el (display-mm-dimensions-alist):
19156 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
19157 (outline-move-subtree-down):
19158 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
19159 (newsticker--treeview-do-get-node):
19160 * net/quickurl.el (quickurl-list-buffer-name):
19161 * progmodes/dcl-mode.el (dcl-mode):
19162 * progmodes/gdb-mi.el (gdb-mapcar*):
19163 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
19165 2011-11-15 Glenn Morris <rgm@gnu.org>
19167 * mail/rmail.el (rmail-file-coding-system): It's only ever used
19168 in a boolean sense, so just make it a boolean, and fix the doc.
19169 (rmail-show-mime-function, rmail-mime-feature)
19170 (rmail-require-mime-maybe): Doc fixes.
19171 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
19173 * mail/rmailmm.el (rmail-show-mime): Doc fix.
19175 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19177 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
19178 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
19179 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
19180 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
19182 2011-11-15 Glenn Morris <rgm@gnu.org>
19184 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
19185 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
19186 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
19187 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
19188 (rmail-mime, rmail-show-mime): Doc fixes.
19190 * term/ns-win.el (mode-line-frame-identification):
19191 Leave it alone. (Bug#10051)
19193 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
19195 * mail/rmailout.el (rmail-output-to-rmail-buffer):
19196 Handle empty buffers. (Bug#9978)
19198 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
19200 * international/mule.el (define-charset):
19201 * mail/rmailmm.el (rmail-mime-find-header-encoding):
19202 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
19203 * progmodes/verilog-mode.el (verilog-backward-token):
19204 * textmodes/ispell.el (lookup-words):
19205 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
19207 2011-11-14 Glenn Morris <rgm@gnu.org>
19209 * progmodes/executable.el
19210 (executable-make-buffer-file-executable-if-script-p):
19211 Handle file-modes returning nil.
19213 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
19214 message - not necessary, and causes problems. (Bug#9831)
19216 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
19218 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
19220 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
19221 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
19222 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
19224 2011-11-12 Martin Rudalics <rudalics@gmx.at>
19226 * window.el (window-resize, delete-window): Use window-splits
19227 variable instead of function.
19228 (window-state-get-1, window-state-put-2, window-state-put):
19229 Don't deal with windows' splits status.
19231 2011-11-12 Glenn Morris <rgm@gnu.org>
19233 * apropos.el (apropos-do-all, apropos-library, apropos-value)
19234 (apropos-documentation): Doc fixes.
19236 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
19238 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
19239 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
19241 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
19243 * electric.el (electric-indent-post-self-insert-function): Make it
19244 possible for a char to only indent in some circumstances.
19245 (electric-indent-mode): Simplify.
19247 2011-11-11 Martin Rudalics <rudalics@gmx.at>
19249 * window.el (windows-with-parameter): Remove unused function.
19250 (windows-at-side): Rename to window-at-side-list.
19251 (window-check, window-atom-check, window-atom-check-1)
19252 (window-side-check, window-size-ignore, window-size-fixed-1)
19253 (window-in-direction-2): Prefix with "window--".
19254 (window-tree-1): Rename to window--subtree, fix doc-string.
19256 2011-11-11 Glenn Morris <rgm@gnu.org>
19258 * subr.el (eval-after-load): If FILE is already loaded,
19259 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
19261 2011-11-10 Glenn Morris <rgm@gnu.org>
19263 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
19264 Call svn via vc-svn-command rather than vc-do-command.
19265 (vc-svn-command): Add --non-interactive. (Bug#9993)
19266 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
19268 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19269 Add toggle-read-only. (Bug#7292)
19270 * files.el (toggle-read-only): Mention that it should only
19271 be used interactively. (Bug#10006)
19273 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
19275 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19276 Adjust regexp for OCaml warnings.
19278 * electric.el (electric-pair-post-self-insert-function): Let user
19279 turn it off buffer-locally (bug#9932).
19281 * progmodes/python.el (python-beginning-of-statement):
19282 Rewrite (bug#2703).
19284 * progmodes/compile.el: Better handle TABs (bug#9749).
19285 (compilation-internal-error-properties)
19286 (compilation-next-error-function): Obey the target buffer's
19287 compilation-error-screen-columns.
19289 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
19291 * progmodes/meta-mode.el: Remove obsolete comments.
19292 (meta-right-comment-regexp, meta-ignore-comment-regexp):
19293 Fix typos in docstrings.
19295 2011-11-09 Martin Rudalics <rudalics@gmx.at>
19297 * window.el (window-size-fixed-p): Rewrite doc-string.
19298 (window-resizable-p): Rename to window--resizable-p. Update callers.
19299 (window--resizable): New function. Make all callers of
19300 window-resizable call window--resizable instead.
19301 (window-resizable): Rewrite in terms of window--resizable.
19303 2011-11-08 Glenn Morris <rgm@gnu.org>
19305 * progmodes/delphi.el (delphi-mode-syntax-table):
19306 Let define-derived-mode define a proper syntax table. (Bug#9994)
19308 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19310 * window.el: Stay away from defsubst.
19311 (window-list-no-nils): Remove.
19312 (window-state-get-1, window-state-get): Use backquote instead.
19314 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19316 * emacs-lisp/find-func.el (find-function-read):
19317 Fix incorrect use of default argument in `completing-read'.
19319 2011-11-08 Martin Rudalics <rudalics@gmx.at>
19321 * window.el (display-buffer-function, special-display-function):
19322 Mention display-buffer-record-window but do not mention
19323 help-setup parameter in doc-strings.
19324 (window-min-delta): Fix doc-string typo.
19326 2011-11-08 Chong Yidong <cyd@gnu.org>
19328 * window.el (window-total-height, window-total-width): Doc fix.
19329 (window-body-size): Move from C.
19330 (window-body-height, window-body-width): Move to C.
19332 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19334 * window.el: Make special-display like display-buffer-alist (bug#9532).
19335 (display-buffer--special-action): New function, morphed
19336 from display-buffer--special.
19337 (display-buffer): Use it to handle special-display-buffers at higher
19338 priority (just after display-buffer-alist).
19339 (display-buffer-fallback-action, display-buffer--other-frame-action)
19340 (pop-to-buffer-same-window): Remove display-buffer--special.
19342 2011-11-07 Glenn Morris <rgm@gnu.org>
19344 * calendar/cal-menu.el (cal-menu-set-date-title):
19345 Do nothing if not in a calendar. (Bug#9976)
19347 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
19349 * files.el (find-file): Always use selected-window.
19351 2011-11-07 Martin Rudalics <rudalics@gmx.at>
19353 * window.el (window-combinations): Make WINDOW argument
19354 mandatory. Rewrite doc-string.
19355 (walk-window-subtree, window-atom-check, window-min-delta)
19356 (window-max-delta, window--resize-this-window)
19357 (window--resize-root-window-vertically, window-tree)
19358 (balance-windows, window-state-put): Rewrite doc-strings as to
19359 not mention the term "subwindow".
19360 (window--resize-subwindows-skip-p): Rename to
19361 window--resize-child-windows-skip-p.
19362 (window--resize-subwindows-normal): Rename to
19363 window--resize-child-windows-normal.
19364 (window--resize-subwindows): Rename to
19365 window--resize-child-windows.
19366 (window-or-subwindow-p): Rename to window--in-subtree-p.
19368 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19370 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
19371 Ensure that mbox format messages end in two newlines (Bug#9974).
19373 2011-11-06 Chong Yidong <cyd@gnu.org>
19375 * window.el (window-combination-p): Function deleted; its
19376 side-effect is not used in any existing code.
19377 (window-combinations, window-combined-p): Call window-*-child
19380 2011-11-05 Chong Yidong <cyd@gnu.org>
19382 * window.el (window-valid-p): Rename from window-any-p.
19383 (window-size-ignore, window-state-get): Callers changed.
19384 (window-normalize-window): Rename from window-normalize-any-window.
19385 New arg LIVE-ONLY, replacing window-normalize-live-window.
19386 (window-normalize-live-window): Delete.
19387 (window-combination-p, window-combined-p, window-combinations)
19388 (walk-window-subtree, window-atom-root, window-min-size)
19389 (window-sizable, window-sizable-p, window-size-fixed-p)
19390 (window-min-delta, window-max-delta, window-resizable)
19391 (window-resizable-p, window-full-height-p, window-full-width-p)
19392 (window-current-scroll-bars, window-point-1, set-window-point-1)
19393 (window-at-side-p, window-in-direction, window-resize)
19394 (adjust-window-trailing-edge, maximize-window, minimize-window)
19395 (window-deletable-p, delete-window, delete-other-windows)
19396 (record-window-buffer, unrecord-window-buffer)
19397 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
19398 (quit-window, split-window, window-state-put)
19399 (set-window-text-height, fit-window-to-buffer)
19400 (shrink-window-if-larger-than-buffer): Callers changed.
19402 2011-11-04 Eli Zaretskii <eliz@gnu.org>
19404 * mail/rmail.el (rmail-simplified-subject): Decode subject with
19405 rfc2047-decode-string.
19406 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
19409 * window.el (window-body-height, window-body-width): Mention in
19410 the doc string that the return values are in frame's canonical
19413 2011-11-03 Alan Mackenzie <acm@muc.de>
19415 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
19416 change in cc-engine.el.
19418 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
19420 * window.el (switch-to-buffer): Use `force-same-window' interactively.
19422 2011-11-02 Martin Rudalics <rudalics@gmx.at>
19424 * window.el (quit-window): Call unrecord-window-buffer after
19425 showing another buffer in the window. (Bug#9937)
19426 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
19428 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
19430 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
19431 Accept status with more than 9 shelves. (Bug#9935)
19432 Reported by Colin D Bennett <colin@gibibit.com>.
19434 2011-11-01 Martin Rudalics <rudalics@gmx.at>
19436 * help.el (with-help-window): Don't reference
19437 temp-buffer-show-specifiers in doc-string.
19439 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
19441 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
19444 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19446 * whitespace.el: New version 13.2.2.
19447 (whitespace-newline-mode): Disable properly. Reported by Sarah
19450 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
19452 * net/newst-treeview.el: Remove "Time-stamp".
19453 (newsticker--group-manage-orphan-feeds): Do not call
19454 newsticker--treeview-tree-update.
19455 (newsticker-treeview-update, newsticker-treeview):
19456 Call newsticker--treeview-tree-update if necessary.
19458 2011-10-30 Martin Rudalics <rudalics@gmx.at>
19460 * window.el (window-iso-combination-p, window-iso-combined-p)
19461 (window-iso-combinations): Remove "iso-" infix.
19462 Suggested by Chong Yidong.
19463 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
19464 (window-max-delta-1, window-resize, window--resize-siblings)
19465 (window--resize-this-window, adjust-window-trailing-edge)
19466 (split-window, balance-windows-1)
19467 (shrink-window-if-larger-than-buffer):
19468 * calendar/calendar.el (calendar-generate-window):
19469 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
19471 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
19473 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
19474 in place (bug#9907).
19475 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
19476 (eshell-rewrite-if-command, eshell-rewrite-for-command)
19477 (eshell-structure-basic-command, eshell-rewrite-while-command)
19478 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
19479 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
19480 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
19481 (eshell-do-pipelines-synchronously, eshell-eval-command):
19482 Use backquotes and prefer setq to set.
19483 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
19484 (eshell-macrop): Use functionp.
19485 (eshell-do-eval): Handle multiple expressions in `while' body.
19487 2011-10-30 Chong Yidong <cyd@gnu.org>
19489 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
19490 instead of set-mark (Bug#9810).
19492 2011-10-30 Chong Yidong <cyd@gnu.org>
19494 * window.el (split-window-below, split-window-right): Rename from
19495 split-window-above-each-other and split-window-side-by-side
19496 respectively. All callers changed.
19497 (split-window-sensibly, split-window-sensibly): Use them.
19498 (split-window-keep-point): Doc fix.
19500 * isearch.el: Add isearch-scroll property to split-window-below
19501 and split-window-right.
19503 * follow.el (follow-mode):
19504 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19505 * progmodes/ada-xref.el (ada-gdb-application):
19506 * emulation/vip.el (vip-buffer-in-two-windows):
19507 * image-dired.el (image-dired-dired-with-window-configuration):
19508 * dired-x.el (dired-do-find-marked-files):
19509 * dired.el (dired-pop-to-buffer):
19510 * bs.el (bs--show-with-configuration):
19511 * vc/emerge.el (emerge-setup-windows):
19512 * textmodes/two-column.el (2C-two-columns):
19513 * textmodes/reftex-toc.el (reftex-toc):
19514 * progmodes/gdb-mi.el (gdb-setup-windows):
19515 * progmodes/fortran.el (fortran-window-create):
19516 * net/newst-treeview.el (newsticker--treeview-window-init):
19517 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
19518 * emulation/tpu-edt.el (tpu-gold-map):
19519 * emulation/crisp.el (crisp-mode-map):
19520 * calendar/calendar.el (calendar-basic-setup): Callers changed.
19522 2011-10-29 Chong Yidong <cyd@gnu.org>
19524 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
19526 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
19528 * textmodes/flyspell.el (flyspell-word): Fix char offset for
19529 forged Ispell output (Bug#7904).
19531 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
19533 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19535 * doc-view.el: Avoid ugly errors about not finding nil.
19536 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
19537 (doc-view-dvipdf-program, doc-view-unoconv-program)
19538 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
19539 Avoid nil or absolute file name as default value.
19540 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
19542 2011-10-28 Alan Mackenzie <acm@muc.de>
19544 * progmodes/cc-defs.el (c-version): -> 5.32.2.
19546 2011-10-28 Alan Mackenzie <acm@muc.de>
19548 Amend the handling of c-beginning/end-of-defun in nested declaration
19551 * progmodes/cc-vars.el (c-defun-tactic): Move here from
19552 cc-langs.el. Change it to a defcustom.
19554 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
19557 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19558 Prevent "class foo : bar" being spuriously recognized as a label.
19560 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
19561 Add parameter `inclusive' (to include enclosing braces in the region).
19562 (c-widen-to-enclosing-decl-scope): New function.
19563 (c-while-widening-to-decl-block): New macro.
19564 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
19565 outward for defun boundaries, and correspondingly change symbol
19566 `respect-enclosure' to `go-outward'.
19567 (c-declaration-limits): Change algorithm to report only the "innermost"
19568 defun's boundaries.
19570 2011-10-28 Deniz Dogan <deniz@dogan.se>
19572 * net/rcirc.el (rcirc-mode): Use hard newlines.
19574 2011-10-28 Alan Mackenzie <acm@muc.de>
19576 Amend to indent and fontify macros "which include their own semicolon"
19577 correctly, using the "virtual semicolon" mechanism.
19579 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
19581 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
19582 Recode to scan one line at a time rather than having \n and \r
19583 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
19584 (c-forward-label): Amend for virtual semicolons.
19585 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
19587 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
19588 of the new C macros.
19590 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
19591 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
19592 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
19593 (c-opt-cpp-macro-define): Make into a full language variable.
19594 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
19595 AWK Mode (including \n, \r) removed, no longer needed.
19597 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
19598 Invoke c-make-macro-with-semi-re.
19600 * progmodes/cc-vars.el (c-macro-with-semi-re):
19601 (c-macro-names-with-semicolon): New variables.
19602 (c-make-macro-with-semi-re): New function.
19604 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19606 * vc/log-edit.el: Fill empty field rather than adding new one.
19607 (log-edit-add-field): New function.
19608 (log-edit-insert-changelog): Use it.
19610 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19612 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
19614 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19616 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
19617 (gdb--check-interpreter): New function.
19620 2011-10-27 Glenn Morris <rgm@gnu.org>
19622 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
19623 (least-positive-float, least-negative-float)
19624 (least-positive-normalized-float, least-negative-normalized-float)
19625 (float-epsilon, float-negative-epsilon):
19626 Remove unnecessary declarations.
19628 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
19629 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
19630 (least-positive-float, least-negative-float)
19631 (least-positive-normalized-float, least-negative-normalized-float)
19632 (float-epsilon, float-negative-epsilon): Add doc-strings,
19633 based on those in cl.texi.
19635 * files.el (set-visited-file-name): If the major-mode changed,
19636 reload the local variables. (Bug#9796)
19638 2011-10-27 Chong Yidong <cyd@gnu.org>
19640 * subr.el (change-major-mode-after-body-hook): New hook.
19641 (run-mode-hooks): Run it.
19643 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19644 Use change-major-mode-before-body-hook.
19646 * simple.el (fundamental-mode):
19647 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
19648 change introducing fundamental-mode-hook.
19650 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
19652 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
19654 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
19656 * ido.el (ido-file-name-all-completions-1): Do not require
19657 tramp.el explicitly. (Bug#7583)
19659 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
19661 * progmodes/octave-mod.el:
19662 * progmodes/octave-inf.el: Update maintainer.
19664 2011-10-26 Chong Yidong <cyd@gnu.org>
19666 * subr.el (with-wrapper-hook): Rewrite doc.
19668 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
19670 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
19671 filenames "/method:foo:". (Bug#9793)
19673 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
19675 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
19678 2011-10-24 Glenn Morris <rgm@gnu.org>
19680 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
19682 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
19684 * notifications.el: Add the requirement of a running D-Bus session
19685 bus to the Commentary.
19687 2011-10-24 Juri Linkov <juri@jurta.org>
19689 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19690 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
19693 2011-10-24 Juri Linkov <juri@jurta.org>
19695 * info.el (Info-following-node-name-re): Add newline to the list
19696 of allowed characters for leading space. (Bug#9824)
19698 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
19700 * progmodes/octave-inf.el (inferior-octave-mode-map):
19701 Fix C-c C-h binding.
19702 * progmodes/octave-mod.el (octave-help): Remove.
19704 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
19706 Sync with Tramp 2.2.3.
19708 * net/tramp-cache.el (top): Pacify byte-compiler using
19709 `init-file-user' and `site-run-file'.
19711 * net/trampver.el: Update release number.
19713 2011-10-23 Chong Yidong <cyd@gnu.org>
19715 * files.el (toggle-read-only): Remove obsolete comment about
19718 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
19719 for toggle-read-only. Note that this hasn't called vc-next-action
19720 since 2008-05-02, though it wasn't documented at the time.
19722 * vc/ediff-init.el (ediff-toggle-read-only-function):
19723 Use toggle-read-only.
19725 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
19727 Fix bug #9560, sporadic wrong indentation; improve instrumentation
19730 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
19731 correct faulty logical expression.
19732 (c-parse-state-state, c-record-parse-state-state):
19733 (c-replay-parse-state-state): New defvar/defuns.
19734 (c-debug-parse-state): Use new functions.
19736 2011-10-22 Martin Rudalics <rudalics@gmx.at>
19738 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
19739 last fix. Use window-in-direction correctly.
19741 2011-10-21 Chong Yidong <cyd@gnu.org>
19743 * progmodes/idlwave.el (idlwave-mode):
19744 * progmodes/vera-mode.el (vera-mode): No need to set
19745 require-final-newline; that's done in prog-mode.
19746 Suggested by Stefan Monnier.
19748 2011-10-21 Martin Rudalics <rudalics@gmx.at>
19750 * mouse.el (mouse-drag-window-above)
19751 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
19752 (mouse-drag-mode-line-1, mouse-drag-header-line)
19753 (mouse-drag-vertical-line-rightward-window): Remove.
19754 (mouse-drag-line): New function.
19755 (mouse-drag-mode-line, mouse-drag-header-line)
19756 (mouse-drag-vertical-line): Call mouse-drag-line.
19757 * window.el (window-at-side-p, windows-at-side): New functions.
19759 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
19761 * tar-mode.el (tar-grind-file-mode):
19762 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
19764 2011-10-21 Chong Yidong <cyd@gnu.org>
19766 * progmodes/idlwave.el (idlwave-mode):
19767 * progmodes/vera-mode.el (vera-mode):
19768 Use mode-require-final-newline.
19770 2011-10-20 Glenn Morris <rgm@gnu.org>
19772 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
19774 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
19776 * emulation/cua-base.el (cua-set-mark): Fix case of string.
19778 2011-10-20 Chong Yidong <cyd@gnu.org>
19780 * emulation/cua-base.el (cua-mode):
19781 * mail/footnote.el (footnote-mode):
19782 * mail/mailabbrev.el (mail-abbrevs-mode):
19783 * net/xesam.el (xesam-minor-mode):
19784 * progmodes/bug-reference.el (bug-reference-mode):
19785 * progmodes/cap-words.el (capitalized-words-mode):
19786 * progmodes/compile.el (compilation-minor-mode)
19787 (compilation-shell-minor-mode):
19788 * progmodes/gud.el (gud-tooltip-mode):
19789 * progmodes/hideif.el (hide-ifdef-mode):
19790 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
19791 * progmodes/subword.el (subword-mode):
19792 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
19793 * progmodes/which-func.el (which-function-mode):
19794 * term/tvi970.el (tvi970-set-keypad-mode):
19795 * term/vt100.el (vt100-wide-mode):
19796 * textmodes/flyspell.el (flyspell-mode):
19797 * textmodes/ispell.el (ispell-minor-mode):
19798 * textmodes/nroff-mode.el (nroff-electric-mode):
19799 * textmodes/paragraphs.el (use-hard-newlines):
19800 * textmodes/refill.el (refill-mode):
19801 * textmodes/reftex.el (reftex-mode):
19802 * textmodes/rst.el (rst-minor-mode):
19803 * textmodes/sgml-mode.el (html-autoview-mode)
19804 (sgml-electric-tag-pair-mode):
19805 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
19806 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
19807 * emulation/crisp.el (crisp-mode):
19808 * emacs-lisp/eldoc.el (eldoc-mode):
19809 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
19810 minor mode behavior.
19812 2011-10-19 Juri Linkov <juri@jurta.org>
19814 * descr-text.el (describe-char): Add #x2010 and #x2011 to
19815 the list of hard-coded chars with escape-glyph face.
19817 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
19819 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
19821 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
19823 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
19826 2011-10-19 Glenn Morris <rgm@gnu.org>
19828 * vc/vc-bzr.el (vc-bzr-after-dir-status):
19829 Ignore ignored files. (Bug#9726)
19831 2011-10-19 Chong Yidong <cyd@gnu.org>
19833 Doc fix for minor modes, stating that an omitted argument enables
19834 the mode unconditionally when called from Lisp.
19836 * abbrev.el (abbrev-mode):
19837 * allout.el (allout-mode):
19838 * autoinsert.el (auto-insert-mode):
19839 * autoarg.el (autoarg-mode, autoarg-kp-mode):
19840 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
19841 (global-auto-revert-mode):
19842 * battery.el (display-battery-mode):
19843 * composite.el (global-auto-composition-mode)
19844 (auto-composition-mode):
19845 * delsel.el (delete-selection-mode):
19846 * desktop.el (desktop-save-mode):
19847 * dired-x.el (dired-omit-mode):
19848 * dirtrack.el (dirtrack-mode):
19849 * doc-view.el (doc-view-minor-mode):
19850 * double.el (double-mode):
19851 * electric.el (electric-indent-mode, electric-pair-mode):
19852 * emacs-lock.el (emacs-lock-mode):
19853 * epa-hook.el (auto-encryption-mode):
19854 * follow.el (follow-mode):
19855 * font-core.el (font-lock-mode):
19856 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
19857 * help.el (temp-buffer-resize-mode):
19858 * hilit-chg.el (highlight-changes-mode)
19859 (highlight-changes-visible-mode):
19860 * hi-lock.el (hi-lock-mode):
19861 * hl-line.el (hl-line-mode, global-hl-line-mode):
19862 * icomplete.el (icomplete-mode):
19863 * ido.el (ido-everywhere):
19864 * image-file.el (auto-image-file-mode):
19865 * image-mode.el (image-minor-mode):
19866 * iswitchb.el (iswitchb-mode):
19867 * jka-cmpr-hook.el (auto-compression-mode):
19868 * linum.el (linum-mode):
19869 * longlines.el (longlines-mode):
19870 * master.el (master-mode):
19871 * mb-depth.el (minibuffer-depth-indicate-mode):
19872 * menu-bar.el (menu-bar-mode):
19873 * minibuf-eldef.el (minibuffer-electric-default-mode):
19874 * mouse-sel.el (mouse-sel-mode):
19875 * msb.el (msb-mode):
19876 * mwheel.el (mouse-wheel-mode):
19877 * outline.el (outline-minor-mode):
19878 * paren.el (show-paren-mode):
19879 * recentf.el (recentf-mode):
19880 * reveal.el (reveal-mode, global-reveal-mode):
19881 * rfn-eshadow.el (file-name-shadow-mode):
19882 * ruler-mode.el (ruler-mode):
19883 * savehist.el (savehist-mode):
19884 * scroll-all.el (scroll-all-mode):
19885 * scroll-bar.el (scroll-bar-mode):
19886 * server.el (server-mode):
19887 * shell.el (shell-dirtrack-mode):
19888 * simple.el (auto-fill-mode, transient-mark-mode)
19889 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
19890 (line-number-mode, column-number-mode, size-indication-mode)
19891 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
19892 * strokes.el (strokes-mode):
19893 * time.el (display-time-mode):
19894 * t-mouse.el (gpm-mouse-mode):
19895 * tool-bar.el (tool-bar-mode):
19896 * tooltip.el (tooltip-mode):
19897 * type-break.el (type-break-mode-line-message-mode)
19898 (type-break-query-mode):
19899 * view.el (view-mode):
19900 * whitespace.el (whitespace-mode, whitespace-newline-mode)
19901 (global-whitespace-mode, global-whitespace-newline-mode):
19902 * xt-mouse.el (xterm-mouse-mode): Doc fix.
19904 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19905 Fix autogenerated docstring.
19907 2011-10-19 Juri Linkov <juri@jurta.org>
19909 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
19910 by checking environment variables "DESKTOP_SESSION" and
19911 "XDG_CURRENT_DESKTOP". (Bug#9779)
19913 2011-10-19 Juri Linkov <juri@jurta.org>
19915 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
19916 (browse-url-chromium-program, browse-url-chromium-arguments):
19918 (browse-url-default-browser): Check for `browse-url-chromium' and
19919 call `browse-url-chromium-program'.
19920 (browse-url-chromium): New command. (Bug#9779)
19922 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
19924 * facemenu.el (list-colors-duplicates): On Windows, detect more
19925 duplicates by assuming that only colors matching "^System" are
19926 special "system colors". (Bug#9722)
19928 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
19930 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
19931 to distinguish the author from the committer.
19933 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
19935 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
19937 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
19939 * international/mule.el (sgml-html-meta-auto-coding-function):
19940 Add support for detecting encoding in HTML5 specified only as
19941 <meta charset="UTF-8">. Implementation just makes http-equiv and
19942 content-type parts from HTML4 encoding string optional. (Bug#9716)
19944 2011-10-18 Glenn Morris <rgm@gnu.org>
19946 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
19948 2011-10-18 Chong Yidong <cyd@gnu.org>
19950 * faces.el (cursor): Doc fix.
19952 2011-10-17 Chong Yidong <cyd@gnu.org>
19954 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
19956 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
19958 * dirtrack.el (dirtrack): Support shell buffers with path
19959 prefixes, e.g. tramp-based remote shells. (Bug#9647)
19961 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
19963 * json.el: Bump version to 1.3 and note change in History.
19964 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
19966 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
19968 * comint.el (comint-insert-input, comint-send-input)
19969 (comint-get-old-input-default, comint-backward-matching-input)
19970 (comint-next-prompt): Use nil instead of `input' for field property of
19971 past user input (bug#114).
19973 * minibuffer.el (completion--replace): Inherit surrounding properties
19975 (minibuffer-complete-and-exit): Use it.
19977 * comint.el (comint--table-subvert): Quote the all-completions output
19980 2011-10-17 Martin Rudalics <rudalics@gmx.at>
19982 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
19984 * menu-bar.el (menu-bar-file-menu): Add entry for making new
19985 window on right of selected. (Bug#9350) Reword other window
19986 entries and separate them from frame entries.
19988 2011-10-15 Glenn Morris <rgm@gnu.org>
19990 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
19993 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
19995 * net/network-stream.el (network-stream-open-starttls):
19996 Improve detection of failure due to lack of TLS support.
19998 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
19999 putting the input text in front and in bold.
20001 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
20003 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
20005 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
20008 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
20009 unread-command-events rather than pushing yet-another event.
20011 2011-10-14 Eli Zaretskii <eliz@gnu.org>
20013 * mail/sendmail.el (sendmail-query-once): Improve the wording of
20014 the explanation of the possible choices. Make the options passed
20015 to completing-read shorter.
20017 2011-10-13 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
20019 * textmodes/flyspell.el (flyspell-large-region): Make sure
20020 extended character mode is used if defined (Bug#1339).
20022 2011-10-13 Eli Zaretskii <eliz@gnu.org>
20024 * simple.el (what-cursor-position): Fix the display of the
20025 character info for LRE, LRO, RLE, and RLO characters by appending
20028 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
20030 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
20031 even in case of error; add debug spec; simplify data flow.
20032 (with-timeout-handler): Remove.
20034 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
20036 Fix Bug#6019, Bug#9315.
20038 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
20039 complete `buffer-file-name', the local file name part could look
20040 remotely (for example on VMS).
20042 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
20043 `tramp-run-real-handler'.
20044 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
20045 already quoted by '"'.
20047 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
20048 Let `file-name-handler-alist' be nil, the local file name part
20049 could look remotely (for example on VMS).
20051 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
20053 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
20055 (flyspell-post-command-hook): ...to here.
20057 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20059 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
20061 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
20062 using completion. Protect against "slow" callers.
20063 Remove the "message hack".
20065 2011-10-11 Juri Linkov <juri@jurta.org>
20067 * isearch.el (isearch-lazy-highlight-word): New variable.
20068 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
20071 2011-10-11 Glenn Morris <rgm@gnu.org>
20073 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
20074 like f90-previous-statement does.
20076 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20078 * eshell/eshell.el (eshell-command): History should be saved
20079 only in interactive use, to avoid error.
20081 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20083 * minibuffer.el (completion-file-name-table): Fix last change,
20084 i.e. ignore normal errors but not the other ones.
20086 2011-10-10 Martin Rudalics <rudalics@gmx.at>
20088 * window.el (special-display-buffer-names)
20089 (special-display-regexps): Remove some remnants of earlier
20090 changes from doc-strings.
20091 (quit-windows-on): New function.
20093 * vc/vc.el (vc-revert, vc-rollback):
20094 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
20095 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
20096 (Bug#6183) (Bug#7074) (Bug#7447)
20098 2011-10-09 Martin Rudalics <rudalics@gmx.at>
20100 * window.el (frame-auto-hide-function): Add version tag.
20103 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
20105 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
20108 2011-10-09 Leo Liu <sdl.web@gmail.com>
20110 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
20113 2011-10-08 Glenn Morris <rgm@gnu.org>
20115 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
20116 before the first code statement zero indent. (Bug#9690)
20118 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
20120 * simple.el (count-words-region): Always count in the region.
20121 Report the number of lines and characters too.
20122 (count-words): New command, which counts in the buffer if the
20123 region is inactive, as count-words-region used to.
20124 (count-words--message): New function. Handle plurals.
20125 (count-lines-region): Make it an alias for count-words-region.
20127 * bindings.el (esc-map): Replace count-lines-region with
20128 count-words-region.
20130 2011-10-08 Martin Rudalics <rudalics@gmx.at>
20132 * window.el (window--delete): Delete dedicated frame
20133 unconditionally when argument KILL is non-nil. (Bug#9699)
20134 (switch-to-buffer): Fix doc-string typo.
20136 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20138 * eshell/eshell.el (eshell-command): Avoid using hooks.
20140 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
20142 * bindings.el ([M-left],[M-right]): Bind to left-word and
20143 right-word respectively.
20145 2011-10-07 Glenn Morris <rgm@gnu.org>
20147 * cus-start.el (debug-on-quit): Fix custom type.
20149 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20151 * subr.el (define-key-after): Clarify that the function is not
20152 useful for non-menu keymaps.
20154 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
20156 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20158 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
20159 in current minibuffer (Fix bug with recursive minibuffers).
20161 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
20163 * progmodes/gdb-mi.el (gdb): Doc fix.
20165 2011-10-05 Martin Rudalics <rudalics@gmx.at>
20167 * window.el (frame-auto-hide-function): New option replacing
20168 frame-auto-delete. Suggested by Stefan Monnier.
20169 (window--delete): Call frame-auto-hide-function instead of
20170 investigating frame-auto-delete.
20171 (window-point-1, set-window-point-1): New functions.
20172 (window-in-direction, record-window-buffer, window-state-get-1)
20173 (display-buffer-record-window): Use window-point-1 instead of
20175 (set-window-buffer-start-and-point): Use set-window-point-1.
20177 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20179 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
20181 2011-10-05 Glenn Morris <rgm@gnu.org>
20183 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
20184 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
20186 2011-10-05 Leo Liu <sdl.web@gmail.com>
20188 * subr.el (read-char-choice): Fix argument to buffer-live-p which
20189 works with buffer object.
20191 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20193 * mpc.el (mpc-tool-bar-map): Add labels.
20195 2011-10-04 Glenn Morris <rgm@gnu.org>
20197 * calendar/holidays.el (calendar-check-holidays): Doc fix.
20199 2011-10-04 Martin Rudalics <rudalics@gmx.at>
20201 * window.el (window--delete): New function.
20202 (frame-auto-delete): Resuscitate option.
20203 (bury-buffer, replace-buffer-in-windows)
20204 (quit-window): Rewrite using window--delete.
20205 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20206 Pass display-buffer-mark-dedicated to window--display-buffer-2
20209 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20211 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
20212 returns a list (bug#9554). Add remote file name completion.
20213 * comint.el (comint--table-subvert): Curry and get quote&unquote
20214 functions as arguments.
20215 (comint--complete-file-name-data): Adjust call accordingly.
20216 * pcomplete.el (pcomplete--table-subvert): Remove.
20217 (pcomplete-completions-at-point): Use comint--table-subvert instead.
20219 * minibuffer.el (completion-table-case-fold): Use currying.
20220 (completion--styles-type, completion--cycling-threshold-type):
20222 (completion-styles, completion-category-overrides)
20223 (completion-cycle-threshold): Use them.
20224 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
20225 completion-table-case-fold.
20227 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
20229 * minibuffer.el (completion-category-overrides): Fix type of styles
20230 and add more user friendly tags (bug#9660).
20232 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20234 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
20235 (mule-input-method-string): New widget.
20236 (default-input-method, language-info-custom-alist): Use it.
20238 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
20240 * pcomplete.el: Require comint.
20241 (pcomplete--common-suffix): Remove.
20242 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
20243 (pcomplete--table-subvert): Sync with comint--table-subvert.
20244 (pcomplete--entries): Use comint-completion-file-name-table.
20245 * comint.el (comint-unquote-filename): Simplify.
20246 (comint-completion-file-name-table): New function (bug#9616).
20247 (comint--complete-file-name-data): Use it.
20249 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
20250 (pcmpl-gnu-tar-buffer): Remove.
20251 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
20252 around. Make sure pcomplete-suffix-list is only changed temporarily.
20253 Don't look inside the tar's file if it's too large.
20255 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
20257 * cus-edit.el (custom-mode-map):
20258 * epa.el (epa-key-list-mode-map):
20259 * man.el (Man-mode-map):
20260 * startup.el (splash-screen-keymap):
20261 * simple.el (special-mode-map): Use scroll-up-command and
20262 scroll-down-command.
20264 * progmodes/idlw-help.el (idlwave-help-mode-map):
20265 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
20266 * net/newst-plainview.el (newsticker-mode-map):
20267 * emulation/ws-mode.el (wordstar-mode-map):
20268 * emulation/vi.el (vi-com-map):
20269 * calc/calc-graph.el (calc-graph-show-dumb):
20270 * term/sun.el (terminal-init-sun):
20271 * term/ns-win.el (global-map):
20272 * progmodes/grep.el (grep-mode-map):
20273 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
20274 * mail/rmail.el (rmail-mode-map):
20275 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
20277 * custom.el (custom-safe-themes, load-theme): Treat value of t for
20278 custom-safe-themes as special.
20280 2011-10-01 Julien Danjou <julien@danjou.info>
20282 * notifications.el (notifications-notify): Fix docstring.
20284 2011-10-01 Per Starbäck <per@starback.se>
20286 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
20288 2011-09-30 Martin Rudalics <rudalics@gmx.at>
20290 * startup.el (command-line-1): Fix last fix by inserting
20291 initial-scratch-message into *scratch* before displaying it.
20292 (Bug#9605) and (Bug#9636)
20294 2011-09-29 Eli Zaretskii <eliz@gnu.org>
20296 * simple.el (line-move): If auto-hscroll-mode is disabled and the
20297 window is hscrolled, move by logical lines. (Bug#9607)
20298 (line-move-visual): Update the doc string to the above effect.
20300 2011-09-29 Martin Rudalics <rudalics@gmx.at>
20302 * window.el (display-buffer-record-window): When WINDOW is the
20303 selected window use `point' instead of `window-point'. (Bug#9626)
20305 * startup.el (command-line-1): Use insert-before-markers when
20306 inserting initial-scratch-message. (Bug#9605)
20308 * help.el (help-window): Remove variable.
20310 2011-09-29 Glenn Morris <rgm@gnu.org>
20312 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
20314 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
20316 * descr-text.el (describe-char-categories): Accept category
20317 descriptions more than one line long.
20319 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
20321 * simple.el (delete-trailing-whitespace): Fix last change.
20323 * progmodes/perl-mode.el (perl-syntax-propertize-function):
20324 Don't confuse "y => 3" as the beginning of a `y' operation.
20326 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
20327 object has more than 4 slots (bug#9613).
20329 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
20331 * subr.el (with-output-to-temp-buffer):
20332 * net/quickurl.el (quickurl, quickurl-browse-url):
20333 Fix typos in docstrings.
20335 2011-09-27 Eli Zaretskii <eliz@gnu.org>
20337 * minibuffer.el (completion-styles)
20338 (completion-category-overrides): Cross reference each other in doc
20341 2011-09-27 Glenn Morris <rgm@gnu.org>
20343 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
20344 to split-string. (Bug#9606)
20346 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20348 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
20351 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
20353 * emacs-lisp/package.el (list-packages): Fix echo area message.
20355 2011-09-27 Leo Liu <sdl.web@gmail.com>
20357 * ido.el (ido-read-internal): Accept cons cell HIST arg.
20359 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
20361 * net/dbus.el (dbus-unregister-object): Don't release services for
20362 registered signals. (Bug#9581)
20364 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
20366 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
20367 function that picks between cfengine 2 and 3 support
20368 automatically. Update docs accordingly.
20370 2011-09-22 Kenichi Handa <handa@m17n.org>
20372 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
20374 (indian-itrans-v5-table-for-tamil): New variable.
20375 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
20377 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
20379 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
20380 that's true if the current command involved collapsing of text.
20381 It's reset to false at the beginning of the next command.
20382 (allout-post-command-business): Move the cursor to the beginning
20383 of entry if the cursor is hidden and collapsing activity just
20386 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
20388 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
20389 tracking (Bug#9541).
20391 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
20393 * net/newst-reader.el (newsticker-html-renderer)
20394 (newsticker-show-news): Automatically load html rendering package
20395 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
20396 because w3m-fill-column is let-bound" and the error "Symbol's value
20397 as variable is void: w3m-fill-column".
20399 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
20401 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
20402 Release services only if they are defined. (Bug#9581)
20404 2011-09-23 Richard Stallman <rms@gnu.org>
20406 * textmodes/paragraphs.el (forward-sentence): For backwards case,
20407 distinguish start of paragraph from start of its text.
20409 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
20411 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
20412 (rmail-generate-viewer-buffer): Put that hook on view buffer.
20413 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
20415 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
20417 * international/mule-diag.el (mule-diag): Insert a newline after
20418 each fontset description.
20420 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20422 * simple.el (delete-trailing-whitespace):
20423 Document last change; simplify.
20425 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
20427 * simple.el (delete-trailing-whitespace): Also delete
20428 extra newlines at the end of the buffer.
20430 * textmodes/picture.el: Make motion commands obey shift-select-mode.
20431 (picture-newline): Use forward-line so as to ignore fields.
20433 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20435 * subr.el (with-wrapper-hook): Fix edebug spec.
20437 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
20439 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
20442 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
20444 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
20445 Fix nasty bug using wrong cached values.
20447 2011-09-23 Alan Mackenzie <acm@muc.de>
20449 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
20451 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
20453 * window.el (pop-to-buffer): Ensure right window is selected if we
20454 chose another frame.
20456 2011-09-22 Eli Zaretskii <eliz@gnu.org>
20458 * simple.el (what-cursor-position): Use get-char-property-change
20459 and next-single-char-property-change, to be able to show display
20460 properties that come from overlays as well as text properties.
20462 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
20464 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
20466 * cmuscheme.el (run-scheme, switch-to-scheme):
20467 * cus-edit.el (customize-group, custom-buffer-create)
20468 (customize-browse):
20470 * shell.el (shell):
20471 * mail/sendmail.el (mail):
20472 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
20474 2011-09-22 Richard Stallman <rms@gnu.org>
20476 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
20477 move back only to line beg, don't move back over blank lines.
20479 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
20481 * files.el (copy-directory): Set directory attributes only in case
20482 they could be retrieved from the source directory. (Bug#9565)
20484 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
20486 * progmodes/hideshow.el (hs-looking-at-block-start-p)
20487 (hs-find-block-beginning, hs-hide-level-recursive):
20488 Ignore strings as well as comments. (Bug#9502)
20490 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
20492 * progmodes/sql.el (sql-comint-postgres):
20493 Convert port number to a string. (Bug#9566)
20495 2011-09-22 Martin Rudalics <rudalics@gmx.at>
20497 * window.el (quit-window): Undedicate window when switching to
20498 previous buffer. Reported by Thierry Volpiatto
20499 <thierry.volpiatto@gmail.com>.
20500 (special-display-popup-frame): When popping up a new frame reset
20501 its previous buffers to nil. Simplify code.
20503 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
20505 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
20506 and process filter, as done also in `shell-command'.
20508 2011-09-21 Martin Rudalics <rudalics@gmx.at>
20510 * window.el (set-window-buffer-start-and-point):
20511 Call set-window-start with NOFORCE argument t.
20512 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20513 (quit-window): Reword doc-string. Handle new format of
20514 quit-restore parameter. Don't delete window if it has a
20515 previous buffer we can show instead of the present one.
20516 (display-buffer-record-window): Rewrite using a new format for
20517 the quit-restore window parameter
20518 (special-display-popup-frame, display-buffer-same-window)
20519 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20520 (display-buffer-pop-up-window, display-buffer-use-some-window):
20521 Adapt symbol passed to display-buffer-record-window.
20522 * help.el (help-window-setup): Handle new format of quit-restore
20525 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
20527 * faces.el (face-list): Fix docstring (bug#9564).
20529 * window.el (display-buffer--action-function-custom-type):
20530 Don't include internal functions in the Custom interface.
20532 2011-09-20 Juri Linkov <juri@jurta.org>
20534 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
20535 (Info-forward-node, Info-backward-node, Info-next-preorder)
20536 (Info-last-preorder): Use it. (Bug#9528)
20538 2011-09-20 Juri Linkov <juri@jurta.org>
20540 * info.el (Info-last-preorder): Visit last menu item only when
20541 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
20543 2011-09-20 Julien Danjou <julien@danjou.info>
20545 * password-cache.el (password-cache-remove): Remove entries even if the
20546 value is nil, so that password with a nil value (negative caching) is
20547 possible to invalidate.
20549 2011-09-20 Lawrence Mitchell <wence@gmx.li>
20551 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
20552 all whitespace around breakpoint. (Bug#9553)
20553 (f90-find-breakpoint): Only break at whitespace inside a comment.
20555 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
20557 * minibuffer.el (completion-file-name-table): Keep track of errors.
20558 (completion-table-with-predicate): Handle the case where pred1 is nil.
20559 * pcomplete.el (pcomplete-completions-at-point): Simplify.
20561 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20563 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
20564 (debugger-return-value): Signal an error if the debugging context does
20565 not await any return value.
20567 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
20568 * image-mode.el (image-toggle-display-text)
20569 (image-toggle-display-image): Stay away from evil `intangible'.
20571 2011-09-19 Leo Liu <sdl.web@gmail.com>
20573 * replace.el (occur-revert-arguments): Make it permanent-local.
20574 (occur-mode): Don't call font-lock-defontify.
20576 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
20578 * net/ldap.el (ldap-search-internal): Don't push empty search
20581 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20583 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
20585 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
20587 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
20588 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
20590 2011-09-18 Juri Linkov <juri@jurta.org>
20592 * buff-menu.el (Buffer-menu-mode-map):
20593 * dired.el (dired-mode-map):
20594 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
20595 (lisp-interaction-mode-map):
20596 * emacs-lisp/package.el (package-menu-mode-map):
20597 * epa.el (epa-key-list-mode-map):
20598 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
20599 (menu-bar-options-menu):
20600 * outline.el (outline-mode-menu-bar-map):
20601 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
20602 * vc/vc-dir.el (vc-dir-menu-map):
20603 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
20604 Capitalize non-function content words in menu item strings.
20606 * dired.el (dired-mode-map): Add menu item for
20607 `image-dired-dired-toggle-marked-thumbs'.
20609 2011-09-18 Juri Linkov <juri@jurta.org>
20611 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
20612 to `isearch-case-fold-search' and restore its original value
20613 after the `isearch-mode' call.
20615 2011-09-18 Juri Linkov <juri@jurta.org>
20617 * progmodes/grep.el (grep-process-setup): Don't check code for 1
20618 because `zgrep' returns 1 for successful matches (bug#9226).
20620 2011-09-18 Juri Linkov <juri@jurta.org>
20622 * info.el (Info-extract-menu-node-name): Check the second match
20623 for empty string (second test-case of bug#9528).
20624 (Info-last-preorder): Let-bind `Info-history' to nil to not add
20625 intermediate nodes to the history (first test-case of bug#9528).
20627 2011-09-18 Juri Linkov <juri@jurta.org>
20629 * info.el (Info-mode-syntax-table): New variable.
20630 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
20632 2011-09-18 Juri Linkov <juri@jurta.org>
20634 * info.el (Info-file-supports-index-cookies):
20635 Increment line-beginning-position's arg from 3 to 4 because makeinfo
20636 outputs one more line for long file names (bug#4142).
20638 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20640 * newcomment.el (comment-normalize-vars): If prompting for
20641 comment-start, set comment-start-skip too (Bug#8424).
20643 2011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
20645 * icomplete.el: Fix previous fix of Bug#5849.
20646 (icomplete-mode): Don't set completion-show-inline-help.
20647 (icomplete-minibuffer-setup): Set completion-show-inline-help
20648 locally during icompletion.
20650 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20652 * woman.el (woman2-process-escapes): Don't delete unrecognized
20653 escapes (Bug#7843).
20655 * files.el (inhibit-first-line-modes-regexps): Add image files.
20656 (hack-local-variables-prop-line): Return nil for malformed
20657 prop-lines (Bug#9044).
20659 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
20661 * net/tramp.el (top): Don't require 'shell.
20662 (tramp-methods): Fix docstring.
20663 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
20664 Return complete remote file name. Handle "smb" case.
20665 Use `tramp-tmpdir', if defined for the respective method.
20666 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
20668 * net/tramp-compat.el (top): Require 'shell.
20670 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20671 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
20672 `tramp-current-host'.
20673 (tramp-get-remote-tmpdir): Remove.
20675 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
20676 `tramp-tmpdir' entries.
20677 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
20678 (tramp-smb-handle-file-attributes): Ignore errors.
20679 (tramp-smb-wait-for-output): Check also for process end.
20681 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
20683 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
20684 when sending QUIT (bug#9312).
20686 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
20688 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
20689 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
20690 occur-mode-display-occurrence.
20691 (occur-edit-mode): Add usage message.
20692 (occur-cease-edit): New command.
20693 (occur-after-change-function): Use text properties to find the
20694 position of the prefix text.
20695 (occur-engine): Set stickiness of prefix text properties.
20697 2011-09-17 Glenn Morris <rgm@gnu.org>
20699 * progmodes/etags.el (complete-tag):
20700 Fix call to completion-in-region. (Bug#9526)
20702 2011-09-17 Juri Linkov <juri@jurta.org>
20704 * textmodes/ispell.el (ispell-word): Add to the error message
20705 the word, ispell program name and current dictionary (bug#9121).
20706 (ispell-tex-arg-end): Capitalize "error" in the error message.
20708 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
20710 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
20713 2011-09-17 Juri Linkov <juri@jurta.org>
20715 * window.el (window-safe-min-height, window-safe-min-width):
20716 Fix typos (followup to bug#9522).
20718 2011-09-17 Sven Joachim <svenjoac@gmx.de>
20720 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
20722 2011-09-16 Eli Zaretskii <eliz@gnu.org>
20724 * simple.el (line-move): If goal-column is set, move by logical
20725 lines, not by display lines. (Bug#971)
20726 (next-line, previous-line, goal-column, line-move-visual): Doc fix
20727 to reflect the above change.
20729 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
20731 * image.el (imagemagick-register-types): Use regexp-opt.
20733 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20735 * window.el (display-buffer-base-action): Rename from
20736 display-buffer-default-action. Make default value empty.
20737 (display-buffer-overriding-action): Convert to defvar.
20738 (display-buffer-fallback-action): New var.
20740 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20742 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
20744 (package--add-to-archive-contents): If there is a duplicate entry
20745 with an older version, remove it.
20746 (package-menu-mark-delete, package-menu-mark-install)
20747 (package-menu-mark-unmark): Make unused args optional.
20748 (package-menu-mark-obsolete-for-deletion):
20749 Use package-menu-get-status instead of a regexp search.
20750 (package-menu-get-status): Use tabulated-list-entry.
20751 (package-menu-mark-upgrades): New command.
20752 (package-menu-mode-map): Bind it to U. Add it to menu bar.
20753 (package-menu-execute): Do installation before deletion.
20754 (package-menu-refresh, package-menu-execute): Use derived-mode-p
20755 instead of checking major-mode.
20756 (package-menu--find-upgrades): New function.
20758 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20760 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
20761 passwords in the log buffer.
20762 (smtpmail-process-filter): Update the process marker so that the
20763 "broken by peer" status message is inserted in the right place.
20765 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
20767 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
20768 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
20769 bibtex-completion-at-point-function.
20770 (bibtex-completion-at-point-function): Use them.
20772 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
20774 * mpc.el (mpc-constraints-tag-lookup): New function.
20775 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
20776 also to browser "album|playlist".
20778 2011-09-14 Juri Linkov <juri@jurta.org>
20780 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
20781 (isearch-edit-string): Use length of `isearch-string' when
20782 `isearch-fail-pos' returns nil.
20783 (isearch-message): Remove duplicate code and call
20784 `isearch-fail-pos' with arg `t'.
20786 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
20788 * replace.el (occur-mode-goto-occurrence): Don't force using other
20791 * dired-aux.el (dired-do-chmod): Don't provide initial input.
20793 2011-09-14 Martin Rudalics <rudalics@gmx.at>
20795 * window.el (display-buffer-window): Remove.
20796 (display-buffer-record-window): Use help-setup window parameter
20797 instead of variable display-buffer-window.
20798 (display-buffer-function, special-display-buffer-names)
20799 (special-display-function): Mention help-setup parameter instead
20800 of display-buffer-window in doc-string.
20801 * help.el (help-window-setup): New argument help-window.
20802 Use help-window-setup parameter instead of display-buffer-window.
20803 Reword some messages.
20804 (with-help-window): Pass window used for displaying the buffer
20805 to help-window-setup. Don't set display-buffer-window.
20807 2011-09-13 Glenn Morris <rgm@gnu.org>
20809 * emacs-lisp/debug.el (debugger-make-xrefs):
20810 Preserve point. (Bug#9462)
20812 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20814 * window.el (window-deletable-p): Use next-frame.
20816 2011-09-13 Martin Rudalics <rudalics@gmx.at>
20818 * window.el (window-auto-delete): Remove.
20819 (window-deletable-p): Remove argument FORCE. Don't deal with
20820 dedication and previous buffers.
20821 (switch-to-prev-buffer): Don't delete window.
20822 (delete-windows-on): Delete a window's frame if and only if the
20823 window is dedicated.
20824 (replace-buffer-in-windows): Delete buffer's window or frame if
20825 and only if window is dedicated.
20826 (quit-window): Handle quit-restore as before last change.
20827 (bury-buffer): Delete window only if window-deletable-p returns t.
20829 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20831 * window.el (window-deletable-p): Never delete the last frame on a
20834 2011-09-13 Glenn Morris <rgm@gnu.org>
20836 * help.el (describe-key-briefly): Copy previous standard-output change.
20838 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
20840 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
20842 2011-09-13 Glenn Morris <rgm@gnu.org>
20844 * emacs-lisp/lisp-mode.el (lisp-indent-function):
20845 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
20847 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
20849 * dired-aux.el (dired-mark-read-string): Don't return default
20850 value on empty input (Bug#9361).
20851 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
20852 Omit initial minibuffer contents.
20853 (dired-do-chmod): Signal an error on empty input.
20854 (dired-mark-read-string): Don't return default on empty input.
20856 * files.el (file-modes-symbolic-to-number): Doc fix.
20858 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20860 * international/mule-cmds.el (ucs-completions): Remove.
20861 (read-char-by-name): Use complete-with-action instead; add metadata.
20863 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20865 * window.el (display-buffer--action-function-custom-type)
20866 (display-buffer--action-custom-type): New vars.
20867 (display-buffer-alist, display-buffer-default-action)
20868 (display-buffer-overriding-action): Add defcustom types.
20870 * frame.el (delete-other-frames): Doc fix (Bug#276).
20872 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20874 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
20876 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20878 Change modes that used same-window-* vars to use switch-to-buffer.
20880 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
20881 Use switch-to-buffer.
20883 * cus-edit.el (customize-group, custom-buffer-create)
20884 (customize-browse, custom-buffer-create-other-window):
20885 Use switch-to-buffer or switch-to-buffer-other-window.
20887 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
20888 (Info-prev, Info-up, Info-speedbar-goto-node)
20889 (info-display-manual): Use switch-to-buffer.
20890 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
20892 * mail/sendmail.el (mail): Use switch-to-buffer.
20893 (mail-recover): Use switch-to-buffer-other-window.
20895 * cmuscheme.el (run-scheme, switch-to-scheme):
20897 * shell.el (shell):
20898 * net/rlogin.el (rlogin):
20899 * net/telnet.el (telnet, rsh):
20900 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
20902 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20904 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
20906 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20908 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
20909 so don't mention it (bug#9301).
20910 (dired-sort-toggle-or-edit): Clarify string further.
20912 * faces.el (face-spec-set-match-display): Make `(type graphic)'
20913 match `x', `w32' and `ns', like the manual says (bug#9029).
20915 * subr.el (eval-after-load): Doc string clarification (bug#9125).
20916 (process-kill-buffer-query-function): Mention the buffer name in
20919 * image-mode.el (image-next-line): The line parameter is mandatory
20922 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
20923 which can be useful (bug#9301).
20925 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
20927 * subr.el (match-string): Mention that the current buffer should
20928 be the same as the search was done in (bug#9282).
20930 * facemenu.el: Disable the remove-* commands if the mark isn't
20933 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20935 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
20937 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
20939 * replace.el (occur-mode-goto-occurrence)
20940 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
20941 and display-buffer.
20943 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
20946 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
20947 special-display and same-window variables.
20948 (mail-other-window): Use switch-to-buffer-other-window.
20949 (mail-other-frame): USe switch-to-buffer-other-frame.
20951 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
20952 Use display-buffer-other-frame.
20953 (gdb-display-gdb-buffer): Use pop-to-buffer.
20955 * progmodes/gud.el (gud-goto-info): Use info-other-window.
20957 * progmodes/python.el: Don't set same-window-buffer-names.
20959 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
20961 * window.el (display-buffer-alist): Add *Python*.
20963 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20965 * window.el (display-buffer-alist): Add entry for buffers
20966 previously handled same-window-*.
20967 (display-buffer-alist, display-buffer-default-action)
20968 (display-buffer-overriding-action): Mark as risky.
20969 (display-buffer-alist): Document action function changes.
20970 (display-buffer--same-window-action)
20971 (display-buffer--other-frame-action): New variables.
20972 (switch-to-buffer, display-buffer-other-frame): Use them.
20973 (display-buffer): Rename reuse-frame entry to reusable-frames.
20974 (display-buffer-reuse-selected-window): Function deleted.
20975 (display-buffer-reuse-window): Handle reusable-frames alist entry.
20976 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
20977 (display-buffer-special): New function.
20978 (display-buffer--maybe-pop-up-frame-or-window): Rename from
20979 display-buffer-reuse-or-pop-window. Split off special-display
20980 part into display-buffer-special.
20981 (display-buffer-use-some-window): Don't perform any special
20982 pop-up-frames handling.
20983 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
20984 (display-buffer--maybe-same-window): Rename from
20985 display-buffer-maybe-same-window.
20987 * info.el: Don't set same-window-regexps.
20988 (info-setup): New function.
20989 (info-other-window, info): Call it.
20991 * cus-edit.el: Don't set same-window-regexps.
20992 (customize-group): New argument.
20993 (customize-group-other-window): Use it.
20994 (customize-face, customize-face-other-window): Likewise.
20995 (custom-buffer-create-other-window): Use pop-to-buffer directly.
20999 * progmodes/gud.el: Don't set same-window-regexps.
21004 * mail/sendmail.el:
21005 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
21007 2011-09-10 Juri Linkov <juri@jurta.org>
21009 * isearch.el (isearch-edit-string): Remove obsolete mention of
21010 `C-w' (`isearch-yank-word-or-char') from docstring.
21011 (isearch-query-replace): Fix typo in docstring (bug#9466).
21013 2011-09-10 Juri Linkov <juri@jurta.org>
21015 * paren.el (show-paren-function): Don't show escaped parens.
21016 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
21018 2011-09-10 Eli Zaretskii <eliz@gnu.org>
21020 * mail/sendmail.el (mml-to-mime, mml-attach-file)
21021 (mm-default-file-encoding): Remove autoload forms, they are
21022 replaced with autoload cookies in mml.el and mm-encode.el.
21023 (mail-add-attachment): New command.
21024 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
21025 (mail-mode): Mention mail-insert-file and mail-add-attachment in
21027 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
21029 2011-09-10 Reuben Thomas <rrt@sc3d.org>
21031 * simple.el (count-words-region): Use buffer if there's no region
21034 2011-09-09 Juri Linkov <juri@jurta.org>
21036 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
21037 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
21038 (wdired-isearch-filter-read-only): New function. (Bug#6362)
21040 2011-09-09 Alan Mackenzie <acm@muc.de>
21042 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
21043 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
21045 2011-09-09 Eli Zaretskii <eliz@gnu.org>
21047 Fix for Savannah bug#9392.
21048 * simple.el (mail-encode-mml): New defvar.
21050 * mail/rmail.el (mail-encode-mml): Add a defvar.
21051 (rmail-enable-mime-composing): Default to t.
21052 (rmail-forward): Use MIME method of forwarding only if both
21053 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
21054 Set mail-encode-mml non-nil if the MIME method was used.
21056 * mail/sendmail.el (mml-to-mime): Add autoload form.
21057 (mail-encode-mml): Add a defvar.
21058 (mail-mode): Make mail-encode-mml buffer-local and initialize it
21060 (mail-send): If mail-encode-mml is non-nil, run the outgoing
21061 message through mml-to-mime, and reset mail-encode-mml to nil.
21063 2011-09-09 Glenn Morris <rgm@gnu.org>
21065 * woman.el (woman-if-body): When processing an .el block,
21066 do not delete the next .el block as well. (Bug#9447)
21067 (woman-special-characters): Add oq, cq, and hy characters.
21069 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21071 * window.el (window-deletable-p): Make sure window is live before
21072 invoking window-prev-buffers.
21074 2011-09-08 Leo Liu <sdl.web@gmail.com>
21076 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
21078 2011-09-08 Juri Linkov <juri@jurta.org>
21080 * progmodes/compile.el (compilation-environment): Make it
21081 a defcustom (bug#8340).
21083 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21085 * window.el (frame-auto-delete): Rename to window-auto-delete.
21086 Make it control auto-deletion of windows and/or frames.
21087 (window-deletable-p): New argument FORCE. Rewrite conditions
21088 for deleting window/frame. (Bug#9419)
21089 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
21090 Rewrite handling of case when window/frame can be deleted.
21091 (delete-windows-on): Call window-deletable-p with new FORCE
21092 argument t. (Bug#9456)
21094 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
21096 * help-mode.el (help-mode): Restore autoload.
21098 2011-09-07 Juri Linkov <juri@jurta.org>
21100 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
21101 `compilation-environment'. Set buffer-local
21102 `compilation-environment' to `thisenv' later after (funcall mode).
21105 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
21106 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
21107 instead of replacing its value. (Bug#8340)
21109 2011-09-07 Juri Linkov <juri@jurta.org>
21111 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
21112 based on text properties put by `grep-filter' instead of matching
21114 (grep-mode): Set buffer-local `compilation-error-screen-columns'
21115 to the value of `grep-error-screen-columns' (bug#9438).
21117 2011-09-07 Juri Linkov <juri@jurta.org>
21119 * simple.el (next-error-highlight, next-error-highlight-no-select):
21120 Doc fix (bug#9432).
21122 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
21124 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21125 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
21127 2011-09-07 Leo Liu <sdl.web@gmail.com>
21129 * net/rcirc.el (rcirc-mode): Conditionally initialize
21132 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
21134 * emacs-lisp/find-func.el (find-function-C-source): Only set
21135 find-function-C-source-directory after checking that we found a source
21136 file there (bug#9440).
21138 2011-09-06 Alan Mackenzie <acm@muc.de>
21140 * isearch.el (isearch-other-meta-char): Wherever a key list is
21141 unread, "unread" the prefix arg, too. This fixes bug #8901.
21143 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
21145 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
21147 2011-09-05 Juri Linkov <juri@jurta.org>
21149 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
21151 2011-09-05 Juri Linkov <juri@jurta.org>
21153 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
21154 keeping point where processing of grep matches begins, and
21155 continue to delete remaining escape sequences from the same point.
21156 (grep-filter): Make leading zero optional in "0?1;31m" because
21157 git-grep emits "\033[1;31m" escape sequences unlike expected
21158 "\033[01;31m" as GNU Grep does (bug#9408).
21159 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
21161 2011-09-05 Juri Linkov <juri@jurta.org>
21163 * subr.el (y-or-n-p): Capitalize "yes".
21165 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
21167 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
21168 `tramp-cache-unload-hook' where appropriate.
21169 (tramp-methods): Rename `tramp-remote-sh' to
21170 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
21171 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
21173 * net/tramp-sh.el (top): Don't require 'shell.
21174 (tramp-methods): Add `tramp-remote-shell' and
21175 `tramp-remote-shell-args' entries.
21176 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
21177 (tramp-sh-handle-shell-command): Remove.
21178 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21179 Use `tramp-remote-shell'.
21181 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
21183 * mail/sendmail.el (sendmail-query-once-function): Delete.
21184 (sendmail-query-once): Save directly to send-mail-function.
21185 Update message-send-mail-function too.
21187 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
21189 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21191 * progmodes/python.el (python-mode-map): Use correct function to
21192 start python interpreter from menu-bar (as reported by Geert
21194 (inferior-python-mode-map): Fix typo.
21195 (python-shell-map): Remove.
21197 2011-09-03 Deniz Dogan <deniz@dogan.se>
21199 * net/rcirc.el (rcirc-print): Simplify code for
21200 rcirc-scroll-show-maximum-output. There is no need to walk
21201 through all windows to find the right one.
21203 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21205 * help.el (help-return-method): Doc fix.
21207 2011-09-03 Martin Rudalics <rudalics@gmx.at>
21209 * window.el (window-deletable-p): Don't return a non-nil value
21210 when there's a buffer that was shown in the window before.
21212 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
21213 Set window's previous buffers to nil.
21215 2011-09-03 Eli Zaretskii <eliz@gnu.org>
21217 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
21218 newline before and after the tag line, so it doesn't interfere
21219 with determining the paragraph direction of bidirectional text.
21221 2011-09-03 Leo Liu <sdl.web@gmail.com>
21223 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
21225 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21227 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
21228 (pop-to-buffer): Change interactive spec. Pass second argument
21229 directly to display-buffer.
21230 (display-buffer): Fix interactive spec. Use functionp to
21231 distinguish between a function and a list of functions.
21233 * abbrev.el (edit-abbrevs):
21234 * arc-mode.el (archive-extract):
21235 * autoinsert.el (auto-insert):
21236 * bookmark.el (bookmark-bmenu-list):
21237 * files.el (find-file):
21238 * view.el (view-buffer):
21239 * progmodes/compile.el (compilation-goto-locus):
21240 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
21242 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21244 * window.el (display-buffer-alist): Doc fix.
21245 (display-buffer): Add docstring. Don't treat
21246 display-buffer-default specially.
21247 (display-buffer-reuse-selected-window)
21248 (display-buffer-same-window, display-buffer-maybe-same-window)
21249 (display-buffer-reuse-window, display-buffer-pop-up-frame)
21250 (display-buffer-pop-up-window)
21251 (display-buffer-reuse-or-pop-window)
21252 (display-buffer-use-some-window): New functions.
21253 (display-buffer-default-action): Use them.
21254 (display-buffer-default): Delete.
21255 (pop-to-buffer-1): Fix choice of actions.
21257 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
21259 * minibuffer.el (completion--insert-strings): Don't get confused by
21260 completion entries that end with an LF char.
21262 2011-09-01 Eli Zaretskii <eliz@gnu.org>
21264 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
21266 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
21268 * window.el (display-buffer): Restore interactive spec.
21269 (display-buffer-same-window, display-buffer-other-window):
21271 (pop-to-buffer-1): New function. Use the above.
21272 (pop-to-buffer, pop-to-buffer-same-window): Use it.
21273 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
21275 * view.el (view-buffer-other-window, view-buffer-other-frame):
21276 Just use pop-to-buffer.
21278 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
21280 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
21282 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
21284 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
21286 2011-08-31 Richard Stallman <rms@gnu.org>
21288 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
21289 of the separation of rmail-view-buffer from rmail-buffer.
21290 If you say no to "replace original", the decrypt is in the
21291 view buffer. If you say yes, the decrypt goes into the
21294 2011-08-31 Martin Rudalics <rudalics@gmx.at>
21296 * window.el (display-buffer-window): Rewrite doc-string.
21297 (display-buffer-record-window): New function.
21298 (display-buffer-macro-specifiers)
21299 (display-buffer-even-window-sizes, display-buffer-set-height)
21300 (display-buffer-set-width, display-buffer-in-window)
21301 (display-buffer-reuse-window, display-buffer-split-specifiers)
21302 (display-buffer-side-specifiers, display-buffer-split-window-1)
21303 (display-buffer-split-window, display-buffer-split-atom-window)
21304 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21305 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
21306 (display-buffer-other-window-means-other-frame)
21307 (display-buffer-normalize-special)
21308 (display-buffer-normalize-default)
21309 (display-buffer-normalize-argument)
21310 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
21311 (display-buffer-normalize-specifiers, display-buffer-frame)
21312 (display-buffer-same-window, display-buffer-same-frame)
21313 (display-buffer-other-window)
21314 (display-buffer-same-frame-other-window)
21315 (display-buffer-other-frame, pop-to-buffer-same-window)
21316 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
21317 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
21318 (switch-to-buffer-same-frame)
21319 (switch-to-buffer-other-window-same-frame)
21320 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
21321 (display-buffer-alist-set-1, display-buffer-alist-set-2)
21322 (display-buffer-alist-set): Remove.
21323 (display-buffer-function, special-display-buffer-names)
21324 (special-display-regexps, special-display-function):
21325 In doc-string refer to display-buffer-window and quit-restore
21327 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
21328 (special-display-frame-alist, special-display-popup-frame)
21329 (same-window-buffer-names, same-window-regexps, same-window-p)
21330 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21331 (split-window-preferred-function, split-height-threshold)
21332 (split-width-threshold, window-splittable-p)
21333 (split-window-sensibly, window--try-to-split-window)
21334 (window--frame-usable-p, even-window-heights)
21335 (window--even-window-heights, window--display-buffer-1)
21336 (window--display-buffer-2, display-buffer-other-frame):
21337 Restore old Emacs 23 code, order and doc-strings where applicable.
21338 (display-buffer-default, display-buffer-assq-regexp): New functions.
21339 (display-buffer-alist): Rewrite doc-string.
21340 (display-buffer-default-action)
21341 (display-buffer-overriding-action): New variables.
21342 (display-buffer, switch-to-buffer): Rewrite.
21343 (pop-to-buffer): Restore Emacs 23 behavior but use
21344 window-normalize-buffer-to-display.
21345 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
21346 Restore Emacs 23 behavior but use
21347 window-normalize-buffer-to-switch-to.
21348 (pop-to-buffer-same-window): Rewrite.
21349 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
21350 Rewrite using Emacs 23 options.
21352 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
21354 * net/tramp.el (tramp-root-regexp): Remove.
21355 (tramp-completion-file-name-regexp-unified)
21356 (tramp-completion-file-name-regexp-separate)
21357 (tramp-completion-file-name-regexp-url): Don't use leading volume
21358 letter on w32 systems. (Bug#5303, Bug#9311)
21359 (tramp-drop-volume-letter): Simplify definition.
21360 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
21362 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
21364 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
21367 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
21369 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
21371 2011-08-29 Juri Linkov <juri@jurta.org>
21373 * isearch.el (isearch-done): Don't display message "Mark saved"
21374 when arg `edit' is non-nil to prevent its flicker in the echo area.
21376 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21378 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
21379 obsolete packages for deletion.
21381 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
21383 * help-mode.el (help-mode-map): Add special-mode-map to parent.
21384 (help-mode): Derive help-mode from special-mode. Don't invoke
21385 view-mode from help-mode.
21386 (help-xref-override-view-map): Remove.
21387 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
21388 view-mode is not used anymore.
21390 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21392 * server.el (server-port): Doc fix.
21394 * cus-theme.el (custom-theme-choose-mode): Inherit from
21395 special-mode (Bug#9124).
21396 (custom-theme-choose-mode-map): Add special-mode to parent.
21398 2011-08-28 Alan Mackenzie <acm@muc.de>
21400 * progmodes/cc-fonts.el
21401 (c-make-font-lock-BO-decl-search-function): New function.
21402 (c-basic-matchers-after - "Fontify the clauses after various
21403 keywords"): Extract the three keyword lists for the 3 erroneous
21404 constructs from the list of four, and use the new function above
21405 in place of an old one.
21407 2011-08-28 Deniz Dogan <deniz@dogan.se>
21409 * net/rcirc.el (rcirc-insert-prev-input)
21410 (rcirc-insert-next-input): Remove unused argument.
21412 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21414 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
21416 2011-08-27 Alan Mackenzie <acm@muc.de>
21418 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
21419 handle function pointer parameters properly.
21421 2011-08-27 Martin Rudalics <rudalics@gmx.at>
21423 * window.el (display-buffer-reuse-window): Fix case where
21424 selected window was reused with non-nil OTHER-WINDOW argument.
21427 2011-08-27 Deniz Dogan <deniz@dogan.se>
21429 * net/rcirc.el (rcirc-check-auth-status): Adding support for
21430 oftc's NickServ messages.
21432 2011-08-27 Glenn Morris <rgm@gnu.org>
21434 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
21436 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
21438 * emacs-lisp/package.el (package-install): Call package-initialize
21439 if called interactively.
21441 2011-08-26 Leo Liu <sdl.web@gmail.com>
21443 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
21445 2011-08-25 Juri Linkov <juri@jurta.org>
21447 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
21448 `search-whitespace-regexp' (bug#9364).
21450 2011-08-25 Juri Linkov <juri@jurta.org>
21452 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
21453 `regexp-search-ring' to their global values to protect from
21454 updating by `read-from-minibuffer' (bug#9185).
21456 2011-08-25 Juri Linkov <juri@jurta.org>
21458 * textmodes/ispell.el (ispell-command-loop): Add newline
21459 at the end of the "Use option `i'..." line.
21461 2011-08-25 Juri Linkov <juri@jurta.org>
21463 * battery.el (display-battery-mode): If `battery-status-function'
21464 or `battery-mode-line-format' is nil, display the message and set
21465 `display-battery-mode' to nil (bug#9363).
21467 2011-08-25 Eli Zaretskii <eliz@gnu.org>
21469 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
21470 bidi-string-mark-left-to-right; they are unnecessary now.
21472 2011-08-25 Deniz Dogan <deniz@dogan.se>
21474 * net/quickurl.el: Documentation typo fixes.
21476 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
21478 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
21480 2011-08-25 Glenn Morris <rgm@gnu.org>
21482 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
21484 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
21485 (smtpmail-via-smtp): Handle nil response from smtp.
21487 2011-08-24 Juri Linkov <juri@jurta.org>
21489 * proced.el (proced-marked): Inherit from `error' instead of
21490 `font-lock-warning-face'.
21492 * ibuffer.el (ibuffer-marked-face): Change default face from
21493 `font-lock-warning-face' to `warning'.
21494 (ibuffer-deletion-face): Change default face from
21495 `font-lock-type-face' to `error'.
21497 * battery.el (battery-update): Use the face `error' instead of
21498 `font-lock-warning-face' (bug#6117).
21500 2011-08-24 Juri Linkov <juri@jurta.org>
21502 * faces.el (success): Change face color from "Green3" to
21503 "ForestGreen" on light background (bug#9353).
21505 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
21507 * window.el (quit-window): Rename from quit-restore-window.
21508 Use same arglist as old quit-window.
21509 (frame-auto-delete): Doc fix.
21511 * view.el (view-mode-exit): Use quit-window.
21513 2011-08-24 Juri Linkov <juri@jurta.org>
21515 * isearch.el (isearch-ring-adjust1): Start visiting previous
21516 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
21517 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
21518 for empty search string (when the last search string is reused
21519 automatically) to adjust the isearch ring to the last element and
21520 prepare the correct index for further M-p commands (bug#9185).
21522 2011-08-24 Kenichi Handa <handa@m17n.org>
21524 * international/ucs-normalize.el: If decomposition property of
21525 CHAR is the default one (i.e. a list of CHAR itself), treat it as
21527 (nfd, nfkd): Likewise.
21529 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21531 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
21532 from process filters aren't reliably transmitted to the surrounding
21533 accept-process-output.
21534 (mpc-proc-check): New function.
21535 (mpc-proc-sync): Use it (bug#8293)
21537 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21539 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
21540 Add compatibility functions (bug#9313).
21542 2011-08-23 Eli Zaretskii <eliz@gnu.org>
21544 * cus-start.el (all): Add entry for bidi-paragraph-direction.
21546 * international/uni-bidi.el: Regenerate.
21548 2011-08-23 Kenichi Handa <handa@m17n.org>
21550 * international/charprop.el:
21551 * international/uni-bidi.el:
21552 * international/uni-category.el:
21553 * international/uni-combining.el:
21554 * international/uni-comment.el:
21555 * international/uni-decimal.el:
21556 * international/uni-decomposition.el:
21557 * international/uni-digit.el:
21558 * international/uni-lowercase.el:
21559 * international/uni-mirrored.el:
21560 * international/uni-name.el:
21561 * international/uni-numeric.el:
21562 * international/uni-old-name.el:
21563 * international/uni-titlecase.el:
21564 * international/uni-uppercase.el: Regenerate.
21566 2011-08-23 Martin Rudalics <rudalics@gmx.at>
21568 * help.el (help-window-setup): Fix message displayed when other
21569 window is reused. (Bug#9341)
21571 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21573 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
21574 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
21576 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
21578 * shell.el (shell-parse-pcomplete-arguments): New function.
21579 (shell-completion-vars): Use it instead (bug#9160).
21581 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
21583 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
21584 strings and comments (bug#9333).
21586 * emacs-lisp/debug.el (debug-arglist): New function.
21587 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
21588 (debug-on-entry-1): Handle interpreted closures (bug#9120).
21590 2011-08-22 Juri Linkov <juri@jurta.org>
21592 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21593 Revert regexp that highlights output switches to its old
21594 pre-2010-10-28 value and remove one `?' from it (bug#9319).
21596 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
21597 to check for empty output (bug#9226).
21599 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
21601 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
21602 symbol-constituent as the default, as that stops font-lock from
21603 working properly (Bug#8843).
21605 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21607 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
21608 `coding-system-for-*' around the process open call to avoid
21609 auth-source side effects.
21610 (smtpmail-try-auth-methods): Expand the secret password.
21611 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
21614 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21616 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
21618 * emacs-lisp/find-func.el (find-function-noselect): New arg
21621 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
21622 signal an error for built-in functions (Bug#6664).
21624 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21626 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
21627 (smtpmail-try-auth-methods): Use it.
21629 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21631 * font-lock.el (font-lock-fontify-region)
21632 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
21633 (font-lock-default-unfontify-buffer)
21634 (font-lock-default-fontify-region)
21635 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
21637 * progmodes/compile.el (compilation-error-properties):
21638 Fix confusion between file struct and message struct (Bug#9319).
21639 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
21642 * net/browse-url.el (browse-url-firefox): Don't call
21643 browse-url-firefox-sentinel unless using -remote (Bug#9328).
21645 2011-08-20 Glenn Morris <rgm@gnu.org>
21647 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
21649 * tutorial.el (tutorial--default-keys): Update some default bindings.
21651 * files.el (hack-local-variables): Fully ignore case for "mode:".
21653 2011-08-20 Alan Mackenzie <acm@muc.de>
21655 Resolve invalid use of a regexp in regexp-opt.
21657 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
21658 detection for a java annotation.
21660 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
21661 detection for a java annotation.
21663 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
21665 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
21667 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
21669 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
21672 2011-08-20 Alan Mackenzie <acm@muc.de>
21674 Fontify CPP expressions correctly when starting in the middle of
21675 such a construct. Mainly for when jit-lock etc. starts a chunk
21678 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
21680 (c-make-font-lock-search-form): New function, extracted from
21681 c-make-font-lock-search-function.
21682 (c-make-font-lock-search-function): Use the above function.
21683 (c-make-font-lock-context-search-function): New function.
21684 (c-cpp-matchers): Enhance the preprocessor expression case with
21686 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
21687 which takes an expression.
21689 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
21691 2011-08-20 Martin Rudalics <rudalics@gmx.at>
21693 * window.el (display-buffer-reuse-window)
21694 (display-buffer-pop-up-window): Don't reuse or split a side
21697 2011-08-19 Glenn Morris <rgm@gnu.org>
21699 * files.el (hack-local-variables-prop-line, hack-local-variables):
21700 Downcase "Mode:". (Bug#9331)
21702 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
21704 * international/characters.el: Add L and R categories.
21706 * subr.el (bidi-string-mark-left-to-right): Rename from
21707 string-mark-left-to-right. Use category search.
21709 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
21711 2011-08-18 Juri Linkov <juri@jurta.org>
21713 * faces.el (error, warning, success): New faces with definitions
21714 copied from old default values of `font-lock-warning-face',
21715 `compilation-warning', `compilation-info' (bug#6117).
21717 * font-lock.el (font-lock-warning-face): Inherit from `error'.
21719 * progmodes/compile.el (compilation-error): Inherit from `error'.
21720 (compilation-warning): Inherit from `warning'.
21721 (compilation-info): Inherit from `success'.
21723 * dired.el (dired-marked): Inherit from `warning'.
21724 (dired-flagged): Inherit from `error'.
21726 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21728 * mail/smtpmail.el (auth-source): Require to avoid problems with
21729 binding variables (bug#9298). Also clean up some unused
21732 * net/network-stream.el (network-stream-open-starttls):
21733 Support using starttls.el without using gnutls-cli.
21735 2011-08-17 Juri Linkov <juri@jurta.org>
21737 * progmodes/grep.el (rgrep): Handle the case when
21738 `grep-find-command' is a cons cell (bug#9278).
21740 2011-08-17 Martin Rudalics <rudalics@gmx.at>
21742 * window.el (display-buffer-pop-up-frame): Run frame creation
21743 function with BUFFER current (as special-display-popup-frame
21744 does). Reported by Drew Adams.
21746 2011-08-17 Daiki Ueno <ueno@unixuser.org>
21748 * epa-mail.el: Simplify GnuPG group expansion using
21750 (epa-mail-group-alist, epa-mail-group-modtime)
21751 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
21752 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
21753 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
21756 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
21758 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
21760 2011-08-16 Alan Mackenzie <acm@muc.de>
21762 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
21763 Correct, to avoid the inside of macros.
21765 2011-08-16 Richard Stallman <rms@gnu.org>
21767 * epa-mail.el: Handle GnuPG group definitions.
21768 (epa-mail-group-alist, epa-mail-group-modtime)
21769 (epa-mail-gnupg-conf-file): New variables.
21770 (epa-mail-parse-groups, epa-mail-sync-groups)
21771 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
21772 (epa-mail-expand-recipients): New functions.
21773 (epa-mail-encrypt): Call epa-mail-expand-recipients.
21775 * mail/rmail.el (rmail-epa-decrypt): New command.
21777 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
21778 Don't bind buffer-read-only, just inhibit-read-only.
21779 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
21780 (epa-decrypt-armor-in-region): Make error message clearer.
21782 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
21784 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
21785 and "a2b" to "ab" for `prefix'.
21787 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
21789 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
21791 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
21792 Fourquet (Bug#8804).
21794 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
21796 * startup.el (argi): Declare as global variable (bug#9275).
21798 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
21800 * subr.el (string-mark-left-to-right): Search the entire string
21801 for RTL script, not just the terminating character. Doc fix.
21803 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
21805 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
21807 (js--regexp-literal, js-syntax-propertize-function): Remove.
21808 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
21809 (js-mode-map): Don't rebind electric keys.
21810 (js-insert-and-indent): Remove.
21811 (js-mode): Setup electric-layout and electric-indent instead.
21813 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
21815 2011-08-12 Daiki Ueno <ueno@unixuser.org>
21817 * epa.el (epa-progress-callback-function): Fix the logic of
21818 displaying progress.
21819 * epa-file.el (epa-file-insert-file-contents): Make progress
21820 display more user-friendly.
21821 (epa-file-write-region): Ditto.
21823 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
21825 * subr.el (string-mark-left-to-right): New function.
21827 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
21828 Use string-mark-left-to-right.
21829 (list-buffers-noselect): Caller changed.
21831 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21832 Use string-mark-left-to-right.
21833 (tabulated-list-print): Recenter after moving point.
21835 2011-08-10 Juri Linkov <juri@jurta.org>
21837 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
21838 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
21839 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
21841 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
21843 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
21846 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
21848 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
21849 character. (Bug#6594)
21851 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
21853 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
21854 (image-dired--with-db-file): New macro.
21855 (image-dired-write-tags, image-dired-remove-tag)
21856 (image-dired-create-gallery-lists, image-dired-write-comments)
21857 (image-dired-get-comment, image-dired-mark-tagged-files)
21858 (image-dired-list-tags, image-dired-gallery-generate): Use it.
21859 (image-dired-gallery-generate): Use insert-file-contents.
21861 * time.el (display-time-world-list, display-time-world-display):
21862 * time-stamp.el (time-stamp-string):
21863 * vc/add-log.el (add-change-log-entry): Use setenv instead of
21864 set-time-zone-rule (Bug#7337).
21866 2011-08-08 Daiki Ueno <ueno@unixuser.org>
21868 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
21869 (epg-error-to-string, epg-errors-to-string): New function.
21870 (epg-wait-for-completion): Reverse errors list.
21871 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
21872 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
21873 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
21874 (epg-sign-keys, epg-generate-key-from-file)
21875 (epg-generate-key-from-string): Format errors by using
21876 epg-errors-to-string (bug#9255).
21877 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
21879 2011-08-07 Juri Linkov <juri@jurta.org>
21881 * faces.el (list-faces-display): Remove extra angle bracket
21882 from `help-mode-map'.
21884 * info.el (Info-history-toc-nodes): Doc fix.
21886 * longlines.el (longlines-mode): Doc fix.
21888 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
21890 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
21891 of statements and in a few more cases (bug#9183).
21893 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
21895 (cl-transform-lambda): Use them (bug#9239).
21897 2011-08-05 Martin Rudalics <rudalics@gmx.at>
21899 * window.el (display-buffer-same-window)
21900 (display-buffer-same-frame, display-buffer-other-window)
21901 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21902 (pop-to-buffer-other-window)
21903 (pop-to-buffer-same-frame-other-window)
21904 (pop-to-buffer-other-frame): Make them defuns.
21905 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
21907 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21909 * subr.el (make-composed-keymap): Move from C. Change calling
21910 convention, and improve docstring to bring attention to a subtle point.
21911 * minibuffer.el (completing-read-default): Adjust accordingly.
21913 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
21915 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
21916 (tramp-open-shell): Use `tramp-shell-quote-argument'.
21918 * net/trampver.el: Update release number.
21920 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21922 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
21925 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21927 * mail/sendmail.el (sendmail-query-once): Restore the current
21928 buffer after querying (bug#9074).
21930 * dired.el (dired-flagged): Use different faces for marked and
21931 flagged files (bug#6117).
21933 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
21936 * ido.el (ido-mode): Switch off the message if called
21939 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
21940 before 587, since it appears that that's more likely to work for
21943 * cus-edit.el (custom-file): When running under emacs -q, always
21944 refuse to save the customizations, even if the .emacs file doesn't
21947 * info.el: Remove the `Info-beginning-of-buffer' function
21950 * net/network-stream.el (network-stream-open-starttls):
21951 Use `starttls-available-p' to see whether starttls.el can be used.
21953 2011-08-01 Martin Rudalics <rudalics@gmx.at>
21955 * window.el (display-buffer-in-window): Don't set dedicated status
21956 of window here (Bug#9215).
21957 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21958 (display-buffer-pop-up-side-window)
21959 (display-buffer-in-side-window): Set dedicated status of window here.
21961 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
21963 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
21964 before binding generated-autoload-file.
21966 2011-08-01 Deniz Dogan <deniz@dogan.se>
21968 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
21970 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
21972 Sync with Tramp 2.2.2.
21974 * net/trampver.el: Update release number.
21976 2011-07-30 Juri Linkov <juri@jurta.org>
21978 * dired-aux.el (dired-touch-initial): Remove function.
21979 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
21980 current time, and `default' to the last modification time of the
21981 current marked file (bug#6887).
21983 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
21985 * simple.el (goto-line): Use string-to-number to provide a
21986 numeric argument to read-number (bug#9163).
21988 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
21990 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
21991 connection process, it could be nil.
21993 2011-07-27 Leo Liu <sdl.web@gmail.com>
21995 Simplify url handling in rcirc-mode.
21997 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
21998 (rcirc-browse-url-at-mouse): Remove.
21999 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
22001 2011-07-26 Alan Mackenzie <acm@muc.de>
22003 Fontify bitfield declarations properly.
22005 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
22006 (c-symbol-chars): Now exported as a lang variable.
22007 (c-not-primitive-type-keywords): New lang variable.
22009 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
22010 QT keyword "more" to prevent "more slots: ...." being spuriously
22011 parsed as a bitfield declaration.
22013 * progmodes/cc-engine.el (c-beginning-of-statement-1):
22014 Refactor and enhance to handle bitfield declarations.
22015 (c-punctuation-in): New function.
22016 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
22017 declarations properly.
22019 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
22021 * calendar/icalendar.el (icalendar--all-events): Take care of
22022 multiple vcalendars in a single file.
22023 (icalendar--convert-float-to-ical): Checkdoc fixes.
22025 2011-07-25 Deniz Dogan <deniz@dogan.se>
22027 * image.el (insert-image): Clarifying docstring.
22029 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
22031 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
22032 `tramp-send-command-and-check' if there is no error.
22033 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
22035 2011-07-22 Alan Mackenzie <acm@muc.de>
22037 Prevent cc-langs.elc being loaded at run time.
22039 * progmodes/cc-mode.el: Remove two autoload forms which loaded
22042 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
22043 "(require 'cc-langs)". Quote a form so it will evaluate at
22044 (cc-mode's) compilation time.
22046 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
22048 * net/tramp.el (tramp-file-name-handler): Avoid recursive
22049 loading. (Bug#9114)
22051 2011-07-21 Martin Rudalics <rudalics@gmx.at>
22053 * window.el (display-buffer-pop-up-window)
22054 (display-buffer-pop-up-side-window)
22055 (display-buffer-in-side-window): Call display-buffer-set-height
22056 and display-buffer-set-width after setting the new window's
22057 buffer so `fit-window-to-buffer' and friends work on the right buffer.
22059 2011-07-20 Sam Steingold <sds@gnu.org>
22061 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
22062 (etags-tags-included-tables): Call `convert-standard-filename' on
22063 the file names contained in TAGS so that windows Emacs can handle
22064 TAGS files created by cygwin ctags.
22066 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
22068 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
22069 which apparently didn't work.
22071 2011-07-19 Roland Winkler <winkler@gnu.org>
22073 * proced.el (proced-send-signal): For *Marked Processes* buffer
22074 put point at beginning of buffer.
22076 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
22078 * proced.el (proced-format): Make header lines align with the text
22081 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22083 * view.el (view-buffer): Allow running in `special' modes if we're
22084 visiting a file (bug#8615).
22086 2011-07-19 Martin Rudalics <rudalics@gmx.at>
22088 * window.el (display-buffer-alist-of-strings-p)
22089 (display-buffer-alist-set-1, display-buffer-alist-set-2):
22091 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
22094 2011-07-18 Alan Mackenzie <acm@muc.de>
22096 Fontify declarators properly when, e.g., a jit-lock chunk begins
22097 inside a declaration.
22099 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
22101 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
22103 (c-complex-decl-matchers): Insert reference to
22104 c-font-lock-enclosing-decls.
22106 * progmodes/cc-engine.el (c-backward-single-comment):
22107 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
22108 to nil around calls to (forward-comment -1).
22110 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22112 * image.el (put-image): Doc typo fix.
22114 * progmodes/etags.el (tags-search): Doc typo fix.
22116 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
22117 password if we get errors 550 to 554.
22119 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
22121 * net/gnutls.el (gnutls-log-level): Remove.
22123 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
22124 indentation character (bug#6380).
22126 * files.el (buffer-offer-save): Made permanently local (bug#6241).
22128 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
22129 to clarify what the problem is (bug#4291).
22131 * simple.el (current-kill): Clarify what
22132 `interprogram-paste-function' does (bug#7500).
22133 (auto-fill-mode): Document `auto-fill-function' in relation to
22134 `auto-fill-mode' (bug#2470).
22136 2011-07-16 Lawrence Mitchell <wence@gmx.li>
22138 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
22139 method if slot is read-only (bug#9035).
22141 2011-07-16 Martin Rudalics <rudalics@gmx.at>
22143 * frame.el (select-frame-set-input-focus): New argument NORECORD.
22144 * window.el (pop-to-buffer): Select window used even if it was
22145 selected before, see discussion of (Bug#8615), (Bug#6954).
22146 Pass argument NORECORD on to select-frame-set-input-focus.
22148 2011-07-15 Glenn Morris <rgm@gnu.org>
22150 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
22153 2011-07-09 Lawrence Mitchell <wence@gmx.li>
22155 * net/gnutls.el (gnutls-min-prime-bits): New variable.
22156 (gnutls-negotiate): Use it.
22158 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22160 * net/gnutls.el (gnutls-negotiate):
22161 Upcase `gnutls-algorithm-priority'.
22163 2011-07-15 Glenn Morris <rgm@gnu.org>
22165 * jka-compr.el (jka-compr-verbose): Move from here...
22166 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
22167 Add missing :version tag.
22168 * info.el: No need to require jka-compr when compiling.
22170 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22172 * net/gnutls.el (gnutls-algorithm-priority): New variable.
22173 (gnutls-negotiate): Use it.
22175 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
22177 * info.el (Info-beginning-of-buffer): New command.
22178 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
22179 announcing `b' as the key (bug#8325).
22180 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
22182 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
22184 * international/mule-cmds.el
22185 (describe-specified-language-support): Make the error message
22186 clearer (bug#8905).
22188 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
22190 * isearch.el (isearch-barrier): Add a doc string, since it's
22191 mentioned in a function doc string (bug#8678).
22193 2011-07-15 Martin Rudalics <rudalics@gmx.at>
22195 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
22196 buffer argument (Bug#9083) and self-identifying label argument.
22198 2011-07-15 Glenn Morris <rgm@gnu.org>
22200 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
22202 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22204 * man.el (Man-fontify-manpage): Fix message when formatting the
22205 man page (bug#7929).
22207 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22209 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
22210 argument LRM; if non-nil, append an invisible LRM character to the
22212 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
22213 last argument non-nil, when formatting buffer names.
22214 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
22215 paragraph direction.
22217 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22219 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
22220 the man page name (bug#7929).
22222 * image.el (put-image): Mention the `put-image' overlay property
22225 * scroll-bar.el (set-scroll-bar-mode): Mention that
22226 `scroll-bar-mode' lists the values (bug#7772).
22228 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
22229 command (bug#7729).
22231 * rect.el (apply-on-rectangle): Return the point after the last
22233 (string-rectangle): Go to the point after the last operation
22236 * printing.el (pr-toggle-region): Clarify the documentation
22237 slightly (bug#7493).
22239 * time.el (display-time-update):
22240 Allow `display-time-mail-function' to return nil (bug#7158).
22241 Fix suggested by Detlev Zundel.
22243 * vc/diff.el (diff): Clarify the order the file names are read
22246 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
22247 the doc string (bug#7015).
22249 * font-lock.el (font-lock-maximum-decoration): Mention what
22250 numeric levels mean (bug#6935).
22252 * startup.el (initial-buffer-choice): Don't mention the `none'
22253 selection, which is against policy.
22255 2011-07-14 Martin Rudalics <rudalics@gmx.at>
22257 * window.el (display-buffer-normalize-special):
22258 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
22260 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22262 * subr.el (version<, version<=, version=): Mention "-CVS" and
22263 "-12345" alpha version numbers.
22265 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22267 * bindings.el: Add advertised binding for set-mark-command
22270 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22272 * bindings.el (mode-line-other-buffer):
22273 * bookmark.el (bookmark-bmenu-2-window):
22274 * bs.el (bs-cycle-next, bs-cycle-previous):
22275 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
22278 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22281 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
22283 * follow.el (follow-debug-message, follow-redisplay):
22284 * jka-cmpr-hook.el (with-auto-compression-mode):
22285 Fix typos in docstrings.
22287 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22289 * subr.el (with-silent-modifications): Clarify somewhat what the
22290 macro inhibits (bug#6525).
22292 * simple.el (eval-expression): Note what it does if called
22293 interactively (bug#6495).
22295 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22297 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
22298 Use pop-to-buffer buffer-or-name if it is nil.
22300 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22301 Remove switch-to-buffer.
22303 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22305 * files.el (make-directory): Clarify that an error will be raised
22306 if there's an error (bug#6397).
22308 * startup.el (initial-buffer-choice): Add `none' as a choice
22311 * subr.el (add-hook): Clarify section about buffer-local hooks
22314 * dired.el (dired-flagged): Clarify doc string (bug#6117).
22316 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22318 * tabify.el (untabify): Preserve the current column so that point
22319 doesn't move (bug#6032).
22321 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22323 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
22324 Rewrite to avoid awkward possessive "s" (bug#5986).
22326 2011-07-13 Glenn Morris <rgm@gnu.org>
22328 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
22329 (dired-insert-directory): Give a message the first time
22330 if ls is found not to support --dired.
22332 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22334 * simple.el (toggle-truncate-lines): Clarify what is toggled
22335 (bug#5580). Text by Drew Adams.
22337 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22339 * simple.el (blink-matching-open): Make the error message from the
22340 last change less verbose.
22342 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
22344 * font-lock.el (font-lock-comment-face): Use the high contrast
22345 "yellow" color for font-lock-comment-face on low color terminals
22346 using a dark background color (bug#4221).
22348 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22350 * dired.el (dired-insert-set-properties): Make the doc string
22351 reflect what it does now (bug#5325).
22353 * simple.el (blink-matching-open): Say that we were unable to find
22354 the match within the limit, if we're limited (bug#5122).
22356 * international/mule-cmds.el (prefer-coding-system): Add an
22357 example (bug#4869).
22359 * progmodes/etags.el (tags-search): Document `file-list-form'
22362 2011-07-13 Lawrence Mitchell <wence@gmx.li>
22364 * net/browse-url.el (browse-url-default-browser)
22365 (browse-url-browser-function): Make the default browser choice a
22366 bit more logical (bug#4300). Also clean up the doc string.
22368 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22370 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
22371 binary endings (bug#4440).
22373 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22375 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
22376 which can be pretty annoying (bug#8971).
22378 * jka-compr.el (jka-compr-verbose): New variable, and use
22379 throughout (bug#8971).
22381 * info.el (Info-find-file): Fall back on the installation
22382 directory if we can't find the info node anywhere else.
22384 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
22386 * vc/vc.el (vc-revert-file):
22387 Don't set file time-stamp in the past. (Bug#5181)
22389 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22391 * files.el (after-find-file): Give a better error message when
22392 trying to find a symlink that points to a file that doesn't exist
22395 * progmodes/cc-vars.el: Remove (probably) misleading comment
22398 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
22400 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
22402 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22404 * mouse-sel.el: Hack restoring functionality, while keeping
22405 compatibility with 2010-07-03 changes to mouse selection.
22406 (mouse-sel-primary-overlay): New var.
22407 (mouse-sel-selection-alist): Use it.
22408 (mouse-sel-mode): Doc fix; remove points that are default features
22411 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
22413 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22414 Fix previous fix (bug#2490).
22416 2011-07-12 Roland Winkler <winkler@gnu.org>
22418 * textmodes/bibtex.el (bibtex-initialize):
22419 Use pop-to-buffer-same-window.
22420 (bibtex-search-entries): Fix interactive call.
22422 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22424 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22425 Fontise bytecomp Error lines more correctly (bug#2490).
22426 Fix suggested by Johan BockgĂ¥rd.
22428 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
22430 * dired-x.el (dired-guess-default): Use `delete-dups'.
22432 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22434 * dired.el (dired-mark-prompt):
22435 * dired-aux.el (dired-read-shell-command): Doc fix.
22437 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22439 * mail/sendmail.el (sendmail-query-once):
22440 Use `customize-save-variable' unconditionally, now that it works under
22443 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22445 * cus-edit.el (custom-file): Take an optional no-error variable.
22446 (customize-save-variable): Set the variable, and give a warning if
22447 running under "emacs -q".
22449 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
22451 * loadhist.el (unload-feature-special-hooks):
22452 Add `auto-coding-functions', `fill-nobreak-predicate' and
22453 `find-directory-functions' (bug#5327).
22455 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22457 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
22459 * cus-edit.el (custom-guess-name-alist): -alist variables should
22460 use the `alist' type (bug#3120). Suggested by Drew Adams.
22462 * printing.el: Add documentation to all the `pr-toggle-' commands.
22464 2011-07-11 Leo Liu <sdl.web@gmail.com>
22466 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
22467 backends where it makes sense (bug#2623).
22469 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22471 * dired-x.el (dired-guess-default): Remove duplicate shell command
22472 entries (bug#2028).
22473 (dired-guess-default): Fix grammar in doc string (bug#2028).
22474 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
22476 * subr.el (remove-duplicates): New conveniency function.
22478 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
22480 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
22483 2011-07-10 Martin Rudalics <rudalics@gmx.at>
22485 * window.el (display-buffer-normalize-default): Don't invert
22486 meaning of even-window-heights. Reported by Eli Zaretskii
22489 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
22491 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
22493 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
22495 * window.el (display-buffer): Fix arguments to
22496 display-buffer-reuse-window in last change.
22498 * faces.el (link): Use a less saturated blue on light backgrounds.
22500 * startup.el (fancy-startup-text, fancy-about-text)
22501 (fancy-startup-tail): Use font-lock faces, for background safety.
22503 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
22505 * emulation/viper-cmd.el (viper-change-state-to-vi):
22506 Limit triggering of abbrev expansion (Bug#9038).
22508 2011-07-09 Martin Rudalics <rudalics@gmx.at>
22510 * window.el (display-buffer-default-specifiers): Remove.
22511 (display-buffer-macro-specifiers): Remove default specifiers.
22512 (display-buffer-alist): Default to nil.
22513 (display-buffer-reuse-window): New optional argument other-window.
22514 (display-buffer-pop-up-window): Allow splitting internal
22515 windows. Check whether a live window was created.
22516 (display-buffer-other-window-means-other-frame)
22517 (display-buffer-normalize-arguments): Rename to
22518 display-buffer-normalize-argument and rewrite. Set the
22519 other-window specifier.
22520 (display-buffer-normalize-special): New function.
22521 (display-buffer-normalize-options): Rename to
22522 display-buffer-normalize-default and rewrite.
22523 (display-buffer-normalize-options-inhibit): Remove.
22524 (display-buffer-normalize-specifiers): Rewrite.
22525 (display-buffer): Process other-window specifier and call
22526 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
22528 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
22529 (display-buffer-alist-set): Don't handle 'unset default values.
22530 (display-buffer-in-window, display-buffer-alist-set):
22531 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
22532 <tassilo@member.fsf.org>.
22534 2011-07-09 Leo Liu <sdl.web@gmail.com>
22536 * register.el (insert-register): Restore accidental change on
22537 2011-06-26. (Bug#9028)
22539 2011-07-09 Glenn Morris <rgm@gnu.org>
22541 * subr.el (remq): Handle the empty list. (Bug#9024)
22543 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
22545 * mail/sendmail.el (send-mail-function): No longer delay custom
22547 * custom.el (custom-initialize-delay): Doc fix.
22549 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22551 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
22553 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
22555 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
22556 human-friendly prompt.
22558 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22560 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
22561 provided by a particular plugin.
22563 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
22565 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
22566 save customizations (with "emacs -Q"), just set the variable
22567 instead of erroring out.
22569 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22571 2011-07-08 Juri Linkov <juri@jurta.org>
22573 * arc-mode.el (archive-zip-expunge, archive-zip-update)
22574 (archive-zip-update-case): Use 7z if found by `executable-find'.
22575 The order of searching the available programs is the same as in
22576 `archive-zip-extract' (bug#8968).
22578 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22580 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
22581 (menu-bar-options-menu): Tweak descriptions.
22583 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22585 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
22586 menu items into verb phrases (bug#1421). Also refill to fit under
22589 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22591 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
22592 (Info-read-node-name): Doc fix (Bug#1084).
22594 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
22595 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
22596 (end-of-sexp, beginning-of-sexp)
22597 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
22598 (forward-symbol, forward-same-syntax, word-at-point)
22599 (sentence-at-point): Doc fix (Bug#1144).
22601 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22603 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
22604 should cover it (bug#1281).
22606 * cus-edit.el (custom-show): Mark as obsolete.
22608 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
22609 negotiation fails, then possibly try again with a non-encrypted
22610 connection (bug#9017).
22612 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
22615 2011-07-07 Richard Stallman <rms@gnu.org>
22617 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
22618 property, and handle its changed format.
22619 Look for the correct line number.
22620 Use file's line contents (but not past first =) to find
22621 correct line in message.
22623 2011-07-07 Kenichi Handa <handa@m17n.org>
22625 * international/characters.el (build-unicode-category-table):
22627 (unicode-category-table): Set it by unicode-property-table-internal.
22629 * international/mule-cmds.el (char-code-property-alist): Move to
22631 (get-char-code-property): Call unicode-property-table-internal to
22632 load a file. Call get-unicode-property-internal where necessary.
22633 (put-char-code-property): Call unicode-property-table-internal to
22634 load a file. Call put-unicode-property-internal where necessary.
22635 put-unicode-property-internal where necessary.
22636 (char-code-property-description):
22637 Call unicode-property-table-internal to load a file.
22639 * international/charprop.el:
22640 * international/uni-bidi.el:
22641 * international/uni-category.el:
22642 * international/uni-combining.el:
22643 * international/uni-comment.el:
22644 * international/uni-decimal.el:
22645 * international/uni-decomposition.el:
22646 * international/uni-digit.el:
22647 * international/uni-lowercase.el:
22648 * international/uni-mirrored.el:
22649 * international/uni-name.el:
22650 * international/uni-numeric.el:
22651 * international/uni-old-name.el:
22652 * international/uni-titlecase.el:
22653 * international/uni-uppercase.el: Regenerate.
22655 * loadup.el: Load international/charprop.el before
22656 international/characters.
22658 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22660 * window.el (next-buffer, previous-buffer): Signal an error if
22661 called from a minibuffer window.
22663 * bindings.el: Revert 2011-07-04 change.
22665 2011-07-06 Richard Stallman <rms@gnu.org>
22667 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
22668 (rmail-mime-insert-bulk, rmail-mime-insert-text):
22669 Treat markers like ints.
22670 (rmail-mime-entity): Doc fix.
22672 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22674 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
22675 defcustom again for backwards compatibility.
22677 * simple.el (shell-command-on-region): Fill.
22679 * dired-aux.el (dired-kill-line): Add a doc string.
22681 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
22682 to "\\sw\\|\\s_" (bug#358).
22684 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
22685 (dired-unmark-backward): Ditto.
22686 (dired-flag-backup-files): Ditto.
22688 * dired-x.el (dired-mark-sexp): Ditto.
22690 2011-07-06 Richard Stallman <rms@gnu.org>
22692 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
22693 (rmail-mime-entity): New arg TRUNCATED.
22694 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
22696 (rmail-mime-save): Warn if entity is truncated.
22697 (rmail-mime-toggle-hidden): Likewise, for showing.
22698 (rmail-mime-process-multipart): Record when an entity is truncated.
22700 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
22701 if ENTITY is a string.
22703 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22705 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
22706 of faces when `M-C-x'-ing their definitions (bug#8378).
22707 Also clean up the code slightly.
22709 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
22710 because that makes the colors go away.
22712 * mail/sendmail.el (send-mail-function): Change the default to
22713 `sendmail-query-once'.
22714 (sendmail-query-once): Add an autoload cookie.
22716 * net/network-stream.el (network-stream-open-starttls): Try using
22717 a plain connection even if the server offered STARTTLS, and we
22718 kinda wanted to use it, if Emacs doesn't have any STARTTLS
22719 capability. This should make smtpmail.el work in slightly more
22722 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
22724 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22726 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
22728 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
22730 * progmodes/sql.el: Version 3.0
22731 (sql-product-alist): Add product :completion-object,
22732 :completion-column, and :statement attributes.
22733 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
22734 (sql-mode-syntax-table): Mark all punctuation.
22735 (sql-font-lock-keywords-builder): Temporarily remove fallback on
22737 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
22738 (sql-mode-oracle-font-lock-keywords): Improve.
22739 (sql-oracle-show-reserved-words): New function for development.
22740 (sql-product-font-lock): Simplify for source code buffers.
22741 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
22743 (sql-highlight-product): Set product specific syntax table.
22744 (sql-mode-map): Add statement movement functions.
22745 (sql-ansi-statement-starters, sql-oracle-statement-starters):
22747 (sql-statement-regexp, sql-beginning-of-statement)
22748 (sql-end-of-statement, sql-signum): New functions.
22749 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
22750 (sql-show-sqli-buffer): Bug fix.
22751 (sql-interactive-mode): Store connection data as buffer local.
22752 (sql-connect): Add NEW-NAME parameter. Redesign interaction
22753 with sql-interactive-mode.
22754 (sql-save-connection): Save buffer local settings.
22755 (sql-connection-menu-filter): Change menu entry name.
22756 (sql-product-interactive): Bug fix.
22757 (sql-preoutput-hold): New variable.
22758 (sql-interactive-remove-continuation-prompt): Bug fixes.
22759 (sql-debug-redirect): New variable.
22760 (sql-str-literal): New function.
22761 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
22763 (sql-oracle-save-settings, sql-oracle-restore-settings)
22764 (sql-oracle-list-all, sql-oracle-list-table): New functions.
22765 (sql-completion-object, sql-completion-column)
22766 (sql-completion-sqlbuf): New variables.
22767 (sql-build-completions-1, sql-build-completions)
22768 (sql-try-completion): New functions.
22769 (sql-read-table-name): Use them.
22770 (sql-contains-names): New buffer local variable.
22771 (sql-list-all, sql-list-table): Use it.
22772 (sql-oracle-completion-types): New variable.
22773 (sql-oracle-completion-object, sql-sqlite-completion-object)
22774 (sql-postgres-completion-object): New functions.
22776 2011-07-06 Glenn Morris <rgm@gnu.org>
22778 * window.el (pop-to-buffer): Doc fix.
22780 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
22782 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
22784 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
22786 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
22788 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
22790 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
22792 * button.el (button): Inherit from link face. Suggested by Dan
22795 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22797 * progmodes/gdb-mi.el: Fit in 80 columns.
22798 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
22801 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
22802 if imenu is simply not configured (bug#8941).
22804 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
22806 * allout.el (allout-post-undo-hook): New allout outline-change
22807 event hook to signal undo activity.
22808 (allout-post-command-business): Run allout-post-undo-hook if an
22809 undo just occurred.
22810 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
22811 * allout-widgets.el (allout-widgets-after-undo-function):
22812 Ensure the integrity of the current item's decoration after it has been
22813 in the vicinity of an undo.
22814 (allout-widgets-mode): Include allout-widgets-after-undo-function
22815 on the new allout-post-undo-hook.
22817 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22819 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
22820 Let define-derived-mode define it.
22821 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
22822 cycles of abbrev-table inheritance (bug#8998).
22824 2011-07-05 Roland Winkler <winkler@gnu.org>
22826 * textmodes/bibtex.el: Add support for biblatex.
22827 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
22828 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
22829 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
22830 (bibtex-entry-alist, bibtex-field-alist): New variables.
22831 (bibtex-entry-field-alist): Obsolete alias for
22832 bibtex-BibTeX-entry-alist.
22833 (bibtex-entry-alist, bibtex-field-alist): New widgets.
22834 (bibtex-set-dialect): New command.
22835 (bibtex-entry-type, bibtex-entry-head)
22836 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
22837 Bind via bibtex-set-dialect.
22838 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
22839 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
22840 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
22841 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
22842 Define via bibtex-set-dialect.
22843 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
22844 Obey bibtex-no-opt-remove-re.
22845 (bibtex-vec-push, bibtex-vec-incr): New functions.
22846 (bibtex-format-entry, bibtex-field-list)
22847 (bibtex-print-help-message, bibtex-validate)
22848 (bibtex-search-entries): Use new format of bibtex-entry-alist.
22850 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22852 * progmodes/compile.el (compilation-goto-locus):
22853 * net/tramp-cmds.el (tramp-append-tramp-buffers):
22854 * bs.el (bs-cycle-next, bs-cycle-previous):
22855 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
22856 * bindings.el (mode-line-other-buffer):
22857 * autoinsert.el (auto-insert):
22858 * arc-mode.el (archive-extract):
22859 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
22861 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22863 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
22864 Fix check of `emacs-lock-unlockable-modes'.
22865 Coerce true values of `emacs-lock--try-unlocking' to t.
22867 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22869 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
22870 * emacs-lock.el: New file.
22872 2011-07-05 Julien Danjou <julien@danjou.info>
22874 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
22875 than `boundp' to check if face is set.
22877 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22879 * register.el (registerv-make):
22880 * window.el (window-min-height): Fix typos in docstrings.
22882 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
22884 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
22887 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22889 * server.el (server-execute): Catch quit and call
22890 `server-return-error' to pass the error back to emacsclient and
22891 close the connection (bug#8942).
22893 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
22895 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
22896 insecure exception for current topic. Also note that auto-saves
22897 are handled differently.
22899 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
22900 State variables for tracking auto-save inhibition situation.
22902 (allout-write-contents-hook-handler): Rename from
22903 'allout-write-file-hook-handler', and describe how it depends on
22904 write-contents-functions sensitivity to non-nil value to prevent
22907 (allout-auto-save-hook-handler): Remove. auto-save does not check
22908 this in individual buffers, only in the starting buffer, so this
22909 is not the right way for us to inhibit auto-save in a buffer
22910 according to its condition.
22912 (allout-mode): Use new allout-write-contents-hook-handler, and
22913 only with write-contents-functions. Remove auto-save provisions -
22914 they're implemented elsewhere.
22916 (allout-before-change-handler): If undo is in progress, note that
22917 for attention of allout-post-command-business.
22919 (allout-post-command-business): If the command we're following was
22920 an undo, check for change in the status of encrypted items and
22921 adjust auto-save inhibitions accordingly.
22923 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
22924 according to whether there are or aren't any plain-text topics
22925 pending encryption.
22927 (allout-inhibit-auto-save-info-for-decryption):
22928 Adjust buffer-saved-size and some allout state to inhibit auto-saves
22929 if there are plain-text topics pending encryption.
22931 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
22932 buffer-saved-size and some allout state to not inhibit auto-saves
22933 if there are no longer any plain-text topics pending encryption.
22935 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
22936 No longer provide for exemption of the current topic.
22938 2011-07-04 Juri Linkov <juri@jurta.org>
22940 Add 7z operations to delete and save changed members (bug#8968).
22941 * arc-mode.el (archive-7z-expunge, archive-7z-update):
22943 (archive-7z-write-file-member): New function.
22944 (archive-7z-summarize): Fix the number of dashes in the
22947 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22949 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
22952 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
22954 * bindings.el: Ignore next-buffer and previous-buffer in
22955 minibuffer-local-map.
22957 * font-lock.el (font-lock-builtin-face): Change light background
22958 color to dark slate blue (Bug#6693).
22960 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
22962 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
22964 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22966 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
22967 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22968 Add switch-to-buffer.
22970 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22972 * isearch.el (isearch-search-fun-function): Clarify further the
22973 meaning of the function returned.
22975 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
22977 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
22979 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
22980 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
22982 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
22983 `tramp-default-remote-path' does not exist.
22984 (tramp-send-command-and-read): New optional argument NOERROR.
22985 (tramp-open-connection-setup-interactive-shell)
22986 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
22987 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
22988 (tramp-process-sentinel): Flush also process' connection property.
22989 (tramp-sh-handle-start-file-process): Do not set process
22990 sentinel. It is done now ...
22991 (tramp-maybe-open-connection): ... here. (Bug#8929)
22993 2011-07-04 MON KEY <monkey@sandpframing.com>
22995 * play/animate.el (animate-string): Doc fixes and allow changing
22996 the buffer name (bug#5417).
22998 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
23000 * play/animate.el (animation-buffer-name): Rename from *animate*.
23002 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
23004 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
23005 This is simpler and helps future-proof the code.
23006 (timer-until): Use time-subtract and float-time.
23007 (timer--time-less-p): Use time-less-p.
23009 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
23011 * type-break.el (timep): Use the value of `float-time' to avoid a
23012 byte-compiler warning.
23014 * server.el (server-eval-and-print): Return any result, even nil.
23016 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
23018 * type-break.el: Accept time formats that the builtins accept.
23019 (timep, type-break-time-difference): Accept any format that
23020 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
23021 This is simpler and helps future-proof the code.
23022 (type-break-time-difference): Round rather than ignoring
23023 subseconds components.
23025 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23027 * info.el (Info-apropos-matches): Make non-interactive, since it
23028 doesn't seem to do anything useful as a command (bug#8829).
23030 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
23032 * frame.el (frame-background-mode, frame-set-background-mode):
23033 Move from faces.el.
23034 (frame-default-terminal-background): New function.
23036 * custom.el (custom-push-theme): Don't record faces in `changed'
23037 theme; this doesn't work correctly for per-frame face settings.
23038 (disable-theme): Use face-set-after-frame-default to reset faces.
23039 (custom--frame-color-default): New function.
23041 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23043 * dired.el (dired-flagging-regexp): Remove unused variable
23046 2011-03-29 Kevin Ryde <user42@zip.com.au>
23048 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23049 `perl-Test2' extend to match possible "fail #N" rep count
23052 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23054 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
23055 `smtpmail-via-smtp' now returns the error instead of nil.
23057 * isearch.el (isearch-search-fun-function): Clarify the doc string
23060 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
23062 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
23063 unnecessary spaces (bug#8987).
23065 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23067 * net/network-stream.el (open-network-stream): Use the
23068 :end-of-capability command thoughout.
23070 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
23072 * net/network-stream.el (open-network-stream): Add the
23073 :end-of-capability command parameter, used by pop3.el.
23075 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23077 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
23079 * fringe.el (fringe-query-style): Remove redundant text " (type ?
23080 for list)" (bug#6475).
23082 * files.el (file-expand-wildcards): Ignore non-readable
23083 sub-directories while trying to find matches instead of signaling
23084 an error (bug#6297).
23086 * man.el (Man-reference-regexp): Allow matching possible
23087 word-wrapped references (bug#6289).
23089 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
23090 for consistency with the other vc buffers (bug#6197).
23091 (vc-checkin): Ditto.
23093 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
23095 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
23097 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23099 * custom.el (defcustom): Clarify that :set is only used in the
23100 Customize user interface (bug#6089).
23102 * progmodes/flymake.el (flymake-mode): If the buffer isn't
23103 associated with a file, refuse to run instead of erroring out
23106 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
23107 the doc string, since it appears that using `fill-column' always
23108 controls the width (bug#7845).
23110 * simple.el (shell-command-on-region): Say where the error output
23111 went if `shell-command-default-error-buffer' is set (bug#6857).
23113 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
23115 * allout.el (allout-yank-processing): Adjust cursor position for
23116 backwards-deleted space.
23118 (allout-rebullet-heading): Register changes with
23119 allout-exposure-changed-hook, so the modified topic is properly
23122 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23124 * minibuffer.el (completion-in-region): Document PREDICATE
23127 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
23128 of keyword/argument pairs (bug#6904).
23130 * replace.el (multi-occur):
23131 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
23133 2011-07-02 Drew Adams <drew.adams@oracle.com>
23135 * dired.el (dired-mark-if): Make the message about whether it's
23136 marking or unmarking clearer (bug#8523).
23138 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23140 * disp-table.el (display-table-print-array): New function.
23141 (describe-display-table): Use it to print the vectors more pretty
23144 2011-07-02 Martin Rudalics <rudalics@gmx.at>
23146 * window.el (window-state-get-1): Don't assign clone numbers.
23147 Add clone-of item to list of window parameters.
23148 (window-state-put-2): Don't process clone numbers.
23149 (display-buffer-alist): Fix doc-string.
23151 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
23153 * subr.el (remq): Don't allocate if it's not needed.
23154 (keymap--menu-item-binding, keymap--menu-item-with-binding)
23155 (keymap--merge-bindings): New functions.
23156 (keymap-canonicalize): Use them to refine the canonicalization.
23157 * minibuffer.el (minibuffer-local-completion-map)
23158 (minibuffer-local-must-match-map): Move initialization from C.
23159 (minibuffer-local-filename-completion-map): Move initialization from C;
23160 don't inherit from anything here.
23161 (minibuffer-local-filename-must-match-map): Make obsolete.
23162 (completing-read-default): Use make-composed-keymap to combine
23163 minibuffer-local-filename-completion-map with either
23164 minibuffer-local-must-match-map or
23165 minibuffer-local-filename-completion-map.
23167 2011-07-01 Glenn Morris <rgm@gnu.org>
23169 * type-break.el (type-break-time-sum): Use dolist.
23171 * textmodes/flyspell.el (flyspell-word-search-backward):
23172 Replace CL function.
23174 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23176 * mouse.el (mouse--strip-first-event): New function.
23177 (function-key-map): Use it to map fringe clicks to normal clicks
23180 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
23181 (vc-bzr-revision-completion-table): Add support for annotate and date.
23183 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
23184 inherit from parent.
23186 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23188 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
23189 (dired-show-file-type): Doc fixup (bug#8818).
23191 * dired.el (dired-mode): Fix up the doc string as suggested by
23192 Drew Adams (bug#8817).
23194 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
23195 cookie, since the manual says that it should be possible to add
23196 this function to `find-file-hook' (bug#8709).
23198 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23200 * progmodes/cfengine.el: Moved all cfengine3.el functionality
23201 here. Noted Ted Zlatanov as the maintainer.
23202 (cfengine-common-settings, cfengine-common-syntax): New functions
23203 to set up common things between `cfengine-mode' and
23205 (cfengine3-mode): New mode.
23206 (cfengine3-defuns cfengine3-defuns-regex
23207 (cfengine3-class-selector-regex cfengine3-category-regex)
23208 (cfengine3-vartypes cfengine3-font-lock-keywords)
23209 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
23210 (cfengine3-indent-line): Add from cfengine3.el.
23212 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
23214 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
23216 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
23218 2011-07-01 Martin Rudalics <rudalics@gmx.at>
23220 * window.el (same-window-buffer-names, same-window-regexps)
23221 (same-window-p, special-display-frame-alist)
23222 (special-display-popup-frame, special-display-function)
23223 (special-display-buffer-names, special-display-regexps)
23224 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
23225 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23226 (split-window-preferred-function, split-height-threshold)
23227 (split-width-threshold, even-window-heights)
23228 (display-buffer-mark-dedicated, window-splittable-p)
23229 (split-window-sensibly, window-safely-shrinkable-p):
23231 (display-buffer): Don't spread args with function specifier
23232 because special-display-popup-frame won't like it.
23234 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
23236 Time-stamp simplifications and fixes.
23237 These improve accuracy slightly, and future-proof the code
23238 against some potential changes to current-time format.
23240 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
23241 by using time-since and float-time.
23243 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
23244 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
23245 + NNN microseconds".
23247 * type-break.el (type-break-time-sum): Rewrite using time-add.
23249 * play/hanoi.el (hanoi-current-time-float): Remove.
23250 All uses replaced by float-time.
23252 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
23253 This yields a more-accurate answer.
23254 (rng-time-to-float): Remove; no longer needed.
23256 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
23258 * calendar/timeclock.el (timeclock-seconds-to-time):
23259 Defalias to seconds-to-time, since they're the same thing.
23261 * emacs-lisp/elp.el (elp-elapsed-time):
23262 * emacs-lisp/benchmark.el (benchmark-elapse):
23263 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
23265 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23267 * window.el (bury-buffer): Don't iconify the only frame.
23268 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
23269 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
23271 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
23273 * eshell/em-smart.el (eshell-smart-display-navigate-list):
23274 Add mouse-yank-primary.
23276 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23278 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
23280 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23282 * emacs-lisp/find-func.el (find-library--load-name): New fun.
23283 (find-library-name): Use it to find relative load names when provided
23284 absolute file name (bug#8803).
23286 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23288 * textmodes/flyspell.el (flyspell-word): Consider words that
23289 differ only in case as potential doublons (bug#5687).
23291 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
23292 Remove two rather uninteresting debugging-like messages to make
23293 debbugs.el more silent.
23295 * comint.el (comint-password-prompt-regexp): Accept "Response" as
23296 a password-like phrase.
23298 2011-06-30 Masatake YAMATO <yamato@redhat.com>
23300 * progmodes/cc-guess.el: New file.
23302 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
23304 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
23305 derived from `c-basic-common-init'.
23307 * progmodes/cc-mode.el (top-level): Require cc-guess.
23308 (c-basic-common-init): Use `cc-choose-style-for-mode'.
23310 2011-06-30 Lawrence Mitchell <wence@gmx.li>
23312 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
23314 2011-06-30 Alan Mackenzie <acm@muc.de>
23316 * progmodes/cc-engine.el (c-guess-continued-construct):
23317 Correct the handling of template-args-cont, particularly for when font
23318 lock is disabled. Name this case as "CASE G".
23320 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
23322 * allout.el (allout-yank-processing): Fix injection of extra space
23323 between bullet and non-whitespace character in first topic when
23324 pasting, ensuring that the actual spacing in the pasted topic
23325 following the bullet char is preserved. This extra space was
23326 causing pasted encrypted topics to get a decrypted status even
23327 when the content was actually still encrypted. Now the decryption
23328 status from before the paste is preserved.
23330 (allout-flag-region): Set all allout overlays so they evaporate
23331 when reduced to zero length (evanescent), to prevent overlay
23334 2011-06-30 Glenn Morris <rgm@gnu.org>
23336 * w32-fns.el (w32-charset-info-alist): Declare.
23338 * find-dired.el (find-grep-options): Simplify.
23340 * term/ns-win.el (ns-set-resource): Declare.
23342 * ses.el (row, col): Declare dynamic variables honestly.
23344 * textmodes/reftex-parse.el (index-tags): Declare.
23346 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
23348 * cus-edit.el (customize-push-and-save): New function.
23350 * files.el (hack-local-variables-confirm): Use it.
23352 * custom.el (load-theme): New arg NO-CONFIRM.
23353 Use customize-push-and-save (Bug#8720).
23354 (custom-enabled-themes): Doc fix.
23356 * cus-theme.el (customize-create-theme)
23357 (custom-theme-merge-theme): Callers to load-theme changed.
23359 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23361 * thingatpt.el (thing-at-point-short-url-regexp): Require that
23362 short URLs have at least one dot in them (bug #7614).
23364 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
23365 nil, because using a pty is apparently too slow (bug #895).
23367 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
23369 * mail/sendmail.el (sendmail-query-once): New function.
23370 (sendmail-query-once-function): New variable.
23372 2011-06-29 Glenn Morris <rgm@gnu.org>
23374 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
23376 * ses.el (top-level): Require cl when compiling.
23377 (ses-set-localvars): Fix error statement.
23378 Call it at compile time to silence a storm of warnings.
23380 2011-06-29 Martin Rudalics <rudalics@gmx.at>
23382 * window.el (normalize-live-buffer): Rename to
23383 window-normalize-buffer.
23384 (normalize-live-frame): Rename to window-normalize-frame.
23385 (normalize-any-window): Rename to window-normalize-any-window.
23386 (normalize-live-window): Rename to window-normalize-live-window.
23387 (make-window-atom): Rename to window-make-atom.
23388 (window-resize-reset): Rename to window--resize-reset.
23389 (window-resize-reset-1): Rename to window--resize-reset-1.
23390 (resize-mini-window): Rename to window--resize-mini-window.
23391 (resize-subwindows-skip-p): Rename to
23392 window--resize-subwindows-skip-p.
23393 (resize-subwindows-normal): Rename to
23394 window--resize-subwindows-normal.
23395 (resize-subwindows): Rename to window--resize-subwindows.
23396 (resize-other-windows): Rename to window--resize-siblings.
23397 (resize-this-window): Rename to window--resize-this-window.
23398 (resize-root-window): Rename to window--resize-root-window.
23399 (resize-root-window-vertically): Rename to
23400 window--resize-root-window-vertically.
23401 (normalize-buffer-to-display): Rename to
23402 window-normalize-buffer-to-display.
23403 (normalize-buffer-to-switch-to): Rename to
23404 window-normalize-buffer-to-switch-to.
23405 Correspondingly update all callers of the functions listed
23407 (display-buffer-alist, display-buffer-normalize-arguments)
23408 (display-buffer-normalize-options, display-buffer)
23409 (display-buffer-alist-set): Use "function" instead of
23412 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
23414 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
23415 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
23416 debbugs.gnu.org. Mention acknowledgment email.
23418 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
23420 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
23421 buffer multibyteness, since it shouldn't matter.
23423 2011-06-28 Martin Rudalics <rudalics@gmx.at>
23425 * window.el (display-buffer-in-side-window): Handle dedicated
23426 windows as in display-buffer-reuse-window.
23427 (display-buffer-normalize-alist): Use value of override
23429 (display-buffer-normalize-specifiers): Use value of
23430 other-window-means-other-frame specifier.
23431 (display-buffer-alist): Rewrite some texts in widgets.
23432 (display-buffer): Spread arguments when calling function
23433 specified by fun-with-args.
23435 2011-06-28 Deniz Dogan <deniz@dogan.se>
23437 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
23440 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
23441 selectors (Bug#5732).
23442 (css-proprietary-nmstart-re): Use `regexp-opt'.
23444 2011-06-27 Jari Aalto <jari.aalto@cante.net>
23446 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
23447 (eshell-ls-date-format): New defcustom.
23448 (eshell-ls-file): Use it.
23450 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23452 * help-fns.el (describe-variable): Fix message for terminal-local vars.
23454 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
23456 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
23457 (ange-ftp-make-tmp-name): New arg.
23458 (ange-ftp-file-local-copy): Use it.
23460 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
23462 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
23463 no-conversion (Bug#8870).
23465 2011-06-27 Martin Rudalics <rudalics@gmx.at>
23467 * window.el (window-right, window-left, window-child)
23468 (window-child-count, window-last-child)
23469 (window-iso-combination-p, walk-window-tree-1)
23470 (window-atom-check-1, window-tree-1, delete-window)
23471 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
23472 new naming conventions - window-vchild, window-hchild,
23473 window-next and window-prev are now called window-top-child,
23474 window-left-child, window-next-sibling and window-prev-sibling
23476 (resize-window-reset): Rename to window-resize-reset.
23477 (resize-window-reset-1): Rename to window-resize-reset-1.
23478 (resize-window): Rename to window-resize.
23479 (window-min-height, window-min-width)
23480 (resize-mini-window, resize-this-window, resize-root-window)
23481 (resize-root-window-vertically, adjust-window-trailing-edge)
23482 (enlarge-window, shrink-window, maximize-window)
23483 (minimize-window, delete-window, quit-restore-window)
23484 (split-window, balance-windows, balance-windows-area-adjust)
23485 (balance-windows-area, window-state-put-2)
23486 (display-buffer-even-window-sizes, display-buffer-set-height)
23487 (display-buffer-set-width, set-window-text-height)
23488 (fit-window-to-buffer): Rename all "resize-window" prefixed
23489 calls to use the "window-resize" prefix convention.
23490 (display-buffer-alist): Fix symbol for label specifier.
23491 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
23492 corresponding specifier.
23493 Reported by Juanma Barranquero <lekktu@gmail.com>.
23495 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23497 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
23499 (ses-call-printer): Does not pass an empty string to formatter when the
23500 cell is empty to keep from barking printer Calc math-format-value.
23502 2011-06-27 Richard Stallman <rms@gnu.org>
23504 * battery.el (battery-mode-line-limit): New variable.
23505 (battery-update): Handle it.
23507 * mail/rmailmm.el (rmail-mime-process-multipart):
23508 Handle truncated messages.
23510 2011-06-27 Glenn Morris <rgm@gnu.org>
23512 * progmodes/flymake.el (flymake-err-line-patterns):
23513 Allow for column numbers in the ant/javac pattern. (Bug#8866)
23515 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23517 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
23518 (ses--clean-!, ses--clean-_): New functions.
23519 (ses-range): Add configurability of readout order, and conversion
23522 * ses.el (ses-repair-cell-reference-all): New function.
23523 (ses-cell-symbol): Set macro as safe, so that it can be used in
23526 * ses.el: Update cycle detection algorithm.
23527 (ses-localvars): Add ses--Dijkstra-attempt-nb and
23528 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
23529 (ses-set-localvars): New function.
23530 (ses-make-cell): Add property-list as a cell element.
23531 (ses-cell-property-get-fun, ses-cell-property-get)
23532 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
23533 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
23535 (ses-cell-property-set, ses-cell-property-pop)
23536 (ses-cell-property-get-handle): New macro.
23537 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
23538 New aliases, used for code readability.
23539 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
23541 (ses-self-reference-early-detection): New defcustom.
23542 (ses-formula-references): Robustify against self-referring cells.
23543 (ses-mode): Use ses-set-localvars.
23544 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
23545 before lauching the update processing.
23546 (ses-initialize-Dijkstra-attempt): New function.
23547 (ses-recalculate-cell): Update for cycle detection based on
23548 Dijkstra algorithm.
23550 * ses.el: Fix commenting and indenting convention.
23552 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23554 * bs.el (bs-cycle-next): Complete last change.
23556 2011-06-27 Drew Adams <drew.adams@oracle.com>
23558 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
23560 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
23562 * net/network-stream.el (network-stream-open-starttls):
23563 Don't re-get capabilities unless we've reestablished connection.
23564 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
23566 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
23567 to binary to possibly avoid line encoding issues on Windows (among
23570 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23572 * net/network-stream.el (open-network-stream): Return an :error
23573 saying what the problem was, if possible.
23575 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
23578 * net/network-stream.el (network-stream-open-starttls): If we
23579 wanted to use STARTTLS, and the server offered it, but we weren't
23580 able to because we had no STARTTLS support, then close the connection.
23581 (open-network-stream): Return an :error element, if present.
23583 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23585 * hl-line.el (hl-line-sticky-flag): Doc fix.
23586 (global-hl-line-sticky-flag): New option (Bug#8323).
23587 (global-hl-line-highlight): Obey it.
23589 * vc/vc.el (vc-revert-show-diff): Default to t.
23591 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
23593 * allout-widgets.el (allout-widgets-post-command-business):
23594 Stop decorating intermediate isearch matches. They're not being
23595 undecorated when an isearch is continued past, and isearch
23596 automatically collapses them. This leads to "widget leaks", where
23597 decorated items accumulate in collapsed areas. Lines with lots of
23598 hidden widgets can slow down cursor travel, substantially.
23599 Too much complicated machinery would be needed to ensure undecoration,
23600 so we're doing without this nicety.
23602 (allout-widgets-tally-string): Don't try to do a hash-table-count
23603 of allout-widgets-tally when it's nil. This eliminates spurious "Error
23604 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
23605 *Messages* when allout-widgets-maintain-tally is t.
23607 2011-06-26 Martin Rudalics <rudalics@gmx.at>
23609 * window.el (display-buffer-normalize-argument): Rename to
23610 display-buffer-normalize-arguments. Handle special meaning of
23611 LABEL argument. Respect special-display-function when popping up
23612 a new frame. Fix code searching for a window showing the buffer
23614 (display-buffer-normalize-specifiers):
23615 Call display-buffer-normalize-arguments.
23616 (display-buffer-in-window): Don't undedicate the window if its
23617 buffer remains the same.
23618 Reported by Drew Adams <drew.adams@oracle.com>.
23619 (display-buffer-alist): Add choice for same-window macro
23621 (display-buffer): Mention special meaning of LABEL argument in
23622 doc-string. Fix quoting. Don't pop up a new frame even as
23625 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
23627 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
23628 avoid deleting the current window in some cases (bug#8911).
23630 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
23632 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
23635 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23637 * net/network-stream.el (network-stream-open-starttls):
23638 Use built-in TLS support if `gnutls-available-p' is true.
23639 (network-stream-open-tls): Ditto.
23641 2011-06-26 Leo Liu <sdl.web@gmail.com>
23643 * register.el (registerv): New struct.
23644 (registerv-make): New function.
23645 (jump-to-register, describe-register-1, insert-register):
23646 Support the jump-func, print-func and insert-func slot of a registerv
23649 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23651 * vc/vc.el (vc-revert-show-diff): New defcustom.
23652 (vc-diff-internal): New arg specifying diff buffer.
23653 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
23654 reuse an existing *vc-diff* buffer (Bug#8927).
23656 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
23658 2011-06-26 Glenn Morris <rgm@gnu.org>
23660 * progmodes/f90.el (f90-critical-indent): New option.
23661 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
23662 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
23663 (f90-mode): Doc fix.
23664 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
23665 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
23666 (f90-beginning-of-block, f90-next-block, f90-indent-region)
23667 (f90-match-end): Handle block, critical.
23669 2011-06-25 Glenn Morris <rgm@gnu.org>
23671 * calendar/diary-lib.el (diary-included-files): Doc fix.
23672 (diary-include-files): New function, extracted from
23673 diary-include-other-diary-files and diary-mark-included-diary-files.
23674 (diary-include-other-diary-files, diary-mark-included-diary-files):
23675 Just call diary-include-files.
23676 (diary-mark-entries): Reset diary-included-files on first call.
23678 * calendar/diary-lib.el (diary-mark-entries)
23679 (diary-mark-included-diary-files):
23680 Visit included diary-files in temp buffers.
23682 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
23683 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
23684 (f90-start-block-re, f90-imenu-generic-expression)
23685 (f90-looking-at-program-block-start, f90-no-block-limit):
23686 Add support for submodules.
23688 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23689 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
23691 2011-06-25 Eli Zaretskii <eliz@gnu.org>
23693 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
23694 buffer-file-type before setting its value, to avoid disastrous
23695 global effects on decoding files for DOS/Windows systems. (Bug#8780)
23697 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23699 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
23701 * ses.el (ses-unload-function):
23702 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
23704 * proced.el (proced-unload-function):
23705 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
23707 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
23709 * server.el (server-create-window-system-frame): Add parameters arg.
23710 (server-process-filter): Doc fix. Handle frame-parameters.
23712 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23714 Fix bug#8730, bug#8781.
23716 * loadhist.el (unload--set-major-mode): New function.
23717 (unload-feature): Use it.
23719 * progmodes/python.el (python-after-info-look): Add autoload cookie.
23720 (python-unload-function): New function.
23722 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
23724 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
23726 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
23728 * net/browse-url.el (browse-url-firefox-program): Add icecat to
23729 the candidates list.
23731 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
23733 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
23735 2011-06-23 Richard Stallman <rms@gnu.org>
23737 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
23738 (rmail-variables): Set next-error-move-function.
23739 (rmail-what-message): Take argument POS.
23740 (rmail-next-error-move): New function.
23742 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
23744 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
23745 messages for adjacent non-terminals.
23747 2011-06-23 Richard Stallman <rms@gnu.org>
23749 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
23750 (rmail-show-message-1): Preserve buffer modified flag.
23751 (rmail-start-mail): Don't specify use of rmail-mail-return;
23752 that's done by mail-bury now.
23753 (rmail-mail-return): Handle arg NEWBUF.
23755 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
23757 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
23760 2011-06-23 Martin Rudalics <rudalics@gmx.at>
23762 * window.el (get-lru-window, get-mru-window)
23763 (get-largest-window): Never return a minibuffer window.
23764 (display-buffer-pop-up-window): Fix a bug that could lead to
23765 reusing the minibuffer window.
23766 (display-buffer): Pass original specifier argument to
23767 display-buffer-function instead of the normalized one.
23768 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
23770 2011-06-22 Leo Liu <sdl.web@gmail.com>
23772 * minibuffer.el (completing-read-function)
23773 (completing-read-default): Move from minibuf.c.
23775 2011-06-22 Richard Stallman <rms@gnu.org>
23777 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
23778 to Rmail even if not started by a special Rmail command.
23780 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
23781 Copy the buffer currently showing just one message.
23783 2011-06-22 Roland Winkler <winkler@gnu.org>
23785 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
23786 (bibtex-clean-entry): First delete the old key so that a
23787 customized algorithm for generating the new key does not get
23788 confused by the old key.
23789 (bibtex-url): Obey regexp of first step.
23790 (bibtex-search-entries): Do not use add-to-list with local
23793 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23795 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
23796 stored a user name, then query for the password first, instead of
23797 waiting for SMTP to give an error message and the trying again.
23799 2011-06-22 Lawrence Mitchell <wence@gmx.li>
23801 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
23802 BUFFER in call-process.
23804 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23806 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
23808 (smtpmail-try-auth-methods): Require user name and password from
23811 2011-06-22 Martin Rudalics <rudalics@gmx.at>
23813 * window.el (display-buffer-default-specifiers)
23814 (display-buffer-alist): Remove entries for pop-up-frame-alist.
23815 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
23816 (split-window): Normalize SIDE argument (Bug#8916).
23818 * frame.el (pop-up-frame-alist, pop-up-frame-function)
23819 (special-display-frame-alist, special-display-popup-frame):
23820 Remove duplicate declarations. These are now in window.el.
23822 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
23824 * mail/smtpmail.el (smtpmail-via-smtp):
23825 Set :use-starttls-if-possible so that we always use STARTTLS if the
23826 server supports it. SMTP servers that support STARTTLS commonly
23829 * net/network-stream.el (network-stream-open-starttls): Support
23830 upgrading to STARTTLS always, even if we don't have built-in support.
23831 (open-network-stream): Add the :always-query-capabilities keyword.
23833 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
23834 upgrades with `open-network-stream', and rely solely on
23835 auth-source for all credentials. Big changes throughout the file,
23837 (smtpmail-auth-credentials): Remove.
23838 (smtpmail-starttls-credentials): Remove.
23839 (smtpmail-via-smtp): Check for servers saying they want AUTH after
23842 * net/network-stream.el (network-stream-open-starttls):
23843 Provide support for client certificates both for external and built-in
23845 (auth-source): Require.
23846 (open-network-stream): Document the :client-certificate keyword.
23847 (network-stream-certificate): Change cert-cert to cert and
23850 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
23852 * net/tramp-cache.el (top): Don't load the persistency file when
23853 "emacs -Q" has been called.
23855 2011-06-21 Tim Harper <timcharper@gmail.com>
23857 * term/ns-win.el (ns-initialize-window-system):
23858 Set application-specific `ApplePressAndHoldEnabled' system
23859 resource to NO as it is not yet supported by the NS port.
23861 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
23863 * misc.el (list-dynamic-libraries--refresh): Compute header here...
23864 (list-dynamic-libraries): ...not here.
23866 2011-06-21 Leo Liu <sdl.web@gmail.com>
23868 * subr.el (sha1): Implement sha1 using secure-hash.
23870 2011-06-21 Martin Rudalics <rudalics@gmx.at>
23872 * window.el (display-buffer-alist): In default value do not
23873 enforce searching a window on any but the selected frame.
23874 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
23875 (display-buffer-select-window): Remove function.
23876 (display-buffer-in-window): When a window on another frame gets
23877 reused, do not select it any more but just raise its frame if
23878 necessary (Bug#8851) and (Bug#8856).
23879 (display-buffer-normalize-options): Handle pop-up-frames related
23880 options more faithfully.
23881 (pop-to-buffer): Don't rely on `display-buffer' selecting the
23882 window if it is on another frame.
23883 (display-buffer-alist, display-buffer-default-specifiers):
23884 Don't make new frame unsplittable by default.
23885 (display-buffer-normalize-argument): Fix doc-string typo and use
23886 'same-frame-other-window instead of 'other-window when associating
23887 with display-buffer-macro-specifiers.
23889 2011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
23891 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
23893 (5x5-mode-map, 5x5-mode-menu): Bind them.
23894 (5x5-draw-grid): Tweak the solver's rendering.
23896 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23898 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
23899 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
23901 2011-06-21 Drew Adams <drew.adams@oracle.com>
23903 * menu-bar.el: Use function variable instead of switch-to-buffer.
23904 (menu-bar-select-buffer-function): New variable.
23905 (menu-bar-update-buffers): Use it (bug#8876).
23907 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23909 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
23912 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
23914 * x-dnd.el (x-dnd-version-from-flags)
23915 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
23916 and long as number (Bug#8899).
23917 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
23919 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
23921 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
23922 (completion-try-completion, completion-all-completions): Compute the
23923 metadata argument if it's missing; make it optional (bug#8795).
23925 * wid-edit.el: Use lex-bind and move towards completion-at-point.
23926 (widget-complete): Use new :completion-function property.
23927 (widget-completions-at-point): New function.
23928 (default): Use :completion-function instead of :complete.
23929 (widget-default-completions): Rename from widget-default-complete;
23931 (widget-string-complete, widget-file-complete, widget-color-complete):
23933 (file, symbol, function, variable, coding-system, color):
23934 * international/mule-cmds.el (default-input-method, charset)
23935 (language-info-custom-alist):
23936 * cus-edit.el (face): Use new property :completions.
23938 * progmodes/pascal.el (pascal-completions-at-point): New function.
23939 (pascal-mode): Use it.
23940 (pascal-mode-map): Use completion-at-point.
23941 (pascal-toggle-completions): Make obsolete.
23942 (pascal-complete-word, pascal-show-completions):
23943 * progmodes/octave-mod.el (octave-complete-symbol):
23944 Redefine as obsolete alias.
23945 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
23946 Signal absence of completion info for old Octave,
23947 (inferior-octave-complete): Redefine as obsolete alias.
23948 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
23949 (meta-completions-at-point): Rename from meta-complete-symbol and
23950 adapt it for use on completion-at-point-functions.
23951 (meta-common-mode): Use it.
23952 (meta-looking-at-backward, meta-match-buffer): Remove.
23953 (meta-complete-symbol): Redefine as obsolete alias.
23954 (meta-common-mode-map): Use completion-at-point.
23955 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
23956 (makefile-mode-map): Use completion-at-point.
23957 (makefile-completions-at-point): Rename from makefile-complete and
23958 adapt it for use on completion-at-point-functions.
23959 (makefile-mode): Use it.
23960 (makefile-complete): Redefine as obsolete alias.
23962 2011-06-20 Deniz Dogan <deniz@dogan.se>
23964 * net/rcirc.el: Delete trailing whitespaces once and for all.
23966 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
23968 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
23970 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
23972 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
23974 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
23976 2011-06-19 Martin Rudalics <rudalics@gmx.at>
23978 * window.el (display-buffer-other-window-means-other-frame):
23979 Call display-buffer-normalize-alist.
23980 (display-buffer-normalize-specifiers-1): Rename to
23981 display-buffer-normalize-argument. New argument other-frame.
23983 (display-buffer-normalize-specifiers-2): Rename to
23984 display-buffer-normalize-options.
23985 (display-buffer-normalize-alist-1): New function.
23986 (display-buffer-normalize-specifiers-3): Rename to
23987 display-buffer-normalize-alist.
23988 Call display-buffer-normalize-alist-1.
23989 (display-buffer-normalize-options-inhibit): New variable.
23990 (display-buffer-normalize-specifiers): Rewrite calling
23991 display-buffer-normalize-alist,
23992 display-buffer-normalize-argument, and
23993 display-buffer-normalize-options. Don't call the latter if
23994 display-buffer-normalize-options-inhibit is non-nil.
23995 (frame-auto-delete): New option.
23996 (window-deletable-p): Use frame-auto-delete.
23997 (window-list-no-nils, window-state-ignored-parameters)
23998 (window-state-get-1, window-state-get, window-state-put-list)
23999 (window-state-put-1, window-state-put-2, window-state-put):
24001 (display-buffer-normalize-options): Move special-display-p group
24002 after pop-up-frame group (Bug#8851) and (Bug#8856).
24004 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
24006 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
24008 (rx-submatch-n): New function.
24011 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
24014 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
24016 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
24018 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
24019 anytime existing face settings are present (Bug#8889).
24021 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
24022 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
24023 Remove unused argument.
24025 2011-06-18 Martin Rudalics <rudalics@gmx.at>
24027 * window.el (display-buffer-default-specifiers):
24028 Remove pop-up-frame. Add pop-up-window-min-height,
24029 pop-up-window-min-width, and another reuse-window specifier
24030 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
24031 (display-buffer-normalize-specifiers-2):
24032 Handle split-height-threshold and split-width-threshold also when
24033 pop-up-windows is unset. Add a reuse-window specifier for the
24034 case popping up a new window fails.
24035 (special-display-popup-frame): Remove double quoting.
24036 (display-buffer-normalize-specifiers-1): Fix thinko.
24038 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
24040 * shell.el (shell-completion-vars): Set pcomplete-termination-string
24041 according to comint-completion-addsuffix.
24043 * pcomplete.el: Convert to lexical binding and fix bug#8819.
24044 (pcomplete-suffix-list): Mark as obsolete.
24045 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
24046 pcomplete-seen in the closure.
24047 (pcomplete-comint-setup): Setup completion-at-point as well.
24048 (pcomplete--entries): New function.
24049 (pcomplete--env-regexp): New var.
24050 (pcomplete-entries): Rewrite to work with partial-completion and
24051 without relying on pcomplete-suffix-list.
24052 (pcomplete-pare-list): Remove, unused.
24054 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24056 * window.el (display-buffer-alist): Set pop-up-window-min-height
24057 and pop-up-window-min-width in default value. Reported by
24058 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
24059 other-window-means-other-frame.
24060 (display-buffer-macro-specifiers): Comment out entry for
24061 other-window specifier.
24062 (display-buffer-other-window-means-other-frame): New function.
24063 (display-buffer-normalize-specifiers-1): New arguments
24064 buffer-name and label. Treat other-window case specially.
24065 (display-buffer-normalize-specifiers-2): Treat other-window case
24067 (display-buffer-normalize-specifiers-3): New function.
24068 (display-buffer-normalize-specifiers):
24069 Call display-buffer-normalize-specifiers-3.
24071 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24073 * window.el (same-window-p): Fix two typos introduced when
24074 adding with-no-warnings.
24075 (display-buffer-normalize-specifiers-1): Don't check
24076 pop-up-frames for 'unset initialization.
24077 (display-buffer-normalize-specifiers-2): Major rewrite using
24078 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
24079 (pop-up-frames, display-buffer-reuse-frames)
24080 (display-buffer-mark-dedicated): Don't initialize to 'unset.
24081 Suggested by David Engster <deng@randomsample.de>.
24082 (even-window-heights): Initialize to 'unset.
24083 (display-buffer-alist-set): Handle new 'unset initializations.
24084 (display-buffer-macro-specifiers): Don't pop up a new frame in the
24087 2011-06-16 Martin Rudalics <rudalics@gmx.at>
24089 * window.el (display-buffer-normalize-specifiers-1):
24090 Respect current value of pop-up-frames for most reasonable values of
24091 second argument of display-buffer (Bug#8865).
24092 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
24093 (switch-to-buffer-other-window-same-frame)
24094 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
24096 (display-buffer): Don't check noninteractive when calling
24097 display-buffer-pop-up-frame.
24098 (display-buffer-pop-up-frame): Never pop up a frame in
24099 noninteractive mode (Bug#8857).
24100 (enlarge-window, shrink-window): Don't report an error when the
24101 window can't be resized as requested (Bug#8862).
24103 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24105 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
24107 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
24109 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
24111 2011-06-15 Alan Mackenzie <acm@muc.de>
24113 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
24114 for declarators, disable knr checking to speed up for normal files.
24115 2: Refactor, replacing a sequence of nested if forms by a cond form.
24117 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
24119 * net/network-stream.el (open-network-stream): Add the keyword
24120 :always-query-capabilities for the case where you want to force a
24121 `plain' network connection, but the protocol still requires the
24122 capabilitiy command (i.e., SMTP and EHLO).
24124 * subr.el (process-live-p): Rename from `process-alive-p' for
24125 consistency with other `-live-p' functions.
24127 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24129 * window.el (same-window-buffer-names, same-window-regexps)
24130 (special-display-frame-alist, special-display-popup-frame)
24131 (special-display-function, special-display-buffer-names)
24132 (special-display-regexps, pop-up-frame-alist)
24133 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
24134 (pop-up-windows, split-window-preferred-function)
24135 (split-height-threshold, split-width-threshold, even-window-heights)
24136 (display-buffer-mark-dedicated): Don't encourage the use of
24137 display-buffer-alist from Elisp code.
24139 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
24141 * progmodes/python.el (python-mode): Derive from prog-mode.
24142 * progmodes/ps-mode.el (ps-mode):
24143 * progmodes/mixal-mode.el (mixal-mode):
24144 * progmodes/cfengine.el (cfengine-mode):
24145 * progmodes/ld-script.el (ld-script-mode): Likewise.
24147 2011-06-15 Martin Rudalics <rudalics@gmx.at>
24149 * window.el (display-buffer-alist): Trim default value to avoid
24150 popping up a new frame (Bug#8857) or reusing an arbitrary window
24152 (display-buffer): Do not fall back on popping up a new frame in
24153 batch mode (Bug#8857).
24155 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
24157 * cus-theme.el (describe-theme-1): Use custom-theme-p.
24158 (custom-theme-summary): New function.
24159 (customize-themes): Use it.
24161 2011-06-13 Glenn Morris <rgm@gnu.org>
24163 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
24165 2011-06-13 Martin Rudalics <rudalics@gmx.at>
24167 * help.el (help-window): Remove variable.
24168 (help-window-point-marker, temp-buffer-max-height)
24169 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
24170 (help-print-return-message): Don't set help-window.
24171 (resize-temp-buffer-window): Rewrite cod eand doc-string.
24172 (help-window-setup-finish): Remove.
24173 (help-window-display-message, help-window-setup)
24174 (with-help-window): Major rewrite based on new
24175 display-buffer-window variable.
24177 * help-mode.el (help-mode-finish): Remove help-window related
24180 * view.el (view-exits-all-viewing-windows): Remove reference to
24181 view-return-to-alist in doc-string.
24182 (view-return-to-alist): Make obsolete.
24183 (view-buffer): Call pop-to-buffer-same-window and remove
24185 (view-buffer-other-window): Call pop-to-buffer-other-window and
24186 simplify code. Ignore second argument.
24187 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
24188 simplify code. Ignore second argument.
24189 (view-return-to-alist-update): Make obsolete.
24190 (view-mode-enter): Rename second argument to QUIT-RESTORE.
24191 Rewrite using quit-restore window parameters.
24192 (view-mode-exit): Rename second argument to EXIT-ONLY.
24193 Rewrite using quit-restore-window.
24194 (View-exit, View-exit-and-edit, View-leave, View-quit)
24195 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
24196 appropriate arguments.
24197 (view-end-message): Use quit-restore window parameter.
24199 * window.el (display-buffer-function): Rewrite doc-string.
24200 (display-buffer-window, display-buffer-alist): New variables.
24201 (display-buffer-split-specifiers)
24202 (display-buffer-side-specifiers)
24203 (display-buffer-macro-specifiers): New constants.
24204 (display-buffer-even-window-sizes, display-buffer-set-height)
24205 (display-buffer-set-width, display-buffer-select-window)
24206 (display-buffer-in-window, display-buffer-reuse-window)
24207 (display-buffer-split-window-1, display-buffer-split-window)
24208 (display-buffer-split-atom-window, display-buffer-pop-up-window)
24209 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
24210 (display-buffer-in-side-window, normalize-buffer-to-display)
24211 (display-buffer-normalize-specifiers-1)
24212 (display-buffer-normalize-specifiers-2)
24213 (display-buffer-normalize-specifiers, display-buffer-frame):
24215 (display-buffer): Major rewrite.
24216 (display-buffer-other-window, display-buffer-other-frame)
24217 (pop-to-buffer, switch-to-buffer-other-window)
24218 (switch-to-buffer-other-frame): Rewrite.
24219 (display-buffer-same-window, display-buffer-same-frame)
24220 (display-buffer-same-frame-other-window)
24221 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
24222 (pop-to-buffer-other-window)
24223 (pop-to-buffer-same-frame-other-window)
24224 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
24225 (switch-to-buffer-other-window-same-frame): New functions.
24226 (same-window-p, special-display-p): Rewrite disabling warnings.
24228 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
24229 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
24231 (same-window-buffer-names, same-window-regexps)
24232 (special-display-frame-alist, special-display-popup-frame)
24233 (special-display-function, special-display-buffer-names)
24234 (special-display-regexps, pop-up-frame-alist)
24235 (pop-up-frame-function, split-window-preferred-function)
24236 (split-height-threshold, split-width-threshold)
24237 (even-window-heights): Make obsolete.
24239 2011-06-12 Glenn Morris <rgm@gnu.org>
24241 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
24242 Misc simplifications.
24244 2011-06-12 Martin Rudalics <rudalics@gmx.at>
24246 * window.el (window-safely-shrinkable-p): Restore function which
24247 was inadvertently removed in change from 2011-06-11. Declare as
24250 * calendar/calendar.el (calendar-generate-window):
24251 Use window-iso-combined-p instead of combination of one-window-p and
24252 window-safely-shrinkable-p.
24254 2011-06-12 Glenn Morris <rgm@gnu.org>
24256 * progmodes/fortran.el (fortran-mode-syntax-table):
24257 * progmodes/f90.el (f90-mode-syntax-table):
24258 Set % to punctuation. (Bug#8820)
24259 (f90-find-tag-default): Remove, no longer needed.
24261 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
24263 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
24265 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
24267 * image.el (image-animated-p): Return animation delay in seconds.
24268 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
24269 (image-animate-timeout): Remove DELAY argument. Don't assume
24270 every subimage has the same delay; get it from image-animated-p.
24271 (image-animate): Caller changed.
24273 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
24275 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
24276 to ignored backtrace functions.
24278 2011-06-11 Glenn Morris <rgm@gnu.org>
24280 * calendar/appt.el (appt-disp-window-function): Doc fix.
24281 (appt-check): Handle overlapping appointments. (Bug#8337)
24283 2011-06-11 Martin Rudalics <rudalics@gmx.at>
24285 * window.el (window-tree-1, window-tree): New functions, moving
24286 the latter to window.el.
24287 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
24288 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
24289 (bw-refresh-edges): Remove.
24290 (balance-windows-1, balance-windows-2): New functions.
24291 (balance-windows): Rewrite in terms of window tree functions,
24292 balance-windows-1 and balance-windows-2.
24293 (bw-adjust-window): Remove.
24294 (balance-windows-area-adjust): New function with functionality of
24295 bw-adjust-window but using resize-window.
24296 (set-window-text-height): Rewrite doc-string.
24297 Use normalize-live-window and resize-window.
24298 (enlarge-window-horizontally, shrink-window-horizontally):
24299 Rename argument to DELTA.
24300 (window-buffer-height): New function.
24301 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
24302 Rewrite using new window resize routines.
24303 (kill-buffer-and-window, mouse-autoselect-window-select):
24304 Use ignore-errors instead of condition-case.
24305 (quit-window): Call delete-frame instead of delete-windows-on
24306 for the only buffer on frame.
24308 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24310 * loadup.el (top-level): Load window before files for the sake
24311 of replace-buffer-in-windows.
24313 * files.el (read-buffer-to-switch)
24314 (switch-to-buffer-other-window)
24315 (switch-to-buffer-other-frame, display-buffer-other-frame):
24318 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
24319 (previous-buffer): Move to window.el.
24321 * bindings.el (unbury-buffer): Move to window.el.
24323 * window.el (delete-other-windows-vertically): Move after
24324 definition of delete-other-windows.
24325 (other-window, delete-windows-on, replace-buffer-in-windows):
24326 Move here from window.c.
24327 (record-window-buffer, unrecord-window-buffer)
24328 (set-window-buffer-start-and-point, switch-to-prev-buffer)
24329 (switch-to-next-buffer): New functions.
24330 (get-next-valid-buffer, last-buffer, next-buffer): Move here
24331 from simple.el. Call switch-to-next-buffer.
24332 (previous-buffer): Move here from simple.el.
24333 Call switch-to-prev-buffer.
24334 (bury-buffer): Move here from buffer.c. Switch to previous
24335 buffer when window cannot be deleted.
24336 (unbury-buffer): Move here from bindings.el.
24337 (ctl-x-map): Move binding for other-window from window.c to
24339 (read-buffer-to-switch, switch-to-buffer-other-window)
24340 (switch-to-buffer-other-frame): Move here from files.el.
24341 (normalize-buffer-to-switch-to): New functions.
24342 (switch-to-buffer): Move here from buffer.c.
24343 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
24345 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24347 * window.el (window-min-height, window-min-width): Move here
24348 from window.c. Add defcustoms and rewrite doc-strings.
24349 (resize-mini-window, resize-window): New functions.
24350 (adjust-window-trailing-edge, enlarge-window, shrink-window):
24351 Move here from window.c.
24352 (maximize-window, minimize-window): New functions.
24353 (delete-window, delete-other-windows, split-window): Move here
24355 (window-split-min-size): New function.
24356 (split-window-keep-point): Mention split-window-above-each-other
24357 instead of split-window-vertically.
24358 (split-window-above-each-other, split-window-vertically):
24359 Rename split-window-vertically to split-window-above-each-other
24360 and provide defalias for old definition.
24361 (split-window-side-by-side, split-window-horizontally):
24362 Rename split-window-horizontally to split-window-side-by-side
24363 and provide defalias for the old definition.
24364 (ctl-x-map): Move bindings for delete-window,
24365 delete-other-windows and enlarge-window here from window.c.
24366 Replace bindings for split-window-vertically and
24367 split-window-horizontally by bindings for
24368 split-window-above-each-other and split-window-side-by-side.
24370 * cus-start.el (all): Remove entries for window-min-height and
24371 window-min-width. Add entries for window-splits and
24374 2011-06-09 Glenn Morris <rgm@gnu.org>
24376 * calendar/appt.el (appt-mode-line): New function.
24377 (appt-check, appt-disp-window): Use it.
24379 * files.el (hack-one-local-variable-eval-safep):
24380 Allow minor-modes with explicit +/-1 arguments.
24382 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
24384 * term/xterm.el (xterm): Add defgroup.
24385 (xterm-extra-capabilities): Add defcustom to supply known xterm
24386 capabilities, skip querying them, or query them (default).
24387 (terminal-init-xterm): Use it.
24388 (terminal-init-xterm-modify-other-keys): New function to set up
24389 modifyOtherKeys support to simplify `terminal-init-xterm'.
24391 2011-06-09 Martin Rudalics <rudalics@gmx.at>
24393 * window.el (resize-window-reset, resize-window-reset-1)
24394 (resize-subwindows-skip-p, resize-subwindows-normal)
24395 (resize-subwindows, resize-other-windows, resize-this-window)
24396 (resize-root-window, resize-root-window-vertically)
24397 (window-deletable-p, window-or-subwindow-p)
24398 (frame-root-window-p): New functions.
24400 2011-06-09 Glenn Morris <rgm@gnu.org>
24402 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
24403 (ange-ftp-get-files): Use it.
24405 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
24407 * mail/sendmail.el (mail-recover-1, mail-recover):
24408 * files.el (recover-file, recover-session):
24409 Handle dired-listing-switches not being just a single short option.
24411 2011-06-09 Glenn Morris <rgm@gnu.org>
24413 * calendar/appt.el (appt-display-message, appt-disp-window):
24414 Handle lists of appointments.
24416 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24418 * window.el (one-window-p): Move down in code.
24419 Rewrite doc-string.
24420 (window-current-scroll-bars): Rewrite doc-string.
24421 Normalize live window argument.
24422 (walk-windows, get-window-with-predicate, count-windows):
24423 Rewrite doc-string. Use window-list-1.
24424 (window-in-direction-2, window-in-direction, get-mru-window):
24427 2011-06-08 Reuben Thomas <rrt@sc3d.org>
24429 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
24430 Doc fix (Bug#8713).
24432 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
24434 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
24436 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
24438 * loadhist.el (unload-feature-special-hooks):
24439 Add `comint-output-filter-functions'.
24441 2011-06-08 Ivan Kanis <gnu@kanis.fr>
24443 * calendar/appt.el (appt-check): Move some initializations into the let.
24445 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24447 * window.el (window-height): Defalias to window-total-height.
24448 (window-width): Defalias to window-body-width.
24450 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
24452 * image-mode.el (image-toggle-animation): New command.
24453 (image-mode-map): Bind it to RET.
24454 (image-mode): Update message.
24455 (image-toggle-display-image): Avoid a spurious cache flush.
24456 (image-transform-rotation): Doc fix.
24457 (image-transform-properties): Return quickly in the normal case.
24458 (image-animate-loop): Rename from image-animate-max-time.
24460 * image.el (image-animate-max-time): Move to image-mode.el.
24461 (create-animated-image): Remove unnecessary function.
24462 (image-animate): Rename from image-animate-start. New arg.
24463 (image-animate-stop): Remove; just use image-animate-timer.
24464 (image-animate-timer): Use car-safe.
24465 (image-animate-timeout): Rename argument.
24467 2011-06-07 Martin Rudalics <rudalics@gmx.at>
24469 * window.el (get-lru-window, get-largest-window): Move here from
24470 window.c. Rename first argument to ALL-FRAMES.
24471 Rephrase doc-strings.
24472 (get-buffer-window-list): Rewrite using window-list-1.
24473 Rephrase doc-string.
24474 (window-safe-min-height, window-safe-min-width): New constants.
24475 (window-size-ignore, window-min-size, window-min-size-1)
24476 (window-sizable, window-sizable-p, window-size-fixed-1)
24477 (window-size-fixed-p, window-min-delta-1, window-min-delta)
24478 (window-max-delta-1, window-max-delta, window-resizable)
24479 (window-resizable-p, window-total-height, window-total-width)
24480 (window-body-width): New functions.
24481 (window-full-height-p, window-full-width-p): Rewrite using
24483 (window-body-height): Rewrite using window-body-size.
24485 2011-06-06 Martin Rudalics <rudalics@gmx.at>
24487 * window.el (window-right, window-left, window-child)
24488 (window-child-count, window-last-child, window-any-p)
24489 (normalize-live-buffer, normalize-live-frame)
24490 (normalize-any-window, normalize-live-window)
24491 (window-iso-combination-p, window-iso-combined-p)
24492 (window-iso-combinations)
24493 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
24494 (windows-with-parameter, window-with-parameter)
24495 (window-atom-root, make-window-atom, window-atom-check-1)
24496 (window-atom-check, window-side-check, window-check):
24498 (ignore-window-parameters, window-sides, window-sides-vertical)
24499 (window-sides-slots): New variables.
24500 (window-size-fixed): Move down in code. Minor doc-string fix.
24502 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
24504 * comint.el (comint-dynamic-complete-as-filename)
24505 (comint-dynamic-complete-filename): Correctly call
24506 completion-in-region.
24508 2011-06-05 Deniz Dogan <deniz@dogan.se>
24510 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
24513 2011-06-05 Deniz Dogan <deniz@dogan.se>
24515 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
24516 (rcirc): Use it to prompt for encryption.
24518 2011-06-05 Roland Winkler <winkler@gnu.org>
24520 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
24521 (bibtex-search-entries): New command bound to C-c C-a.
24522 (bibtex-display-entries): New function.
24524 2011-06-05 Roland Winkler <winkler@gnu.org>
24526 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
24527 (bibtex-insert-kill): After yanking insert newline if necessary.
24528 (bibtex-initialize): Call bibtex-string-files-init only once.
24529 (bibtex-mode): Do not call easy-menu-add.
24530 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
24531 (bibtex-yank): Set arg properly if nil.
24533 2011-06-05 Roland Winkler <winkler@gnu.org>
24535 * textmodes/bibtex.el (bibtex-search-entry-globally):
24537 (bibtex-search-entry): Use it.
24539 2011-06-05 Roland Winkler <winkler@gnu.org>
24541 * textmodes/bibtex.el (bibtex-entry-format): New option
24543 (bibtex-format-entry, bibtex-reformat): Honor this option.
24544 (bibtex-parse-entry): Return fields in proper order.
24546 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
24548 * doc-view.el (doc-view-remove-if): Move computation of result out
24549 of `dolist' to silence misleading lexical-binding warning.
24551 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
24553 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
24554 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
24556 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24558 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
24561 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24563 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
24564 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
24565 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
24566 (tramp-parse-putty):
24567 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
24568 (tramp-completion-function-alist-ssh)
24569 (tramp-completion-function-alist-telnet)
24570 (tramp-completion-function-alist-su)
24571 (tramp-completion-function-alist-putty): Set `tramp-autoload'
24574 * net/tramp-ftp.el:
24576 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
24577 load "tramp.el" `tramp-set-completion-function'.
24579 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
24581 * shell.el: Require and use pcomplete.
24582 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
24583 (shell-completion-vars): Set pcomplete-default-completion-function.
24585 2011-06-04 Deniz Dogan <deniz@dogan.se>
24587 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
24590 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24592 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
24594 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
24596 * bs.el (bs--mark-unmark, bs--nth-wrapper):
24597 * mpc.el (mpc-select-extend, mpc-songpointer-context):
24598 * vc/log-view.el (log-view-beginning-of-defun):
24599 * vc/smerge-mode.el (smerge-apply-resolution-patch)
24600 (smerge-refine-forward, smerge-refine-chopup-region):
24601 Silence warning for unused `dotimes' counter variables.
24603 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24605 * net/tramp.el (tramp-with-progress-reporter): Rename from
24606 with-progress-reporter. Use `declare'.
24607 * net/tramp-smb.el:
24609 * net/tramp-gvfs.el: Update all uses.
24611 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
24613 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
24614 buffer isn't killed before making it current.
24616 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24618 Silence various byte-compiler warnings.
24619 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
24620 `access-type' and new obsolescence format.
24621 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
24623 (byte-compile-check-variable): New `access-type' argument.
24624 Only warn if the access-type is obsolete.
24625 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24626 (byte-compile-variable-set): Adjust callers.
24627 * help-fns.el (describe-variable): Adjust to new obsolescence format.
24628 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
24629 setting it as obsolete.
24630 * simple.el (minibuffer-completing-symbol):
24631 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
24632 access as obsolete.
24633 * minibuffer.el (minibuffer-completing-file-name): Don't make it
24635 * international/quail.el (quail-mouse-choose-completion): Remove unused
24636 code referring to obsolete var.
24637 (quail-choose-completion-string): Remove.
24638 * server.el (server-clients-with, server-kill-buffer-query-function)
24639 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
24640 * proced.el (proced-send-signal):
24641 * emacs-lisp/lisp.el (lisp-complete-symbol):
24642 Replace completion-annotate-function with completion-extra-properties.
24644 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24646 * simple.el (goto-line): Use read-number.
24647 (overriding-map-is-bound): Remove.
24648 (saved-overriding-map): Change default.
24649 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
24650 Take the map as argument.
24651 (universal-argument, negative-argument, digit-argument): Use it.
24652 (restore-overriding-map): Adjust.
24653 (do-auto-fill): Use fill-forward-paragraph.
24654 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
24656 * minibuffer.el (minibuffer-inactive-mode-map): New var.
24657 (minibuffer-inactive-mode): New major mode.
24658 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
24659 the *Messages* buffer" hack.
24660 (mouse-popup-menubar): Don't burp if the event is a normal key.
24662 Miscellaneous tweaks.
24663 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
24664 lexical scoping as in subr.el's dolist and dotimes.
24665 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
24666 Silence compiler warning.
24667 * thingatpt.el (forward-whitespace): Trivial coding style fix.
24668 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
24669 * international/ccl.el (ccl-compile): Trivial simplification.
24670 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
24671 * emacs-lisp/testcover.el (testcover-end): Remove spurious
24672 `printflag' argument.
24673 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
24674 Purecopy the whole obsolescence data.
24676 2011-06-01 Leo Liu <sdl.web@gmail.com>
24678 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
24679 improve doc-string as suggested by Marco Pessotto
24680 <melmothx@gmail.com>.
24681 (rcirc-print): Fix last change.
24683 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24685 * minibuffer.el (complete-with-action): Return nil for the metadata and
24686 boundaries of non-functional tables.
24687 (completion-table-dynamic): Return nil for the metadata.
24688 (completion-table-with-terminator): Add default case, using
24689 complete-with-action.
24690 (completion--metadata): New function.
24691 (completion-all-sorted-completions, minibuffer-completion-help): Use it
24692 to try and avoid pathological performance problems.
24693 (completion--embedded-envvar-table): Return `category' metadata.
24695 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
24697 * subr.el (process-alive-p): New tiny convenience function.
24699 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24701 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
24702 content but also its previous major mode.
24704 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
24706 * emacs-lisp/debug.el (debug): Restore the previous content of the
24707 *Backtrace* buffer when we exit with C-M-c.
24709 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24711 * minibuffer.el: Add metadata method to completion tables.
24712 (completion-category-overrides): New defcustom.
24713 (completion-metadata, completion--field-metadata)
24714 (completion-metadata-get, completion--styles)
24715 (completion--cycle-threshold): New functions.
24716 (completion-try-completion, completion-all-completions):
24717 Add `metadata' argument to choose completion-styles.
24718 (completion--do-completion): Use metadata to choose cycling.
24719 (completion-all-sorted-completions): Use metadata for sorting.
24720 Remove :completion-cycle-penalty which is not needed any more.
24721 (completion--try-word-completion): Add `metadata' argument.
24722 (minibuffer-completion-help): Check metadata for annotation function
24724 (completion-file-name-table): Return `category' metadata.
24725 (minibuffer-completing-file-name): Make obsolete.
24726 * simple.el (minibuffer-completing-symbol): Make obsolete.
24727 * icomplete.el (icomplete-completions): Pass new `metadata' param to
24728 completion-try-completion.
24730 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
24732 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
24734 2011-05-30 Leo Liu <sdl.web@gmail.com>
24736 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
24737 (rcirc-print): Decode all incoming messages (bug#8744).
24738 (rcirc-decode-coding-system): Allow value nil for automatic coding
24741 2011-06-01 Glenn Morris <rgm@gnu.org>
24743 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
24745 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24747 * image.el (image-animate-max-time): Allow nil and t values.
24749 (create-animated-image): Doc fix.
24750 (image-animate-start): Remove second arg; just use
24751 image-animate-max-time.
24752 (image-animate-timeout): Doc fix. Args changed.
24754 * image-mode.el (image-toggle-display-image): Ensure that the
24755 image spec passed to the animate timer is the same object as in
24756 the buffer's display property (Bug#6981).
24757 (image-transform-properties): Doc fix.
24759 * image.el (image-animate-max-time): Default to nil.
24761 2011-05-29 Martin Rudalics <rudalics@gmx.at>
24763 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
24764 entire buffer list (Bug#8184).
24766 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24768 * image.el (imagemagick-types-inhibit)
24769 (imagemagick-register-types): Doc fix.
24771 2011-05-29 Deniz Dogan <deniz@dogan.se>
24773 * net/rcirc.el (rcirc): Use the user's stored encryption method by
24776 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24778 * select.el: Don't perform clipboard-manager saving in hooks;
24779 leave the hooks empty.
24781 2011-05-28 Leo Liu <sdl.web@gmail.com>
24783 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
24784 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
24785 (occur-edit-mode): New major mode (Bug#8463).
24786 (occur-after-change-function): New function.
24787 (occur-engine): Give Occur tags a read-only property.
24789 2011-05-28 Kevin Ryde <user42@zip.com.au>
24791 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
24793 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24795 * bindings.el (help-echo): Make the initial non-indicator dash
24796 empty on graphical terminals (Bug#7295).
24798 * files.el (auto-mode-alist): Move config rule after the
24799 in-stripping one (Bug#8547).
24801 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
24803 * startup.el (normal-splash-screen): Remove gratuitous mode-line
24804 setting (Bug#8740).
24806 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
24808 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
24809 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
24812 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24814 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
24816 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
24818 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
24819 (hs-hide-block-at-point, hs-find-block-beginning)
24820 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
24823 2011-05-28 Glenn Morris <rgm@gnu.org>
24825 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
24827 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24829 * help-fns.el (describe-function-1): If the function is a derived
24830 major mode, print the parent mode.
24832 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
24833 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
24835 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
24837 * minibuffer.el (completion--capf-wrapper): Check applicability before
24838 returning non-nil for non-exclusive completion data.
24839 * progmodes/etags.el (tags-completion-at-point-function):
24840 * info-look.el (info-lookup-completions-at-point): Mark as
24842 (info-complete): Adjust accordingly.
24844 * info-look.el: Convert to lexical-binding and completion-at-point.
24845 (info-lookup-completions-at-point): New function.
24846 (info-complete): Use it and completion-in-region.
24848 2011-05-28 Drew Adams <drew.adams@oracle.com>
24850 * isearch.el: Let M-e start with point at the first mismatched char.
24851 (isearch-fail-pos): New function.
24852 (isearch-edit-string): Use it.
24854 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24856 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24858 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
24860 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
24861 traversal functions for avl-trees.
24862 (avl-tree--stack): New struct.
24863 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
24864 (avl-tree-enter): Add optional `updatefun' arg.
24865 (avl-tree--do-enter): Add optional `updatefun' arg.
24866 Change return value.
24867 (avl-tree-delete): Add optional `test' and `nilflag' args.
24868 (avl-tree--do-delete): Add `test' and `nilflag' args.
24869 Change return value.
24870 (avl-tree-member): Add optional `nilflag'
24871 (avl-tree-member-p): New function.
24872 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
24873 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
24874 (avl-tree-stack-empty-p): New functions.
24876 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
24877 avl-tree--del-balance1 and make it work both ways.
24878 (avl-tree--del-balance2): Remove.
24879 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
24880 make it work both ways.
24881 (avl-tree--enter-balance2): Remove.
24882 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
24884 (avl-tree--mapc, avl-tree-map): Add direction argument.
24886 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
24888 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
24890 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
24892 * select.el: Support clipboard managers with built-in function
24893 x-clipboard-manager-save, via delete-frame-functions and
24895 (xselect-convert-to-targets): Add MULTIPLE target to list.
24896 (xselect-convert-to-save-targets): New function.
24898 2011-05-27 Kenichi Handa <handa@m17n.org>
24900 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
24901 let-binding rfc2047-encode-encoded-words to nil.
24903 2011-05-27 Glenn Morris <rgm@gnu.org>
24905 * mail/emacsbug.el: Don't require url-util.
24907 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
24909 * files.el (set-auto-mode):
24910 Also respect mode: entries at the end of the file. (Bug#8586)
24912 2011-05-26 Glenn Morris <rgm@gnu.org>
24914 * files.el (hack-local-variables-prop-line, hack-local-variables):
24915 Downcase mode names, as seems to be traditional.
24916 (hack-local-variables, hack-local-variables-apply): Doc fixes.
24918 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
24919 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
24921 2011-05-25 Julien Danjou <julien@danjou.info>
24923 * textmodes/rst.el (rst-define-level-faces): Do not define face
24924 symbol if it is already defined.
24926 2011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
24928 * play/5x5.el (5x5-new-game, 5x5-randomize):
24929 Reset 5x5-solver-output to nil when a new grid is cast.
24930 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
24931 these debugging traces, as defmacro breaks the compiled code.
24933 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24935 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24937 2011-05-24 Leo Liu <sdl.web@gmail.com>
24939 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
24940 (vc-bzr-sha1): Adapt.
24942 * sha1.el: Remove. Function `sha1' is now builtin.
24944 * bindings.el: Provide sha1 feature.
24946 2011-05-24 Kenichi Handa <handa@m17n.org>
24948 * mail/sendmail.el: Require `rfc2047'.
24949 (mail-insert-from-field): Do not perform RFC2047 encoding.
24950 (mail-encode-header): New function.
24951 (sendmail-send-it): Set buffer-file-coding-system of the work
24952 buffer to the return value of select-message-coding-system.
24953 Call mail-encode-header.
24955 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
24957 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
24959 * mail/supercite.el (sc-default-cite-frame):
24960 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
24962 2011-05-24 Glenn Morris <rgm@gnu.org>
24964 * progmodes/python.el (brm-menu): Declare.
24966 * emulation/viper.el (viper-set-hooks): Declare.
24968 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
24969 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
24970 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
24971 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
24972 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
24973 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
24975 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
24977 Add an :exit-function for completion-at-point.
24979 * minibuffer.el (completion--done): New fun.
24980 (completion--do-completion): Use it. New arg `expect-exact'.
24981 (minibuffer-complete, minibuffer-complete-word): Don't output message,
24982 since completion--do-completion does it for us now.
24983 (minibuffer-force-complete): Use completion--done and
24984 completion--replace. Handle sole-completion case with more care.
24985 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
24986 (completion-extra-properties): New var.
24987 (completion-annotate-function): Make obsolete.
24988 (minibuffer-completion-help): Adjust accordingly.
24989 Use completion-list-insert-choice-function.
24990 (completion-at-point, completion-help-at-point):
24991 Bind completion-extra-properties.
24992 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
24993 * simple.el (completion-list-insert-choice-function): New var.
24994 (completion-setup-function): Preserve it.
24995 (choose-completion): Pay attention to it, shuffle the code a bit.
24996 (choose-completion-string): New arg `insert-function'.
24998 * textmodes/bibtex.el: Convert to lexical binding.
24999 (bibtex-mode-map): Use completion-at-point.
25000 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
25001 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
25002 (bibtex-complete): Define as obsolete alias.
25003 (bibtex-complete-internal): Remove.
25004 (bibtex-format-entry): Remove unused sub-group in regexp.
25005 * shell.el (shell--command-completion-data)
25006 (shell-environment-variable-completion):
25007 * pcomplete.el (pcomplete-completions-at-point):
25008 * comint.el (comint--complete-file-name-data): Use :exit-function
25009 instead of completion-table-with-terminator so it also works for
25012 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25014 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
25016 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
25019 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
25021 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
25023 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
25024 customization variable and implement: If non-nil, auto-fill will
25025 be inhibited while on topic's header line.
25027 2011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
25029 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
25030 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
25031 always have a solution in grid size = 5 cases.
25032 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
25033 (5x5-solver-output, 5x5-log-buffer): New vars.
25034 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
25035 Make these variables buffer local to achieve 5x5 multi-session-ness.
25036 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
25037 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
25038 (5x5-solve-suggest): New funs.
25039 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
25040 randomize a grid so that we ensure that there is always a solution.
25041 (5x5-make-random-grid): Allow other movement than flipping.
25043 2011-05-23 Kevin Ryde <user42@zip.com.au>
25045 * emacs-lisp/advice.el (ad-read-advised-function):
25046 Use `function-called-at-point' as the default, if it has
25047 advice and passes PREDICATE.
25049 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25051 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
25052 byte-compile-lambda if it's actually a lambda.
25054 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
25055 Fix function quoting. Use backquote better.
25057 2011-05-22 Yuanle Song <sylecn@gmail.com>
25059 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
25060 matching (Bug#8516).
25062 2011-05-22 Jari Aalto <jari.aalto@cante.net>
25064 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
25065 different face (Bug#8178).
25067 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
25069 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
25070 defface (Bug#8144).
25072 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
25074 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
25075 funcall as well (bug#8712). Warn when performing those conversions.
25076 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
25078 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
25080 2011-05-22 Glenn Morris <rgm@gnu.org>
25082 * files.el (hack-local-variables-prop-line): Small simplifications.
25083 (hack-local-variables, hack-local-variables-prop-line):
25084 If MODE-ONLY, return the mode, rather than just `t'.
25086 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
25088 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
25090 2011-05-21 Glenn Morris <rgm@gnu.org>
25092 * files.el (hack-local-variables-prop-line, hack-local-variables):
25093 If only interested in the mode, don't bother doing the other stuff.
25095 * image-mode.el (image-after-revert-hook):
25096 Redraw all frames on which the image is visible. (Bug#8567)
25098 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
25100 * wid-edit.el (widget-checklist-match-inline):
25101 Fix 2011-04-19 change. (Bug#8649)
25103 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
25105 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
25106 Also allow singlespace after single-letter capitals followed by a dot.
25108 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
25109 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
25111 2011-05-20 Nix <nix@esperi.org.uk>
25113 * files.el (basic-save-buffer-2):
25114 Fix handling of break-hardlink-on-save with non-existent files.
25116 2011-05-19 Deniz Dogan <deniz@dogan.se>
25118 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
25119 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
25121 2011-05-19 Glenn Morris <rgm@gnu.org>
25123 * progmodes/f90.el (f90-type-def-re):
25124 Handle "type, bind(c)". (Bug#8691)
25126 * emacs-lisp/autoload.el (batch-update-autoloads):
25127 Set autoload-excludes by parsing loadup.el rather than Makefiles.
25129 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
25131 * net/tramp.el (tramp-process-actions): Set "first-password-request"
25132 property for the correct connection in case of multihops.
25134 2011-05-18 Glenn Morris <rgm@gnu.org>
25136 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
25137 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
25139 Rationalize calendar handling of day and month abbrev-arrays.
25140 * calendar/calendar.el (calendar-customized-p): New function.
25141 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
25142 (calendar-day-name-array, calendar-month-name-array): Doc fix.
25144 (calendar-abbrev-length, calendar-day-abbrev-array)
25145 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
25146 (calendar-day-abbrev-array, calendar-month-abbrev-array):
25147 Elements may no longer be nil.
25148 (calendar-day-name, calendar-month-name):
25149 Update for changed nature of abbrev arrays.
25150 * calendar/diary-lib.el (diary-name-pattern):
25151 Update for changed nature of abbrev arrays.
25152 (diary-mark-entries-1): Update calendar-make-alist calls.
25153 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
25154 * calendar/cal-html.el (cal-html-day-abbrev-array):
25155 Simply inherit from calendar-day-abbrev-array.
25157 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
25159 * progmodes/grep.el (grep-mode): Disable default
25160 compilation-directory-matcher setting (bug#8684).
25162 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
25164 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
25165 instead of "head" and "tail". There were problems with SunOS 5.9,
25166 and it performs better.
25168 2011-05-17 Glenn Morris <rgm@gnu.org>
25170 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
25172 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
25173 Replace obsolete function.
25175 * shell.el (pcomplete-parse-arguments-function): Declare.
25177 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
25178 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
25179 (appt-check): Doc fixes.
25180 (appt-disp-window-function, appt-delete-window-function):
25181 Remove needless special case in custom :type.
25182 (appt-display-count): Default to 0, not nil.
25183 (appt-check): Reset appt-display-count to 0, not nil.
25185 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
25187 * progmodes/python.el (python-font-lock-keywords):
25188 Add the Python 3.X keyword "nonlocal" (bug#8639).
25190 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
25192 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
25194 2011-05-16 Kevin Ryde <user42@zip.com.au>
25196 * info-look.el (makefile-automake-mode): New setups, looking in
25197 automake manual, then makefile-mode.
25198 (makefile-mode): Remove automake manual, have it just in
25199 makefile-automake-mode since there's various things different or
25200 not relevant to plain make.
25201 (makefile-mode): Remove "other-modes" non-existent automake-mode,
25202 believe a hypothetical automake-mode would go to makefile-mode,
25203 not the other way around.
25205 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
25207 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
25208 hunk-end tags (Bug#8672).
25210 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
25211 vc-annotate-show-diff-revision-at-line (Bug#8671).
25213 2011-05-14 Glenn Morris <rgm@gnu.org>
25215 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
25216 in the middle of an existing one with multiple authors. (Bug#8645)
25217 (change-log-font-lock-keywords): Also handle multiple author lines
25218 with leading tabs. (Bug#8644)
25220 * calendar/appt.el (appt-check): Rename some local variables.
25221 Some simplification/reordering.
25223 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
25224 (feedmail-sendmail-f-doesnt-sell-me-out)
25225 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25226 (feedmail-debug-sit-for, feedmail-queue-express-hook)
25227 (feedmail-queue-runner-message-sender): Set :version.
25228 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
25229 (bbdb-dwim-net-address, vm-mail): Declare.
25230 (feedmail-binmail-gnulinuxish-template):
25231 Rename from feedmail-binmail-linuxish-template.
25232 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
25233 Use insert-buffer-substring.
25235 2011-05-14 Bill Carpenter <bill@carpenter.org>
25237 * mail/feedmail.el (feedmail-patch-level): Increase.
25238 (feedmail-debug): New custom group.
25239 (feedmail-confirm-outgoing-timeout)
25240 (feedmail-sendmail-f-doesnt-sell-me-out)
25241 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25242 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
25243 (feedmail-sender-line, feedmail-from-line)
25244 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
25245 (feedmail-spray-this-address)
25246 (feedmail-spray-address-fiddle-plex-list)
25247 (feedmail-queue-use-send-time-for-date)
25248 (feedmail-queue-use-send-time-for-message-id)
25249 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
25250 (feedmail-buffer-eating-function):
25252 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
25253 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
25254 (feedmail-message-action-scroll-down): New functions.
25255 (feedmail-queue-directory, feedmail-queue-draft-directory):
25256 Use expand-file-name.
25257 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
25258 Remove C-v help entry.
25259 (feedmail-queue-buffer-file-name): New variable.
25260 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
25261 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
25262 (feedmail-message-action-send-strong, feedmail-message-action-edit)
25263 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
25264 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
25265 (feedmail-message-action-toggle-spray)
25266 (feedmail-run-the-queue-no-prompts)
25267 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
25268 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
25269 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
25270 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
25271 (feedmail-envelope-deducer, feedmail-fiddle-from)
25272 (feedmail-fiddle-sender, feedmail-default-date-generator)
25273 (feedmail-fiddle-date, feedmail-fiddle-message-id)
25274 (feedmail-fiddle-spray-address)
25275 (feedmail-fiddle-list-of-spray-fiddle-plexes)
25276 (feedmail-fiddle-list-of-fiddle-plexes)
25277 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
25278 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
25279 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
25280 Change default. Doc fix.
25281 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
25282 (feedmail-binmail-linuxish-template): New constant.
25283 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
25284 Respect feedmail-sendmail-f-doesnt-sell-me-out.
25285 (feedmail-send-it): Add debug call.
25286 Use feedmail-queue-buffer-file-name, and
25287 feedmail-send-it-immediately-wrapper.
25288 (feedmail-message-action-send): Add debug call.
25289 Use feedmail-send-it-immediately-wrapper.
25290 (feedmail-queue-express-to-queue): Add debug call.
25291 Run feedmail-queue-express-hook.
25292 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
25293 (feedmail-message-action-help-blat):
25294 Rename from feedmail-queue-send-edit-prompt-help-first.
25295 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
25296 Check line-endings. Handle errors better.
25297 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
25298 Doc fix. Add debug call.
25299 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
25300 Use feedmail-queue-send-edit-prompt-inner.
25301 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
25302 (feedmail-queue-send-edit-prompt-inner): New function, extracted
25303 from feedmail-queue-send-edit-prompt.
25304 (feedmail-queue-send-edit-prompt-help)
25305 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
25306 (feedmail-tidy-up-slug): Add debug call.
25307 Respect feedmail-queue-slug-suspect-regexp.
25308 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
25309 (feedmail-dump-message-to-queue): Add debug call.
25310 Expand queue-directory.
25311 (feedmail-dump-message-to-queue): Change message slightly.
25312 Use feedmail-say-chatter.
25313 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
25314 (feedmail-send-it-immediately-wrapper): New function.
25315 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
25316 Insert empty string rather than newline. Handle full-frame case.
25317 Use catch/throw. Use feedmail-say-chatter.
25318 (feedmail-fiddle-from): Try mail-host-address.
25319 (feedmail-default-message-id-generator): Doc fix.
25320 Bind system-time-locale. Handle missing end.
25321 (feedmail-fiddle-x-mailer): Add debug call.
25322 Handle feedmail-x-mailer-line being nil.
25323 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
25324 Add debug call. Use buffer-substring-no-properties.
25325 (feedmail-say-debug, feedmail-say-chatter): New functions.
25326 (feedmail-find-eoh): Give an explicit error.
25328 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
25330 * net/newst-treeview.el (newsticker-treeview-face): Change default
25331 family from helvetica to sans.
25332 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
25333 etc/images/newsticker.
25335 * net/newst-reader.el (newsticker-feed-face): Change default
25336 family from helvetica to sans.
25338 * net/newst-plainview.el (newsticker-new-item-face)
25339 (newsticker-old-item-face, newsticker-immortal-item-face)
25340 (newsticker-obsolete-item-face, newsticker-date-face)
25341 (newsticker-statistics-face): Change default family from
25343 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
25344 etc/images/newsticker.
25346 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
25347 (newsticker--process-auto-mark-filter-match): Tell user about
25350 2011-05-13 Didier Verna <didier@xemacs.org>
25352 Common Lisp indentation improvements on defmethod and lambda-lists.
25353 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
25355 (lisp-lambda-list-keyword-parameter-indentation)
25356 (lisp-lambda-list-keyword-parameter-alignment)
25357 (lisp-lambda-list-keyword-alignment): New customizable user options.
25358 (lisp-indent-defun-method): Improve docstring.
25359 (extended-loop-p): Fix comment.
25360 (lisp-indent-lambda-list-keywords-regexp): New variable.
25361 (lisp-indent-lambda-list): New function.
25362 (lisp-indent-259): Use it.
25363 (lisp-indent-defmethod): Support for more than one
25364 method qualifier and properly indent methods lambda-lists.
25365 (defgeneric): Provide a missing common-lisp-indent-function property.
25367 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
25369 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
25370 bounds for the empty string (bug#8667).
25372 2011-05-13 Glenn Morris <rgm@gnu.org>
25374 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
25376 * mail/sendmail.el (sendmail-program): Try executable-find first.
25377 (sendmail-send-it): `sendmail-program' cannot be unbound.
25379 * calendar/appt.el (appt-make-list): Simplify.
25380 (appt-time-msg-list): Doc fix.
25381 (appt-check): Change mode-line message at the time of the appointment.
25383 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
25385 * progmodes/ld-script.el (ld-script-keywords)
25386 (ld-script-builtins): Update keywords list.
25388 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25390 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
25392 * shell.el (shell-completion-vars): New function.
25394 * simple.el (read-shell-command): Use it.
25395 (blink-matching-open): No need for " [...]" in minibuffer-message.
25397 2011-05-12 Glenn Morris <rgm@gnu.org>
25399 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
25400 (appt-check): Simplify.
25402 2011-05-12 Eli Zaretskii <eliz@gnu.org>
25404 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
25405 literal "/dev/null".
25407 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25409 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
25412 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
25414 * progmodes/which-func.el (which-function):
25415 Use add-log-current-defun instead of add-log-current-defun-function,
25416 which might not be defined (Bug#8260).
25418 2011-05-12 Glenn Morris <rgm@gnu.org>
25420 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
25421 Let byte-compile-initial-macro-environment always take precedence.
25423 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25425 * net/rcirc.el: Add support for SSL/TLS connections.
25426 (rcirc-server-alist): New field `encryption'.
25427 (rcirc): Check `encryption' settings.
25428 (rcirc-connect): New arg `encryption'. Use open-network-stream.
25429 Merge make-local-variable into `set'.
25430 (rcirc--connection-open-p): New function.
25431 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
25432 the process is not a network process (e.g. running gnutls-cli).
25433 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
25434 Make rcirc-(en|de)code-coding-system local here.
25435 (rcirc-mode): Merge make-local-variable into `set'.
25436 (rcirc-parent-buffer): Make permanent buffer-local.
25437 (rcirc-multiline-minor-mode): Don't do it here.
25438 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
25439 there's no server buffer.
25441 2011-05-11 Glenn Morris <rgm@gnu.org>
25443 * newcomment.el (comment-kill): Prefix "unused" local.
25445 * term/w32console.el (get-screen-color): Declare.
25447 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
25448 Handle symbol elements of byte-compile-initial-macro-environment.
25450 2011-05-10 Leo Liu <sdl.web@gmail.com>
25452 * bookmark.el (bookmark-bmenu-mode-map):
25453 Bind bookmark-bmenu-search to `/'.
25455 * mail/footnote.el: Convert to utf-8 encoding.
25456 (footnote-unicode-string, footnote-unicode-regexp): New variable.
25457 (Footnote-unicode): New function.
25458 (footnote-style-alist): Add unicode style to the list.
25459 (footnote-style): Doc fix.
25461 2011-05-10 Jim Meyering <meyering@redhat.com>
25463 Fix doubled-word typos.
25464 * international/quail.el (quail-insert-kbd-layout): and and -> and
25465 * kermit.el: and and -> and
25466 * net/ldap.el (ldap-search-internal): to to -> to
25467 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
25468 * progmodes/js.el (js-mode): and and -> and
25469 * textmodes/artist.el (artist-move-to-xy): at at -> at
25470 (artist-draw-region-trim-line-endings): if if -> if
25471 And Safetyc -> Safety.
25472 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
25474 2011-05-10 Glenn Morris <rgm@gnu.org>
25475 Stefan Monnier <monnier@iro.umontreal.ca>
25477 * files.el (hack-one-local-variable-eval-safep):
25478 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
25480 2011-05-10 Glenn Morris <rgm@gnu.org>
25482 * calendar/diary-lib.el (diary-list-entries-hook)
25483 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
25484 (diary-nongregorian-marking-hook, diary-list-entries)
25485 (diary-include-other-diary-files, diary-mark-entries)
25486 (diary-mark-included-diary-files): Doc fixes.
25488 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25490 * misc.el: Require tabulated-list.el during compilation.
25492 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25494 * progmodes/compile.el (compilation-start):
25495 Run compilation-filter-hook for the async case too.
25496 (compilation-filter-hook): Doc fix.
25498 2011-05-09 Deniz Dogan <deniz@dogan.se>
25500 * wdired.el: Remove outdated installation comment. Fix usage
25503 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25505 * misc.el: Implement new command `list-dynamic-libraries'.
25506 (list-dynamic-libraries--loaded-only-p): New variable.
25507 (list-dynamic-libraries--refresh): New function.
25508 (list-dynamic-libraries): New command.
25510 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25512 * progmodes/compile.el (compilation-error-regexp-alist-alist):
25513 Fix the ant regexp to handle end-line and end-column info from jikes.
25514 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
25515 higher priority to avoid clobbering by gnu.
25517 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25519 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
25520 if the face has existing theme settings (Bug#8454).
25522 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
25524 * progmodes/perl-mode.el (perl-imenu-generic-expression):
25525 Only match variables declared via `my' or `our' (Bug#8261).
25527 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
25528 special file names `.' and `..' (Bug#8259).
25530 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25532 * progmodes/grep.el (grep-mode-font-lock-keywords):
25533 Remove buffer-changing entries.
25534 (grep-filter): New function.
25535 (grep-mode): Add it to compilation-filter-hook.
25537 * progmodes/compile.el (compilation-filter-hook)
25538 (compilation-filter-start): New defvars.
25539 (compilation-filter): Call compilation-filter-hook prior to
25540 updating the process mark.
25542 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
25544 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
25546 2011-05-07 Eli Zaretskii <eliz@gnu.org>
25548 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
25549 mailclient-send-it even if window-system is nil. (Bug#8595)
25551 * term/w32console.el (terminal-init-w32console):
25552 Call get-screen-color and use its output to set the frame
25553 background-mode. (Bug#8597)
25555 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
25557 Make bytecomp.el understand that defmethod defines funs (bug#8631).
25558 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
25560 (defgeneric, eieio--defmethod): Use them.
25561 (eieio-defgeneric): Remove.
25562 (defmethod): Call defgeneric in a way visible to the byte-compiler.
25564 2011-05-07 Glenn Morris <rgm@gnu.org>
25566 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
25567 Use let rather than let*.
25568 (timeclock-find-discrep): Remove unused local.
25570 * calendar/diary-lib.el (diary-comment-start): Doc fix.
25572 * calendar/appt.el (appt-time-msg-list): Doc fix.
25574 2011-05-06 Noah Friedman <friedman@splode.com>
25576 * apropos.el (apropos-print-doc): Only use
25577 emacs-lisp-docstring-fill-column when it is bound to an integer,
25578 per that variable's documentation.
25580 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
25582 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
25583 and warnings are not silently discarded (e.g. use -d instead of -P).
25585 2011-05-06 Glenn Morris <rgm@gnu.org>
25587 * calendar/appt.el (appt-message-warning-time): Doc fix.
25588 (appt-warning-time-regexp): New option.
25589 (appt-make-list): Respect appt-message-warning-time.
25591 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
25593 (diary-add-to-list): Strip comments from the displayed string.
25594 (diary-mode): Set comment-start and comment-end.
25596 * vc/diff-mode.el (smerge-refine-subst): Declare.
25597 (diff-refine-hunk): Don't require smerge-mode when compiling.
25599 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
25601 * simple.el (list-processes): Return nil as the docstring says.
25603 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25605 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
25607 (ange-ftp-write-region, ange-ftp-insert-file-contents)
25608 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
25609 determining of binary transfer. (Bug#7383)
25611 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25613 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25614 Fix port computation bug. (Bug#8618)
25616 2011-05-05 Glenn Morris <rgm@gnu.org>
25618 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
25620 * simple.el (shell-dynamic-complete-functions)
25621 (comint-dynamic-complete-functions): Declare.
25623 * net/network-stream.el (gnutls-negotiate):
25624 * simple.el (tabulated-list-print): Fix declarations.
25626 * progmodes/gud.el (syntax-symbol, syntax-point):
25627 Remove unnecessary and incorrect declarations.
25629 * emacs-lisp/check-declare.el (check-declare-scan):
25630 Handle byte-compile-initial-macro-environment in bytecomp.el.
25632 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
25634 Fix earlier half-done eieio-defmethod change (bug#8338).
25635 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
25636 Streamline and change calling convention.
25637 (defmethod): Adjust accordingly and simplify.
25638 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
25639 new eieio--defmethod.
25640 (slot-boundp): Minor CSE simplification.
25642 2011-05-05 Milan Zamazal <pdm@zamazal.org>
25644 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
25645 (glasses-make-readable): Use glasses-separate-capital-groups.
25647 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
25649 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
25650 (warning-series): Doc fix.
25651 (display-warning): Don't try to create the buffer if we just found it.
25653 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
25655 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
25656 (autoload-find-generated-file): New function.
25657 (generate-file-autoloads): Bind generated-autoload-file to
25659 (update-file-autoloads, update-directory-autoloads):
25660 Use autoload-find-generated-file. If called interactively, prompt for
25661 output file (Bug#7989).
25662 (batch-update-autoloads): Doc fix.
25664 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
25666 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
25668 2011-05-04 Glenn Morris <rgm@gnu.org>
25670 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
25671 function, so it follows changes in calendar-date-style.
25672 (diary-fancy-date-matcher): New function.
25673 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
25674 (diary-fancy-font-lock-fontify-region-function):
25675 Use diary-fancy-date-pattern as a function.
25677 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
25678 non-numbers for `year' etc pseudo-variables. (Bug#8583)
25680 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
25682 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
25683 instead of positional arguments. Allow :keylist and :crlfiles
25685 (open-gnutls-stream): Call it.
25687 * net/network-stream.el (network-stream-open-starttls): Adjust to
25688 call `gnutls-negotiate' with :process and :hostname arguments.
25690 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
25692 * minibuffer.el (completion--message): New function.
25693 (completion--do-completion, minibuffer-complete)
25694 (minibuffer-force-complete, minibuffer-complete-word): Use it.
25695 (completion--do-completion): Don't ignore completion-auto-help when in
25698 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
25699 internal encoding (e.g. tibetan zero is not whitespace).
25700 (global-whitespace-mode): Prefer save-current-buffer.
25701 (whitespace-trailing-regexp): Remove useless save-match-data.
25702 (whitespace-empty-at-bob-regexp): Minor simplification.
25704 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
25706 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
25708 2011-05-03 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
25710 * textmodes/ispell.el (ispell-add-per-file-word-list):
25711 Use `concat' to create string for insertion.
25713 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25715 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
25716 Avoid open-line which runs post-self-insert-hook.
25717 (bibtex-fill-entry): Remove unused `end' var.
25719 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
25721 * textmodes/ispell.el (ispell-add-per-file-word-list):
25722 Protect against `nil' value of `comment-start' (Bug#8579).
25724 2011-05-03 Leo Liu <sdl.web@gmail.com>
25726 * isearch.el (isearch-yank-pop): New command.
25727 (isearch-mode-map): Bind it to `M-y'.
25728 (isearch-forward): Mention it.
25730 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25732 * simple.el (minibuffer-complete-shell-command): Remove.
25733 (minibuffer-local-shell-command-map): Use completion-at-point.
25734 (read-shell-command): Setup completion vars here instead.
25735 (read-expression-map): Bind TAB to symbol completion.
25737 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
25738 error directly rather via storing it into `results'.
25740 2011-05-02 Leo Liu <sdl.web@gmail.com>
25742 * vc/diff.el: Fix description.
25744 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
25746 * server.el (server-eval-at): New function.
25748 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
25750 * net/network-stream.el (open-network-stream): Take a :nowait
25751 parameter and pass it on to `make-network-process'.
25752 (network-stream-open-plain): Ditto.
25754 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
25756 * faces.el (face-spec-set-match-display): Don't match toolkit
25757 options on terminal frames.
25759 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
25761 * progmodes/pascal.el: Use lexical binding.
25762 (pascal-mode-map): Remove author preferences.
25764 * pcomplete.el (pcomplete-std-complete): Don't abuse
25765 completion-at-point.
25767 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25769 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
25770 removing code that has been dead since 1991 or so.
25772 * startup.el (command-line): When warning about "_emacs", use a
25773 delayed warning to allow the user to filter it out.
25775 2011-04-28 Deniz Dogan <deniz@dogan.se>
25777 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
25778 user has not joined.
25780 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25782 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
25783 aren't any completions at point.
25785 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25787 * subr.el (display-delayed-warnings): New function.
25788 (delayed-warnings-hook): New variable.
25790 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25792 * minibuffer.el (completion-at-point, completion-help-at-point):
25793 Don't presume that a given completion-at-point-function will always
25794 use the same calling convention.
25796 * pcomplete.el (pcomplete-completions-at-point):
25797 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
25798 pcomplete-seen is non-nil.
25799 (pcomplete-comint-setup): Also recognize the new comint/shell
25800 completion functions.
25801 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
25802 pcomplete-seen is non-nil.
25804 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
25806 * calendar/icalendar.el (diary-lib): Add require statement.
25807 (icalendar--create-uid): Read out a uid from a text-property on
25808 the first character in the entry. This allows for code to add its
25809 own uid to the entry.
25810 (icalendar--convert-float-to-ical): Add export of
25811 `diary-float'-entries save for those with the optional DAY
25814 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
25816 * subr.el (shell-quote-argument): Use alternate escaping strategy
25817 when we spot a variable reference in a string.
25819 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25821 * cus-start.el (all): Define customization for debug-on-event.
25823 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25825 * subr.el (shell-quote-argument): Escape correctly under Windows.
25827 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25829 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
25831 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
25833 * net/tramp.el (tramp-process-actions): Add POS argument.
25834 Delete region between POS and (pos).
25836 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25837 Use `nil' position in `tramp-process-actions' call.
25838 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
25840 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
25841 position in `tramp-process-actions' call.
25843 * net/trampver.el: Update release number.
25845 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25847 * custom.el (defcustom): Obey lexical-binding.
25849 Fix octave-inf completion problems reported by Alexander Klimov.
25850 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
25851 Inherit from octave-mode-syntax-table.
25852 (inferior-octave-mode): Set info-lookup-mode.
25853 (inferior-octave-completion-at-point): New function.
25854 (inferior-octave-complete): Use it and completion-in-region.
25855 (inferior-octave-dynamic-complete-functions): Use it as well, and use
25856 comint-filename-completion.
25857 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
25858 symbol elements which shouldn't be word elements.
25859 (octave-font-lock-keywords, octave-beginning-of-defun)
25860 (octave-function-header-regexp): Adjust regexps accordingly.
25861 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
25863 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
25865 * net/gnutls.el (gnutls-errorp): Declare before first use.
25867 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
25869 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
25870 verify-error, and verify-hostname-error parameters. Check whether
25871 default trustfile exists before going to use it. Add missing
25872 argument to gnutls-message-maybe call. Return value.
25873 Reported by Claudio Bley <claudio.bley@gmail.com>.
25874 (open-gnutls-stream): Add usage example.
25876 * net/network-stream.el (network-stream-open-starttls): Give host
25877 parameter to `gnutls-negotiate'.
25878 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
25879 * subr.el (shell-quote-argument): Escape correctly under Windows.
25881 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
25883 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
25884 Use correct match group (bug#8438).
25886 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25888 * emacs-lisp/package.el (package-built-in-p): Fix typo.
25889 (package-menu--generate): New arg specifying packages to show.
25890 (package-menu-refresh, package-menu-execute, list-packages):
25892 (package-show-package-list): New function, replacing deleted
25893 package--list-packages (renamed because it is non-internal).
25895 * finder.el (finder-list-matches): Use package-show-package-list
25896 instead of deleted package--list-packages.
25898 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
25899 Based on a previous implementation by Juanma Barranquero (Bug#8366).
25900 (vc-annotate-mode-map): Bind it to RET.
25902 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
25904 * progmodes/etags.el (next-file): Don't use set-buffer to change
25905 buffers (Bug#8478).
25907 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25909 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
25911 * apropos.el (apropos-label-face): Avoid variable-pitch face.
25912 (apropos-accumulator): Doc fix.
25913 (apropos-function, apropos-macro, apropos-command)
25914 (apropos-variable, apropos-face, apropos-group, apropos-widget)
25915 (apropos-plist): Add face property.
25916 (apropos-symbols-internal): Fix indentation.
25917 (apropos-print): Simplify help, and recognize apropos-multi-type.
25918 (apropos-print-doc): Use button-type-get to extract the button's
25919 face property. Fill docstring (Bug#8352).
25921 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
25923 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
25925 * play/mpuz.el (mpuz-silent): Doc fix.
25926 (mpuz-mode-map): Use mapc.
25927 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
25928 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
25929 Fix typos in docstrings.
25931 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
25932 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
25934 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
25936 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
25938 * minibuffer.el (completion--do-completion): Avoid the "Next char
25939 not unique" prompt if icomplete-mode is enabled (Bug#5849).
25941 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
25942 mouse-2 into unread-command-events, it is interpreted correctly.
25944 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
25945 (image-toggle-display): Doc fix.
25947 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
25949 * textmodes/page.el (what-page): Use line-number-at-pos to
25950 calculate line number (Bug#6825).
25952 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25954 * eshell/esh-mode.el (find-tag-interactive): Declare function.
25955 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
25956 Pass argument NO-DEFAULT to `find-tag-interactive'.
25958 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25960 Lexical-binding cleanup.
25962 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
25963 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
25964 * progmodes/ada-prj.el (ada-prj-initialize-values)
25965 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
25966 (ada-prj-show-value):
25967 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
25968 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
25969 (antlr-invalidate-context-cache, antlr-options-menu-filter)
25970 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
25971 * progmodes/bug-reference.el (bug-reference-push-button):
25972 * progmodes/fortran.el (fortran-line-length):
25973 * progmodes/glasses.el (glasses-change):
25974 * progmodes/octave-mod.el (octave-fill-paragraph):
25975 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
25976 (python-pdbtrack-grub-for-buffer, python-sentinel):
25977 * progmodes/sql.el (sql-save-connection):
25978 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
25979 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
25980 Mark unused parameters.
25982 * progmodes/compile.el (compilation--flush-directory-cache)
25983 (compilation--flush-parse, compile-internal): Mark unused parameters.
25984 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
25985 (compilation-next-error-function): Remove unused variable `timestamp'.
25987 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
25988 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
25990 * progmodes/dcl-mode.el (dcl-end-of-command):
25991 Remove unused variable `start'.
25992 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
25993 (dcl-option-value-basic, dcl-option-value-offset)
25994 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
25995 Mark unused parameters.
25996 (dcl-save-local-variable): Remove unused variable `val'.
25999 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
26000 Mark unused parameters.
26001 (delphi-ignore-changes): Move before first use.
26002 (delphi-charset-token-at): Remove unused variable `start'.
26003 (delphi-else-start): Remove unused variable `if-count'.
26004 (delphi-comment-block-start, delphi-comment-block-end):
26005 Remove unused variable `kind'.
26006 (delphi-indent-line): Remove unused variable `new-point'.
26008 * progmodes/ebrowse.el (ebrowse-files-list)
26009 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
26010 Mark unused parameters. Don't quote `lambda'.
26011 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
26012 Don't quote `lambda'.
26013 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
26014 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
26015 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
26016 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
26017 Use `ignore-errors'.
26018 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
26019 (ebrowse-view/find-file-and-search-pattern)
26020 (ebrowse-view/find-member-declaration/definition):
26021 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
26022 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
26023 Rename parameter PREFIX-ARG to PREFIX.
26024 (ebrowse-tags-read-name): Remove unused variables `start' and
26026 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
26029 * progmodes/etags.el (local-find-tag-hook): Declare.
26030 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
26031 Mark unused parameters.
26033 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
26034 (executable-interpret): Mark unused parameter.
26036 * progmodes/flymake.el (flymake-process-sentinel)
26037 (flymake-after-change-function)
26038 (flymake-create-temp-with-folder-structure)
26039 (flymake-get-include-dirs-dot): Mark unused parameters.
26040 (flymake-safe-delete-directory): Remove unused variable `err'.
26042 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
26043 (speedbar-timer-fn, speedbar-line-text)
26044 (speedbar-change-expand-button-char, speedbar-delete-subblock)
26045 (speedbar-center-buffer-smartly): Declare functions.
26046 (gdb-find-watch-expression): Remove unused variable `array'.
26047 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
26048 (gdb-starting): Mark unused parameters.
26049 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
26050 (gdb-table-string): Remove unused variable `res'.
26051 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
26052 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
26053 (gdb-display-buffer): Remove unused variable `cur-size'.
26055 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
26056 allow lexical-binding compilation.
26057 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
26058 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
26059 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
26060 Mark unused parameters.
26061 (gud-gdb-marker-filter): Remove unused variable `match'.
26062 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
26063 lambda expressions and funcall them, instead of using `fset'.
26065 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
26066 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
26068 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
26069 variable `header-beg'; use `let'.
26071 * progmodes/icon.el (indent-icon-exp): Remove unused variables
26072 `restart', `last-sexp' and `at-do'.
26074 * progmodes/js.el (js--debug): Mark unused parameter.
26075 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
26076 (js--splice-into-items): Remove unused variable `item'.
26077 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
26079 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
26080 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
26081 (makefile-complete): Remove unused variable `try'.
26082 (makefile-fill-paragraph, makefile-match-function-end):
26083 Mark unused parameters.
26085 * progmodes/octave-inf.el (inferior-octave-complete):
26086 Remove unused variable `proc'.
26087 (inferior-octave-output-digest): Mark unused parameter.
26089 * progmodes/perl-mode.el (perl-calculate-indent):
26090 Remove unused variable `err'.
26092 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
26093 (prolog-indent-line): Mark unused parameters.
26094 (prolog-indent-line): Remove unused variable `beg'.
26096 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
26097 (reporter-dont-compact-list): Declare.
26099 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
26100 Remove unused variable `char'.
26101 (sh-debug): Mark unused parameter.
26102 (sh-get-indent-info): Remove unused variable `start'.
26103 (sh-calculate-indent): Remove unused variable `var'.
26105 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
26106 (simula-electric-keyword): Remove unused variable `null'.
26107 (simula-search-backward, simula-search-forward): Remove unused
26108 variables `begin' and `end'.
26110 * progmodes/vera-mode.el (vera-guess-basic-syntax):
26111 Remove unused variable `pos'.
26112 (vera-electric-tab, vera-comment-uncomment-region):
26113 Mark unused parameters.
26114 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
26116 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
26118 * emacs-lisp/package.el (package--builtins, package-alist)
26119 (package-load-descriptor, package-built-in-p, package-activate)
26120 (define-package, package-installed-p)
26121 (package-compute-transaction, package-buffer-info)
26122 (package--push): Doc fix. Distinguish more clearly between
26123 version strings and version lists.
26125 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
26127 Lexical-binding cleanup.
26129 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
26130 (5x5-make-mutate-best):
26131 * play/fortune.el (fortune-in-buffer):
26132 * play/gomoku.el (gomoku-init-display):
26133 * play/solitaire.el (solitaire, solitaire-do-check):
26134 * play/tetris.el (tetris-default-update-speed-function):
26135 Mark unused parameters.
26137 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
26138 (bubbles--shift): Remove unused variable `char-org'.
26139 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
26140 (bubbles--show-images): Remove unused variable `char'.
26142 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
26143 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
26144 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
26145 (decipher-analyze-buffer): Use ?\s.
26146 (decipher-make-checkpoint): Remove unused variable `mapping'.
26148 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
26150 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
26151 Remove unused variable `result'; use `let'.
26153 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
26154 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
26155 (gametree-children-shown-p, gametree-compute-reduced-score):
26156 Use `ignore-errors'.
26158 * play/handwrite.el (ps-lpr-switches): Declare.
26159 (handwrite): Remove unused variables `pmin' and `lastp'.
26161 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
26163 * play/landmark.el (landmark-init-display)
26164 (landmark-update-naught-weights): Mark unused parameters.
26165 (landmark-y): Remove unused variable `noise'. Simplify.
26166 (landmark-human-plays): Remove unused variable `score'.
26168 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
26169 (mpuz-try-proposal): Remove unused variable `game'.
26171 * play/zone.el (life-patterns): Declare.
26173 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
26175 * vc/vc.el (ediff-vc-internal): Declare function.
26177 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26179 * shell.el: Use lexical-binding and std completion UI.
26180 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
26181 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
26182 comint-preoutput-filter-functions rather than on
26183 comint-output-filter-functions.
26184 (shell-command-completion, shell--command-completion-data)
26185 (shell-filename-completion, shell-environment-variable-completion)
26186 (shell-c-a-p-replace-by-expanded-directory): New functions.
26187 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
26188 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
26189 (shell-dynamic-complete-environment-variable): Use them.
26190 (shell-dynamic-complete-as-environment-variable)
26191 (shell-dynamic-complete-as-command): Remove.
26192 (shell-match-partial-variable): Match past point.
26193 * comint.el: Clean up use of completion-at-point-functions.
26194 (comint-completion-at-point): New function.
26195 (comint-mode): Use it completion-at-point-functions.
26196 (comint-dynamic-complete): Make it obsolete.
26197 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
26198 (comint-c-a-p-replace-by-expanded-history): New function.
26199 (comint-dynamic-complete-functions)
26200 (comint-replace-by-expanded-history): Use it.
26201 * minibuffer.el (completion-table-with-terminator): Allow dynamic
26202 termination strings. Try harder to avoid second try-completion.
26203 (completion-in-region-mode-map): Disable bindings that don't work yet.
26205 * comint.el: Use lexical-binding. Require CL.
26206 (comint-dynamic-complete-functions): Use comint-filename-completion.
26207 (comint-completion-addsuffix): Tweak custom type.
26208 (comint-filename-completion, comint--common-suffix)
26209 (comint--common-quoted-suffix, comint--table-subvert)
26210 (comint--complete-file-name-data): New functions.
26211 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
26212 (comint-dynamic-list-filename-completions): Use them.
26213 (comint-dynamic-simple-complete): Make obsolete.
26215 * minibuffer.el (completion-in-region-mode):
26216 Keep completion-in-region-mode--predicate global.
26217 (completion-in-region--postch):
26218 Assume completion-in-region-mode--predicate is not null.
26220 * progmodes/flymake.el (flymake-start-syntax-check-process):
26221 Obey `dir'. Simplify.
26223 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
26224 we're in VC after all.
26226 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
26228 * vc/vc.el (vc-diff-build-argument-list-internal)
26229 (vc-version-ediff, vc-ediff): New commands.
26230 (vc-version-diff): Use vc-diff-build-argument-list-internal.
26232 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26234 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
26237 * obsolete/erc-hecomplete.el: Make obsolete.
26238 * obsolete/: Standardize obsolescence info in the header.
26240 2011-04-20 Glenn Morris <rgm@gnu.org>
26242 * calendar/solar.el (solar-horizontal-coordinates):
26243 Use the longitude argument rather than `calendar-longitude'.
26244 (solar-date-next-longitude): Remove unused locals.
26246 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
26248 * whitespace.el: New version 13.2.1.
26250 2011-04-20 felix <EmacsWiki> (tiny change)
26252 * whitespace.el (global-whitespace-mode): Keep highlight when
26253 switching between major modes on a file.
26255 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
26257 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
26258 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
26259 multi-line comments as well.
26261 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
26263 Lexical-binding cleanup.
26265 * arc-mode.el (archive-mode-revert):
26266 * cmuscheme.el (scheme-interactively-start-process):
26267 * custom.el (custom-initialize-delay):
26268 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
26269 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
26270 * emacs-lock.el (emacs-lock-clear-sentinel):
26271 * ezimage.el (defezimage):
26272 * follow.el (follow-avoid-tail-recenter):
26273 * fringe.el (set-fringe-mode-1):
26274 * generic-x.el (bat-generic-mode-compile):
26275 * help-mode.el (help-info-variable, help-do-xref)
26276 (help-mode-revert-buffer):
26277 * help.el (view-emacs-todo):
26278 * iswitchb.el (iswitchb-completion-help):
26279 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
26280 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
26281 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
26282 * locate.el (locate-update):
26283 * longlines.el (longlines-encode-region)
26284 (longlines-after-change-function):
26285 * outline.el (outline-isearch-open-invisible):
26286 * ps-def.el (declare-function, charset-dimension, char-width)
26288 * ps-mule.el (ps-mule-plot-string):
26289 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
26290 (recentf-edit-list-select, recentf-edit-list-validate)
26291 (recentf-open-files-action):
26292 * rect.el (delete-whitespace-rectangle-line)
26293 (rectangle-number-line-callback):
26294 * register.el (window-configuration-to-register)
26295 (frame-configuration-to-register):
26296 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
26297 * select.el (xselect-convert-to-string, xselect-convert-to-length)
26298 (xselect-convert-to-targets, xselect-convert-to-delete)
26299 (xselect-convert-to-filename, xselect-convert-to-charpos)
26300 (xselect-convert-to-lineno, xselect-convert-to-colno)
26301 (xselect-convert-to-os, xselect-convert-to-host)
26302 (xselect-convert-to-user, xselect-convert-to-class)
26303 (xselect-convert-to-name, xselect-convert-to-integer)
26304 (xselect-convert-to-atom, xselect-convert-to-identity):
26305 * subr.el (declare, ignore, process-kill-without-query)
26306 (text-clone-maintain):
26307 * terminal.el (te-get-char, te-tic-sentinel):
26308 * tool-bar.el (tool-bar-make-keymap):
26309 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
26310 * type-break.el (type-break-mode, type-break-noninteractive-query):
26311 * view.el (View-back-to-mark):
26312 * wid-browse.el (widget-browse-action, widget-browse-widget)
26313 (widget-browse-widgets, widget-browse-sexp):
26314 * widget.el (define-widget-keywords):
26315 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
26316 Mark unused parameters.
26318 * align.el (align-adjust-col-for-rule): Mark unused parameter.
26319 (align-areas): Remove unused variable `look'.
26320 (align-region): Remove unused variables `real-end' and `pos-list'.
26322 * apropos.el (apropos-score-doc): Remove unused variable `i'.
26324 * bindings.el (mode-line-modified, mode-line-remote):
26325 Mark unused parameters.
26326 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
26328 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
26329 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
26331 * comint.el (comint-history-isearch-pop-state)
26332 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
26333 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
26334 (comint-substitute-in-file-name): Doc fix.
26336 * completion.el (cmpl-statistics-block): Mark unused parameter.
26337 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
26338 (save-completions-to-file, load-completions-from-file):
26339 Remove unused local variable `e'.
26341 * composite.el (compose-chars): Remove unused variable `len'.
26342 (lgstring-insert-glyph): Remove unused variable `g'.
26343 (compose-glyph-string): Remove unused variables `ascent',
26344 `descent', `lbearing' and `rbearing'.
26345 (compose-glyph-string-relative): Remove unused variables
26346 `lbearing', `rbearing' and `wadjust'.
26347 (compose-gstring-for-graphic): Remove unused variables `header',
26348 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
26349 (compose-gstring-for-terminal): Remove unused variables `header'
26350 and `nchars'. Use `let', not `let*'.
26352 * cus-edit.el (Custom-set, Custom-save, custom-reset)
26353 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
26354 (Custom-buffer-done, custom-buffer-create-internal)
26355 (custom-browse-visibility-action, custom-browse-group-tag-action)
26356 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
26357 (widget-magic-mouse-down-action, custom-toggle-parent)
26358 (custom-add-parent-links, custom-toggle-hide-variable)
26359 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
26360 (custom-toggle-hide-face, face, hook, custom-group-link-action)
26361 (custom-face-menu-create, custom-variable-menu-create, get)
26362 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
26363 (custom-reset-standard-save-and-update): Remove unused variable `value'.
26364 (customize-apropos): Remove unused variable `tests'.
26365 (custom-group-value-create): Remove unused variable `hidden-p'.
26366 (sort-fold-case): Declare.
26368 * cus-theme.el (custom-reset-standard-faces-list)
26369 (custom-reset-standard-variables-list): Declare.
26370 (customize-create-theme, custom-theme-revert, custom-theme-write)
26371 (custom-theme-choose-mode, customize-themes, custom-theme-save):
26372 Mark unused parameters.
26374 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
26376 * delim-col.el (delimit-columns-max): Move defvar before first use.
26378 * descr-text.el (describe-char-categories): Don't quote `lambda'.
26379 (describe-char): Don't quote `lambda'. Mark unused parameter.
26381 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
26382 (auto-insert): Declare.
26383 (desktop-restore-file-buffer): Rename desktop-* parameters;
26385 (desktop-create-buffer): Rename desktop-* parameters and bind them.
26386 (desktop-buffer): Rename desktop-* parameters.
26388 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
26389 (dframe-reposition-frame-xemacs, dframe-help-echo)
26390 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
26391 Mark unused parameters.
26393 * dired-aux.el (backup-extract-version-start, overwrite-query)
26394 (overwrite-backup-query, rename-regexp-query)
26395 (rename-non-directory-query): Declare.
26396 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
26397 (dired-add-entry): Remove unused variable `orig-file-name'.
26398 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
26399 Use parameter PRESERVE-TIME instead of accessing dynamic variable
26400 `dired-copy-preserve-time' directly.
26401 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
26402 (dired-insert-subdir-newpos): Rename unused variable `pos'.
26404 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
26405 (dired-virtual-revert, dired-make-relative-symlink):
26406 Mark unused parameters.
26407 (manual-program): Declare.
26408 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
26409 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
26410 wrapped in `with-no-warnings' to avoid replacing one warning by another.
26412 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
26414 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
26416 * echistory.el (electric-history-in-progress, Helper-return-blurb):
26419 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
26421 * electric.el (Electric-command-loop): Rename parameter
26422 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
26424 * expand.el (expand-in-literal): Remove unused variable `here'.
26426 * facemenu.el (facemenu-add-new-color):
26427 Remove unused variable `docstring'.
26429 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
26430 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
26431 (face-attr-construct): Mark unused parameter. Doc fix.
26432 (read-color): Remove unused variable `hex-string'.
26434 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
26435 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
26436 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
26437 (display-buffer-other-frame): Remove unused variable `old-window'.
26438 (kill-buffer-hook): Declare.
26439 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
26440 Mark unused parameters.
26441 (after-find-file): Pass 1 to `auto-save-mode', not t.
26443 * files-x.el (auto-insert): Declare.
26444 (modify-file-local-variable-prop-line): Remove unused variable `val'.
26446 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
26447 variable `buf'. Mark unused parameter.
26448 (find-lisp-insert-directory): Mark unused parameter.
26450 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
26451 (format-encode-region): Remove unused variables `cur-buf' and `result'.
26452 (format-common-tail): Remove, unused.
26453 (format-deannotate-region): Remove unused variable `loc'.
26454 (format-annotate-region): Remove unused variable `p'.
26455 (format-annotate-single-property-change): Remove unused variables
26456 `default' and `tail'.
26458 * forms.el (read-file-filter): Declare.
26459 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
26461 * frame.el (frame-creation-function-alist): Mark unused parameter.
26462 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
26464 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
26465 Remove unused parameters.
26466 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
26467 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
26469 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
26470 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
26471 (hfy-prepare-tag-map): Mark unused parameters.
26472 (htmlfontify-buffer): Use `called-interactively-p'.
26474 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
26475 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
26476 (ibuffer-do-occur): Mark unused parameters.
26477 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
26478 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
26480 * ibuffer.el: Don't quote `lambda'.
26481 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
26482 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
26483 Mark unused parameters.
26485 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
26486 (ido-completing-read): Mark unused parameters.
26487 (ido-copy-current-word): Mark unused parameters;
26488 remove unused variable `name'.
26489 (ido-sort-merged-list): Remove unused parameter `dirs'.
26491 * ielm.el (ielm-input-sender): Mark unused parameter.
26492 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
26493 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
26494 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
26495 `ielm-string' as a dynamic variable accessible from the IELM prompt.
26496 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
26498 * image-dired.el (image-dired-display-thumbs): Remove unused
26499 variables `curr-file' and `count'.
26500 (image-dired-remove-tag): Remove unused variable `start'.
26501 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
26502 variable `curr-file'
26503 (image-dired-rotate-original): Remove unused variable `temp-file'.
26504 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
26505 Remove unused variable `file'.
26506 (image-dired-gallery-generate): Remove unused variable `curr'.
26507 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
26509 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
26511 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
26513 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
26515 * isearch.el (minibuffer-history-symbol): Declare.
26516 (isearch-edit-string): Remove unused variable `err'.
26517 (isearch-message-prefix, isearch-message-suffix):
26518 Mark unused parameters.
26520 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
26522 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
26524 * makesum.el (double-column): Remove unused variable `cnt'.
26526 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
26527 (ido-ignore-item-temp-list): Declare.
26529 * mouse-drag.el (mouse-drag-throw): Remove unused variables
26530 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
26531 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
26532 (mouse-drag-drag): Remove unused variables `mouse-delta' and
26535 * mouse-sel.el (mouse-extend-internal):
26536 Remove unused variable `orig-window-frame'.
26538 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
26539 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
26540 Move declarations before first use.
26541 (pcomplete-opt): Mark unused parameters; doc fix.
26543 * proced.el (proced-revert): Mark unused parameter.
26544 (proced-send-signal): Remove unused variable `err'.
26546 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
26547 Rename parameter PREFIX-ARG to ARG.
26548 (ps-basic-plot-string, ps-basic-plot-whitespace):
26549 Mark unused parameters.
26551 * replace.el (replace-count): Define.
26552 (occur-revert-function): Mark unused parameters.
26553 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
26554 (isearch-case-fold-search, isearch-string): Declare.
26555 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
26556 bind `case-fold-search'. Remove unused variables `beg' and `end',
26558 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
26559 COUNT and bind `replace-count'.
26560 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
26563 * savehist.el (print-readably, print-string-length): Declare.
26565 * shadowfile.el (shadow-expand-cluster-in-file-name):
26566 Remove unused variable `cluster'.
26567 (shadow-copy-file): Remove unused variable `i'.
26568 (shadow-noquery, shadow-clusters, shadow-site-cluster)
26569 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
26570 (shadow-define-literal-group, shadow-define-regexp-group)
26571 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
26573 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
26574 (shell): Use `called-interactively-p'.
26575 (shell-directory-tracker): Remove unused variable `chdir-failure'.
26577 * simple.el (compilation-context-lines, comint-file-name-quote-list)
26578 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
26579 (delete-backward-char): Remove unused variable `ocol'.
26580 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
26581 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
26582 (event-apply-hyper-modifier, event-apply-shift-modifier)
26583 (event-apply-control-modifier, event-apply-meta-modifier):
26584 Mark unused parameters.
26585 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
26586 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
26588 * speedbar.el (speedbar-ignored-directory-expressions)
26589 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
26590 (speedbar-find-file, speedbar-dir-follow)
26591 (speedbar-directory-buttons-follow, speedbar-tag-find)
26592 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
26593 (speedbar-buffers-line-directory, speedbar-buffer-click):
26594 Mark unused parameters.
26595 (speedbar-tag-file): Remove unused variable `mode'.
26596 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
26598 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
26600 * talk.el (talk): Remove unused variable `display'.
26602 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
26603 (tar-write-region-annotate): Mark unused parameter.
26605 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
26606 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
26607 Declare them, wrapped in `with-no-warnings' to avoid replacing one
26608 warning by another.
26610 * time-stamp.el (time-stamp-string-preprocess):
26611 Remove unused variable `require-padding'.
26613 * tree-widget.el (widget-glyph-enable): Declare.
26614 (tree-widget-action): Mark unused parameter.
26616 * w32-fns.el (x-get-selection): Mark unused parameter.
26617 (autoload-make-program, generated-autoload-file): Declare.
26619 * wdired.el (wdired-revert): Mark unused parameters.
26620 (wdired-xcase-word): Remove unused variable `err'.
26622 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
26623 (whitespace-help-scroll): Remove unused variable `data-help'.
26625 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
26626 (widget-image-insert, widget-after-change, default)
26627 (widget-default-format-handler, widget-default-notify)
26628 (widget-default-prompt-value, widget-info-link-action)
26629 (widget-url-link-action, widget-function-link-action)
26630 (widget-variable-link-action, widget-file-link-action)
26631 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
26632 (widget-field-prompt-internal, widget-field-action, widget-field-match)
26633 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
26634 (widget-insert-button-action, widget-delete-button-action, visibility)
26635 (widget-documentation-link-action, widget-documentation-string-action)
26636 (widget-const-prompt-value, widget-regexp-match, symbol)
26637 (widget-coding-system-prompt-value)
26638 (widget-key-sequence-value-to-external, sexp)
26639 (widget-sexp-value-to-internal, character, vector, cons)
26640 (widget-choice-prompt-value, widget-boolean-prompt-value)
26641 (widget-color--choose-action): Mark unused parameters.
26642 (widget-item-match-inline, widget-choice-match-inline)
26643 (widget-checklist-match, widget-checklist-match-inline)
26644 (widget-group-match): Rename parameter VALUES to VALS.
26645 (widget-field-value-set): Remove unused variable `size'.
26646 (widget-color-action): Remove unused variables `value' and `start'.
26648 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
26649 variable `dir'. Doc fix.
26650 (windmove-find-other-window): Don't pass it.
26652 * window.el (count-windows): Mark unused parameter.
26653 (bw-adjust-window): Remove unused variable `err'.
26655 * woman.el (woman-file-name): Remove unused variable `default'.
26656 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
26657 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
26658 (global-font-lock-mode): Declare.
26659 (woman-decode-region): Mark unused parameter.
26660 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
26662 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
26663 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
26664 (x-dnd-handle-moz-url): Remove unused variable `title'.
26665 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
26667 * xml.el (xml-parse-tag, xml-parse-attlist):
26668 Remove unused variable `pos'.
26670 2011-04-19 Glenn Morris <rgm@gnu.org>
26672 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
26673 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
26674 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
26675 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
26676 * calendar/cal-html.el (cal-html-insert-minical):
26677 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
26678 (calendar-mark-date-pattern):
26679 Prefix "unused" locals.
26681 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
26682 optional argument `style'.
26684 * calendar/appt.el (appt-make-list):
26685 * calendar/cal-china.el (calendar-chinese-date-string):
26686 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
26687 (diary-hebrew-yahrzeit):
26688 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
26689 * calendar/calendar.el (calendar-generate-window):
26690 * calendar/time-date.el (time-to-days):
26691 Remove unused local variables.
26693 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
26695 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
26696 glyphless-char-display table.
26697 (tabulated-list-glyphless-char-display): New var.
26699 2011-04-18 Sam Steingold <sds@gnu.org>
26701 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
26702 to acknowledgments.
26704 2011-04-17 Glenn Morris <rgm@gnu.org>
26706 * calendar/diary-lib.el (diary-sexp-entry):
26707 * calendar/holidays.el (holiday-sexp):
26708 Set debug-on-error rather than the removed stack-trace-on-error.
26710 2011-04-16 Glenn Morris <rgm@gnu.org>
26712 * progmodes/f90.el: Use lexical-binding.
26713 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
26715 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26717 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
26718 (mail-mode): Setup mailalias completion here instead.
26719 * mail/mailalias.el: Use lexical-binding.
26720 (pattern, mailalias-done): Declare dynamic.
26721 (mail-completion-at-point-function): New function, from mail-complete.
26722 (mail-complete): Use it.
26723 (mail-completion-expand): New function.
26724 (mail-get-names): Use it.
26725 (mail-directory, mail-directory-process, mail-directory-stream):
26726 Don't use `pattern' for lexically bound arg.
26728 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
26730 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
26731 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
26732 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
26734 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
26735 (byte-save-window-excursion, byte-temp-output-buffer-setup)
26736 (byte-interactive-p): Define them again, for use when inlining
26739 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
26741 * loadup.el: Use `string-to-number', not `string-to-int'.
26743 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26745 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
26746 gud-gdb-complete-command.
26747 (gud-gdb-completions): New function, from gud-gdb-complete-command.
26748 (gud-gdb-completion-at-point): New function.
26749 (gud-gdb-completions): Remove.
26751 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
26753 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
26754 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
26755 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
26756 whether `executable-find' is bound.
26758 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
26760 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
26762 * minibuffer.el (completion-in-region-mode-predicate)
26763 (completion-in-region-mode--predicate): New vars.
26764 (completion-in-region, completion-in-region--postch)
26765 (completion-in-region-mode): Use them.
26766 (completion--capf-wrapper): Also return the hook function.
26767 (completion-at-point, completion-help-at-point):
26768 Adjust and provide a predicate.
26770 Preserve arg names for advice of subr and lexical functions (bug#8457).
26771 * help-fns.el (help-function-arglist): Consolidate the subr and
26772 new-byte-code cases. Add argument `preserve-names' to extract names
26773 from the docstring when needed.
26774 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
26775 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
26776 (ad-arglist): Use help-function-arglist's new arg.
26777 (ad-definition-type): Use cond.
26779 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
26781 * autorevert.el (auto-revert-handler):
26782 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
26783 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
26784 Don't quote lambda.
26786 * image-mode.el (image-transform-set-scale):
26787 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
26789 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
26791 * net/network-stream.el (network-stream-open-starttls): Only do
26792 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
26793 Upgrades via gnutls-cli are too slow to be done opportunistically.
26795 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
26797 * dframe.el (dframe-current-frame): Remove spurious quote.
26799 2011-04-12 Glenn Morris <rgm@gnu.org>
26801 * calendar/cal-tex.el (cal-tex-end-document):
26802 Try to automatically use latin1 input if needed.
26804 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
26805 Don't try to cons a mark onto an empty element.
26807 2011-04-11 Leo Liu <sdl.web@gmail.com>
26809 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
26811 (ido-kill-buffer-at-head): Support killing virtual buffers.
26813 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
26815 * minibuffer.el (completion-show-inline-help): New var.
26816 (completion--do-completion, minibuffer-complete)
26817 (minibuffer-force-complete, minibuffer-complete-word):
26818 Inhibit minibuffer messages if completion-show-inline-help is nil.
26820 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
26821 to avoid interference from inline help (Bug#5849).
26823 2011-04-10 Leo Liu <sdl.web@gmail.com>
26825 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
26828 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
26830 * image-mode.el (image-toggle-display-image): Signal an error if
26832 (image-transform-mode, image-transform-resize)
26833 (image-transform-set-rotation): Doc fix.
26834 (image-transform-set-resize): Delete.
26835 (image-transform-set-scale, image-transform-fit-to-height)
26836 (image-transform-fit-to-width): Handle image-toggle-display-image
26837 and image-transform-resize directly.
26839 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
26841 * doc-view.el (doc-view-fit-width-to-window)
26842 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
26843 New functions for fitting the shown image to the Emacs window size.
26844 (doc-view-mode-map): Add bindings for the new functions.
26846 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
26848 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
26849 Fix typo in docstring.
26851 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26853 * files.el (file-size-human-readable): Produce one digit after
26854 decimal, like "ls -lh" does.
26856 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
26857 the file size representation.
26859 * simple.el (list-processes): If async subprocesses are not
26860 available, error out with a clear error message.
26862 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
26864 * help.el (help-form-show): New function, to be called from C.
26865 Put help-form output in a buffer named differently than *Help*.
26867 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26869 * files.el (file-size-human-readable): New function.
26871 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
26872 computing the representation inline. Don't require `cl'.
26874 2011-04-08 Glenn Morris <rgm@gnu.org>
26876 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
26878 * net/browse-url.el (browse-url-firefox):
26879 Test system-type, not system-configuration.
26881 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
26882 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
26883 Use log-edit-empty-buffer-p. (Bug#7598)
26885 * net/rlogin.el (rlogin-process-connection-type): Simplify.
26886 (rlogin-mode-map): Initialize in the defvar.
26887 (rlogin): Use ignore-errors.
26889 * replace.el (occur-mode-map): Some fixes for menu items.
26891 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
26893 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
26895 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26897 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
26898 issuing unused warnings.
26900 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
26903 * simple.el: Lisp reimplement of list-processes. Based on an
26904 earlier reimplementation by Leo Liu, but using tabulated-list.el.
26905 (process-menu-mode): New major mode.
26906 (list-processes--refresh, list-processes):
26907 (process-menu-visit-buffer): New functions.
26909 * files.el (save-buffers-kill-emacs): Don't assume any return
26910 value of list-processes, which is undocumented anyway.
26912 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26914 * emacs-lisp/tabulated-list.el: New file.
26916 * emacs-lisp/package.el: Use Tabulated List mode.
26917 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
26918 (package-menu-mode): Derive from tabulated-list-mode. Set up the
26919 table format using Tabulated List mode variables.
26920 (package--push): New macro, replacing package-list-maybe-add.
26921 (package-menu--generate): Use package--push. Renamed from
26922 package--generate-package-list.
26923 (package-menu-refresh, list-packages): Use it.
26924 (package-menu--print-info): Rename from package-print-package.
26925 Return insertion data instead of inserting it directly.
26926 (package-menu-describe-package, package-menu-execute):
26927 Use tabulated-list-get-id.
26928 (package-menu-mark-delete, package-menu-mark-install)
26929 (package-menu-mark-unmark, package-menu-backup-unmark)
26930 (package-menu-mark-obsolete-for-deletion):
26931 Use tabulated-list-put-tag.
26932 (package--list-packages, package-menu-revert)
26933 (package-menu-get-package, package-menu-get-version)
26934 (package-menu-sort-by-column): Functions deleted.
26935 (package-menu-package-list, package-menu-sort-key): Vars deleted.
26936 (package-menu--status-predicate, package-menu--version-predicate)
26937 (package-menu--name-predicate)
26938 (package-menu--description-predicate): Handle arguments in the
26939 Tabulated List format.
26940 (package-list-packages-no-fetch): Call list-packages.
26942 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
26944 * files.el (after-find-file-from-revert-buffer): Remove variable.
26945 (after-find-file): Don't bind it.
26946 (revert-buffer-in-progress-p): New variable.
26947 (revert-buffer): Bind it.
26948 Pass nil for `after-find-file-from-revert-buffer'.
26950 * saveplace.el (save-place-find-file-hook): Use new variable
26951 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
26953 2011-04-06 Glenn Morris <rgm@gnu.org>
26955 * Makefile.in (AUTOGEN_VCS): New variable.
26956 (autoloads): Use $AUTOGEN_VCS.
26958 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
26959 * calendar/calendar.el (calendar-mode-map):
26960 Check for toolkit scroll bars. (Bug#8305)
26962 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26964 * minibuffer.el (completion-in-region--postch)
26965 (completion-in-region-mode): Remove unnecessary messages.
26967 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
26969 * font-lock.el (font-lock-refresh-defaults):
26970 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
26971 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
26973 * info.el (Info-directory-list, Info-read-node-name-2)
26974 (Info-split-parameter-string): Doc fixes.
26975 (Info-virtual-nodes): Reflow docstring.
26976 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
26977 (Info-apropos-toc-nodes, info-finder, Info-get-token)
26978 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
26979 Fix typos in docstrings.
26980 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
26981 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
26982 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
26983 (Info-restore-desktop-buffer): Mark unused parameters.
26984 (Info-directory-find-file, Info-directory-find-node)
26985 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
26986 (Info-virtual-index-find-node, Info-apropos-find-file)
26987 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
26988 Mark unused parameters; fix typos in docstrings.
26989 (Info-virtual-index): Remove unused local variable `nodename'.
26991 2011-04-05 Deniz Dogan <deniz@dogan.se>
26993 * net/rcirc.el: Update my e-mail address.
26994 (rcirc-mode-map): Remove M-o binding.
26996 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26998 * startup.el (command-line): Save the cursor's theme-face
26999 directly, instead of using face-override-spec.
27001 * custom.el (load-theme): Minor optimization in assigning faces.
27003 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
27005 * help-fns.el (describe-variable): Complete all variables having
27006 documentation, including keywords.
27007 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
27009 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
27011 Convert to lexical-binding.
27013 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
27014 (bs--get-marked-string, bs--get-modified-string)
27015 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
27016 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
27017 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
27019 * ehelp.el (electric-help-execute-extended)
27020 (electric-help-ctrl-x-prefix):
27021 * hexl.el (hexl-revert-buffer-function):
27022 * linum.el (linum-after-change, linum-after-scroll):
27023 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
27025 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
27027 2011-04-04 Daiki Ueno <ueno@unixuser.org>
27034 * epg.el: Use lexical binding.
27036 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
27038 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
27040 * textmodes/flyspell.el (flyspell-word): Recognize default
27041 dictionary case for flyspell-mark-duplications-exceptions.
27042 Use regexp matching for languages.
27043 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
27044 default dictionary (Bug#7926).
27046 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
27048 * emacs-lisp/package.el (package--with-work-buffer):
27049 Recognize https URLs.
27051 * net/network-stream.el: Move from gnus/proto-stream.el.
27052 Change prefix to network-stream throughout.
27053 (open-protocol-stream): Merge into open-network-stream, leaving
27054 open-protocol-stream as an alias. Handle nil BUFFER args.
27056 * subr.el (open-network-stream): Move to net/network-stream.el.
27058 2011-04-02 Glenn Morris <rgm@gnu.org>
27060 * find-dired.el (find-exec-terminator): New option.
27061 (find-ls-option): Test for -ls support.
27062 (find-ls-subdir-switches): Test for -b in find-ls-option.
27063 (find-dired, find-grep-dired): Doc fixes.
27064 (find-dired): Use find-exec-terminator.
27066 * find-dired.el (find-ls-option, find-ls-subdir-switches)
27067 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
27068 (find-name-arg): Remove purecopy.
27070 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
27071 (grep-compute-defaults): Check for `-exec COMMAND +' support.
27072 Set grep-find-use-xargs, grep-find-command, and grep-find-template
27073 accordingly. Don't add the null-device if not needed.
27075 * files.el (save-some-buffers): Doc fix.
27077 2011-04-02 Eli Zaretskii <eliz@gnu.org>
27079 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
27081 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
27083 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
27084 Use `dolist' rather than `mapcar'.
27086 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
27088 Add lexical binding.
27090 * subr.el (apply-partially): Use new closures rather than CL.
27091 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
27092 (dolist, dotimes): Use slightly different expansion for lexical code.
27093 (functionp): Move to C.
27094 (letrec): New macro.
27095 (with-wrapper-hook): Use it and apply-partially instead of CL.
27096 (eval-after-load): Preserve lexical-binding.
27097 (save-window-excursion, with-output-to-temp-buffer): Turn them
27100 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
27102 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
27104 (help-add-fundoc-usage): Don't add `Not documented'.
27105 (help-function-arglist): Handle closures, subroutines, and new
27106 byte-code-functions.
27107 (help-make-usage): Remove leading underscores.
27108 (describe-function-1): Handle closures.
27109 (describe-variable): Use special-variable-p for completion.
27111 * files.el (lexical-binding): Declare safe.
27113 * emacs-lisp/pcase.el: Don't use destructuring-bind.
27114 (pcase--memoize): Rename from pcase-memoize. Change weakness.
27115 (pcase): Add `let' pattern.
27116 Change memoization so it actually works.
27117 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
27118 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
27121 * emacs-lisp/macroexp.el: Use lexical binding.
27122 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
27123 Don't convert ' to #' without checking that it's indeed quoting
27126 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
27127 Use eval-sexp-add-defvars.
27128 (eval-sexp-add-defvars): New fun.
27130 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
27132 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
27134 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
27135 than the internal `byte-compile-lambda'.
27136 (defmethod): Don't hide code under quotes.
27137 (eieio-defmethod): New `code' argument.
27139 * emacs-lisp/eieio-comp.el: Remove.
27141 * emacs-lisp/edebug.el (edebug-eval-defun)
27142 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
27143 (edebug-toggle): Avoid `eval'.
27145 * emacs-lisp/disass.el (disassemble-internal): Handle new
27147 (disassemble-1): Handle new byte codes.
27149 * emacs-lisp/cl.el (pushnew): Silence warning.
27151 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
27152 (cl-byte-compile-throw): Remove.
27153 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
27155 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
27158 * emacs-lisp/cconv.el: New file.
27160 * emacs-lisp/bytecomp.el: Use lexical binding instead of
27161 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
27162 (byte-compile-initial-macro-environment):
27163 Handle declare-function here.
27164 (byte-compile--lexical-environment): New var.
27165 (byte-stack-ref, byte-stack-set, byte-discardN)
27166 (byte-discardN-preserve-tos): New lap codes.
27167 (byte-interactive-p): Don't use any more.
27168 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
27170 (byte-compile-lapcode): Use them and handle new lap codes.
27171 (byte-compile-obsolete): Remove.
27172 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
27173 (byte-compile-arglist-warn): Check late def of inlinable funs.
27174 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
27175 since they should have been expanded by now.
27176 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
27177 (byte-compile-from-buffer): Remove unused second arg.
27178 (byte-compile-preprocess): New function.
27179 (byte-compile-toplevel-file-form): New function to distinguish
27180 file-form calls from outside from file-form calls from hunk-handlers.
27181 (byte-compile-file-form): Simplify.
27182 (byte-compile-file-form-defsubst): Remove.
27183 (byte-compile-file-form-defmumble): Simplify now that
27184 byte-compile-lambda always returns a byte-code-function.
27185 (byte-compile): Preprocess.
27186 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
27187 Remove, not used any more.
27188 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
27189 (byte-compile-make-args-desc): New funs.
27190 (byte-compile-lambda): Handle lexical functions. Always return
27191 a byte-code-function.
27192 (byte-compile-reserved-constants): New var, to make up room for
27193 closed-over variables.
27194 (byte-compile-constants-vector): Obey it.
27195 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
27196 (byte-compile-macroexpand-declare-function): New function.
27197 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
27198 byte-code-functions.
27199 (byte-compile-form): Check obsolescence here.
27200 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
27201 (byte-compile-variable-ref): Remove.
27202 (byte-compile-dynamic-variable-op): New fun.
27203 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
27204 (byte-compile-variable-set): New funs.
27205 (byte-compile-discard): Add 2 args.
27206 (byte-compile-stack-ref, byte-compile-stack-set)
27207 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
27208 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
27209 macroexpand-all instead.
27210 (byte-compile-quote-form): Remove.
27211 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
27212 (byte-compile-bind, byte-compile-unbind): New funs.
27213 (byte-compile-let): Handle let* and lexical binding.
27214 (byte-compile-let*): Remove.
27215 (byte-compile-catch, byte-compile-unwind-protect)
27216 (byte-compile-track-mouse, byte-compile-condition-case):
27217 Handle a new :fun-body form, used for lexical scoping.
27218 (byte-compile-save-window-excursion)
27219 (byte-compile-with-output-to-temp-buffer): Remove.
27220 (byte-compile-defun): Simplify.
27221 (byte-compile-stack-adjustment): New fun.
27222 (byte-compile-out): Use it.
27223 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
27225 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
27228 * emacs-lisp/byte-opt.el: Use lexical binding.
27229 (byte-inline-lapcode): Remove (to bytecomp).
27230 (byte-compile-inline-expand): Pay attention to inlining to/from
27231 lexically bound code.
27232 (byte-compile-unfold-lambda): Don't handle byte-code-functions
27234 (byte-optimize-form-code-walker): Don't handle save-window-excursion
27235 any more and don't call compiler-macros.
27236 (byte-compile-splice-in-already-compiled-code): Remove.
27237 (byte-code): Don't inline any more.
27238 (disassemble-offset): Receive `bytes' as argument rather than via
27240 (byte-compile-tag-number): Declare before first use.
27241 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
27242 `return' even if make-spliceable.
27243 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
27244 obsolete interactive-p.
27245 (byte-optimize-lapcode): Optimize new lap-codes.
27246 Don't trip up on new form of `byte-constant' lap code.
27248 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
27250 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
27252 * custom.el (custom-initialize-default, custom-declare-variable):
27255 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
27257 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
27258 (COMPILE_FIRST): Add macroexp and cconv.
27259 * makefile.w32-in: Mirror changes in Makefile.in.
27261 * vc/cvs-status.el:
27265 * vc/smerge-mode.el:
27266 * textmodes/bibtex-style.el:
27267 * textmodes/css-mode.el:
27275 * emacs-lisp/smie.el:
27278 * abbrev.el: Use lexical binding.
27280 2011-04-01 Eli Zaretskii <eliz@gnu.org>
27282 * info.el (info-display-manual): New function.
27284 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
27286 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
27288 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
27290 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
27291 an entry for that server in rcirc-authinfo. (Bug#8385)
27293 2011-03-31 Glenn Morris <rgm@gnu.org>
27295 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
27297 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
27299 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
27301 * progmodes/python.el (python-default-interpreter)
27302 (python-python-command-args, python-jython-command-args)
27303 (python-which-shell, python-which-args, python-which-bufname)
27304 (python-file-queue, python-comint-output-filter-function)
27305 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
27306 variables and functions.
27308 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
27310 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
27311 (completion-in-region-mode): New minor mode.
27312 (completion-in-region): Use it.
27313 (completion-in-region--data, completion-in-region-mode-map): New vars.
27314 (completion-in-region--postch): New function.
27315 (completion--capf-misbehave-funs, completion--capf-safe-funs):
27317 (completion--capf-wrapper): New function.
27318 (completion-at-point): Use it to track well-behavedness of
27320 (completion-help-at-point): New command.
27322 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
27324 * vc/add-log.el (add-change-log-entry): Don't use whitespace
27325 syntax class to search for whitespace on a single line
27326 (Message-ID: <4D938140.4030905@redhat.com>).
27328 2011-03-30 Leo Liu <sdl.web@gmail.com>
27330 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
27332 (edit-abbrevs-map): Bind them here.
27333 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
27335 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
27337 * allout.el (allout-hide-by-annotation, allout-flag-region):
27338 Reduce possibility of overlay leakage by making them volatile.
27340 * allout-widgets.el (allout-widgets-tally): Define as nil so the
27341 hash is not shared between buffers. Mode initialization is
27342 responsible for giving it a useful starting value.
27343 (allout-item-span): Reduce possibility of overlay leakage by
27344 making them volatile.
27345 (allout-widgets-count-buttons-in-region): Add diagnostic function
27346 for tracking down button overlay leaks.
27348 2011-03-29 Leo Liu <sdl.web@gmail.com>
27350 * ido.el (ido-read-internal): Use the default history var
27351 minibuffer-history if no HISTORY is specified.
27353 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
27355 * net/imap.el (imap-shell-open, imap-process-connection-type):
27356 Use imap-process-connection-type for 'shell' streams as well as
27357 Kerberos, SSL, other subprocesses.
27359 2011-03-28 Leo Liu <sdl.web@gmail.com>
27361 * abbrev.el (abbrev-table-empty-p): New function.
27362 (prepare-abbrev-list-buffer): Place empty abbrev tables after
27363 nonempty ones. (Bug#5937)
27365 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
27367 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
27369 2011-03-27 Leo Liu <sdl.web@gmail.com>
27371 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
27372 for foreground and background colors.
27373 (ansi-color-make-color-map): Adapt.
27375 2011-03-25 Leo Liu <sdl.web@gmail.com>
27377 * midnight.el (midnight-time-float): Remove. Note it calculates
27378 the microsecond component incorrectly and seconds-to-time does the
27380 Remove redundant (require 'timer).
27382 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
27383 (ido-completions): Remove unused arguments. (Bug#8329)
27385 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
27387 * minibuffer.el (completion--flush-all-sorted-completions):
27388 Remove itself from hook.
27389 (completion-at-point): Let the functions perform the completion
27390 immediately and return nil or t.
27391 * comint.el (comint-dynamic-complete-functions): Now identical to
27392 completion-at-point-functions.
27393 (comint-dynamic-list-input-ring): Remove unused var `index'.
27394 (comint--match-partial-filename, comint--unquote&expand-filename):
27395 New funs, split from comint-match-partial-filename.
27396 (comint-dynamic-complete): Use completion-at-point.
27397 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
27399 2011-03-24 Drew Adams <drew.adams@oracle.com>
27401 * thingatpt.el: Support `defun'.
27403 2011-03-23 Leo Liu <sdl.web@gmail.com>
27405 * abbrevlist.el: Move to obsolete/abbrevlist.el.
27407 * help-mode.el (help-mode-finish): Tweak regexp.
27409 2011-03-23 Glenn Morris <rgm@gnu.org>
27411 * eshell/esh-opt.el (eshell-eval-using-options):
27412 Do not bind unused local variable `eshell-option-stub'.
27414 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
27416 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27418 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
27419 keymap variable in `with-no-warnings' to avoid a warning when the
27420 keymap has been already `defconst'ed.
27422 2011-03-22 Leo Liu <sdl.web@gmail.com>
27424 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
27425 encode all chars in abbrevs; otherwise use emacs-mule or
27426 utf-8-emacs. (Bug#8308)
27428 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27430 * simple.el (backward-delete-char-untabify):
27431 Avoid warning about using `delete-backward-char'.
27433 * image.el (image-type-file-name-regexps): Make it variable.
27434 `imagemagick-register-types' modifies it, and the user may want
27435 to add new extensions for known image types.
27436 (imagemagick-register-types): Throw error if not using ImageMagick.
27438 2011-03-22 Leo Liu <sdl.web@gmail.com>
27440 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
27441 located before rcirc-prompt-end-marker.
27442 (rcirc-complete): Error if point is not after rcirc prompt.
27443 Handle the case when table is nil.
27444 (rcirc-user-authenticated): Define to fix compiler warning.
27446 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
27448 * custom.el (custom--inhibit-theme-enable): Make it affect only
27449 custom-theme-set-variables and custom-theme-set-faces.
27450 (provide-theme): Ignore custom--inhibit-theme-enable.
27451 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
27452 (custom-enabling-themes): Delete variable.
27453 (enable-theme): Accept only loaded themes as arguments.
27454 Ignore the special custom-enabled-themes variable.
27455 (custom-enabled-themes): Forbid themes from setting this.
27456 Eliminate use of custom-enabling-themes.
27457 (custom-push-theme): Quote "changed" custom var entry.
27459 2011-03-21 Leo Liu <sdl.web@gmail.com>
27461 * ido.el (ido-read-internal): Add ido-selected to history instead
27464 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
27466 * subr.el (deferred-action-list, deferred-action-function):
27469 2011-03-21 Leo Liu <sdl.web@gmail.com>
27471 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
27472 change on 2011-02-13 (bug#8309).
27474 * minibuffer.el (read-file-name-function): Change default value.
27475 (read-file-name--defaults): Rename from read-file-name-defaults.
27476 (read-file-name-default): Rename from read-file-name.
27477 (read-file-name): Call read-file-name-function.
27479 2011-03-21 Glenn Morris <rgm@gnu.org>
27481 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
27484 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
27486 * cus-theme.el: Add missing provide statement.
27487 (customize-create-theme): Extract theme value correctly.
27488 (custom-theme-visit-theme): Autoload.
27489 (customize-create-theme): Prompt before inserting default faces.
27491 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
27493 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
27494 units and musical notes.
27496 2011-03-20 Leo Liu <sdl.web@gmail.com>
27498 * ido.el (ido-read-internal): Use completing-read-default.
27499 (ido-completing-read): Fix compatibility with completing-read.
27501 2011-03-20 Christian Ohler <ohler@gnu.org>
27503 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
27504 (ert-delete-all-tests): Use `called-interactively-p' rather than
27506 (ert--make-xrefs-region): Respect END.
27508 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27510 * dired-aux.el (dired-create-directory): Signal an error if the
27511 directory already exists (Bug#8246).
27513 * facemenu.el (list-colors-display): Call list-faces-display
27514 inside with-help-window.
27515 (list-colors-print): Use display property to align the final
27516 column, instead of checking window-width.
27518 2011-03-19 Eli Zaretskii <eliz@gnu.org>
27520 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
27521 windows-nt systems.
27522 (emerge-protect-metachars): Quote correctly for ms-dos and
27523 windows-nt systems.
27525 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
27527 * info.el (info-initialize): Replace all uses of `:' with
27528 path-separator for compatibility with non-Unix systems.
27529 Cache quoting of path-separator. (Bug#8258)
27531 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
27533 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
27534 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
27535 (mouse-avoidance-mode): Fix typos in docstrings.
27537 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27539 * startup.el (package-subdirectory-regexp): Move from package.el.
27540 Omit \\` and \\', and let callers add them.
27542 * emacs-lisp/package.el (package-strip-version)
27543 (package-load-all-descriptors): Add \\` and \\' to
27544 package-subdirectory-regexp before using it.
27545 (package-untar-buffer): New arg DIR; ensure that file untars only
27546 into this expected directory. Remove superfluous delete-region.
27547 (package-unpack): Caller changed.
27548 (package-tar-file-info): Use package-subdirectory-regexp.
27550 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
27552 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
27553 diff-mode-shared-map (bug#8284).
27554 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
27556 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
27558 * calendar/time-date.el (format-seconds): Use assoc instead of
27559 assoc-string, since assoc-string doesn't exist in XEmacs.
27561 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
27563 * custom.el (custom-known-themes): Reflow docstring.
27564 (custom-theme-load-path): Fix typo in docstring.
27565 (load-theme): Fix typo in error message.
27566 (custom-available-themes, custom-variable-theme-value):
27567 Use `let', not `let*'.
27569 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
27571 * calc/README: Mention inclusion of musical notes.
27573 * calc/calc-units.el (calc-lu-quant): Rename from
27574 `calc-logunits-quantity'.
27575 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
27576 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
27577 (calc-db): Rename from `calc-dblevel'.
27578 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
27579 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
27580 (calc-np): Rename from `calc-nplevel'.
27581 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
27582 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
27583 (calc-lu-plus): Rename from `calc-logunits-add'.
27584 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
27585 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
27586 (calc-lu-minus): Rename from `calc-logunits-sub'.
27587 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
27588 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
27589 (calc-lu-times): Rename from `calc-logunits-mul'.
27590 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
27591 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
27592 (calc-lu-divide): Rename from `calc-logunits-div'.
27593 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
27594 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
27596 * calc/calc-ext.el (calc-init-extensions): Update the names of the
27597 functions being autoloaded.
27599 * calc/calc.el (calc-lu-power-reference): Rename from
27600 `calc-logunits-power-reference'.
27601 (calc-lu-field-reference): Rename from
27602 `calc-logunits-field-reference'.
27604 * calc/calc-help.el (calc-l-prefix-help):
27605 Mention musical note functions.
27607 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
27609 * minibuffer.el (completion-all-sorted-completions):
27610 Use :completion-cycle-penalty text property if present.
27612 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
27614 * allout.el (allout-yank-processing): Adjust for new rebulleting
27615 regime so bullet being yanked is used without prompting the user
27618 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27620 * startup.el (command-line): Warn the user that _emacs is deprecated.
27622 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27624 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
27625 (delphi-verbose, delphi-comment-face, delphi-string-face)
27626 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
27627 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
27628 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
27629 (delphi-new-comment-line, delphi-font-lock-defaults)
27630 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
27631 Fix typos in docstrings.
27633 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
27635 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
27636 Invert the roles of character and string values for INSTEAD, so a
27637 string is used for the more common case of a defaulting prompt.
27639 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27641 * progmodes/ruby-mode.el (ruby-backward-sexp):
27642 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
27643 * play/gamegrid.el (gamegrid-make-face):
27644 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
27645 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
27646 * notifications.el (notifications-notify):
27647 * net/xesam.el (xesam-search-engines):
27648 * net/quickurl.el (quickurl-list-insert):
27649 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
27651 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
27653 * startup.el (command-line): Update package subdirectory regexp.
27655 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27657 * allout.el (allout-abbreviate-flattened-numbering)
27658 (allout-mode-deactivate-hook): Fix up obsolescence "date".
27660 * subr.el (read-char-choice): Only show the cursor after the prompt,
27661 not after the answer.
27663 2011-03-15 Kevin Ryde <user42@zip.com.au>
27665 * help-fns.el (variable-at-point): Skip leading quotes, if any
27668 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27670 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
27673 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
27675 * shell.el (shell): When called interactively, offer to change the
27676 shell file name on remote hosts.
27678 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
27680 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
27681 integration for LDAP parameters. The host, base, user or binddn,
27682 and secret tokens can be specified in a netrc file, for instance.
27683 This is optional because an `auth-source' parameter must be
27684 specified in the search attributes.
27686 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
27688 * help.el (describe-mode): Link to the mode's definition (bug#8185).
27690 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27692 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
27693 into declaration. Remove redundant and harmful binding.
27695 2011-03-12 Eli Zaretskii <eliz@gnu.org>
27697 * files.el (file-ownership-preserved-p): Pass `integer' as an
27698 explicit 2nd argument to `file-attributes'. If the file's owner
27699 is the Administrators group on Windows, and the current user is
27700 Administrator, consider that a match.
27702 * server.el (server-ensure-safe-dir): Consider server directory
27703 safe on MS-Windows if its owner is the Administrators group while
27704 the current Emacs user is Administrator. Use `=' to compare
27705 numerical UIDs, since they could be integers or floats.
27707 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
27709 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
27711 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
27713 Sync with Tramp 2.2.1.
27715 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
27717 * net/trampver.el: Update release number.
27719 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27721 * progmodes/compile.el (compilation--previous-directory): Fix up
27722 various nil/dead-marker mismatches (bug#8014).
27723 (compilation-directory-properties, compilation-error-properties):
27724 Don't call it at a position past the one we're about to change.
27726 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
27727 Disable obsolescence warnings in the file that declares it.
27729 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
27731 * allout-widgets.el (allout-widgets-tally):
27732 Initialize allout-widgets-tally as a hash table rather than nil to
27733 prevent mode-line redisplay warnings. Also, clarify the module
27734 description and fix a comment typo.
27736 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
27738 * help-fns.el (describe-variable): Don't complete keywords.
27739 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
27741 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
27743 * emacs-lisp/package.el (package-version-join): Impose a standard
27744 string representation for pre/alpha/beta version lists.
27745 (package-unpack-single): Standardize the directory name by passing
27746 it through package-version-join.
27747 (package-strip-rcs-id): Accept any version string that does not
27748 signal an error in version-to-list.
27750 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
27752 * simple.el (delete-trailing-whitespace): Return nil for the
27753 benefit of `write-file-functions'.
27755 2011-03-10 Glenn Morris <rgm@gnu.org>
27757 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
27759 * vc/vc-git.el (vc-git-program): New option.
27760 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
27761 (vc-git--call): Use it.
27763 * eshell/esh-util.el (eshell-condition-case): Doc fix.
27765 * cus-edit.el (Custom-newline): If no button at point, look
27766 for a subgroup button at start-of-line. (Bug#2298)
27768 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
27770 2011-03-10 Julien Danjou <julien@danjou.info>
27772 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
27773 `cursor-type' is nil.
27775 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
27777 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
27779 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
27781 * allout.el: Change so yank of distinctive-bullet items
27782 preserves the existing header prefix, rebulleting it if necessary,
27783 rather than replacing it. This is necessary for proper operation
27784 of cooperative addons like allout-widgets.
27785 (allout-make-topic-prefix, allout-rebullet-heading):
27786 Change SOLICIT arg to INSTEAD, and interpret additionally a string
27787 value as alternate bullet to be used, instead of prompting the user
27788 for a bullet character.
27790 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
27792 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
27793 Do not use `tramp-file-name-port', because this returns also
27794 `tramp-default-port'.
27796 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
27798 * net/rcirc.el (rcirc-handler-001): Remove useless
27799 with-rcirc-process-buffer.
27800 (rcirc-check-auth-status): Swap arguments to string-match.
27802 2011-03-09 Glenn Morris <rgm@gnu.org>
27804 * shell.el (shell-mode):
27805 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
27807 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
27808 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
27810 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27812 * emacs-lisp/package.el (package-refresh-contents)
27813 (package-menu-execute): Use condition-case-no-debug.
27815 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
27817 * simple.el (shell-command-to-string): Use `process-file'.
27819 * emacs-lisp/package.el (package-tar-file-info): Handle also
27822 * emacs-lisp/package-x.el (package-upload-buffer-internal):
27823 Use `equal' for upload base check.
27825 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
27827 * textmodes/texinfo.el (texinfo-environments):
27828 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
27830 2011-03-08 Glenn Morris <rgm@gnu.org>
27832 * cus-start.el (cursor-in-non-selected-windows):
27833 Fix :set quoting oddness. (Bug#8192)
27835 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
27836 in some setf expressions. (Bug#2159)
27838 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27840 * custom.el (custom-available-themes): Return themes in
27841 alphabetical order.
27843 See ChangeLog.15 for earlier changes.
27845 ;; Local Variables:
27849 Copyright (C) 2011-2013 Free Software Foundation, Inc.
27851 This file is part of GNU Emacs.
27853 GNU Emacs is free software: you can redistribute it and/or modify
27854 it under the terms of the GNU General Public License as published by
27855 the Free Software Foundation, either version 3 of the License, or
27856 (at your option) any later version.
27858 GNU Emacs is distributed in the hope that it will be useful,
27859 but WITHOUT ANY WARRANTY; without even the implied warranty of
27860 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27861 GNU General Public License for more details.
27863 You should have received a copy of the GNU General Public License
27864 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.