1 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
3 * eshell/em-unix.el: Added -r option to cp
5 2013-05-28 Glenn Morris <rgm@gnu.org>
7 * vc/vc-arch.el (vc-exec-after): Declare.
8 (vc-switches): Autoload.
9 * vc/vc-bzr.el: No need to require vc when compiling.
10 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11 (vc-resynch-buffer, vc-dir-refresh): Declare.
12 (vc-setup-buffer, vc-switches): Autoload.
13 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
14 (vc-resynch-buffer): Declare.
15 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
16 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
17 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
18 (grep-read-regexp, grep-read-files, grep-expand-template)
19 (vc-dir-refresh): Declare.
20 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
21 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
22 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
23 * vc/vc-mtn.el (vc-exec-after): Declare.
24 (vc-switches): Autoload.
25 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
26 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
27 (vc-file-tree-walk): Declare.
28 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
29 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
30 (vc-tag-precondition, vc-rename-master): Autoload.
31 * vc/vc-svn.el (vc-exec-after): Declare.
32 (vc-switches, vc-setup-buffer): Autoload.
33 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
35 (vc-resynch-buffer): Declare.
37 * obsolete/fast-lock.el (byte-compile-warnings):
38 Don't warn about obsolete features in this obsolete file.
40 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
41 Move definition before use.
43 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
44 (dun-unix-verbs): Remove dun-zippy.
45 (dun-zippy): Remove function.
47 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
49 2013-05-27 Juri Linkov <juri@jurta.org>
51 * replace.el (replace-search): New function with code moved out
52 from `perform-replace'.
53 (replace-highlight, replace-dehighlight): Move function definitions
54 up closer to `replace-search'. (Bug#11746)
56 2013-05-27 Juri Linkov <juri@jurta.org>
58 * replace.el (perform-replace): Ignore invisible matches.
59 In addition to checking `query-replace-skip-read-only', also
60 filter out matches by calling `run-hook-with-args-until-failure'
61 on `isearch-filter-predicates', and also check `search-invisible'
62 for t or call `isearch-range-invisible'.
63 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
65 2013-05-27 Juri Linkov <juri@jurta.org>
67 * isearch.el (isearch-filter-predicates): Rename from
68 `isearch-filter-predicate'. Doc fix. (Bug#11378)
69 (isearch-message-prefix): Display text from the property
70 `isearch-message-prefix' of the currently active filters.
71 (isearch-search): Don't compare `isearch-filter-predicate' with
72 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
73 on `isearch-filter-predicates'. Also check `search-invisible' for t
74 or call `isearch-range-invisible'.
75 (isearch-filter-visible): Make obsolete.
76 (isearch-lazy-highlight-search):
77 Call `run-hook-with-args-until-failure' on
78 `isearch-filter-predicates' and use `isearch-range-invisible'.
80 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
81 `isearch-filter-predicates' instead of `funcall'ing
82 `isearch-filter-predicate'.
83 (Info-mode): Set `Info-isearch-filter' to
84 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
86 * dired-aux.el (dired-isearch-filter-predicate-orig):
88 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
89 (dired-isearch-filenames-end): Add and remove
90 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
91 instead of changing the value of `isearch-filter-predicate'.
92 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
93 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
94 Put property `isearch-message-prefix' to "filename " on
95 `dired-isearch-filter-filenames'.
97 * wdired.el (wdired-change-to-wdired-mode):
98 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
99 locally instead of changing `isearch-filter-predicate'.
100 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
102 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
104 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
105 return the commit hash (Bug#14459). Also set the
106 `vc-git-detached' property.
107 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
108 (vc-git-mode-line-string): Use the same help-echo format whether
109 in detached mode or not, because we know the actual revision now.
110 When in detached mode, shorten the revision to 7 chars.
112 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
114 * emacs-lisp/easy-mmode.el (define-minor-mode):
115 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
116 mode hook and provide a docstring.
118 2013-05-27 Alan Mackenzie <acm@muc.de>
120 Remove spurious syntax-table text properties inserted by C-y.
121 * progmodes/cc-mode.el (c-after-change): Also clear hard
122 syntax-table property with value nil.
124 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
126 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
127 when reading the events; the buffer layout shall not be changed.
129 2013-05-27 Leo Liu <sdl.web@gmail.com>
131 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
133 (inferior-octave-directory-tracker): Automatically re-sync
135 (octave-help): Improve handling of 'See also'.
137 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
139 * doc-view.el: Minor naming convention tweaks.
140 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
142 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
143 even if there's no `display' property yet (bug#14435).
145 2013-05-25 Eli Zaretskii <eliz@gnu.org>
147 * subr.el (unmsys--file-name): Rename from reveal-filename.
149 * Makefile.in (custom-deps, finder-data, autoloads)
150 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
151 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
152 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
154 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
156 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
157 error-completion on the first 2 args of condition-case (bug#14446).
160 2013-05-25 Leo Liu <sdl.web@gmail.com>
162 * comint.el (comint-previous-matching-input): Do not flood the
163 *Messages* buffer with trivial messages.
165 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
167 * progmodes/flymake.el (flymake-nop): Don't return a string.
168 (flymake-set-at): Fix typo.
170 * simple.el (read--expression): New function, extracted from
171 eval-expression. Set completion-at-point-functions (bug#14465).
172 (eval-expression, eval-minibuffer): Use it.
174 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
176 * progmodes/flymake.el (flymake-save-buffer-in-file)
177 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
178 (flymake-selected-frame, flymake-log, flymake-ins-after)
179 (flymake-set-at, flymake-get-buildfile-from-cache)
180 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
181 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
182 Refine the doc string.
183 (flymake-get-file-name-mode-and-masks): Reformat.
184 (flymake-get-real-file-name-function): Fix a minor bug.
186 2013-05-24 Juri Linkov <juri@jurta.org>
188 * progmodes/grep.el (grep-mode-font-lock-keywords):
189 Support =linenumber= format used by git-grep for lines with
190 function names. (Bug#13549)
192 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
194 * progmodes/octave.el (octave-smie-rules): Return nil rather than
195 0 after a semi-colon; it works better for smie-auto-fill.
196 (octave--indent-new-comment-line): New function.
197 (octave-indent-new-comment-line): Use it (indirectly).
198 (octave-mode): Don't disable smie-auto-fill. Use add-function to
199 modify comment-line-break-function.
201 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
202 (smie-setup): Use add-function to set it.
204 2013-05-24 Sam Steingold <sds@gnu.org>
206 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
207 argument (before the `interactive' argument).
209 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
211 * image-mode.el (image-mode-winprops): Add winprops to
212 image-mode-winprops-alist before running
213 image-mode-new-window-functions.
214 * doc-view.el (doc-view-new-window-function): Don't delay
215 doc-view-goto-page via timers (bug#14435).
217 2013-05-24 Tassilo Horn <tsdh@gnu.org>
219 * doc-view.el: Integrate with desktop.el. (Bug#14435)
220 (doc-view-desktop-save-buffer): New function.
221 (doc-view-restore-desktop-buffer): New function.
222 (desktop-buffer-mode-handlers):
223 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
225 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
226 `desktop-save-buffer' function.
228 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
230 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
231 (tramp-gvfs-file-name-handler): Raise a user error when
232 `tramp-gvfs-enabled' is nil.
233 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
234 Do not raise a user error when loading package. (Bug#14447)
236 * net/xesam.el: Move to obsolete/.
238 2013-05-24 Glenn Morris <rgm@gnu.org>
240 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
242 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
244 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
245 (Info-find-node, Man-getpage-in-background): Declare.
247 * mail/unrmail.el (unrmail):
248 Replace obsolete detect-coding-with-priority.
250 * net/socks.el (socks-split-string): Use this rather than split-string.
251 (socks-nslookup-host): Update for above change.
252 (dynamic-choice, s5-dynamic-choice-match)
253 (s5-dynamic-choice-match-inline, s5-widget-value-create):
254 Comment out unused code.
256 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
257 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
258 (gud-tooltip-echo-area): Make obsolete.
259 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
261 * progmodes/js.el (js--optimize-arglist): Declare.
263 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
265 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
266 (ediff-window-C): Declare.
268 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
269 Tweak requires to silence compiler.
271 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
272 (he-search-string, he-tried-table, he-expand-list)
273 (he-init-string, he-string-member, he-substitute-string)
274 (he-reset-string): Declare.
276 * obsolete/options.el (list-options): Use custom-variable-p,
277 rather than obsolete alias.
279 2013-05-23 Sam Steingold <sds@gnu.org>
281 * simple.el (shell-command-on-region): Pass the `replace' argument
282 down to `call-process-region' to comply with the doc as reported on
283 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
285 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
287 * emacs-lisp/smie.el (smie-indent-forward-token)
288 (smie-indent-backward-token): Handle string tokens (bug#14381).
290 2013-05-23 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
292 * ielm.el (ielm-menu): New menu.
293 (inferior-emacs-lisp-mode): Set comment-start.
295 2013-05-23 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
297 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
298 Fix deactivate action.
300 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
303 * lisp/textmodes/reftex-parse.el
304 (reftex-locate-bibliography-files): Accept options for
305 bibliography commands.
306 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
307 Add addbibresource. Basic Biblatex support.
309 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
311 * net/tramp-gvfs.el (top):
312 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
313 when loading package. (Bug#14447)
315 2013-05-23 Glenn Morris <rgm@gnu.org>
317 * progmodes/js.el: No need to load comint when compiling.
318 (ring-insert, comint-send-string, comint-send-input)
319 (comint-last-input-end, ido-chop): Declare.
321 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
322 * vc/ediff-mult.el: Adjust requires.
323 (ediff-directories-internal, ediff-directory-revisions-internal)
324 (ediff-patch-file-internal): Declare.
325 * vc/ediff-ptch.el: Adjust requires.
326 (ediff-use-last-dir, ediff-buffers-internal): Declare.
327 (ediff-find-file): Autoload.
328 * vc/ediff-util.el: No need to load ediff when compiling.
329 (ediff-regions-internal): Declare.
330 * vc/ediff-wind.el: Adjust requires.
331 (ediff-compute-toolbar-width): Define when compiling.
332 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
333 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
334 (dired-get-filename, dired-get-marked-files)
335 (ediff-last-dir-patch, ediff-patch-default-directory)
336 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
337 (ediff-patch-buffer-internal): Declare.
339 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
340 (ispell-process, ispell-buffer-local-words, lm-summary)
341 (lm-section-start, lm-section-end): Declare.
342 (checkdoc-ispell-init): Simplify.
344 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
345 (he-string-member, he-reset-string, he-substitute-string): Declare.
347 * eshell/em-ls.el: Adjust requires.
348 (eshell-glob-regexp): Declare.
349 * eshell/em-tramp.el: Adjust requires.
350 (eshell-parse-command): Autoload.
351 * eshell/em-xtra.el: Adjust requires.
352 (eshell-parse-command): Autoload.
353 * eshell/esh-ext.el: Adjust requires.
354 (eshell-parse-command, eshell-close-handles): Autoload.
355 * eshell/esh-io.el: Adjust requires.
356 (eshell-output-filter): Autoload.
357 * eshell/esh-util.el: No need to load tramp when compiling.
358 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
360 (eshell-parse-ange-ls): Require ange-ftp and tramp.
361 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
362 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
363 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
364 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
365 * eshell/esh-opt.el, eshell/esh-proc.el:
366 * eshell/esh-var.el: Adjust requires.
367 * eshell/eshell.el: Do not require esh-util twice.
368 (eshell-add-input-to-history): Declare.
369 (eshell-command): Check history module is active before using it.
371 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
373 2013-05-22 Leo Liu <sdl.web@gmail.com>
375 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
377 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
379 * autorevert.el (auto-revert-notify-add-watch)
380 (auto-revert-notify-handler): Add `attrib' for the inotify case,
381 it indicates changes in file modification time.
383 2013-05-22 Glenn Morris <rgm@gnu.org>
385 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
386 Always delete the autoloaded function from the noruntime and
387 unresolved functions lists.
389 * allout.el: No need to load epa, epg, overlay when compiling.
390 (epg-context-set-passphrase-callback, epg-list-keys)
391 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
392 (epg-key-user-id-list): Declare.
394 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
395 (viper-set-parsing-style-toggling-macro)
396 (viper-set-emacs-state-searchstyle-macros):
397 Use called-interactively-p on Emacs.
398 (viper-looking-back): Make it an obsolete alias. Update callers.
399 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
400 Use looking-back rather than viper-looking-back.
401 (viper-tmp-insert-at-eob, viper-enlarge-region)
402 (viper-read-string-with-history, viper-register-to-point)
403 (viper-append-to-register, viper-change-state-to-vi)
404 (viper-backward-char-carefully, viper-forward-char-carefully)
405 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
406 (viper-change-state-to-emacs): Declare.
407 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
408 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
409 * emulation/viper-mous.el: Do not load viper-cmd.
410 (viper-backward-char-carefully, viper-forward-char-carefully)
411 (viper-forward-word, viper-adjust-window): Declare.
413 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
415 * progmodes/idlw-help.el (idlwave-help-fontify):
416 Use called-interactively-p.
418 * term/w32console.el (w32-get-console-codepage)
419 (w32-get-console-output-codepage): Declare.
421 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
422 Remove unnecessary declarations.
423 (dframe-message): Doc fix.
425 * info.el (dframe-select-attached-frame, dframe-current-frame):
428 * speedbar.el (speedbar-message): Make it an obsolete alias.
430 (speedbar-with-attached-buffer)
431 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
432 (speedbar-with-writable): Use backquote.
433 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
434 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
435 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
436 rather than speedbar- aliases.
437 * mail/rmail.el: Load dframe rather than speedbar when compiling.
438 (speedbar-make-specialized-keymap, speedbar-insert-button)
439 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
440 (speedbar-do-function-pointer): Declare.
441 (rmail-speedbar-button, rmail-speedbar-find-file)
442 (rmail-speedbar-move-message):
443 Use dframe-with-attached-buffer rather than speedbar- alias.
444 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
445 (dframe-message, speedbar-make-specialized-keymap)
446 (speedbar-add-expansion-list, speedbar-mode-functions-list)
447 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
448 (speedbar-insert-button, dframe-select-attached-frame)
449 (dframe-maybee-jump-to-attached-frame)
450 (speedbar-change-initial-expansion-list)
451 (speedbar-previously-used-expansion-list-name): Declare.
452 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
453 Use dframe-message, dframe-with-attached-buffer rather than
455 (gud-sentinel): Silence compiler.
456 * progmodes/vhdl-mode.el (speedbar-refresh)
457 (speedbar-do-function-pointer, speedbar-add-supported-extension)
458 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
459 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
460 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
461 (speedbar-file-lists, speedbar-make-tag-line)
462 (speedbar-line-directory, speedbar-goto-this-file)
463 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
464 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
465 (speedbar-make-button, speedbar-reset-scanners)
466 (speedbar-files-item-info, speedbar-line-text)
467 (speedbar-find-file-in-frame, speedbar-set-timer)
468 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
469 (speedbar-with-writable): Do not (re)define it.
470 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
471 rather than speedbar- alias.
473 2013-05-21 Leo Liu <sdl.web@gmail.com>
475 * progmodes/octave.el (octave-mode-menu): Update and re-organize
477 (octave-mode): Tweak fill-nobreak-predicate.
478 (inferior-octave-startup): Check process to avoid infinite loop.
479 (inferior-octave): Pop to buffer first to show abornmal process
482 2013-05-21 Glenn Morris <rgm@gnu.org>
484 * printing.el (pr-menu-bar): Define when compiling.
486 2013-05-21 Leo Liu <sdl.web@gmail.com>
488 * progmodes/octave.el (octave-auto-fill): Remove.
489 (octave-indent-new-comment-line): Improve.
490 (octave-mode): Use auto fill mode through
491 comment-line-break-function and fill-nobreak-predicate
492 (octave-goto-function-definition): Support DEFUN_DLD.
493 (octave-beginning-of-defun): Small Tweak
494 (octave-help): Show parent directory.
496 2013-05-21 Glenn Morris <rgm@gnu.org>
498 * files.el (dired-unmark):
499 * progmodes/gud.el (gdb-input): Update declarations.
501 * calculator.el (electric, ehelp): No need to load when compiling.
502 (Electric-command-loop, electric-describe-mode): Declare.
504 * doc-view.el (doc-view-current-converter-processes): Move before use.
506 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
507 Move MODE-set-explicitly definition before use.
509 * international/mule-diag.el (mule-diag):
510 Don't use obsolete window-system-version.
512 * mail/feedmail.el (smtpmail): No need to load when compiling.
513 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
515 * mail/mail-utils.el (rfc822): No need to load when compiling.
516 (rfc822-addresses): Autoload it.
517 (mail-strip-quoted-names): Trivial simplification.
519 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
520 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
522 * net/snmp-mode.el (tempo): Don't duplicate requires.
524 * progmodes/prolog.el (info): No need to load when compiling.
525 (comint): Require before shell requires it.
526 (Info-goto-node): Autoload it.
527 (Info-follow-nearest-node): Declare.
528 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
530 * textmodes/artist.el (picture-mode-exit): Declare.
532 * textmodes/reftex-parse.el (reftex-parse-from-file):
533 Trivial rewrite so the compiler can parse it better.
535 2013-05-20 Leo Liu <sdl.web@gmail.com>
537 * progmodes/octave.el (octave-help-mode-map)
538 (octave-help-mode-finish-hook): New variables.
539 (octave-help-mode, octave-help-mode-finish): New functions.
540 (octave-help): Use octave-help-mode.
542 2013-05-20 Glenn Morris <rgm@gnu.org>
544 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
546 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
548 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
549 start at point, so that expansion starting right after opening
550 slash in a regexp is recognized.
551 (ruby-syntax-before-regexp-re): New defvar, extracted from
552 ruby-syntax-propertize-function. Since the value of this regexp
553 is looked up at runtime now, we should be able to turn
554 `ruby-syntax-methods-before-regexp' into a defcustom later.
555 (ruby-syntax-propertize-function): Split regexp matching into two
556 parts, for opening and closing slashes. That allows us to skip
557 over string interpolations and support multiline regexps.
558 Don't call `ruby-syntax-propertize-expansions', instead use another rule
559 for them, which calls `ruby-syntax-propertize-expansion'.
560 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
561 call to `ruby-syntax-propertize-function'.
562 (ruby-syntax-propertize-expansion): Extracted from
563 `ruby-syntax-propertize-expansions'. Handles one expansion.
564 (ruby-syntax-propertize-percent-literal): Leave point right after
565 the percent symbol, so that the expression expansion rule can
566 propertize the contents.
567 (ruby-syntax-propertize-heredoc): Leave point at bol following the
569 (ruby-syntax-propertize-expansions): Remove.
571 2013-05-18 Juri Linkov <juri@jurta.org>
573 * man.el (Man-default-man-entry): Remove `-' from the end
574 of the default value. (Bug#14400)
576 2013-05-18 Glenn Morris <rgm@gnu.org>
578 * comint.el (comint-password-prompt-regexp):
579 Allow "password for XXX" where XXX contains colons (eg https://...).
581 2013-05-18 Leo Liu <sdl.web@gmail.com>
583 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
584 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
585 (octave-source-directories): Don't check process.
586 (octave-source-directories, octave-find-definition): Doc fix.
588 2013-05-18 Glenn Morris <rgm@gnu.org>
590 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
591 Remove backspace/delete bindings. (Bug#14392)
593 * cus-dep.el (custom-make-dependencies): Sort the output.
594 (custom-versions-load-alist): Convert comment to doc.
596 2013-05-17 Leo Liu <sdl.web@gmail.com>
598 * newcomment.el (comment-search-backward): Stricter in finding
599 comment start. (Bug#14303)
601 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
602 (octave-comment-start-skip): Properly anchored.
604 2013-05-17 Leo Liu <sdl.web@gmail.com>
606 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
607 Clean up when turned off. (Bug#14395)
608 (smie--highlight-matching-block-overlay): No longer buffer-local.
609 (smie-highlight-matching-block): Adjust.
611 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
613 Doc string fix for "nanoseconds" (Bug#14406).
614 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
615 Fix doc string typo that had "nanoseconds" instead of "microseconds".
617 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
619 * calc/calc-units.el (math-extract-units): Preserve powers
622 2013-05-17 Leo Liu <sdl.web@gmail.com>
624 * subr.el (delete-consecutive-dups): New function.
625 * ido.el (ido-set-matches-1): Use it.
626 * progmodes/octave.el (inferior-octave-completion-table): Use it.
627 * ido.el (ido-remove-consecutive-dups): Remove.
629 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
631 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
632 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
633 regexp-opt's `words'.
635 2013-05-16 Leo Liu <sdl.web@gmail.com>
637 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
638 (smie--highlight-matching-block-overlay)
639 (smie--highlight-matching-block-lastpos)
640 (smie--highlight-matching-block-timer): New variables.
641 (smie-highlight-matching-block): New function.
642 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
643 (smie-setup): Conditionally enable smie-blink-matching-open.
645 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
647 Sync with upstream verilog-mode r840.
648 * progmodes/verilog-mode.el (verilog-mode-version)
649 (verilog-mode-release-date): Update.
650 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
651 (verilog-sig-tieoff): Fix string error on
652 AUTORESET with colon define, bug594. Reported by Andrew Hou.
653 (verilog-read-decls): Fix parameters confusing
654 AUTOINST interfaces, bug565. Reported by Leith Johnson.
656 2013-05-16 Eli Zaretskii <eliz@gnu.org>
658 * subr.el (reveal-filename): New function.
660 * loadup.el: Compute Emacs executable versions on MS-Windows,
661 where executables have the .exe extension. Add a hard link
662 emacs-XX.YY.ZZ.exe on MS-Windows.
664 * Makefile.in (XARGS_LIMIT): New variable.
665 (custom-deps, finder-data, autoloads)
666 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
667 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
668 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
669 (compile-main): Limit xargs according to $(XARGS_LIMIT).
671 2013-05-16 Leo Liu <sdl.web@gmail.com>
673 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
674 (octave-mode-menu, octave-mode-map): Remove its uses.
676 2013-05-16 Reto Zimmermann <reto@gnu.org>
678 Sync with upstream vhdl mode v3.34.2.
679 * progmodes/vhdl-mode.el: Use `push' throughout.
680 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
681 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
682 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
683 (vhdl-actual-generic-name): New option to derive actual generic name.
684 (vhdl-port-paste-signals): Replace formal by actual generics.
685 (vhdl-beautify): New name for old group vhdl-align. Update users.
686 (vhdl-beautify-options): New option.
687 (vhdl-last-input-event): New compat alias. Use throughout.
688 (vhdl-goto-line): Replace user level function `goto-line'.
689 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
690 vhdl-fix-statement-buffer.
691 (vhdl-create-mode-menu): Add some entries.
692 (vhdl-align-region-groups): Respect vhdl-beautify-options.
693 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
694 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
695 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
696 to force statements on one line.
697 (vhdl-remove-trailing-spaces-region):
698 New, split from vhdl-remove-trailing-spaces.
699 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
700 Respect vhdl-beautify-options.
701 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
702 (vhdl-update-sensitivity-list): Not add with index if exists without.
703 Not include array index with signal. Ignore keywords in comments.
704 (vhdl-get-visible-signals): Regexp tweaks.
705 (vhdl-template-component-inst): Handle empty library.
706 (vhdl-template-type): Add template for 'enum' type.
707 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
708 Use vhdl-replace-string.
709 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
710 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
711 (vhdl-speedbar-initialize): Update for above name change.
712 (vhdl-compose-wire-components): Fix in handling of constants.
713 (vhdl-error-regexp-emacs-alist): New variable.
714 (vhdl-error-regexp-add-emacs): New function;
715 adds support for new compile.el (Emacs 22+)
716 (vhdl-generate-makefile-1): Change target order for single lib. units.
717 Allow use of absolute file names.
719 2013-05-16 Leo Liu <sdl.web@gmail.com>
721 * simple.el (prog-indent-sexp): Indent enclosing defun.
723 2013-05-15 Glenn Morris <rgm@gnu.org>
725 * cus-start.el (show-trailing-whitespace): Move to editing basics.
726 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
727 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
728 (whitespace-highlight): Move to whitespace group.
730 * comint.el (comint-source):
731 * pcmpl-linux.el (pcmpl-linux):
732 * shell.el (shell-faces):
733 * eshell/esh-opt.el (eshell-opt):
734 * international/ccl.el (ccl): Remove empty custom groups.
736 * completion.el (dynamic-completion-mode):
737 * jit-lock.el (jit-lock-debug-mode):
738 * minibuffer.el (completion-in-region-mode):
739 * type-break.el (type-break-mode-line-message-mode)
740 (type-break-query-mode):
741 * emulation/tpu-edt.el (tpu-edt-mode):
742 * progmodes/subword.el (global-subword-mode, global-superword-mode):
743 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
744 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
746 * term/xterm.el (xterm): Change parent group to terminals.
748 * master.el (master): Remove empty custom group.
749 (master-mode): Remove unused :group argument.
750 * textmodes/refill.el (refill): Remove empty custom group.
751 (refill-mode): Remove unused :group argument.
753 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
755 * cus-dep.el: Provide a feature.
756 (custom-make-dependencies): Ignore dotfiles (dir-locals).
757 Don't mistakenly ignore files whose basenames match a basename
758 from preloaded-file-list (eg cedet/ede/simple.el).
759 Add a fallback method for getting :group.
761 2013-05-15 Juri Linkov <juri@jurta.org>
763 * isearch.el (isearch-char-by-name): Rename from
764 `isearch-insert-char-by-name'. Doc fix.
765 (isearch-forward): Mention `isearch-char-by-name' in
766 the docstring. (Bug#13348)
768 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
769 `exit-minibuffer' instead of
770 `isearch-nonincremental-exit-minibuffer'.
771 (isearch-edit-string): Remove mention of
772 `isearch-nonincremental-exit-minibuffer' from docstring.
773 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
774 (isearch-forward-exit-minibuffer)
775 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
777 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
779 * loadup.el: Just use unversioned DOC.
781 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
782 literals as extending to EOB.
783 (nxml-last-fontify-end): Remove unused variable.
784 (nxml-after-change1): Use with-silent-modifications.
785 (nxml-extend-after-change-region): Simplify.
786 (nxml-extend-after-change-region1): Remove function.
787 (nxml-after-change1): Don't adjust for dependent regions.
788 (nxml-fontify-matcher): Simplify.
789 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
790 (xmltok-add-dependent): Remove function.
791 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
792 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
793 (xmltok-scan-prolog-after-processing-instruction-open): Treat
794 unclosed <[[, <?, comment, and other literals as extending to EOB.
795 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
796 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
798 (rng-do-some-validation-1): Don't mark dependent regions.
799 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
800 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
801 (nxml-clear-dependent-regions): Remove functions.
802 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
803 (nxml-ensure-scan-up-to-date):
804 Don't clear&mark dependent regions.
806 2013-05-15 Leo Liu <sdl.web@gmail.com>
808 * progmodes/octave.el (octave-goto-function-definition):
809 Improve and fix callers.
811 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
813 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
814 the setter (bug#14387).
816 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
817 surrounding group (bug#14402).
819 2013-05-14 Juri Linkov <juri@jurta.org>
821 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
824 2013-05-14 Glenn Morris <rgm@gnu.org>
826 * progmodes/f90.el (f90-imenu-generic-expression):
827 Fix typo in 2013-05-08 change. (Bug#14402)
829 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
831 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
832 Remove signals for which replies are never received.
834 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
836 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
837 (gdb-handler-alist, gdb-handler-number): Remove variables.
838 (gdb-handler-list): New variable.
839 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
840 (gdb-pending-handler-p, gdb-handle-reply)
841 (gdb-remove-all-pending-triggers): New functions.
842 (gdb-discard-unordered-replies): New defcustom.
843 (gdb-handler): New defstruct.
844 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
845 instead of gdb-pending-triggers. Update docstring.
846 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
847 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
848 (gdb-var-update-handler, def-gdb-auto-update-trigger)
849 (def-gdb-auto-update-handler, gdb-get-changed-registers)
850 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
851 (gdb-frame-handler): Pending triggers are now automatically managed.
852 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
854 (gdb-input): Automatically handles pending triggers. Update docstring.
855 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
856 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
858 (gdb-done-or-error): Now use gdb-handle-reply.
860 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
862 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
865 2013-05-14 Glenn Morris <rgm@gnu.org>
867 * subr.el (user-emacs-directory-warning): New option.
868 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
870 2013-05-14 Leo Liu <sdl.web@gmail.com>
872 * progmodes/octave.el (octave-font-lock-keywords): Fix error
874 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
875 (octave-font-lock-texinfo-comment): Fix invalid search bound
876 error: wrong side of point.
878 2013-05-14 Glenn Morris <rgm@gnu.org>
880 * progmodes/flymake.el (flymake-xml-program): New option.
881 (flymake-xml-init): Use it.
883 * term/xterm.el: Provide a feature.
885 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
887 2013-05-13 Glenn Morris <rgm@gnu.org>
889 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
890 Add compat aliases as a hack workaround. (Bug#14384)
892 2013-05-13 Leo Liu <sdl.web@gmail.com>
894 * progmodes/octave.el (octave-indent-comment): Fix indentation for
896 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
898 (octave-comment-start-skip): Include %!.
899 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
901 2013-05-12 Leo Liu <sdl.web@gmail.com>
903 * progmodes/octave.el (inferior-octave-startup): Store the value
904 of __octave_srcdir__ for octave-source-directories.
905 (inferior-octave-check-process): New function refactored out of
906 inferior-octave-send-list-and-digest.
907 (octave-source-directories)
908 (octave-find-definition-filename-function): New variables.
909 (octave-source-directories)
910 (octave-find-definition-default-filename): New functions.
911 (octave-find-definition): Improve to find functions implemented in C++.
913 2013-05-12 Glenn Morris <rgm@gnu.org>
915 * calendar/diary-lib.el (diary-outlook-format-1):
916 Don't include dayname in the output. (Bug#14349)
918 2013-05-11 Glenn Morris <rgm@gnu.org>
920 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
922 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
923 Treat cc-provide like provide.
925 2013-05-11 Kevin Ryde <user42@zip.com.au>
927 * cus-dep.el (custom-make-dependencies):
928 Use generated-autoload-load-name for the sake of files such
929 such cedet/semantic/bovine/c.el, where the base file name
930 is not in load-path. (Bug#5277)
932 2013-05-11 Glenn Morris <rgm@gnu.org>
934 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
937 2013-05-11 Leo Liu <sdl.web@gmail.com>
939 * progmodes/octave.el (octave-indent-comment): Improve.
940 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
941 (octave-eldoc-function-signatures, octave-eldoc-function):
943 (octave-mode, inferior-octave-mode): Add eldoc support.
945 2013-05-11 Richard Stallman <rms@gnu.org>
947 * epa.el (epa-decrypt-file): Take output file name as argument
948 and read it using `interactive'.
950 2013-05-11 Leo Liu <sdl.web@gmail.com>
952 * progmodes/octave.el (octave-beginning-of-line)
953 (octave-end-of-line): Check before using up-list because it jumps
954 out of more syntactic contructs since moving to smie.
955 (octave-indent-comment): New function.
956 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
957 (octave-begin-keywords, octave-end-keywords)
958 (octave-reserved-words, octave-smie-bnf-table)
959 (octave-smie-rules): Add new keywords from Octave 3.6.4.
961 2013-05-11 Glenn Morris <rgm@gnu.org>
963 * faces.el (internal-face-x-get-resource):
964 * frame.el (ns-display-monitor-attributes-list):
965 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
967 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
969 * calc/calc-menu.el: Make it loadable in isolation.
971 * net/eudcb-bbdb.el: Make it loadable without bbdb.
972 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
973 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
974 (eudc-bbdb-query-internal): Require 'bbdb.
976 * lpr.el (lpr-headers-switches):
977 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
979 * progmodes/sql.el (sql-login-params): Fix and improve :type.
981 * emulation/edt-mapper.el: In batch mode, error rather than hang.
983 * term.el (term-set-escape-char): Make it idempotent.
985 2013-05-10 Leo Liu <sdl.web@gmail.com>
987 * progmodes/octave.el (inferior-octave-completion-table):
988 No longer a function and all uses changed. Use cache to speed up
989 completion due to bug#11906.
990 (octave-beginning-of-defun): Re-write to be more general.
992 2013-05-10 Glenn Morris <rgm@gnu.org>
994 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
996 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
998 * comint.el (comint-redirect-send-command-to-process): Use :around
999 rather than :override for comint-redirect-filter.
1000 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
1001 Call it instead of comint-redirect-original-filter-function (which
1002 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
1004 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
1006 * frame.el (display-monitor-attributes-list): Add NS case.
1007 (ns-display-monitor-attributes-list): Declare.
1009 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
1011 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
1013 2013-05-09 Glenn Morris <rgm@gnu.org>
1015 * international/fontset.el (vertical-centering-font-regexp):
1018 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
1020 * bookmark.el (bookmark-search-delay):
1021 * cus-start.el (vertical-centering-font-regexp):
1022 * ps-mule.el (ps-mule-font-info-database-default):
1023 * ps-print.el (ps-default-fg, ps-default-bg):
1024 * type-break.el (type-break-good-break-interval):
1025 * whitespace.el (whitespace-indentation-regexp)
1026 (whitespace-space-after-tab-regexp):
1027 * emacs-lisp/testcover.el (testcover-1value-functions)
1028 (testcover-noreturn-functions, testcover-progn-functions)
1029 (testcover-prog1-functions):
1030 * emulation/viper-init.el (viper-emacs-state-cursor-color):
1031 * eshell/em-glob.el (eshell-glob-translate-alist):
1032 * play/tetris.el (tetris-tty-colors):
1033 * progmodes/cpp.el (cpp-face-default-list):
1034 * progmodes/flymake.el (flymake-allowed-file-name-masks):
1035 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
1036 (idlwave-help-browser-generic-args):
1037 * progmodes/make-mode.el (makefile-special-targets-list):
1038 * progmodes/python.el (python-shell-virtualenv-path):
1039 * progmodes/verilog-mode.el (verilog-active-low-regexp)
1040 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
1041 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
1042 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
1043 * textmodes/reftex-vars.el (reftex-format-label-function):
1044 * textmodes/remember.el (remember-diary-file): Fix custom types.
1046 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
1049 2013-05-09 Leo Liu <sdl.web@gmail.com>
1051 * progmodes/octave.el (inferior-octave-completion-at-point):
1052 Restore file completion. (Bug#14300)
1053 (inferior-octave-startup): Fix incorrect highlighting for the
1056 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1058 * progmodes/ruby-mode.el: First cut at SMIE support.
1059 (ruby-use-smie): New var.
1060 (ruby-smie-grammar): New constant.
1061 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
1062 (ruby-smie--forward-token, ruby-smie--backward-token)
1063 (ruby-smie-rules): New functions.
1064 (ruby-mode-variables): Setup SMIE if applicable.
1066 2013-05-08 Eli Zaretskii <eliz@gnu.org>
1068 * simple.el (line-move-visual): Signal beginning/end of buffer
1069 only if vertical-motion moved less than it was requested. Avoids
1070 silly incorrect error messages when there are display strings with
1071 multiple newlines at EOL.
1073 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1075 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
1076 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
1077 (prolog-char-quote-workaround):
1078 * progmodes/cperl-mode.el (cperl-under-as-char):
1079 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
1081 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1083 (vhdl-mode-syntax-table-init): Remove.
1085 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
1088 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
1090 (ld-script-font-lock-keywords):
1091 Change regexps to use things like \_< and \_>.
1093 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
1094 Change all regexps to use things like \_< and \_>.
1096 * progmodes/autoconf.el (autoconf-definition-regexp)
1097 (autoconf-font-lock-keywords, autoconf-current-defun-function):
1098 Handle a _ with symbol syntax.
1099 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
1101 * progmodes/ada-mode.el (ada-mode-abbrev-table):
1102 Consolidate declaration.
1103 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
1105 (ada-create-syntax-table): Remove.
1106 (ada-capitalize-word): Don't mess with the syntax of "_" since it
1107 already has the right syntax nowadays.
1108 (ada-goto-next-word): Don't change the syntax of "_".
1110 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
1113 2013-05-08 Sam Steingold <sds@gnu.org>
1115 * thingatpt.el (thing-at-point): Accept optional second argument
1116 NO-PROPERTIES to strip the text properties from the return value.
1117 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
1118 to `thing-at-point' instead of stripping the properties ourselves.
1119 Also, when `thing-at-point' fails to find a url, prepend "http://"
1120 to the filename at point on the assumption that the user is
1121 pointing at something like gnu.org/gnu.
1123 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
1125 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1126 * faces.el (crm-separator):
1127 Silence byte-compiler.
1129 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
1130 (tool-bar-map): Remove unneeded defvars.
1132 2013-05-08 Leo Liu <sdl.web@gmail.com>
1134 Re-work a fix for bug#10994 based on Le Wang's patch.
1135 * ido.el (ido-remove-consecutive-dups): New helper.
1136 (ido-completing-read): Use it.
1137 (ido-chop): Revert fix for bug#10994.
1139 2013-05-08 Adam Spiers <emacs@adamspiers.org>
1141 * cus-edit.el (custom-save-variables):
1142 Pretty-print long values. (Bug#14187)
1144 2013-05-08 Glenn Morris <rgm@gnu.org>
1146 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
1147 (m4-mode-syntax-table): Init in the defvar.
1148 (m4-mode-abbrev-table): Let define-derived-mode define it.
1150 2013-05-08 Tom Tromey <tromey@redhat.com>
1152 * progmodes/m4-mode.el (m4-mode-syntax-table):
1153 Do not treat "_" as word constituent. (Bug#14167)
1155 2013-05-07 Glenn Morris <rgm@gnu.org>
1157 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
1158 Remove explicit eshell-isearch-cancel-map.
1160 * progmodes/f90.el (f90-smart-end-names): New option.
1161 (f90-smart-end): Doc fix.
1162 (f90-end-block-optional-name): New constant.
1163 (f90-block-match): Respect f90-smart-end-names.
1165 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1167 * progmodes/octave.el (octave-smie-forward-token): Be more careful
1168 about implicit semi-colons (bug#14218).
1170 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1172 * frame.el (display-monitor-attributes-list)
1173 (frame-monitor-attributes): New functions.
1175 2013-05-06 Leo Liu <sdl.web@gmail.com>
1177 * progmodes/octave.el (octave-syntax-propertize-function): Change
1178 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
1179 (octave-font-lock-keywords): Use octave-operator-regexp.
1180 (octave-completion-at-point): Rename from
1181 octave-completion-at-point-function.
1182 (inferior-octave-directory-tracker): Robustify.
1183 (octave-text-functions): Remove and fix its uses. No such things
1186 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1188 * emacs-lisp/trace.el (trace--display-buffer): New function.
1189 (trace-make-advice): Use it.
1191 2013-05-06 Juri Linkov <juri@jurta.org>
1193 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
1194 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
1196 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
1197 in the help string. (Bug#12985)
1199 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1201 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
1203 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1205 * progmodes/perl-mode.el: Add support for here documents.
1206 (perl-syntax-propertize-function): Match here-doc markers.
1207 (perl-syntax-propertize-special-constructs): Find their end.
1208 (perl-imenu-generic-expression): Use [:alnum:].
1210 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
1211 (advice--add-function): Refresh the advice if already present
1214 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
1216 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
1218 2013-05-06 Glenn Morris <rgm@gnu.org>
1220 * w32-fns.el (w32-charset-info-alist): Declare.
1222 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
1223 of its defcustom properties.
1224 (eshell-cmpl-initialize): No need to load pcomplete.
1226 * generic-x.el: No need to require comint when compiling.
1228 * net/eudc-export.el: Make it loadable without bbdb.
1229 (top-level): Use require rather than load-library.
1230 (eudc-create-bbdb-record, eudc-bbdbify-phone)
1231 (eudc-batch-export-records-to-bbdb)
1232 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
1235 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1237 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
1238 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
1239 some tweaks, instead.
1241 2013-05-05 Leo Liu <sdl.web@gmail.com>
1243 * progmodes/octave.el (octave-font-lock-keywords)
1244 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
1245 (inferior-octave-send-list-and-digest): Improve error message.
1246 (octave-mode, inferior-octave-mode): Use setq-local.
1247 (octave-help): Set info-lookup-mode.
1249 2013-05-05 Richard Stallman <rms@gnu.org>
1251 * vc/compare-w.el (compare-windows-whitespace):
1252 Treat no-break space as whitespace.
1254 * mail/rmailsum.el (rmail-summary-rmail-update):
1255 Detect empty summary and don't change selected message.
1256 (rmail-summary-goto-msg): Likewise.
1258 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
1259 Doc fixes, rename args.
1261 2013-05-05 Alan Mackenzie <acm@muc.de>
1263 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
1265 2013-05-05 Juri Linkov <juri@jurta.org>
1267 * info.el (Info-read-subfile): Use (point-min) instead of (point)
1268 to not add the length of the summary segment to the return value.
1271 2013-05-05 Leo Liu <sdl.web@gmail.com>
1273 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
1274 (inferior-octave-output-filter): Remove.
1275 (octave-send-region, inferior-octave-startup): Fix callers.
1276 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
1277 (octave-binary-file-extensions): New user variable.
1278 (octave-find-definition): Confirm if opening binary files.
1279 (octave-help-file): Use octave-find-definition to get the binary
1281 (octave-help): Adjust for octave-help-file change.
1283 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1285 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
1286 Merge the two entries that handle function definitions.
1287 (pascal--syntax-propertize): New const.
1288 (pascal-mode): Use it. Use setq-local.
1290 2013-05-04 Glenn Morris <rgm@gnu.org>
1292 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
1293 (diary-from-outlook): Respect diary-from-outlook-function.
1295 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1297 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
1298 Move the declaration from C.
1299 (read-minibuffer, eval-minibuffer): Move from C.
1300 (completion-setup-function): Avoid minibuffer-completion-contents.
1302 2013-05-03 Leo Liu <sdl.web@gmail.com>
1304 * progmodes/octave.el (octave-font-lock-keywords): Do not
1305 dehighlight 'end' in comments or strings.
1306 (octave-completing-read, octave-goto-function-definition):
1308 (octave-help-buffer): New user variable.
1309 (octave-help-file, octave-help-function): New button types.
1310 (octave-help): New command and bind it to C-h ;.
1311 (octave-find-definition): New command and bind it to M-.
1312 (user-error): Alias to error if not defined.
1314 2013-05-02 Leo Liu <sdl.web@gmail.com>
1316 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
1318 (octave-font-lock-keywords): Include [ and {.
1320 2013-05-02 Leo Liu <sdl.web@gmail.com>
1322 * progmodes/octave.el (inferior-octave-startup-file): Change default.
1323 (inferior-octave): Remove calling comint-mode and return the buffer.
1324 (inferior-octave-startup): Cosmetic changes.
1326 2013-05-02 Leo Liu <sdl.web@gmail.com>
1328 * progmodes/octave.el (octave-syntax-propertize-function):
1329 Include the case when ' is at line beginning. (Bug#14336)
1331 2013-05-02 Glenn Morris <rgm@gnu.org>
1333 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
1334 * desktop.el (vc-dir-mode): Just autoload it here.
1336 2013-05-02 Alan Mackenzie <acm@muc.de>
1338 Eliminate variable c-standard-font-lock-fontify-region-function.
1339 * progmodes/cc-mode.el
1340 (c-standard-font-lock-fontify-region-function): Remove.
1341 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
1343 2013-05-01 Leo Liu <sdl.web@gmail.com>
1345 * progmodes/octave.el: Compatible with older emacs-24 releases.
1346 (inferior-octave-has-built-in-variables): Remove. Built-in
1347 variables were removed from Octave in 2007.
1348 (inferior-octave-startup): Fix uses.
1349 (comint-line-beginning-position): Remove compatibility code for
1352 2013-05-01 Juri Linkov <juri@jurta.org>
1354 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
1356 2013-05-01 Juri Linkov <juri@jurta.org>
1358 * comint.el (comint-previous-matching-input): Don't print message
1359 "History item: %d" when `isearch-mode' is active.
1360 (comint-history-isearch-message): Print message "History item: %d"
1361 when `comint-input-ring-index' is not empty and this function is
1362 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
1364 2013-05-01 Leo Liu <sdl.web@gmail.com>
1366 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
1367 definitions. Use completion-at-point to insert keywords.
1368 (octave-abbrev-start): Remove.
1369 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
1371 2013-04-30 Leo Liu <sdl.web@gmail.com>
1373 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
1376 2013-04-30 Alan Mackenzie <acm@muc.de>
1378 Handle arbitrarily long C++ member initialisation lists.
1379 * progmodes/cc-engine.el (c-back-over-member-initializers):
1381 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
1382 (most) member init lists.
1384 2013-04-30 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
1386 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
1389 2013-04-30 Leo Liu <sdl.web@gmail.com>
1391 * progmodes/octave.el (octave-variables): Remove. No builtin
1392 variables any more. All converted to functions.
1393 (octave-font-lock-keywords, octave-completion-at-point-function):
1395 (octave-font-lock-texinfo-comment): New user variable.
1396 (octave-texinfo-font-lock-keywords): New variable for texinfo
1398 (octave-function-comment-block): New face.
1399 (octave-font-lock-texinfo-comment): New function.
1400 (octave-mode): Font lock texinfo comment block.
1402 2013-04-29 Leo Liu <sdl.web@gmail.com>
1404 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
1405 indexing expression.
1406 (octave-continuation-string): Do not use \.
1407 (inferior-octave-complete-impossible): Remove.
1408 (inferior-octave-completion-table)
1409 (inferior-octave-completion-at-point): Remove its uses.
1410 (inferior-octave-startup): completion_matches was introduced to
1411 Octave in 1996 so safe to assume it.
1412 (octave-function-file-comment): Improve to follow how Octave does it.
1413 (octave-update-function-file-comment): Tweak.
1415 2013-04-29 Leo Liu <sdl.web@gmail.com>
1417 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
1418 (inferior-octave-startup): Remove inferior-octave-startup-hook.
1419 (octave-function-file-comment): Fix typo.
1420 (octave-sync-function-file-names): Use read-char-choice.
1422 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
1424 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
1425 to t for the less important warnings.
1427 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1429 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
1431 2013-04-27 Glenn Morris <rgm@gnu.org>
1433 * vc/log-view.el (log-view-current-entry):
1434 Treat "---" separator lines as part of the following rev. (Bug#14169)
1436 2013-04-27 Juri Linkov <juri@jurta.org>
1438 * subr.el (read-number): Doc fix about using it by interactive
1439 code letter `n'. (Bug#14254)
1441 2013-04-27 Juri Linkov <juri@jurta.org>
1443 * desktop.el (desktop-auto-save-timeout): New option.
1444 (desktop-file-checksum): New variable.
1445 (desktop-save): Add optional arg `auto-save' and don't auto-save
1447 (desktop-auto-save-timer): New variable.
1448 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
1449 (after-init-hook): Call `desktop-auto-save-set-timer'.
1450 Suggested by Reuben Thomas <rrt@sc3d.org> in
1451 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
1453 2013-04-27 Leo Liu <sdl.web@gmail.com>
1455 * progmodes/octave.el (octave-function-file-p)
1456 (octave-skip-comment-forward, octave-function-file-comment)
1457 (octave-update-function-file-comment): New functions.
1458 (octave-mode-map): Bind C-c ; to
1459 octave-update-function-file-comment.
1460 (octave-mode-menu): Add octave-update-function-file-comment.
1461 (octave-mode, inferior-octave-mode): Fix doc-string.
1462 (octave-insert-defun): Conform to Octave's coding convention.
1465 * files.el (basic-save-buffer): Don't let errors in
1466 before-save-hook prevent saving buffer.
1468 2013-04-20 Roland Winkler <winkler@gnu.org>
1470 * faces.el (read-face-name): Use completing-read if arg multiple
1473 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
1475 * ls-lisp.el (ls-lisp-insert-directory): If no files are
1476 displayed, move point to after the totals line.
1477 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
1480 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1482 * emacs-lisp/package.el (package-autoload-ensure-default-file):
1483 Add current dir to the load-path.
1484 (package-generate-autoloads): Don't rely on
1485 autoload-ensure-default-file.
1487 2013-04-26 Reuben Thomas <rrt@sc3d.org>
1489 * textmodes/remember.el (remember-store-in-files): Document that
1490 the file name format is passed to `format-time-string'.
1492 2013-04-26 Leo Liu <sdl.web@gmail.com>
1494 * progmodes/octave.el (octave-sync-function-file-names): New function.
1495 (octave-mode): Use it in before-save-hook.
1497 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1499 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
1502 * progmodes/octave.el (octave-smie-forward-token): Properly skip
1503 \n and comment, even if it's not an implicit ; (bug#14218).
1505 2013-04-26 Glenn Morris <rgm@gnu.org>
1507 * subr.el (read-number): Once more use `read' rather than
1508 `string-to-number', to trap non-numeric input. (Bug#14254)
1510 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
1512 * emacs-lisp/syntax.el (syntax-propertize-multiline):
1513 Use `syntax-multiline' text property consistently instead of
1514 `font-lock-multiline'. (bug#14237).
1516 2013-04-26 Glenn Morris <rgm@gnu.org>
1518 * emacs-lisp/shadow.el (list-load-path-shadows):
1519 No longer necessary to check for duplicate simple.el, since
1520 2012-07-07 change to init_lread to not include installation lisp
1521 directories in load-path when running uninstalled. (Bug#14270)
1523 2013-04-26 Leo Liu <sdl.web@gmail.com>
1525 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
1526 (octave-mode, inferior-octave-mode): Use setq-local.
1527 (octave-not-in-string-or-comment-p): Rename to
1528 octave-in-string-or-comment-p.
1529 (octave-in-comment-p, octave-in-string-p)
1530 (octave-in-string-or-comment-p): Replace defsubst with defun.
1532 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
1534 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
1536 2013-04-25 Bastien Guerry <bzg@gnu.org>
1538 * textmodes/remember.el (remember-data-directory)
1539 (remember-directory-file-name-format): Fix custom types.
1541 2013-04-25 Leo Liu <sdl.web@gmail.com>
1543 * progmodes/octave.el (octave-completion-at-point-function):
1544 Make use of inferior octave process.
1545 (octave-initialize-completions): Remove.
1546 (inferior-octave-completion-table): New function.
1547 (inferior-octave-completion-at-point): Use it.
1548 (octave-completion-alist): Remove.
1550 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1552 * progmodes/opascal.el: Use font-lock and syntax-propertize.
1553 (opascal-mode-syntax-table): New var.
1554 (opascal-literal-kind, opascal-is-literal-end)
1555 (opascal-literal-token-at): Rewrite.
1556 (opascal--literal-start-re, opascal-font-lock-keywords)
1557 (opascal--syntax-propertize): New constants.
1558 (opascal-font-lock-defaults): Adjust.
1559 (opascal-mode): Use them. Set comment-<foo> variables as well.
1560 (delphi-comment-face, opascal-comment-face, delphi-string-face)
1561 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
1562 (delphi-other-face, opascal-other-face): Remove face variables.
1563 (opascal-save-state): Remove macro.
1564 (opascal-fontifying-progress-step): Remove constant.
1565 (opascal--ignore-changes): Remove var.
1566 (opascal-set-token-property, opascal-parse-next-literal)
1567 (opascal-is-stable-literal, opascal-complete-literal)
1568 (opascal-is-literal-start, opascal-face-of)
1569 (opascal-parse-region, opascal-parse-region-until-stable)
1570 (opascal-fontify-region, opascal-after-change)
1571 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
1572 (opascal-debug-parse-region, opascal-debug-parse-window)
1573 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
1574 (opascal-debug-fontify-buffer): Remove.
1575 (opascal-debug-mode-map): Adjust accordingly.
1577 2013-04-25 Leo Liu <sdl.web@gmail.com>
1579 Merge octave-mod.el and octave-inf.el into octave.el with some
1581 * progmodes/octave.el: New file renamed from octave-mod.el.
1582 * progmodes/octave-inf.el: Merged into octave.el.
1583 * progmodes/octave-mod.el: Renamed to octave.el.
1585 2013-04-25 Tassilo Horn <tsdh@gnu.org>
1587 * textmodes/reftex-vars.el
1588 (reftex-label-ignored-macros-and-environments): New defcustom.
1590 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
1592 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1594 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
1595 (smie-indent-keyword): Improve the check to ensure that the next
1596 comment is really on the same line.
1597 (smie-indent-comment): Don't align with a subsequent closer (or eob).
1599 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
1600 semi-colons if the line is not otherwise empty (bug#14218).
1602 2013-04-25 Glenn Morris <rgm@gnu.org>
1604 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
1606 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1608 * progmodes/opascal.el (opascal-set-token-property): Rename from
1609 opascal-set-text-properties and only set `token' (bug#14134).
1610 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
1611 (opascal-literal-text-properties): Remove.
1612 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
1615 2013-04-24 Reuben Thomas <rrt@sc3d.org>
1617 * textmodes/remember.el (remember-handler-functions): Add an
1618 option for a new handler `remember-store-in-files'.
1619 (remember-data-directory, remember-directory-file-name-format):
1621 (remember-store-in-files): New function to store remember notes
1622 as separate files within a directory.
1624 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
1626 * progmodes/compile.el (compilation-next-error-function):
1627 Pass "formats" to compilation-find-file (bug#11777).
1629 2013-04-24 Glenn Morris <rgm@gnu.org>
1631 * vc/vc-bzr.el (vc-bzr-print-log):
1632 * vc/vc-hg.el (vc-hg-print-log):
1633 * vc/vc-svn.el (vc-svn-print-log):
1634 Fix START-REVISION with LIMIT != 1. (Bug#14168)
1636 * vc/vc-bzr.el (vc-bzr-print-log):
1637 * vc/vc-cvs.el (vc-cvs-print-log):
1638 * vc/vc-git.el (vc-git-print-log):
1639 * vc/vc-hg.el (vc-hg-print-log):
1640 * vc/vc-mtn.el (vc-mtn-print-log):
1641 * vc/vc-rcs.el (vc-rcs-print-log):
1642 * vc/vc-sccs.el (vc-sccs-print-log):
1643 * vc/vc-svn.el (vc-svn-print-log):
1644 * vc/vc.el (vc-print-log-internal): Doc fixes.
1646 2013-04-23 Glenn Morris <rgm@gnu.org>
1648 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
1649 Remove venerable code attempting to avoid substitute-command-keys.
1651 2013-04-23 Tassilo Horn <tsdh@gnu.org>
1653 * textmodes/reftex-vars.el (reftex-label-regexps):
1654 Call `reftex-compile-variables' after changes to this variable.
1656 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1658 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
1659 Use lexical-binding.
1660 (jit-lock-force-redisplay): Use markers, check buffer's continued
1661 existence and beware narrowed buffers.
1662 (jit-lock-fontify-now): Adjust call accordingly.
1664 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1666 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
1667 to avoid misleading the user.
1669 2013-04-22 Leo Liu <sdl.web@gmail.com>
1671 * info-look.el: Prefer latex2e.info. (Bug#14240)
1673 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
1675 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
1677 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
1678 * net/tramp.el (tramp-call-process): ... here
1679 (tramp-set-completion-function, tramp-parse-putty):
1680 * net/tramp-adb.el (tramp-adb-execute-adb-command):
1681 * net/tramp-gvfs.el (tramp-gvfs-send-command):
1682 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1683 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
1684 (tramp-call-local-coding-command): Use `tramp-call-process'
1685 instead of `tramp-compat-call-process'.
1687 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
1688 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
1689 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
1690 (tramp-find-inline-compress): Improve traces.
1691 (tramp-maybe-send-script): Check for Perl binary.
1692 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
1694 2013-04-22 Daiki Ueno <ueno@gnu.org>
1696 * epg.el (epg-context-pinentry-mode): New function.
1697 (epg-context-set-pinentry-mode): New function.
1698 (epg--start): Pass --pinentry-mode option to gpg command.
1700 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
1702 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
1703 `comint-dynamic-complete' is obsolete since 24.1, replaced by
1704 `completion-at-point'. (Bug#13774)
1706 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
1707 default key binding for `describe-distribution' has been moved to
1708 `C-h C-o'. (Bug#13970)
1710 2013-04-21 Glenn Morris <rgm@gnu.org>
1712 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
1714 (vc-print-log): Clarify interactive prompt.
1716 2013-04-20 Glenn Morris <rgm@gnu.org>
1718 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1719 No longer include timestamp etc information.
1721 2013-04-20 Roland Winkler <winkler@gnu.org>
1723 * faces.el (read-face-name): Bug fix, return just one face if arg
1724 multiple is nil. (Bug#14209)
1726 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1728 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
1729 (remove-function): Autoload.
1731 * comint.el (comint-redirect-original-filter-function): Remove.
1732 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
1733 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
1734 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
1735 * progmodes/prolog.el (prolog-consult-compile):
1736 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
1737 Use add/remove-function instead.
1738 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
1739 (gud-tooltip-process-output, gud-tooltip-tips):
1740 Use add/remove-function instead.
1741 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
1742 (scheme-interaction-mode, exit-scheme-interaction-mode):
1743 Use add/remove-function instead.
1745 * vc/vc-dispatcher.el: Use lexical-binding.
1746 (vc--process-sentinel): Rename from vc-process-sentinel.
1747 Change last arg to be the code to run. Don't use vc-previous-sentinel
1748 and vc-sentinel-commands any more.
1749 (vc-exec-after): Allow code to be a function. Use add/remove-function.
1750 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
1752 2013-04-19 Masatake YAMATO <yamato@redhat.com>
1754 * progmodes/sh-script.el (sh-imenu-generic-expression):
1755 Handle function names with a single character. (Bug#14111)
1757 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
1759 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
1760 for subroutines defined in an eval (bug#14182).
1762 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1764 * bookmark.el (bookmark-completing-read): Improve handling of empty
1767 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1769 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
1771 2013-04-19 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1773 New faster Imenu implementation (bug#14058).
1774 * progmodes/python.el:
1775 (python-imenu-prev-index-position):
1776 (python-imenu-format-item-label-function)
1777 (python-imenu-format-parent-item-label-function)
1778 (python-imenu-format-parent-item-jump-label-function):
1780 (python-imenu-format-item-label)
1781 (python-imenu-format-parent-item-label)
1782 (python-imenu-format-parent-item-jump-label)
1783 (python-imenu--put-parent, python-imenu--build-tree)
1784 (python-imenu-create-index, python-imenu-create-flat-index)
1785 (python-util-popn): New functions.
1786 (python-mode): Set imenu-create-index-function to
1787 python-imenu-create-index.
1789 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1791 * winner.el (winner-active-region): Use region-active-p, activate-mark
1792 and deactivate-mark (bug#14225).
1794 * simple.el (deactivate-mark): Don't inline it.
1796 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
1798 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
1800 2013-04-18 Tassilo Horn <tsdh@gnu.org>
1802 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
1803 file extensions from the archive-mode entry in order to prefer
1804 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
1806 2013-04-18 Leo Liu <sdl.web@gmail.com>
1808 * bindings.el (help-event-list): Add ?\?.
1810 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1812 * subr.el (with-wrapper-hook): Declare obsolete.
1813 * simple.el (filter-buffer-substring-function): New hook.
1814 (filter-buffer-substring): Use it.
1815 (filter-buffer-substring-functions): Mark obsolete.
1816 * minibuffer.el (completion-in-region-function): New hook.
1817 (completion-in-region): Use it.
1818 (completion-in-region-functions): Mark obsolete.
1819 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
1820 * abbrev.el (abbrev-expand-function): New hook.
1821 (expand-abbrev): Use it.
1822 (abbrev-expand-functions): Mark obsolete.
1823 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
1826 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1828 * progmodes/python.el (python-nav--syntactically): Fix cornercases
1829 and do not care about match data.
1831 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1833 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
1834 completion tables when completing error conditions and
1835 `declare' arguments.
1836 (lisp-complete-symbol, field-complete): Mark as obsolete.
1837 (check-parens): Unmatched parens are user errors.
1838 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
1840 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
1842 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
1843 command changed buffer (ie. `flyspell-pre-buffer' is not current
1844 buffer), which prevents making decisions based on invalid value of
1845 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
1846 cause an error when `flyspell-pre-point' was nil after switching
1848 (flyspell-post-command-hook): No longer needs to change buffers when
1849 checking pre-word. While at it remove unnecessary progn.
1851 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1853 * textmodes/ispell.el (ispell-add-per-file-word-list):
1854 Fix `flyspell-correct-word-before-point' error when accepting
1855 words and `coment-padding' is an integer by using
1856 `comment-normalize-vars' (Bug #14214).
1858 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1860 New defun movement commands.
1861 * progmodes/python.el (python-nav--syntactically)
1862 (python-nav--forward-defun, python-nav-backward-defun)
1863 (python-nav-forward-defun): New functions.
1865 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1867 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
1868 (python-syntax-context): Use named compiler-macro for backwards
1869 compatibility with Emacs 24.x.
1871 2013-04-17 Leo Liu <sdl.web@gmail.com>
1873 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
1874 octave-hide-process-buffer.
1876 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1878 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
1881 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
1883 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
1884 Fix adjustment of offset when receiving incomplete responses from GDB
1887 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1889 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
1890 python-mode-abbrev-table.
1891 (python-skeleton-define): Adjust accordingly.
1892 (python-mode-abbrev-table): New table that inherits from it so that
1893 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
1895 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
1896 (abbrev-symbol): Use it.
1897 (abbrev--before-point): Use it since we already handle inheritance.
1899 2013-04-16 Leo Liu <sdl.web@gmail.com>
1901 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
1902 binding to info-lookup-symbol.
1904 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
1906 * minibuffer.el (completion--twq-all):
1907 * term/ns-win.el (ns-initialize-window-system):
1908 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
1910 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1912 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
1915 * doc-view.el (doc-view-start-process): Handle url-handler directories.
1917 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
1919 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
1920 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
1922 (ruby-end-of-defun): Remove the unused arg, change the docstring
1923 to reflect that this function is only used as the value of
1924 `end-of-defun-function'.
1925 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
1926 to reflect an earlier change that beginning/end-of-defun functions
1927 jump between methods in a class definition, as well as top-level
1930 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1932 * minibuffer.el (minibuffer-complete): Don't just scroll
1933 a *Completions* that's been iconified.
1934 (minibuffer-force-complete): Make sure repetitions do cycle when going
1935 through completion-in-region -> minibuffer-complete.
1937 2013-04-15 Alan Mackenzie <acm@muc.de>
1939 Correct the placement of c-cpp-delimiters when there're #s not at
1942 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
1943 place a submatch around the #.
1944 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
1945 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
1948 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1950 * emacs-lisp/nadvice.el: Properly test names when adding advice.
1951 (advice--member-p): New arg `name'.
1952 (advice--add-function, advice-member-p): Use it (bug#14202).
1954 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
1956 Reformulate java imenu-generic-expression.
1957 The old expression contained ill formed regexps.
1959 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
1960 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
1961 (cc-imenu-java-method-arg-regexp): New defconsts.
1962 (cc-imenu-java-build-type-args-regex): New defun.
1963 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
1964 handling of spaces in the regexp.
1966 2013-03-15 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
1968 * textmodes/ispell.el (ispell-command-loop): Remove
1969 flyspell highlight of a word when ispell accepts it (bug #14178).
1971 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
1973 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
1974 uses code from the previous `ange-ftp-run-real-handler'.
1975 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
1976 only in case that function exist. This is needed for proper
1979 2013-04-15 Tassilo Horn <tsdh@gnu.org>
1981 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
1983 * textmodes/reftex.el (reftex-compile-variables): Use it.
1985 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1987 * files.el (normal-mode): Only use default major-mode if no other mode
1990 * emacs-lisp/trace.el (trace-values): New function.
1992 * files.el: Allow : in local variables (bug#14089).
1993 (hack-local-variable-regexp): New var.
1994 (hack-local-variables-prop-line, hack-local-variables): Use it.
1996 2013-04-13 Roland Winkler <winkler@gnu.org>
1998 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
1999 data before it gets modified by bibtex-beginning-of-entry.
2001 2013-04-13 Roland Winkler <winkler@gnu.org>
2003 * textmodes/bibtex.el (bibtex-url): Doc fix.
2005 2013-04-13 Roland Winkler <winkler@gnu.org>
2007 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
2008 does not visit a BibTeX file, exclude it from the list of buffers
2009 returned by bibtex-initialize.
2011 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
2013 * window.el (split-window): Remove interactive form, since as a
2014 command this function is a special case of split-window-below.
2017 2013-04-12 Roland Winkler <winkler@gnu.org>
2019 * faces.el (read-face-name): Do not override value of arg default.
2020 Allow single faces and strings as default values. Remove those
2021 elements from return value that are not faces.
2022 (describe-face): Simplify.
2023 (face-at-point): New optional args thing and multiple so that this
2024 function can provide the same functionality previously provided by
2026 (make-face-bold, make-face-unbold, make-face-italic)
2027 (make-face-unitalic, make-face-bold-italic, invert-face)
2028 (modify-face, read-face-and-attribute): Use face-at-point.
2030 * cus-edit.el (customize-face, customize-face-other-window)
2031 * cus-theme.el (custom-theme-add-face)
2032 * face-remap.el (buffer-face-set)
2033 * facemenu.el (facemenu-set-face): Use face-at-point.
2035 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
2037 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
2039 2013-04-10 Tassilo Horn <tsdh@gnu.org>
2041 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
2042 off leading { and trailing } from field values.
2044 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2046 * emacs-lisp/timer.el (timer--check): New function.
2047 (timer--time, timer-set-function, timer-event-handler): Use it.
2048 (timer-set-idle-time): Simplify.
2049 (timer--activate): CSE.
2050 (timer-event-handler): Give more info in error message.
2051 (internal-timer-start-idle): New function, moved from C.
2053 * mpc.el (mpc-proc): Add `restart' argument.
2054 (mpc-proc-cmd): Use it.
2055 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
2056 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
2059 2013-04-10 Masatake YAMATO <yamato@redhat.com>
2061 * progmodes/sh-script.el: Implement `sh-mode' own
2062 `add-log-current-defun-function' (bug#14112).
2063 (sh-current-defun-name): New function.
2064 (sh-mode): Use the function.
2066 2013-04-09 Bastien Guerry <bzg@gnu.org>
2068 * simple.el (choose-completion-string): Fix docstring (bug#14163).
2070 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2072 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
2074 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
2077 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
2079 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
2082 2013-04-07 Leo Liu <sdl.web@gmail.com>
2084 * pcmpl-x.el: New file.
2086 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
2088 Do not set x-display-name until X connection is established.
2089 This is needed to prevent from weird situation described at
2090 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
2091 * frame.el (make-frame): Set x-display-name after call to
2092 window system initialization function, not before.
2093 * term/x-win.el (x-initialize-window-system): Add optional
2094 display argument and use it.
2095 * term/w32-win.el (w32-initialize-window-system):
2096 * term/ns-win.el (ns-initialize-window-system):
2097 * term/pc-win.el (msdos-initialize-window-system):
2098 Add compatible optional display argument.
2100 2013-04-06 Eli Zaretskii <eliz@gnu.org>
2102 * files.el (normal-backup-enable-predicate): On MS-Windows and
2103 MS-DOS compare truenames of temporary-file-directory and of the
2104 file, so that 8+3 aliases (usually found in $TEMP on Windows)
2105 don't fail comparison by compare-strings. Also, compare file
2106 names case-insensitively on MS-Windows and MS-DOS.
2108 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2110 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
2111 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
2113 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
2115 * whitespace.el (whitespace-color-on, whitespace-color-off):
2116 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
2118 2013-04-05 Jacek ChrzÄ…szcz <chrzaszcz@mimuw.edu.pl> (tiny change)
2120 * ispell.el (ispell-set-spellchecker-params):
2121 Really set `ispell-args' for all equivs.
2123 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2125 * ido.el (ido-completions): Use extra elements of ido-decorations
2127 (ido-decorations): Update docstring.
2129 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
2131 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2132 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
2133 nil during initialization, in order not to miss changes since the
2134 file was opened. (Bug#14140)
2136 2013-04-05 Leo Liu <sdl.web@gmail.com>
2138 * kmacro.el (kmacro-call-macro): Fix bug#14135.
2140 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
2142 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
2144 2013-04-04 Glenn Morris <rgm@gnu.org>
2146 * electric.el (electric-pair-inhibit-predicate): Add :version.
2148 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2150 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
2151 when a package is required several times (bug#14082).
2153 2013-04-04 Roland Winkler <winkler@gnu.org>
2155 * faces.el (read-face-name): Behave as promised by the docstring.
2156 Assume that arg default is a list of faces.
2157 (describe-face): Call read-face-name with list of default faces.
2159 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2161 * bookmark.el: Fix deletion of bookmarks (bug#13972).
2162 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
2163 (bookmark-bmenu-execute-deletions): Only skip first line if it's
2165 (bookmark-exit-hook-internal): Save even if list is empty.
2167 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
2169 * emacs-lisp/package.el (package-pinned-packages): New var.
2170 (package--add-to-archive-contents): Obey it (bug#14118).
2172 2013-04-03 Alan Mackenzie <acm@muc.de>
2174 Handle `parse-partial-sexp' landing inside a comment opener
2175 (Bug#13244). Also adapt to the new values of element 7 of a parse
2178 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
2179 parameter `not-in-delimiter'. Handle being inside comment opener.
2180 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
2181 character in case we're typing a '*' after a '/'.
2182 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
2183 instead by passing the parameter to c-state-pp-to-literal.
2185 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
2186 for elt. 7 of a parse state.
2188 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
2190 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
2191 * international/latin1-disp.el, international/mule-util.el:
2192 * language/cyril-util.el, language/european.el, language/ind-util.el:
2193 * language/lao-util.el, language/thai.el, language/tibet-util.el:
2194 * language/tibetan.el, language/viet-util.el:
2195 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
2197 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
2199 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
2200 (electric-pair-post-self-insert-function): Use it.
2201 (electric-pair-default-inhibit): New function, extracted from
2202 electric-pair-post-self-insert-function.
2204 2013-03-31 Roland Winkler <winkler@gnu.org>
2206 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
2208 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
2210 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
2212 2013-03-30 FabiĂ¡n Ezequiel Gallina <fabian@anue.biz>
2214 Un-indent after "pass" and "return" statements (Bug#13888)
2215 * progmodes/python.el (python-indent-block-enders): New var.
2216 (python-indent-calculate-indentation): Use it.
2218 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
2220 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
2221 defun. Defining it as defalias could introduce too eager
2222 byte-compiler optimization. (Bug#14030)
2224 2013-03-30 Chong Yidong <cyd@gnu.org>
2226 * iswitchb.el (iswitchb-read-buffer): Fix typo.
2228 2013-03-30 Leo Liu <sdl.web@gmail.com>
2230 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
2231 (kmacro-execute-from-register): Pass the keyboard macro to
2232 kmacro-call-macro or repeating won't work correctly.
2234 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
2236 * progmodes/subword.el: Back to using `forward-symbol'.
2238 * subr.el (forward-whitespace, forward-symbol)
2239 (forward-same-syntax): Move from thingatpt.el.
2241 2013-03-29 Leo Liu <sdl.web@gmail.com>
2243 * kmacro.el (kmacro-to-register): New command.
2244 (kmacro-execute-from-register): New function.
2245 (kmacro-keymap): Bind to 'x'. (Bug#14071)
2247 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
2249 * mpc.el: Use defvar-local and setq-local.
2250 (mpc--proc-connect): Connection failures are not bugs.
2251 (mpc-mode-map): `follow-link' only applies to the buffer's content.
2252 (mpc-volume-map): Bind to the up-events.
2254 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
2256 * progmodes/subword.el (superword-mode): Use `forward-sexp'
2257 instead of `forward-symbol'.
2259 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2261 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
2262 (edebug--recursive-edit): Use it.
2263 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
2264 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
2266 2013-03-28 Leo Liu <sdl.web@gmail.com>
2268 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
2270 2013-03-27 Eli Zaretskii <eliz@gnu.org>
2272 * facemenu.el (list-colors-callback): New defvar.
2273 (list-colors-redisplay): New function.
2274 (list-colors-display): Install list-colors-redisplay as the
2275 revert-buffer-function. (Bug#14063)
2277 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2279 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
2280 and suffixes don't overlap (bug#14061).
2282 * case-table.el: Use lexical-binding.
2283 (case-table-get-table): New function.
2284 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
2286 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
2288 * progmodes/subword.el: Add `superword-mode' to do word motion
2289 over symbol_words (parallels and leverages `subword-mode' which
2290 does word motion inside MixedCaseWords).
2292 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
2294 * eshell/em-unix.el: Move su and sudo to...
2295 * eshell/em-tramp.el: ...Eshell tramp module.
2297 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2299 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
2300 Change return value to be a sexp. Delay `get-buffer' to after
2301 restoring the desktop (bug#13951).
2303 2013-03-26 Leo Liu <sdl.web@gmail.com>
2305 * register.el: Move semantic tag handling back to
2306 cedet/semantic/senator.el. (Bug#14052)
2308 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2310 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
2311 into the prompt either (bug#13963).
2313 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
2315 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
2316 part of "(error-foo)".
2318 2013-03-24 Juri Linkov <juri@jurta.org>
2320 * replace.el (list-matching-lines-prefix-face): New defcustom.
2321 (occur-1): Pass `list-matching-lines-prefix-face' to the function
2322 `occur-engine' if `face-differs-from-default-p' returns t.
2323 (occur-engine): Add `,' inside backquote construct to evaluate
2324 `prefix-face'. Propertize the prefix with the `prefix-face' face.
2325 Pass `prefix-face' to the functions `occur-context-lines' and
2326 `occur-engine-add-prefix'.
2327 (occur-engine-add-prefix, occur-context-lines): Add optional arg
2328 `prefix-face' and propertize the prefix with `prefix-face'.
2331 2013-03-24 Leo Liu <sdl.web@gmail.com>
2333 * nxml/rng-valid.el (rng-validate-while-idle)
2334 (rng-validate-quick-while-idle): Guard against deleted buffer.
2337 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
2338 is the last entry in kill-buffer-hook.
2340 * files.el (kill-buffer-hook): Doc fix.
2342 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
2344 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
2347 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
2349 2013-03-23 Leo Liu <sdl.web@gmail.com>
2351 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
2354 * nxml/rng-valid.el (rng-validate-mode)
2355 (rng-after-change-function, rng-do-some-validation):
2356 * nxml/rng-maint.el (rng-validate-buffer):
2357 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
2358 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
2359 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
2360 (nxml-extend-after-change-region): Use with-silent-modifications.
2362 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
2365 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
2366 (rng-next-error-1, rng-previous-error-1): Do not let-bind
2367 timer-idle-list. (Bug#13999)
2369 2013-03-23 Juri Linkov <juri@jurta.org>
2371 * info.el (info-index-match): New face.
2372 (Info-index, Info-apropos-matches): Add a nested subgroup to the
2373 main pattern and add text properties with the new face to matches
2374 in index entries relative to the beginning of the index entry.
2377 2013-03-21 Eric Ludlam <zappo@gnu.org>
2379 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
2380 Inhibit read only while inserting objects.
2382 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
2384 * progmodes/cfengine.el: Update docs to mention
2385 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
2386 symbol motion. Remove "_" from the word syntax.
2388 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
2390 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
2391 syntax for both `cfengine2-mode' and `cfengine3-mode'.
2393 2013-03-20 Juri Linkov <juri@jurta.org>
2395 * info.el (Info-next-reference-or-link)
2396 (Info-prev-reference-or-link): New functions.
2397 (Info-next-reference, Info-prev-reference): Use them.
2398 (Info-try-follow-nearest-node): Handle footnote navigation.
2399 (Info-fontify-node): Fontify footnotes. (Bug#13989)
2401 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2403 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
2404 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
2406 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
2408 Suppress unnecessary non-ASCII chatter during build process.
2409 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
2410 (batch-skkdic-convert): Suppress most of the chatter.
2411 It's not needed so much now that machines are faster,
2412 and its non-ASCII component was confusing; see Dmitry Gutov in
2413 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
2415 2013-03-20 Leo Liu <sdl.web@gmail.com>
2417 * ido.el (ido-chop): Fix bug#10994.
2419 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2421 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
2423 (whitespace-color-on, whitespace-color-off):
2424 Use `font-lock-fontify-buffer' (Bug#13817).
2426 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
2428 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
2429 remapping in mode-line.
2430 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
2432 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2434 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
2435 value for `whitespace-line' face (Bug#13875).
2436 (whitespace-font-lock-keywords): Change description.
2437 (whitespace-color-on): Don't save `font-lock-keywords' value, save
2438 the constructed keywords instead.
2439 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
2441 2013-03-19 Leo Liu <sdl.web@gmail.com>
2443 * progmodes/compile.el (compilation-display-error): New command.
2444 (compilation-mode-map, compilation-minor-mode-map): Bind it to
2447 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2449 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
2451 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
2453 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
2455 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
2457 * net/tramp-compat.el (tramp-compat-user-error): New defun.
2459 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2460 * net/tramp-gvfs.el (top):
2461 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
2462 (tramp-handle-shell-command): Use it.
2463 (tramp-dissect-file-name): Raise an error when hostname is a
2464 method name, and neither method nor user is specified.
2466 * net/trampver.el: Update release number.
2468 2013-03-18 Leo Liu <sdl.web@gmail.com>
2470 Make sure eldoc can be turned off properly.
2471 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
2473 (eldoc-display-message-p): Revert last change.
2474 (eldoc-display-message-no-interference-p)
2475 (eldoc-print-current-symbol-info): Tweak.
2477 2013-03-18 Tassilo Horn <tsdh@gnu.org>
2479 * doc-view.el (doc-view-new-window-function): Check the new window
2480 overlay's display property instead the char property of the
2481 buffer's first char. Use `with-selected-window' instead of
2482 `save-window-excursion' with `select-window'.
2483 (doc-view-document->bitmap): Check the current doc-view overlay's
2484 display property instead the char property of the buffer's first char.
2486 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2488 Automate the build of ja-dic.el (Bug#13984).
2489 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
2490 from the input, rather than assume that it's been done for us by the
2491 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
2492 the current date into a ja-dic.el comment, as that complicates
2495 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2497 * whitespace.el: Fix double evaluation.
2498 (whitespace-space, whitespace-hspace, whitespace-tab)
2499 (whitespace-newline, whitespace-trailing, whitespace-line)
2500 (whitespace-space-before-tab, whitespace-indentation)
2501 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
2503 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
2504 (whitespace-color-on): Use a single font-lock-add-keywords call.
2505 Fix double-evaluation of face variables.
2507 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
2509 * net/tramp-adb.el (tramp-adb-parse-device-names):
2510 Use `start-process' instead of `call-process'. Otherwise, the
2511 function might be blocked under MS Windows. (Bug#13299)
2513 2013-03-17 Leo Liu <sdl.web@gmail.com>
2515 Extend eldoc to display info in the mode-line. (Bug#13978)
2516 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
2517 (eldoc-mode-line-string): New variable.
2518 (eldoc-minibuffer-message): New function.
2519 (eldoc-message-function): New variable.
2520 (eldoc-message): Use it.
2521 (eldoc-display-message-p)
2522 (eldoc-display-message-no-interference-p):
2523 Support eldoc-post-insert-mode.
2525 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
2526 (eval-expression): Run it.
2528 2013-03-17 Roland Winkler <winkler@gnu.org>
2530 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
2531 strings in the list of return values.
2533 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2535 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
2536 radix before checking for HMS forms.
2538 2013-03-16 Leo Liu <sdl.web@gmail.com>
2540 * progmodes/scheme.el: Add indentation and font-locking for λ.
2543 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
2545 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
2546 token before point (bug#13942).
2548 2013-03-16 Leo Liu <sdl.web@gmail.com>
2550 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
2552 2013-03-16 Eli Zaretskii <eliz@gnu.org>
2554 * startup.el (command-line-normalize-file-name): Fix handling of
2555 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
2556 <xfq.free@gmail.com> in
2557 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
2559 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
2561 Sync with Tramp 2.2.7.
2563 * net/trampver.el: Update release number.
2565 2013-03-14 Tassilo Horn <tsdh@gnu.org>
2567 * doc-view.el Fix bug#13887.
2568 (doc-view-insert-image): Don't modify overlay associated to
2569 non-live windows, and implement horizontal centering of image in
2570 case it's smaller than the window.
2571 (doc-view-new-window-function): Force redisplay of new windows on
2574 2013-03-13 Karl Fogel <kfogel@red-bean.com>
2576 * saveplace.el (save-place-alist-to-file): Don't sort
2577 `save-place-alist', just pretty-print it (bug#13882).
2579 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
2581 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
2582 whether `default-file-name-coding-system' is bound. It isn't in
2585 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
2587 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
2588 backquotes for `obsolete' (bug#13929).
2590 * international/mule.el (find-auto-coding): Include file name in
2591 obsolescence warning (bug#13922).
2593 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
2595 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
2596 for CFEngine 3-specific indentation.
2597 (cfengine3-indent-line): Use it. Fix up category regex.
2598 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
2600 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2602 * type-break.el (type-break-file-name):
2603 * textmodes/remember.el (remember-data-file):
2604 * strokes.el (strokes-file):
2605 * shadowfile.el (shadow-initialize):
2606 * saveplace.el (save-place-file):
2607 * ps-bdf.el (bdf-cache-file):
2608 * progmodes/idlwave.el (idlwave-config-directory):
2609 * net/quickurl.el (quickurl-url-file):
2610 * international/kkc.el (kkc-init-file-name):
2611 * ido.el (ido-save-directory-list-file):
2612 * emulation/viper.el (viper-custom-file-name):
2613 * emulation/vip.el (vip-startup-file):
2614 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2615 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
2617 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
2619 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
2620 * language/thai-word.el: Switch to UTF-8.
2622 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2624 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
2626 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2628 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
2629 Use with-current-buffer and don't move point.
2630 (net-utils-run-simple): Remove useless code.
2631 (net-utils-remove-ctl-m): Remove unused custom.
2633 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
2635 * international/characters.el (glyphless-set-char-table-range): New fun.
2636 (update-glyphless-char-display): Use it (bug#13744).
2638 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
2640 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
2641 namespaces in the syntax, indent closer for hanging brace
2642 correctly, allow single-quote delimited 'strings', and make
2643 `cfengine3-mode' the default.
2645 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
2647 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
2648 Use lexical-binding. Fix up docstring according to conventions.
2649 (gdbmi-debug-mode): New var.
2650 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
2651 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
2652 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
2653 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
2654 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
2655 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
2656 (gdbmi-bnf-incomplete-record-result): New functions.
2657 (gdb-car<): Remove function.
2658 (gdbmi-record-list): Remove variable.
2659 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
2660 (gdbmi-bnf-result-state-configs): New const.
2661 (gud-gdbmi-marker-filter): Rewrite.
2662 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
2663 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
2664 Add `token' argument.
2665 (gdb-done, gdb-error): New functions.
2666 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
2668 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2670 * term/xterm.el (xterm--report-background-handler): Don't burp
2672 (xterm--version-handler): Extract from terminal-init-xterm.
2673 (xterm--query): Don't mishandle timeout. Remove debugging messages.
2674 Allow multiple handlers.
2675 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
2677 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
2678 (xterm--report-background-handler, xterm--query): New functions.
2679 (terminal-init-xterm): Use them.
2681 2013-03-11 Michael R. Mauger <michael@mauger.com>
2683 * progmodes/sql.el Version 3.2
2684 Please note that my address changed to <michael@mauger.com>;
2685 the <mmaug@yahoo.com> address remains active.
2686 (sql-connection-alist): Updates documentation to fix bug#13715.
2687 (sql-connect): Handle missing `sql-connection-alist' correctly.
2688 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
2689 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
2691 (sql-default-value): New function.
2692 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
2693 values were not used.
2694 (sql-rename-buffer): Make sure alternate buffer name has no text
2696 (sql-input-sender, sql-execute-feature): Fetch variable with
2697 `buffer-local-value' rather than `with-current-buffer'.
2698 (sql-*): Use #' function syntax consistently.
2699 (sql-*): Use message/error/user-error consistently.
2701 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2703 * xt-mouse.el (xterm-mouse-event-read): Remove.
2704 (xterm-mouse--read-event-sequence-1000)
2705 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
2707 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2709 * term/xterm.el (xterm-function-map): Support format used with
2710 formatOtherKeys=1 (bug#13839).
2712 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
2713 (with-no-warnings): Use `declare'.
2715 * whitespace.el (whitespace-enable-predicate): New variable.
2716 (whitespace-enable-predicate): Use it.
2718 * comint.el (comint-send-input, comint-snapshot-last-prompt)
2719 (comint-output-filter, comint-update-fence):
2720 Use with-silent-modifications.
2722 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
2724 * replace.el (occur-read-regexp-defaults-function): New var.
2725 (occur-read-regexp-defaults): New defun.
2726 (occur-read-primary-args): Propagate above change (bug#13892).
2728 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2730 * mouse.el (mouse-drag-track): Remove left-over debugging code.
2732 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
2734 Major rewrite due to changed D-Bus interface of GVFS 1.14.
2736 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
2737 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
2738 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
2740 (tramp-gvfs-file-name-handler-alist) [directory-files]
2741 [directory-files-and-attributes, file-exists-p, file-modes]:
2742 Use Tramp default handler.
2743 [file-acl, file-selinux-context, process-file, set-file-acl]:
2744 [set-file-modes, set-file-selinux-context, shell-command]:
2745 [start-file-process]: Remove handler.
2746 [verify-visited-file-modtime]: New handler.
2747 (tramp-gvfs-dbus-string-to-byte-array)
2748 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
2749 calls of `dbus-string-to-byte-array' and
2750 `tramp-gvfs-dbus-byte-array-to-string'.
2751 (tramp-gvfs-handle-copy-file)
2752 (tramp-gvfs-handle-delete-directory)
2753 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
2754 (tramp-gvfs-handle-file-directory-p)
2755 (tramp-gvfs-handle-file-executable-p)
2756 (tramp-gvfs-handle-file-name-all-completions)
2757 (tramp-gvfs-handle-file-readable-p)
2758 (tramp-gvfs-handle-file-writable-p)
2759 (tramp-gvfs-handle-insert-directory)
2760 (tramp-gvfs-handle-insert-file-contents)
2761 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
2762 (tramp-gvfs-handle-set-visited-file-modtime)
2763 (tramp-gvfs-handle-write-region): Rewrite.
2764 (tramp-gvfs-handle-file-acl)
2765 (tramp-gvfs-handle-file-selinux-context)
2766 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
2767 (tramp-gvfs-handle-set-file-modes)
2768 (tramp-gvfs-handle-set-file-selinux-context)
2769 (tramp-gvfs-handle-shell-command)
2770 (tramp-gvfs-handle-start-file-process)
2771 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
2772 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
2773 over the symlinks. Fix user handling.
2774 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
2775 of the D-Bus signals.
2776 (tramp-gvfs-connection-mounted-p): Handle different names of the
2778 (tramp-gvfs-mount-spec-entry): New defun.
2779 (tramp-gvfs-mount-spec): Use it.
2780 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
2781 there is a share name. Handle different names of the D-Bus
2782 signals and methods. Set connection properties needed for
2783 `tramp-check-cached-permissions'.
2784 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
2787 * net/tramp.el (tramp-backtrace): Move up.
2788 (tramp-error): Dump a backtrace into the debug buffer when
2790 (tramp-file-mode-type-map, tramp-file-mode-from-int)
2791 (tramp-file-mode-permissions, tramp-get-local-uid)
2792 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
2795 * net/tramp-sh.el (tramp-file-mode-type-map)
2796 (tramp-check-cached-permissions, tramp-file-mode-from-int)
2797 (tramp-file-mode-permissions, tramp-get-local-uid)
2798 (tramp-get-local-gid): Move to tramp.el.
2800 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2802 Separate mouse-1-click-follows-link from mouse-drag-region.
2803 * mouse.el (mouse--down-1-maybe-follows-link): New function.
2804 (key-translation-map): Use it to implement mouse-1-click-follows-link.
2805 (mouse-drag-line, mouse-drag-track):
2806 Remove mouse-1-click-follows-link code.
2807 (mouse--remap-link-click-p): Remove.
2809 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
2811 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
2812 (hi-lock-read-regexp-defaults): New defun.
2813 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2814 (hi-lock-face-phrase-buffer): Propagate above change.
2815 Update docstring (bug#13892).
2817 * subr.el (find-tag-default-as-regexp): New defun.
2818 * replace.el (read-regexp): Propagate above change.
2820 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
2822 * calc/calc-units.el (calc-convert-units): Fix the way that default
2823 new units are stored.
2825 2013-03-07 Matthias Meulien <orontee@gmail.com>
2827 * bookmark.el: Define a face to highlight bookmark names in
2828 bookmark menu buffers, where the default is a bold face similarly
2829 to buffer names in buffer menu buffers.
2830 (bookmark-menu-bookmark): New face to highlight bookmark names.
2831 (bookmark-insert-location): Remove duplicated text property to
2832 conform to buffer list (see `list-buffers').
2833 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
2834 `bookmark-menu-bookmark' to bookmark names.
2836 2013-03-07 Matthias Meulien <orontee@gmail.com>
2837 Karl Fogel <kfogel@red-bean.com>
2839 * bookmark.el: Display the bookmark list header similarly to the
2840 buffer list header (see `list-buffers'), where the default is now
2841 an immovable/immutable header line.
2842 (bookmark-bmenu-use-header-line): New variable.
2843 (bookmark-bmenu-inline-header-height): New name for
2844 `bookmark-bmenu-header-height', to avoid confusion with the code
2845 for the new immovable header. All references changed.
2846 (bookmark-bmenu-set-header): New function.
2847 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
2848 Conditionalize header construction accordingly.
2849 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
2850 the inline header height.
2851 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
2852 Conditionalize the skipping of the inline header height.
2854 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
2856 * progmodes/js.el (js--multi-line-declaration-indentation):
2857 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
2859 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
2861 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2862 Only propertize regexp when not inside a string (Bug#13885).
2864 2013-03-06 Alan Mackenzie <acm@muc.de>
2866 Correct the position of point in some line-up functions.
2867 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
2868 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
2869 point at column 0 rather than at a random place in the line.
2871 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
2873 * net/tramp-compat.el (tramp-compat-delete-directory):
2874 Implement TRASH argument.
2876 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
2878 Keep pre-existing highlighting in completion candidates (Bug#13250).
2879 * minibuffer.el (completions-first-difference): State that the
2880 face is "added" in the docstring.
2881 (completions-common-part): Same. And don't inherit from default.
2882 (completion-hilit-commonality): Prepend 'completions-common-part
2883 and 'completion-first-difference faces to the 'face property,
2884 instead of replacing the value(s).
2885 (completion--insert-strings): Same with 'completions-annotations face.
2886 (completion-hilit-commonality): Use 'face instead of
2887 'font-lock-face, because it gets priority if the completion
2888 strings already have 'face set.
2890 2013-03-04 Alan Mackenzie <acm@muc.de>
2892 Replace `last-command-event' by `last-command-char' in XEmacs.
2893 * progmodes/cc-defs.el (c-last-command-char): New macro.
2894 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
2895 (c-semi&comma-no-newlines-before-nonblanks)
2896 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
2897 in place of `last-command-event'.
2898 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
2899 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
2900 (c-electric-paren, c-electric-continued-statement): Use the new
2901 macro in place of `last-command-event'.
2903 2013-03-04 Glenn Morris <rgm@gnu.org>
2905 * files.el (inhibit-local-variables-regexps):
2906 Add .diff and .patch. (Bug#13862)
2908 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
2910 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
2911 whether the "su" command is available on the device.
2913 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2915 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
2916 (tramp-adb-handle-process-file): Remove superfluous setting.
2917 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
2918 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
2919 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
2921 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
2923 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
2924 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
2925 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
2926 Use dict-key rather than dict-name for the error message.
2928 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2930 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
2931 when reverting (bug#13831).
2933 2013-03-01 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
2935 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2936 Always expand affix-file before storing to protect against changed
2937 `default-directory'.
2938 (ispell-print-if-debug): Make sure message is printed at the end
2939 of the debug buffer.
2941 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2943 * net/tramp.el (tramp-obsolete-methods): New defconst.
2944 (tramp-warned-obsolete-methods): New defvar.
2945 (tramp-find-method): Check for obsolete methods. Map them to a
2946 replacement method if appropriate.
2948 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
2950 (top): Remove completion functions for "scp1", "scp2", "ssh1",
2951 "ssh2" and "plink1".
2953 2013-02-28 Dale Sedivec <dale@codefu.org>
2955 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
2956 Return valid syntax-table property value when converting
2957 quotes within text from string syntax to punctuation syntax (bug#13844).
2959 2013-02-28 Juri Linkov <juri@jurta.org>
2961 * dired-aux.el (dired-diff): If file at point is a backup file,
2962 use its original as the default value, and reverse the order
2963 of arguments to the `diff' call. Doc fix. (Bug#13772)
2965 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
2967 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
2968 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
2970 2013-02-28 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
2972 Initial support for hunspell dictionaries auto-detection (Bug#13639)
2974 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2975 Ask hunspell about available and default dictionaries.
2976 (ispell-parse-hunspell-affix-file): Extract relevant info from
2977 hunspell affix file.
2978 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
2979 `ispell-dictionary-alist' entry for given dictionary after info
2980 provided by `ispell-parse-hunspell-affix-file'.
2981 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
2982 of parsed hunspell dicts and associated affix files.
2983 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
2984 of parsed hunspell dicts and associated parameters.
2985 (ispell-set-spellchecker-params):
2986 Call `ispell-find-hunspell-dictionaries' if hunspell and not
2988 (ispell-start-process):
2989 Call `ispell-hunspell-fill-dictionary-entry' for current
2990 dictionary if it is not initialized.
2992 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2994 * imenu.el: Comment nitpicks.
2996 2013-02-28 Sam Steingold <sds@gnu.org>
2998 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
2999 See <http://stackoverflow.com/questions/14720205>.
3001 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3003 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
3004 (net-utils-mode): Use it.
3005 (net-utils--revert-cmd): New var.
3006 (net-utils-run-simple): Set it, and remove bogus interactive spec.
3007 (traceroute): Use net-utils-run-simple.
3009 2013-02-28 Glenn Morris <rgm@gnu.org>
3011 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
3013 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
3015 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
3016 (doc-view-fallback-mode): Remove overlays here.
3017 (doc-view-toggle-display): Instead of here. Don't throw away
3018 image-mode-winprops-alist.
3019 (doc-view-goto-page): Don't mess with hscroll.
3021 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3023 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
3024 &optional (bug#13819).
3026 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
3028 * net/tramp-adb.el (tramp-adb-parse-device-names)
3029 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
3031 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
3033 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3034 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
3035 defined. POSIX environments fall back to the "C" locale then and
3036 emit a warning, which shall be suppressed.
3038 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
3040 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
3041 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
3043 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3045 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
3047 2013-02-25 Juri Linkov <juri@jurta.org>
3049 * replace.el (read-regexp): Let-bind `default' to the first
3050 element of `defaults' if it's a list, otherwise it should be
3051 a string or nil. Let-bind `suggestions' to `defaults' if it's
3052 a list, otherwise make a list with the string value. Doc fix.
3055 2013-02-25 Eli Zaretskii <eliz@gnu.org>
3057 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
3058 that match "\`\.#", to avoid compiling lock files, even if they
3059 are readable (as they are on MS-Windows).
3061 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3063 * files.el (basic-save-buffer): Remove redundant directory-creation.
3065 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
3067 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
3068 Add option to force `pi' to remain symbolic.
3069 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
3070 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
3071 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
3072 derivatives, when necessary.
3074 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
3076 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
3077 (ps-mode-octal-region): Use string-make-unibyte.
3079 2013-02-23 Glenn Morris <rgm@gnu.org>
3081 * emulation/viper-cmd.el (viper-submit-report):
3082 * progmodes/ps-mode.el (ps-mode-maintainer-address):
3083 * progmodes/vera-mode.el (vera-mode-help-address):
3084 * textmodes/artist.el (artist-maintainer-address):
3085 * textmodes/reftex.el (reftex-report-bug):
3086 * vc/ediff-util.el (ediff-submit-report):
3087 Add bug-gnu-emacs to bug report address.
3089 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
3090 Remove bug report entries.
3091 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
3093 * emacs-lisp/bytecomp.el (byte-compile-level): New.
3094 (byte-compile-file, byte-compile-from-buffer):
3095 Use separate input/output buffers for each level of recursive
3096 byte-compile-file calls. (Bug#13787)
3098 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
3100 * net/tramp.el (tramp-methods): Fix docstring.
3101 (tramp-ssh-controlmaster-options): Rename it from
3102 `tramp-ssh-controlmaster-template'. Return a string.
3103 (tramp-default-method): Adapt check for
3104 `tramp-ssh-controlmaster-options'.
3106 * net/tramp-sh.el (tramp-methods):
3107 Replace `tramp-ssh-controlmaster-template' by "%c".
3108 (tramp-do-copy-or-rename-file-out-of-band)
3109 (tramp-maybe-open-connection): Use it in format spec. Ensure,
3110 that it is applied for the first hop only.
3112 2013-02-22 Juri Linkov <juri@jurta.org>
3114 * isearch.el (isearch-lazy-highlight-new-loop):
3115 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
3116 to `isearch-other-end' if it is not nil. (Bug#13402)
3118 * replace.el (replace-highlight): Let-bind `isearch-other-end'
3121 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
3122 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
3123 and `isearch-error' to nil.
3125 2013-03-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3127 * progmodes/python.el (python-info-current-defun):
3128 Enhance match-data cluttering prevention.
3130 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
3132 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
3134 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3135 Handle multibyte file names.
3137 2013-02-22 Glenn Morris <rgm@gnu.org>
3139 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
3140 (sgml-transformation-function): Give it a :set function.
3141 (sgml-tag): Doc fix.
3143 * cmuscheme.el (scheme-buffer):
3144 * progmodes/inf-lisp.el (inferior-lisp-buffer):
3145 * progmodes/tcl.el (inferior-tcl-buffer):
3146 * textmodes/tex-mode.el (tex-command): Doc fixes.
3148 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
3150 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
3152 2013-02-21 Bastien Guerry <bzg@gnu.org>
3154 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
3156 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3158 * progmodes/python.el (python-info-current-defun):
3159 Enhance match-data cluttering prevention.
3161 2013-02-21 Glenn Morris <rgm@gnu.org>
3163 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
3164 loaded while outline-regexp is let bound. (Bug#9584)
3166 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3168 * progmodes/python.el (python-info-current-defun): Fix failed
3169 defun name retrieval because of unwanted match-data cluttering.
3171 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
3173 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
3174 defconst. Apply independent check for ControlPersist.
3176 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
3177 temporarily, via "env".
3179 2013-02-21 Glenn Morris <rgm@gnu.org>
3181 * info.el (Info-enable-edit): Remove.
3182 (Info-edit): Disable it rather than using Info-enable.
3183 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
3184 (Info-cease-edit): Make editing of Info files obsolete.
3186 * informat.el (Info-tagify):
3187 Handle buffers not visiting files. (Bug#13763)
3189 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
3191 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
3193 2013-02-21 Glenn Morris <rgm@gnu.org>
3195 * files.el (basic-save-buffer): Move check for existing parent
3196 directory after hooks. (Bug#13773)
3198 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
3200 * simple.el (command-execute): Move from C. Add obsolete check.
3201 (extended-command-history): Move from C.
3203 2013-02-20 Ulrich MĂ¼ller <ulm@gentoo.org>
3205 * jka-cmpr-hook.el (jka-compr-compression-info-list)
3206 (jka-compr-mode-alist-additions): Handle .txz suffix for
3207 XZ-compressed tar archives (bug#13770).
3209 2013-02-20 Bastien Guerry <bzg@gnu.org>
3211 * outline.el (outline-regexp, outline-heading-end-regexp):
3212 Make variables, not options (bug#13731).
3214 2013-02-20 Glenn Morris <rgm@gnu.org>
3216 * image.el (image-current-frame): Change from variable to function.
3217 (image-show-frame): Rename from image-nth-frame. Update callers.
3218 * image-mode.el (image-multi-frame): New variable.
3219 (image-mode-map, image-mode, image-goto-frame):
3220 Use image-multi-frame rather than image-current-frame.
3221 (image-mode, image-goto-frame): Use image-current-frame as
3222 function rather than as variable.
3224 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
3225 * emacs-lisp/cl-macs.el (cl--make-type-test)
3226 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
3228 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3230 * net/tramp-cache.el (tramp-get-hash-table): New defun.
3231 (tramp-get-file-property, tramp-set-file-property)
3232 (tramp-get-connection-property, tramp-set-connection-property): Use it.
3233 (tramp-flush-file-property, tramp-flush-directory-property):
3234 Rename argument to KEY.
3235 (tramp-flush-connection-property): Simplify a little bit.
3236 (tramp-connection-property-p): New defun.
3237 (top): Reapply saved values only if there isn't a corresponding
3238 entry in `tramp-connection-properties'.
3240 2013-02-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3242 * progmodes/python.el (python-indent-context):
3243 Fix python-info-line-ends-backslash-p call.
3244 (python-info-line-ends-backslash-p)
3245 (python-info-beginning-of-backslash): Respect line-number argument.
3246 (python-info-current-line-comment-p):
3247 Fix behavior when not at beginning-of-line.
3248 (python-util-position): Remove function.
3249 (python-util-goto-line): New function.
3251 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3253 * eshell/em-unix.el (eshell/su): Require tramp.
3254 (eshell/sudo): Require tramp. Remove now unnecessary check.
3256 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
3257 `tramp-current-connection' in order to avoid an error when several
3258 commands are invoked in a short time in eshell and friends.
3260 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
3262 Cleanup some of EIEIO's namespace.
3263 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
3264 Use it to define all the class-* and object-* field accessors (renamed
3265 to eieio--class-* and eieio--object-*). Update all uses.
3266 (eieio--class-num-slots, eieio--object-num-slots): Rename from
3267 class-num-slots and object-num-slots.
3268 (eieio--check-type): New macro.
3269 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
3270 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
3271 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
3272 (object-assoc-list-safe): Use it.
3273 (eieio-defclass): Tighten regexp.
3274 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
3275 Remove unreachable code.
3276 (object-class-fast): Declare obsolete.
3277 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
3278 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
3279 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
3280 Rename from class-name, object-name, object-set-name-string,
3281 object-class, object-class-name, class-parents, class-children,
3282 class-precedence-list, class-parent; with obsolete alias.
3283 (class-of, class-direct-superclasses, class-direct-subclasses):
3285 (eieio-defmethod): Use `memq'; remove unreachable code.
3286 * emacs-lisp/eieio-base.el (eieio-persistent-read):
3287 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
3288 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
3290 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
3292 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
3295 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
3297 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
3298 Use font-lock-keyword-face for macros and special forms (bug#8345).
3300 2013-02-17 Didier Verna <didier@didierverna.net>
3302 * net/network-stream.el (network-stream-open-starttls):
3303 Check that response to the starttls-command is non-nil. (Bug#13706)
3305 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3307 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
3308 Don't assume all identifier chars have syntax word.
3309 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3310 Remove bar-not-symbol. Adjust callers.
3311 (lisp-mode-variables): Don't set a font-lock-syntax-table.
3313 2013-02-17 Leo Liu <sdl.web@gmail.com>
3315 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
3317 2013-02-17 Glenn Morris <rgm@gnu.org>
3319 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
3321 * image-mode.el (image-mode-map): Add image-dired menu entry.
3323 * image-dired.el (tumme): Make this alias obsolete.
3325 2013-02-16 Glenn Morris <rgm@gnu.org>
3327 * image.el (image-animated-types): Remove.
3328 (image-multi-frame-p): Rename from image-animated-p, and generalize.
3329 (image-animated-p): Make obsolete alias.
3330 (image-animate, image-nth-frame, image-animate-timeout):
3331 Use image-multi-frame-p.
3332 (image-animate-timeout): If no delay, use image-default-frame-delay.
3333 * image-mode.el (image-mode, image-toggle-animation):
3334 Use image-multi-frame-p. (Bug#763, bug#10739)
3335 (image-mode): Adjust startup message for a multi-frame image.
3337 * image-mode.el (image-mode-map): Give it a menu.
3339 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
3341 * net/tramp-cache.el (tramp-connection-properties): New customer
3343 (tramp-get-connection-property): Use it.
3345 * net/tramp-compat.el (top): Require 'trampver.
3347 * net/tramp-sh.el (tramp-remote-process-environment):
3348 Set tramp-autoload cookie.
3350 2013-02-16 Kevin Ryde <user42@zip.com.au>
3352 * info-look.el (info-lookup-select-mode): If major-mode has no
3353 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
3355 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
3357 * replace.el (read-regexp): Tighten the regexp that matches tag.
3358 When tag is retrieved with `find-tag-default', use regexp that
3359 matches tag at point. Also update docstring (Bug#13687).
3361 2013-02-16 Eli Zaretskii <eliz@gnu.org>
3363 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
3364 add watch for the file, not its parent directory, since w32notify
3365 sets up the watch for the directory internally. (Bug#13725)
3367 2013-02-16 Glenn Morris <rgm@gnu.org>
3369 * image.el (image-default-frame-delay): New variable.
3370 (image-animated-p): Use image-default-frame-delay.
3371 (image-minimum-frame-delay): New constant.
3372 (image-animate-timeout): Use image-minimum-frame-delay.
3374 * image.el (image-nth-frame): New, split from image-animate-timeout.
3375 (image-animate-timeout): Use image-nth-frame.
3376 * image-mode.el (image-goto-frame, image-next-frame)
3377 (image-previous-frame): New commands.
3378 (image-mode-map): Add new frame commands.
3380 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
3382 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
3383 If col-desc already has help-echo, use it. (Bug#13563)
3385 2013-02-16 Glenn Morris <rgm@gnu.org>
3387 * image.el (image-current-frame): New variable.
3388 (image-animate-timeout): Set image-current-frame.
3389 * image-mode.el (image-mode): For animated images,
3390 display a frame counter via mode-line-process.
3392 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
3394 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3396 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
3398 2013-02-15 Alan Mackenzie <acm@muc.de>
3400 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
3401 global minor mode has been enabled, call the minor mode function
3402 for a new buffer once only, after the major mode hook, whilst
3403 allowing that hook explicitly to disable the minor mode.
3404 (MODE-disable-in-buffer): New (generated) function.
3405 (disable-MODE): New (generated) buffer local variable.
3407 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
3409 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
3410 `iswitchb-next-match' and `iswitchb-prev-match' resply.
3411 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
3412 `ido-next-match' and `ido-prev-match' resply.
3413 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
3414 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
3415 `icomplete-backward-completions' (Bug#13708).
3417 2013-02-15 Glenn Morris <rgm@gnu.org>
3419 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3421 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3423 * net/goto-addr.el (goto-address-fontify): Add start and end args.
3424 (goto-address-fontify-region): Use them instead of narrowing, so
3425 syntax-ppss has access to the whole buffer.
3427 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3429 * progmodes/python.el: Explain how to restore "cc-mode"-like
3430 forward-sexp movement in header documentation (Bug#13642).
3431 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
3432 comments and strings (GH bug 114).
3434 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3436 * progmodes/python.el (python-info-current-defun): Fix current
3437 defun detection (Bug#13618).
3439 2013-02-15 Chong Yidong <cyd@gnu.org>
3441 * xml.el (xml-parse-string): Fix typo in handling of bad character
3444 2013-02-15 Glenn Morris <rgm@gnu.org>
3446 * play/fortune.el (fortune-compile): Simplify and fix previous change.
3448 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
3450 * net/tramp.el (tramp-debug-message):
3451 Add `tramp-condition-case-unless-debug'.
3452 (tramp-debug-on-error): New defvar.
3453 (tramp-condition-case-unless-debug): New defun.
3454 (tramp-file-name-handler): Use it.
3456 2013-02-14 Juri Linkov <juri@jurta.org>
3458 * info.el (Info-isearch-filter): Treat non-nil values of
3459 `search-invisible' including its default value `open'
3460 like the value `t' to match hidden text. (Bug#13402)
3462 2013-02-14 Glenn Morris <rgm@gnu.org>
3464 * help-fns.el (find-lisp-object-file-name): Give special treatment
3465 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
3467 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
3469 * net/quickurl.el (quickurl-save-urls):
3470 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
3472 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
3474 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
3475 depth for unfinished percent literal. Not using it in the caller.
3476 (ruby-move-to-block): Jump over multiline literals of all types,
3477 ignoring code-looking contents inside them.
3478 (ruby-add-log-current-method): Improve performance at the expense
3479 of accuracy. `ruby-block-contains-point' is relatively slow, so
3480 only use it for method and singleton class blocks.
3482 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3484 Use ControlMaster where applicable. (Bug#13677)
3486 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
3487 replacing `tramp-detect-ssh-controlmaster'.
3488 (tramp-default-method): Use it.
3490 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
3491 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
3493 [scpc, rsyncc]: Remove methods.
3494 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
3496 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
3497 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
3499 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3501 * emacs-lisp/package.el (package--initialized): Move before first use.
3503 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
3505 * icomplete.el (icomplete-hide-common-prefix): New user option.
3506 (icomplete-first-match): New face.
3507 (icomplete-completions): Correct handling of "complete but not
3508 unique" (Bug#12638).
3510 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
3512 * descr-text.el (describe-char): Display the script (bug#13698).
3514 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3516 * tmm.el: Use lexical-binding and current-active-maps.
3517 (tmm-menubar): Use map-keymap and pcase.
3518 (tmm--completion-table): New function.
3519 (tmm-prompt): Use it to fix the menu order.
3520 (tmm-get-keybind): Use current-active-maps.
3522 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
3524 Add dired-hide-details-mode. (Bug#6799)
3526 * locate.el (locate-mode): Set parent mode property to dired-mode.
3528 * find-dired.el (find-dired): Call dired-insert-set-properties on
3529 initial information line. Set process mark on end of buffer.
3530 (find-dired-sentinel):
3531 Call dired-insert-set-properties on summary.
3533 * dired.el (dired-hide-details-hide-symlink-targets)
3534 (dired-hide-details-hide-information-lines): New options.
3535 (dired-insert-directory):
3536 Set properties after final treatment of output.
3537 (dired-insert-set-properties):
3538 Set dired-hide-details-* properties.
3539 (dired-mode-map): Bind dired-hide-details-mode.
3540 (dired-mode): Set buffer-invisibility-spec to a list.
3541 (dired-next-line): Skip hidden lines.
3542 (dired-previous-line): Use dired-next-line.
3543 (dired-hide-details-mode): New minor mode.
3544 (dired-hide-details-update-invisibility-spec): New function.
3546 2013-02-13 Glenn Morris <rgm@gnu.org>
3548 * play/yow.el: Move to obsolete/. (Bug#9384)
3550 2013-02-13 Juri Linkov <juri@jurta.org>
3552 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
3553 to select `ediff-control-frame' and set input focus correctly on Xfce.
3556 2013-02-13 Juri Linkov <juri@jurta.org>
3558 * image-mode.el (image-mode-map):
3559 * doc-view.el (doc-view-mode-map):
3560 * vc/ediff-util.el (ediff-setup-keymap):
3561 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3563 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
3565 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
3566 performance. Instead of recalculating indentation fully for each
3567 line, sum up indentation depth based only on visited lines.
3568 (ruby-parse-partial): Increase the depth after "do" even when END
3570 (ruby-parse-partial): When END is in the middle of a percent
3571 literal, increase the depth if the delimiter chars belong to the
3574 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
3576 * play/fortune.el (fortune-compile): Also make the compiled file
3577 if it does not exist at all, not just if it is old. (Bug#5338)
3579 2013-02-13 Glenn Morris <rgm@gnu.org>
3581 * emacs-lisp/package.el (package-menu-execute): Doc fix.
3583 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
3585 * lisp/emacs-lisp/package.el (package-menu-execute):
3586 Add optional noquery argument. (Bug#13625)
3588 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3590 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
3591 if DIR exists and PARENTS is non-nil.
3593 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
3595 * progmodes/js.el (js--multi-line-declaration-indentation):
3596 Silence byte-compiler warning.
3598 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
3600 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
3602 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
3603 only if it doesn't exist.
3605 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3608 2013-02-12 Tassilo Horn <tsdh@gnu.org>
3610 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
3611 UserInstallation when calling soffice to work around LibreOffice
3614 2013-02-12 Glenn Morris <rgm@gnu.org>
3616 * files.el (basic-save-buffer):
3617 Offer to create a non-existing directory. (Bug#3016)
3619 * calc/calc-graph.el (calc-graph-show-dumb):
3620 * calendar/calendar.el (calendar-mode-map):
3621 * cus-edit.el (custom-mode-map):
3622 * ehelp.el (electric-help-map):
3623 * emulation/vip.el (vip-mode-map):
3624 * epa.el (epa-key-list-mode-map):
3625 * info.el (Info-mode-map):
3626 * mail/rmail.el (rmail-mode-map):
3627 * mail/rmailsum.el (rmail-summary-mode-map):
3628 * man.el (Man-mode-map):
3629 * net/newst-plainview.el (newsticker-mode-map):
3630 * progmodes/cpp.el (cpp-edit-mode-map):
3631 * progmodes/grep.el (grep-mode-map):
3632 * progmodes/idlw-help.el (idlwave-help-mode-map):
3633 * simple.el (special-mode-map):
3634 * startup.el (splash-screen-keymap):
3635 * view.el (view-mode-map):
3636 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3638 2013-02-11 Elias Pipping <pipping@lavabit.com>
3640 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
3643 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
3645 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
3647 2013-02-11 Glenn Morris <rgm@gnu.org>
3649 * vc/diff.el (diff-use-labels): New variable.
3650 (diff-no-select): Use --label rather than -L, and first
3651 check that it is supported. (Bug#11067)
3653 * files.el (enable-dir-local-variables): New variable.
3654 (hack-dir-local-variables): Respect enable-dir-local-variables.
3655 * tutorial.el (help-with-tutorial):
3656 Ignore directory-local variables. (Bug#11127)
3658 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
3659 (vc-svn-global-switches): ... to here. (Bug#13513)
3661 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
3663 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
3664 Handle "foo (bar, default: xxx): " prompts.
3666 2013-02-10 Chong Yidong <cyd@gnu.org>
3668 * files.el (basic-save-buffer-1): Do not set
3669 buffer-file-coding-system-explicit (Bug#4533).
3671 * mail/emacsbug.el (report-emacs-bug): Change binding of
3672 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
3674 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
3676 * calc/calc.el (calc-allow-units-as-numbers): New variable.
3677 * calc/calc-units.el (calc-convert-units): Use new variable.
3679 2013-02-09 Eli Zaretskii <eliz@gnu.org>
3681 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
3683 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
3686 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
3687 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
3688 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
3689 coding-system-for-write instead.
3691 * jka-compr.el (jka-compr-write-region): Don't bind
3694 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
3697 * files.el (file-name-buffer-file-type-alist): Remove defvar.
3698 (insert-file-contents-literally): Remove reference to
3699 file-name-buffer-file-type-alist.
3701 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
3703 (find-buffer-file-type-match, find-buffer-file-type): Remove.
3704 (find-buffer-file-type-coding-system): Remove references to
3705 find-buffer-file-type-match, find-buffer-file-type, and
3707 Don't put find-buffer-file-type-coding-system into
3708 file-coding-system-alist.
3709 (find-file-binary, find-file-text): Bind coding-system-for-read
3710 instead of file-name-buffer-file-type-alist.
3712 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
3714 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
3715 converter (Bug#13622).
3716 (doc-view-unoconv-program): Make obsolete alias.
3717 (doc-view-odf->pdf-converter-program): New variable.
3718 (doc-view-odf->pdf-converter-function): New variable.
3719 (doc-view-mode-p): Use it.
3720 (doc-view-odf->pdf-converter-unoconv):
3721 Rename from `doc-view-odf->pdf-converter-unoconv'.
3722 (doc-view-odf->pdf-converter-soffice): New function.
3723 (doc-view-convert-current-doc):
3724 Use `doc-view-odf->pdf-converter-function'.
3726 2013-02-09 Chong Yidong <cyd@gnu.org>
3728 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
3729 view-echo-area-messages (Bug#13340).
3731 * help.el (view-echo-area-messages): Use display-buffer.
3733 * dired-x.el (dired-do-run-mail): Prompt for confirmation
3736 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
3738 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
3739 Eval body right away, now that we do eager macroexpansion (bug#13605).
3741 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
3742 (fundamental-mode): Use run-mode-hooks.
3744 * eshell/esh-proc.el (eshell/kill): Fix last change.
3745 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
3747 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
3749 * eshell/esh-proc.el (eshell/kill): Rewrite.
3751 * eshell/em-ls.el (show-almost-all): Declare.
3752 (eshell-do-ls): Add support for -A argument.
3754 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
3756 * icomplete.el (icomplete-forward-completions)
3757 (icomplete-backward-completions): Handle corner case (bug#13602).
3759 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
3761 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
3762 be nil. Handle this. (Bug#13636)
3764 2013-02-07 Richard Stallman <rms@gnu.org>
3766 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
3767 `save-buffer-coding-system'.
3769 2013-02-07 Alan Mackenzie <acm@muc.de>
3771 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
3772 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
3773 (c-parse-state-get-strategy): Don't return 'BOD any more.
3774 (c-append-lower-brace-pair-to-state-cache):
3775 Extra parameter HERE instead of narrowing.
3776 Widen to top of buffer before searching backwards for a brace pair.
3777 (c-state-push-any-brace-pair): Add HERE parameter to function call.
3778 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
3779 Narrow to parameter HERE, in place of being called narrowed.
3780 (c-remove-stale-state-cache): Extra parameter HERE in place of
3781 narrowing. Check there's an open brace in the cache before
3782 searching for its match.
3783 (c-invalidate-state-cache-1): Add HERE parameter to function call.
3784 (c-parse-state-1): Don't narrow here for 'forward strategy,
3785 instead passing extra parameter HERE to several functions.
3786 Remove 'BOD strategy.
3788 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
3790 * emacs-lisp/package.el (describe-package-1): Tell what archive is
3791 used to install the package.
3793 2013-02-06 Glenn Morris <rgm@gnu.org>
3795 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
3796 if we can't get user input. (Bug#6567)
3798 * startup.el (command-line): If simple.el is missing,
3799 test and warn about for some possible causes.
3801 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
3803 * cus-start.el (all): Add ns-use-native-fullscreen.
3805 2013-02-05 Glenn Morris <rgm@gnu.org>
3807 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
3809 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3810 Fix directory creation in fallback case.
3812 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3814 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
3815 (vc-update-change-log): Use dolist.
3817 2013-02-04 Chong Yidong <cyd@gnu.org>
3819 * thingatpt.el: Rewrite the URL detection routines, absorbing some
3821 (thing-at-point-beginning-of-url-regexp): New var.
3822 (thing-at-point-uri-schemes): Update list of URI schemes.
3823 (thing-at-point-url-regexp): Variable deleted.
3824 (thing-at-point-markedup-url-regexp): Disallow newlines.
3825 (thing-at-point-newsgroup-regexp)
3826 (thing-at-point-newsgroup-heads)
3827 (thing-at-point-default-mail-uri-scheme): New variables.
3828 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
3829 method to find the possible bounds of the URI at point.
3830 New optional argument to find ill-formed URIs.
3831 (thing-at-point-url-at-point): Rewrite. New arguments for finding
3832 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
3833 the scheme-adding heuristics from ffap-url-at-point.
3834 (thing-at-point--bounds-of-well-formed-url): New function.
3835 Do parens matching to decide whether to include parens in the URI
3838 * ffap.el: Require thingatpt.
3839 (ffap-url-at-point): Delegate URI detection to thing-at-point.
3840 All URI-valid characters are now recognized (Bug#5673).
3841 (ffap-string-at-point): Use use-region-p.
3842 (ffap-url-regexp): Extra character is handled by thing-at-point.
3843 (ffap-string-at-point-mode-alist): Allow parentheses.
3844 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
3845 Convert to aliases; code moved to thingatpt.el.
3846 (ffap-gnus-hook): Use setq-local.
3848 2013-02-04 Glenn Morris <rgm@gnu.org>
3850 * emacs-lisp/ert.el (ert--explain-format-atom):
3851 Don't try to print non-characters as characters. (Bug#13543)
3853 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
3855 * net/tramp.el (tramp-debug-message): Extend function exclude list.
3856 (tramp-backtrace): New defun.
3857 (tramp-handle-insert-file-contents): Use `visit' when inserting
3860 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
3861 Use `remote-file-name-inhibit-cache'.
3863 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
3865 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
3868 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
3869 current-load-list (bug#13366).
3871 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
3873 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3874 Identify g++ template instantiation trace. (Bug#12287)
3875 (compilation-mode-hook, compilation-start-hook)
3876 (compilation-window-height): Simplify docstrings. (Bug#13379)
3878 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3880 * mouse.el (mouse-drag-track): Always deactivate the mark before
3881 running the final event's command since that command is in charge of
3882 activating the mark if needed (bug#13523).
3884 2013-02-02 Juri Linkov <juri@jurta.org>
3886 * replace.el (perform-replace): Move let-bindings of isearch-*
3887 variables deeper to the loop that searches for the next match.
3888 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
3889 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
3892 * isearch.el (isearch-search-fun-default): Check for null
3893 first element of isearch-cmds as a precaution when it's used
3894 with inactive isearch.
3896 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
3898 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
3899 error when buffer in question is narrowed so position 1 is out of
3902 2013-02-02 Glenn Morris <rgm@gnu.org>
3904 * textmodes/remember.el (remember-clipboard): Doc fix.
3906 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3908 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
3909 properties (bug#13179).
3911 2013-02-02 Juri Linkov <juri@jurta.org>
3913 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
3914 instead of hard-coded default face `match'. (Bug#9438)
3916 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
3918 * vc/vc-arch.el (vc-arch-registered):
3919 * vc/vc-bzr.el (vc-bzr-registered):
3920 * vc/vc-cvs.el (vc-cvs-registered):
3921 * vc/vc-git.el (vc-git-registered):
3922 * vc/vc-hg.el (vc-hg-registered):
3923 * vc/vc-mtn.el (vc-mtn-registered):
3924 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
3927 * info.el (Info-next-reference, Info-prev-reference): Add numeric
3928 prefix argument. (Bug#11656)
3930 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
3932 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
3934 2013-02-01 Glenn Morris <rgm@gnu.org>
3936 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
3937 if the backend is known not to support it.
3939 * imenu.el (imenu-default-create-index-function):
3940 Tweak infinite loop test to check for forward motion as well as none.
3942 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
3944 * net/soap-client.el (soap-invoke): Encode the string for
3945 `url-request-data' as UTF-8.
3946 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
3948 2013-02-01 Glenn Morris <rgm@gnu.org>
3950 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
3952 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
3954 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
3956 * net/tramp.el (tramp-tramp-file-p): Comment check for
3957 `string-as-unibyte'. The function does not exist on XEmacs, and
3958 likely we need another approach.
3960 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
3961 `tramp-gw-*' variables are bound.
3963 2013-01-31 Glenn Morris <rgm@gnu.org>
3965 * files.el (basic-save-buffer-2): Choose coding system for
3966 writing the file before backing it up, to reduce delay between
3967 backing up and writing the new version. (Bug#13522)
3969 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
3971 * simple.el (cycle-spacing): New command.
3972 (just-one-space): Use it.
3974 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
3976 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
3977 (opascal-newline-always-indents): Remove custom.
3978 (opascal-tab, opascal-newline): Remove commands.
3979 (opascal-new-comment-line): Insert "\n" instead of calling newline.
3980 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
3981 (opascal-save-match-data): Remove, use save-match-data instead.
3982 (opascal-save-state): Use with-silent-modifications.
3984 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
3987 2013-01-30 Juri Linkov <juri@jurta.org>
3989 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
3990 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
3991 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
3993 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3995 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
3996 column if we're just deleting the backslashes.
3997 (makefile-fill-paragraph): Use eolp.
3999 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
4001 * autorevert.el (auto-revert-use-notify): Fix docstring.
4003 2013-01-30 Leo Liu <sdl.web@gmail.com>
4005 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
4007 2013-01-30 Glenn Morris <rgm@gnu.org>
4009 * mouse.el (mouse-drag-line): Avoid pushing same event onto
4010 unread-command-events twice in some cases. This tries to implement
4011 the 2012-07-26 changes in a different way. (Bug#13560)
4013 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4015 * progmodes/python.el
4016 (python-pdbtrack-comint-output-filter-function): Enhancements on
4017 stacktrace detection. (thanks @gnovak)
4019 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4021 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
4022 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
4024 (jit-lock-register): Use setq-local.
4026 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
4028 * calc-units.el (math-default-units-table): Remove initial value.
4029 (calc-convert-units): Treat expressions where all the units cancel as
4030 if they didn't have units.
4032 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
4034 * net/tramp.el (tramp-process-connection-type): Fix docstring.
4035 (tramp-completion-reread-directory-timeout): Fix type.
4036 (tramp-connection-min-time-diff): New defcustom.
4038 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4040 2013-01-30 Glenn Morris <rgm@gnu.org>
4042 * imenu.el (imenu-default-create-index-function):
4043 Put back a version of the infinite loop test removed 2013-01-23.
4045 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4047 * progmodes/python.el (python-shell-parse-command):
4048 Find python-shell-interpreter with modified environment.
4050 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4052 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
4054 2013-01-29 Alan Mackenzie <acm@muc.de>
4056 Amend to fontify /regexp/s in actions correctly.
4057 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
4058 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
4059 are no longer included.
4060 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
4061 What used to be these variables without "-line" in the name.
4062 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
4063 (c-awk-non-arith-op-bra-re): Now also matches {.
4064 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
4065 "return", and "case".
4066 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
4068 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
4069 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
4071 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
4073 * autorevert.el (auto-revert-use-notify):
4074 Use `custom-initialize-default' for initialization. (Bug#13583)
4076 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
4078 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4079 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
4080 in `tramp-file-name-handler'.
4081 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
4083 (tramp-compute-multi-hops): Check, whether
4084 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
4086 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
4088 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
4091 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
4093 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
4094 checks made superfluous by the \_< operator.
4095 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
4096 temporarily) broken indentation.
4097 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4098 Highlight nested constants, too. \_< broke that.
4100 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
4102 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
4105 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
4107 * autorevert.el (auto-revert-handler): Notifications which result
4108 from a saved file shall not be taken into account. (Bug#13557)
4110 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
4112 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
4113 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
4114 (lisp-mode): Pass t for it. (Bug#13556)
4116 2013-01-25 Alan Mackenzie <acm@muc.de>
4118 AWK Mode: Fix indentation bug at top level. Bug #12274.
4120 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
4121 just before CASE 5D.
4123 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
4125 * net/socks.el (socks-nslookup-host): Use string-to-number.
4127 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
4129 * autorevert.el (auto-revert-remote-files)
4130 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
4131 (auto-revert-notify-enabled, auto-revert-use-notify)
4132 (auto-revert-notify-watch-descriptor-hash-list)
4133 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
4134 (auto-revert-notify-event-descriptor)
4135 (auto-revert-notify-event-action)
4136 (auto-revert-notify-event-file-name): Doc fix.
4137 (global-auto-revert-mode): Reorder checks.
4138 (auto-revert-notify-rm-watch): Respect changed values of
4139 `auto-revert-notify-watch-descriptor-hash-list'.
4140 (auto-revert-notify-add-watch): Check for
4141 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
4142 `inotify-add-watch'. Watch `default-directory' instead of
4143 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
4144 has a changed meaning now. (Bug#13540)
4145 (auto-revert-notify-handler): Change implementation wrt events
4146 returning from a directory.
4147 (auto-revert-handler): Reorder implementation for checks of remote
4149 (auto-revert-buffers): Fix parentheses error.
4151 2013-01-25 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4153 * progmodes/python.el: Enhancements to header documentation about
4154 skeletons. (Bug#5716)
4156 * imenu.el (imenu-default-create-index-function): Remove useless
4157 infinite loop check. (Bug#13438)
4159 2013-01-25 Alan Mackenzie <acm@muc.de>
4161 Fix a bug in the state cache mechanism. Refactor this a bit.
4163 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
4164 `cache-pos' element from the return value.
4165 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
4166 buffer to enable proper searching from beyond HERE. Amend the
4167 test for detecting the sought brace pair. Amend the value written
4168 to the "brace desert cache" when the brace isn't found.
4169 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
4170 and several other variables analogously.
4171 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
4172 parameter to a locally calculated variable.
4173 (c-parse-state-1): Change the calling conventions to the two
4174 defuns involving `cache-pos'.
4176 2013-01-25 Chong Yidong <cyd@gnu.org>
4178 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
4180 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
4182 * paren.el (show-paren-function): Make sure to set 'priority and
4183 'face only if the overlay does exist.
4185 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
4187 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
4189 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
4191 (tramp-sh-handle-set-file-acl): Improve error checking.
4193 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
4195 * doc-view.el (doc-view-display): Force mode line update until all
4196 document is converted. Suggested by Stefan Monnier (Bug#13164).
4198 2013-01-23 Bastien Guerry <bzg@gnu.org>
4200 * paren.el (show-paren-function): Make sure an overlay exists
4201 before trying to delete it. Also use `pos' as a position only
4202 when it is an integer.
4204 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
4206 * play/gametree.el (gametree-break-line-here): Use point-marker.
4208 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
4210 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4211 Mark descriptive parts with `display' property.
4213 2013-01-21 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
4215 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
4216 New variable to map standard dict names to hunspell ones.
4217 (ispell-set-spellchecker-params): Make sure specific dict names
4218 are used for standard dicts with hunspell.
4220 2013-01-21 Tassilo Horn <tsdh@gnu.org>
4222 * textmodes/reftex-cite.el (reftex-format-citation): Add format
4223 chars for note (%N) and url (%U).
4224 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
4226 2013-01-21 Juri Linkov <juri@jurta.org>
4228 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
4229 in addition to existing separate binding `meta f10' in `global-map'.
4232 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
4234 Improve XEmacs compatibility.
4236 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
4238 * net/tramp-adb.el (top): Require `time-date'.
4239 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
4240 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
4241 Use `tramp-file-name-handler'.
4242 (tramp-adb-maybe-open-connection):
4243 Use `tramp-compat-set-process-query-on-exit-flag'.
4245 * net/tramp-sh.el (tramp-sh-handle-file-acl):
4246 Use `tramp-compat-funcall'.
4248 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
4249 `tramp-compat-funcall'.
4251 2013-01-21 JĂ¼rgen Hötzel <juergen@archlinux.org>
4253 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
4254 reimplementation using "adb shell command ..." instead of running
4255 remote shell interactively.
4257 2013-01-20 Glenn Morris <rgm@gnu.org>
4259 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
4260 Add native profiler menu entries.
4262 * profiler.el (profiler-running-p): New function.
4263 (profiler-cpu-profile): Use profiler-running-p.
4264 (profiler-report-mode-map): Add some more menu entries.
4266 2013-01-19 Glenn Morris <rgm@gnu.org>
4268 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
4269 fixes 2012-12-07 change. (Bug#13499)
4271 2013-01-19 Leo Liu <sdl.web@gmail.com>
4273 * dired.el (dired-get-marked-files): Prune erroneous values due to
4274 last change. (Bug#13152)
4276 2013-01-19 Glenn Morris <rgm@gnu.org>
4278 * progmodes/etags.el (tags-table-check-computed-list):
4279 Preserve point in tags buffer. (Bug#13412)
4281 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
4283 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
4284 Chong Yidong <cyd@gnu.org>
4286 * image-mode.el (image-next-file, image-previous-file):
4287 New commands (Bug#8453).
4288 (image-mode-map): Bind them to n and p.
4289 (image-mode--images-in-directory): New helper function.
4291 2013-01-19 Chong Yidong <cyd@gnu.org>
4293 * image-mode.el (image-mode-fit-frame): Add a frame argument.
4294 Suggested by Drew Adams (Bug#7730). Handle window decorations;
4295 save and restore the old window configuration.
4297 2013-01-18 Leo Liu <sdl.web@gmail.com>
4299 * progmodes/js.el: Tweak autoload cookie for alias.
4301 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4303 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
4304 buffer local, again. This was lost with the fix on 2013-01-12.
4306 2013-01-17 JĂ¼rgen Hötzel <juergen@archlinux.org>
4308 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
4309 order to support several eshell buffers in parallel.
4311 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4313 * autorevert.el (auto-revert-use-notify): In the :set function, do
4314 not modify `kill-buffer-hook'.
4315 (auto-revert-notify-rm-watch):
4316 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
4317 (auto-revert-notify-add-watch): Do not call
4318 `auto-revert-notify-rm-watch', but add it to a buffer local
4321 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4323 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
4324 call to `eval' rather than a backquoted lambda.
4326 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
4328 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
4329 to return an explicit nil.
4330 (advice--remove-function): Change accordingly.
4332 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
4333 the use of nadvice.el.
4335 * progmodes/which-func.el (which-function): Silence imenu errors
4338 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4340 * progmodes/sql.el (sql-imenu-generic-expression):
4341 (sql-mode-font-lock-object-name): Match schema qualified names.
4342 (sql-connect): Use string keys.
4343 (sql-product-interactive): Wait for interpreter prompt.
4344 (sql-comint-oracle): Set process coding based on NLS_LANG.
4346 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4348 * progmodes/sql.el (sql-output-to-send): Remove, unused.
4349 (sql-interactive-remove-continuation-prompt):
4350 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
4352 2013-01-14 Leo Liu <sdl.web@gmail.com>
4354 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
4357 2013-01-14 Glenn Morris <rgm@gnu.org>
4359 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4360 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
4362 2013-01-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4364 * progmodes/python.el (python-nav-end-of-statement):
4365 Fix cornercase when handling multiline strings.
4367 2013-01-13 Richard Stallman <rms@gnu.org>
4369 * mail/sendmail.el (mail-position-on-field): Add doc string.
4371 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4372 Get current message boundaries and pass them to
4373 message-forward-make-body-mime. Minor style changes.
4375 2013-01-13 Eli Zaretskii <eliz@gnu.org>
4377 * cus-start.el (all): Avoid warnings about
4378 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
4380 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
4382 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
4384 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4386 * jit-lock.el (jit-lock-debug-mode): New minor mode.
4387 (jit-lock--debug-fontifying): New var.
4388 (jit-lock--debug-fontify): New function.
4389 * subr.el (condition-case-unless-debug): Don't prevent catching the
4390 error, just let the debbugger run.
4391 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
4392 timer code and don't drop errors silently.
4394 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
4396 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
4397 `permanent-local' property.
4398 (auto-revert-notify-handler): Use `file-equal-p'.
4400 2013-01-12 Eli Zaretskii <eliz@gnu.org>
4402 * autorevert.el (auto-revert-notify-handler): Fix filtering of
4403 file notification by ACTION. For filtering by file name, compare
4404 only the non-directory part of the file name.
4406 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4408 * autorevert.el: Use cl-lib instead of cl.
4410 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
4411 (vc-bzr-checkin): Use it.
4412 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
4413 will preserve match-data.
4415 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
4417 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
4418 (js--declaration-keyword-re): New var.
4419 (js--multi-line-declaration-indentation): New function.
4420 (js--proper-indentation): Use it.
4422 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
4424 * calc/calc.el (calc-highlight-selections-with-faces)
4426 * comint.el (comint-history-isearch-message):
4427 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
4428 * ffap.el (ffap-string-at-point-region, ffap-next)
4429 (ffap-string-at-point, ffap-string-around)
4430 (ffap-copy-string-as-kill, ffap-highlight-overlay)
4432 * font-lock.el (font-lock-keywords-alist)
4433 (font-lock-removed-keywords-alist):
4434 * help-mode.el (help-xref-symbol-regexp):
4435 * info.el (Info-find-emacs-command-nodes):
4436 * international/mule.el (add-to-coding-system-list):
4437 * isearch.el (isearch-message-function, isearch-fail-pos):
4438 * misearch.el (multi-isearch-next-buffer-function):
4439 * newcomment.el (comment-box):
4440 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
4441 (pr-setting-database):
4442 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
4443 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
4444 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
4445 (pike-font-lock-keywords-3):
4446 * progmodes/compile.el (compile):
4447 * progmodes/etags.el (tags-table-files)
4448 (tags-table-files-function, tags-included-tables-function):
4449 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
4450 (gdb-restore-windows):
4451 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
4452 (ps-n-up-filling-database):
4453 * server.el (server-buffer, server-log):
4454 * simple.el (newline, delete-backward-char, delete-forward-char)
4455 (minibuffer-history-isearch-message, kill-line, track-eol)
4456 (temporary-goal-column):
4457 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
4458 (flyspell-default-deplacement-commands):
4459 * textmodes/ispell.el (ispell-accept-output):
4460 * textmodes/sgml-mode.el (html-tag-help):
4461 * vc/compare-w.el (compare-ignore-whitespace)
4462 (compare-ignore-case, compare-windows-dehighlight):
4463 * vc/diff.el (diff):
4464 * whitespace.el (whitespace-point)
4465 (whitespace-font-lock-refontify, whitespace-bob-marker)
4466 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
4468 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
4470 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
4471 (auto-revert-notify-rm-watch): Ignore errors.
4472 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
4473 inotify, and '(size last-write-time) for w32notify.
4474 Set buffer-local `auto-revert-use-notify' to nil when adding a file
4475 watch fails - this is a fallback to the file modification check.
4476 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
4477 (auto-revert-notify-event-action)
4478 (auto-revert-notify-event-file-name): New defuns.
4479 (auto-revert-notify-handler): Use them. Implement first
4480 plausibility checks.
4481 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
4483 2013-01-11 Julien Danjou <julien@danjou.info>
4485 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
4486 max are almost equal. Also return the correct value for V which is
4487 already between 0 and 1.
4489 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
4491 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
4493 2013-01-11 Eli Zaretskii <eliz@gnu.org>
4495 * autorevert.el (auto-revert-notify-rm-watch)
4496 (auto-revert-notify-add-watch): Fix typos in w32notify function
4499 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4501 * autorevert.el (auto-revert-notify-enabled): Move up.
4502 (auto-revert-use-notify): New defcustom.
4503 (auto-revert-mode, global-auto-revert-mode)
4504 (auto-revert-notify-add-watch, auto-revert-handler)
4505 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
4506 `auto-revert-notify-enabled'.
4508 2013-01-10 Elias Pipping <pipping@exherbo.org>
4510 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
4511 * doc-view.el (doc-view-document->bitmap):
4512 Use doc-view-single-page-converter-function instead of
4513 single-page-converter arg; adjust callers.
4515 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
4517 * progmodes/which-func.el (which-function): Understand Semantic's use
4518 of overlays in imenu--index-alist.
4520 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
4522 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
4523 (Man-man-k-use-anchor): New var.
4524 (Man-parse-man-k): New function.
4525 (Man-completion-table): Use it.
4526 (man): Flush the completion cache between uses.
4528 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4530 * autorevert.el: Add file watch support.
4531 (auto-revert-notify-enabled): New defconst.
4532 (auto-revert-notify-watch-descriptor-hash-list)
4533 (auto-revert-notify-watch-descriptor)
4534 (auto-revert-notify-modified-p): New defvars.
4535 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4536 (auto-revert-notify-handler): New defuns.
4537 (auto-revert-mode, global-auto-revert-mode): Remove file watches
4538 when mode is disabled.
4539 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
4540 (auto-revert-buffers): Add file watches for active buffers.
4542 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
4544 * cus-start.el (toplevel): Only allow float values for
4545 scroll-up-aggressively and scroll-down-aggressively.
4546 Allow any number for line-spacing.
4548 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4550 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
4551 (doc-view-pdf->png-converter-function): Use mupdf if available.
4552 (doc-view-djvu->png-converter-function)
4553 (doc-view-ps->png-converter-function): Remove.
4554 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
4555 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
4556 (doc-view-already-converted-p): Adjust accordingly.
4557 (doc-view-mode-p): Simplify.
4558 (doc-view-enlarge): Use setq-local.
4559 (doc-view-pdf->png-converter-ghostscript)
4560 (doc-view-djvu->png-converter-ddjvu)
4561 (doc-view-pdf->png-converter-mupdf): Rework to call
4562 doc-view-start-process directly.
4563 (doc-view-pdf/ps->png): Simplify accordingly.
4564 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
4565 (doc-view-document->bitmap): Rename from doc-view-document->png.
4566 (doc-view-convert-current-doc): Merge pdf and djvu cases.
4567 (doc-view-set-slice-from-bounding-box): Fix completion table.
4568 (doc-view-mode): Use add-hook for after-revert-hook.
4570 2013-01-10 Glenn Morris <rgm@gnu.org>
4572 * emacs-lisp/authors.el (authors-ignored-files)
4573 (authors-valid-file-names, authors-renamed-files-alist):
4574 Add some more entries.
4576 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4578 * image-mode.el (image-mode-winprops): Don't throw away the fallback
4579 `t' pseudo-window entry.
4581 2013-01-10 Alan Mackenzie <acm@muc.de>
4583 Fix bugs in the c-parse-state mechanism. Reuse some markers
4584 instead of continually generating new ones.
4586 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
4587 (c-state-old-cpp-end-marker): New variables.
4588 (c-append-lower-brace-pair-to-state-cache): Start a backward
4589 search for "}" definitively outside CPP constructs.
4590 (c-remove-stale-state-cache): Inform the caller of a need to
4591 search back for a brace pair in certain circumstances.
4592 (c-state-maybe-marker): New macro.
4593 (c-parse-state): Reuse markers when appropriate.
4595 2013-01-10 Glenn Morris <rgm@gnu.org>
4597 * simple.el (execute-extended-command): Doc fix.
4598 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
4600 2013-01-10 Chong Yidong <cyd@gnu.org>
4602 * faces.el (read-face-name): Doc fix.
4604 2013-01-10 Roland Winkler <winkler@gnu.org>
4606 * emacs-lisp/crm.el: Allow any regexp for separators.
4607 (crm-default-separator): All spaces around the default comma separator.
4608 (crm--completion-command): New macro.
4609 (crm-completion-help, crm-complete, crm-complete-word): Use it.
4610 (crm-complete-and-exit): Handle non-single-char separators.
4612 2013-01-09 Elias Pipping <pipping@lavabit.com>
4614 * doc-view.el: Add support for DjVu (bug#13164).
4615 (doc-view-djvu->png-converter-function): New config var.
4616 (doc-view-single-page-converter-function, doc-view--image-type)
4617 (doc-view--image-file-extension): New vars.
4618 (doc-view-mode): Initialize them.
4619 (doc-view-goto-page): Use them.
4620 (doc-view-mode-p): Add support for ddjvu.
4621 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
4622 (doc-view-set-up-single-converter): New funs.
4623 (doc-view-pdf/ps->png): Extend for djvu.
4624 (doc-view-document->png): Rename from doc-view-pdf->png.
4625 (doc-view-convert-current-doc): Handle djvu.
4626 (doc-view-insert-image, doc-view-display)
4627 (doc-view-already-converted-p): Don't hardcode png.
4628 (doc-view-set-doc-type): Recognize djvu docs.
4630 2013-01-09 Elias Pipping <pipping@lavabit.com>
4632 * doc-view.el: Add support for mupdf converter (bug#13164).
4633 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
4634 (doc-view-ps->png-converter-function): New config vars.
4635 (doc-view-pdf->png-converter-ghostscript)
4636 (doc-view-ps->png-converter-ghostscript)
4637 (doc-view-pdf->png-converter-mupdf): New functions.
4638 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
4640 2013-01-09 JĂ¼rgen Hötzel <juergen@archlinux.org>
4642 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
4643 first in session cache: When `tramp-own-remote-path' is in
4644 `tramp-remote-path', the remote path is only set in the session
4647 2013-01-09 Glenn Morris <rgm@gnu.org>
4649 * emacs-lisp/trace.el (trace-function-foreground)
4650 (trace-function-background): Doc fix.
4652 2013-01-09 Juri Linkov <juri@jurta.org>
4654 * international/mule-cmds.el (read-char-by-name): Move let-binding
4655 of completion-ignore-case around completing-read to fix regression
4656 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
4657 `string-match-p' using the nil value of `case-fold-search' and
4658 `completion-ignore-case' in `completion-pcm--all-completions'.
4661 2013-01-09 Glenn Morris <rgm@gnu.org>
4663 * progmodes/compile.el (compilation-parse-errors):
4664 Fix typo. (Bug#13369)
4666 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4668 * comint.el (comint-send-input): Check size of buffer before
4669 waiting for process output, in case already accepted. (Bug#13290)
4671 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
4674 * net/tramp-adb.el (tramp-adb-get-toolbox):
4675 Fix misspelling of 'unknown'.
4677 2013-01-08 Juri Linkov <juri@jurta.org>
4679 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4680 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4681 Use underline style wave on terminals that support it. (Bug#13000)
4683 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4685 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
4686 the predicate returns nil.
4688 * simple.el: Use lexical-binding.
4689 (primitive-undo): Use pcase.
4690 (minibuffer-history-isearch-push-state): Use a closure.
4692 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4694 * simple.el (primitive-undo): Move from undo.c.
4696 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4698 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
4699 (cvs-mode-remove-handled): Use it (bug#13380).
4701 * emacs-lisp/nadvice.el (advice--tweak): New function.
4702 (advice--remove-function, advice--subst-main): Use it.
4704 * emacs-lisp/advice.el: Update commentary.
4706 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
4708 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4709 Remove spurious entry.
4711 2013-01-08 Glenn Morris <rgm@gnu.org>
4713 * net/tramp.el (tramp-default-host-alist): Add :version.
4715 2013-01-08 Juri Linkov <juri@jurta.org>
4717 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
4718 single completion. (Bug#12456)
4719 (info--manual-names): Expand node completions into an explicit list
4720 before appending it to another list. Filter out internal buffers
4721 with the leading space in the buffer name. (Bug#10771)
4723 2013-01-08 Juri Linkov <juri@jurta.org>
4725 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
4726 that defaults to the Top node.
4727 (Info-goto-node, Info-read-node-name): Doc fix to mention that
4728 the short format (FILENAME) goes to the Top node.
4729 (Info-build-node-completions): Rename arg `file' to `filename'.
4732 2013-01-07 Bastien Guerry <bzg@gnu.org>
4734 * menu-bar.el (menu-bar-search-documentation-menu):
4735 Use `apropos-user-option' and fix the help message.
4737 2013-01-07 Bastien Guerry <bzg@gnu.org>
4739 * apropos.el (apropos-do-all): Update docstring.
4740 (apropos-user-option-button): New face.
4741 (apropos-user-option): Rename from `apropos-variable' and update
4743 (apropos-variable): Rewrite, now show all variables by default.
4744 (apropos-print): Mention "User option" instead of "Variable" when
4745 printing doc for user options. (Bug#13276)
4747 2013-01-07 JĂ¼rgen Hötzel <juergen@archlinux.org>
4749 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4750 Handle filename correctly, when parsing "source -> target" symlink
4752 (tramp-adb-handle-set-file-times): New defun.
4754 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
4756 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
4757 advice list when the interactive-spec of ad-Advice-* changes.
4759 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
4761 * wid-edit.el (widget-default-get): Work for inlined elements.
4764 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
4766 * net/tramp.el (tramp-default-host-alist): New defcustom.
4767 (tramp-find-host): Use it.
4768 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
4769 `eshell-directory-change-hook'.
4771 * net/tramp-adb.el (top): Add adb specific entry in
4772 `tramp-default-host-alist'.
4773 (tramp-adb-file-name-host): Remove function.
4774 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4775 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
4777 * net/tramp-sh.el: Move eshell integration code to tramp.el.
4779 2013-01-06 JĂ¼rgen Hötzel <juergen@archlinux.org>
4781 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
4783 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
4785 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
4786 consist of more than one digit.
4787 (tramp-adb-file-name-handler-alist):
4788 Use `tramp-handle-file-exists-p' consistently.
4789 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
4790 (tramp-adb-handle-file-exists-p): Remove function.
4791 (tramp-adb-file-name-host): New defun.
4792 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4794 (tramp-adb-maybe-open-connection): Set "remote-path" property.
4796 2013-01-06 Chong Yidong <cyd@gnu.org>
4798 * vc/vc.el (vc-next-action): Detect buffer modifications
4799 conflicting with locking VCS operation (Bug#11490).
4801 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
4803 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
4805 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4806 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
4808 2013-01-05 JĂ¼rgen Hötzel <juergen@archlinux.org>
4810 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
4811 parsing of ls output using regular expression (handle filenames
4812 with spaces). Use virtual device number.
4813 (tramp-do-parse-file-attributes-with-ls): New defun (Code
4816 2013-01-04 Daiki Ueno <ueno@gnu.org>
4818 * epg.el: Silence byte-compiler warnings.
4819 (epg--start): Use delete-char instead of delete-backward-char.
4820 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
4822 2013-01-04 Daiki Ueno <ueno@gnu.org>
4824 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
4825 Suggested by Eli Zaretskii <eliz@gnu.org>.
4827 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
4829 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
4830 non-negative integers. Otherwise, the default values are used.
4831 (tramp-convert-file-attributes): Convert uid and gid to integers.
4833 2013-01-04 Glenn Morris <rgm@gnu.org>
4835 * term.el (term-handle-colors-array): Ensure face attributes
4836 are fully specified, not nil. (Bug#13337)
4838 * term.el (term-default-fg-color, term-default-bg-color):
4841 * progmodes/etags.el (tags-compression-info-list): Doc fix.
4842 (tag-find-file-of-tag-noselect): Check auto-compression-mode
4843 rather than 'jka-compr being loaded. (Bug#13338)
4845 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
4847 * icomplete.el (icomplete-completions):
4848 Honor icomplete-prospects-height once more following
4849 2012-11-29 changes. (Bug#13224)
4851 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
4853 * subr.el (internal--called-interactively-p--get-frame): Find aliases
4854 of called-interactively-p as well (bug#13237).
4856 * view.el (view--enable, view--disable): Rename from view-mode-enable
4857 and view-mode-disable and assume it's called from view-mode.
4858 (view-mode-enable, view-mode-disable): Redefine as obsolete
4859 compatibility layer above view-mode.
4860 (view-mode-enter): Call `view-mode'.
4862 * files.el (after-find-file): Call `view-mode'.
4864 * doc-view.el (doc-view-scale-internally): New var.
4865 (doc-view-enlarge, doc-view-insert-image): Obey it.
4867 2013-01-03 Daiki Ueno <ueno@gnu.org>
4869 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
4872 2013-01-03 Glenn Morris <rgm@gnu.org>
4874 * mail/rmail.el (rmail-set-header-1): Ignore case.
4875 Handle multi-line headers. (Bug#13330)
4877 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
4878 Handle paragraph starting at beginning of buffer.
4880 * subr.el (eval-after-load): Don't purecopy the form, so that it
4881 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
4883 * emacs-lisp/byte-run.el (defun): Place cl declarations
4884 after any interactive spec. (Bug#13265)
4886 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4888 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
4889 defun. Don't check for DECL if DOCSTRING isn't a string.
4892 2013-01-02 Glenn Morris <rgm@gnu.org>
4894 * eshell/em-cmpl.el (eshell-pcomplete):
4895 More thoroughly imitate pcomplete. (Bug#13293)
4897 * files.el (parse-colon-path): Doc fix. (Bug#12351)
4898 Return nil for empty path elements. (Bug#13296)
4900 2013-01-02 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4902 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
4903 order to improve efficiency (Based on Daniel Colascione's
4904 <dancol@dancol.org> patch). (Bug#13182)
4906 2013-01-02 Glenn Morris <rgm@gnu.org>
4908 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
4910 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4912 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
4913 neither DOCSTRING nor DECL was given. (Bug#13316)
4915 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
4917 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
4919 (tramp-do-copy-or-rename-file): Ignore errors when calling
4920 `set-file-extended-attributes'.
4922 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4923 Add handler for `file-acl'.
4924 (tramp-smb-handle-file-acl): New defun.
4926 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
4928 * calc/README: Mention ISO 8601 week-numbering dates.
4930 2013-01-01 Martin Rudalics <rudalics@gmx.at>
4932 * view.el (view-mode-enable): New argument run-view-mode-hook.
4933 Run view-mode-hook only when it's non-nil (Bug#13315).
4934 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
4937 2012-12-31 JĂ¼rgen Hötzel <juergen@archlinux.org>
4939 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
4940 (No device connected, invalid device name). (Bug #13299)
4942 2012-12-31 Martin Rudalics <rudalics@gmx.at>
4944 * window.el (window-resizable--p): Rename to window-resizable-p.
4945 (window-resize-no-error): New function.
4947 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
4948 broken in fix from 2012-12-28.
4950 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
4952 * subr.el (special-form-p): Don't signal errors on undef aliases.
4954 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
4956 * calc/calc-forms.el (math-parse-date): Try using
4957 `math-parse-iso-date' when it looks like it might be needed.
4958 Allow times of 24:00.
4959 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
4962 2012-12-30 Glenn Morris <rgm@gnu.org>
4964 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
4965 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
4966 (rmail-summary-displayed, rmail-summary): Declare.
4967 (mairix-rmail-display): Just require rmail.
4969 2012-12-30 Chong Yidong <cyd@gnu.org>
4971 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
4972 check for the tarball contents.
4974 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
4976 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
4977 tarfile content listings (Bug#13136).
4979 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
4981 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4982 Insert the undecoded text of the message being forwarded. (Bug#9521)
4984 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
4986 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
4987 integers, if they are real numbers. (Bug#13282)
4989 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
4990 Return `t' on success.
4992 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4993 Add handler for `set-file-selinux-context'.
4995 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
4997 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
4998 (tramp-sh-handle-set-file-acl): Return `t' on success.
5000 2012-12-29 Eli Zaretskii <eliz@gnu.org>
5002 * files.el (backup-buffer-copy, basic-save-buffer-2):
5003 If set-file-extended-attributes fails, fall back on set-file-modes
5004 instead of signaling an error. (Bug#13298)
5005 (basic-save-buffer): Likewise.
5007 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5009 * progmodes/python.el: Support other commands triggering
5010 python-indent-line so indentation cycling continues to work.
5011 (python-indent-trigger-commands): New defcustom.
5012 (python-indent-line): Use it.
5014 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5016 * progmodes/python.el (python-shell-send-region): Add blank lines
5017 for non sent code so backtraces remain correct.
5019 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5021 * progmodes/python.el: Remove cl dependency.
5022 (python-syntax-count-quotes): Replace incf call.
5023 (python-fill-string): Replace setf call.
5025 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
5027 * info.el (info-other-window): New arg, for consistency with info.
5029 2012-12-28 Martin Rudalics <rudalics@gmx.at>
5031 * mail/rmail.el (rmail-maybe-display-summary):
5032 Rewrite (Bug#13066).
5034 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
5036 * epg.el (epg--start): Modify process-environment locally.
5038 2012-12-28 Daiki Ueno <ueno@gnu.org>
5040 * epg.el: Support pinentry-curses.
5041 Suggested by Werner Koch in
5042 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
5043 (epg-agent-file, epg-agent-mtime): New variable.
5044 (epg--start): Record the modified time of gpg-agent socket file,
5045 to restore Emacs frame after pinentry-curses termination.
5046 (epg-wait-for-completion): Restore Emacs frame here.
5048 2012-12-27 Juri Linkov <juri@jurta.org>
5050 * info.el (Info-file-completions): New variable.
5051 (Info-read-node-name-1): Complete node names in the Info file
5052 when a file name is given. Call `Info-build-node-completions'
5054 (Info-build-node-completions): Add new arg `file'. When it is
5055 non-nil, visit it in a temporary buffer and cache its completions in
5056 `Info-current-file-completions'. Move most of the function body to
5057 `Info-build-node-completions-1'.
5058 (Info-build-node-completions-1): New function with the body from
5059 `Info-build-node-completions'. (Bug#12456)
5061 2012-12-27 Juri Linkov <juri@jurta.org>
5063 * frame.el (frame-maximization-style): Remove user option.
5064 (cycle-frame-maximized): Remove function.
5065 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
5066 (toggle-frame-fullscreen): New command bound to <f11> instead of
5067 `toggle-frame-maximized'.
5068 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
5070 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
5072 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
5074 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5075 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5076 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5077 for `file-accessible-directory-p'. (Bug#13275)
5079 2012-12-27 Sam Steingold <sds@gnu.org>
5081 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
5082 continuations, see <http://stackoverflow.com/questions/3582436>.
5084 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
5086 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
5087 "module" and "def" to have indentation before them.
5088 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
5090 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
5092 2012-12-27 Alan Mackenzie <acm@muc.de>
5094 Speed up fontification where there's large brace blocks.
5095 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
5096 to a call of c-beginning-of-decl-1.
5098 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
5100 * comint.el (comint-adjust-window-point): New function.
5101 (comint-postoutput-scroll-to-bottom):
5102 Call comint-adjust-window-point (Bug#13248).
5104 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
5106 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
5108 (auto-mode-alist): Associate .gemspec files with ruby-mode
5109 (https://bugs.ruby-lang.org/issues/5453).
5111 2012-12-26 JĂ¼rgen Hötzel <juergen@archlinux.org>
5113 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
5114 Suppress coloring, if possible (required for BusyBox based systems like
5116 (tramp-adb-handle-file-attributes)
5117 (tramp-adb-handle-insert-directory)
5118 (tramp-adb-handle-file-name-all-completions): Use it.
5119 (tramp-adb-get-toolbox): New defun. Check for remote shell
5120 implementation (BusyBox or Toolbox).
5122 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
5124 * startup.el (initial-buffer-choice): Allow function as value
5126 (command-line-1): Handle case where initial-buffer-choice
5127 specifies a function.
5128 * server.el (server-execute): Handle case where
5129 initial-buffer-choice specifies a function.
5131 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5133 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
5135 (smtpmail-try-auth-methods): Forget the user name/password if the
5136 login is unsuccessful (bug#12424).
5138 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
5140 * notifications.el (notifications-notify): Protect body with
5141 `with-demoted-errors'.
5143 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5144 Check properties of remote device. Restart connection, if there is a
5147 2012-12-21 Chong Yidong <cyd@gnu.org>
5149 * sort.el (sort-subr): Doc fix (Bug#13056).
5151 2012-12-21 Bastien Guerry <bzg@gnu.org>
5153 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
5155 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
5157 * simple.el (process-file): Overwrite stderr file, if exists.
5159 2012-12-21 Daiki Ueno <ueno@gnu.org>
5161 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
5162 (epg-error): Set `error-message' property.
5164 2012-12-21 Chong Yidong <cyd@gnu.org>
5166 * international/mule-cmds.el (read-char-by-name): Signal an error
5167 if the user does not supply a valid character (Bug#13177).
5169 * simple.el (transpose-subr-1): Preserve marker positions by
5170 changing the insertion sequence (Bug#13122).
5172 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5174 * simple.el (kill-region): Deactivate mark even for empty regions
5177 2012-12-21 Chong Yidong <cyd@gnu.org>
5179 * help-fns.el (describe-variable): Make sure we get the right
5180 buffer name (Bug#13105). Suggested by Kelly Dean.
5182 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
5184 * comint.el (comint-redirect-previous-input-string): New variable.
5185 (comint-redirect-setup, comint-redirect-cleanup)
5186 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
5187 (comint-redirect-preoutput-filter): Fix verbose message.
5189 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
5191 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
5192 is too long for Tramp. See discussion in
5193 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
5195 * progmodes/compile.el (compilation-start): Remove line escape
5198 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
5200 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
5203 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
5205 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
5206 following non-comment text (bug#13207).
5207 (lm-header-multiline): Continuation lines need to be indented more than
5209 (lm-homepage): New function.
5210 (lm-with-file): Don't be confused if narrowing is in effect.
5212 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5214 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
5215 very beginning of a hunk (e.g. killing the first line).
5217 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
5219 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
5220 and text properties from returned ACL string.
5221 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
5222 for "setfacl" command.
5224 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
5226 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
5227 `tramp-cleanup-this-connection', when the process has died.
5230 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5232 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
5234 2012-12-17 Kevin Ryde <user42@zip.com.au>
5236 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
5238 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
5240 Add support for preserving ACL entries of files.
5242 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
5243 `set-file-acl' handlers.
5245 * net/tramp-adb.el (tramp-adb-handle-copy-file):
5246 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5248 * net/tramp-compat.el (tramp-compat-copy-file):
5249 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5251 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5252 Add `file-acl' and `set-file-acl' handlers.
5253 (tramp-gvfs-handle-copy-file):
5254 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5255 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
5258 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5259 Add `file-acl' and `set-file-acl' handlers.
5260 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
5261 (tramp-sh-handle-set-file-acl): New defuns.
5262 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
5263 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5265 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5266 Add `file-acl' and `set-file-acl' handlers.
5267 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
5269 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5271 * help-macro.el (make-help-screen): Instead of switch-to-buffer
5272 use pop-to-buffer with NORECORD argument t. As buffer name, use
5273 *Metahelp* with a leading space (Bug#13190).
5275 2012-12-16 Romain Francoise <romain@orebokech.com>
5277 * files.el (file-extended-attributes)
5278 (set-file-extended-attributes): New functions.
5279 (backup-buffer): Use them to handle both SELinux context and ACL
5281 (backup-buffer-copy): Work with an alist of extended attributes,
5282 rather than an SELinux context.
5283 (basic-save-buffer-2): Ditto.
5285 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
5287 * battery.el (battery-bsd-apm): New function.
5289 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
5291 * calc/calc.el (calc-standard-date-formats): Adjust one of the
5292 standard date formats.
5294 2012-12-15 Juri Linkov <juri@jurta.org>
5296 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
5297 `isearch-insert-char-by-name'.
5298 (with-isearch-suspended): New defmacro with body mostly from
5299 `isearch-edit-string' except the part that sets
5300 `isearch-new-string' and `isearch-new-message'.
5301 (isearch-edit-string): Use new macro `with-isearch-suspended' with
5302 body that sets `isearch-new-string' and `isearch-new-message'.
5303 (isearch-insert-char-by-name): New command.
5304 * international/mule-cmds.el (read-char-by-name): Let-bind
5305 `enable-recursive-minibuffers' to t.
5306 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
5308 2012-12-15 Juri Linkov <juri@jurta.org>
5310 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
5313 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
5315 * dired-x.el (dired-guess-shell-command): Put colon at the end of
5316 the prompt. (Bug#13045)
5318 2012-12-14 Glenn Morris <rgm@gnu.org>
5320 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
5321 Try to include filename in non-bytecomp warning. (Bug#13132)
5323 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
5325 Fix permissions bugs with setgid directories etc. (Bug#13125)
5326 * files.el (backup-buffer): Don't rely on 9th output of
5327 file-attributes, as it's now a placeholder. Instead, use the new
5328 optional arg of file-ownership-preserved-p.
5329 (file-ownership-preserved-p): New optional arg GROUP.
5330 Fix mishandling of setuid directories that would cause this
5331 function to return t when it should have returned nil.
5332 Document what happens if the file does not exist, and when
5333 it's not known whether the ownership will be preserved.
5334 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
5336 (tramp-get-local-gid): Use group-gid for integer, as that's
5337 faster and more reliable.
5339 2012-12-14 Julien Danjou <julien@danjou.info>
5341 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
5342 Update keywords list, data type and PL/pgSQL.
5344 2012-12-14 Dave Abrahams <dave@boostpro.com>
5346 * vc/ediff-util.el (ediff-buffer-type): New function.
5347 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
5348 rather than taking it as as argument.
5349 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
5351 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
5353 * json.el: Add pretty-print option (bug#12634).
5354 (json-encoding-separator, json-encoding-default-indentation)
5355 (json--encoding-current-indentation, json-encoding-pretty-print)
5356 (json-encoding-lisp-style-closings): New vars.
5357 (json--with-indentation): New macro.
5358 (json-encode-hash-table, json-encode-alist, json-encode-plist)
5359 (json-encode-array): Use it to obey json-encoding-pretty-print.
5360 (json-pretty-print-buffer, json-pretty-print): New commands.
5362 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
5364 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5365 Extract `ruby-syntax-propertize-expansions'.
5366 (ruby-syntax-propertize-expansions): Only change syntax on
5367 certain string delimiters, to punctuation. This way the common
5368 functions like forward-word and thing-at-point still work.
5369 (ruby-match-expression-expansion): Improve readability.
5370 (ruby-block-contains-point): New function.
5371 (ruby-add-log-current-method): Handle several edge cases.
5373 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5375 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
5376 unload-feature finishes even when aborting an ongoing edebug session.
5377 Also, do not worry about edebug-mode, unload-feature takes care of it.
5379 2012-12-13 Andreas Schwab <schwab@suse.de>
5381 * net/tls.el (tls-program): Update customize type.
5383 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5385 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
5386 (edebug-setup-hook, cl-read-load-hooks): Use it.
5387 (edebug-unload-function): New function. (Bug#13163)
5389 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
5391 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
5392 Otherwise, there could be errors in autoloading. (Bug#13151)
5394 2012-12-13 JĂ¼rgen Hötzel <juergen@archlinux.org>
5396 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
5399 2012-12-13 Alan Mackenzie <acm@muc.de>
5401 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
5402 * progmodes/cc-engine.el (c-backward-comments): Add code to work
5403 around `forward-comment' not recognizing ^M as whitespace.
5405 2012-12-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5407 * progmodes/python.el (python-skeleton-class)
5408 (python-skeleton-def): Do not add space after defun name.
5410 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5412 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
5413 (cl--symbol-function): Remove (now that funbound is like nil).
5415 2012-12-12 Glenn Morris <rgm@gnu.org>
5417 * button.el (button--area-button-p): Fix typo.
5419 2012-12-12 Sam Steingold <sds@gnu.org>
5421 * frame.el (frame-maximization-style): New user option.
5422 (toggle-frame-maximized): Toggle frame maximization according to
5423 `frame-maximization-style', bound to <f11>.
5424 (cycle-frame-maximized): Cycle between all maximization styles and
5425 non-maximized frame, bound to shift-<f11>.
5427 2012-12-12 David Cadé <codename68@gmail.com>
5429 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
5431 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
5433 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
5434 (eieio-override-prin1): Don't quote kewords and booleans.
5435 (object-write) <eieio-default-superclass>: Don't put closing parens
5436 on new line, avoid needless empty lines, align values that are objects
5437 with the slot keyword (instead of beginning on the same line).
5438 (eieio-list-prin1): Align value with slot keyword; increase
5439 eieio-print-depth before printing members of the list.
5441 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5443 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
5444 a display text-property.
5445 (report-emacs-bug-hook): Don't bother deleting it any more.
5447 * hilit-chg.el (highlight-save-buffer-state): Delete.
5448 Use with-silent-modifications instead.
5449 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
5451 * button.el: Handle buttons in display text-properties.
5452 (button--area-button-p, button--area-button-string):
5453 Use (STRING . STRING-POS) representation instead of just STRING.
5455 2012-12-11 Eli Zaretskii <eliz@gnu.org>
5457 * makefile.w32-in (compile4-SH): Fix a typo that caused term
5458 subdirectory be skipped.
5460 2012-12-11 Glenn Morris <rgm@gnu.org>
5462 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
5464 * progmodes/f90.el (f90-line-continued, f90-indent-region):
5465 Treat preprocessor lines embedded in continuations like comments.
5466 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
5468 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
5470 * calc/calc.el (calc-standard-date-formats): Add more date
5472 * calc/calc-forms.el (math-parse-iso-date): New function.
5473 (math-parse-date): Use `math-parse-iso-date' when appropriate.
5474 (math-parse-iso-date-validate): Add extra error checking.
5475 (calc-date-notation): Add ability to access new date formats.
5477 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5479 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
5480 font-lock as well as when there's no text-property.
5482 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
5484 * hi-lock.el: Refine the choice of default face.
5485 (hi-lock-keyword->face): New function. Use it wherever we used
5487 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
5488 (hi-lock--last-face): Remove var.
5489 (hi-lock--unused-faces): New var to replace it.
5490 (hi-lock-read-face-name): Use/maintain it.
5491 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
5492 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
5493 if it has another face.
5495 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5497 * subr.el (w32notify-handle-event): New function.
5498 (inotify-handle-event): Doc fix.
5500 2012-12-10 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
5502 * subr.el (inotify-event-p, inotify-handle-event): New functions.
5504 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
5506 * simple.el (just-one-space): Doc fix.
5508 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5510 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
5512 2012-12-10 Le Wang <l26wang@gmail.com>
5514 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
5515 narrowed buffer (bug#12361).
5517 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
5519 * vc/vc-hooks.el (vc-state): Doc fix.
5521 2012-12-10 Glenn Morris <rgm@gnu.org>
5523 * mail/rmail.el (rmail-maybe-display-summary):
5524 Preserve buffer, in case select-window changes it. (Bug#13066)
5526 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5528 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
5529 cl-load-hook where they belong.
5531 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5533 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
5535 2012-12-09 Eli Zaretskii <eliz@gnu.org>
5537 Parallelize byte compilation on MS-Windows.
5538 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
5539 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
5540 (WINS_BASIC): Define as concatenation of the above.
5541 (compile): Subdivide into 4 separate and independent jobs that can
5543 (compile0-CMD, compile0-SH): New targets for compiling
5544 COMPILE_FIRST files, which are prerequisites for the rest of the
5546 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
5547 New targets for parallel compilation with cmd.exe.
5548 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
5549 compiling under a Unixy shell.
5551 2012-12-09 Chong Yidong <cyd@gnu.org>
5553 * simple.el (set-mark-default-inactive): Delete this
5554 accidentally-introduced option.
5555 (set-mark-command, exchange-point-and-mark): Remove calls.
5557 2012-12-09 Glenn Morris <rgm@gnu.org>
5559 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
5560 Respect a defcustom's :set function, if appropriate. (Bug#109)
5561 (eval-defun): Doc fix.
5563 2012-12-08 Juri Linkov <juri@jurta.org>
5565 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
5566 (Info-fontify-node, Info-bookmark-make-record): Remove the
5567 file extension from Info-current-file (Bug#13016).
5569 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5571 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
5572 point, still provide some default.
5573 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
5574 names, since we don't use it right now. Actually return the list.
5575 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
5577 2012-12-07 Chong Yidong <cyd@gnu.org>
5579 * novice.el (disabled-command-function): Remove a spurious help
5580 xref (Bug#13043). Suggested by Kelly Dean.
5582 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
5583 syntax is specified (Bug#13025).
5585 * info.el (Info-set-mode-line): Remove the file extension from
5586 Info-current-file if there is one (Bug#13016).
5588 2012-12-07 Glenn Morris <rgm@gnu.org>
5590 * mail/rmail.el (rmail-mime-decoded): New permanent local.
5591 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
5592 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
5593 and rmail-mime-decoded. (Bug#9841)
5595 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
5596 (batch-unrmail, unrmail): Doc fixes.
5597 (unrmail): Respect unrmail-mbox-format.
5598 * mail/rmail.el (rmail-mbox-format): New option.
5599 (rmail-show-message-1): Respect rmail-mbox-format.
5601 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5603 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
5605 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5607 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
5608 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
5609 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
5610 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
5611 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
5612 (cl-progv): Don't rely on dynamic scoping to find the body.
5613 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
5614 (cl--proclaims-deferred): Rename from the "cl-" prefix.
5615 (cl-declaim): Use backquotes.
5616 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
5617 Use "cl--" prefix for the object's tag.
5619 * ses.el: Use advice-add/remove.
5620 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
5621 (copy-region-as-kill, yank): Use advice-add.
5622 (ses-unload-function): Use advice-remove.
5624 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
5626 * button.el: Make them work in header-lines (bug#12817).
5627 (button-map): Add bindings for header-line and mode-line use.
5628 (button-get, button-put, button-label): `button' may now be a string.
5629 (button-activate): Don't make it a defsubst.
5630 (button--area-button-p, button--area-button-string): New functions.
5631 (make-text-button): Fix the return value when `beg' was a string.
5632 (push-button): Handle the mode-line case.
5634 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5636 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
5637 (sql-signum): Remove. Use `cl-signum' instead.
5638 (sql-read-passwd): Remove; use read-passwd instread.
5639 (sql-get-login-ext): Use read-string.
5640 (sql-get-login): Use dolist and pcase.
5641 (sql--completion-table): Rename from sql-try-completion.
5642 Use complete-with-action.
5643 (sql-mode): Don't change abbrev-all-caps globally.
5644 (sql-connect): Don't rely on dynamic scoping for `new-name'.
5645 (sql-postgres-completion-object): Initialize vars in their `let'.
5646 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
5647 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
5648 (sql-comint-interbase): Use a single append, without setq.
5649 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
5651 * hi-lock.el: Rework the default face and the serialize regexp code.
5652 (hi-lock--auto-select-face-defaults): Remove.
5653 (hi-lock-string-serialize-serial): Remove.
5654 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
5656 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
5658 (hi-lock-set-pattern): Adjust accordingly.
5659 (hi-lock--regexps-at-point): Simplify accordingly.
5660 (hi-lock--auto-select-face-defaults): Remove.
5661 (hi-lock--last-face): New var to replace it.
5662 (hi-lock-read-face-name): Rewrite (bug#11095).
5663 (hi-lock-unface-buffer): Arrange for the face to be the next default.
5665 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
5667 * net/tramp.el (tramp-replace-environment-variables):
5668 Hide compiler warning.
5669 (tramp-file-name-for-operation): Remove `executable-find',
5670 `start-process', `call-process' and `call-process-region'.
5672 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5674 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
5677 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
5679 2012-12-06 Chong Yidong <cyd@gnu.org>
5681 * ffap.el (ffap-replace-file-component): Fix typo.
5683 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5685 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
5686 fix open-paren-like token test (bug#12785).
5688 2012-12-06 Glenn Morris <rgm@gnu.org>
5690 * mail/rmailsum.el (rmail-new-summary): Tweak for
5691 rmail-maybe-display-summary changing buffer. (Bug#13066)
5693 2012-12-06 Juri Linkov <juri@jurta.org>
5695 * info.el (Info-fontify-node): Don't hide the last newline.
5698 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
5700 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
5701 so as to enable message-read-from-minibuffer to expand mail aliases.
5703 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5705 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
5706 the `intangible' property.
5707 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
5709 2012-12-05 Deniz Dogan <deniz@dogan.se>
5711 * net/rcirc.el (rcirc-urls): Update documentation.
5712 (rcirc-condition-filter): New function.
5713 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
5714 and exclude consecutive duplicate URLs (Bug#6082).
5716 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
5718 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5719 Check return code of copy command.
5721 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
5722 Use group `tramp'. Add version.
5724 2012-12-05 Chong Yidong <cyd@gnu.org>
5726 * ffap.el (ffap-url-regexp): Don't require matching at front of
5728 (ffap-url-p): If only a substring matches, return that.
5729 (ffap-url-at-point): Use the return value of ffap-url-p.
5730 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
5731 (find-file-at-point, dired-at-point, dired-at-point-prompter)
5732 (ffap-guess-file-name-at-point): Likewise.
5733 (ffap-replace-file-component): Fix typo.
5735 * info.el (info-display-manual): Add existing Info buffers, whose
5736 files may not be in Info-directory-list, to the completion.
5737 (info--manual-names): New helper function.
5739 2012-12-05 Glenn Morris <rgm@gnu.org>
5741 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
5742 New functions, for detecting and resolving conflicts. (Bug#10709)
5744 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
5746 * hi-lock.el (hi-lock-auto-select-face): New user variable.
5747 (hi-lock-auto-select-face-defaults): New buffer local variable.
5748 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
5749 (hi-lock-unface-buffer): Prompt user with useful defaults.
5750 With prefix arg, unhighlight all hi-lock patterns in buffer.
5752 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5754 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
5756 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
5758 * Makefile.in (TRAMP_SRC):
5759 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
5761 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
5763 * net/tramp-adb.el: New package.
5765 2012-12-04 Chong Yidong <cyd@gnu.org>
5767 * terminal.el: Move to obsolete/.
5769 * longlines.el: Move to obsolete/.
5771 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
5772 Remove code referring to longlines mode.
5774 2012-12-03 Juri Linkov <juri@jurta.org>
5776 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
5778 2012-12-03 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
5780 * textmodes/ispell.el (ispell-init-process)
5781 (ispell-start-process, ispell-internal-change-dictionary):
5782 Make sure personal dictionary name is expanded after initial
5783 `default-directory' value. Use expanded strings for
5784 keep/restart checks and for value (Bug#13019).
5786 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5788 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
5790 2012-12-03 Leo Liu <sdl.web@gmail.com>
5792 * files.el (dir-locals-read-from-file): Check file non-empty
5793 before reading. (Bug#13038)
5795 2012-12-03 Glenn Morris <rgm@gnu.org>
5797 * jka-cmpr-hook.el (jka-compr-get-compression-info):
5798 Remove any version extension before checking filename. (Bug#13006)
5799 (jka-compr-compression-info-list): Belated :version bump.
5801 2012-12-03 Chong Yidong <cyd@gnu.org>
5803 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
5805 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
5806 (buffer-menu): Doc fix (Bug#12294).
5808 2012-12-03 Roland Winkler <winkler@gnu.org>
5810 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
5811 of diary-show-all-entries in the diary buffer (Bug#12994).
5813 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
5815 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
5816 "<STDIN>". This is binary safe.
5818 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5820 * calc/calc-forms.el (math-absolute-from-iso-dt)
5821 (math-date-to-iso-dt, math-parse-iso-date-validate)
5822 (math-iso-dt-to-date): New functions.
5823 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
5824 (math-fd-isoweekday): New variables.
5825 (calc-date-notation, math-parse-standard-date, math-format-date)
5826 (math-format-date-part): Add support for more formatting codes.
5828 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
5830 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
5831 current buffer's file name when called interactively (Bug#12488).
5833 2012-12-02 Juri Linkov <juri@jurta.org>
5835 * info.el (info-display-manual): Don't clobber an existing Info
5836 buffer (Bug#10770). Add completion (Bug#10771).
5838 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
5840 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
5841 before using it for comparison (Bug#5297).
5843 2012-12-01 Jari Aalto <jari.aalto@cante.net>
5845 * textmodes/css-mode.el (css-current-defun-name): New function.
5848 * textmodes/sgml-mode.el (html-current-defun-name): New function.
5849 (html-mode): Use it.
5851 2012-12-01 Chong Yidong <cyd@gnu.org>
5853 Modularize add-log-current-defun (Bug#2224).
5854 Suggested by Jari Aalto.
5856 * vc/add-log.el (add-log-current-defun-function): Doc fix.
5857 (add-log-current-defun): Move mode-specific code to other files.
5858 (add-log-lisp-like-modes, add-log-c-like-modes)
5859 (add-log-tex-like-modes): Variables deleted.
5861 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
5862 (lisp-mode-variables): Use it.
5864 * progmodes/cc-mode.el (c-common-init):
5865 * progmodes/cperl-mode.el (cperl-mode): Set a value for
5866 add-log-current-defun-function.
5868 * progmodes/m4-mode.el (m4-current-defun-name): New function.
5871 * progmodes/perl-mode.el (perl-current-defun-name): New.
5872 (perl-mode): Use it.
5874 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
5875 Use lisp-current-defun-name.
5877 * textmodes/tex-mode.el (tex-current-defun-name): New.
5878 (tex-common-initialization): Use it.
5880 * textmodes/texinfo.el (texinfo-current-defun-name): New.
5881 (texinfo-mode): Use it.
5883 2012-12-01 Chong Yidong <cyd@gnu.org>
5885 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
5886 * progmodes/autoconf.el (autoconf-mode):
5887 * progmodes/js.el (js-mode):
5888 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
5889 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
5890 * progmodes/perl-mode.el (perl-mode):
5891 * progmodes/sh-script.el (sh-mode, sh-set-shell):
5892 * textmodes/css-mode.el (css-mode):
5893 * textmodes/sgml-mode.el (html-mode, sgml-mode)
5894 (sgml-tags-invisible, sgml-guess-indent):
5895 * textmodes/tex-mode.el (tex-common-initialization)
5896 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
5897 (doctex-mode, plain-tex-mode, latex-mode):
5898 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
5900 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
5902 * vc/vc-hg.el (vc-hg-next-revision):
5903 Ensure use of default "tip" output format. (Bug#6968)
5905 2012-12-01 Kim F. Storm <storm@cua.dk>
5907 * startup.el (fancy-startup-tail): Add a clickable link
5910 2012-12-01 Chong Yidong <cyd@gnu.org>
5912 * startup.el (fancy-startup-tail): Improve the message about
5913 auto-save files (Bug#2176).
5915 * files.el (recover-session): Improve the descriptive message, and
5916 use substitute-command-keys.
5918 2012-12-01 Glenn Morris <rgm@gnu.org>
5920 * ido.el (ido-file-internal):
5921 Handle other-window, other-frame for dired. (Bug#13036)
5923 2012-11-30 Glenn Morris <rgm@gnu.org>
5925 * icomplete.el (icomplete-separator): Fix :version.
5927 2012-11-30 Chong Yidong <cyd@gnu.org>
5929 * shell.el (shell): For C-u M-x shell, use an inactive shell
5930 buffer as the default (Bug#1975).
5931 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
5932 (shell-mode): Use them to reapply ansi colorization if Shell mode
5935 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
5937 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
5939 2012-11-30 Samuel Bronson <naesten@gmail.com>
5941 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
5942 flag to xargs, for compatibility with BSD xargs (Bug#11703).
5944 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5946 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
5947 by move-to-column (Bug#3234).
5949 2012-11-30 Chong Yidong <cyd@gnu.org>
5951 * longlines.el (longlines-wrap-line, longlines-encode-region):
5952 Preserve text properties (Bug#1425).
5954 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5956 * vc/vc.el (vc-register): Allow registering a file which is
5957 already registered with a different backend (Bug#10589).
5959 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
5960 Stefan Monnier <monnier@iro.umontreal.ca>
5962 * icomplete.el: Change separator; add ido-style commands.
5963 (icomplete-show-key-bindings): Remove custom var.
5964 (icomplete-get-keys): Remove function.
5965 (icomplete-forward-completions, icomplete-backward-completions):
5967 (icomplete-minibuffer-map): New var.
5968 (icomplete-minibuffer-setup): Use it.
5969 (icomplete-exhibit): Don't delay if the list of completions is known.
5970 (icomplete-separator): New custom.
5971 (icomplete-completions): Use it.
5972 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
5973 (minibuffer-force-complete-and-exit): New command.
5974 (minibuffer--complete-and-exit): New function extracted from
5975 minibuffer-complete-and-exit.
5976 (minibuffer-complete-and-exit): Use it.
5978 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
5979 error message when the file doesn't exist (bug#12974).
5981 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5983 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
5985 2012-11-29 Glenn Morris <rgm@gnu.org>
5987 * files.el (hack-dir-local-variables): Warn if try to set
5988 coding via dir-locals, since it doesn't work. (Bug#7169)
5990 Add desktop support for restoring vc-dir buffers. (Bug#10606)
5991 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
5992 Set buffer-local value of desktop-save-buffer.
5993 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
5995 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
5996 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
5998 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
5999 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
6001 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
6004 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
6006 * calc/calc-forms.el (calc-date-notation): Fix regexp
6007 used to find time codes. Fix symbol for seconds.
6009 2012-11-27 Glenn Morris <rgm@gnu.org>
6011 * emacs-lisp/derived.el (derived-mode-make-docstring):
6012 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
6014 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6016 * textmodes/table.el (table-insert): Don't use `symbol-name' on
6017 lexically scoped variables (bug#13005).
6019 2012-11-27 Glenn Morris <rgm@gnu.org>
6021 * vc/vc-hooks.el (vc-mistrust-permissions):
6022 Default to t, to avoid data-loss. (Bug#11490)
6024 2012-11-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6026 * progmodes/python.el (python-indent-guess-indent-offset):
6027 If indentation is guessed make python-indent-offset buffer-local.
6029 Fix Imenu regression.
6030 * progmodes/python.el (python-nav-beginning-of-defun):
6031 Fix forward movement when statement(s) separates point from defun.
6032 (python-imenu-prev-index-position): New function.
6034 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6036 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
6038 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
6039 Don't set buffer-file-type. Return nil. (Bug#12989)
6041 2012-11-27 Glenn Morris <rgm@gnu.org>
6043 * hippie-exp.el (hippie-expand-try-functions-list):
6044 Re-autoload it. (Bug#12982)
6046 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6048 * descr-text.el (describe-char-padded-string):
6049 Call internal-char-font only on GUI frames. (Bug#11964)
6051 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
6053 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
6054 and obsoletion message.
6056 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6058 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
6059 the constructs to keep outside of the `cl-block' (bug#12977).
6061 2012-11-27 Chong Yidong <cyd@gnu.org>
6063 * mouse.el (mouse-drag-line): Even if the line is not draggable,
6064 keep reading until we get the up-event anyway, in order to process
6065 the up-event for mouse-1-click-follows-link (Bug#12971).
6067 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
6069 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
6070 base function is not yet defined (bug#12965).
6071 (ad-activate-advised-definition): Use ad-compile-function.
6072 (ad-activate): Use cond.
6074 2012-11-25 Leo Liu <sdl.web@gmail.com>
6076 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
6079 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6081 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
6082 reftex-section-info-function in order to be compatible with
6083 Texinfo integration.
6085 * textmodes/reftex.el (reftex-section-pre-regexp)
6086 (reftex-section-post-regexp, reftex-section-info-function):
6088 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
6089 reftex-section-post-regexp, and reftex-section-info-function in order
6090 to be compatible with Texinfo integration.
6092 * textmodes/reftex-toc.el (reftex-toc-promote-action):
6093 use reftex-section-pre-regexp variable in order to be compatible with
6094 Texinfo integration.
6096 2012-11-25 Chong Yidong <cyd@gnu.org>
6098 * faces.el: Make face-spec-set more analogous to setq.
6099 (face-spec-set): Change the third arg to specify whether this
6100 function is being called via defface, customize, or a third party.
6101 Set the appropriate symbol properties. Clear the override spec if
6102 setting via Custom. Initialize face if necessary. (Bug#4988)
6103 (face-spec-recalc): Allow theme faces to completely replace the
6104 defface spec, in the same way as custom faces (Bug#8454).
6106 * cus-face.el (custom-declare-face): Move face initialization to
6108 (custom-theme-set-faces): Don't initialize the face name here, as
6109 that is now done in face-spec-set.
6111 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
6112 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
6113 Simplify by using the new arg to face-spec-set.
6115 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
6116 reset face-override-spec too, and use custom-declare-face.
6118 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
6120 * term/ns-win.el (ns-initialize-window-system): Move creation of
6121 fontsets here (Bug#11964).
6123 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6125 * ses.el (ses-rename-cell): Correct bug on mode-line update after
6128 2012-11-24 Chong Yidong <cyd@gnu.org>
6130 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
6133 * custom.el (custom-theme-set-variables): Use a topological sort
6134 for ordering by custom dependencies (Bug#12952).
6135 (custom--sort-vars, custom--sort-vars-1): New functions.
6137 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
6139 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
6140 lexical-binding (bug#12938).
6142 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
6144 * image-mode.el (image-transform-check-size): Use assertions only
6145 for images of type imagemagick.
6147 Otherwise no error, image-transform-fit-to-{width,height} is
6148 silently ignored, as before. Doc fix.
6150 2012-11-24 Chong Yidong <cyd@gnu.org>
6152 * faces.el (color-defined-p): Doc fix (Bug#12853).
6154 2012-11-24 Juri Linkov <juri@jurta.org>
6156 * dired.el (dired-mark): Add optional arg `interactive'.
6157 Check for `use-region-p' if `interactive' is non-nil.
6158 (dired-unmark, dired-flag-file-deletion): Add optional arg
6159 `interactive'. Call `dired-mark' with the arg `interactive'.
6162 * wdired.el: Revert 2012-10-17 change partly and replace it with
6163 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
6164 (wdired-finish-edit): Add marks for new file names to
6165 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
6166 after `revert-buffer'.
6167 (wdired-do-renames): Remove calls to `dired-remove-file',
6168 `dired-add-file', `dired-add-entry'. (Bug#11795)
6170 2012-11-24 Alan Mackenzie <acm@muc.de>
6172 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
6174 Fix bugs in the state cache. Enhance a debugging mechanism.
6175 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
6176 "brace at column zero" strategy for C++.
6177 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
6178 (c-parse-state-point): New variable.
6179 (c-record-parse-state-state): Record old parse state with
6180 `copy-tree'. Record previous value of point.
6181 (c-debug-parse-state-double-cons): New debugging function.
6182 (c-debug-parse-state): Call the above new function.
6183 (c-toggle-parse-state-debug): Output a confirmatory message.
6185 * progmodes/cc-mode.el (c-before-change, c-after-change):
6186 Call c-invalidate-state-cache from `c-before-change' instead of
6189 2012-11-23 Chong Yidong <cyd@gnu.org>
6191 * find-cmd.el (find-constituents): Add executable, ipath,
6192 readable, samefile, writable, daystart, regextype (Bug#12856).
6194 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
6196 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
6198 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
6200 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
6201 definition. This fixes a bootstrap failure.
6202 (calc-gregorian-switch): In menu, put dates before regions.
6203 This is easier to follow, lines up better in the menu, and lets us
6204 coalesce regions that switch at the same time. Give country
6205 names, not "Vatican", as that's better for non-expert users.
6206 Use names that are stable between the date of switch and now, e.g.,
6207 Bohemia and Moravia (which existed then and now) and not
6208 Czechoslovakia (which didn't exist then and doesn't exist now).
6209 What is now the U.S. mostly did not switch at the same time as
6210 Britain, so omit the U.S. Correct spelling of "Britain".
6211 Catholic Switzerland was too much of a mess, so omit it.
6213 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
6215 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
6216 after the variable is changed.
6218 2012-11-21 Daniel Colascione <dancol@dancol.org>
6220 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
6221 in SQL declarations for font-lock.
6222 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
6224 2012-11-21 Glenn Morris <rgm@gnu.org>
6226 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
6227 (face-italic-p): Add optional argument "inherit".
6229 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
6230 Remove -p suffix from names, for consistency with other set-face-*.
6231 (set-face-inverse-video): Fix interactive spec.
6232 * play/gamegrid.el (gamegrid-make-mono-tty-face):
6233 * textmodes/table.el (table--update-cell-face):
6234 Use set-face-inverse-video rather than now obsolete alias.
6236 2012-11-21 Eli Zaretskii <eliz@gnu.org>
6238 * simple.el (line-move): Don't call line-move-partial if
6239 scroll-conservatively is in effect. (Bug#12927)
6241 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6243 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
6244 Fallback on completion-at-point rather than
6245 pcomplete-expand-and-complete, and only if pcomplete actually failed.
6246 (eshell-cmpl-initialize): Setup completion-at-point.
6248 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
6250 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
6252 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
6254 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
6255 are remote, check out-of-band property for both.
6257 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6259 * window.el (switch-to-buffer): Re-add the warning that was lost in the
6262 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
6264 More minor time fixes.
6265 * calendar/time-date.el: Commentary fix.
6266 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
6267 too much other code depends on (0 0) time stamps.
6268 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
6269 Add a couple of FIXME comments.
6271 Minor cleanup for times as lists of four integers.
6272 * files.el (dir-locals-directory-cache):
6273 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
6275 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
6276 * ps-bdf.el (bdf-file-newer-than-time):
6277 Process four-integers time stamps, not two. Doc fixes.
6279 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6281 * uniquify.el (uniquify-managed): Use defvar-local.
6282 (rename-buffer, create-file-buffer): Advise with advice-add.
6283 (uniquify-unload-function): Unadvise accordingly.
6285 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
6286 (trace-buffer): Don't purecopy.
6287 (trace-entry-message, trace-exit-message): Add `context' arg.
6288 (trace--timer): New var.
6289 (trace-make-advice): Adjust for use in nadvice.
6290 Add `context' argument. Delay `display-buffer' via a timer.
6291 (trace-function-internal): Use advice-add.
6292 (trace--read-args): New function.
6293 (trace-function-foreground, trace-function-background): Use it.
6294 (trace-function): Rename to trace-function-foreground and redefine as
6295 an alias to that new name.
6296 (untrace-function, untrace-all): Adjust to the use of nadvice.
6298 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
6300 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
6302 * subr.el (called-interactively-p-functions): New var.
6303 (internal--called-interactively-p--get-frame): New macro.
6304 (called-interactively-p, interactive-p): Rewrite in Lisp.
6305 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
6306 (called-interactively-p-functions): Use it.
6307 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
6308 (called-interactively-p-functions): Use it.
6309 * allout.el (allout-called-interactively-p): Don't assume
6310 called-interactively-p is a subr.
6312 2012-11-20 Glenn Morris <rgm@gnu.org>
6314 * profiler.el (profiler-report-mode-map): Add a menu.
6315 No need to bind `q' because we derive from special-mode.
6316 (profiler-report-find-entry): Handle calls from the menu-bar.
6318 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
6320 * emacs-lisp/byte-run.el (defun-declarations-alist):
6321 Allow a compiler-macro to be a lambda expression.
6323 * progmodes/python.el: Use cl-lib. Move var declarations outside of
6325 (python-syntax-context): Add compiler-macro.
6326 (python-font-lock-keywords): Simplify with De Morgan.
6328 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
6330 * files.el (load-file): Require match in minibuffer selection, as was
6331 the case in Emacs-20 before we changed the spec to allow .elc files
6334 * json.el: Don't require cl since we don't use it.
6335 * color.el: Don't require cl.
6336 (color-complement): `caddr' -> `nth 2'.
6338 * calendar/time-date.el (time-to-seconds): De-obsolete.
6340 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
6342 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
6344 (math-date-to-julian-dt): Adjust the initial approximation for the
6345 year to deal with the new definition of the DATE.
6347 2012-11-19 Daniel Colascione <dancol@dancol.org>
6349 * term/w32-win.el (cygwin-convert-path-from-windows):
6350 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6352 2012-11-18 Chong Yidong <cyd@gnu.org>
6354 * filecache.el (file-cache--read-list): New function.
6355 (file-cache-add-directory-list, file-cache-add-file-list)
6356 (file-cache-delete-file-list, file-cache-delete-directory-list):
6357 Use it to read a list of files or directories (Bug#12846).
6358 (file-cache-add-file, file-cache-add-directory)
6359 (file-cache-delete-file-list, file-cache-delete-file-regexp)
6360 (file-cache-delete-directory): Print an message.
6362 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
6364 * calc/calc-forms.el (math-date-to-dt): Use integer date when
6365 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
6367 2012-11-18 Glenn Morris <rgm@gnu.org>
6369 * image.el (insert-image, insert-sliced-image): Doc fix.
6371 2012-11-18 Chong Yidong <cyd@gnu.org>
6373 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
6376 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6378 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
6379 response when the target file is in a subdirectory (Bug#12757).
6381 2012-11-18 Chong Yidong <cyd@gnu.org>
6383 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
6385 2012-11-18 Glenn Morris <rgm@gnu.org>
6387 * emacs-lisp/cl-lib.el (face-underline-p):
6388 Use set-face-underline rather than the alias set-face-underline-p.
6390 * window.el (with-temp-buffer-window): Doc fix.
6391 * subr.el (with-output-to-temp-buffer):
6392 Add doc xref to with-temp-buffer-window.
6394 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
6396 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
6397 * calc/calc.el (math-format-date-cache): Declare.
6399 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
6401 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
6402 It also uses January 1, 1 AD as its day number 1.
6403 * calc/calc-forms.el (math-julian-date-beginning)
6404 (math-julian-date-beginning-int): Implement this.
6406 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
6408 * descr-text.el (quail-find-key):
6409 * dired.el (desktop-file-name):
6410 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
6411 * generic-x.el (comint-mode, comint-exec):
6412 * image-dired.el (widget-forward):
6413 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
6414 (speedbar-change-expand-button-char)
6415 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
6416 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
6417 * printing.el (easy-menu-add-item, easy-menu-remove-item)
6418 (widget-field-action, widget-value-set):
6419 * speedbar.el (imenu--make-index-alist):
6420 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
6421 (ring-length, ring-insert):
6422 * vcursor.el (compare-windows-skip-whitespace):
6423 * woman.el (dired-get-filename):
6426 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
6428 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6430 * calc/calc.el (calc-gregorian-switch): New variable.
6432 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
6433 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
6434 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
6435 (math-leap-year-p): Add option to distinguish between Julian
6436 and Gregorian calendars.
6437 (math-day-number): Use `math-day-in-year' to do the computations.
6438 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
6439 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
6440 to do the computations.
6441 (math-date-to-dt): Use `math-date-to-julian-dt' and
6442 `math-date-to-gregorian-dt' to do the computations.
6443 (calcFunc-weekday, math-format-date-part): Use the new version of
6444 the DATE to determine the weekday.
6445 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
6448 2012-11-17 Eli Zaretskii <eliz@gnu.org>
6450 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
6451 Cygwin; otherwise use 'file:'. (Bug#12914)
6452 (cygwin-convert-path-from-windows): Declare, to avoid
6453 byte-compiler warnings.
6455 2012-11-17 Andreas Politz <politza@fh-trier.de>
6457 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
6458 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
6459 prefix and negative numeric prefix args (Bug#12795).
6461 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
6463 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
6464 Don't signal an error with a score that is too low to add to the
6465 list of top scores. (Bug#12779)
6467 2012-11-17 Chong Yidong <cyd@gnu.org>
6469 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
6471 * filecache.el (file-cache-add-file): Handle relative file name in
6472 the argument (Bug#12694).
6474 2012-11-16 JĂ¼rgen Hötzel <juergen@archlinux.org> (tiny change)
6476 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
6478 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6480 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
6482 * emacs-lisp/cl-lib.el: Set more meaningful version number.
6484 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6486 * window.el (enlarge-window, shrink-window): Don't mention return
6487 value in doc-string (Bug#12896).
6488 (window--display-buffer): Don't resize frames - it won't work
6489 with all window managers and defeat pop-up-frame-alist.
6490 (display-buffer-alist): In doc-string explain that CONDITION can
6491 be a function and which arguments are passed to it (Bug#12854).
6492 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
6493 expressions (Bug#12854).
6494 (display-buffer): Pass ACTION argument to
6495 display-buffer-assq-regexp.
6497 2012-11-16 Glenn Morris <rgm@gnu.org>
6499 * window.el (fit-frame-to-buffer-bottom-margin)
6500 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
6502 * faces.el (face-underline-p): Use face-attribute-specified-or.
6504 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
6506 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
6508 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6510 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
6512 2012-11-16 Glenn Morris <rgm@gnu.org>
6514 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
6515 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
6517 * faces.el (face-underline-p): Doc fix. Handle :underline being
6518 things other than `t' (a string, a list).
6519 (face-inverse-video-p): Doc fix.
6520 (set-face-underline): Rename it back from set-face-underline-p.
6521 Doc fix. Allow interactive input of values other than t.
6522 (read-face-attribute): Apply formatting to :underline,
6523 since like :box and :stipple it can take list values.
6525 * term.el (ansi-term): Don't let C-x escape-char binding
6526 clobber the more standard C-c binding. (Bug#12842)
6528 * subr.el (set-temporary-overlay-map): Doc fix.
6530 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6532 * window.el (record-window-buffer)
6533 (display-buffer-record-window): When copying the markers to
6534 window-point preserve window-point-insertion-type. (Bug#12588)
6536 2012-11-16 Glenn Morris <rgm@gnu.org>
6538 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
6539 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
6540 Use new names for hooks rather than obsolete aliases.
6542 2012-11-15 Daniel Colascione <dancol@dancol.org>
6544 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
6545 prefix instead of "file:" so that when FILE-NAME begins with "//",
6546 as it does when the target file is on a network share, url-handler
6549 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6551 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
6552 a preactivated advice from an old advice.el; they're not compatible!
6554 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
6556 * emacs-lisp/nadvice.el (advice--make-interactive-form):
6557 Fix string-spec case.
6559 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
6561 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6563 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
6564 (advice--buffer-local-function-sample): New var.
6565 (advice--set-buffer-local, advice--buffer-local): New functions.
6566 (add-function, remove-function): Use them.
6568 2012-11-15 Drew Adams <drew.adams@oracle.com>
6570 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
6572 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6574 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
6575 potential binding of print-gensym to t, and prettify (back)quotes in
6576 case they appear in args's default values (bug#12884).
6578 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6580 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
6581 (advice-eval-interactive-spec): New function.
6582 (advice--make-interactive-form): Support around advice (bug#12844).
6584 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
6586 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
6587 more strict. Add docstring.
6588 (ruby-expression-expansion-re): Extract from
6589 `ruby-match-expression-expansion'.
6590 (ruby-syntax-propertize-function): After everything else, search
6591 for expansions in string literals, mark their insides as
6592 whitespace syntax and save match data for font-lock.
6593 (ruby-font-lock-keywords): Use the 2nd group from expression
6595 (ruby-match-expression-expansion): Use the match data saved to the
6596 text property in ruby-syntax-propertize-function.
6598 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6600 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
6603 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6605 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
6606 start/end keyword a bit harder. Works with different values of N.
6608 (ruby-end-of-block): Update accordingly.
6610 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6612 * woman.el (woman-file-name): Don't mess with unread-command-events
6615 * emacs-lisp/advice.el: Layer on top of nadvice.el.
6616 Remove out of date self-require hack.
6617 (ad-do-advised-functions): Use simple `dolist'.
6618 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
6619 (ad-advice-definition): Redefine as functions.
6620 (ad-advice-classes): Move before first use.
6621 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
6622 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
6623 (ad--defalias-fset): Remove functions.
6624 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
6625 (ad-get-orig-definition): Rewrite.
6626 (ad-make-advised-definition-docstring): Change base docstring.
6627 (ad-real-orig-definition): Rewrite.
6628 (ad-map-arglists): Change name of called function.
6629 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
6630 (ad-make-advised-definition): Simplify.
6631 (ad-assemble-advised-definition): Tweak for new calling context.
6632 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
6633 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
6634 function and call ad-activate if needed.
6635 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
6636 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
6637 (ad-compile-function): Compile ad-Advice-*.
6638 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
6639 (ad-start-advice, ad-stop-advice): Remove.
6641 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6643 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
6644 period before class method names, not after. Remove handling of
6645 one impossible case. Add comments.
6647 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6649 * emacs-lisp/advice.el: Remove support for freezing.
6650 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
6651 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
6652 Remove support for `freeze'.
6654 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
6655 override the default.
6656 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
6658 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
6661 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
6663 (advice--strip-macro): New function.
6664 (advice--defalias-fset): Use them to handle macros.
6665 (advice-add): Use them.
6666 (advice-member-p): Correctly handle macros.
6668 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6670 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6671 Never font-lock the beginning of singleton class as heredoc.
6673 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6675 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
6677 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
6679 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
6680 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
6681 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
6683 2012-11-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6685 Fix end-of-defun misbehavior.
6686 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
6687 python-beginning-of-defun-function. Handle nested defuns
6689 (python-nav-end-of-defun): Rename from
6690 python-end-of-defun-function. Ensure forward movement.
6691 (python-info-current-defun): Reimplement to work as intended
6692 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
6693 parent defuns as soon as possible.
6695 2012-11-13 Glenn Morris <rgm@gnu.org>
6697 * progmodes/flymake.el (flymake-error-bitmap)
6698 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
6699 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
6701 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6703 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
6704 backward, always stop at indentation. Reverts the change from
6705 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
6707 2012-11-13 Glenn Morris <rgm@gnu.org>
6709 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
6710 Add ibuffer-filter-by-derived-mode.
6712 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
6713 the same name shadowing each other.
6715 * window.el (with-temp-buffer-window): Doc tweak.
6717 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
6719 * help.el (temp-buffer-max-height):
6720 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
6721 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
6723 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
6725 * emacs-lisp/nadvice.el: New package.
6726 * subr.el (special-form-p): New function.
6727 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
6728 (elp-all-instrumented-list): Remove var.
6729 (elp-not-profilable): Remove elp-wrapper.
6730 (elp-profilable-p): Use autoloadp and special-form-p.
6731 (elp--advice-name): New const.
6732 (elp-instrument-function): Use advice-add.
6733 (elp--instrumented-p): New predicate.
6734 (elp-restore-function): Use advice-remove.
6735 (elp-restore-all, elp-reset-all): Use mapatoms.
6736 (elp-set-master): Use elp--instrumented-p.
6737 (elp--make-wrapper): Rename from elp-wrapper, return a function
6738 suitable for advice-add. Use cl-inf.
6739 (elp-results): Use mapatoms+elp--instrumented-p.
6740 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
6741 (debug-function-list): Remove var.
6742 (debug): Rename arg, and then let-bind it explicitly inside.
6743 (debugger-setup-buffer): Rename arg.
6744 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
6745 (debugger-frame-number): Adjust to new debug-on-entry setup.
6746 (debug--implement-debug-on-entry): Rename from
6747 implement-debug-on-entry, add argument.
6748 (debugger-special-form-p): Remove, use special-form-p instead.
6749 (debug-on-entry): Use advice-add.
6750 (debug--function-list): New function.
6751 (cancel-debug-on-entry): Use it, along with advice-remove.
6752 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
6753 (debugger-list-functions): Use debug--function-list instead of
6754 debug-function-list.
6755 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
6756 (ad-special-form-p): Remove, use special-form-p instead.
6757 (ad-set-advice-info): Use add-function and remove-function.
6758 (ad--defalias-fset): Adjust accordingly.
6760 2012-11-10 Glenn Morris <rgm@gnu.org>
6762 * mail/emacsbug.el (report-emacs-bug-tracker-url)
6763 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
6764 (report-emacs-bug-create-existing-bugs-buffer)
6765 (report-emacs-bug-parse-query-results)
6766 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
6768 * term.el (term-default-fg-color, term-default-bg-color):
6769 Make obsolete, rather than just saying "deprecated" in the doc.
6771 * term.el (term): Rename from `term-face'.
6772 (term-current-face, ansi-term-color-vector)
6773 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
6776 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
6778 * server.el (server-create-window-system-frame): Handle Nextstep
6779 specially (Bug#12780).
6781 2012-11-10 Glenn Morris <rgm@gnu.org>
6783 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
6784 Unautoload, and make obsolete. (Bug#7449)
6786 2012-11-10 Chong Yidong <cyd@gnu.org>
6788 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
6789 rename from diff-remove-trailing-whitespace (Bug#12831).
6791 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6793 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
6794 miscompilation of trace.el.
6796 2012-11-10 Glenn Morris <rgm@gnu.org>
6798 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
6800 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6802 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
6805 2012-11-10 Chong Yidong <cyd@gnu.org>
6807 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
6808 a defcustom with an appropriate :set function.
6809 (minibuffer-default--in-prompt-regexps): New function.
6811 2012-11-10 Glenn Morris <rgm@gnu.org>
6813 * emacs-lisp/cl.el (define-setf-expander, defsetf)
6814 (define-modify-macro): Doc fixes.
6816 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
6817 (gv-define-simple-setter): Update doc of `fix-return'.
6819 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6821 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
6822 twice when `fix-return' is set (bug#12813).
6824 * emacs-lisp/cl.el (defsetf): Pass the third arg to
6825 gv-define-simple-setter (bug#12812).
6827 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
6830 2012-11-10 Glenn Morris <rgm@gnu.org>
6832 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
6834 * emacs-lisp/cl-extra.el (cl-prettyexpand):
6835 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
6836 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
6837 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
6839 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
6841 2012-11-10 Leo Liu <sdl.web@gmail.com>
6843 * ido.el (ido-set-matches-1): Improve flex matching performance by
6844 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
6846 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6848 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
6849 (ad--defalias-fset): New function.
6850 (ad-safe-fset): Remove.
6851 (ad-make-freeze-definition): Use cl-letf*.
6853 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6855 * subr.el (dolist): Don't bind VAR in RESULT.
6857 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
6858 (fset, documentation): Don't save real def since we don't advise.
6859 (ad-do-advised-functions): Remove problematic `result-form'.
6860 (ad-safe-fset): `ad-real-fset' => `fset'.
6861 (ad-read-advised-function): Don't assume that ad-do-advised-functions
6862 uses CL's dolist internally.
6863 (ad-arglist): Remove unused arg `name'.
6864 (ad-docstring, ad-make-advised-docstring):
6865 `ad-real-documentation' => `documentation'.
6866 (warning-suppress-types): Declare.
6867 (ad-set-arguments): Simple CSE.
6868 (ad-recover-normality): Sanity check.
6870 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
6871 (funcall '(lambda ..) ..) into ((lambda ..) ..).
6873 2012-11-09 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6875 * ses.el: symbol to coordinate mapping is made by symbol property
6876 `ses-cell'. This means that the same mapping is done for all SES
6877 sheets. That is good enough for cells with standard A1 names, but
6878 not for named cell. So a hash map is added for the latter.
6879 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
6880 (ses-sym-rowcol): Use hashmap for named cell.
6881 (ses-is-cell-sym-p): New defun.
6882 (ses-decode-cell-symbol): New defun.
6883 (ses-create-cell-variable): Add cell to hashmap when name is not
6885 (ses-rename-cell): Check that cell new name is not already in
6886 spreadsheet with the use of ses-is-cell-sym-p
6887 (ses-rename-cell): Use hash map for named cells, but accept also
6888 renaming back to A1-like.
6890 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6892 * emacs-lisp/advice.el: Use new dynamic docstrings.
6893 (ad-make-advised-definition-docstring, ad-advised-definition-p):
6894 Use dynamic-docstring-function instead of ad-advice-info.
6895 (ad--make-advised-docstring): New function extracted from
6896 ad-make-advised-docstring.
6897 (ad-make-advised-docstring): Use it.
6898 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
6900 (sql-help): Use it with dynamic-docstring-function.
6902 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
6904 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6906 * files.el (hack-one-local-variable--obsolete): New function.
6907 (hack-one-local-variable): Use it for obsolete settings.
6909 * subr.el (locate-user-emacs-file): If both old and new name exist, use
6912 * progmodes/js.el (js--filling-paragraph): New var.
6913 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
6914 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
6917 2012-11-08 Julien Danjou <julien@danjou.info>
6919 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
6920 `auto-mode-alist' (Bug#12835).
6922 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6924 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
6925 (perl--prettify-symbols-alist): New const.
6926 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
6928 (perl-font-lock-keywords-2): Use them.
6929 (perl-electric-noindent-p): New function.
6930 (perl-mode): Use it to set up electric-indent-mode.
6931 (perl-electric-terminator, perl-indent-command): Mark obsolete.
6932 (perl-mode-map): Remove bindings for them.
6933 (perl-imenu-generic-expression, perl-outline-level):
6934 Match functions&packages in column>0.
6936 * env.el (env--substitute-vars-regexp): New const.
6937 (substitute-env-vars): Use it. Add `only-defined' arg.
6938 * net/tramp.el (tramp-replace-environment-variables): Use it.
6940 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
6941 Byte-compile *before* eval in eval-and-compile.
6942 (byte-compile-log-warning): Remove redundant inhibit-read-only.
6943 (byte-compile-file-form-autoload): Don't hide actual definition.
6944 (byte-compile-maybe-guarded): Accept `functionp' as well.
6946 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
6948 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
6950 * notifications.el (notifications-get-server-information-method):
6952 (notifications-get-capabilities): Fix docstring.
6953 (notifications-get-server-information): New defun.
6955 2012-11-06 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
6957 * textmodes/ispell.el (ispell-region): Standard re-indent for better
6960 * textmodes/ispell.el: Experimental support for support debugging.
6961 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
6963 (ispell-print-if-debug): New function to print stuff to
6964 `ispell-debug-buffer' if debugging is enabled.
6965 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
6966 show some debugging info.
6967 (ispell-buffer-with-debug): New function that creates a debugging
6968 buffer and calls `ispell-buffer' with debugging enabled.
6970 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
6971 comment in autoconf mode. (Bug#12768)
6973 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
6975 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
6976 frame-first-window, frame-root-window, frame-selected-window,
6977 minibuffer-selected-window, minibuffer-window,
6978 window-absolute-pixel-edges, window-at, window-body-height,
6979 window-body-width, window-display-table, window-combination-limit,
6980 window-frame, window-fringes, window-inside-absolute-pixel-edges,
6981 window-inside-edges, window-inside-pixel-edges, window-left-child,
6982 window-left-column, window-margins, window-next-buffers,
6983 window-next-sibling, window-new-normal, window-new-total,
6984 window-normal-size, window-parameter, window-parameters, window-parent,
6985 window-pixel-edges, window-point, window-prev-buffers,
6986 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
6987 window-start, window-text-height, window-top-child, window-top-line,
6988 window-total-height, window-total-width and window-use-time to the list
6989 of functions without side-effects.
6990 (toplevel): Add window-valid-p to the list of error-free functions
6991 without side-effects.
6993 2012-11-05 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
6995 * textmodes/ispell.el (ispell-program-name):
6996 Update spellchecker parameters when customized.
6998 2012-11-04 Glenn Morris <rgm@gnu.org>
7000 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
7002 2012-11-04 Chong Yidong <cyd@gnu.org>
7004 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
7005 same-window-* variables.
7007 2012-11-04 Juri Linkov <juri@jurta.org>
7009 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
7010 (isearch-describe-key, isearch-describe-mode): Use a display
7011 action instead of binding same-window-* variables (Bug#10040).
7013 2012-11-03 Glenn Morris <rgm@gnu.org>
7015 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
7016 Rename handler properties back from cl-- to cl-. (Bug#12788)
7018 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
7020 2012-11-03 Eli Zaretskii <eliz@gnu.org>
7022 * term/pc-win.el: Don't load term/internal from here.
7024 * loadup.el: Load term/internal from here.
7026 2012-11-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7028 * progmodes/python.el (inferior-python-mode): Fix hang in
7029 jit-lock (Bug#12645).
7031 2012-11-03 Martin Rudalics <rudalics@gmx.at>
7033 * window.el (switch-to-visible-buffer)
7034 (switch-to-buffer-preserve-window-point): Fix doc-strings.
7036 2012-11-03 Glenn Morris <rgm@gnu.org>
7038 * emacs-lisp/cl-lib.el (cl--random-time):
7039 Rename from cl-random-time. (Bug#12773)
7040 (cl--gensym-counter, cl--random-state): Update callers.
7041 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
7043 2012-11-03 Chong Yidong <cyd@gnu.org>
7045 * cus-start.el: Make cursor-type customizable (Bug#11633).
7047 2012-11-02 Glenn Morris <rgm@gnu.org>
7049 * filecache.el: No need to load find-lisp when compiling.
7050 (find-lisp-find-files): Autoload it.
7051 (file-cache-add-directory-recursively): Don't require find-lisp.
7053 * image.el (image-type-from-file-name): Trivial simplification.
7055 * emacs-lisp/bytecomp.el (byte-compile-eval):
7056 Decouple "noruntime" and "cl-functions" warnings.
7058 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
7060 * play/gomoku.el (gomoku-display-statistics): Update mode line
7061 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
7063 2012-10-31 Martin Rudalics <rudalics@gmx.at>
7065 * window.el (quit-restore-window): If the window has been
7066 created on an existing frame and ended up as the sole window on
7067 that frame, do not delete it (Bug#12764).
7069 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
7071 * progmodes/sh-script.el (sh--inside-noncommand-expression):
7072 Rename from sh--inside-arithmetic-expression, handle more cases
7075 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
7076 (sh-font-lock-open-heredoc): Use it (bug#12770).
7078 2012-10-30 Glenn Morris <rgm@gnu.org>
7080 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
7082 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
7084 2012-10-29 Chong Yidong <cyd@gnu.org>
7086 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
7087 function key is stored in a keyboard macro (Bug#4894).
7089 * thingatpt.el (number-at-point): Apply a thing-at-point property.
7091 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7093 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
7095 (diff-unified->context, diff-context->unified)
7096 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
7098 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
7100 * files.el (find-alternate-file): Only ask one question (bug#12487).
7102 2012-10-29 Chong Yidong <cyd@gnu.org>
7104 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
7105 Suggested by Dan Nicolaescu (Bug#6326).
7107 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
7109 * startup.el (fancy-about-screen): Don't message (Bug#12680).
7111 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
7113 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
7115 * face-remap.el (face-remap-add-relative): Handle the case where a
7116 face-remapping-alist entry is a cons cell (Bug#12762).
7118 2012-10-29 Kevin Ryde <user42@zip.com.au>
7120 * woman.el (woman-parse-numeric-value): Handle picas correctly
7123 2012-10-29 Glenn Morris <rgm@gnu.org>
7125 * emacs-lisp/cl.el (defsetf): Doc fix.
7127 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7129 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
7130 syntax to the matching opener, if any (bug#12547).
7131 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
7132 matching open as a "case-(".
7133 (sh-smie-rc-grammar): Add a corresponding rule for it.
7135 2012-10-28 Daniel Hackney <dan@haxney.org>
7137 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
7138 "PKGNAME-autoloads.el" in case we created it.
7140 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7142 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
7143 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
7144 (completion--twq-all): Disable too-strict assertions.
7146 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
7148 2012-10-27 Eli Zaretskii <eliz@gnu.org>
7150 * profiler.el (profiler-report-make-entry-part): Fix help-echo
7151 text to match the real keybindings.
7153 2012-10-27 Juri Linkov <juri@jurta.org>
7155 * wdired.el (wdired-keep-marker-rename): New defcustom.
7156 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
7159 * dired.el (dired-keep-marker-rename): Add reference to
7160 `wdired-keep-marker-rename' in the docstring.
7161 Add default character value ?R to display initially in
7162 Customization UI instead of ?@.
7164 2012-10-27 Martin Rudalics <rudalics@gmx.at>
7166 * window.el (display-buffer): In doc-string describe
7167 window-height and window-width alist entries.
7169 * time.el (display-time-world): Restore fit-window-to-buffer
7172 2012-10-27 Chong Yidong <cyd@gnu.org>
7174 * subr.el (insert-buffer-substring-as-yank): Doc fix.
7176 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
7178 * minibuffer.el (completion-category-overrides): New completion
7179 category `bookmark' (bug#11131).
7181 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7183 * emacs-lisp/advice.el (ad-assemble-advised-definition):
7184 Silence bogus compiler warnings for ad-do-it.
7186 * bookmark.el (bookmark-completing-read): Set the completion category
7187 to `bookmark' (bug#11131).
7189 2012-10-26 Bastien <bzg@altern.org>
7190 Stefan Monnier <monnier@iro.umontreal.ca>
7192 * face-remap.el: Use lexical-binding.
7193 (text-scale-adjust): Improve docstring. Use itself for the temporary
7194 overlay-map bindings, so as to repeat the "Use..." message each time.
7196 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7198 * emacs-lisp/macroexp.el (macroexp--expand-all):
7199 Obey byte-compile-warning-enabled-p (bug#12486).
7201 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
7202 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
7204 2012-10-26 Martin Rudalics <rudalics@gmx.at>
7206 * mouse.el (mouse-drag-line): Move last form into preceding when
7209 * help.el (resize-temp-buffer-window): Fix doc-string.
7211 2012-10-25 David Engster <deng@randomsample.de>
7213 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
7214 Remove. This feature is already integrated in imenu.
7216 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
7217 always loaded. Require `speedbar' unconditionally.
7219 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7221 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
7223 * minibuffer.el (minibuffer-force-complete): Fix thinko.
7225 * net/ldap.el (ldap-search-internal): The official ldif format starts
7226 with a "version: 1" header (bug#12724).
7228 * emacs-lisp/package.el (package-installed-p): Warn if not ready
7231 2012-10-25 Glenn Morris <rgm@gnu.org>
7233 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
7235 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7237 * minibuffer.el (minibuffer-force-complete): Use one more marker
7238 for the temporary-overlay-map command (bug#12619).
7240 2012-10-24 Chong Yidong <cyd@gnu.org>
7242 * time.el (display-time-world-mode): Derive from special-mode.
7243 (display-time-world): Use display-buffer (Bug#12708).
7244 (display-time-world-mode-map): Variable deleted.
7245 (display-time-world-display): Wrap the final delete-char inside
7248 2012-10-24 Chong Yidong <cyd@gnu.org>
7250 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
7253 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
7255 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7257 * minibuffer.el (completion--all-sorted-completions-location): New var.
7258 (completion--cache-all-sorted-completions)
7259 (completion--flush-all-sorted-completions): Use it.
7260 (completion-in-region, completion-in-region--postch)
7261 (completion-at-point, completion-help-at-point): Use markers in
7262 completion-in-region--data (bug#12619).
7264 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7266 * progmodes/compile.el (compilation-start): Try to handle common
7267 quoting of `cd' argument (bug#12640).
7269 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
7272 2012-10-23 Glenn Morris <rgm@gnu.org>
7274 * progmodes/gud.el (gud-menu-map):
7275 Check gdb-active-process is bound. (Bug#12358)
7277 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7279 * repeat.el (repeat): Set real-this-command (bug#12232).
7281 * htmlfontify.el (hfy-post-html-hook):
7282 * filesets.el (filesets-cache-fill-content-hook):
7283 * arc-mode.el (archive-extract-hook):
7284 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
7285 * net/rcirc.el (rcirc-sentinel-functions)
7286 (rcirc-receive-message-functions, rcirc-activity-functions)
7287 (rcirc-print-functions):
7288 * net/dbus.el (dbus-event-error-functions):
7289 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
7290 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
7291 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
7292 * term/sun.el (sun-raw-prefix-hooks):
7293 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
7295 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
7297 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7298 Set `tramp-chunksize' to 1. This improves the performance.
7299 (tramp-smb-wait-for-output): Add timeout to
7300 `tramp-accept-process-output' calls.
7302 2012-10-23 Chong Yidong <cyd@gnu.org>
7304 * faces.el (font-list-limit): Define as an obsolete variable.
7306 * startup.el (command-line):
7307 * cus-start.el: Don't refer to font-list-limit.
7309 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
7311 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7313 * subr.el (internal-temp-output-buffer-show): Rename from
7314 temp-output-buffer-show, since previously compiled files expect this name.
7316 2012-10-23 Glenn Morris <rgm@gnu.org>
7318 * image.el (image-type-from-file-name): If multiple types match,
7319 return the first one that is supported. (Bug#9045)
7321 2012-10-22 Glenn Morris <rgm@gnu.org>
7323 * image.el (imagemagick-enabled-types): Doc fix.
7325 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
7327 * progmodes/which-func.el (which-func-current): The hash-table may have
7328 an explicit nil (bug#12338).
7330 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7332 * electric.el (electric-pair-delete-selection-self-insert-function):
7333 Rename to electric-pair-will-use-region, return a boolean.
7334 (electric-pair-mode): Adjust accordingly. Don't require delsel.
7336 * delsel.el (delete-selection-helper): Use a function instead of a hook.
7337 (delete-selection-pre-hook): Use use-region-p.
7338 (delete-selection-self-insert-function): Remove.
7339 (self-insert-command): Obey self-insert-uses-region-functions.
7340 (self-insert-iso): Revert to previous setting, since we don't actually
7341 know what that command does.
7342 (delete-selection-self-insert-hooks): Remove.
7344 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
7346 * delsel.el (delete-selection-helper): New function, extracted from
7347 delete-selection-pre-hook.
7348 (delete-selection-pre-hook): Use it.
7349 (delete-selection-self-insert-function): New function.
7350 (delete-selection-self-insert-hooks): New hook.
7351 (self-insert-command, self-insert-iso): Use it.
7352 * electric.el (electric-pair-syntax): New function, extracted from
7353 electric-pair-post-self-insert-function.
7354 (electric-pair-post-self-insert-function): Use it.
7355 (electric-pair-delete-selection-self-insert-function): New function.
7356 (electric-pair-mode): Require delsel and setup
7357 delete-selection-self-insert-hooks (bug#11520).
7359 2012-10-20 Chong Yidong <cyd@gnu.org>
7361 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
7362 no changes to show (Bug#12586).
7364 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
7365 list explicitly (Bug#12571).
7367 2012-10-20 Arne Jørgensen <arne@arnested.dk>
7369 * progmodes/flymake.el (flymake-create-temp-inplace):
7372 2012-10-20 Eli Zaretskii <eliz@gnu.org>
7374 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
7376 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
7378 * calc/calc-units.el (math-extract-units): Properly extract powers
7381 2012-10-20 Daniel Colascione <dancol@dancol.org>
7383 * frame.el (make-frame): Set x-display-name as we used to in order
7384 to unbreak creating an X11 frame from an Emacs daemon started
7387 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7389 * minibuffer.el (minibuffer-force-complete): Make the next completion use
7390 the same completion-field (bug#12221).
7392 2012-10-19 Martin Rudalics <rudalics@gmx.at>
7394 * emacs-lisp/debug.el (debug): Record height of debugger window
7395 also when debugger will be back (Bug#8789).
7397 2012-10-18 Chong Yidong <cyd@gnu.org>
7399 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7400 Convert to defcustom.
7401 (gdb-get-source-file): Don't bind pop-up-windows.
7403 * progmodes/gud.el (gud-display-line): Don't specially re-use
7404 other frames for the gdb-mi case (Bug#12648).
7406 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7408 * emacs-lisp/advice.el: Clean up commentary a bit.
7409 (ad-do-advised-functions, ad-with-originals): Use `declare'.
7410 (byte-code-function-p): Never redefine.
7412 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
7414 2012-10-18 Glenn Morris <rgm@gnu.org>
7416 * dired.el (dired-sort-toggle): Some ls implementations only allow
7417 a single option string. (Bug#12666)
7419 * minibuffer.el (completion-cycle-threshold): Doc fix.
7421 2012-10-17 Kenichi Handa <handa@gnu.org>
7423 * international/mule.el (set-keyboard-coding-system):
7424 Recover input meta mode when the new coding system doesn not use 8-bit.
7425 Supply TERMINAL arg to set-input-meta-mode.
7427 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7429 * wdired.el (wdired-old-marks): New variable.
7430 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
7431 (wdired-do-renames): Move point with renamed file and don't lose
7432 mark status (Bug#11795).
7434 2012-10-16 Juri Linkov <juri@jurta.org>
7436 * replace.el (query-replace-help): Mention multi-buffer replacement
7437 keys in the Help message. (Bug#12655)
7439 2012-10-15 Chong Yidong <cyd@gnu.org>
7441 * emacs-lisp/byte-run.el (defsubst): Doc fix.
7443 2012-10-14 Eli Zaretskii <eliz@gnu.org>
7445 * window.el (display-buffer): Doc fix.
7447 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7448 Adjust the msft regexp to the output of Studio 2010, and move msft
7449 before edg-1. See the discussion on emacs-devel,
7450 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
7453 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7455 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
7456 (oset): Move uses of object-class-fast macro after its definition.
7458 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
7460 2012-10-13 Chong Yidong <cyd@gnu.org>
7462 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
7463 enabled, re-enable it (Bug#11963).
7465 2012-10-13 Martin Rudalics <rudalics@gmx.at>
7467 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
7468 non-nil, restore window configuration (Bug#12623).
7470 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7472 * help-fns.el (describe-variable, describe-function-1):
7473 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
7475 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
7477 2012-10-12 Glenn Morris <rgm@gnu.org>
7479 * mail/rmailsum.el (rmail-header-summary):
7480 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
7482 2012-10-12 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7484 * progmodes/python.el (python-mode-map):
7485 Replace subtitute-key-definition with proper command remapping.
7486 (python-nav--up-list): Fix behavior for blocks on the same level.
7488 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7490 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
7492 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
7493 changes to the format of load-history.
7495 * international/mule-cmds.el (read-char-by-name): Move let-binding of
7496 completion-ignore-case in case that var is buffer-local (bug#12615).
7498 2012-10-11 Kenichi Handa <handa@gnu.org>
7500 * international/eucjp-ms.el: Re-generated.
7502 2012-10-10 Kenichi Handa <handa@gnu.org>
7504 * select.el (xselect--encode-string): If a coding is specified for
7505 selection, and that is compatible with COMPOUND_TEXT, use it.
7507 2012-10-10 Martin Rudalics <rudalics@gmx.at>
7509 * window.el (switch-to-buffer-preserve-window-point): New option.
7511 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
7513 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7515 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
7516 Don't document nil as a useful value (bug#12583).
7518 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
7520 * net/tramp.el (tramp-debug-message):
7521 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
7522 (with-tramp-progress-reporter): Rename from
7523 `tramp-with-progress-reporter'.
7524 (with-tramp-file-property, with-tramp-connection-property):
7525 Move from tramp-cache.el, rename from `with-file-property' and
7526 `with-connection-property', respectively.
7528 * net/tramp-cache.el: Remove `with-file-property' and
7529 `with-connection-property'.
7532 * net/tramp-gvfs.el:
7534 * net/tramp-smb.el: Adapt callees.
7536 * net/trampver.el: Update release number.
7538 2012-10-09 Glenn Morris <rgm@gnu.org>
7540 * w32-fns.el (set-message-beep):
7541 * term/w32-win.el (set-message-beep): Update declarations.
7543 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7545 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
7546 (mode-line-widen, mode-line-input-method-map)
7547 (mode-line-coding-system-map, mode-line-remote)
7548 (mode-line-unbury-buffer, mode-line-bury-buffer)
7549 (mode-line-next-buffer, mode-line-previous-buffer):
7550 Replace save-selected-window+select-window => with-selected-window.
7552 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
7553 * progmodes/cc-vars.el (bq-process): Remove, unused.
7555 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
7557 2012-10-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7559 Implemented `backward-up-list'-like navigation.
7560 * progmodes/python.el (python-nav-up-list)
7561 (python-nav-backward-up-list): New functions.
7562 (python-mode-map): Define substitute key for backward-up-list to
7563 python-nav-backward-up-list.
7565 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7567 * progmodes/python.el (python-fill-paragraph): Rename from
7568 python-fill-paragraph-function. Fixed fill-paragraph for
7569 decorators (Bug#12605).
7571 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7573 * progmodes/python.el (python-shell-output-filter): Handle extra
7574 carriage return in OSX (Bug#12409).
7576 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7578 Fix shell handling of unbalanced quotes and parens in output.
7579 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
7580 (python-syntax-propertize-function): Use it.
7581 (python-shell-output-syntax-table): New var.
7582 (inferior-python-mode): Prevent unbalanced parens/quotes from
7583 previous output mess with current input context.
7585 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
7587 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
7588 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
7590 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
7592 * ffap.el (ffap-replace-file-component): Support Tramp file name
7593 syntax, not only ange-ftp's one.
7595 2012-10-08 Glenn Morris <rgm@gnu.org>
7597 * cus-start.el (message-log-max): Set :version.
7599 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
7601 2012-10-08 Martin Rudalics <rudalics@gmx.at>
7603 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
7604 the minibuffer window (Bug#10851).
7606 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7608 Enhancements on forward-sexp movement.
7609 * progmodes/python.el (python-nav-beginning-of-statement)
7610 (python-nav-end-of-statement): Return point-marker.
7611 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
7612 (python-info-current-symbol)
7613 (python-info-statement-starts-block-p): Rename from
7614 python-info-beginning-of-block-p.
7615 (python-info-statement-ends-block-p): Rename from
7616 python-info-end-of-block-p.
7617 (python-info-beginning-of-statement-p)
7618 (python-info-end-of-statement-p)
7619 (python-info-beginning-of-block-p, python-info-end-of-block-p):
7622 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7624 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
7625 frame-selected-windows.
7627 2012-10-08 Daniel Colascione <dancol@dancol.org>
7629 * battery.el (battery-status-function): Check for
7630 w32-battery-status itself, not system-time windows-nt.
7632 * frame.el: Require cl-lib.
7633 (display-format-alist): New variable mapping frame types to
7634 functions that initialize them.
7635 (window-system-for-display): New function: interprets
7636 display-format-alist.
7637 (make-frame-on-display): Remove existing display-selection logic
7638 and just forward to make-frame, which will now DTRT.
7639 (make-frame): Restructure to use window-system-for-display to
7640 figure out how to create a frame on a given display.
7641 (display-mouse-p): Look for frame-type w32, not a particular
7644 * loadup.el: Load w32 lisp code when we have the w32 feature.
7646 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
7647 system-type windows-nt.
7649 * server.el (server-create-window-system-frame): Look for window
7651 (server-proces-filter): Only force a window system when windows-nt
7652 _and_ w32. Explain why.
7654 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
7655 of window systems we configure for the mode.
7657 * startup.el (command-line): Mark window system is initialized
7658 after we've done it.
7660 * common-win.el (x-select-text): Look for w32, not windows-nt.
7662 * ns-win.el: Require cl-lib. Add ourselves to
7663 display-format-alist.
7664 (ns-initialize-window-system): Assert we're not initialized twice.
7666 * w32-win.el: Enable lexical binding; require cl-lib; add
7667 ourselves to display-format-alist.
7668 (w32-handle-dropped-file): Convert incoming dropped files from
7669 Windows paths to Cygwin ones before passing them on to the rest of
7671 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
7672 (w32-initialize-window-system): Assert we're not initialized twice.
7674 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
7675 (x-initialize-window-system): Assert we're not initialized twice.
7677 * w32-common-fns.el: New File.
7678 (w32-version, w32-using-nt, w32-get-clipboard-data)
7679 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7680 (w32-charset-info-alist, x-last-selected, text)
7681 (x-get-selection-value, x-selection-value): Move here.
7683 * w32-fns.el: Require w32-common-fns.
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 to
7691 (w32-allow-system-shell, w32-system-shells): Define only in
7694 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7696 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
7697 (read-passwd): Remove a few more potential sources of leaks.
7699 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7701 * progmodes/python.el (inferior-python-mode)
7702 (python-shell-make-comint): Fix initialization of local
7703 variables copied from parent buffer.
7705 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
7707 * term/ns-win.el (ns-read-file-name): Update declaration to match
7709 (ns-respond-to-change-font): Change fontsize separately so we are sure
7710 it is set when font is acted upon.
7712 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7714 Enhancements to indentation.
7715 * progmodes/python.el (python-indent-context): Give priority to
7716 inside-string context. Make comments indentation markers.
7717 (python-indent-region): Do not mess with strings, unless it's the
7718 enclosing set of quotes.
7720 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7722 * window.el (internal--before-save-selected-window)
7723 (internal--after-save-selected-window): New functions extracted from
7724 save-selected-window. Make sure we return the `alist' we construct.
7725 (save-selected-window): Use them.
7727 * textmodes/tex-mode.el (tex-recenter-output-buffer):
7728 Use with-selected-window.
7730 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
7731 forms that define macros (bug#12593).
7733 2012-10-07 Kenichi Handa <handa@gnu.org>
7735 * international/mule-conf.el (compound-text-with-extensions):
7736 Add :mime-charset property as x-ctext.
7738 2012-10-07 Stefan Merten <smerten@oekonux.de>
7740 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7741 (rst-indent-literal-normal, rst-indent-literal-minimized)
7742 (rst-indent-comment): Correct :version tag.
7743 (rst-official-cvs-rev): Correct version string.
7745 2012-10-07 Glenn Morris <rgm@gnu.org>
7747 * mail/rmailmm.el (rmail-mime-process-multipart):
7748 Do not confuse a multipart message with an epilogue
7749 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
7751 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7753 Fix shell output retrieval and comint-prompt-regexp init.
7754 * progmodes/python.el (inferior-python-mode):
7755 (python-shell-make-comint): Fix initialization of
7756 comint-prompt-regexp from copied file local variables.
7757 (python-shell-fetched-lines): Remove var.
7758 (python-shell-output-filter-in-progress): Rename from
7759 python-shell-fetch-lines-in-progress.
7760 (python-shell-output-filter-buffer): Rename from
7761 python-shell-fetch-lines-string.
7762 (python-shell-fetch-lines-filter): Delete function.
7763 (python-shell-output-filter): New function.
7764 (python-shell-send-string-no-output): Use them.
7766 2012-10-07 Glenn Morris <rgm@gnu.org>
7768 * hi-lock.el (hi-lock-process-phrase):
7769 Try to make it less fragile. (Bug#7161)
7771 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
7773 2012-10-06 Glenn Morris <rgm@gnu.org>
7775 * ehelp.el (electric-help-mode): Use help-mode rather than
7776 non-existent mode `help'.
7777 (electric-help-map): Use button-buffer-map. (Bug#10917)
7779 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
7780 (reftex-create-bibtex-footer): Fix custom types.
7782 * progmodes/sh-script.el (sh-indent-after-continuation):
7783 Add explicit :group.
7785 * textmodes/rst.el (rst-preferred-decorations)
7786 (rst-shift-basic-offset): Clarify obsolescence versions.
7788 * profiler.el (profiler): Add missing group :version tag.
7789 * avoid.el (mouse-avoidance-banish-position):
7790 * proced.el (proced-renice-command):
7791 * calc/calc.el (calc-ensure-consistent-units):
7792 * calendar/icalendar.el (icalendar-import-format-uid):
7793 * net/tramp.el (tramp-save-ad-hoc-proxies):
7794 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7795 * progmodes/flymake.el (flymake-error-bitmap)
7796 (flymake-warning-bitmap, flymake-fringe-indicator-position):
7797 * progmodes/sh-script.el (sh-indent-after-continuation):
7798 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
7799 (verilog-before-save-font-hook, verilog-after-save-font-hook):
7800 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
7801 (vhdl-array-index-record-field-in-sensitivity-list)
7802 (vhdl-indent-comment-like-next-code-line):
7803 * textmodes/reftex-vars.el (reftex-ref-style-alist)
7804 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
7805 (reftex-cite-key-separator, reftex-create-bibtex-header)
7806 (reftex-create-bibtex-footer):
7807 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7808 (rst-indent-literal-normal, rst-indent-literal-minimized)
7809 (rst-indent-comment): Add missing custom :version tags.
7811 * calendar/timeclock.el (timeclock-modeline-display):
7812 Add missing obsolete alias for renamed user option.
7814 * strokes.el (strokes-modeline-string):
7815 * emulation/crisp.el (crisp-mode-modeline-string):
7816 * eshell/esh-mode.el (eshell-status-in-modeline):
7817 Aliases to defcustoms must come before the defcustom.
7819 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
7820 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7821 (cal-tex-cursor-week-monday): Doc fixes.
7822 (cal-tex-cursor-week2-summary): Doc fix.
7823 Rename from cal-tex-cursor-week-at-a-glance.
7825 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
7826 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
7828 * calendar/calendar.el (calendar-mode-map):
7829 Add cal-tex-cursor-week2-summary.
7831 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
7833 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
7835 * subr.el (read-passwd-map): New var.
7836 (read-passwd): Use `read-string' again.
7837 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
7839 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
7841 * register.el (append-to-register, prepend-to-register):
7842 Deactivate mark, as does `copy-to-register' (bug#12389).
7844 2012-10-06 Chong Yidong <cyd@gnu.org>
7846 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
7848 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
7850 * international/characters.el: Fix simple mistake ((car chars) ->
7851 elt), delete duplicated code.
7853 2012-10-06 Glenn Morris <rgm@gnu.org>
7855 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
7857 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
7859 * color.el (color-hsl-to-rgb): Fix incorrect results for
7860 small and large hue values. (Bug#12559)
7862 2012-10-05 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7864 Enhancements to docstring formatting when filling paragraphs.
7865 * progmodes/python.el (python-fill-docstring-style): Rename from
7866 python-fill-string-style. Added new style.
7867 (python-fill-string): Use new style. Better checks for
7870 2012-10-05 Glenn Morris <rgm@gnu.org>
7872 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
7874 * color.el (color-name-to-rgb, color-rgb-to-hex)
7875 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
7876 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
7877 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7878 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
7880 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
7882 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
7884 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
7885 to get the correct size across symlinks.
7887 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
7889 2012-10-04 Juri Linkov <juri@jurta.org>
7891 * replace.el (query-replace-interactive): Declare obsolete.
7892 (query-replace-read-from): Add the last incremental search string
7893 to the list of default values accessible via M-n.
7894 (map-query-replace-regexp): Use `read-regexp'.
7895 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7896 (map-query-replace-regexp, replace-string, replace-regexp):
7897 Fix docstrings to replace mentions of `query-replace-interactive'
7898 with alternatives. (Bug#12526)
7900 2012-10-04 Juri Linkov <juri@jurta.org>
7902 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
7903 (dired-pop-to-buffer): Declare obsolete.
7904 (dired-mark-pop-up): Doc fix.
7906 2012-10-04 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7908 Allow user to set docstring style for fill-paragraph.
7909 * progmodes/python.el
7910 (python-fill-comment-function, python-fill-string-function)
7911 (python-fill-decorator-function, python-fill-paren-function):
7912 Remove :safe for defcustoms.
7913 (python-fill-string-style): New defcustom
7914 (python-fill-paragraph-function): Enhance context detection.
7915 (python-fill-string): Honor python-fill-string-style settings.
7917 2012-10-04 Martin Rudalics <rudalics@gmx.at>
7919 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
7920 after setting its buffer (Bug#10805).
7922 2012-10-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7924 Fix cornercase for string syntax.
7925 * progmodes/python.el (python-syntax-propertize-function):
7926 Simplify and enhance the regexp for unescaped quotes. Now it also
7927 matches quotes in weird situations like the single quote in
7929 (python-syntax-stringify): Simplify num-quotes detecting code.
7931 2012-10-03 Glenn Morris <rgm@gnu.org>
7933 * help-macro.el (three-step-help):
7934 Revert 2012-09-29 change. (Bug#12567)
7936 2012-10-03 Martin Rudalics <rudalics@gmx.at>
7938 * menu-bar.el (kill-this-buffer): Don't do anything when
7939 `menu-frame' is not alive or visible (Bug#8184).
7941 * emacs-lisp/debug.el (debug): When quitting the debugger window
7942 restore current buffer (Bug#12502).
7944 2012-10-02 Chong Yidong <cyd@gnu.org>
7946 * progmodes/hideif.el (hif-lookup, hif-defined):
7947 Handle semantic-c-takeover-hideif.
7949 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
7951 Change sampling interval units from ms to ns.
7952 * profiler.el (profiler-sampling-interval): Change units
7953 from ms to ns, multiplying the default by 1000000 so that
7955 (profiler-report-cpu-line-format): Give enough room for
7956 the maximum counters on 64-bit hosts.
7957 (profiler-report-render-calltree-1): Call them "CPU samples",
7958 not "Time (ms)", since they are not milliseconds now (and
7961 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7963 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
7964 Fix querying BBDB for entries without a last name (Bug#11580).
7966 2012-10-02 Chong Yidong <cyd@gnu.org>
7968 * emacs-lisp/eieio.el: Restore Version header.
7970 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7972 * vc/diff-mode.el (diff--auto-refine-data): New var.
7973 (diff-hunk): Use it to delay refinement.
7974 (diff-mode): Remove overlays when we turn off font-lock.
7976 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
7977 (table-initialize-table-fixed-width-mode)
7978 (table-set-table-fixed-width-mode): Remove functions.
7979 (table-command-list): Move initialization into declaration.
7980 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
7981 (table-with-cache-buffer): Use `declare'.
7982 (table-span-cell): Simplify via CSE.
7983 (table-fixed-width-mode): Use define-minor-mode.
7984 (table-call-interactively, table-funcall, table-apply): Remove.
7985 (table-function): New function, to replace them.
7987 * bookmark.el (bookmark-search-pattern): Remove var.
7988 (bookmark-read-search-input): Remove function.
7989 (bookmark-bmenu-search): Reimplement using a minibuffer.
7991 * faces.el (modeline): Remove obsolete face name.
7993 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
7994 and give a non-nil default value.
7995 (add-change-log-entry): Simplify accordingly.
7997 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
7999 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
8000 (vc-git-log-edit-toggle-amend): New function.
8001 (vc-git-log-edit-toggle-signoff): New function.
8002 (vc-git-log-edit-mode): New major mode.
8003 (vc-git-log-edit-mode-map): Keymap for it.
8004 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
8006 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
8008 (log-edit-toggle-header): New function.
8009 (log-edit-extract-headers): Accept function values in HEADERS alist.
8011 2012-10-01 David Engster <deng@randomsample.de>
8013 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
8014 from symbol property and change message to be more consistent with
8016 (eieio-describe-generic): Add filename for each implementation.
8017 Fix indices for generic and normal methods.
8018 (eieio-method-def, eieio-class-def): New buttons.
8019 (eieio-help-find-method-definition)
8020 (eieio-help-find-class-definition): New functions.
8021 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
8022 class, constructor and method definitions.
8024 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
8025 information in symbol property.
8026 (scoped-class): Remove.
8027 (eieio-slot-name-index, call-next-method): Check if it is bound.
8029 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
8031 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
8032 (eieio-custom-mode): New major mode.
8033 (eieio-customize-object): Use it.
8035 2012-10-01 Eric Ludlam <zappo@gnu.org>
8037 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
8038 specifying the expected class, and whether subclassing is allowed.
8039 (eieio-persistent-convert-list-to-object):
8040 (eieio-persistent-validate/fix-slot-value)
8041 (eieio-persistent-slot-type-is-class-p): New functions.
8042 (eieio-named::slot-missing): Doc fix.
8044 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
8045 Stop using unused publd variable.
8047 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8048 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
8049 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
8050 (eieio-speedbar-handle-click): Do not specify a class for the
8051 method. Fixes method invocation order problems with EDE.
8053 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8055 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
8056 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
8058 2012-10-01 Karl Fogel <kfogel@red-bean.com>
8060 * bookmark.el (bookmark-version-control): Give tags in the
8061 :type choices (Bug#12309), and improve doc string.
8062 (bookmark-write-file): Bind `print-circle' to `t' to allow
8063 circular custom bookmark types. (Bug#12503)
8065 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
8067 Revert the FOLLOW-SYMLINKS change for file-attributes.
8068 * files.el (remote-file-name-inhibit-cache, after-find-file):
8069 * time.el (display-time-file-nonempty-p): Undo last change.
8071 * profiler.el (profiler-sampling-interval): Change default back to 1.
8072 See Stefan Monnier in
8073 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
8075 2012-10-01 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8077 Shell output catching a la gud-gdb.
8078 * progmodes/python.el (python-shell-fetch-lines-in-progress)
8079 (python-shell-fetch-lines-string, python-shell-fetched-lines):
8081 (python-shell-fetch-lines-filter): New function.
8082 (python-shell-send-string-no-output): Use them.
8084 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
8086 * profiler.el (profiler-sampling-interval): Rename from
8087 profiler-sample-interval.
8088 (profiler-sampling-interval): Default to 10.
8089 (profiler-find-profile): New command (was profiler-find-log).
8090 (profiler-find-profile-other-window): New command.
8091 (profiler-find-profile-other-frame): New command.
8092 (profiler-profile): Introduce API-level data structure.
8094 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
8096 file-attributes has a new optional arg FOLLOW-SYMLINKS.
8097 * files.el (remote-file-name-inhibit-cache):
8098 * time.el (display-time-file-nonempty-p): Use it.
8099 * files.el (after-find-file): Don't chase links before calling
8100 file-exists-p, as file-exists-p already does the right thing.
8102 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
8104 Merge from standalone RefTeX repository.
8106 The following ChangeLog entries are shortened versions of the
8107 original ones with file paths adapted. A not so strongly edited
8108 version of the original ChangeLog can be found in the commit log.
8110 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
8111 (reftex-arg-cite): Use `reftex-cite-key-separator'.
8112 Correctly handle new value type returned by `reftex-citation'.
8114 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
8115 that entries with whitespace at various places are found.
8116 Doc fix. Include entries that are cross-referenced from cited entries.
8117 Include @String definitions in the resulting bib file. Add header
8118 and footer defined in `reftex-create-bibtex-header' and
8119 `reftex-create-bibtex-footer'.
8120 (reftex-do-citation): Make it possible again to insert
8121 non-existent entries. Save match data when asking for optional
8122 arguments. Return all keys, not just the first one.
8123 (reftex-all-used-citation-keys): Fix regexp to correctly extract
8124 all citations in the same line.
8125 (reftex-parse-bibtex-entry): Accept additional optional argument
8126 `raw' and keep quotes or braces if it is non-nil. Match fields
8127 containing hyphens besides word constituents.
8128 (reftex-get-string-refs): New function.
8129 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
8130 and ask if it should be reread in case it did.
8131 (reftex-pop-to-bibtex-entry)
8132 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
8133 entries with spaces or tabs in front of arguments.
8134 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8135 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
8136 Match entries containing numbers and symbol constituents.
8137 (reftex-do-citation, reftex-figure-out-cite-format):
8138 Use `reftex-cite-key-separator'.
8140 * textmodes/reftex-dcr.el: Move provide statement to end of file.
8141 (reftex-mouse-view-crossref): Explain why point is set.
8143 * textmodes/reftex-global.el: Whitespace changes.
8145 * textmodes/reftex-index.el: Move provide statement to end of
8147 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
8148 (reftex-index-visit-phrases-buffer): Set marker when visiting
8149 buffer. This allows for returning from the phrases file to the
8150 file one was just editing instead of the file where the last
8151 phrases was added from.
8152 (reftex-index-phrases-syntax-table): New variable. Give ?\"
8153 punctuation syntax as it usually is not used as string quote in
8154 TeX-related modes and may occur unmatched. The change also
8155 prevents fontification of quoted content.
8156 (reftex-index-phrases-mode): Use it.
8158 * textmodes/reftex-parse.el (reftex-parse-from-file):
8159 Move backward one char if a `\' was matched after a section macro.
8160 (reftex-parse-from-file): Use beginning of match instead of end as
8163 * textmodes/reftex-ref.el: Adapt creation of
8164 `reftex-<package>-<macro>' functions to new structure of
8165 `reftex-ref-style-alist'.
8166 (reftex-reference): Use `reftex-ref-style-list' function.
8167 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
8168 reference macro if `reftex-ref-macro-prompt' is non-nil.
8169 (reftex-reference): Pass refstyle to `reftex-format-special'.
8170 Determine reference macro by looking at
8171 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
8172 Use only one special format function.
8173 (reftex-varioref-vref, reftex-fancyref-fref)
8174 (reftex-fancyref-Fref): Remove definitions. The functions are now
8175 generated from `reftex-ref-style-alist'.
8176 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
8178 (reftex-format-special): New function.
8180 * textmodes/reftex-sel.el
8181 (reftex-select-cycle-ref-style-internal): Adapt to new structure
8182 of `reftex-ref-style-alist'. Remove code for testing macro type.
8183 (reftex-select-toggle-varioref)
8184 (reftex-select-toggle-fancyref): Remove.
8185 (reftex-select-cycle-ref-style-internal)
8186 (reftex-select-cycle-ref-style-forward)
8187 (reftex-select-cycle-ref-style-backward): New functions.
8188 (reftex-select-label-map): Use `v' and `V' for general cycling
8189 through reference styles. Add `p' for switching between number
8190 and page reference types.
8192 * textmodes/reftex-toc.el (reftex-re-enlarge):
8193 Call `enlarge-window' only if there is something to do because in Emacs
8194 the horizontal version throws an error even if the parameter is 0.
8196 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
8197 (reftex-plug-into-AUCTeX): Doc fix.
8198 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
8199 string. Adapt to new name.
8200 (reftex-ref-style-alist): Change structure so that it is not
8201 possible to use multiple different package names within a style.
8202 Remove the symbols for symbols for macro type distinction.
8203 Add characters for macro selection.
8204 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
8205 (reftex-create-bibtex-footer): New variables.
8206 (reftex-format-ref-function): Mention third argument of special
8208 (reftex-ref-style-alist, reftex-ref-style-default-list):
8210 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
8211 to new implementation. Mark as obsolete. Add compatibility code
8212 for honoring the variable values in case they are set.
8213 (reftex-cite-format-builtin, reftex-bibliography-commands):
8214 Add support for ConTeXt.
8215 (reftex-format-ref-function, reftex-format-cite-function):
8217 (reftex-cite-key-separator): New variable.
8219 * textmodes/reftex.el (reftex-syntax-table-for-bib)
8220 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
8221 `reftex-syntax-table' because parens have to retain their paren
8222 syntax in order for parsing of BibTeX entries like @book(...) to
8224 (reftex-in-comment): Do not error out if `comment-start-skip' is
8225 not set. Deal correctly with escaped comment characters.
8226 (reftex-tie-multifile-symbols): Add doc string.
8227 Initialize `reftex-ref-style-list'.
8228 (reftex-untie-multifile-symbols): Add doc string.
8229 (reftex-add-index-macros): Doc fix.
8230 (reftex-ref-style-activate, reftex-ref-style-toggle)
8231 (reftex-ref-style-list): New functions.
8232 (reftex-mode-menu): Use them. Adapt to new structure of
8233 `reftex-ref-style-alist'.
8234 (reftex-select-with-char): Kill the RefTeX Select buffer when
8236 (reftex-remove-if): New function.
8237 (reftex-erase-all-selection-and-index-buffers)
8238 (reftex-mode-menu): Reference styles are now computed from
8239 `reftex-ref-style-alist'. Fix typo.
8240 (reftex-report-bug): New function.
8241 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
8242 algorithms with O(n log n). Introduce optional argument SORT (not
8245 2012-09-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8247 Enhancements for triple-quote string syntax.
8248 * progmodes/python.el (python-syntax-propertize-function):
8249 Match both quote cases in one regexp.
8250 (python-syntax-stringify): Handle matches properly.
8252 2012-09-30 Juri Linkov <juri@jurta.org>
8254 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
8255 to nil around the call to `insert' to prevent
8256 directory time modification by lock_file. (Bug#2295)
8257 * tar-mode.el (tar-summarize-buffer): Idem.
8259 2012-09-30 Juri Linkov <juri@jurta.org>
8261 * facemenu.el (list-colors-sort): Add option "Luminance".
8262 (list-colors-sort-key): Implement it.
8264 * vc/diff-mode.el (diff-refine-removed):
8265 * vc/ediff-init.el (ediff-fine-diff-A):
8266 * vc/smerge-mode.el (smerge-refined-removed):
8267 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
8269 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
8271 * term/ns-win.el (x-file-dialog): New function.
8273 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
8275 * ido.el (ido-max-directory-size): Default to nil; the current
8276 default is small for POSIX systems, and impractical on Windows 7
8277 now that lstat returns directory sizes for NTFS.
8279 2012-09-30 Martin Rudalics <rudalics@gmx.at>
8281 In buffer display functions handle window-height/window-width
8282 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
8283 * window.el (window--display-buffer): New argument ALIST.
8284 Obey window-height and window-width alist entries.
8285 (window--try-to-split-window): New argument ALIST.
8286 Bind window-combination-limit to t when the window's size shall be
8287 changed and window-combination-limit equals `window-size'.
8288 (display-buffer-in-atom-window)
8289 (display-buffer-in-major-side-window)
8290 (display-buffer-in-side-window, display-buffer-same-window)
8291 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8292 (display-buffer-pop-up-window, display-buffer-below-selected)
8293 (display-buffer-at-bottom, display-buffer-in-previous-window)
8294 (display-buffer-use-some-window): Adjust all callers of
8295 window--display-buffer and window--try-to-split-window.
8296 (fit-frame-to-buffer): New option.
8297 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
8299 (display-buffer-in-major-side-window): Evaluate window-height /
8300 window-width alist entries.
8302 * help.el (temp-buffer-resize-frames)
8303 (temp-buffer-resize-regexps): Remove options.
8304 (temp-buffer-resize-mode): Adjust doc-string.
8305 (resize-temp-buffer-window): Don't consult
8306 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
8307 temp-buffer-resize-frames.
8309 * dired.el (dired-mark-pop-up):
8310 Call display-buffer-below-selected with a fit-window-to-buffer alist
8313 2012-09-30 Chong Yidong <cyd@gnu.org>
8315 * server.el (server-host): Document the security implications.
8316 (server-auth-key): Doc fix.
8318 * startup.el (initial-buffer-choice): Doc fix.
8320 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
8322 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
8325 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
8327 * help-fns.el (help-fns--obsolete): Fix last change.
8329 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
8331 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
8332 (minor-mode-map-alist): Remove redundant code.
8334 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
8335 visited in a buffer.
8336 (cvs-insert-visited-file): New function.
8337 (find-file-hook): Use it.
8339 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
8341 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
8343 (log-edit-empty-buffer-p): Don't require a space after a header.
8345 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
8347 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
8349 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
8350 a proper minor-mode.
8352 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
8354 2012-09-29 Glenn Morris <rgm@gnu.org>
8356 * winner.el (winner-mode): Remove variable (let define-minor-mode
8358 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
8360 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
8361 (winner-mode): Use define-minor-mode.
8363 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
8364 the full definition in loaddefs, rather than duplicating it.
8366 * help-macro.el (three-step-help): No need to autoload defcustom.
8368 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
8369 (inferior-lisp-program, inferior-lisp-load-command)
8370 (inferior-lisp-prompt, inferior-lisp-mode-hook):
8371 No need to autoload defcustoms.
8373 * hippie-exp.el (hippie-expand-try-functions-list)
8374 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
8375 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
8376 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
8377 (hippie-expand-only-buffers): No need to autoload defcustoms.
8378 * progmodes/vhdl-mode.el (vhdl-line-expand):
8379 Explicitly load hippie-exp, so it does not get autoloaded
8380 while hippie-expand-try-functions-list is let-bound.
8382 2012-09-28 Glenn Morris <rgm@gnu.org>
8384 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
8386 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
8387 Only "cl.el" counts as cl these days.
8389 2012-09-28 Juri Linkov <juri@jurta.org>
8391 Display archive errors in the echo area instead of inserting
8394 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
8395 to STDERR-TEST that can be a regexp matching a successful output.
8396 Create a temporary file and redirect stderr to it. Search for
8397 STDERR-TEST in the stderr output and display it in the echo area
8398 if no match is found.
8399 (archive-extract-by-file): New function like
8400 `archive-extract-by-stdout' but extracting archives to files
8401 and looking for successful matches in stdout. Function body is
8402 mostly copied from `archive-rar-extract'.
8403 (archive-rar-extract): Use `archive-extract-by-file'.
8404 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
8406 2012-09-28 Leo Liu <sdl.web@gmail.com>
8408 * pcomplete.el (pcomplete-show-completions):
8409 Use minibuffer-message to make pcomplete usable in minibuffer.
8411 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
8413 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8415 * type-break.el: Use lexical-binding.
8416 (type-break-mode): Use define-minor-mode.
8418 * emacs-lisp/pcase.el (pcase--mark-used): New.
8419 (pcase--u1): Use it (bug#12512).
8421 * custom.el (load-theme): Set buffer-file-name so the load is recorded
8422 in load-history with the right file name.
8424 2012-09-28 Tassilo Horn <tsdh@gnu.org>
8426 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
8427 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
8428 (doc-view-get-bounding-box): Make bounding box slicing work for
8429 ODF and DVI documents.
8431 2012-09-28 Glenn Morris <rgm@gnu.org>
8433 * type-break.el (type-break-mode, type-break-interval)
8434 (type-break-good-rest-interval, type-break-keystroke-threshold):
8435 No need to autoload.
8436 (type-break-good-rest-interval, type-break-keystroke-threshold):
8439 2012-09-28 Chong Yidong <cyd@gnu.org>
8441 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
8444 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8446 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
8448 2012-09-27 Glenn Morris <rgm@gnu.org>
8450 * faces.el (x-display-name): Declare (for without-x builds).
8452 * linum.el (linum-format): Don't autoload it. Improve :type.
8454 * progmodes/tcl.el: Don't require outline when compiling.
8455 (outline-regexp, outline-level): Declare.
8456 * textmodes/sgml-mode.el: Don't require outline when compiling.
8457 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
8459 * term.el (term-ansi-reset):
8460 Try setting term-ansi-face-already-done to nil. (Bug#11785)
8462 * vc/vc.el (vc-next-action): Only gripe about committing read-only
8463 files for RCS and SCCS. (Bug#9781)
8465 2012-09-27 Chong Yidong <cyd@gnu.org>
8467 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
8468 change; value should be t.
8470 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8472 * image-mode.el: Use lexical-binding.
8473 (image-mode-winprops): Use t to stand for the window of
8474 a buffer that's not displayed.
8475 * doc-view.el (doc-view-new-window-function): Handle the new
8477 (doc-view-enlarge): Make it a real nop if the size is not changed.
8478 (doc-view-display): Handle the case where the buffer is not (yet?)
8479 displayed in any window.
8480 (doc-view-saved-settings): New var.
8481 (doc-view-mode): Use it.
8482 (doc-view-fallback-mode): Set it.
8484 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
8485 Set lexical-binding.
8486 (minibuffer-eldef-shorten-default): New var.
8487 (minibuffer-default-in-prompt-regexps): Use it for new default.
8488 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
8490 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8492 * international/uni-bidi.el:
8493 * international/uni-category.el:
8494 * international/uni-name.el:
8495 * international/uni-numeric.el: Regenerate.
8497 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
8498 Stefan Monnier <monnier@iro.umontreal.ca>
8500 * profiler.el: New file.
8502 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
8504 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
8505 (testcover-reinstrument): Simplify with CSE.
8507 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8509 * window.el (temp-buffer-window-setup): Fix typo in docstring.
8511 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
8513 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
8514 (verilog-auto-input, verilog-auto-insert-lisp)
8515 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
8516 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
8517 (verilog-auto-unused, verilog-auto-wire)
8518 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
8519 newline. Reported by Andrew Jones.
8520 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
8521 Reported by Brad Dobbie.
8522 (verilog-batch-delete-trailing-whitespace):
8523 Create verilog-batch-delete-trailing-whitespace.
8524 Reported by Brad Dobbie.
8525 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
8526 parameters from another module. Reported by Dan Katz.
8527 (verilog-auto, verilog-auto-assign-modport)
8528 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
8529 AUTOINOUTMODPORT for UVM interface module shell generation.
8530 Reported by Brad Dobbie.
8531 (verilog-auto-inst-interfaced-ports): Make default nil, as more
8533 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
8534 Reported by Matt Martin.
8536 2012-09-25 Martin Rudalics <rudalics@gmx.at>
8538 * window.el (window--resize-child-windows): When resizing child
8539 windows proportionally, process them in reverse order to
8540 preserve the "when splitting a window the new one gets the odd
8542 (window--resize-root-window-vertically): When resizing the
8543 minibuffer window try to affect only windows at the bottom of the
8546 2012-09-25 Chong Yidong <cyd@gnu.org>
8548 * subr.el (declare): Doc fix.
8550 * help-fns.el (help-fns--obsolete): Handle macros properly.
8552 2012-09-25 Chong Yidong <cyd@gnu.org>
8554 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
8555 this function obsolete.
8557 * calendar/cal-x.el (calendar-two-frame-setup)
8558 (calendar-only-one-frame-setup, calendar-one-frame-setup):
8559 * calendar/calendar.el (american-calendar, european-calendar)
8560 (calendar-for-loop):
8561 * comint.el (comint-dynamic-simple-complete)
8562 (comint-dynamic-complete-as-filename, comint-unquote-filename):
8563 * desktop.el (desktop-load-default):
8564 * dired-x.el (dired-omit-here-always)
8565 (dired-hack-local-variables, dired-default-directory):
8566 * emacs-lisp/derived.el (derived-mode-class):
8567 * emacs-lisp/timer.el (timer-set-time-with-usecs):
8568 * emacs-lock.el (toggle-emacs-lock):
8569 * epa.el (epa-display-verify-result):
8570 * epg.el (epg-sign-keys, epg-start-sign-keys)
8571 (epg-passphrase-callback-function):
8572 * eshell/esh-util.el (eshell-for):
8573 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
8574 (eshell-add-to-window-buffer-names):
8575 * files.el (locate-file-completion):
8576 * imenu.el (imenu-example--create-c-index)
8577 (imenu-example--create-lisp-index)
8578 (imenu-example--lisp-extract-index-name)
8579 (imenu-example--name-and-position):
8580 * international/mule-cmds.el (princ-list):
8581 * international/mule-diag.el (decode-codepage-char):
8582 * international/mule-util.el (detect-coding-with-priority):
8583 * iswitchb.el (iswitchb-read-buffer):
8584 * mail/mailalias.el (mail-complete):
8585 * mail/sendmail.el (mail-sent-via):
8586 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
8587 (mouse-major-mode-menu):
8588 * password-cache.el (password-read-and-add):
8589 * pcomplete.el (pcomplete-parse-comint-arguments):
8590 * progmodes/sh-script.el (sh-maybe-here-document):
8591 * replace.el (query-replace-regexp-eval):
8592 * savehist.el (savehist-load):
8593 * simple.el (choose-completion-delete-max-match):
8594 * term.el (term-dynamic-simple-complete):
8595 * vc/ediff-init.el (ediff-check-version):
8596 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
8597 * vc/vc.el (vc-diff-switches-list):
8598 * view.el (view-return-to-alist-update): Likewise.
8600 * subr.el (eval-next-after-load, makehash, insert-string)
8601 (assoc-ignore-representation, assoc-ignore-case): Use declare to
8603 (mode-line-inverse-video): Variable deleted.
8605 * international/mule-util.el (string-to-sequence): Remove.
8607 * calendar/calendar.el (calendar-version):
8608 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
8609 (icalendar-convert-diary-to-ical):
8610 * cus-edit.el (custom-mode):
8611 * ansi-color.el (ansi-color-unfontify-region):
8612 * international/latin1-disp.el (latin1-char-displayable-p):
8613 * progmodes/cwarn.el (turn-on-cwarn-mode):
8614 * progmodes/which-func.el (which-func-update-1):
8615 Use define-obsolete-function-alias.
8617 * net/newst-backend.el (newsticker-cache-filename):
8618 * net/newst-treeview.el (newsticker-groups-filename):
8619 Fix incorrect obsolescence declaration.
8621 * allout.el (allout-passphrase-hint-string): Likewise.
8622 (allout-init): Use a declare form to mark obsolete.
8624 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
8625 this applies to functions.
8627 * iswitchb.el (iswitchb-read-buffer): Move code of
8628 iswitchb-define-mode-map here, and delete that obsolete function.
8630 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
8631 font-lock-reference-face.
8633 2012-09-25 Glenn Morris <rgm@gnu.org>
8635 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
8638 * eshell/em-term.el (eshell-term-name):
8639 Default to term-term-name. (Bug#12485)
8641 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8643 * progmodes/python.el (python-shell-send-buffer): Better handling
8644 of "if __name__ == '__main__':" conditionals when sending the buffer.
8646 2012-09-24 Glenn Morris <rgm@gnu.org>
8648 * eshell/esh-cmd.el (eshell-find-alias-function):
8649 Tighten up file-name regexp. (Bug#12499)
8651 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8653 Enhancements for triple-quote string syntax.
8654 * progmodes/python.el (python-quote-syntax): Remove.
8655 (python-syntax-propertize-function): New value.
8656 (python-syntax-count-quotes, python-syntax-stringify):
8659 2012-09-24 Chong Yidong <cyd@gnu.org>
8661 * mail/supercite.el (sc-version): Remove obsolete function.
8662 (sc-describe): Don't mark as obsolete, since it is bound.
8663 (sc-submit-bug-report): Remove.
8665 * vc/log-edit.el (cvs-changelog-full-paragraphs)
8666 (cvs-commit-buffer-require-final-newline): Remove.
8667 (log-edit-require-final-newline)
8668 (log-edit-changelog-full-paragraphs): Default to t.
8670 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
8671 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
8672 * vc/vc.el (vc-checkout-carefully): Likewise.
8674 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
8675 (emerge-version): Remove.
8677 * progmodes/compile.el (compile-internal): Remove.
8678 (compilation-parse-errors-function): Fix typo.
8680 * international/mule.el (set-char-table-default): Remove.
8681 (set-coding-priority, make-coding-system, generic-char-p)
8682 (charset-list, charset-bytes, charset-id): Use declare to mark
8683 functions as obsolete.
8685 * vc/pcvs-defs.el (cvs-buffer-name-alist)
8686 (cvs-invert-ignore-marks): Remove references to obsolete vars.
8687 * vc/vc-hooks.el (vc-default-registered): Don't use
8688 vc-master-templates.
8690 * font-lock.el (font-lock-reference-face):
8691 Use define-obsolete-variable-alias.
8693 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
8694 * calendar/calendar.el (calendar-font-lock-keywords):
8695 * calendar/diary-lib.el (diary-font-lock-keywords)
8696 (diary-fancy-font-lock-keywords):
8697 * textmodes/reftex-sel.el (reftex-insert-docstruct):
8698 * textmodes/reftex-index.el (reftex-insert-index):
8699 * textmodes/reftex-cite.el (reftex-format-bib-entry):
8700 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8701 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
8702 * progmodes/prolog.el (prolog-font-lock-keywords):
8703 * progmodes/idlwave.el (idlwave-idl-keywords):
8704 * progmodes/ada-mode.el (ada-font-lock-keywords):
8705 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
8707 2012-09-24 Glenn Morris <rgm@gnu.org>
8709 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
8711 2012-09-23 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8713 * progmodes/python.el (python-indent-line): More consistent cursor
8716 2012-09-23 Stefan Merten <smerten@oekonux.de>
8718 * textmodes/rst.el: Fix compiler warning.
8720 2012-09-23 Roland Winkler <winkler@gnu.org>
8722 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
8723 Transcribe also LaTeX hyphenation.
8724 (bibtex-reformat): Bug fix. Do not quote twice the elements of
8725 bibtex-reformat-previous-options.
8727 2012-09-23 Roland Winkler <winkler@gnu.org>
8729 * proced.el (proced-renice-command): New variable.
8730 (proced-marked-processes): New function.
8731 (proced-with-processes-buffer): New macro.
8732 (proced-send-signal): Use them.
8733 (proced-renice): New command bound to r.
8735 2012-09-23 Roland Winkler <winkler@gnu.org>
8737 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
8738 ibuffer-saved-filter-groups has one element, shortcut the call of
8739 completing-read. (Bug#12331)
8741 2012-09-23 Chong Yidong <cyd@gnu.org>
8743 * bindings.el (mode-line-toggle-read-only):
8744 * bs.el (bs-toggle-readonly):
8745 * buff-menu.el (Buffer-menu-toggle-read-only):
8746 * dired.el (dired-toggle-read-only):
8747 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
8749 2012-09-23 Chong Yidong <cyd@gnu.org>
8751 * image.el (image-type-available-p): Adapt to init-image-library
8754 2012-09-22 Juri Linkov <juri@jurta.org>
8756 * dired.el (dired-mode-map): Add [remap read-only-mode] for
8757 `dired-toggle-read-only'. (Bug#12462)
8759 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8761 * subr.el (temp-output-buffer-show): New function.
8762 (with-output-to-temp-buffer): Call temp-output-buffer-show
8763 instead of internal-temp-output-buffer-show.
8765 2012-09-22 Chong Yidong <cyd@gnu.org>
8767 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
8770 * repeat.el (repeat): Doc fix (Bug#12348).
8772 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
8775 * simple.el (shell-command-on-region): Doc fix.
8776 (read-only-mode): Doc fix.
8778 2012-09-22 Eli Zaretskii <eliz@gnu.org>
8780 * emacs-lisp/timer.el (run-with-idle-timer)
8781 (timer-activate-when-idle): Warn against reinvoking an idle timer
8782 from within its own timer action. (Bug#12447)
8784 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8786 * cus-start.el (window-combination-limit): Add new optional
8788 * window.el (temp-buffer-window-show)
8789 (window--try-to-split-window): Handle new values of
8790 window-combination-limit (Bug#1806).
8791 (split-window): Test window-combination-limit for t instead of
8793 (display-buffer-at-bottom): New buffer display action function.
8794 * help.el (temp-buffer-resize-regexps): New option.
8795 (temp-buffer-resize-mode): Rewrite doc-string.
8796 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
8797 Don't resize reused window. Suggested by Glenn Morris.
8799 2012-09-22 Stefan Merten <smerten@oekonux.de>
8801 * textmodes/rst.el: Revamp section title faces.
8802 (rst-official-version)
8803 (rst-package-emacs-version-alist): Sync with official version
8805 (rst-faces-defaults, rst-set-level-default)
8806 (rst-level-face-max, rst-level-face-base-color)
8807 (rst-level-face-base-light, rst-level-face-format-light)
8808 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
8809 (rst-adornment-faces-alist): Match new setup.
8810 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
8811 (rst-level-5, rst-level-6): New faces.
8813 2012-09-22 Chong Yidong <cyd@gnu.org>
8815 * simple.el (undo): Handle indirect buffers (Bug#8207).
8817 2012-09-21 Leo Liu <sdl.web@gmail.com>
8819 IDO: Disable match re-ordering for buffer switching.
8820 * ido.el (ido-buffer-disable-smart-matches): New variable.
8821 (ido-set-matches-1): Use it. (Bug#2042)
8823 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
8825 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8826 Fix 2011-05-17 change. (Bug#12418)
8828 2012-09-21 Leo Liu <sdl.web@gmail.com>
8830 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
8832 2012-09-21 Glenn Morris <rgm@gnu.org>
8834 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
8835 Be more robust about locating simple.el.
8837 2012-09-21 Glenn Morris <rgm@gnu.org>
8839 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
8841 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
8843 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
8845 2012-09-20 Juri Linkov <juri@jurta.org>
8847 * replace.el (query-replace-read-from): Use `read-regexp' instead
8848 of `read-from-minibuffer' when `regexp-flag' is non-nil.
8849 (occur-read-primary-args): Use `read-regexp' instead of
8851 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
8852 `read-from-minibuffer'.
8853 * isearch.el (isearch-occur): Use `read-regexp' instead of
8855 * dired.el (dired-read-regexp): Use `read-regexp' instead of
8856 `read-from-minibuffer'.
8857 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
8858 of `read-string'. (Bug#7567)
8860 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
8861 and allow accepting a list of strings prepended to a list of
8862 standard default values. Doc fix. (Bug#12321)
8864 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
8866 * replace.el (read-regexp): Don't add ": " when PROMPT already
8867 ends with a colon and space. (Bug#12321)
8869 2012-09-20 Tassilo Horn <tsdh@gnu.org>
8871 * doc-view.el (doc-view-display): Better fix for the cl-assertion
8874 2012-09-20 Stefan Merten <smerten@oekonux.de>
8876 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
8877 Fixes feature request bug#11711.
8878 (rst-mode): Create `imenu-create-index-function'.
8879 (rst-get-stripped-line): Delete after refactoring.
8880 (rst-section-tree, rst-section-tree-rec)
8881 (rst-section-tree-point): Refactor and document properly.
8882 (rst-imenu-find-adornments-for-position)
8883 (rst-imenu-convert-cell, rst-imenu-create-index):
8886 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8888 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
8889 (macroexp--expand-all): Use it.
8890 (macroexp--funcall-and-return): Remove by folding it into its sole
8891 caller (macroexp--warn-and-return).
8892 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
8893 Use macroexp--obsolete-warning.
8895 * calc/calc.el: Fix last change by removing the whole chunk, since it
8896 was only needed back when Calc was not bundled.
8898 2012-09-20 Martin Rudalics <rudalics@gmx.at>
8900 * emacs-lisp/debug.el (debug): Restore assignment to
8901 debugger-old-buffer removed on 2012-09-08.
8903 2012-09-20 Juri Linkov <juri@jurta.org>
8905 * dired-aux.el (dired-diff): Remove (require 'diff) since
8906 `diff-latest-backup-file' is now autoloaded.
8908 2012-09-20 Chong Yidong <cyd@gnu.org>
8910 * vc/diff.el (diff-latest-backup-file): Autoload.
8912 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8914 * calc/calc.el: Remove redundant autoload shape check.
8915 (sel-mode): Don't defvar.
8916 (calc-get-stack-element): Add `sel-mode' arg instead.
8917 (calc-top, calc-top-list): Pass it this additional argument.
8918 * calc/calc-store.el (calc-store-map):
8919 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
8920 (calc-map-equation, calc-outer-product, calc-inner-product):
8921 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
8923 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
8925 2012-09-19 Juri Linkov <juri@jurta.org>
8927 * dired-aux.el (dired-diff): Add (require 'diff) because
8928 `diff-latest-backup-file' is not autoloaded.
8929 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
8930 of `dired-get-filename' to t to not report error when there is
8931 no default file on the current line.
8933 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8935 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
8936 macroexp--eval-if-compile.
8937 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
8938 (macroexp--expand-all): Use them (bug#12371).
8940 * doc-view.el (doc-view-guess-paper-size)
8941 (doc-view-scale-bounding-box): Fix unbound `caddr'.
8943 2012-09-19 Tassilo Horn <tsdh@gnu.org>
8945 New feature: set optimal slice from BoundingBox information.
8946 * doc-view.el (doc-view-mode-map): Add keybinding.
8947 (doc-view-menu): Add menu entry.
8948 (doc-view-set-slice): Adapt docstring.
8949 (doc-view-get-bounding-box, doc-view-guess-paper-size)
8950 (doc-view-scale-bounding-box)
8951 (doc-view-set-slice-from-bounding-box): New functions.
8952 (doc-view-paper-sizes): New defvar.
8954 2012-09-19 Glenn Morris <rgm@gnu.org>
8956 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
8957 (byte-compile-log-warning): Autoload. (Bug#12371)
8959 * calendar/calendar.el (calendar-american-month-header)
8960 (calendar-european-month-header, calendar-iso-month-header)
8961 (calendar-month-header): New options.
8962 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
8963 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
8965 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
8967 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
8969 2012-09-18 Juri Linkov <juri@jurta.org>
8971 * dired-aux.el (dired-diff): Restore original functionality of
8972 getting the default value, but keep new feature of using the
8973 latest existing backup file (`diff-latest-backup-file').
8975 2012-09-18 Juri Linkov <juri@jurta.org>
8977 * dired.el (dired-mark): If the region is active in Transient Mark
8978 mode, mark all files in the active region. Doc fix.
8979 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
8980 Doc fix. (Bug#10624)
8982 2012-09-18 Juri Linkov <juri@jurta.org>
8984 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
8985 attributes for M-n are pulled from the file at point.
8986 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
8987 Suggested by Drew Adams. (Bug#10624)
8989 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
8991 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
8992 whitespace after "end".
8993 (ruby-do-end-to-brace): Collapse block to one line if it fits
8996 2012-09-18 Martin Rudalics <rudalics@gmx.at>
8998 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
9000 (debug): Don't remove debugger window when debugger is expected
9003 2012-09-18 Chong Yidong <cyd@gnu.org>
9005 * custom.el (defface): Doc fix.
9007 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
9009 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
9011 * progmodes/compile.el (compilation-start): Use compilation-always-kill
9012 to initialize query-on-exit; then test that instead (bug#12288).
9014 2012-09-17 Stefan Merten <smerten@oekonux.de>
9016 * textmodes/rst.el: Add support for `testcover'.
9017 (rst-defcustom-testcover, rst-testcover-add-compose)
9018 (rst-testcover-add-1value): New functions.
9019 (rst-portable-mark-active-p): Replace by `use-region-p'.
9020 (rst-update-section, rst-classify-adornment)
9021 (rst-find-title-line): Mark `1value' forms.
9022 (rst-classify-adornment): Remove superfluous form.
9023 (rst-update-section, rst-get-adornments-around)
9024 (rst-adornment-complete-p, rst-get-next-adornment)
9025 (rst-adjust, rst-promote-region)
9026 (rst-display-adornments-hierarchy, rst-straighten-adornments)
9027 (rst-find-pfx-in-region, rst-section-tree-rec)
9028 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
9029 (rst-toc-node, rst-toc, rst-forward-section)
9030 (rst-iterate-leftmost-paragraphs)
9031 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
9032 (rst-bullet-list-region)
9033 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
9034 (rst-compile-find-conf, rst-compile)
9035 (rst-repeat-last-character): Fix style.
9037 2012-09-17 Chong Yidong <cyd@gnu.org>
9039 * comint.el (comint--complete-file-name-data): Don't add a space
9040 if the status is `sole'; that adds a gratuitous space in the
9041 completion-cycling case (Bug#12092).
9043 * pcomplete.el (pcomplete-completions-at-point): Likewise.
9045 2012-09-17 Richard Stallman <rms@gnu.org>
9047 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
9048 only in the mime-shown mode, not in raw mode.
9049 (rmail-mime): Toggle off mime by displaying the message without
9050 mime processing. (Bug#12305)
9052 * mail/rmail.el (rmail-retry-failure):
9053 Turn off mime processing first. (Bug#12037)
9055 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
9057 2012-09-17 Chong Yidong <cyd@gnu.org>
9059 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
9060 (shell-dynamic-complete-functions): Convert to defcustom.
9061 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
9063 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
9064 * comint.el (comint-prompt-read-only):
9065 * custom.el (defcustom):
9066 * hi-lock.el (hi-lock-mode):
9067 * ibuffer.el (ibuffer-formats):
9068 * ielm.el (ielm-prompt-read-only):
9069 * novice.el (disable-command):
9070 * saveplace.el (toggle-save-place):
9071 * speedbar.el (speedbar-supported-extension-expressions):
9072 * startup.el (auto-save-list-file-prefix, init-file-user)
9073 (after-init-hook, inhibit-startup-echo-area-message):
9074 * strokes.el (strokes-help):
9075 * time-stamp.el (time-stamp):
9076 * calendar/calendar.el (calendar, diary-file):
9077 * calendar/diary-lib.el (diary-mail-entries, diary)
9078 (diary-list-entries-hook):
9079 * calendar/holidays.el (holidays, calendar-holidays):
9080 * calendar/lunar.el (lunar-phases):
9081 * calendar/solar.el (sunrise-sunset):
9082 * emulation/edt.el (edt-load-keys):
9083 * emulation/viper.el (viper-mode):
9084 * eshell/em-alias.el (eshell-command-aliases-list):
9085 * eshell/esh-util.el (eshell-convert-numeric-arguments):
9086 * international/ogonek.el (ogonek-information):
9087 * net/tramp-cmds.el (tramp-bug):
9088 * net/quickurl.el (quickurl-reread-hook-postfix):
9089 * play/decipher.el (decipher-font-lock-keywords):
9090 * progmodes/cc-styles.el (c-set-style):
9091 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
9092 * progmodes/inf-lisp.el (inferior-lisp-prompt):
9093 * progmodes/octave-mod.el (octave-mode):
9094 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
9095 * progmodes/verilog-mode.el (verilog-read-defines):
9096 * textmodes/two-column.el (2C-mode): Likewise.
9098 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
9100 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
9101 that holds many addresses.
9103 2012-09-16 Chong Yidong <cyd@gnu.org>
9105 * align.el (align-areas): Call the indication function with
9106 positions instead of markers for arguments (Bug#12343).
9108 * files.el (parse-colon-path): Use split-string (Bug#12351).
9110 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9111 (display-buffer-function): Mark as obsolete.
9113 * progmodes/compile.el (compilation-parse-errors): Accept list
9114 values similar to font-lock-keywords (Bug#12136).
9115 Suggested by Oleksandr Manzyuk.
9116 (compilation-error-regexp-alist): Doc fix.
9118 2012-09-15 Glenn Morris <rgm@gnu.org>
9120 * version.el (emacs-bzr-version-bzr): New function.
9121 (emacs-bzr-get-version): Add optional EXTERNAL argument.
9123 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
9124 checkouts, check the parent dirstate matches the branch.
9125 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
9128 * version.el (emacs-bzr-version): Doc fix.
9129 (emacs-bzr-version-dirstate): New function.
9130 (emacs-bzr-get-version): For lightweight checkouts, if the parent
9131 is local try and check that it matches the branch. If not, just
9132 use dirstate information. (Bug#12441)
9134 2012-09-14 Juri Linkov <juri@jurta.org>
9136 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
9139 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9141 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
9143 * emacs-lisp/edebug.el: Miscellaneous cleanup.
9144 Remove obsolete byte-compiler hack that tried to silence some warnings.
9145 (edebug-submit-bug-report): Remove.
9146 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
9147 Remove aliases, use the un-prefixed name instead.
9148 (edebug-pop-to-buffer): Consider other frames.
9149 (edebug-original-read):: Make it more obvious that it's always defined.
9150 (edebug--make-form-data-entry, edebug--form-data-name)
9151 (edebug--form-data-begin, edebug--form-data-end): Rename from the
9152 single-dashed name, and implement with cl-defstruct.
9153 (edebug-set-form-data-entry): Use the standard accessors.
9154 (edebug-make-top-form-data-entry): Use push.
9155 (edebug-no-match): Drop useless `funcall'.
9156 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
9158 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
9159 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
9160 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
9161 (easy-menu-define, with-custom-print): Remove redundant specs.
9162 (edebug-outside-overriding-local-map)
9163 (edebug-outside-overriding-terminal-local-map): Remove, unused.
9164 (edebug--display): Bind unread-command-events directly to nil rather
9165 than binding it to unread-command-events and later setting it to nil.
9166 (edebug--display): Kill edebug-eval-buffer here...
9167 (edebug--recursive-edit): ...rather than here.
9168 Bind standard-output and standard-input.
9169 (edebug-eval): Check cl-macroexpand-all is fboundp.
9170 (edebug-temp-display-freq-count): Fix last change.
9172 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
9173 * subr.el (noreturn, 1value): Add `debug' spec.
9174 * emacs-lisp/advice.el: Require cl-lib.
9175 (ad-copy-tree): Remove, use copy-tree instead.
9176 (ad-dolist): Remove use dolist or cl-dolist instead.
9177 (ad-do-return): Remove, use cl-return instead.
9178 (defadvice): Add `debug' spec.
9180 2012-09-13 Juri Linkov <juri@jurta.org>
9182 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
9185 2012-09-13 Glenn Morris <rgm@gnu.org>
9187 * calc/calc.el (math-compose-expr):
9188 * calc/calc-ext.el (math-compose-expr):
9189 * progmodes/cc-defs.el (cl-macroexpand-all):
9190 * progmodes/cc-langs.el (delete-duplicates, mapcan)
9191 (cl-macroexpand-all): Update declarations.
9193 * vc/vc.el: No need to require ediff.
9194 (ediff-load-version-control): Declare.
9195 (ediff-vc-internal): Fix declaration.
9196 (vc-version-ediff): Require ediff.
9198 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9200 Use a more backwards-compatible timer format (Bug#12430).
9201 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
9202 being right after USECS, as that better supports old code that
9203 inadvisedly looked directly at the timer vector.
9205 2012-09-13 Kenichi Handa <handa@gnu.org>
9207 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
9208 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
9209 `coding-priority' property of these language environment.
9211 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9213 Fix glitches caused by addition of psec to timers (Bug#12430).
9214 * image.el (image-animate-timer):
9215 * time.el (display-time-world-timer):
9216 Use timer--function and timer--args rather than raw access to
9219 2012-09-13 Glenn Morris <rgm@gnu.org>
9221 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
9222 If not compiling a file, try using load-file-name.
9224 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9226 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
9228 (edebug-update-eval-list): Use `push'.
9230 * emacs-lisp/edebug.el: Use lexical-binding.
9231 Remove the "edebug-" prefix from non-dynamically-scoped variables.
9232 Mark unused args with underscore.
9233 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
9234 (edebug-form-data): Use defvar-local.
9235 (edebug-make-before-and-after-form, edebug-make-after-form):
9237 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
9238 Not dynamically scoped any more.
9239 (edebug--enter-trace): Add arguments `function' and `args'.
9240 Rename from edebug-enter-trace.
9241 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
9242 (edebug--update-coverage): Add `after-index' and `value' args.
9243 Rename from edebug-update-coverage.
9244 (edebug-slow-after): Call it accordingly.
9245 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
9246 edebug-recursive-edit.
9247 (edebug--display): Call it accordingly. Add args `value',
9248 `offset-index', and `arg-mode'. Rename from edebug-display.
9249 (edebug-debugger, edebug): Call it accordingly.
9250 (edebug-eval-display-list): Use dolist.
9252 2012-09-12 Juri Linkov <juri@jurta.org>
9254 * info.el (Info-search): Don't check for isearch-mode and
9255 isearch-regexp before let-binding search-spaces-regexp to
9256 Info-search-whitespace-regexp.
9257 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
9258 search-whitespace-regexp if isearch-lax-whitespace or
9259 isearch-regexp-lax-whitespace is non-nil.
9260 (Info-mode): Don't set local variable search-whitespace-regexp.
9261 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
9263 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9265 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
9266 (debugger-env-macro): Remove support for unread-command-char.
9268 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
9269 the temporary map re-appearing on emulation-mode-map-alists.
9271 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
9274 * ehelp.el (with-electric-help): Accept functions in
9275 electric-help-form-to-execute.
9276 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
9277 And replace unread-command-char -> unread-command-events.
9279 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
9281 Sync with Tramp 2.2.6.
9283 * net/tramp.el (tramp-accept-process-output): Don't use
9284 JUST-THIS-ONE in the XEmacs case.
9286 * net/trampver.el: Update release number.
9288 2012-09-12 Martin Rudalics <rudalics@gmx.at>
9290 * emacs-lisp/debug.el (debugger-previous-window-height):
9292 (debug): When debugger-jumping-flag is non-nil try to restore
9293 height of debugger window. (Bug#8789)
9295 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9297 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
9298 overriding-local-map and pre/post-command-hook here.
9299 (edebug-recursive-edit): Do it here instead (bug#12345).
9300 (edebug-outside-unread-command-char): Remove all uses of
9301 unread-command-char.
9303 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
9304 inhibit-debugger is bound instead.
9306 2012-09-11 Bastien Guerry <bzg@gnu.org>
9308 * subr.el (set-temporary-overlay-map): Add a docstring.
9311 2012-09-11 Bastien Guerry <bzg@gnu.org>
9313 * minibuffer.el (completion-table-subvert): Fix docstring.
9316 2012-09-11 Bastien Guerry <bzg@gnu.org>
9318 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
9320 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
9322 * progmodes/sql.el: Version 3.1
9323 (sql-db2-escape-newlines): New variable.
9324 (sql-escape-newlines-filter): Use it.
9326 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
9328 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
9330 2012-09-10 Dan Nicolaescu <dann@gnu.org>
9332 * vc/diff-mode.el (diff-mode-menu):
9333 Bind diff-remove-trailing-whitespace.
9335 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9337 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
9338 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
9339 (emacs-lisp-byte-code-mode): New functions.
9340 (eval-sexp-add-defvars): Don't skip defvars in column >0.
9341 (eval-defun-2): Remove bogus interactive spec.
9342 (lisp-indent-line): Remove redundant whole-exp code, now done in
9343 indent-according-to-mode.
9344 (save-match-data): Remove redundant indent data.
9346 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
9349 2012-09-09 Juri Linkov <juri@jurta.org>
9351 * replace.el (replace-regexp-lax-whitespace): New defcustom.
9352 (replace-lax-whitespace, query-replace-regexp)
9353 (query-replace-regexp-eval, replace-regexp): Doc fix.
9354 (perform-replace, replace-highlight): Let-bind
9355 isearch-lax-whitespace to replace-lax-whitespace and
9356 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
9358 * isearch.el (isearch-query-replace): Let-bind
9359 replace-lax-whitespace to isearch-lax-whitespace and
9360 replace-regexp-lax-whitespace to
9361 isearch-regexp-lax-whitespace. (Bug#10885)
9363 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
9365 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
9367 2012-09-09 Alan Mackenzie <acm@muc.de>
9369 * progmodes/cc-engine.el (c-state-cache-init):
9370 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
9371 (c-record-parse-state-state):
9372 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
9374 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
9376 * register.el (register-separator): Rename from
9377 separator-register. All uses changed. Doc fix.
9378 (register): Fix version.
9380 2012-09-09 Chong Yidong <cyd@gnu.org>
9382 * replace.el (query-replace-map): Bind four new symbols for
9383 requesting window scrolling.
9385 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
9386 query-replace-map (Bug#8948).
9388 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
9390 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
9391 since they are now in query-replace-map.
9393 * window.el (scroll-other-window-down): Make the arg optional.
9395 2012-09-09 Chong Yidong <cyd@gnu.org>
9397 * files.el (hack-local-variables-confirm): Use quit-window to kill
9398 the *Local Variables* buffer.
9400 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9402 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
9403 not just expect to be at its beginning. Adjust callees.
9404 Succeed when do-end block has no space before the pipe character.
9405 (ruby-brace-to-do-end): When the original block is one-liner,
9406 convert to multiline. Reindent the result.
9408 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
9410 * register.el (register): New group.
9411 (separator-register): New user option.
9412 (increment-register): Route it to `append-to-register', if
9413 register contains text. Implication is that `C-x r +' can now be
9414 used for appending to a text register (bug#12217).
9415 (append-to-register, prepend-to-register): Add separator based on
9416 `separator-register'.
9418 2012-09-08 Alan Mackenzie <acm@muc.de>
9420 AWK Mode: make auto-newline work when there's "==" in the pattern.
9421 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
9423 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
9424 Test more rigorously for "=" token.
9426 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9428 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
9429 Only fail when reached LIMIT.
9431 2012-09-08 Chong Yidong <cyd@gnu.org>
9433 * dired.el (dired-mode-map): Don't bind M-=.
9435 * dired-aux.el (dired-diff): Use backup file as default.
9437 2012-09-08 Drew Adams <drew.adams@oracle.com>
9439 * subr.el (add-to-history): Fix delete usage (Bug#12314).
9441 2012-09-08 Chong Yidong <cyd@gnu.org>
9443 * subr.el (syntax-after, syntax-class): Doc fix.
9445 2012-09-08 Martin Rudalics <rudalics@gmx.at>
9447 * window.el (display-buffer-in-previous-window): New buffer
9448 display action function.
9450 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
9451 (debugger-previous-window): New variable.
9452 (debug): Rewrite using display-buffer-in-previous-window,
9453 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
9455 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9457 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
9459 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
9461 * progmodes/python.el (python-shell-send-string):
9462 When default-directory is remote, create temp file on remote
9464 (python-shell-send-file): When file is remote, pass local view of
9465 file paths to remote Python interpreter. (Bug#12340)
9467 2012-09-07 Chong Yidong <cyd@gnu.org>
9469 * window.el (switch-to-buffer): Doc fix (Bug#12181).
9471 * files.el (after-find-file): Don't fail on a read-only buffer if
9472 require-final-newline is `visit' or `visit-save' (Bug#11156).
9474 * subr.el (read-char-choice): Allow quitting via ESC ESC.
9476 * userlock.el (ask-user-about-supersession-threat):
9477 Use read-char-choice (Bug#12093).
9479 2012-09-07 Chong Yidong <cyd@gnu.org>
9481 * subr.el (buffer-narrowed-p): New function.
9483 * ses.el (ses-widen):
9484 * simple.el (count-words--buffer-message):
9485 * net/browse-url.el (browse-url-of-buffer): Use it.
9487 * simple.el (count-words-region): Don't signal an error if there
9488 is a non-nil prefix arg and the mark is not set.
9490 * help.el (describe-key-briefly): Allow the message to be seen
9491 when invoked from the minibuffer (Bug#7014).
9493 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9495 * progmodes/ruby-mode.el (ruby-end-of-defun)
9496 (ruby-beginning-of-defun): Simplify, allow indentation before
9497 block beginning and end keywords.
9498 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
9499 (ruby-end-of-defun): Expect that the point is at the beginning of
9502 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9504 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
9506 (cl--make-usage-args): Strip _ from argument names.
9508 2012-09-06 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
9510 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
9511 obsolete alias speedbar-key-map.
9512 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
9513 (vhdl-index-menu-init): Don't use obsolete variable
9514 font-lock-maximum-size.
9516 2012-09-06 Chong Yidong <cyd@gnu.org>
9518 * frame.el (window-system-version): Mark as obsolete.
9520 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
9521 of obsolete variable speedbar-key-map.
9523 2012-09-06 Juri Linkov <juri@jurta.org>
9525 * replace.el (replace-lax-whitespace): New defcustom.
9526 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9527 (replace-string, replace-regexp): Mention it in docstrings.
9528 (perform-replace, replace-highlight): Let-bind
9529 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
9530 to the values of replace-lax-whitespace and regexp-flag.
9531 Don't let-bind search-whitespace-regexp. (Bug#10885)
9533 * isearch.el (isearch-query-replace): Let-bind
9534 replace-lax-whitespace instead of let-binding
9535 replace-search-function and replace-re-search-function.
9536 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
9537 and isearch-regexp-lax-whitespace to lazy-highlight variables.
9538 (isearch-toggle-symbol): Set isearch-regexp to nil
9539 in isearch-word mode (like in isearch-toggle-word).
9541 2012-09-06 Juri Linkov <juri@jurta.org>
9543 * replace.el (replace-search-function)
9544 (replace-re-search-function): Set default values to nil.
9545 (perform-replace): Let-bind isearch-related variables based on
9546 replace-related values, call `isearch-search-fun' and let-bind
9547 the result to `search-function'. Remove code that sets
9548 `search-function' and `search-string' separately for
9550 (replace-highlight): Add new argument `delimited-flag' and
9551 rename other arguments to the names used in `perform-replace'.
9552 Let-bind `isearch-word' to the argument `delimited-flag'.
9553 (Bug#10885, bug#10887)
9555 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9557 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
9558 ruby-beginning-of-indent, simplify, allow all keywords to have
9559 indentation before them.
9560 (ruby-beginning-of-indent): Adjust for above. Search until the
9561 found point is not inside a string or comment.
9562 (ruby-font-lock-keywords): Allow symbols to start with "@"
9563 character, give them higher priority than variables.
9564 (ruby-syntax-propertize-function)
9565 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
9566 matchers. Expression expansions are not comments when inside a
9567 string, and there comment syntax status is irrelevant.
9568 (ruby-match-expression-expansion): New function. Check that
9569 expression expansion is inside a string, and it's not escaped.
9570 (ruby-font-lock-keywords): Use it.
9572 2012-09-05 Martin Rudalics <rudalics@gmx.at>
9574 * help.el (temp-buffer-max-height): New default value.
9575 (temp-buffer-resize-frames): New option.
9576 (resize-temp-buffer-window): Optionally resize frame.
9578 * window.el (fit-frame-to-buffer-bottom-margin): New option.
9579 (fit-frame-to-buffer): New function.
9581 2012-09-05 Glenn Morris <rgm@gnu.org>
9583 * emulation/cua-rect.el (cua--init-rectangles):
9584 * textmodes/picture.el (picture-mode-map):
9585 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
9586 like forward-char and backward-char. (Bug#12317)
9588 2012-09-05 Leo Liu <sdl.web@gmail.com>
9590 * progmodes/flymake.el (flymake-warning-re): New variable.
9591 (flymake-parse-line): Use it.
9593 2012-09-05 Glenn Morris <rgm@gnu.org>
9595 * calendar/holidays.el (holiday-christian-holidays):
9596 Rename an entry. (Bug#12289)
9598 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9600 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
9603 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9605 * loadup.el: Load macroexp. Remove hack.
9606 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
9607 (macroexp--expand-all): Use it to get better warnings.
9608 (macroexp--backtrace, macroexp--trim-backtrace-frame)
9609 (internal-macroexpand-for-load): New functions.
9610 (macroexp--pending-eager-loads): New var.
9611 (emacs-startup-hook): New hack to replace one in loadup.el.
9612 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
9613 (cl--compiler-macro-cXXr): Move to top, before they can be used.
9614 (cl-psetf): Simplify.
9615 (cl-defstruct): Add indent rule.
9617 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
9619 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
9620 over `user-mail-address' for the SMTP MAIL FROM envelope.
9621 (smtpmail-via-smtp): Ditto.
9623 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
9625 * progmodes/ruby-mode.el: Clean up keybindings.
9626 (ruby-mode-map): Don't bind ruby-electric-brace,
9627 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
9628 backward-kill-word, reindent-then-newline-and-indent.
9629 (ruby-mark-defun): Remove.
9630 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
9631 (ruby-mode): Set local beginning-of-defun-function and
9632 end-of-defun-function values.
9634 2012-09-03 Martin Rudalics <rudalics@gmx.at>
9636 * window.el (temp-buffer-window-setup-hook)
9637 (temp-buffer-window-show-hook): New hooks.
9638 (temp-buffer-window-setup, temp-buffer-window-show)
9639 (with-temp-buffer-window): New functions.
9640 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
9641 (special-display-popup-frame): Make sure the window used shows BUFFER.
9643 * help.el (temp-buffer-resize-mode): Fix doc-string.
9644 (resize-temp-buffer-window): New optional argument WINDOW.
9646 * files.el (recover-file, save-buffers-kill-emacs):
9647 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
9649 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
9651 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
9652 remote definition of `default-directory', ensure we can connect.
9654 2012-09-02 Juri Linkov <juri@jurta.org>
9656 Toggle whitespace matching mode with M-s SPC.
9657 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
9659 * isearch.el (search-whitespace-regexp): Doc fix.
9660 Remove cons cell customization.
9661 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
9662 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
9664 (isearch-forward, isearch-forward-regexp): Doc fix.
9665 (isearch-toggle-lax-whitespace): New command.
9666 (search-forward-lax-whitespace, search-backward-lax-whitespace)
9667 (re-search-forward-lax-whitespace)
9668 (re-search-backward-lax-whitespace): New functions.
9669 (isearch-whitespace-regexp): Remove function.
9670 (isearch-query-replace): Let-bind replace-search-function and
9671 replace-re-search-function.
9672 (isearch-occur): Let-bind search-spaces-regexp according to the
9673 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
9674 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
9675 condition for C-q SPC.
9676 (isearch-search-fun-default): Use new functions mentioned above.
9677 (isearch-search-forward, isearch-search-backward): Remove functions.
9678 (isearch-search): Don't let-bind search-spaces-regexp.
9679 (isearch-lazy-highlight-space-regexp): Remove variable.
9680 (isearch-lazy-highlight-lax-whitespace)
9681 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
9682 (isearch-lazy-highlight-new-loop): Use them.
9683 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
9685 2012-09-02 Chong Yidong <cyd@gnu.org>
9687 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
9689 2012-09-02 Glenn Morris <rgm@gnu.org>
9691 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
9693 2012-09-01 Glenn Morris <rgm@gnu.org>
9695 * term.el: Tidy up menu definitions.
9696 (term-mode-map): Use easymenu for In/Out, Complete menus.
9697 (term-pager-break-map): Initialize in the defvar.
9698 (term-terminal-menu, term-signals-menu): Define with easymenu.
9699 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
9700 (term-pager-menu): New, extracted from term-process-pager.
9701 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
9702 (term-update-mode-line): Propertize line/char and page items.
9703 (term-process-pager): Move keymap initialization elsewhere.
9705 2012-09-01 Martin Rudalics <rudalics@gmx.at>
9707 * window.el (switch-to-prev-buffer): Handle additional values of
9708 BURY-OR-KILL argument. Don't switch in minibuffer window.
9709 (switch-to-next-buffer): Don't switch in minibuffer window.
9710 (quit-restore-window): New function based on quit-window.
9711 Handle additional values of former KILL argument.
9712 (quit-window): Call quit-restore-window with appropriate
9713 interpretation of KILL argument.
9714 (display-buffer-below-selected): New buffer display action
9717 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
9719 * minibuffer.el (completion-at-point-functions): Complete docstring
9722 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
9724 Better seed support for (random).
9725 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
9726 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
9727 * play/mpuz.el, play/tetris.el, play/zone.el:
9728 * calc/calc-comb.el (math-init-random-base):
9729 * play/blackbox.el (bb-init-board):
9730 * play/life.el (life):
9731 * server.el (server-use-tcp):
9732 * type-break.el (type-break):
9733 Remove unnecessary call to (random t).
9734 * net/sasl.el (sasl-unique-id-function):
9735 Change (random t) to (random), now that the latter is more random.
9736 * play/life.el (life-initialized): Remove no-longer-needed var.
9738 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
9740 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9741 Consider frame's buffer predicate when choosing the buffer.
9744 2012-08-30 Richard Stallman <rms@gnu.org>
9746 * simple.el (special-mode-map): Delete binding for `z'.
9748 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
9750 * progmodes/compile.el (compilation-always-kill): Doc fix.
9752 2012-08-30 Chong Yidong <cyd@gnu.org>
9754 * window.el (display-buffer-reuse-frames): Make the obsolescence
9755 message more informative.
9757 2012-08-30 Glenn Morris <rgm@gnu.org>
9759 * paren.el (show-paren-delay):
9760 Add a :set function. Doc fix. (Bug#12297)
9762 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
9764 * progmodes/compile.el (compilation-always-kill): New var.
9765 (compilation-start): Use it.
9767 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9769 * simple.el (read-only-mode): Move from files.el for bootstrapping.
9770 * files.el (read-only-mode): Move to simple.el.
9772 * files.el (read-only-mode): New minor mode.
9773 (toggle-read-only): Use it and mark obsolete.
9774 (find-file--read-only):
9775 * vc/vc.el (vc-next-action, vc-checkout):
9776 * vc/vc-cvs.el (vc-cvs-checkout):
9777 * obsolete/vc-mcvs.el (vc-mcvs-update):
9778 * ffap.el (ffap--toggle-read-only): Update callers.
9780 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
9782 * eshell/esh-ext.el (eshell-external-command): Do not examine
9783 remote shell scripts.
9784 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
9786 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
9789 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9791 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
9793 2012-08-28 Leo Liu <sdl.web@gmail.com>
9795 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
9796 completion-at-point. (Bug#12220)
9798 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
9800 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
9802 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9804 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
9805 be buffer-local; add delete-trailing-whitespace (bug#12259).
9807 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
9809 * progmodes/hideif.el (hif-compress-define-list):
9810 Fix typo. (Bug#11951)
9812 2012-08-28 Dan Nicolaescu <dann@gnu.org>
9814 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
9815 buffer local setting.
9817 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
9818 rcirc-encode-coding-system.
9820 2012-08-28 Leo Liu <sdl.web@gmail.com>
9822 * net/rcirc.el (rcirc-split-message): New function.
9823 (rcirc-send-message): Use it. (Bug#12051)
9825 2012-08-28 Juri Linkov <juri@jurta.org>
9827 * info.el (Info-fontify-node): Hide empty lines at the end of
9828 the node. (Bug#12272)
9830 2012-08-27 Drew Adams <drew.adams@oracle.com>
9832 * dired.el (dired-pop-to-buffer): Make window start at beginning
9833 of buffer (Bug#12281).
9835 2012-08-26 Chong Yidong <cyd@gnu.org>
9837 * window.el (special-display-regexps, special-display-frame-alist)
9838 (special-display-buffer-names, special-display-function)
9839 (display-buffer-reuse-frames): Mark as obsolete.
9841 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
9843 * help.el (help-print-return-message): Don't treat
9844 display-buffer-reuse-frames specially.
9846 2012-08-26 Chong Yidong <cyd@gnu.org>
9848 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
9849 New variable, replacing gdb-frame-parameters.
9850 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
9851 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
9852 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
9853 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
9854 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
9855 the functions directly with gdb-display-buffer-other-frame-action.
9856 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
9857 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
9858 (gdb-display-stack-buffer, gdb-display-locals-buffer)
9859 (gdb-display-registers-buffer): Define directly.
9860 (def-gdb-display-buffer): Macro deleted.
9861 (gdb-display-buffer): Remove second and third args, callers don't
9862 use them. Defer to the default display-buffer behavior, apart
9863 from making windows dedicated.
9864 (gdb-setup-windows): Don't call display-buffer unnecessarily.
9866 * progmodes/gud.el (gud-display-line): Just use display-buffer.
9868 * window.el (display-buffer-pop-up-frame): Handle a
9869 pop-up-frame-parameters alist entry.
9870 (display-buffer): Document it.
9872 2012-08-26 Chong Yidong <cyd@gnu.org>
9874 * isearch.el (search-whitespace-regexp): Make string and nil
9875 values apply to both ordinary and regexp search. Allow a cons
9876 cell value to distinguish between the two.
9877 (isearch-whitespace-regexp, isearch-search-forward)
9878 (isearch-search-backward): New functions.
9879 (isearch-occur, isearch-search-fun-default, isearch-search)
9880 (isearch-lazy-highlight-new-loop): Use them.
9881 (isearch-forward, isearch-forward-regexp): Doc fix.
9883 2012-08-26 Chong Yidong <cyd@gnu.org>
9885 * faces.el (help-argument-name): Always inherit from italic
9888 2012-08-25 Martin Rudalics <rudalics@gmx.at>
9890 * window.el (window--even-window-heights): Even heights when
9891 WINDOW and the selected window form a vertical combination.
9892 (display-buffer-use-some-window): Provide that window used gets
9893 sized back by quit-window. (Bug#11880) and (Bug#12091)
9895 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
9897 Fix file time stamp problem with bzr and CVS (Bug#12001).
9898 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
9899 in the file's time stamp, since the version control system loses
9902 2012-08-22 Juri Linkov <juri@jurta.org>
9904 * info.el (Info-fontify-node): Hide the suffix of the
9905 Info file name in the header line. (Bug#12187)
9907 2012-08-22 Glenn Morris <rgm@gnu.org>
9909 * calendar/cal-tex.el (cal-tex-weekly-common):
9910 Restore leading blank page.
9912 2012-08-22 Le Wang <l26wang@gmail.com>
9914 * misc.el (forward-to-word, backward-to-word): Activate or extend
9915 the region under `shift-select-mode'. (Bug#12231)
9917 2012-08-22 Bastien Guerry <bzg@gnu.org>
9919 * progmodes/executable.el (executable-prefix): Set to "#!" instead
9920 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
9921 gives details on why the space is never needed.
9923 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9925 * window.el (walk-window-tree, window-with-parameter):
9926 New optional argument MINIBUF to control whether these functions
9927 should run on the minibuffer window.
9928 (window-at-side-list): Don't operate on minibuffer window.
9929 (window-in-direction): Simplify and rewrite doc-string.
9930 (window--size-ignore): Rename to window--size-ignore-p.
9932 (display-buffer-in-atom-window, window--major-non-side-window)
9933 (window--major-side-window, display-buffer-in-major-side-window)
9934 (delete-side-window, display-buffer-in-side-window):
9936 (window--side-check, window-deletable-p, delete-window)
9937 (delete-other-windows, split-window): Handle side windows and
9938 atomic windows appropriately.
9939 (window--display-buffer): Call display-buffer-record-window also
9940 when the window buffer did not change.
9942 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
9944 * help-fns.el (help-fns--key-bindings):
9945 Abbreviate non-symbol remap targets. (Bug#12174)
9947 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9949 * dired.el (dired-mark-remembered): Don't clobber point.
9952 2012-08-22 Glenn Morris <rgm@gnu.org>
9954 * progmodes/bug-reference.el (bug-reference): New custom group.
9955 (bug-reference-bug-regexp): Make it a defcustom.
9957 2012-08-22 Daiki Ueno <ueno@unixuser.org>
9959 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
9960 (js-paren-indent-offset, js-square-indent-offset)
9961 (js-curly-indent-offset): Add :safe (Bug#12257).
9963 2012-08-22 Edward O'Connor <hober0@gmail.com>
9965 * json.el (json-key-format): Add error properties.
9966 (json-encode-key): New function.
9967 (json-encode-hash-table, json-encode-alist, json-encode-plist):
9968 Use json-encode-key.
9970 2012-08-22 Glenn Morris <rgm@gnu.org>
9972 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
9973 (cal-tex-leftday, cal-tex-rightday): Remove functions.
9974 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
9975 Update for above change.
9977 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
9979 * cus-face.el (custom-face-attributes): Fix customize type for the
9980 :underline attribute. (Bug#11805)
9982 2012-08-21 Martin Rudalics <rudalics@gmx.at>
9984 * window.el (window-point-1, set-window-point-1): Remove.
9985 (window-in-direction, record-window-buffer)
9986 (set-window-buffer-start-and-point, split-window-below)
9987 (window--state-get-1, display-buffer-record-window):
9988 Replace calls to window-point-1 and set-window-point-1 by calls to
9989 window-point and set-window-point respectively.
9991 2012-08-21 Glenn Morris <rgm@gnu.org>
9993 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
9994 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
9997 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
9998 (cal-tex-shortday): New function.
9999 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
10000 (cal-tex-cursor-filofax-daily): Use the above.
10002 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
10004 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10005 (cal-tex-cursor-filofax-week): Use them.
10007 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
10009 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10010 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
10012 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
10013 (cal-tex-end-document): Don't rely on buffer name.
10015 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
10016 Use cal-tex-vspace.
10017 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
10018 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
10019 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
10022 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
10023 (cal-tex-cursor-week, cal-tex-cursor-week2)
10024 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
10025 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10026 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
10027 (cal-tex-insert-preamble, cal-tex-b-document)
10028 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
10029 Improve cal-tex-cmd usage.
10031 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
10032 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
10033 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
10034 (cal-tex-weekly-paper): New function.
10035 (cal-tex-cursor-week, cal-tex-cursor-week2)
10036 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
10037 (cal-tex-cursor-day): Use it.
10039 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
10040 (cal-tex-cursor-filofax-week): Remove leading blank page.
10042 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10043 Add autoload cookie. For now at least, don't use color, since
10044 no other cal-tex function does.
10046 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
10047 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10048 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
10050 2012-08-21 Juri Linkov <juri@jurta.org>
10052 * info.el (Info-file-attributes): New variable.
10053 (info-insert-file-contents): Add file attributes to
10054 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
10055 `Info-toc-nodes' when previous modtime of the Info file is less
10057 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
10058 of info.el. (Bug#12230)
10060 2012-08-20 Glenn Morris <rgm@gnu.org>
10062 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
10063 * calendar/holidays.el (calendar-holiday-list):
10064 Report errors with display-warning rather than beep'n'sleep.
10066 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
10068 * net/tramp.el (tramp-accept-process-output): Accept only output
10069 from PROC. Otherwise, process filters and sentinels might be
10070 confused. (Bug#12145)
10072 2012-08-20 Chong Yidong <cyd@gnu.org>
10074 * descr-text.el (describe-text-properties-1): Use overlays-in to
10075 report on empty overlays (Bug#3322).
10077 2012-08-20 Glenn Morris <rgm@gnu.org>
10079 * mail/rmailout.el (rmail-output-read-file-name):
10080 Trap and report errors in rmail-output-file-alist elements.
10082 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
10083 since most non-font-lock faces are not also variables).
10085 2012-08-20 Edward Reingold <reingold@iit.edu>
10087 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10088 New function. (Bug12160)
10090 2012-08-19 Glenn Morris <rgm@gnu.org>
10092 * mail/rmailout.el (rmail-output-read-file-name):
10093 Fix previous change (when the alist is nil or does not match).
10095 2012-08-19 Chong Yidong <cyd@gnu.org>
10097 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
10100 2012-08-18 Chong Yidong <cyd@gnu.org>
10102 * simple.el (yank-handled-properties): New defcustom.
10103 (yank-excluded-properties): Add font-lock-face and category.
10106 * subr.el (remove-yank-excluded-properties):
10107 Obey yank-handled-properties. The special handling of font-lock-face
10108 and category is now done this way, instead of being hard-coded.
10109 (insert-for-yank-1): Remove font-lock-face handling.
10110 (yank-handle-font-lock-face-property)
10111 (yank-handle-category-property): New function.
10113 2012-08-17 Glenn Morris <rgm@gnu.org>
10115 * mail/rmailout.el (rmail-output-read-file-name):
10116 Check rmail-output-file-alist against the full message body
10117 in the correct rmail buffer. (Bug#12214)
10119 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
10121 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
10122 Eliminate superfluous prompt. (Bug#12203)
10124 2012-08-17 Chong Yidong <cyd@gnu.org>
10126 * mouse.el (mouse-appearance-menu): If x-select-font returns a
10127 font spec, set the font directly (Bug#3228).
10129 2012-08-17 Martin Rudalics <rudalics@gmx.at>
10131 * window.el (delete-window): Fix last fix.
10133 2012-08-16 Martin Rudalics <rudalics@gmx.at>
10135 * window.el (window-valid-p): Move to window.c.
10136 (window-child, window-child-count, window-last-child)
10137 (window-normalize-window, window-combined-p)
10138 (window-combinations, window-atom-root, window-min-size)
10139 (window-sizable, window-sizable-p, window-size-fixed-p)
10140 (window-min-delta, window-max-delta, window--resizable)
10141 (window--resizable-p, window-resizable, window-total-size)
10142 (window-full-height-p, window-full-width-p, window-body-size)
10143 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
10144 (minimize-window, window-deletable-p, delete-window)
10145 (delete-other-windows, set-window-buffer-start-and-point)
10146 (next-buffer, previous-buffer, split-window, balance-windows-2)
10147 (set-window-text-height, window-buffer-height)
10148 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
10149 (truncated-partial-width-window-p): Minor code adjustments.
10150 In doc-strings state whether the argument window has to denote a
10151 live, valid or any window.
10153 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
10155 * progmodes/subword.el (subword-forward-function)
10156 (subword-backward-function, subword-forward-regexp)
10157 (subword-backward-regexp): New variables.
10158 (subword-forward, subword-forward-internal, subword-backward-internal):
10159 Use new variables, eg so that different "word" definitions
10160 can be easily used. (Bug#11411)
10162 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10164 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
10165 for composite selectors.
10166 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
10167 operation just because we can't find a previous revision.
10169 2012-08-15 Chong Yidong <cyd@gnu.org>
10171 * frame.el (set-frame-font): Accept font objects.
10173 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10175 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
10177 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
10179 * man.el (Man-overstrike-face, Man-underline-face)
10180 (Man-reverse-face): Remove variables.
10181 (Man-overstrike, Man-underline, Man-reverse): New faces.
10182 (Man-fontify-manpage): Use them instead of the variables.
10183 (Man-cleanup-manpage): Comment change.
10184 (Man-ansi-color-map): New variable.
10185 (Man-fontify-manpage): Use it.
10186 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
10188 Implement ANSI SGR parameters 22-27 (bug#12146).
10189 * ansi-color.el (ansi-colors): Doc fix.
10190 (ansi-color-context, ansi-color-context-region): Doc fix.
10191 (ansi-color--find-face): New function.
10192 (ansi-color-apply, ansi-color-apply-on-region): Use it.
10193 Rename the local variable `face' to `codes' since it is now a list of
10194 ansi codes. Doc fix.
10195 (ansi-color-get-face): Remove.
10196 (ansi-color-parse-sequence): New function, derived from
10197 ansi-color-get-face.
10198 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
10201 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
10203 * subr.el (read-passwd): Allow use from a minibuffer.
10205 2012-08-14 Eli Zaretskii <eliz@gnu.org>
10207 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
10208 inside comments and strings as identifiers.
10210 * progmodes/gud.el (gud-tooltip-print-command): Quote the
10211 expression to evaluate. This allows to evaluate expressions with
10212 embedded whitespace.
10213 (gud-tooltip-tips): Add a blank before the newline in the
10214 message-box text, for the benefit of message-box emulation on
10217 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
10218 messages from GDB, pop them up in a tooltip to give feedback to
10220 (gdb-tooltip-print-1): Quote the expression to evaluate.
10221 This allows to evaluate expressions with embedded whitespace.
10222 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
10223 if the TTY name is nil or empty (which happens when communicating
10224 with the inferior via pipes, e.g. on MS-Windows).
10225 (gdb-internals): If GDB sends a "&\n" empty debugging message,
10226 don't send that to the GUD buffer.
10228 2012-08-14 Glenn Morris <rgm@gnu.org>
10230 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
10231 Optimize away setq-default with no args, as for setq. (Bug#12195)
10233 2012-08-14 Chong Yidong <cyd@gnu.org>
10235 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
10237 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
10240 2012-08-14 Glenn Morris <rgm@gnu.org>
10242 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
10244 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
10246 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
10247 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10248 Use cached shell name.
10250 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10252 * progmodes/python.el (python-shell-send-string):
10253 (python-shell-send-setup-code): Do not use `format' with `message'.
10255 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
10257 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
10258 (ruby-percent-literal-beg-re): New constant.
10259 (ruby-syntax-general-delimiters-goto-beg): Rename to
10260 `ruby-syntax-enclosing-percent-literal', improve literal type check.
10261 (ruby-syntax-propertize-general-delimiters): Rename to
10262 `ruby-syntax-propertize-percent-literal', it's a shorter and more
10263 popular term. Adjust comments everywhere.
10264 (ruby-syntax-propertize-percent-literal): Only propertize when not
10265 inside a simple string or comment. When the literal is unclosed,
10266 leave the text after it unpropertized.
10267 (ruby-syntax-methods-before-regexp): New constant.
10268 (ruby-syntax-propertize-function): Use it to recognize regexps.
10269 Don't look at the text after regexp, just use the whitelist.
10271 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
10273 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
10274 non-nil always load the compiled file if it exists. (Bug#12197)
10276 2012-08-14 Chong Yidong <cyd@gnu.org>
10278 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
10279 (hi-lock-set-pattern): When deciding whether to use font lock or
10280 overlays, look at font-lock-mode instead of font-lock-fontified
10282 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
10283 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
10285 2012-08-14 Daiki Ueno <ueno@unixuser.org>
10287 * subr.el (internal--after-with-selected-window): Fix typo
10290 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10292 Use `completion-table-dynamic' for completion functions.
10293 * progmodes/python.el
10294 (python-shell-completion--do-completion-at-point)
10295 (python-shell-completion--get-completions):
10297 (python-shell-completion-complete-at-point): New function.
10298 (python-completion-complete-at-point): Use it.
10300 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
10302 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
10303 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
10305 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10307 * subr.el (function-get): Refine `autoload' arg so it can also
10308 autoload functions for gv.el (bug#12191).
10309 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
10312 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
10313 Prefer pcase-let over destructuring-bind.
10314 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
10315 Also, remove whitespace as we go, rather than after accumulating the
10318 * subr.el (internal--before-with-selected-window)
10319 (internal--after-with-selected-window): Fix typo seleted->selected.
10320 (with-selected-window): Adjust callers.
10321 Reported by Dmitry Gutov <dgutov@yandex.ru>.
10323 2012-08-13 Bastien Guerry <bzg@gnu.org>
10325 * window.el (special-display-popup-frame): Minor docstring
10326 enhancement. (Bug#12172)
10328 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
10330 * tar-mode.el (tar-header-data-end): Only ignore size for files of
10332 (tar-header-block-summarize, tar-get-descriptor): Handle pax
10335 * files.el (hack-local-variables-filter): Remove useless eval.
10337 2012-08-13 Martin Rudalics <rudalics@gmx.at>
10339 * subr.el (with-selected-window): Fix last change.
10341 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10343 * subr.el (internal--before-with-seleted-window)
10344 (internal--after-with-seleted-window): New functions.
10345 (with-selected-window): Use them, to replace dependency on
10348 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
10350 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
10351 binding for `newline'.
10352 (ruby-move-to-block): When moving backward, stop at block opening,
10354 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
10355 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
10356 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
10357 `ruby-toggle-block'.
10359 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10361 * ibuffer.el (ibuffer-do-toggle-read-only):
10362 * dired.el (dired-toggle-read-only):
10363 * buff-menu.el (Buffer-menu-toggle-read-only):
10364 * bindings.el (mode-line-toggle-read-only):
10365 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
10367 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
10369 * descr-text.el (describe-char): Put the overlays over the
10370 "displayed as" character.
10372 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
10374 * calc/calc-units.el (math-default-units-table): Give an
10376 (math-put-default-units): Add options to put composite units and
10377 unit systems in the default units table.
10378 (calc-convert-units): Send composite units to
10379 `math-put-default-units' when appropriate.
10381 2012-08-11 Glenn Morris <rgm@gnu.org>
10383 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
10385 * tutorial.el (help-with-tutorial):
10386 * emacs-lisp/copyright.el (copyright-update-directory):
10387 * emacs-lisp/autoload.el (autoload-find-generated-file)
10388 (autoload-find-file): Disable local eval: (for insurance).
10390 * files.el (hack-local-variables-filter): If an eval: form is not
10391 known to be safe, and enable-local-variables is :safe, then ignore
10392 the form totally, as is done for non-eval forms. (Bug#12155)
10393 This is CVE-2012-3479.
10395 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10397 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
10398 (rx-form): Simplify.
10400 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
10402 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
10403 ?, _, and : are symbol constituents, ! is not (but kinda should be).
10404 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
10405 (ruby-syntax-propertize-function): Adjust for changes in
10406 `ruby-syntax-propertize-heredoc'.
10408 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
10410 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
10411 binding (use `M-;' instead).
10412 (ruby-singleton-class-p): New function.
10413 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
10415 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10417 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
10419 2012-08-10 Chong Yidong <cyd@gnu.org>
10421 * progmodes/python.el (python-shell-get-process-name): Don't mess
10422 with same-window-buffer-names.
10424 * eshell/eshell.el (eshell-add-to-window-buffer-names)
10425 (eshell-remove-from-window-buffer-names): Make obsolete.
10426 (eshell-buffer-name, eshell-unload-hook): Don't use them.
10427 (eshell): Just use pop-to-buffer-same-window instead.
10429 2012-08-10 Chong Yidong <cyd@gnu.org>
10431 * bindings.el: Bind M-= back to count-words-region.
10433 * simple.el (count-words-region): Accept a prefix arg for acting
10434 on the entire buffer.
10435 (count-words--buffer-message): New helper function.
10437 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10439 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
10440 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
10441 (event-start, event-end): Use posn-at-point to return a more
10443 (posnp): New function.
10444 * mouse.el (popup-menu-normalize-position): Use it.
10446 2012-08-10 Masatake YAMATO <yamato@redhat.com>
10448 * mouse.el (popup-menu-normalize-position): New function.
10449 (popup-menu): Use `popup-menu-normalize-position' to normalize
10450 the form for POSITION argument.
10452 * term/x-win.el (x-menu-bar-open):
10453 Use the value returend from (posn-at-point) as position
10454 passed to `popup-menu'.
10456 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10458 * calc/calccomp.el (math-compose-expr): Add extra argument
10459 indicating that parentheses should be put around products in
10460 denominators. Give multiplication precedence over division during
10463 2012-08-09 Chong Yidong <cyd@gnu.org>
10465 * man.el (Man-switches, Man-sed-command, Man-awk-command)
10466 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
10467 (Man-untabify-command, manual-program): Convert to defcustom
10470 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
10472 * descr-text.el (describe-char): Don't insert extra newlines
10475 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
10476 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
10478 * align.el (align-region): Delete temporary markers (Bug#10047).
10479 Plus some code cleanups.
10481 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10483 * progmodes/python.el (python-pdbtrack-tracked-buffer)
10484 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
10485 (python-shell-internal-last-output): Use make-local-variable
10486 instead of make-variable-buffer-local.
10488 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10490 * progmodes/python.el: Enhancements to forward-sexp.
10491 (python-nav-forward-sexp): Rename from
10492 python-nav-forward-sexp-function.
10493 (python-nav--forward-sexp, python-nav--backward-sexp):
10496 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10498 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
10499 modes and simplification modes.
10501 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10503 * delsel.el (delete-selection-pre-hook): Don't propagate the
10504 file-supersession signals (bug#12161).
10506 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10508 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
10509 (cl-map-extents): Add compatibility aliases (bug#12135).
10511 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
10513 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
10514 tests by `ignore-error'.
10515 (tramp-find-shell): Open also a new shell, when cache is already
10516 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
10518 2012-08-08 Juri Linkov <juri@jurta.org>
10520 * bookmark.el: Add `defaults' property to the bookmark record.
10521 (bookmark-current-buffer): Doc fix.
10522 (bookmark-make-record): Add `defaults' property with default values
10523 to the bookmark record.
10524 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
10525 with `bookmark-insert-current-bookmark'.
10526 (bookmark-set): Get `defaults' property from the bookmark record
10527 and use it in `read-from-minibuffer'.
10528 (bookmark-insert-current-bookmark): Remove function.
10530 * info.el (Info-bookmark-make-record): Add `defaults' property
10531 with values of canonical Info node name, the current Info file
10532 name and the current Info node name. (Bug#12107)
10534 2012-08-08 Juri Linkov <juri@jurta.org>
10536 * files.el (basic-save-buffer): Use `buffer-name' as the default
10537 of `read-file-name' when buffer is not visiting a file (bug#12128).
10539 2012-08-08 Juri Linkov <juri@jurta.org>
10541 * info.el (Info-isearch-search): Doc fix.
10542 (Info-search): Change search-failed message from "initial node" to
10543 "end of node" (bug#12078).
10544 (Info-isearch-search): Change `isearch-string-state' to
10545 `isearch--state-string'.
10547 2012-08-08 Glenn Morris <rgm@gnu.org>
10549 * language/persian.el: Remove file.
10550 * language/misc-lang.el: Move unique part of persian.el here.
10551 * loadup.el: Remove language/persian.
10553 2012-08-08 Ă“scar Fuentes <ofv@wanadoo.es>
10555 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
10557 2012-08-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10559 * progmodes/python.el: Fix defsubst warning.
10560 (python-syntax-context) Rename from python-info-ppss-context.
10561 (python-syntax-context-type): Rename from
10562 python-info-ppss-context-type.
10563 (python-syntax-comment-or-string-p): Rename from
10564 python-info-ppss-comment-or-string-p.
10566 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
10568 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
10570 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
10572 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
10573 a defcustom that is quoted with backquote.
10575 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
10576 Fix handling of interactive spec when the body uses return.
10577 (math-do-arg-check, math-define-function-body): Use backquote forms.
10578 * calc/calc-ext.el (math-defcache): Likewise.
10579 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
10580 * allout.el (allout-new-exposure): Likewise.
10581 * calc/calcalg2.el (math-tracing-integral): Likewise.
10582 * info.el (Info-last-menu-item): Likewise.
10583 * emulation/vip.el (vip-loop): Likewise.
10584 * textmodes/artist.el (artist-funcall): Likewise.
10585 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
10586 Construct menu-item directly.
10588 * progmodes/autoconf.el (font-lock-syntactic-keywords):
10591 2012-08-07 Chong Yidong <cyd@gnu.org>
10593 * simple.el (deactivate-mark): Preserve text properties when
10594 saving the primary selection (Bug#8384).
10596 2012-08-07 Kevin Ryde <user42@zip.com.au>
10598 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
10599 (woman-parse-numeric-value): On a bad .IP line, issue a warning
10600 and continue processing (Bug#12110).
10602 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10604 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
10605 syntax-propertize-function (bug#10095).
10607 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10609 * help-fns.el (help-fns--key-bindings, help-fns--signature)
10610 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
10611 describe-function-1.
10612 (describe-function-1): Use them. Move compiler macro after sig.
10613 (help-fns--compiler-macro): Use function-get. Assume we're already in
10614 standard-output. Adjust layout to new call order.
10616 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
10617 re-binding a symbol that has a symbol-macro (bug#12119).
10619 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
10621 * language/persian.el: New file. (Bug#11812)
10622 * loadup.el: Add language/persian.el.
10624 2012-08-06 Chong Yidong <cyd@gnu.org>
10626 * window.el (window--maybe-raise-frame): New function.
10627 (window--display-buffer): Split off from here.
10628 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10629 (display-buffer-pop-up-window, display-buffer-use-some-window):
10630 Obey an inhibit-switch-frame action alist entry.
10631 (display-buffer): Update doc.
10633 * replace.el (occur-after-change-function): Avoid losing focus by
10634 using the inhibit-switch-frame display parameter (Bug#12139).
10636 2012-08-06 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10638 Make internal shell process buffer names start with space.
10639 * progmodes/python.el (python-shell-make-comint): Add optional
10641 (run-python-internal): Use it.
10642 (python-shell-internal-get-or-create-process): Check for new
10643 internal buffer names.
10645 2012-08-06 Glenn Morris <rgm@gnu.org>
10647 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
10648 Do less getting and setting of environment variables.
10650 2012-08-05 Chong Yidong <cyd@gnu.org>
10652 * proced.el (proced): Add substitution string to docstring to
10653 trigger autoloading of the proced library on C-h f (Bug#1768).
10655 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10656 Don't show defvars which have no second argument (Bug#8638).
10658 * imenu.el (imenu-generic-expression): Move documentation here
10659 from imenu--generic-function.
10660 (imenu--generic-function): Refer to imenu-generic-expression.
10662 2012-08-05 Vegard Ă˜ye <vegard_oye@hotmail.com> (tiny change)
10664 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
10665 indentation declaration.
10666 (viper-loop): Add indentation declaration (Bug#7025).
10668 2012-08-05 Chong Yidong <cyd@gnu.org>
10670 * help-fns.el (describe-variable): Add hyperlink for
10671 directory-local variables files. Improve buffer-local and
10672 permanent-local reporting; suggested by MON KEY (Bug#6644).
10674 * help-mode.el (help-dir-local-var-def): New button type.
10676 * files.el (kill-buffer-hook): Provide a defvar.
10678 2012-08-05 Glenn Morris <rgm@gnu.org>
10680 * eshell/esh-ext.el (eshell/addpath):
10681 Also update eshell-path-env. (Bug#12013)
10683 2012-08-05 Chong Yidong <cyd@gnu.org>
10685 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
10687 * fringe.el (fringe-styles): Add docstring.
10688 (fringe--check-mode): New function.
10689 (set-fringe-mode, set-fringe-style): Use it.
10690 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
10692 * files.el (set-auto-mode): Fix invalid setq call.
10694 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10696 * isearch.el: Misc simplification; use defstruct.
10697 (isearch-mode-map): Dense maps now work like sparse ones.
10698 (isearch--state): New defstruct.
10699 (isearch-string-state, isearch-message-state, isearch-point-state)
10700 (isearch-success-state, isearch-forward-state)
10701 (isearch-other-end-state, isearch-word-state, isearch-error-state)
10702 (isearch-wrapped-state, isearch-barrier-state)
10703 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
10704 replaced by defstruct's accessors.
10705 (isearch--set-state): Rename from isearch-top-state and change
10706 calling convention.
10707 (isearch-push-state): Use new isearch--get-state.
10708 (isearch-toggle-word): Disable regexp when enabling word.
10709 (isearch-message-prefix): Remove unused arg _c-q-hack.
10710 (isearch-message-suffix): Remove unused arg _ellipsis.
10712 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
10714 * simple.el (list-processes--refresh): For a server use :host or
10715 :local as the address.
10716 (list-processes): Doc fix.
10718 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
10720 * lisp/mpc.el: Support password in host argument.
10721 (mpc--proc-connect): Parse and use new password element.
10722 Set mpc-proc variable instead of returning process.
10723 (mpc-proc): Adjust accordingly.
10725 2012-08-03 Eli Zaretskii <eliz@gnu.org>
10727 * whitespace.el (whitespace-display-mappings): Use Unicode
10728 codepoints, instead of emacs-mule codepoints. See
10729 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
10732 * files.el (file-truename): Don't skip symlink-chasing part on
10733 windows-nt. Incorporate the resolution of 8+3 short aliases on
10734 Windows into the loop that recursively chases symlinks.
10735 Compare directory and its parent case-insensitively on MS-Windows and
10738 2012-08-03 Chong Yidong <cyd@gnu.org>
10740 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
10742 * sort.el (sort-regexp-fields): Doc fix.
10744 2012-08-03 Tassilo Horn <tsdh@gnu.org>
10746 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
10747 labels regex position point at the expected place.
10749 2012-08-03 MON KEY <monkey@sandpframing.com>
10751 * net/imap.el (imap-interactive-login, imap-authenticate)
10752 (imap-mailbox-lsub, imap-mailbox-list)
10753 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
10754 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
10755 (imap-parse-response): Doc fix.
10757 2012-08-03 JoĂ£o TĂ¡vora <joaotavora@gmail.com>
10759 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
10760 if sexp scanning does not move point (Bug#5734).
10762 2012-08-02 Tassilo Horn <tsdh@gnu.org>
10764 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
10765 Add listings, minted, and ctable packages.
10766 (reftex-label-alist-builtin): Move listings, minted, and ctable
10767 entries before LaTeX.
10768 (reftex-label-alist): Docfix.
10770 2012-08-02 Bastien Guerry <bzg@gnu.org>
10772 * replace.el (occur): Fix docstring (bug#12122).
10774 2012-08-02 Glenn Morris <rgm@gnu.org>
10776 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
10778 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
10780 Obsolete alias inactivate-current-input-method-function (Bug#10150).
10781 * international/mule-cmds.el: Create
10782 inactivate-current-input-method-function as an obsolete alias for
10783 deactivate-current-input-method-function. See Katsumi Yamaoka in
10784 <http://bugs.gnu.org/10150#46>.
10786 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
10788 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
10791 2012-08-01 Glenn Morris <rgm@gnu.org>
10793 * progmodes/autoconf.el (autoconf-definition-regexp):
10794 Add AH_TEMPLATE, adjust submatch numbering.
10795 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
10796 (autoconf-current-defun-function): Update for above change.
10797 (autoconf-current-defun-function): First skip to end of current word.
10799 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
10801 * calendar/cal-html.el (cal-html-insert-agenda-days):
10802 Fix typo. (Bug#12018)
10804 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10806 Shell processes: enhancements to startup and CEDET compatibility.
10807 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
10808 (python-shell-make-comint): accept-process-output at startup.
10809 (run-python-internal): Set inferior-python-mode-hook to nil.
10810 (python-shell-internal-get-or-create-process): call sit-for.
10811 (python-preoutput-result): Add obsolete alias.
10812 (python-shell-internal-send-string): Use it.
10813 (python-shell-send-setup-code): Remove call to
10814 accept-process-output.
10816 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
10818 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
10821 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
10823 * calc-mode.el (calc-basic-simplification-mode): Rename from
10824 `calc-limited-simplification-mode'.
10825 (calc-alg-simplification-mode): New function.
10826 (calc-set-simplify-mode): Adjust message.
10828 * calc.el (calc-set-mode-line): Adjust mode line display for
10829 basic simplification mode.
10831 * calc-help.el (calc-m-prefix-help): Update help message.
10833 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
10834 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
10836 2012-07-31 Bastien Guerry <bzg@gnu.org>
10838 * man.el (man): Fix comment. (bug#12101)
10840 2012-07-31 Martin Rudalics <rudalics@gmx.at>
10842 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
10843 Don't return a non-nil value when no suitable buffer was found.
10845 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10847 * progmodes/python.el (run-python-internal): Disable font lock for
10850 2012-07-30 Stefan Merten <smerten@oekonux.de>
10852 * textmodes/rst.el: Silence `checkdoc-ispell'.
10853 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10854 (rst-official-version, rst-official-cvs-rev)
10855 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
10856 (rst-mode-map): New key binding.
10858 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
10860 Update .PHONY listings in makefiles.
10861 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
10862 autoloads, update-subdirs, updates, bzr-update, update-authors,
10863 compile-onefile, compile-calc, backup-compiled-files,
10864 compile-after-backup, compile-one-process, mh-autoloads,
10865 bootstrap-clean, distclean, maintainer-clean.
10867 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
10869 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
10870 (calc-set-mode-line): Don't display "AlgSimp ".
10872 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
10873 (calc-lim-simplify-mode): New function.
10874 (calc-set-simplify-mode): Default to 'alg.
10875 (calc-default-simplify-mode): Make algebraic simplifications
10878 * calc/calc-ext.el (calc-init-extensions): Remove binding for
10879 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
10881 * calc/calc-help.el (calc-m-prefix-help): Change messages to
10882 indicate new simplification modes.
10884 * calc/README: Mention new default simplification mode.
10886 * calc/calc.el (math-normalize-error): New variable.
10887 (math-normalize): Set `math-normalize-error' to t
10888 when there's an error.
10890 * calc/calc-alg.el (math-simplify): Don't simplify when
10891 `math-normalize' returns an error.
10893 2012-07-29 Eli Zaretskii <eliz@gnu.org>
10895 * international/mule-cmds.el (set-locale-environment): Revert last
10896 change, since display-graphic-p returns nil when this function is
10897 called during startup. Instead...
10899 * term/w32console.el (terminal-init-w32console): ...setup the
10900 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
10902 2012-07-29 Juri Linkov <juri@jurta.org>
10904 * simple.el (goto-line): Don't display default line number in the
10905 prompt because it should be displayed by `read-number' (bug#9952).
10906 Add the current line number to the defaults of `goto-line' to
10907 allow its easier modification by users with `M-n' (bug#9201).
10909 * subr.el (read-number): Support multiple default values like in
10910 other minibuffer reading functions. Replace `read' with
10911 `string-to-number' for consistency with `number-to-string'.
10913 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
10915 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
10916 * emulation/viper-init.el (viper-deactivate-input-method-action):
10917 Rename from viper-inactivate-input-method-action.
10918 (viper-deactivate-input-method):
10919 Rename from viper-inactivate-input-method.
10920 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
10921 * international/mule-cmds.el (deactivate-input-method):
10922 Rename from inactivate-input-method.
10923 Also run input-method-deactivate-hook.
10924 (deactivate-current-input-method-function):
10925 Rename from inactivate-current-input-method-function.
10926 (input-method-deactivate-hook): New hook.
10927 (input-method-inactivate-hook): Mark obsolete.
10928 (inactivate-input-method): Mark obsolete.
10930 * international/quail.el (quail-activate):
10931 Also run quail-deactivate-hook.
10932 (quail-deactivate): Rename from quail-inactivate.
10933 * international/robin.el (robin-activate):
10934 Also run robin-deactivate-hook.
10935 (robin-deactivate): Rename from robin-inactivate.
10937 2012-07-29 Chong Yidong <cyd@gnu.org>
10939 * simple.el (indicate-copied-region): New function.
10940 (kill-ring-save): Split off from here.
10942 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
10943 (kill-rectangle): Set deactivate-mark to t on read-only error.
10945 * register.el (copy-to-register, copy-rectangle-to-register):
10946 Deactivate the mark, and use indicate-copied-region (Bug#10056).
10947 (append-to-register, prepend-to-register): Call indicate-copied-region.
10949 2012-07-29 Juri Linkov <juri@jurta.org>
10951 * simple.el (async-shell-command-buffer): New defcustom.
10952 (shell-command): Use it. (Bug#4719)
10954 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10956 * international/mule-cmds.el (set-locale-environment): In a
10957 console session on MS-Windows, set up keyboard and terminal
10958 encoding from the OEM codepage, not the ANSI codepage.
10961 2012-07-28 Chong Yidong <cyd@gnu.org>
10963 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
10966 2012-07-28 Leo Liu <sdl.web@gmail.com>
10968 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
10969 the alist (bug#12029).
10971 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10973 * makefile.w32-in (custom-deps, finder-data, updates, compile)
10974 (compile-always, compile-first)
10975 ($(lisp)/calendar/cal-loaddefs.el)
10976 ($(lisp)/calendar/diary-loaddefs.el)
10977 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10978 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
10979 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
10980 instead of on update-subdirs.
10981 (bootstrap-clean): Delete $(lisp)/subdirs.el.
10983 2012-07-28 Chong Yidong <cyd@gnu.org>
10985 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
10986 directory if vc-deduce-backend returns nil (Bug#7350).
10988 * simple.el (delete-trailing-lines): New option.
10989 (delete-trailing-whitespace): Obey it (Bug#11879).
10991 2012-07-28 David Engster <deng@randomsample.de>
10993 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
10994 Explanation of new 'symbol-qnames feature in doc-strings.
10995 (xml-maybe-do-ns): Return expanded names as plain symbols if
10996 'symbol-qnames was provided in XML-NS argument (Bug#11916).
10997 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
10999 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11001 Consistent completion in inferior python with emacs -nw.
11002 * progmodes/python.el (inferior-python-mode): replace "<tab>"
11003 binding in inferior-python-mode-map with "\t".
11004 (python-shell-completion-complete-at-point)
11005 (python-completion-complete-at-point): Remove interactive spec.
11007 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
11009 * calc/calccomp.el (math-compose-expr): Undo previous change.
11011 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11013 * progmodes/python.el (python-mode-map): Add keybinding for
11015 (python-shell-make-comint): Fix pop-to-buffer call.
11016 (run-python): Autoload. New arg SHOW.
11017 (python-shell-get-or-create-process): Do not pop python process
11020 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
11022 * notifications.el (notifications-on-action-signal)
11023 (notifications-on-closed-signal): Use also the bus address for the map.
11024 (notifications-notify, notifications-close-notification)
11025 (notifications-get-capabilities): Add optional argument BUS.
11027 2012-07-27 Tassilo Horn <tsdh@gnu.org>
11029 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
11030 Add support for the lstlisting and minted environments, and for the
11032 * textmodes/reftex.el (reftex-compile-variables): Also recognize
11033 labels written in keyvals syntax.
11035 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
11037 * calc/calccomp.el (math-compose-expr): Use parentheses when
11038 there is a product in the denominator of a fraction.
11040 2012-07-26 Eli Zaretskii <eliz@gnu.org>
11042 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
11043 ($(lisp)/calendar/diary-loaddefs.el)
11044 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11045 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
11046 Fixes failures in parallel bootstrap because subdirs.el is being
11047 rewritten while the autoload files are built at the same time,
11048 which needs to load subdirs.el.
11050 2012-07-26 Martin Rudalics <rudalics@gmx.at>
11052 * mouse.el (popup-menu): Fix doc-string and re-indent code.
11053 (mouse-drag-line): Don't exit tracking when a switch-frame or
11054 switch-window event occurs (Bug#12006).
11056 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11058 * mouse.el (popup-menu): Fix last change.
11060 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11062 Autoload from Lisp with more care. Follow aliases when looking for
11063 function properties.
11064 * subr.el (autoloadp): New function.
11065 (symbol-file): Use it.
11066 (function-get): New function.
11067 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
11069 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
11070 (lisp-indent-function):
11071 * emacs-lisp/gv.el (gv-get):
11072 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
11073 * emacs-lisp/byte-opt.el (byte-optimize-form):
11074 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11075 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
11077 * emacs-lisp/cl.el: Don't propagate function properties any more.
11079 * speedbar.el (speedbar-add-localized-speedbar-support):
11080 * emacs-lisp/disass.el (disassemble-internal):
11081 * desktop.el (desktop-load-file):
11082 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
11083 (describe-function-1):
11084 * emacs-lisp/find-func.el (find-function-noselect):
11085 * emacs-lisp/elp.el (elp-instrument-function):
11086 * emacs-lisp/advice.el (ad-has-proper-definition):
11087 * apropos.el (apropos-safe-documentation, apropos-macrop):
11088 * emacs-lisp/debug.el (debug-on-entry):
11089 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
11090 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
11091 * calc/calc.el (name): Use autoloadp & autoload-do-load.
11093 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
11095 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
11096 function, not an obsolete variable (Bug#12046).
11098 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11100 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
11102 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
11104 * emacs-lisp/pp.el (pp-display-expression): Select old selected
11105 window only if it is still live (Bug#12034).
11107 2012-07-25 Martin Rudalics <rudalics@gmx.at>
11109 * subr.el (redirect-frame-focus): Add advertised calling
11110 convention (Bug#12030).
11112 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
11114 Prefer typical American spelling for "acknowledgment".
11115 * vc/add-log.el (change-log-acknowledgment): Rename from
11116 change-log-acknowledgement, with an alias for the old name.
11118 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
11120 * calc-alg.el (math-simplify-divide): Don't cross multiply
11121 in an equation when the lhs is a variable.
11123 2012-07-24 Julien Danjou <julien@danjou.info>
11125 * net/netrc.el (netrc-find-service-number, netrc-store-data):
11128 2012-07-23 Eli Zaretskii <eliz@gnu.org>
11130 * startup.el (command-line): Don't display an empty user name in
11131 the error message about non-existent home directory, when
11132 init-file-user was set to an empty string. See
11133 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
11134 for the details and context.
11136 2012-07-22 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11138 * ses.el (ses-cell-formula-aset): New macro.
11139 (ses-cell-references-aset): New macro.
11140 (ses-cell-p): New function.
11141 (ses-rename-cell): Do no longer rely on complex operations like
11142 ses-cell-set-formula or ses-set-cell to change the cell and handle
11143 the undo at the same time, but rather use lower level new macros
11144 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
11145 the undo directly. Refresh the mode line.
11147 2012-07-21 Leo Liu <sdl.web@gmail.com>
11149 * progmodes/cc-cmds.el (c-defun-name):
11150 Use match-string-no-properties instead for consistency.
11152 2012-07-20 Leo Liu <sdl.web@gmail.com>
11154 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
11157 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
11159 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
11161 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
11162 * progmodes/bug-reference.el, misearch.el: Provide themselves
11165 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
11166 of narrowed buffer (bug#11966).
11168 2012-07-20 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11170 * ses.el (ses-rename-cell): Set new name also in reference list of
11171 cells of which the renamed cell depends.
11173 2012-07-20 Masatake YAMATO <yamato@redhat.com>
11175 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
11176 to check whether menu-bar is shown or not. If not shown,
11177 show the menu-bar as a popup menu instead of using tmm.
11178 * mouse.el (popup-menu): Accept `point' as `position' argument.
11180 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
11182 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
11183 up inside string symbol literal (bug#11923).
11185 2012-07-20 Eli Zaretskii <eliz@gnu.org>
11187 * startup.el (fancy-startup-text): Read the whole tutorial, not
11188 just its first 256 bytes. Prevents gibberish in display of the
11191 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
11193 Drop idle buffer compaction due to an absence of the
11195 * compact.el: Remove.
11197 2012-07-19 Sam Steingold <sds@gnu.org>
11199 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
11200 vc-bzr-pull & vc-bzr-merge-branch.
11201 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
11202 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
11203 for consistency with compilation-error-regexp-alist.
11204 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
11205 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
11206 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
11207 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
11209 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11211 * emacs-lisp/chart.el: Use lexical-binding.
11212 (chart-emacs-storage): Don't hardcode the list of entries.
11214 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11216 Next round of tweaks caused by Fgarbage_collect changes.
11217 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
11219 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11221 Compact buffers when idle.
11222 * compact.el: New file.
11224 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11226 * subr.el (eventp): Presume that if it looks vaguely like an event,
11227 it's an event (bug#10190).
11229 2012-07-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11231 Enhancements to ppss related code (thanks Stefan).
11232 * progmodes/python.el (python-indent-context)
11233 (python-indent-calculate-indentation, python-indent-dedent-line)
11234 (python-indent-electric-colon, python-nav-forward-block)
11235 (python-mode-abbrev-table)
11236 (python-info-assignment-continuation-line-p): Simplify checks
11238 (python-info-continuation-line-p): Cleanup.
11239 (python-info-ppss-context): Do not catch 'quote.
11240 (python-info-ppss-context-type)
11241 (python-info-ppss-comment-or-string-p): Simplify.
11243 2012-07-18 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11245 * progmodes/python.el: Enhancements to eldoc support.
11246 (python-info-current-symbol): New function.
11247 (python-eldoc-at-point): Use python-info-current-symbol.
11248 (python-info-current-defun): Fix cornercase on first defun scan.
11249 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
11250 and signal error when no inferior python process is available.
11252 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
11254 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
11255 assume it's always t.
11256 (vc-git-registered): Remove caching, the function is only called
11258 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
11260 2012-07-18 Chong Yidong <cyd@gnu.org>
11262 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
11264 * simple.el (count-words): Report on narrowing (Bug#9959).
11266 * bindings.el: Bind M-= to count-words.
11268 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
11270 2012-07-18 Masatake YAMATO <yamato@redhat.com>
11272 * progmodes/sh-script.el (sh-imenu-generic-expression):
11273 Capture a function with `function' keyword and without parentheses
11274 like "function FOO" (bug#11856).
11276 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
11278 * window.el (split-window-sensibly): Make WINDOW argument
11281 2012-07-18 Chong Yidong <cyd@gnu.org>
11283 * subr.el (keyboard-translate): Doc fix (Bug#7261).
11285 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
11286 and make C-x 8 RET exit isearch (Bug#11439).
11288 * international/iso-transl.el: Move isearch-mode-map key
11289 definitions to isearch.el.
11291 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
11293 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
11294 (eieio-defclass): Use gv-define-setter when possible.
11296 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
11298 Reflect recent changes in Fgarbage_collect.
11299 * emacs-lisp/chart.el (chart-emacs-storage): Change to
11300 reflect new format of data returned by Fgarbage_collect.
11302 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11304 New utility functions + python-info-ppss-context fix (Bug#11910).
11305 * progmodes/python.el (python-info-beginning-of-block-statement-p)
11306 (python-info-ppss-comment-or-string-p): New functions.
11307 (python-info-ppss-context): Small fix for string check.
11309 2012-07-17 Juri Linkov <juri@jurta.org>
11311 * dired-aux.el (dired-do-async-shell-command): Doc fix.
11312 (dired-do-async-shell-command): Don't add `*' at the end of the
11313 command (Bug#11815).
11314 (dired-do-shell-command): Doc fix.
11315 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
11316 Join the individual commands using either "&" or ";" as the
11317 separator depending on the values of these trailing characters.
11318 At the end re-add the trailing "&". (Bug#10598)
11320 * simple.el (async-shell-command): Sync the interactive spec with
11321 `shell-command'. Doc fix.
11322 (shell-command): Doc fix.
11324 2012-07-17 Juri Linkov <juri@jurta.org>
11326 * descr-text.el (describe-char): Fix format args. (Bug#10129)
11328 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11330 Final renames and doc fixes for movement commands (bug#11899).
11331 * progmodes/python.el (python-nav-beginning-of-statement):
11332 Rename from python-nav-statement-start.
11333 (python-nav-end-of-statement): Rename from
11334 python-nav-statement-end.
11335 (python-nav-beginning-of-block): Rename from
11336 python-nav-block-start.
11337 (python-nav-end-of-block): Rename from python-nav-block-end.
11339 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11341 * progmodes/python.el (python-shell-send-string-no-output):
11342 Allow accept-process-output to quit, keeping shell process ready for
11343 future interactions (Bug#11868).
11345 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11347 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
11349 * emacs-lisp/elint.el (elint-find-args-in-code):
11350 Use help-function-arglist, so as to handle lexical byte-code.
11352 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
11353 change (bug#11826).
11355 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11357 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
11358 Avoid spuriously marking the buffer as modified because of c-is-sws.
11360 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
11361 as not-a-comment (bug#11946).
11363 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
11364 for uninterned vars.
11366 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
11367 Use read-event since we don't really want to read chars but bytes.
11369 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
11370 $$..$$ but also $..$ using regexps (bug#11953).
11371 Use tex-verbatim for \url and \path.
11372 (tex-font-lock-keywords): Define as defconst like the others.
11373 (tex-common-initialization): Don't use font-lock-syntax-table any more.
11375 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
11377 * international/mule-cmds.el (ucs-insert): Make it an obsolete
11378 alias for insert-char.
11380 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11382 * progmodes/python.el: Simplified imenu implementation.
11383 (python-nav-jump-to-defun): Remove command.
11384 (python-mode-map): Use `imenu' instead.
11385 (python-nav-list-defun-positions-cache)
11386 (python-imenu-include-defun-type, python-imenu-make-tree)
11387 (python-imenu-subtree-root-label, python-imenu-index-alist):
11389 (python-nav-list-defun-positions, python-nav-read-defun)
11390 (python-imenu-tree-assoc, python-imenu-make-element-tree)
11391 (python-imenu-make-tree, python-imenu-create-index):
11393 (python-mode): Update to interact with imenu by setting
11394 `imenu-extract-index-name-function' only.
11396 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11398 * progmodes/python.el: Enhancements to navigation commands.
11399 (python-nav-backward-sentence)
11400 (python-nav-forward-sentence): Remove.
11401 (python-nav-backward-statement, python-nav-forward-statement)
11402 (python-nav-statement-start, python-nav-statement-end)
11403 (python-nav-backward-block, python-nav-forward-block)
11404 (python-nav-block-start, python-nav-block-end)
11405 (python-nav-forward-sexp-function)
11406 (python-info-current-line-comment-p)
11407 (python-info-current-line-empty-p): New functions.
11408 (python-indent-context): Use `python-nav-statement-start'.
11410 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
11412 * eshell/em-ls.el (eshell/ls): Use `apply'.
11414 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
11415 multi-hops, instead of Tramp internals.
11417 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
11419 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
11420 when F1 and F2 are located on different hosts.
11422 2012-07-14 Chong Yidong <cyd@gnu.org>
11424 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
11425 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
11426 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
11427 (xterm-mouse--read-event-sequence-1000)
11428 (xterm-mouse--read-event-sequence-1006): New functions. For old
11429 mouse protocol, handle M-mouse-X events correctly.
11430 (xterm-mouse-event): New arg specifying mouse protocol.
11431 (turn-on-xterm-mouse-tracking-on-terminal)
11432 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
11433 sequence to toggle extended coordinates on newer XTerms.
11434 This appears to be harmless on terminals which do not support this.
11436 2012-07-14 Leo Liu <sdl.web@gmail.com>
11438 Add fringe bitmap indicators for flymake. (Bug#11253)
11439 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
11440 (flymake-make-overlay): New arg BITMAP.
11441 (flymake-error-bitmap, flymake-warning-bitmap)
11442 (flymake-fringe-indicator-position): New user variables.
11444 * fringe.el: New bitmap exclamation-mark.
11446 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
11448 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
11451 2012-07-14 Chong Yidong <cyd@gnu.org>
11453 * electric.el (electric-pair-post-self-insert-function): Fix pair
11454 insertion in empty-region case (Bug#11520).
11456 2012-07-14 Chong Yidong <cyd@gnu.org>
11458 * bindings.el: Consolidate ctl-x-r-map bindings.
11459 Bind copy-rectangle-as-kill to C-x r w.
11461 * rect.el, register.el: Move bindings to bindings.el.
11463 2012-07-14 Reuben Thomas <rrt@sc3d.org>
11465 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
11467 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
11469 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
11471 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
11473 * bindings.el (top): Use `mapc' instead of `mapcar'.
11475 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
11477 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
11479 * progmodes/sql.el (sql-comint): Suppress the check for program on
11480 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
11483 2012-07-13 Chong Yidong <cyd@gnu.org>
11485 * bindings.el: Assign a non-nil permanent-local property to
11486 per-buffer variables which lack a default value (Bug#11930).
11488 * help-fns.el (describe-variable): In the "automatically becomes
11489 local" notice, take note of permanent-local variables.
11491 2012-07-13 Chong Yidong <cyd@gnu.org>
11493 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
11494 to allow printing the message when called from Lisp.
11496 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11497 Remove toggle-read-only.
11499 * bs.el (bs-toggle-readonly):
11500 * buff-menu.el (Buffer-menu-toggle-read-only):
11501 Remove with-no-warnings around toggle-read-only.
11503 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
11504 Remove with-no-warnings around toggle-read-only.
11505 (ffap-read-only, ffap-read-only-other-window)
11506 (ffap-read-only-other-frame): Callers changed.
11508 * help-mode.el: Don't require view package.
11509 (help-mode-finish): Set buffer-read-only instead of calling
11512 * bindings.el (mode-line-toggle-read-only):
11513 * dired.el (dired-toggle-read-only):
11514 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
11515 with non-nil second arg.
11517 * emacs-lisp/eieio-custom.el (eieio-customize-object):
11518 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
11521 2012-07-12 Eli Zaretskii <eliz@gnu.org>
11523 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
11526 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
11528 More CL cleanups and reduction of use of cl.el.
11529 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
11530 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
11531 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
11532 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
11533 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
11534 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
11535 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
11536 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
11537 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
11538 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
11539 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
11540 * eshell/em-cmpl.el, eshell/em-banner.el:
11541 * calendar/parse-time.el: Use cl-lib.
11542 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
11543 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
11544 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
11545 * term/ns-win.el, term.el, shell.el, ps-samp.el:
11546 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
11547 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
11548 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
11549 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
11550 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
11551 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
11552 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
11553 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
11554 `lambda' rather than with `quote'.
11555 (eshell-do-opt): Adjust accordingly.
11556 (eshell-process-option): Simplify.
11557 * eshell/esh-var.el:
11558 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
11559 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
11560 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
11561 to `pcase--dontcare'.
11562 * emacs-lisp/cl.el (labels): Mark obsolete.
11563 (cl--letf, letf): Move to cl-lib.
11564 (cl--letf*, letf*): Remove.
11565 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
11566 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
11567 (cl-progv): Rewrite.
11568 (cl--letf, cl-letf): Move from cl.el.
11569 (cl-letf*): New macro.
11570 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
11572 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
11574 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
11576 2012-07-11 Chong Yidong <cyd@gnu.org>
11578 * vc/log-edit.el (log-edit-vc-backend): New variable.
11579 (log-edit): Doc fix.
11581 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
11582 argument of log-edit to set up all local variables.
11583 (vc-start-logentry): New optional arg specifying VC backend.
11585 * vc/vc.el (vc-checkin): Use it.
11586 (vc-deduce-fileset): Handle Log Edit buffers.
11587 (vc-diff): Make first argument optional too.
11589 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
11591 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
11593 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
11594 command, just in case. The function is not needed anymore.
11595 (eshell-external-command): Do not call `eshell-remote-command'.
11597 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
11599 Reduce use of (require 'cl).
11600 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
11601 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
11602 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
11603 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
11604 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
11605 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
11606 * battery.el, avoid.el, abbrev.el: Use cl-lib.
11607 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
11608 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
11609 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
11610 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
11611 * calculator.el, autorevert.el, apropos.el: Don't require CL.
11612 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
11613 (byte-compile-unfold-bcf, byte-compile-check-variable):
11614 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
11615 (byte-compile-nilconstp):
11616 * emacs-lisp/autoload.el (make-autoload): Use pcase.
11617 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
11619 * emacs-lisp/gv.el (cond): Make it a valid place.
11620 (if): Simplify slightly.
11622 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
11623 (pcase--self-quoting-p): New function.
11624 (pcase--u1): Use it.
11626 2012-07-10 Glenn Morris <rgm@gnu.org>
11628 * emacs-lisp/authors.el (authors-fixed-entries):
11629 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
11631 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
11633 Rename configure.in to configure.ac (Bug#11603).
11634 * emacs-lisp/authors.el (authors-canonical-file-name):
11635 * progmodes/autoconf.el (autoconf-mode):
11636 Prefer configure.ac to configure.in.
11638 2012-07-08 Chong Yidong <cyd@gnu.org>
11640 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
11641 Implement the mouse-1-click-follows-link handling properly.
11643 * info.el (Info-link-keymap): Use follow-link mechanism for
11644 header-line links (Bug#374).
11646 * simple.el (deactivate-mark): Do not set the primary selection
11647 if another program has acquired it (Bug#11772).
11649 2012-07-07 Kevin Ryde <user42@zip.com.au>
11651 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
11652 (woman-decode-region): Replace escaped-escapes without destroying
11653 bold or underline (Bug#11552).
11654 (woman2-process-escapes): Handle nofill regions (Bug#11591).
11656 2012-07-07 Chong Yidong <cyd@gnu.org>
11658 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
11659 (interprogram-cut-function, interprogram-paste-function):
11660 Mention that we typically mean the clipboard.
11662 2012-07-06 Glenn Morris <rgm@gnu.org>
11664 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
11666 * files.el (toggle-read-only): Restrict message to interactive use.
11668 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
11670 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
11672 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
11674 2012-07-06 Glenn Morris <rgm@gnu.org>
11676 * Makefile.in (compile-one-process): Rename from "recompile".
11678 * Makefile.in (bzr-update): "compile" is the same as "recompile
11679 autoloads", but parallelizable, so use that instead.
11681 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
11683 * window.el (quit-window): Always restore window height when
11684 it's saved in quit-restore parameter (Bug#11810).
11686 2012-07-06 Glenn Morris <rgm@gnu.org>
11688 * simple.el (kill-whole-line): Doc tweak.
11690 2012-07-06 Eli Zaretskii <eliz@gnu.org>
11692 * files.el (file-relative-name): Compare file names
11693 case-insensitively if on MS-Windows or MS-DOS, or if
11694 read-file-name-completion-ignore-case is non-nil. Don't use
11695 case-fold-search for this purpose. (Bug#11827)
11697 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
11699 * calendar/cal-dst.el (calendar-current-time-zone):
11700 Return calendar-current-time-zone-cache if non-nil.
11702 2012-07-17 Masatake YAMATO <yamato@redhat.com>
11703 2012-07-06 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-06 Glenn Morris <rgm@gnu.org>
11710 * Makefile.in (cvs-update): Remove old alias.
11712 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
11714 Sync with Tramp 2.2.6-pre.
11716 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
11717 compatible declaration.
11719 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11720 Protect `list-load-path-shadows' call.
11722 * net/tramp-compat.el (top): Require packages, which aren't
11723 autoloaded anymore for XEmacs. Protect call of
11724 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
11725 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
11726 it hurts at least for SXEmacs.
11727 (tramp-compat-temporary-file-directory): In XEmacs, there is no
11728 standard-value for `temporary-file-directory'.
11730 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
11731 Redirect stderr to /dev/null.
11732 (tramp-sh-handle-write-region): uid and gid can be floats.
11733 Reported by Russell Sim <russell.sim@gmail.com>.
11734 (tramp-sh-handle-vc-registered): Hide errors.
11735 (tramp-vc-file-name-handler): Use dummy results for `process-file'
11736 and `start-file-process'.
11737 (tramp-maybe-open-connection): Check also whether `non-essential'
11740 2012-07-04 Chong Yidong <cyd@gnu.org>
11742 * xml.el (xml--parse-buffer): Use xml-syntax-table.
11743 (xml-parse-tag): Likewise, and avoid changing entity tables.
11744 (xml-syntax-table): Define from scratch, making sure not to give
11745 x2000 and other Unicode spaces whitespace syntax, since those are
11747 (xml-parse-fragment): Delete unused function.
11748 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
11749 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
11750 (xml-entity-ref, xml-pe-reference-re)
11751 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
11752 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
11753 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
11754 (xml-entity-value-re): Use syntax references in regexps where
11755 possible; no need to define inside a let-binding.
11756 (xml-parse-dtd): Use xml-pe-reference-re.
11757 (xml-entity-or-char-ref-re): New defconst.
11758 (xml-parse-string, xml-substitute-special): Use it.
11760 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11762 * files.el (locate-dominating-file): Allow `name' to be a predicate.
11763 (find-file--read-only): New function.
11764 (find-file-read-only, find-file-read-only-other-window)
11765 (find-file-read-only-other-frame): Use it.
11766 (insert-file-contents-literally): Don't `fset'.
11767 (get-free-disk-space): Use locate-dominating-file.
11769 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
11770 function is already compiled.
11772 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
11774 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
11776 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
11777 files on the same host.
11779 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
11781 * help-fns.el (describe-function-1): Only call
11782 help-fns--autoloaded-p when we have a file name. (Bug#11848)
11784 2012-07-03 Chong Yidong <cyd@gnu.org>
11786 * xml.el: Protect parser against XML bombs.
11787 (xml-entity-expansion-limit): New variable.
11788 (xml-parse-string, xml-substitute-special): Use it.
11789 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
11791 2012-07-03 Glenn Morris <rgm@gnu.org>
11793 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11794 Allow linking to specific messages in debbugs reports (eg 123#5).
11796 2012-07-02 Chong Yidong <cyd@gnu.org>
11798 * xml.el: Fix entity and character reference expansion, allowing
11799 them to expand into markup as per XML spec.
11800 (xml-default-ns): New variable.
11801 (xml-entity-alist): Use XML spec definitions for lt and amp.
11802 (xml-parse-region): Make first two arguments optional.
11803 Discard text properties.
11804 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
11805 All callers changed.
11806 (xml-parse-tag): Call xml-parse-tag-1. For backward
11807 compatibility, this function should not modify buffer contents.
11808 (xml-parse-tag-1): Fix opening-tag regexp.
11809 (xml-parse-string): Rewrite, handling entity and character
11810 references properly.
11811 (xml--entity-replacement-text): Signal an error if a parameter
11812 entity is undefined.
11814 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11816 * comint.el (comint-output-filter): Filter out repeated prompts.
11818 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
11819 and file-name-absolute-p.
11820 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
11823 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
11826 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
11827 Rename from byte-compile--refiy-function. All uses changed.
11829 2012-07-01 Chong Yidong <cyd@gnu.org>
11831 * xml.el (xml--parse-buffer): New function. Move most of
11832 xml-parse-region here.
11833 (xml-parse-region): Copy region into a temporary buffer, since
11834 parameter entity substitution requires changing buffer contents.
11835 Use xml--parse-buffer.
11836 (xml-parse-file): Use xml--parse-buffer.
11837 (xml-parse-dtd): Make parameter entity substitution work right.
11838 Use proper regexps for ELEMENT declarations (Bug#7172).
11840 2012-06-30 Glenn Morris <rgm@gnu.org>
11842 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
11844 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
11845 Remove outdated and unnecessary dbus declarations.
11847 2012-06-30 Eli Zaretskii <eliz@gnu.org>
11849 * emacs-lisp/timer.el (timer-until): Subtract results of
11850 float-time, instead of taking float-time of the result of
11851 time-subtract, since float-time signals an error for negative time
11854 2012-06-30 Chong Yidong <cyd@gnu.org>
11856 * xml.el (xml-*-re): Convert defvars into defconsts, and
11857 eval-and-compile them so eval-and-compile works on derivatives.
11858 (xml--entity-replacement-text): Use eval-and-comple.
11860 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
11862 * vc/vc-git.el (vc-git-registered): Use cache property
11864 (vc-git-mode-line-string): Call `vc-working-revision' instead of
11865 `vc-git-working-revision' in order to benefit from the cache.
11866 (vc-git-root): Use cache property `git-root'. (Bug#11757)
11868 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
11870 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
11871 removed (likely outside Emacs). (Bug#11757)
11873 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11875 * emacs-lisp/cl-lib.el: Require macroexp.
11877 2012-06-30 Chong Yidong <cyd@gnu.org>
11879 * xml.el: Implement XML parameter entities.
11880 (xml-parameter-entity-alist): New variable.
11881 (xml-parse-region, xml-parse-fragment): Preserve previous values
11882 of xml-entity-alist and xml-parameter-entity-alist, so that
11883 repeated calls on different documents do not change them.
11884 (xml-parse-tag): Fix doctype regexp.
11885 (xml--entity-replacement-text): New function.
11886 (xml-parse-dtd): Use it. Don't handle system entities; doing that
11887 properly requires url retrieval which is unimplemented.
11888 (xml-escape-string): Doc fix.
11890 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11892 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
11894 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
11896 * fringe.el (fringe-mode): Doc fix.
11898 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
11900 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
11902 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
11903 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
11905 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
11907 * calendar/cal-dst.el (calendar-current-time-zone):
11908 Return calendar-current-time-zone-cache if non-nil.
11910 2012-06-29 Masatake YAMATO <yamato@redhat.com>
11912 * progmodes/which-func.el (which-func-format):
11913 Add mouse-face. (Bug#11698)
11915 2012-06-29 Leo Liu <sdl.web@gmail.com>
11917 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
11919 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11921 * minibuffer.el (minibuffer-confirm-exit-commands):
11922 Add completion-at-point (bug#11725).
11924 2012-06-29 Glenn Morris <rgm@gnu.org>
11926 * progmodes/f90.el (f90-font-lock-keywords-2):
11927 Add some preprocessor elements. (Bug#10499)
11929 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11931 * progmodes/cperl-mode.el (cperl-update-syntaxification):
11932 Use syntax-propertize (bug#11739).
11934 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
11936 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
11938 2012-06-28 Julien Danjou <julien@danjou.info>
11940 * term.el (term-handle-colors-array): Use a set of new faces to
11941 color the terminal. Also uses :inverse-video property.
11942 (term-default-fg-color): Set to nil by default, deprecate in favor
11944 (term-default-bg-color): Set to nil by default, deprecate in favor
11946 (term-current-face): Use `term-face' by default.
11947 (term-bold-attribute): Variable deleted.
11949 2012-06-28 Glenn Morris <rgm@gnu.org>
11951 * simple.el (completion-list-mode-finish):
11952 Don't use toggle-read-only. (Since completion-list-mode has
11953 a special mode-class, it wasn't doing anything extra anyway.)
11955 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
11957 Make inlining of other-mode interpreted functions work (bug#11799).
11958 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
11959 (byte-compile): Use it to fix compilation of lexical-binding closures.
11960 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
11961 function, if needed.
11963 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11965 * help-mode.el (help-make-xrefs): Don't just withstand
11966 cyclic-variable-indirection but any error in documentation-property.
11968 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
11970 * bindings.el (bindings--define-key): New function.
11971 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
11972 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
11973 * bindings.el: Use it to purecopy define-key bindings.
11975 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
11977 * emacs-lisp/cl.el (flet): Mark obsolete.
11978 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
11979 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
11980 * progmodes/js.el (js-c-fill-paragraph):
11981 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
11982 (ebrowse-switch-member-buffer-to-derived-class):
11983 * play/5x5.el (5x5-solver): Use cl-flet.
11985 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
11986 (cl--symbol-function): New macro.
11987 (cl--letf, cl--letf*): Use it.
11989 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
11990 Strip "toggle-" if any.
11992 2012-06-27 Glenn Morris <rgm@gnu.org>
11994 * info.el (Info-default-directory-list): Move here from paths.el.
11995 * paths.el: Remove file, which is now empty.
11996 * loadup.el: No longer load "paths".
11998 * custom.el (custom-initialize-delay): Doc fix.
12000 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12001 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
12002 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
12003 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
12004 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
12005 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
12006 * eshell/eshell.el (eshell-defgroup): Remove alias.
12008 2012-06-27 Chong Yidong <cyd@gnu.org>
12010 * help.el (help-enable-auto-load): New variable.
12012 * help-fns.el (help-fns--autoloaded-p): New function.
12013 (describe-function-1): Refer to a function as "autoloaded" if it
12014 was autoloaded at any time in the past. Perform autoloading if
12015 help-enable-auto-load is non-nil.
12017 2012-06-26 Eli Zaretskii <eliz@gnu.org>
12019 * makefile.w32-in (compile, compile-always): Depend on
12020 update-subdirs, not on subdirs.el. Otherwise, several different
12021 sub-targets of 'bootstrap' running in parallel could
12022 simultaneously write to subdirs.el, producing a garbled file.
12024 2012-06-26 Sam Steingold <sds@gnu.org>
12026 * files.el (file-name-base): New convenience function.
12027 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
12028 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
12029 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
12030 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
12031 * textmodes/ispell.el, textmodes/reftex-ref.el:
12032 * textmodes/tex-mode.el: Use it.
12033 Did not touch cedet and org because they are maintained elsewhere.
12035 2012-06-26 Martin Rudalics <rudalics@gmx.at>
12037 * calendar/calendar.el (calendar-exit): Don't try to delete or
12038 iconify last frame. See:
12039 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
12041 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
12043 * server.el (server-process-filter): Remember dir in the
12044 process's `server-client-directory' properties.
12046 2012-06-24 Chong Yidong <cyd@gnu.org>
12048 * xml.el (xml-parse-tag): Correctly handle comment embedded in
12051 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
12053 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
12055 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12057 * help-fns.el (describe-variable): Don't croak when doc is not found.
12058 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
12059 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
12060 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
12061 * emacs-lisp/smie.el (smie-next-sexp): CSE.
12062 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
12064 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
12066 2012-06-23 Chong Yidong <cyd@gnu.org>
12068 * info.el (Info-mouse-follow-link): Accept symbol values of
12069 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
12070 (Info-fontify-node): Use Info-link-keymap for all navigation
12071 buttons, with link-args property to perform the desired action.
12072 (Info-link-keymap): Doc fix.
12073 (Info-next-link-keymap, Info-prev-link-keymap)
12074 (Info-up-link-keymap): Delete now-unused keymaps.
12076 2012-06-23 Chong Yidong <cyd@gnu.org>
12078 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
12080 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
12083 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
12085 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12087 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
12090 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
12091 the requote function doesn't work properly (bug#11714).
12093 2012-06-23 Glenn Morris <rgm@gnu.org>
12095 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
12097 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12099 Further GV/CL cleanups.
12100 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
12102 (gv--defun-declaration): New function.
12103 (defun-declarations-alist): Use it.
12104 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
12105 (gv-place): Autoload.
12106 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
12107 original definition of dotimes and dolist.
12108 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
12109 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
12110 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
12111 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12112 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
12113 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
12114 to the function's definition.
12115 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
12119 * env.el: Don't use CL.
12121 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
12123 Support higher-resolution time stamps (Bug#9000).
12125 * calendar/time-date.el (with-decoded-time-value): New arg
12126 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
12127 (encode-time-value): New optional arg PICO. New type 3.
12128 (time-to-seconds) [!float-time]: Support the new picoseconds
12129 component if it's used.
12130 (seconds-to-time, time-subtract, time-add):
12131 Support ps-resolution time stamps as well.
12133 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
12134 (timerp): Timer vectors now have length 9, not 8.
12135 (timer--time): Support new-style (4-part) time stamps.
12136 (timer-next-integral-multiple-of-time): Time stamps now have
12137 picosecond resolution, so take a bit more care about rounding.
12138 (timer-relative-time, timer-inc-time): New optional arg psecs.
12139 (timer-set-time-with-usecs): Set psecs to 0.
12140 (timer--activate): Check psecs component, too.
12142 * proced.el (proced-time-lessp): Support ps-resolution stamps.
12144 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12146 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
12147 Move the non-essential binding to the post/pre-command-hook where it is
12148 more obviously correct.
12150 * subr.el (read-passwd): Don't use a history at all.
12151 * savehist.el (savehist-save): Remove password saved accidentally
12152 because of the above bug.
12154 2012-06-22 Bastien Guerry <bzg@gnu.org>
12156 * files.el (toggle-read-only): Display a message telling whether
12157 the buffer is read-only or not (bug#11726).
12159 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12161 * emacs-lisp/gv.el: New file.
12162 * subr.el (push, pop): Extend to generalized variables.
12163 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
12164 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
12165 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
12166 gv-define-simple-setter, and gv-define-expander.
12167 Remove setf-methods defined in gv. Rename cl-setf -> setf.
12168 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
12169 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
12170 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
12171 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
12173 (cl-defstruct): Don't define setf-method any more.
12174 * emacs-lisp/cl.el (flet): Don't autoload.
12175 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
12176 (define-setf-expander, defsetf, define-modify-macro)
12177 (cl-struct-setf-expander): Move from cl-lib.el.
12178 * emacs-lisp/syntax.el:
12179 * emacs-lisp/ewoc.el:
12180 * emacs-lisp/smie.el:
12181 * emacs-lisp/cconv.el:
12182 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
12183 (timer--time): Use gv-define-simple-setter.
12184 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
12185 to avoid coding-system problems in subr.el. Adjust all users.
12186 (macroexp--maxsize, macroexp-small-p): New functions.
12187 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
12188 * scroll-bar.el (scroll-bar-mode):
12189 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
12190 (normal-erase-is-backspace-mode): Don't use the `eq' place.
12191 * winner.el (winner-configuration, winner-make-point-alist)
12192 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
12193 * files.el (locate-file-completion-table): Avoid list*.
12195 2012-06-22 Chong Yidong <cyd@gnu.org>
12197 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
12198 (dired-create-files): Doc fix (Bug#11329).
12199 (dired-do-copy): Doc fix (Bug#11334).
12200 (dired-mark-read-string): Doc fix (Bug#11553).
12202 * dired.el (dired-recursive-copies, dired-recursive-deletes):
12203 Doc fix (Bug#11326).
12204 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
12205 (dired-dwim-target): Doc fix.
12207 * wdired.el (wdired-mode): Doc fix.
12209 2012-06-22 Glenn Morris <rgm@gnu.org>
12211 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
12212 (pcmpl-rpm-cache-stamp-file): New constant.
12213 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
12214 (pcmpl-rpm-packages): Optionally cache list of packages.
12216 * pcmpl-rpm.el (pcmpl-rpm): New group.
12217 (pcmpl-rpm-query-options): New option.
12218 (pcmpl-rpm-packages): No need to inline it.
12219 Use pcmpl-rpm-query-options.
12221 * calendar/calendar.el (calendar-in-read-only-buffer):
12222 Avoid some needless mode changes.
12224 2012-06-21 Chong Yidong <cyd@gnu.org>
12226 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
12227 (desktop-path): Remove . from the default value (Bug#10977).
12228 (desktop-read): Use user-emacs-directory if desktop-path is nil.
12230 2012-06-20 Chong Yidong <cyd@gnu.org>
12232 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
12234 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
12236 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
12239 2012-06-20 Chong Yidong <cyd@gnu.org>
12241 * term.el (term-window-width): Handle the case of a missing right
12243 (term-check-size): Use window-text-height (Bug#5445).
12244 (term-mode): Use define-derived-mode. Minor cleanups.
12245 Set font-lock-defaults (Bug#7692).
12246 (term-move-columns, term-insert-char, term-emulate-terminal)
12247 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
12249 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
12251 * net/ange-ftp.el (ange-ftp-get-passwd):
12252 Bind `enable-recursive-minibuffers'.
12253 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
12255 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
12257 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
12259 2012-06-19 Glenn Morris <rgm@gnu.org>
12261 * progmodes/python.el (python-mode): Derive from prog-mode.
12263 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
12265 * emulation/edt.el (edt-default-menu-bar-update-buffers)
12266 (edt-user-menu-bar-update-buffers): New functions.
12267 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
12269 2012-06-19 Chong Yidong <cyd@gnu.org>
12271 * subr.el (with-selected-window): Preserve the selected window's
12272 terminal's top-frame (Bug#4702).
12274 * window.el (save-selected-window): Likewise.
12276 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12278 * progmodes/python.el (python-rx-constituents): Move backquote.
12279 (python-skeleton-define, python-define-auxiliary-skeleton):
12282 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
12284 * minibuffer.el (read-file-name-default): Revert the patch from
12287 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12289 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
12290 (pcase--u1, pcase--q1): Don't use apply-partially.
12292 2012-06-18 Glenn Morris <rgm@gnu.org>
12294 * progmodes/python.el (python-proc, python-buffer)
12295 (python-send-receive, python-send-string): Fix obsolete versions.
12297 2012-06-18 Martin Rudalics <rudalics@gmx.at>
12299 * window.el (special-display-p): Completely remove stringp
12300 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
12302 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
12304 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
12306 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
12308 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
12309 * net/tramp-sh.el (tramp-maybe-open-connection):
12310 Throw if `non-essential' is non-nil.
12312 2012-06-17 Martin Rudalics <rudalics@gmx.at>
12314 * window.el (special-display-p): Signal an error if BUFFER-NAME
12315 is not a string (Bug#11713).
12317 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
12319 * progmodes/python.el (python-info-beginning-of-backslash):
12320 Rename from python-info-beginning-of-backlash, as a spelling fix.
12322 2012-06-17 Chong Yidong <cyd@gnu.org>
12324 * term.el (term-emulate-terminal): If term-check-size is called,
12325 move point to the process mark without resetting point (Bug#4635).
12327 2012-06-17 Glenn Morris <rgm@gnu.org>
12329 * international/mule-cmds.el (mule-menu-keymap)
12330 (set-language-environment, set-locale-environment): Doc tweaks.
12332 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
12334 * cus-face.el (custom-face-attributes): Add wave-style underline
12336 * faces.el (set-face-attribute): Update docstring to describe
12337 wave-style underline attribute.
12339 2012-06-16 Chong Yidong <cyd@gnu.org>
12341 * term/xterm.el (terminal-init-xterm): Discard input before
12342 querying background mode (Bug#10959).
12344 2012-06-16 Stefan Merten <smerten@oekonux.de>
12346 * textmodes/rst.el: Added and corrected some comments.
12347 (rst-re-alist-def): Improve symbol syntax.
12348 (rst-mode-syntax-table): Correct syntax entries.
12349 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
12350 (rst-official-version, rst-official-cvs-rev): Update version
12353 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
12355 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
12356 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
12358 2012-06-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
12360 * progmodes/python.el: New python.el merge.
12361 (python-guess-indent): Obsolete var.
12362 (python-indent-guess-indent-offset): New defcustom.
12363 (python-indent): Obsolete var.
12364 (python-indent-offset): New defcustom.
12365 (python-python-command, python-jython-command): Delete var.
12366 (python-shell-interpreter): New defcustom.
12367 (python-pdbtrack-do-tracking-p): Delete var.
12368 (python-pdbtrack-activate): New defcustom.
12369 (python-use-skeletons): Obsolete var.
12370 (python-skeleton-autoinsert): New defcustom.
12371 (inferior-python-filter-regexp, python-continuation-offset)
12372 (python-honour-comment-indentation, python-indent-string-contents)
12373 (python-jython-packages, python-mode-hook)
12374 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
12375 (python-shell-prompt-alist)
12376 (python-source-modes): Delete defcustoms.
12377 (python-check-buffer-name, python-eldoc-setup-code)
12378 (python-eldoc-string-code, python-ffap-setup-code)
12379 (python-ffap-string-code, python-fill-comment-function)
12380 (python-fill-decorator-function, python-fill-paren-function)
12381 (python-fill-string-function, python-imenu-include-defun-type)
12382 (python-imenu-make-tree, python-imenu-subtree-root-label)
12383 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
12384 (python-shell-compilation-regexp-alist)
12385 (python-shell-completion-module-string-code)
12386 (python-shell-completion-pdb-string-code)
12387 (python-shell-completion-setup-code)
12388 (python-shell-completion-string-code)
12389 (python-shell-enable-font-lock, python-shell-exec-path)
12390 (python-shell-extra-pythonpaths)
12391 (python-shell-internal-buffer-name, python-shell-interpreter-args)
12392 (python-shell-process-environment)
12393 (python-shell-prompt-block-regexp)
12394 (python-shell-prompt-output-regexp)
12395 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
12396 (python-shell-send-setup-max-wait, python-shell-setup-codes)
12397 (python-shell-virtualenv-path): New defcustoms.
12398 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
12399 (inferior-python-mode-syntax-table, python--prompt-regexp)
12400 (python-buffer, python-command python-python-command)
12401 (python-default-template, python-imports, python-indent-index)
12402 (python-indent-list, python-indent-list-length)
12403 (python-mode-running, python-pdbtrack-is-tracking-p)
12404 (python-preoutput-continuation, python-preoutput-leftover)
12405 (python-preoutput-result, python-preoutput-skip-next-prompt)
12406 (python-prev-dir/file, python-recursing)
12407 (python-saved-check-command, python-version-checked)
12408 (python-which-func-length-limit)
12409 (view-return-to-alist): Delete vars.
12410 (python-check-custom-command, python-dotty-syntax-table)
12411 (python-imenu-index-alist, python-indent-current-level)
12412 (python-indent-dedenters, python-indent-levels)
12413 (python-nav-beginning-of-defun-regexp)
12414 (python-nav-list-defun-positions-cache)
12415 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
12416 (python-shell-internal-buffer)
12417 (python-skeleton-available): New vars.
12418 (def-python-skeleton): Delete macro.
12419 (python-skeleton-define): New macro.
12420 (python-define-auxiliary-skeleton, python-rx): New macros.
12421 (python-insert-class): Delete command.
12422 (python-skeleton-class): New command.
12423 (python-insert-def): Delete command.
12424 (python-skeleton-def): New command.
12425 (python-insert-for): Delete command.
12426 (python-skeleton-for): New command.
12427 (python-insert-if): Delete command.
12428 (python-skeleton-if): New command.
12429 (python-insert-try/except, python-insert-try/finally): Delete commands.
12430 (python-skeleton-try): New command.
12431 (python-insert-while): Delete command.
12432 (python-skeleton-while): New command.
12433 (python-backspace): Delete command.
12434 (python-indent-dedent-line-backspace): New command.
12435 (python-electric-colon): Delete command.
12436 (python-indent-electric-colon): New command.
12437 (python-guess-indent): Delete command.
12438 (python-indent-guess-indent-offset): New command.
12439 (python-shift-left): Delete command.
12440 (python-indent-shift-left): New command.
12441 (python-shift-right): Delete command.
12442 (python-indent-shift-right): New command.
12443 (python-find-function): Delete command.
12444 (python-nav-jump-to-defun): New command.
12445 (python-next-statement): Delete command.
12446 (python-nav-forward-sentence): New command.
12447 (python-previous-statement): Delete command.
12448 (python-nav-backward-sentence): New command.
12449 (python-fill-paragraph): Delete command.
12450 (python-fill-paragraph-function): New command.
12451 (python-send-buffer): Delete command.
12452 (python-shell-send-buffer): New command.
12453 (python-send-defun): Delete command.
12454 (python-shell-send-defun): New command.
12455 (python-send-region, python-send-region-and-go): Delete commands.
12456 (python-shell-send-region)
12457 (python-shell-switch-to-shell): New commands.
12458 (python-send-string): Delete command.
12459 (python-shell-send-string): New command.
12460 (python-switch-to-python): Delete command.
12461 (python-shell-switch-to-shell): New command.
12462 (python-describe-symbol): Delete command.
12463 (python-eldoc-at-point): New command.
12464 (python--set-prompt-regexp, python-args-to-list)
12465 (python-after-info-look, python-check-version)
12466 (python-check-comint-prompt, python-find-imports)
12467 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
12468 (python-unload-function, python-expand-template)
12469 (python-maybe-jython, python-preoutput-filter)
12470 (python-pdbtrack-get-source-buffer)
12471 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
12472 (python-pdbtrack-toggle-stack-tracking)
12473 (python-pdbtrack-track-stack-file, python-initial-text)
12474 (python-first-word, python-comment-line-p, python-send-command)
12475 (python-setup-brm, python-sentinel, python-set-proc)
12476 (python-skip-out, python-input-filter, python-outdent-p)
12477 (python-outline-level, python-backslash-continuation-line-p)
12478 (python-end-of-block, python-end-of-statement, python-mark-block)
12479 (python-beginning-of-block, python-beginning-of-statement)
12480 (python-blank-line-p, python-beginning-of-string)
12481 (python-open-block-statement-p): Delete functions.
12482 (python-indent-line, python-indent-line-1): Delete functions.
12483 (python-indent-line): New function.
12484 (python-indentation-levels): Delete function.
12485 (python-indent-calculate-levels): New function.
12486 (python-proc): Delete function.
12487 (python-shell-get-process): New function.
12488 (python-send-receive): Delete function.
12489 (python-shell-send-string-no-output): New function.
12490 (python-module-path): Delete function.
12491 (python-ffap-module-path): New function.
12492 (python-completion-at-point)
12493 (python-symbol-completions): Delete functions.
12494 (python-completion-complete-at-point): New function.
12495 (python-load-file): Delete function.
12496 (python-shell-send-file): New function.
12497 (python-calculate-indentation): Delete function.
12498 (python-indent-calculate-indentation): New function.
12499 (python-skip-comments/blanks): Delete function.
12500 (python-util-forward-comment): New function.
12501 (python-continuation-line-p): Delete function.
12502 (python-info-continuation-line-p): New function.
12503 (python-which-func, python-current-defun): Delete function.
12504 (python-info-current-defun): New function.
12505 (python-beginning-of-defun): Delete function.
12506 (python-nav-beginning-of-defun): New function.
12507 (python-close-block-statement-p)
12508 (python-block-end-p): Delete function.
12509 (python-info-closing-block): New function.
12510 (python-comint-output-filter-function)
12511 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
12512 (python-fill-comment, python-fill-decorator, python-fill-paren)
12513 (python-fill-string, python-imenu-make-element-tree)
12514 (python-imenu-make-tree, python-imenu-tree-assoc)
12515 (python-indent-context, python-indent-dedent-line)
12516 (python-indent-line-function)
12517 (python-indent-post-self-insert-function)
12518 (python-indent-toggle-levels)
12519 (python-info-assignment-continuation-line-p)
12520 (python-info-beginning-of-backlash)
12521 (python-info-block-continuation-line-p)
12522 (python-info-closing-block-message)
12523 (python-info-line-ends-backslash-p)
12524 (python-info-looking-at-beginning-of-defun)
12525 (python-info-ppss-context, python-info-ppss-context-type)
12526 (python-nav-list-defun-positions, python-nav-read-defun)
12527 (python-nav-sentence-end, python-nav-sentence-start)
12528 (python-pdbtrack-comint-output-filter-function)
12529 (python-pdbtrack-set-tracked-buffer)
12530 (python-shell-calculate-exec-path)
12531 (python-shell-calculate-process-environment)
12532 (python-shell-completion--do-completion-at-point)
12533 (python-shell-completion--get-completions)
12534 (python-shell-completion-complete-at-point)
12535 (python-shell-completion-complete-or-indent)
12536 (python-shell-get-or-create-process)
12537 (python-shell-get-process-name)
12538 (python-shell-internal-get-or-create-process)
12539 (python-shell-internal-get-process-name)
12540 (python-shell-internal-send-string, python-shell-make-comint)
12541 (python-shell-parse-command, python-shell-send-setup-code)
12542 (python-skeleton-add-menu-items)
12543 (python-util-clone-local-variables, python-util-position)
12544 (run-python-internal, python-indentation-levels)
12545 (python-nav-beginning-of-defun)
12546 (python-completion-complete-at-point): New functions.
12547 (run-python): Change arguments. New API requirements.
12549 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12551 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
12554 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
12555 (macroexp--expand-all): Use it.
12557 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
12558 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
12559 Use `cl-function' instead.
12561 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
12563 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
12564 Suggested by Stefan Monnier while discussing bug#11657.
12566 2012-06-14 Sam Steingold <sds@gnu.org>
12568 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
12570 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
12572 * play/doctor.el (doctor-doc): Remove parameter and use
12573 doctor-sent instead of sent.
12574 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
12576 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12578 * files.el: Require cl-lib.
12579 (file-name-non-special): Replace case -> cl-case.
12581 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
12583 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
12584 mapping from #' to function*.
12586 2012-06-13 Chong Yidong <cyd@gnu.org>
12588 * mouse.el (mouse-drag-track): Do not set the mark if the user
12589 releases the mouse without selecting anything (Bug#11588).
12591 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12593 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
12594 as well (bug#11646).
12596 * loadup.el: Count byte-code functions as well.
12598 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
12599 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
12601 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
12602 (bug#11649). Add cl-defun and cl-defmacro.
12604 2012-06-13 Drew Adams <drew.adams@oracle.com>
12606 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12609 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
12611 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
12612 Otherwise, it blocks in batch mode.
12614 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
12616 * help-mode.el (bookmark-make-record-default): Declare.
12618 2012-06-13 Chong Yidong <cyd@gnu.org>
12620 * emacs-lisp/package.el (list-packages): Compute a list of
12621 packages that are newly-available since the last list-packages
12623 (package-menu--new-package-list): New var.
12624 (package-menu--generate, package-menu--print-info)
12625 (package-menu--status-predicate, package-menu-mark-install):
12626 Handle new status label "new".
12628 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12630 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
12631 conversion to backquotes.
12633 2012-06-12 Chong Yidong <cyd@gnu.org>
12635 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
12636 Rename from gud-inhibit-global-bindings.
12638 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
12640 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
12641 hook from nxml-glyph-set-hook.
12643 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
12646 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
12648 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
12649 Convert to defcustom.
12651 2012-06-12 Drew Adams <drew.adams@oracle.com>
12653 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12655 (help-mode): Use them.
12657 2012-06-11 Glenn Morris <rgm@gnu.org>
12659 * progmodes/fortran.el (fortran-font-lock-keywords-3):
12660 Use preprocessor face for directives.
12661 (fortran-directive-re): Doc fix.
12663 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12665 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
12666 conversion to backquotes (bug#11652).
12668 Fix compiler-expansion of CL's cXXr functions (bug#11673).
12669 * emacs-lisp/cl-lib.el (cl--defalias): New function.
12670 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
12671 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
12672 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12673 (cl-ninth, cl-tenth): Mark them as inlinable.
12674 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
12675 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
12676 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
12677 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
12678 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
12679 (cl-list*, cl-adjoin): Don't put an autoload manually.
12680 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
12681 (cl--compiler-macro-list*): Add autoload cookie.
12682 (cl--compiler-macro-cXXr): New function.
12684 * help-fns.el (help-fns--compiler-macro): New function extracted from
12685 describe-function-1; follow aliases and use `compiler-macro' property.
12686 (describe-function-1): Use it.
12688 2012-06-11 Chong Yidong <cyd@gnu.org>
12690 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
12691 is uninstalled, if imagemagick is installed.
12693 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12695 * emacs-lisp/cl-lib.el: Use lexical-binding.
12696 (cl-map-extents, cl-maclisp-member): Remove.
12697 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
12698 (cl--set-substring, cl--block-wrapper, cl--block-throw)
12699 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
12700 * emacs-lisp/cl-extra.el: Use lexical-binding.
12701 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
12702 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
12703 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
12704 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
12705 * emacs-lisp/cl-seq.el: Use lexical-binding.
12706 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
12707 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
12708 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
12709 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
12710 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
12713 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
12715 Sync with Tramp 2.2.6-pre.
12717 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
12718 `print-length' and `print-level' to nil, in order to avoid
12719 truncation. Reported by Christopher Schmidt
12720 <christopher@ristopher.com>.
12722 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
12724 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
12726 (tramp-compat-copy-directory): Add optional argument
12727 COPY-CONTENTS. It is not handled yet.
12729 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
12730 (tramp-ftp-file-name-p): Simplify.
12732 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
12733 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
12736 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
12737 (tramp-methods): Do not use `tramp-password-end-of-line'.
12738 (tramp-completion-function-alist-putty): Handle UNIX case.
12739 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
12740 (tramp-do-file-attributes-with-stat)
12741 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
12742 gid as real numbers. They could run out of integer range on cygwin.
12743 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
12744 (tramp-sh-handle-expand-file-name): Handle hops.
12745 (tramp-open-connection-setup-interactive-shell):
12746 Use `tramp-cleanup'. Move check for busyboxes ...
12747 (tramp-find-shell): ... here. Simplify implementation.
12748 Set "remote-shell" property also for alternative shells.
12749 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
12750 If failing, a regular file would be written otherwise.
12751 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
12752 (tramp-find-inline-encoding): Cache the coding commands in the
12753 process cache. Apply test command on the remote side, if defined.
12754 (tramp-find-inline-compress): Cache the compress commands in the
12756 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
12757 when requested. Handle hops.
12758 (tramp-current-connection): New defvar.
12759 (tramp-maybe-open-connection): Use `tramp-cleanup'.
12760 Throw `suppress', if there was a failed connection shortly before.
12761 Handle user interrupt. (Bug#10187)
12762 (tramp-get-inline-compress, tramp-get-inline-coding):
12763 Read connection properties from the process cache.
12765 * net/tramp-smb.el (tramp-smb-server-version)
12766 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
12768 (tramp-smb-prompt): Extend for powershell prompt.
12769 (tramp-smb-file-name-handler-alist): Add handlers for
12770 `process-file', `shell-command' and `start-file-process'.
12771 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
12772 (tramp-smb-winexe-shell-command-switch): New defcustoms.
12773 (tramp-smb-file-name-p): Simplify.
12774 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
12775 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
12776 (tramp-smb-shell-quote-argument): New defuns.
12777 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
12778 Implement using "tar". By this, time-stamps are preserved.
12779 (tramp-smb-handle-copy-file): Handle also the case of directories.
12780 (tramp-smb-do-file-attributes-with-stat)
12781 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
12782 Use `tramp-get-connection-buffer').
12783 (tramp-smb-handle-rename-file): Use "rename", when source and
12784 target are on the same share.
12785 (tramp-smb-maybe-open-connection): Handle wrong passwords.
12786 Use `tramp-smb-server-version'.
12787 (tramp-smb-wait-for-output): Remove prompt.
12789 * net/tramp.el (top): Require 'cl.
12790 (tramp-methods, tramp-rsh-end-of-line):
12791 Remove `tramp-password-end-of-line' from docstring.
12792 (tramp-save-ad-hoc-proxies): New defcustom.
12793 (tramp-completion-function-alist): Adapt docstring.
12794 (tramp-default-password-end-of-line): Remove defcustom.
12795 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
12796 (tramp-user-regexp, tramp-file-name-regexp-unified)
12797 (tramp-file-name-regexp-url): Extend regexp by hop separator.
12798 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
12799 (tramp-remote-file-name-spec-regexp): New defconst.
12800 (tramp-file-name-structure): Extend structure for hops.
12801 (tramp-get-method-parameter): Move up.
12802 (tramp-file-name-p, tramp-dissect-file-name)
12803 (with-parsed-tramp-file-name): Handle hops.
12804 (tramp-file-name-hop): New defun.
12805 (tramp-make-tramp-file-name): New optional arg HOP.
12806 (tramp-message-show-progress-reporter-message): New defvar.
12807 (tramp-with-progress-reporter): Use it. We cannot use
12808 `tramp-message-show-message' here, because this suppresses also
12810 (tramp-error-with-buffer): Suppress buffer view, if
12811 `tramp-message-show-message' is nil.
12812 Use `tramp-get-connection-buffer'.
12813 (tramp-cleanup): New defun.
12814 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
12815 (tramp-file-name-handler): If `debug-on-error' is set, propagate
12816 an error unchanged.
12817 (tramp-completion-handle-file-name-all-completions): Handle hops.
12818 Fix an error when called from ido.
12819 (tramp-completion-dissect-file-name): Use better local variable
12820 name. Add hop to the vector.
12821 (tramp-handle-insert-file-contents): Use progress-reporter for the
12823 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
12825 (tramp-check-for-regexp): Simplify search.
12826 (tramp-enter-password): Remove it. Move implementation ...
12827 (tramp-action-password): ... here.
12828 (tramp-mode-string-to-int, tramp-local-host-p)
12829 (tramp-make-tramp-temp-file, tramp-read-passwd)
12830 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
12831 Set tramp-autoload cookie.
12833 * net/trampver.el: Update release number.
12835 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12836 Michael Albinus <michael.albinus@gmx.de>
12838 * net/tramp.el (tramp-set-completion-function): Fix docstring.
12839 (tramp-parse-group, tramp-parse-file)
12840 (tramp-parse-shostkeys-sknownhosts): New defuns.
12841 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
12842 (tramp-parse-shosts-group, tramp-parse-sconfig)
12843 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
12844 (tramp-parse-sknownhosts, tramp-parse-hosts)
12845 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
12847 (tramp-parse-passwd-group, tramp-parse-netrc-group)
12848 (tramp-parse-putty-group): Don't narrow.
12849 (tramp-parse-putty): Make a loop.
12850 (tramp-file-name-handler): Catch the `suppress' signal.
12852 2012-06-11 Chong Yidong <cyd@gnu.org>
12854 * image.el (imagemagick-register-types): Put the ImageMagick entry
12855 at the end of image-type-file-name-regexps.
12857 2012-06-11 Johan BockgĂ¥rd <bojohan@gnu.org>
12859 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
12860 (pcase, pcase-let*, pcase-dolist): Use them.
12862 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12864 * emacs-lisp/pcase.el (pcase--let*): New function.
12865 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
12866 (pcase--expand): Use macroexp-let².
12868 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
12870 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
12871 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
12872 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
12873 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
12874 * emacs-lisp/derived.el: Use pcase instead of `cl'.
12875 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
12877 2012-06-10 Glenn Morris <rgm@gnu.org>
12879 * mail/rmail.el (rmail-yank-current-message): Leave point at
12880 correct position. (Bug#11660)
12882 2012-06-10 Chong Yidong <cyd@gnu.org>
12884 * allout-widgets.el: Fix code header.
12886 2012-06-10 Chong Yidong <cyd@gnu.org>
12888 * cus-edit.el (customize-changed-options-previous-release):
12891 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
12893 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
12895 2012-06-09 Chong Yidong <cyd@gnu.org>
12897 * ebuff-menu.el (electric-buffer-list): Preserve header line.
12899 2012-06-09 Martin Rudalics <rudalics@gmx.at>
12901 * window.el (special-display-popup-frame): Don't use
12902 window--display-buffer (Bug#11651).
12904 2012-06-09 Eli Zaretskii <eliz@gnu.org>
12906 Fix parallel builds: make sure loaddefs.el is not being written
12907 while Lisp files are compiled.
12908 (compile): Don't depend on 'mh-autoloads'.
12909 (compile-CMD, compile-SH): Depend on 'autoloads'.
12910 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
12912 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
12914 2012-06-09 Chong Yidong <cyd@gnu.org>
12916 * face-remap.el (face-remap-add-relative, face-remap-set-base)
12917 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
12918 Doc fixes (Bug#11225).
12920 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
12922 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
12923 a function if there's a clear indication that it has a compiler-macro.
12924 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
12925 (macro-declarations-alist): Add arglist to declaration functions.
12926 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
12927 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
12928 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
12929 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
12930 Also add autoload to find the compiler macro.
12931 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
12932 (cl--compiler-macro-member, cl--compiler-macro-assoc)
12933 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
12934 (cl--compiler-macro-get): New functions, replacing calls to
12935 cl-define-compiler-macro.
12936 (cl-typep) [compiler-macro]: Use macroexp-let².
12938 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
12940 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
12941 string properly, fixes Bug#11473.
12943 2012-06-08 Chong Yidong <cyd@gnu.org>
12945 * faces.el (set-face-attribute): Doc fix.
12946 (modify-face): Don't use :bold and :italic.
12947 (error, warning, success): Tweak definitions.
12949 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
12950 (custom-modified, custom-set, custom-changed, custom-themed)
12951 (custom-saved, custom-button, custom-button-mouse)
12952 (custom-button-pressed, custom-state, custom-comment-tag)
12953 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
12954 (custom-group-subtitle): Use new-style face specs.
12955 (custom-invalid-face, custom-rogue-face, custom-modified-face)
12956 (custom-set-face, custom-changed-face, custom-saved-face)
12957 (custom-button-face, custom-button-pressed-face)
12958 (custom-documentation-face, custom-state-face)
12959 (custom-comment-face, custom-comment-tag-face)
12960 (custom-variable-tag-face, custom-variable-button-face)
12961 (custom-face-tag-face, custom-group-tag-face-1)
12962 (custom-group-tag-face): Remove obsolete face alias.
12964 * epa.el (epa-validity-high, epa-validity-medium)
12965 (epa-validity-low, epa-mark, epa-field-name, epa-string)
12966 (epa-field-name, epa-field-body):
12967 * font-lock.el (font-lock-comment-face, font-lock-string-face)
12968 (font-lock-keyword-face, font-lock-builtin-face)
12969 (font-lock-function-name-face, font-lock-variable-name-face)
12970 (font-lock-type-face, font-lock-constant-face):
12971 * ido.el (ido-first-match, ido-only-match, ido-subdir)
12972 (ido-virtual, ido-indicator, ido-incomplete-regexp):
12973 * speedbar.el (speedbar-button-face, speedbar-file-face)
12974 (speedbar-directory-face, speedbar-tag-face)
12975 (speedbar-selected-face, speedbar-highlight-face)
12976 (speedbar-separator-face):
12977 * whitespace.el (whitespace-newline, whitespace-space)
12978 (whitespace-hspace, whitespace-tab, whitespace-trailing)
12979 (whitespace-line, whitespace-space-before-tab)
12980 (whitespace-space-after-tab, whitespace-indentation)
12981 (whitespace-empty):
12982 * emulation/cua-base.el (cua-global-mark):
12983 * eshell/em-prompt.el (eshell-prompt):
12984 * net/newst-plainview.el (newsticker-new-item-face)
12985 (newsticker-old-item-face, newsticker-immortal-item-face)
12986 (newsticker-obsolete-item-face, newsticker-date-face)
12987 (newsticker-statistics-face, newsticker-default-face):
12988 * net/newst-reader.el (newsticker-feed-face)
12989 (newsticker-extra-face, newsticker-enclosure-face):
12990 * net/newst-treeview.el (newsticker-treeview-face)
12991 (newsticker-treeview-new-face, newsticker-treeview-old-face)
12992 (newsticker-treeview-immortal-face)
12993 (newsticker-treeview-obsolete-face)
12994 (newsticker-treeview-selection-face):
12995 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
12996 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
12997 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
12998 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
12999 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
13000 (nxml-outline-active-indicator, nxml-outline-ellipsis):
13001 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
13003 * progmodes/vera-mode.el (vera-font-lock-number)
13004 (vera-font-lock-function, vera-font-lock-interface):
13005 * textmodes/table.el (table-cell): Use new-style face specs, and
13006 don't use the old :bold and :italic attributes.
13008 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
13009 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
13010 (ebrowse-member-class, ebrowse-progress): Likewise.
13011 (ebrowse-tree-mark-face, ebrowse-root-class-face)
13012 (ebrowse-file-name-face, ebrowse-default-face)
13013 (ebrowse-member-attribute-face, ebrowse-member-class-face)
13014 (ebrowse-progress-face): Remove obsolete faces.
13016 * progmodes/flymake.el (flymake-errline, flymake-warnline):
13017 Inherit from error and warning faces respectively.
13019 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
13021 (flyspell-incorrect-face, flyspell-duplicate-face):
13022 Remove obsolete aliases.
13024 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
13026 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13029 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13031 * startup.el (argv, argi): Make lexically scoped.
13032 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
13033 * emacs-lisp/cl-macs.el: Use lexical-binding.
13034 Rename cl-bind-* to cl--bind-*.
13035 * files.el: Don't require `cl' since it doesn't use it.
13036 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
13038 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
13040 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
13041 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
13042 instead of calling external sort utility.
13043 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
13045 2012-06-08 Eli Zaretskii <eliz@gnu.org>
13047 * descr-text.el (describe-char): Mention how to insert the
13048 character, if the current input method doesn't support it.
13049 See the discussion in this thread for the details:
13050 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
13052 2012-06-08 Sam Steingold <sds@gnu.org>
13054 * bindings.el (global-map): Bind XF86Forward to next-buffer and
13055 XF86Back to previous-buffer.
13056 (minibuffer-local-map): Bind them to next-history-element and
13057 previous-history-element respectively.
13058 * help-mode.el (help-mode-map): Bind them to help-go-forward and
13059 help-go-back respectively.
13060 * info.el (Info-mode-map): Bind them to Info-history-forward and
13061 Info-history-back respectively.
13062 These are the keys next to Up on the ThinkPad keyboard.
13064 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13066 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
13067 * emacs-lisp/cl-macs.el: Provide itself.
13068 (cl--labels-convert-cache): New var.
13069 (cl--labels-convert): New function.
13070 (cl-flet, cl-labels): New implementation with new semantics, relying on
13072 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
13073 (cl-closure-vars, cl--function-convert-cache)
13074 (cl--function-convert): Move from cl-macs.el.
13075 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
13076 rename by removing the "cl-" prefix.
13077 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
13079 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13081 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
13082 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
13083 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
13084 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
13085 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
13086 (cl-hash-table-count): Add old compatibility aliases.
13088 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
13089 Use macroexpand-all-environment instead.
13090 (cl--old-macroexpand): New var.
13091 (cl--sm-macroexpand): New function.
13092 (cl-symbol-macrolet): Use it during macro expansion.
13093 (cl--function-convert-cache): New var.
13094 (cl--function-convert): New function, extracted from
13095 cl-macroexpand-all.
13096 (cl-lexical-let): Use it.
13098 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
13099 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
13100 (cl-member): Remove old alias.
13102 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
13103 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
13104 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
13105 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
13106 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
13107 (cl-macroexpand-cmacs): Remove var.
13108 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
13109 Use macroexpand-all instead.
13111 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13113 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
13114 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
13115 (macroexp-copyable-p): New functions and macros.
13116 * emacs-lisp/edebug.el (edebug-unwrap):
13117 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
13118 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
13119 (pcase--let*): Remove.
13120 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
13121 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
13122 macroexp-const-p instead.
13123 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
13125 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
13126 instead of "cl-" for internal definitions. Use macroexp-const-p.
13127 (cl-old-bc-file-form): Remove var.
13128 (cl-const-exprs-p): Remove fun.
13129 (cl-labels, cl-macrolet): Use backquote.
13130 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
13131 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
13132 (cl-define-setf-expander): Rename from cl-define-setf-method.
13133 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
13135 * international/mule-cmds.el: Don't require CL.
13136 (view-hello-file): Don't use `letf'.
13138 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13140 * tmm.el (tmm-prompt): Use string-prefix-p.
13141 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
13142 (tmm-add-prompt): Use minibuffer-completion-help.
13143 (tmm-delete-map): Remove.
13145 * subr.el (kbd): Make it its own function.
13147 2012-06-07 Stefan Merten <smerten@oekonux.de>
13149 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
13150 Silence compiler warnings. Fix versions.
13151 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
13152 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
13153 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
13154 (rst-package-emacs-version-alist): Correct Emacs version to
13155 represent major merge with upstream.
13156 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
13158 2012-06-06 Glenn Morris <rgm@gnu.org>
13160 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
13161 Only print environment variables if set.
13163 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13165 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
13166 (macroexp--cons): Rename from maybe-cons.
13167 (macroexp--accumulate): Rename from macroexp-accumulate.
13168 (macroexp--all-forms): Rename from macroexpand-all-forms.
13169 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
13170 (macroexp--expand-all): Rename from macroexpand-all-1.
13172 2012-06-06 Sam Steingold <sds@gnu.org>
13174 * calendar/calendar.el (calendar-in-read-only-buffer):
13175 Call `special-mode' to enable the standard read-only keybindings.
13177 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13179 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
13180 with "loading" messages (bug#11635).
13182 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
13184 * files.el (enable-remote-dir-locals): New option.
13185 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
13187 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13188 Ensure, that the temp directory is local.
13190 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
13191 `temporary-file-directory'.
13193 * progmodes/python.el (python-send-region): Ensure, that the
13194 temporary file is created also in the remote case.
13196 2012-06-06 Glenn Morris <rgm@gnu.org>
13198 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
13199 (vc-rcs-update-changelog): Use it.
13201 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
13203 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
13204 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
13205 (vc-sccs-diff): Replace use of the external vcdiff script.
13207 2012-06-05 Glenn Morris <rgm@gnu.org>
13209 * ledit.el: Move to obsolete/.
13211 2012-06-05 Sam Steingold <sds@gnu.org>
13213 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
13216 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13218 * emacs-lisp/cust-print.el: Move to obsolete.
13220 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
13221 compiler-macro expansion.
13223 Add native compiler-macro support.
13224 * emacs-lisp/macroexp.el (macroexpand-all-1):
13225 Support compiler-macros directly. Properly follow aliases and apply
13226 the compiler macros more thoroughly.
13227 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
13228 macroexpand now properly follows aliases.
13229 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
13230 (cl-compiler-macroexpand): Use new prop.
13231 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
13233 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
13235 2012-06-05 Martin Rudalics <rudalics@gmx.at>
13237 * window.el (get-lru-window, get-mru-window, get-largest-window):
13238 New argument NOT-SELECTED to avoid picking the selected window.
13239 (window--display-buffer-1, window--display-buffer-2): Replace by
13240 new function window--display-buffer
13241 (display-buffer-same-window, display-buffer-reuse-window)
13242 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13243 Use window--display-buffer.
13244 (display-buffer-use-some-window): Remove temporary dedication
13245 hack by calling get-lru-window and get-largest-window with
13246 NOT-SELECTED argument non-nil. Call window--display-buffer.
13248 2012-06-05 Glenn Morris <rgm@gnu.org>
13250 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
13251 Replace external vcdiff script.
13253 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13255 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
13257 2012-06-04 Chong Yidong <cyd@gnu.org>
13259 * image.el (imagemagick-types-inhibit): Revert last change.
13261 (imagemagick-enabled-types): Remove CIN and EPS*.
13263 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13265 * emacs-lisp/cl-lib.el: Rename from cl.el.
13266 * emacs-lisp/cl.el: New compatibility file.
13267 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
13268 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
13269 to obey the "cl-" prefix.
13270 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
13272 2012-06-03 Glenn Morris <rgm@gnu.org>
13274 * emacs-lisp/authors.el (authors-aliases): Addition.
13276 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
13279 2012-06-03 Stefan Merten <smerten@oekonux.de>
13281 * textmodes/rst.el: Add comments.
13282 (rst-transition, rst-adornment): New faces.
13283 (rst-adornment-faces-alist): Make default safe to reevaluate.
13285 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
13286 Improve customization tags.
13287 (rst-define-level-faces): Clarify meaning.
13289 2012-06-03 Chong Yidong <cyd@gnu.org>
13291 * progmodes/compile.el (compilation-mode-line-fail)
13292 (compilation-mode-line-run, compilation-mode-line-exit):
13294 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
13296 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
13298 * progmodes/which-func.el (which-func-update-ediff-windows):
13299 New function. Use it in ediff-select-hook (Bug#11478).
13301 2012-06-03 Chong Yidong <cyd@gnu.org>
13303 * bindings.el: Remove explicit help text from format-mode-line.
13304 It is now supplied by mode-line-default-help-echo.
13305 (mode-line-front-space, mode-line-end-spaces)
13306 (mode-line-misc-info): New variables.
13307 (mode-line-modes, mode-line-position): Move the default value to
13308 the variable definition.
13309 (mode-line-default-help-echo): New defcustom.
13310 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
13311 (mode-line-modified-help-echo): New functions.
13312 (mode-line-mule-info, mode-line-modified): Use them.
13313 (mode-line-eol-desc, propertized-buffer-identification):
13314 Consistency fixes for help text.
13315 (mode-line-coding-system-map): Allow using mouse-3 to invoke
13316 set-buffer-file-coding-system (Bug#289).
13317 (mode-line-mule-info-help-echo): Update help text.
13319 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13321 * simple.el (execute-extended-command): Set real-this-command
13324 2012-06-02 Chong Yidong <cyd@gnu.org>
13326 Remove incorrect uses of "modeline" in comments, docstrings, and
13327 function/variable names (Bug#10329).
13329 * cus-edit.el (mode-line):
13330 * dframe.el (dframe-mouse-hscroll):
13331 * emacs-lisp/re-builder.el:
13332 * emacs-lisp/easy-mmode.el (define-minor-mode):
13333 * frame.el (set-frame-name):
13334 * help.el (lookup-minor-mode-from-indicator):
13335 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
13336 * progmodes/cc-cmds.el (c-toggle-auto-newline)
13337 (c-toggle-hungry-state):
13338 * progmodes/antlr-mode.el (antlr-language-alist):
13339 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
13340 * progmodes/vhdl-mode.el (vhdl-mode):
13341 * progmodes/which-func.el (which-func, which-func-cleanup-function):
13342 * term/ns-win.el (ns-face-at-pos):
13343 * term/sup-mouse.el (sup-mouse-report):
13344 * textmodes/flyspell.el (flyspell-mode-line-string):
13345 * textmodes/ispell.el (ispell-highlight-face):
13346 * textmodes/reftex-global.el:
13347 * vc/vc-arch.el (vc-arch-mode-line-string):
13348 * vc/vc-cvs.el (vc-cvs-mode-line-string):
13349 * vc/vc-git.el (vc-git-mode-line-string):
13350 * vc/vc-hooks.el (vc-display-status)
13351 (vc-default-mode-line-string):
13352 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
13354 * ansi-color.el (ansi-color-faces-vector): Change default faces.
13356 * dired.el (dired-sort-set-mode-line): Rename from
13357 dired-sort-set-modeline. All callers changed.
13359 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
13360 eshell-status-in-modeline.
13362 * foldout.el (foldout-mode-line-string): Rename from
13363 foldout-modeline-string. All callers changed.
13364 (foldout-update-mode-line): Rename from foldout-update-modeline.
13366 * subr.el (redraw-modeline): Make into obsolete alias.
13368 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
13369 timeclock-modeline-display. Make old name an alias.
13370 (timeclock-update-mode-line): Likewise. All callers changed.
13371 (timeclock-mode-line-display): No need to check before using
13373 (timeclock-relative, timeclock-day-over-hook)
13374 (timeclock-use-elapsed, timeclock-mode-string)
13375 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
13377 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
13378 crisp-mode-modeline-string.
13380 * play/solitaire.el (solitaire-build-mode-line): Rename from
13381 solitaire-build-modeline. All callers changed.
13383 * play/zone.el (zone-hiding-mode-line): Rename from
13384 zone-hiding-modeline. All callers changed.
13385 (zone): Remove unusued `modeline-hidden-level' property.
13387 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
13388 xscheme-modeline-initialize. All callers changed.
13390 * strokes.el (strokes-lighter): Rename from
13391 strokes-modeline-string.
13393 * textmodes/sgml-mode.el (html-face-tag-alist)
13394 (html-tag-face-alist): Use mode-line face instead of obsolete
13397 2012-06-02 Stefan Merten <smerten@oekonux.de>
13399 * textmodes/rst.el: Always require `cl'.
13400 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
13402 2012-06-02 Chong Yidong <cyd@gnu.org>
13404 * image.el (imagemagick-enabled-types): Rename from
13405 imagemagick-types-enable. Add many more types.
13406 (imagemagick-types-inhibit): Change default to nil.
13407 (imagemagick-filter-types): Caller changed.
13409 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13411 * emacs-lisp/cl-macs.el: Use backquotes.
13412 (cl-transform-function-property): Use eval-and-compile rather than
13414 (defstruct): Use declare-function instead of with-no-warnings.
13416 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
13417 (byte-compile-output-docform): Re-add the print-circle bindings.
13418 (byte-compile-fix-header): Use #$ just because it's shorter.
13419 (byte-compile-output-file-form): Remove defun/defmacro.
13421 2012-06-01 Martin Rudalics <rudalics@gmx.at>
13423 * simple.el (choose-completion): Remove now obsolete binding for
13426 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
13428 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
13429 in order to avoid "Stack overflow in regexp matcher".
13431 2012-05-31 Glenn Morris <rgm@gnu.org>
13433 * image.el: For clarity, call imagemagick-register-types at
13434 top-level, rather than relying on a custom :initialize.
13435 (imagemagick-types-enable): New option. (Bug#11557)
13436 (imagemagick-filter-types): New function. (Bug#7406)
13437 (imagemagick-register-types): Use imagemagick-filter-types.
13438 If disabling support, remove elements altogether rather
13439 than using an impossible regexp.
13440 (imagemagick-types-inhibit): Give it the default init function.
13442 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13444 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
13445 Handle arbitrary file name lengths (Bug#11585).
13447 2012-05-31 Martin Rudalics <rudalics@gmx.at>
13449 * desktop.el (desktop-read): Clear previous and next buffers for
13450 all windows and bury *Messages* buffer (bug#11556).
13452 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13454 Add `declare' for `defun'. Align `defmacro's with it.
13455 * emacs-lisp/easy-mmode.el (define-minor-mode)
13456 (define-globalized-minor-mode): Don't autoload the var definitions.
13457 * emacs-lisp/byte-run.el: Use lexical-binding.
13458 (defun-declarations-alist, macro-declarations-alist): New vars.
13459 (defmacro, defun): Use them.
13460 (make-obsolete, define-obsolete-function-alias)
13461 (make-obsolete-variable, define-obsolete-variable-alias):
13463 (macro-declaration-function): Mark obsolete.
13464 * emacs-lisp/autoload.el: Use lexical-binding.
13465 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
13467 2012-05-30 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
13469 * textmodes/ispell.el (ispell-with-no-warnings):
13471 (ispell-kill-ispell, ispell-change-dictionary):
13472 Use `called-interactively-p' for Emacs instead of obsolete
13475 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13477 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
13478 (macro-declaration-function): Move var from C code.
13479 (macro-declaration-function): Define function with defalias.
13480 * emacs-lisp/macroexp.el (macroexpand-all-1):
13481 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
13482 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
13483 defun/defmacro any more.
13484 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
13485 Provide fallback for unknown arglist.
13486 (byte-compile-arglist-warn): Change calling convention.
13487 (byte-compile-output-file-form): Move print-vars binding.
13488 (byte-compile-output-docform): Simplify accordingly.
13489 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
13490 (byte-compile-defmacro-declaration): Remove.
13491 (byte-compile-file-form-defmumble): Generalize to defalias.
13492 (byte-compile-output-as-comment): Return byte-positions.
13493 Simplify callers accordingly.
13494 (byte-compile-lambda): Use `assert'.
13495 (byte-compile-defun, byte-compile-defmacro): Remove.
13496 (byte-compile-file-form-defalias):
13497 Use byte-compile-file-form-defmumble.
13498 (byte-compile-defalias-warn): Remove.
13500 2012-05-29 Stefan Merten <smerten@oekonux.de>
13502 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
13503 possible. Fix authors. Improve comments. Improve loading of `cl'.
13505 (rst-mode-abbrev-table): Merge definition.
13506 (rst-mode): Make sure `font-lock-defaults' is buffer local.
13507 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
13509 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
13511 * calendar/icalendar.el
13512 (icalendar-export-region): Export UID properly.
13514 2012-05-29 Leo Liu <sdl.web@gmail.com>
13515 * calendar/icalendar.el (icalendar-import-format):
13516 Add `icalendar-import-format-uid' (Bug#11525).
13517 (icalendar-import-format-uid): New.
13518 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
13521 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13523 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
13524 different alternative patterns.
13525 (pcase-codegen): Be more careful to preserve identity.
13526 (pcase--u1): Don't forget to mark vars as used.
13528 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
13529 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
13530 (byte-compile-from-buffer): ...rather than here.
13532 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
13533 functions from byte-compile-function-environment.
13535 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
13537 * window.el (window-deletable-p): Avoid deleting the root window
13538 of a frame with an active minibuffer.
13540 2012-05-29 Martin Rudalics <rudalics@gmx.at>
13542 * simple.el (choose-completion): Use quit-window (Bug#11567).
13544 2012-05-29 Chong Yidong <cyd@gnu.org>
13546 * whitespace.el (whitespace-cleanup): Fix usage of
13547 whitespace-empty-at-bob-regexp (Bug#11492).
13549 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13551 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
13552 revert (Bug#11488).
13554 2012-05-29 Juri Linkov <juri@jurta.org>
13556 * isearch.el (isearch-mode-map): Bind `M-s _' to
13557 `isearch-toggle-symbol'. Bind `M-s c' to
13558 `isearch-toggle-case-fold'.
13559 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
13560 (isearch-forward): Add `M-s _' to the docstring.
13561 (isearch-forward-symbol, isearch-toggle-case-fold)
13562 (isearch-symbol-regexp): New functions. (Bug#11381)
13564 2012-05-29 Juri Linkov <juri@jurta.org>
13566 * isearch.el (isearch-word): Add docstring. (Bug#11381)
13567 (isearch-occur, isearch-search-and-update): If `isearch-word' is
13568 a function, call it to get the regexp.
13569 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
13570 property `isearch-message-prefix' instead of the string "word ".
13571 (isearch-search-fun-default): For the case of `isearch-word',
13572 return a lambda that calls re-search-forward/re-search-backward
13573 with a regexp returned by `word-search-regexp' or by the function
13576 2012-05-29 Juri Linkov <juri@jurta.org>
13578 * isearch.el (isearch-search-fun-default): New function.
13579 (isearch-search-fun): Move default part to the new function
13580 `isearch-search-fun-default'.
13581 (isearch-search-fun-function): Set the default value to
13582 `isearch-search-fun-default'. (Bug#11381)
13584 * comint.el (comint-history-isearch-end):
13585 Use `isearch-search-fun-default'.
13586 (comint-history-isearch-search): Use `isearch-search-fun-default'
13587 and remove spacial case for `isearch-word'.
13588 (comint-history-isearch-wrap): Remove spacial case for
13591 * hexl.el (hexl-isearch-search-function):
13592 Use `isearch-search-fun-default'.
13594 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
13595 Use `word-search-regexp' for `isearch-word'.
13597 * misearch.el (multi-isearch-search-fun):
13598 Use `isearch-search-fun-default'.
13600 * simple.el (minibuffer-history-isearch-search):
13601 Use `isearch-search-fun-default' and remove spacial case for
13603 (minibuffer-history-isearch-wrap): Remove spacial case for
13606 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
13607 Remove spacial case for `isearch-word'.
13608 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
13610 2012-05-28 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
13612 Decrease XEmacs incompatibilities.
13613 * textmodes/flyspell.el (flyspell-check-pre-word-p):
13614 Use `string-match'.
13615 (flyspell-delete-region-overlays): Use alternative definition for
13617 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
13618 (flyspell-word): Use `process-kill-without-query' if XEmacs.
13619 (flyspell-mode-on): Use `interactive-p' if XEmacs.
13620 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
13621 `define-obsolete-face-alias' under XEmacs, but old method.
13623 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
13624 `with-no-warnings' definition or Emacs alias.
13625 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
13626 (ispell-word): Do not use `region-p' if XEmacs.
13628 2012-05-28 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
13630 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
13631 Check for `ispell-dictionary-base-alist' instead of full
13632 `ispell-dictionary-alist'.
13633 (ispell-init-process): Show spellchecker when starting new Ispell
13636 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13638 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
13639 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
13641 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
13643 * version.el (motif-version-string, gtk-version-string)
13644 (ns-version-string): Declare.
13646 2012-05-27 Juri Linkov <juri@jurta.org>
13648 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
13649 after the `eval-defun-1' specialcaseing
13650 like in `edebug-eval-defun' (bug#10181).
13652 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
13653 like in `eval-defun-1'.
13655 2012-05-27 Eli Zaretskii <eliz@gnu.org>
13657 * mail/sendmail.el (mail-yank-region):
13658 Recognize rmail-yank-current-message in addition to insert-buffer.
13659 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
13660 a *mail* buffer created through rmail-start-mail with sendmail as
13663 2012-05-27 Chong Yidong <cyd@gnu.org>
13665 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
13666 Default to 256 (Bug#11267).
13668 * help.el (describe-mode): Doc fix.
13670 2012-05-26 Glenn Morris <rgm@gnu.org>
13672 * w32-fns.el (w32-init-info): Remove.
13673 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
13675 * info.el (info-initialize): For self-contained NS builds, put the
13676 included info/ directory at the front. (Bug#2791)
13678 * paths.el (Info-default-directory-list): Make it a defcustom,
13679 mainly so that we can use custom-initialize-delay.
13681 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
13683 * subr.el (buffer-has-markers-at): Mark obsolete.
13685 * subr.el (lambda): Use declare.
13687 * emacs-lisp/lisp-mode.el (lambda):
13688 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
13690 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13692 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
13694 2012-05-26 Glenn Morris <rgm@gnu.org>
13696 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
13698 2012-05-25 Glenn Morris <rgm@gnu.org>
13700 * paths.el: Remove no-byte-compile.
13701 * loadup.el: No need to load paths.el uncompiled.
13703 * image.el (imagemagick-types-inhibit): Doc fix.
13705 * version.el: Remove no-byte-compile and associated formatting.
13706 * loadup.el: No need to load version.el uncompiled. AFAICS, this
13707 is ancient code from when there was an "inc-vers.el".
13709 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13711 * progmodes/gdb-mi.el: Minor style changes.
13712 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
13713 Turn into minor modes.
13714 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
13715 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
13716 (gdb-shell): Remove unneeded let-binding.
13717 (gdb-get-many-fields): Eliminate O(n²) behavior.
13719 2012-05-25 Eli Zaretskii <eliz@gnu.org>
13721 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
13722 platforms that don't link in fontset.c.
13724 2012-05-25 Juri Linkov <juri@jurta.org>
13726 Use the same diff color scheme as in modern VCSes (bug#10181).
13728 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
13729 to avoid confusion with `diff-added' that now uses green colors.
13730 (diff-removed): Use shades of red.
13731 (diff-added): Use shades of green.
13732 (diff-changed): Leave just the yellow color.
13733 (diff-use-changed-face): New variable.
13734 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
13735 how to highlight context diff changes.
13736 (diff-refine-change): Use shades of yellow.
13737 (diff-refine-removed): New face that uses shades of red.
13738 (diff-refine-added): New face that uses shades of green.
13739 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
13740 `diff-refine-removed' in the call to `smerge-refine-subst'
13741 depending on the value of `diff-use-changed-face'.
13743 * vc/smerge-mode.el (smerge-mine): Use shades of red.
13744 (smerge-other): Use shades of green.
13745 (smerge-base): Use shades of yellow.
13746 (smerge-refined-change): Empty face.
13747 (smerge-refined-removed): New face that uses shades of red.
13748 (smerge-refined-added): New face that uses shades of green.
13749 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
13750 args `props-r' and `props-a', and use them. Doc fix.
13751 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
13752 on its value use different faces `smerge-refined-change',
13753 `smerge-refined-removed', `smerge-refined-added' in the call to
13754 `smerge-refine-subst'.
13756 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
13757 Add face condition `min-colors 88' with shades of red.
13758 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
13759 `min-colors 88' with shades of green.
13760 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
13761 `min-colors 88' with shades of yellow.
13763 2012-05-24 Glenn Morris <rgm@gnu.org>
13765 * paths.el (prune-directory-list, remote-shell-program): Move to...
13766 * files.el (prune-directory-list, remote-shell-program): ...here.
13767 For the latter, delay initialization, prefer ssh, just search PATH.
13769 * paths.el (term-file-prefix): Move to faces.el (the only user).
13770 * faces.el (term-file-prefix): Move here, make it a defcustom.
13772 * paths.el (news-directory, news-path, news-inews-program):
13773 Move to gnus/nnspool.el.
13775 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
13777 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
13778 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
13779 Make the latter a defcustom, with a delayed initialization.
13781 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
13782 These were deleted from Gnus itself late 2010.
13784 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
13786 * progmodes/which-func.el (which-func-ff-hook):
13787 Check against user-error, not error.
13789 * emacs-lisp/edebug.el (top): Do not load or set up loading of
13790 cl-specs.el, which no longer exists.
13792 2012-05-22 Glenn Morris <rgm@gnu.org>
13794 * info.el (info-emacs-bug): New command.
13795 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
13796 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
13798 2012-05-21 Glenn Morris <rgm@gnu.org>
13800 * makefile.w32-in (update-subdirs-SH):
13801 * Makefile.in (update-subdirs): Update for moved update-subdirs.
13803 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13805 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
13807 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13808 Simplify Maven regexp, and make sure the file can't start with a space
13811 2012-05-21 Glenn Morris <rgm@gnu.org>
13813 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
13814 Scrap superfluous subshells.
13816 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
13818 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
13819 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
13821 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
13823 * calc/calc.el (calc-ensure-consistent-units): New variable.
13825 * calc/calc-units.el (math-consistent-units-p)
13826 (math-check-unit-consistency): New functions.
13827 (calc-quick-units, calc-convert-units):
13828 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
13830 (calc-extract-units): Fix typo.
13832 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13834 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
13836 * textmodes/flyspell.el: Commenting style, plus code simplifications.
13837 (flyspell-default-deplacement-commands): Don't spell check after
13838 repeated window/frame switches (e.g. triggered by mouse-movement).
13839 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
13840 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
13841 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
13842 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
13843 Remove unused vars.
13844 (flyspell-get-casechars, flyspell-get-not-casechars):
13845 Simplify; Don't bother removing a ] just to add it back.
13846 * textmodes/ispell.el (ispell-program-name): Use executable-find.
13848 2012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
13850 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
13852 (math-function-table): Add support for more C functions.
13854 2012-05-18 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
13856 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13857 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13858 Protect delay handling for otherchars against empty otherchars.
13860 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13862 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
13863 their respective macro declarations.
13864 * skeleton.el (define-skeleton):
13865 * progmodes/compile.el (define-compilation-mode):
13866 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
13867 (define-ibuffer-filter):
13868 * emacs-lisp/generic.el (define-generic-mode):
13869 * emacs-lisp/easy-mmode.el (define-minor-mode)
13870 (define-globalized-minor-mode):
13871 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
13872 * emacs-lisp/byte-run.el (defsubst):
13873 * custom.el (deftheme): Add doc-string metadata.
13875 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13877 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
13879 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13881 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
13883 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
13884 * emacs-lisp/cl-macs.el: Idem.
13885 * emacs-lisp/cl-specs.el: Remove.
13887 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13889 Minor renaming of internal CL functions and variables.
13890 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
13891 (cl--position): Rename from cl-position.
13892 (cl--delete-duplicates): Rename from cl-delete-duplicates.
13893 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
13894 (cl--random-state): Rename from *random-state*.
13896 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13898 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
13899 parens around the arg list (bug#11499).
13901 2012-05-17 Juri Linkov <juri@jurta.org>
13903 * isearch.el (word-search-regexp, word-search-backward)
13904 (word-search-forward, word-search-backward-lax)
13905 (word-search-forward-lax): Move functions from search.c
13906 (bug#10145, bug#11381).
13908 2012-05-16 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
13910 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13911 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13912 Delay for otherchars as for normal word components.
13914 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13916 * minibuffer.el (completion--sifn-requote): Fix last change.
13917 (minibuffer-local-must-match-filename-map):
13918 Move define-obsolete-variable-alias before its var.
13920 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13922 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
13924 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
13926 (completion--string-equal-p): New function.
13927 (completion--twq-all): Use it to get better assertion failure data.
13929 Only handle ".." and '..' quoting in shell-mode (bug#11466).
13930 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
13931 (shell--requote-argument): New functions.
13932 (shell-completion-vars): Use them.
13933 (shell--parse-pcomplete-arguments): Rename from
13934 shell-parse-pcomplete-arguments.
13935 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
13936 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
13937 Obey comint-file-name-quote-list.
13939 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
13940 (smie-indent-keyword): Use it.
13942 2012-05-14 Stefan Merten <smerten@oekonux.de>
13944 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
13946 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13948 * net/rlogin.el (rlogin-mode-map): Fix last change.
13950 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
13952 * mail/smtpmail.el (smtpmail-send-command): Send the command and
13953 the following \r\n using a single `process-send-string', since the
13954 Lotus SMTP server refuses to accept any commands if they are sent
13955 with two `process-send-string's (Bug#11444).
13957 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13959 * shell.el (shell-parse-pcomplete-arguments):
13960 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
13962 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13964 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
13965 (image-transform-scale, image-transform-right-angle-fudge): New vars.
13966 (image-transform-width, image-transform-fit-width): New functions.
13967 (image-transform-properties): Use them.
13968 (image-transform-check-size): New function.
13969 (image-toggle-display-image): Use it (for testing).
13970 (image-transform-set-rotation): Reduce angle mod 360.
13971 Delete obsolete comment.
13973 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13975 * image-mode.el: Fix scaling (bug#11399).
13976 (image-transform-resize): Doc fix.
13977 (image-transform-properties): Default scale is 1 and height should
13980 2012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
13982 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
13983 than hard-coding `car', to fix misbehavior when moving forward.
13985 2012-05-13 Chong Yidong <cyd@gnu.org>
13987 * emacs-lisp/tabulated-list.el (tabulated-list-format)
13988 (tabulated-list-entries, tabulated-list-padding)
13989 (tabulated-list-sort-key): Make permanent-local.
13991 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
13992 (electric-buffer-list): Put electric buffer menu
13993 command descriptions in this docstring, instead of the docstring
13994 of electric-buffer-menu-mode. Code cleanups.
13995 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
13996 Electric-buffer-menu-mode.
13997 (electric-buffer-update-highlight): Minor code cleanup.
13999 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
14001 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
14004 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14006 Move define-obsolete-variable-alias before the var's definition.
14007 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
14008 * tooltip.el (tooltip-hook):
14009 * textmodes/reftex-toc.el (reftex-toc-map):
14010 * textmodes/reftex-sel.el (reftex-select-label-map)
14011 (reftex-select-bib-map):
14012 * textmodes/reftex-index.el (reftex-index-map)
14013 (reftex-index-phrases-map):
14014 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
14015 * progmodes/meta-mode.el (meta-mode-map):
14016 * novice.el (disabled-command-hook):
14017 * loadhist.el (unload-hook-features-list):
14018 * frame.el (blink-cursor):
14019 * files.el (find-file-not-found-hooks, write-file-hooks)
14020 (write-contents-hooks):
14021 * emulation/tpu-edt.el (GOLD-map):
14022 * emacs-lock.el (emacs-lock-from-exiting):
14023 * emacs-lisp/generic.el (generic-font-lock-defaults):
14024 * emacs-lisp/chart.el (chart-map):
14025 * dos-fns.el (register-name-alist):
14026 * dired-x.el (dired-omit-files-p):
14027 * desktop.el (desktop-enable):
14028 * cus-edit.el (custom-mode-hook):
14029 * buff-menu.el (buffer-menu-mode-hook):
14030 * bookmark.el (bookmark-read-annotation-text-func)
14031 (bookmark-exit-hooks):
14032 * allout.el (allout-mode-deactivate-hook)
14033 (allout-exposure-change-hook, allout-structure-added-hook)
14034 (allout-structure-deleted-hook, allout-structure-shifted-hook):
14035 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
14036 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
14037 comes before the corresponding variable's definition.
14039 2012-05-12 Chong Yidong <cyd@gnu.org>
14041 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
14042 (Buffer-menu-mouse-select): Restore function (Bug#11459).
14043 (Buffer-menu-mode-map): Bind it.
14044 (Buffer-menu--pretty-name): Add a mouse-face property.
14046 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
14048 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
14049 (prolog-upper-case-string, prolog-lower-case-string)
14050 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
14051 (prolog-use-smie, prolog-smie-grammar): New vars.
14052 (prolog-smie-forward-token, prolog-smie-backward-token)
14053 (prolog-smie-rules): New funs.
14054 (prolog-comment-indent): Remove.
14055 (prolog-mode-variables): Use default comment indentation instead.
14057 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
14058 (prolog-mode): Don't call them any more.
14059 (prolog-electric-colon, prolog-electric-dash)
14060 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
14062 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
14064 * minibuffer.el (completion--twq-all): Again, allow case differences.
14066 * term.el: Move keymap initialization code to be more idiomatic.
14067 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
14068 (term-terminal-menu): Move initialization into declaration.
14069 (term-escape-char): Let the user set it in her .emacs.
14071 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
14072 Provide SMIE-based indentation (not enabled by default yet).
14073 (sh-mode-map): Don't bind electric keys.
14074 Use electric-pair-mode instead of skeleton-pair.
14075 (sh-assignment-regexp): Fit within 80 columns.
14076 (sh-indent-supported): Specify actual shell name instead of boolean.
14077 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
14078 (sh-maybe-here-document): Use it. Make obsolete.
14079 (sh-electric-here-document-mode) New minor mode.
14080 (sh-mode): Use it. Don't set sh-indent-supported-here here.
14081 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
14082 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
14083 (sh-smie-rc-grammar, sh-use-smie): New vars.
14084 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
14085 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
14086 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
14087 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
14088 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
14089 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
14090 (sh-set-shell): Use smie-setup if requested.
14092 * term.el (term-set-escape-char): Properly set term-escape-char.
14093 See http://stackoverflow.com/questions/10524656.
14095 2012-05-10 Chong Yidong <cyd@gnu.org>
14097 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
14098 Use url-generic-parse-url, and handle host names and Windows
14099 filenames properly.
14100 (ffap-url-unwrap-remote): Use url-generic-parse-url.
14101 (ffap-url-unwrap-remote): Accept list values, specifying a list of
14102 URL schemes to work on.
14103 (ffap--toggle-read-only): New function.
14104 (ffap-read-only, ffap-read-only-other-window)
14105 (ffap-read-only-other-frame): Use it.
14106 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
14107 necessary for ffap-url-unwrap-remote.
14109 2012-05-10 Dave Abrahams <dave@boostpro.com>
14111 * cus-start.el (create-lockfiles): Add it.
14113 2012-05-09 Chong Yidong <cyd@gnu.org>
14115 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
14116 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
14118 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14120 * shell.el (shell-completion-vars): Fix last change (bug#11348).
14122 2012-05-09 Chong Yidong <cyd@gnu.org>
14124 * ansi-color.el (ansi-color-process-output): Check for validity of
14125 comint-last-output-start before using it. This avoids a bad
14126 interaction with gdb-mi's input/output buffer.
14128 2012-05-09 Glenn Morris <rgm@gnu.org>
14130 * files.el (dir-locals-read-from-file):
14131 Mention dir-locals in any error message.
14133 2012-05-09 Chong Yidong <cyd@gnu.org>
14135 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
14136 package (Bug#11410).
14138 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
14139 variables into description.
14141 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14143 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
14144 shell-delimiter-argument-list (bug#11348).
14145 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
14147 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
14149 * textmodes/rst.el: Silence byte-compiler warnings.
14150 (rst-re-alist, rst-reset-section-caches): Move around.
14151 (rst-re): Use `characterp', not `char-valid-p'.
14152 (font-lock-beg, font-lock-end): Declare.
14154 * progmodes/idlw-shell.el (specs): Remove reference to deleted
14155 variable `idlwave-shell-activate-alt-keybindings' and simplify.
14157 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
14159 2012-05-08 Glenn Morris <rgm@gnu.org>
14161 * files.el (auto-mode-alist): Treat ".make" like ".mk".
14163 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14165 * vc/log-edit.el: Add GNU coding standards highlighting.
14166 (log-edit-font-lock-gnu-style)
14167 (log-edit-font-lock-gnu-keywords): New vars.
14168 (log-edit-font-lock-keywords): New fun.
14169 (log-edit-mode): Don't fold case in font-lock.
14170 (log-edit-font-lock-keywords): Do not assume case-folding.
14172 * imenu.el: Misc cleanup. Make docstrings out of comments.
14173 Use lexical-binding.
14174 (imenu--index-alist, imenu--last-menubar-index-alist)
14175 (imenu-menubar-modified-tick): Use defvar-local.
14176 (imenu--split-menu): Remove unused var.
14177 (imenu--cleanup-seen): Declare as global.
14178 (imenu--cleanup): Use dolist.
14180 * subr.el (defvar-local): Add debug spec and doc-string position.
14182 2012-05-08 Glenn Morris <rgm@gnu.org>
14184 * language/burmese.el, language/cham.el, language/czech.el:
14185 * language/english.el, language/georgian.el, language/greek.el:
14186 * language/japanese.el, language/khmer.el, language/korean.el:
14187 * language/lao.el, language/misc-lang.el, language/romanian.el:
14188 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
14189 * language/thai.el, language/utf-8-lang.el:
14190 Remove no-byte-compile setting.
14192 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
14194 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14196 * progmodes/make-mode.el (makefile-browse):
14197 Remove unnecessary interactive. (Bug#11324)
14199 2012-05-07 Glenn Morris <rgm@gnu.org>
14201 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
14203 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
14205 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14207 * loadup.el: Preload newcomment.el.
14208 * newcomment.el: Move autoload-only code to toplevel.
14210 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
14211 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
14212 Handle new :right-align column property.
14213 (tabulated-list-print-col): Idem, plus use `display' text-property to
14214 try and preserve alignment for variable pitch fonts.
14216 2012-05-07 Chong Yidong <cyd@gnu.org>
14218 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
14219 (tabulated-list-use-header-line): New var.
14220 (tabulated-list-init-header): Use it.
14221 (tabulated-list-print-fake-header): New function.
14222 (tabulated-list-print): Use it.
14223 (tabulated-list-sort-button-map): Add non-header-line commands.
14224 (tabulated-list-init-header): Add column name property to basic
14226 (tabulated-list-col-sort): Handle non-header-line button case.
14227 (tabulated-list--sort-by-column-name): Fix a corner case.
14229 * buff-menu.el (list-buffers--refresh):
14230 Handle Buffer-menu-use-header-line.
14232 2012-05-06 Chong Yidong <cyd@gnu.org>
14234 * buff-menu.el: Convert to Tabulated List mode.
14235 (Buffer-menu-buffer+size-width): Make obsolete.
14236 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
14237 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
14238 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
14239 documentation into docstring of buffer-menu.
14240 (Buffer-menu-toggle-files-only): Add an informative message.
14241 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
14242 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
14243 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
14244 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
14245 (Buffer-menu-execute, Buffer-menu-select)
14246 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
14247 (Buffer-menu-bury): Use Tabulated List machinery.
14248 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
14249 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
14251 (list-buffers--refresh): New function.
14252 (list-buffers-noselect): Use it.
14253 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
14254 (Buffer-menu--pretty-file-name): New helper functions.
14256 * loadup.el: Preload tabulated-list.
14258 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
14259 tabulated-list-sort-column.
14260 (tabulated-list-init-header): Add the initial aligning space even
14261 if tabulated-list-padding is zero.
14263 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
14265 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
14266 whose cdr is not a cons cell correctly (bug#11038).
14268 2012-05-06 Chong Yidong <cyd@gnu.org>
14270 * emacs-lisp/tabulated-list.el (tabulated-list-format):
14271 Accept additional plist in column descriptors.
14272 (tabulated-list-init-header): Obey it.
14273 (tabulated-list-get-entry): New function.
14274 (tabulated-list-put-tag): Use it. Use string-width instead of
14276 (tabulated-list--column-number): New function.
14277 (tabulated-list-print): Use it.
14278 (tabulated-list-print-col): New function.
14279 Set `tabulated-list-column-name' property on each column's text.
14280 (tabulated-list-print-entry): Use it.
14281 (tabulated-list-delete-entry, tabulated-list-set-col):
14283 (tabulated-list-sort-column): New command (Bug#11337).
14285 * buff-menu.el (list-buffers): Move C-x C-b binding from
14286 buff-menu.el to bindings.el.
14288 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
14289 :advertised-binding feature.
14291 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
14293 * progmodes/compile.el (compilation-internal-error-properties):
14294 Calculate start position correctly when end-col is set but
14295 end-line is not (Bug#11382).
14297 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
14299 * man.el (Man-unindent): Use text-property-default-nonsticky to
14300 prevent untabify from inheriting face properties (Bug#11408).
14302 2012-05-05 Stefan Merten <smerten@oekonux.de>
14304 * textmodes/rst.el: Major merge with upstream development up to
14305 Docutils SVN r7399 / rst.el V1.2.1.
14307 Clarify maintainership and authors.
14309 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
14310 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
14311 (rst-official-version, rst-official-cvs-rev, rst-version)
14312 (rst-package-emacs-version-alist): New functions and variables
14313 for version information.
14315 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
14316 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
14317 (rst-mode-syntax-table, rst-mode): New and corrected functions
14318 and variables representing reStructuredText features.
14320 (rst-re): New function for reStructuredText regexes. Use in
14323 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
14324 (rst-mode-map): Rebind keys.
14326 (rst-mode-lazy, rst-font-lock-keywords)
14327 (rst-font-lock-extend-region)
14328 (rst-font-lock-extend-region-internal)
14329 (rst-font-lock-extend-region-extend)
14330 (rst-font-lock-find-unindented-line-limit)
14331 (rst-font-lock-find-unindented-line-match)
14332 (rst-adornment-level, rst-font-lock-adornment-level)
14333 (rst-font-lock-adornment-match)
14334 (rst-font-lock-handle-adornment-pre-match-form)
14335 (rst-font-lock-handle-adornment-matcher): Major revision of
14336 font-locking. Integrate with other code. Use `jit-lock-mode'.
14338 (rst-preferred-adornments, rst-adjust-hook)
14339 (rst-new-adornment-down, rst-preferred-bullets)
14340 (rst-preferred-bullets, rst-indent, rst-indent-width)
14341 (rst-indent-field, rst-indent-literal-normal)
14342 (rst-indent-literal-minimized, rst-indent-comment): Change,
14343 extend and improve customization.
14345 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
14346 (rst-normalize-cursor-position, rst-get-decoration)
14347 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
14348 (rst-rstrip, rst-toc-insert-find-delete-contents)
14349 (rst-shift-fill-region, rst-compute-bullet-tabs)
14350 (rst-debug-print-tabs, rst-debug-mark-found)
14351 (rst-shift-region-guts, rst-shift-region-right)
14352 (rst-shift-region-left, rst-use-char-classes)
14353 (rst-font-lock-keywords-function)
14354 (rst-font-lock-indentation-point)
14355 (rst-font-lock-find-unindented-line-begin)
14356 (rst-font-lock-find-unindented-line-end)
14357 (rst-font-lock-find-unindented-line)
14358 (rst-font-lock-adornment-point, rst-font-lock-level)
14359 (rst-adornment-level-alist): Remove functions and variables.
14361 (rst-compare-adornments, rst-get-adornment-match)
14362 (rst-suggest-new-adornment, rst-get-adornments-around)
14363 (rst-adornment-complete-p, rst-get-next-adornment)
14364 (rst-adjust-adornment, rst-display-adornments-hierarchy)
14365 (rst-straighten-adornments): Standardize function names to
14366 use "adornment" instead of "decoration". Correct callers.
14367 Similar standardizing in many places.
14369 (rst-update-section, rst-adjust, rst-promote-region)
14370 (rst-enumerate-region, rst-bullet-list-region)
14371 (rst-repeat-last-character): Correct use of `interactive'.
14373 (rst-classify-adornment, rst-find-all-adornments)
14374 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
14375 (rst-find-leftmost-column, rst-repeat-last-character):
14376 Refactor functions.
14378 (rst-find-title-line, rst-reset-section-caches)
14379 (rst-get-adornments-around, rst-adjust-adornment-work)
14380 (rst-arabic-to-roman, rst-roman-to-arabic)
14381 (rst-insert-list-pos, rst-insert-list-new-item)
14382 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
14385 (rst-all-sections, rst-section-hierarchy)
14386 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
14389 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
14390 configuration instead of only buffer. Change where necessary.
14392 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
14393 (rst-shift-region, rst-adaptive-fill): New functions for
14394 indentation and filling.
14396 (rst-comment-line-break, rst-comment-indent)
14397 (rst-comment-insert-comment, rst-comment-region)
14398 (rst-uncomment-region): New functions for handling comments.
14400 (rst-compile): Quote shell arguments.
14402 (rst-compile-pdf-preview, rst-compile-slides-preview):
14403 Delete temporary files after use.
14405 2012-05-05 Glenn Morris <rgm@gnu.org>
14407 * calendar/cal-html.el: Optionally include holidays in the output.
14408 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
14409 (cal-html-holidays): New option.
14410 (cal-html-css-default): Add holiday entry.
14411 (holiday-in-range): Autoload it.
14412 (cal-html-htmlify-entry): Add optional class argument.
14413 (cal-html-htmlify-list): Add optional holidays argument.
14414 (cal-html-insert-agenda-days): Include holidays in the output.
14415 (cal-html-one-month): Maybe include holidays.
14417 * calendar/holidays.el (holiday-in-range):
14418 Move here from cal-tex-list-holidays.
14419 * calendar/cal-tex.el (cal-tex-list-holidays):
14420 Make it an obsolete alias for holiday-in-range. Update all callers.
14422 2012-05-05 Chong Yidong <cyd@gnu.org>
14424 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
14427 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
14429 * files.el (file-auto-mode-skip): New var.
14430 (set-auto-mode-1): Use it.
14432 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14434 * repeat.el: Use lexical-binding.
14435 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
14436 (repeat-undo-count): Remove.
14438 * progmodes/octave-mod.el (octave-abbrev-start):
14439 * progmodes/f90.el (f90-abbrev-start):
14440 * face-remap.el (text-scale-adjust):
14441 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
14443 * emacs-lisp/pcase.el (pcase--let*): New function.
14444 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
14446 (pcase--split-pred): Be more clever about ruling out overlap between
14447 a predicate and some constant pattern.
14448 (pcase--q1): Use `null' instead of (eq foo nil).
14450 * subr.el (setq-local, defvar-local): New macros.
14451 (kbd): Redefine as an alias.
14452 (with-selected-window): Leave unrelated frames alone.
14453 (set-temporary-overlay-map): New function.
14455 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14457 * subr.el (user-error): New function.
14458 * window.el (switch-to-buffer):
14459 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
14460 (smerge-match-conflict):
14461 * simple.el (previous-matching-history-element)
14462 (next-matching-history-element, goto-history-element, undo-more)
14464 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
14465 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
14466 (next-file, tags-loop-scan, list-tags, complete-tag):
14467 * progmodes/compile.el (compilation-loop):
14468 * mouse.el (mouse-minibuffer-check):
14469 * man.el (Man-bgproc-sentinel, Man-goto-page):
14470 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
14471 (Info-history-forward, Info-follow-reference, Info-menu)
14472 (Info-extract-menu-item, Info-extract-menu-counting)
14473 (Info-forward-node, Info-backward-node, Info-next-menu-item)
14474 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
14475 (Info-next-reference, Info-prev-reference, Info-index)
14476 (Info-index-next, Info-follow-nearest-node)
14477 (Info-copy-current-node-name):
14478 * imenu.el (imenu--make-index-alist)
14479 (imenu-default-create-index-function, imenu-add-to-menubar):
14480 * files.el (basic-save-buffer, recover-file):
14481 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14482 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
14483 (checkdoc-message-text, checkdoc-defun):
14484 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
14485 * cus-edit.el (customize-changed-options, customize-rogue)
14486 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
14487 (custom-variable-mark-to-reset-standard)
14488 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
14490 * completion.el (check-completion-length):
14491 * comint.el (comint-search-arg)
14492 (comint-previous-matching-input-string-position)
14493 (comint-previous-matching-input)
14494 (comint-replace-by-expanded-history-before-point, comint-send-input)
14495 (comint-copy-old-input, comint-backward-matching-input)
14496 (comint-goto-process-mark, comint-set-process-mark):
14497 * calendar/calendar.el (calendar-cursor-to-date): Use it.
14498 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
14500 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14502 * dabbrev.el (dabbrev--ignore-case-p): New function.
14503 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
14506 * files.el (automount-dir-prefix): Mark as obsolete.
14508 2012-05-04 Glenn Morris <rgm@gnu.org>
14510 * patcomp.el, play/bruce.el: Move to obsolete/.
14512 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
14514 Fix minor Y10k bugs.
14515 * arc-mode.el (archive-unixdate):
14516 * autoinsert.el (auto-insert-alist):
14517 * calc/calc-forms.el (math-this-year):
14518 * emacs-lisp/copyright.el (copyright-current-year)
14519 (copyright-update-year, copyright):
14520 * tar-mode.el (tar-clip-time-string):
14521 * time.el (display-time-update):
14522 Don't assume years have 4 digits.
14524 2012-05-04 Chong Yidong <cyd@gnu.org>
14526 * dos-w32.el (file-name-buffer-file-type-alist)
14527 (direct-print-region-use-command-dot-com):
14528 * ffap.el (ffap-menu-regexp):
14529 * find-file.el (ff-special-constructs):
14530 * follow.el (follow-debug):
14531 * forms.el (forms--debug):
14532 * iswitchb.el (iswitchb-all-frames):
14533 * ido.el (ido-all-frames):
14534 * emacs-lisp/timer.el (timer-max-repeats):
14535 * mail/feedmail.el (feedmail-mail-send-hook)
14536 (feedmail-mail-send-hook-queued):
14537 * mail/footnote.el (footnote-signature-separator):
14538 * mail/mailabbrev.el (mail-alias-separator-string)
14539 (mail-abbrev-mode-regexp):
14540 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
14541 * progmodes/idlwave.el (idlwave-libinfo-file)
14542 (idlwave-default-completion-case-is-down)
14543 (idlwave-library-routines): Convert defvars to defcustoms.
14545 * mail/rmail.el (rmail-decode-mime-charset):
14546 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
14547 (idlwave-shell-fix-inserted-breaks)
14548 (idlwave-shell-activate-alt-keybindings)
14549 (idlwave-shell-use-breakpoint-glyph):
14550 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
14552 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14554 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
14556 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
14558 * progmodes/verilog-mode.el (font-lock-keywords):
14559 Fix mis-highligting auto. Reported by Craig Barner.
14560 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
14561 defines from global name space. Reported by Dan Dever.
14562 (verilog-auto-reset, verilog-auto-reset-widths)
14563 (verilog-auto-tieoff): Support using unbased numbers for
14564 AUTORESET and AUTOTIEOFF.
14565 (verilog-submit-bug-report): Update variable list.
14566 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
14567 parenthesis from not matching. Reported by Michael Rytting.
14568 (verilog-auto-template-lint): Fix hash error when linting modules
14569 with no used templates.
14570 (verilog-warn, verilog-warn-error)
14571 (verilog-warn-fatal): When non-interactive report multiple
14572 warnings before exiting. Suggested by Brad Dobbie.
14573 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
14574 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
14575 to report unused template errors. Reported by Brad Dobbie.
14576 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
14577 nets, bug438. Reported by Vns Blore.
14578 (verilog-auto-inout-module, verilog-auto-reg)
14579 (verilog-read-decls, verilog-read-sub-decls-sig)
14580 (verilog-signals-edit-wire-reg, verilog-signals-with):
14581 Fix passing of Verilog data types in ANSI input/output ports
14582 such as "output logic" into the AUTOs. Special case "wire" and
14583 "reg" for backwards compatibility presuming Verilog 2001.
14584 (verilog-auto-ascii-enum): Add "auto enum" as alias.
14585 (verilog-preprocess): Fix replication of preprocess output.
14586 Reported by Brad Dobbie.
14587 (verilog-auto-inst-interfaced-ports):
14588 Create verilog-auto-inst-interfaced-ports, bug429.
14589 Reported by Julian Gorfajn.
14590 (verilog-after-save-font-hook)
14591 (verilog-before-save-font-hook): New variable.
14592 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
14593 (verilog-save-font-mods): Wrap disabling fontification, reported
14595 (verilog-do-indent, verilog-pretty-declarations-auto)
14596 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
14597 Reported by Pierre-David Pfister.
14598 (verilog-set-auto-endcomments): Fix endtask auto comments outside
14599 of class declarations, bug292. Reported by Kevin Heilman.
14600 (verilog-read-decls): Fix 'parameter type' not appearing in
14601 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
14602 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
14603 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
14604 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
14605 Reported by David Kravitz.
14607 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
14609 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
14610 assignment with tests in ifs and for loops.
14611 (verilog-extended-complete-re, verilog-complete-reg): Change so
14612 that DPI inport functions don't look like fuction declarations.
14613 (verilog-pretty-expr): Don't line up assignment
14614 operations to the test and increment in if and for loops
14615 (verilog-extended-complete-re, verilog-complete-reg): Change so
14616 that DPI inport functions don't look like fuction declarations.
14618 2012-05-03 Kenichi Handa <handa@m17n.org>
14620 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
14621 decoding, and show a warning message without signaling an error
14624 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14626 * emacs-lisp/bytecomp.el
14627 (byte-compile-file-form-custom-declare-variable): Compile all elements,
14628 since cconv.el might have introduced :fun-body, internal-make-closure,
14629 and friends for bytecomp to handle (bug#11391).
14630 * custom.el (defcustom): Avoid ((λ ..) ..).
14632 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
14634 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
14636 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
14638 * notifications.el (dbus-debug):
14639 * term/linux.el (gpm-mouse-enable):
14640 * term/screen.el (xterm-register-default-colors): Declare.
14642 2012-05-02 Chong Yidong <cyd@gnu.org>
14644 * cus-start.el (gc-cons-percentage, exec-suffixes)
14645 (dos-display-scancodes, dos-hyper-key, dos-super-key)
14646 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
14647 (make-cursor-line-fully-visible, void-text-area-pointer)
14648 (font-list-limit): Add customization data.
14650 * allout.el (allout-exposure-change-functions)
14651 (allout-structure-added-functions)
14652 (allout-structure-deleted-functions)
14653 (allout-structure-shifted-functions): Rename abnormal hooks from
14654 *-hook, and convert to defcustoms.
14655 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
14656 Convert to defcustoms.
14657 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
14659 * allout-widgets.el: Hook callers changed.
14661 2012-05-02 Eli Zaretskii <eliz@gnu.org>
14663 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
14664 the yanked message in preference to the default value of
14665 buffer-file-coding-system.
14667 2012-05-02 Martin Rudalics <rudalics@gmx.at>
14669 * window.el (display-buffer--action-function-custom-type):
14672 2012-05-02 Alan Mackenzie <acm@muc.de>
14674 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
14676 2012-05-01 Glenn Morris <rgm@gnu.org>
14678 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
14680 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
14682 * cus-edit.el (custom-variable-documentation): Simplify with format.
14684 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14685 Stefan Monnier <monnier@iro.umontreal.ca>
14687 * simple.el (suggest-key-bindings, execute-extended-command):
14688 Move from keyboard.c.
14690 2012-05-01 Chong Yidong <cyd@gnu.org>
14692 * follow.el: Eliminate advice.
14693 (set-process-filter, process-filter, sit-for): Advice deleted.
14694 (follow-mode-off-hook): Obsolete hook removed.
14695 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
14697 (follow-auto): Use a :set function.
14698 (follow-mode): Rewritten. Don't advise process filters.
14699 (follow-switch-to-current-buffer-all, follow-scroll-up)
14700 (follow-scroll-down): Assume follow-mode is bound.
14701 (follow-comint-scroll-to-bottom)
14702 (follow-align-compilation-windows): New functions.
14703 (follow--window-sorter): New function.
14704 (follow-all-followers): Use it to explicitly sort windows by their
14705 positions; don't make assumptions about next-window order.
14706 (follow-windows-start-end, follow-delete-other-windows-and-split)
14707 (follow-calc-win-start): Doc fix.
14708 (follow-windows-aligned-p, follow-select-if-visible): Don't call
14709 vertical-motion unnecessarily.
14710 (follow-adjust-window): New function.
14711 (follow-post-command-hook): Use it.
14712 (follow-call-set-process-filter, follow-call-process-filter)
14713 (follow-intercept-process-output, follow-tidy-process-filter-alist)
14714 (follow-stop-intercept-process-output, follow-generic-filter):
14716 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
14717 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
14718 New functions, replacing advice on scroll-bar-* commands.
14719 (follow-mwheel-scroll): New function (Bug#4112).
14721 * comint.el (comint-adjust-point): New function.
14722 (comint-postoutput-scroll-to-bottom): Use it.
14723 Call follow-comint-scroll-to-bottom for Follow mode buffers.
14725 2012-05-01 Glenn Morris <rgm@gnu.org>
14727 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
14728 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
14729 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
14730 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
14731 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
14732 Remove no-byte-compile setting.
14734 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
14736 * minibuffer.el (completion-table-with-quoting): Fix compatibility
14737 all-completions code to not return a number in the last cdr.
14739 2012-04-30 Leo Liu <sdl.web@gmail.com>
14741 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
14744 2012-04-29 Chong Yidong <cyd@gnu.org>
14746 * follow.el (follow-calc-win-end): Rewrite to handle partial
14747 screen lines correctly (Bug#8390).
14748 (follow-avoid-tail-recenter): Minor cleanup.
14750 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14752 Avoid the obsolete `assoc' package.
14753 * speedbar.el (speedbar-refresh): Avoid adelete.
14754 (speedbar-file-lists): Simplify and avoid aput.
14755 * man.el (Man--sections, Man--refpages): New vars, replacing
14756 Man-sections-alist and Man-refpages-alist.
14757 (Man-build-section-alist, Man-build-references-alist):
14758 Use them; avoid aput.
14759 (Man--last-section, Man--last-refpage): New vars.
14760 (Man-follow-manual-reference): Use them.
14761 Use the `default' arg of completing-read.
14762 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
14764 2012-04-27 Chong Yidong <cyd@gnu.org>
14766 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
14768 * startup.el (x-apply-session-resources): New function.
14770 * term/ns-win.el (ns-initialize-window-system):
14771 * term/w32-win.el (w32-initialize-window-system):
14772 * term/x-win.el (x-initialize-window-system): Use it to properly
14773 set menu-bar-mode and other vars from X resources, even if the
14774 initial frame is not a window-system frame (Bug#2299).
14776 * subr.el (read-key): Avoid running filter function when setting
14777 up temporary tool bar entries (Bug#9922).
14779 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14781 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
14784 2012-04-27 Chong Yidong <cyd@gnu.org>
14786 * select.el (xselect--encode-string): New function, split from
14787 xselect-convert-to-string.
14788 (xselect-convert-to-string): Use it.
14789 (xselect-convert-to-filename, xselect-convert-to-os)
14790 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
14791 returned strings are properly encoded (Bug#11315).
14793 2012-04-27 Chong Yidong <cyd@gnu.org>
14795 * simple.el (delete-active-region): Move to killing custom group.
14797 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14799 * progmodes/which-func.el (which-func-current): Quote %
14800 characters for mode-line processing.
14802 2012-04-27 Chong Yidong <cyd@gnu.org>
14804 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
14805 reaching eob (Bug#11286).
14807 2012-04-27 Eli Zaretskii <eliz@gnu.org>
14809 * progmodes/gdb-mi.el (gdb-control-level): New variable.
14810 (gdb): Make it buffer-local and init to zero.
14811 (gdb-control-commands-regexp): New variable.
14812 (gdb-send): Don't wrap in "-interpreter-exec console" if
14813 gdb-control-level is positive. Increment gdb-control-level
14814 whenever the command matches gdb-control-commands-regexp, and
14815 decrement it each time the command is "end". (Bug#11279)
14817 2012-04-27 Martin Rudalics <rudalics@gmx.at>
14819 * window.el (adjust-window-trailing-edge, enlarge-window)
14820 (shrink-window, window-resize):
14821 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
14822 windows (Bug#11276).
14824 2012-04-27 Chong Yidong <cyd@gnu.org>
14826 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
14827 fix "missing prefix" warning. All callers changed.
14829 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14831 * emacs-lisp/assoc.el: Move to obsolete/.
14833 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14835 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
14837 * term/ns-win.el (ns-define-service):
14838 * progmodes/pascal.el (pascal-goto-defun):
14839 * progmodes/js.el (js--read-tab):
14840 * progmodes/etags.el (tags-lazy-completion-table):
14841 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
14842 * emacs-lisp/ewoc.el (ewoc--wrap):
14843 * emacs-lisp/assoc.el (aput, adelete, amake):
14844 * doc-view.el (doc-view-convert-current-doc):
14845 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
14847 2012-04-26 Chong Yidong <cyd@gnu.org>
14849 * image.el (image-type-from-buffer): Only return supported image
14852 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
14853 value, for symmetry with diff-end-of-hunk.
14854 (diff-split-hunk, diff-find-source-location)
14855 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
14856 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
14857 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
14858 compute the relevant hunk or file properly (Bug#6005).
14859 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
14861 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14870 * vc/vc.el: Replace lexical-let by lexical-binding.
14871 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
14872 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
14873 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
14875 2012-04-26 Chong Yidong <cyd@gnu.org>
14877 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
14878 (diff-mode-shared-map): Bind it to / and [remap undo].
14880 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
14881 (ediff-window-setup-function): Use it as the default, to set up
14882 windows based on whether the current frame is graphical (Bug#2138).
14883 (ediff-choose-window-setup-function-automatically): Make obsolete.
14885 * vc/ediff-init.el: Always define ediff-pixel-width/height.
14887 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14889 * ffap.el: Remove old code for obsolete package.
14890 (ffap-complete-as-file-p): Remove.
14892 Use completion-table-with-quoting for comint and pcomplete.
14893 * comint.el (comint--unquote&requote-argument)
14894 (comint--unquote-argument, comint--requote-argument): New functions.
14895 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
14896 (comint-quote-filename): Use regexp-opt-charset.
14897 (comint--common-suffix, comint--common-quoted-suffix)
14898 (comint--table-subvert): Remove.
14899 (comint-unquote-function, comint-requote-function): New vars.
14900 (comint--complete-file-name-data): Use them with
14901 completion-table-with-quoting.
14902 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
14903 * pcomplete.el (pcomplete-arg-quote-list)
14904 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
14905 (pcomplete-unquote-argument-function): Default to non-nil.
14906 (pcomplete-unquote-argument): Simplify.
14907 (pcomplete--common-quoted-suffix): Remove.
14908 (pcomplete-requote-argument-function): New var.
14909 (pcomplete--common-suffix): New function.
14910 (pcomplete-completions-at-point): Use completion-table-with-quoting
14911 and completion-table-subvert.
14913 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
14914 (minibuffer--double-dollars): Preserve properties.
14915 (completion--sifn-requote): New function.
14916 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
14918 * minibuffer.el: Add support for completion of quoted/escaped data.
14919 (completion-table-with-quoting, completion-table-subvert): New funs.
14920 (completion--twq-try, completion--twq-all): New functions.
14921 (completion--nth-completion): New function.
14922 (completion-try-completion, completion-all-completions): Use it.
14924 2012-04-25 Leo Liu <sdl.web@gmail.com>
14926 * progmodes/python.el (python-pdbtrack-get-source-buffer):
14927 Use compilation-message if available to find real filename.
14929 2012-04-25 Chong Yidong <cyd@gnu.org>
14931 * vc/diff-mode.el (diff-setup-whitespace): New function.
14932 (diff-mode): Use it.
14934 * vc/diff.el (diff-sentinel):
14935 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
14936 Whitespace mode variables based on diff style (Bug#8612).
14938 2012-04-25 Leo Liu <sdl.web@gmail.com>
14940 * progmodes/python.el (python-send-region): Add suffix .py to the
14943 * files.el (auto-mode-alist): Use javascript-mode instead.
14945 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
14947 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
14949 * net/soap-client.el (soap-resolve-references-for-sequence-type)
14950 (soap-resolve-references-for-array-type): Hack to prevent self
14951 references, see Bug#9.
14952 (soap-parse-envelope): Report the contents of the 'detail' node
14953 when receiving a fault reply.
14954 (soap-parse-envelope): Report the contents of the entire 'detail' node.
14956 * net/soap-inspect.el (soap-sample-value-for-simple-type)
14957 (soap-inspect-simple-type): New function.
14959 * net/soap-client.el (soap-simple-type): New struct.
14960 (soap-default-xsd-types, soap-default-soapenc-types)
14961 (soap-decode-basic-type, soap-encode-basic-type):
14962 support unsignedInt and double basic types.
14963 (soap-resolve-references-for-simple-type)
14964 (soap-parse-simple-type, soap-encode-simple-type): New function.
14965 (soap-parse-schema): Parse xsd:simpleType declarations.
14967 * net/soap-client.el (soap-default-xsd-types)
14968 (soap-default-soapenc-types): Add integer, byte and anyURI types.
14969 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
14970 the local name of "soapenc:Array".
14971 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
14972 decoding integer, byte and anyURI xsd types.
14974 2012-04-25 Chong Yidong <cyd@gnu.org>
14976 * cus-edit.el (custom-buffer-create-internal): Update header text.
14978 2012-04-25 Eli Zaretskii <eliz@gnu.org>
14980 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
14981 settings on 'system-type', not on 'window-system'. On MS-Windows,
14982 set interactive-mode on in GDB.
14984 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14986 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
14987 (ruby-syntax-propertize-regexp): Remove.
14988 (ruby-syntax-propertize-function): Split regexp into chunks.
14989 Match following code directly.
14991 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
14993 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
14994 (ruby-syntax-propertize-regexp): New function.
14995 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
14996 by a special keyword.
14998 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
14999 (ruby-syntax-general-delimiters-goto-beg)
15000 (ruby-syntax-propertize-general-delimiters): New functions.
15001 (ruby-syntax-propertize-function): Use them to handle GDL.
15002 (ruby-font-lock-keywords): Move old handling of GDL...
15003 (ruby-font-lock-syntactic-keywords): .. to here.
15004 (ruby-calculate-indent): Adjust indentation for GDL.
15006 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
15008 * notifications.el (top): Remove unneeded declarations.
15009 (notifications-specification-version): Change to "1.2".
15010 (notifications-interface, notifications-notify-method)
15011 (notifications-close-notification-method): Fix docstring.
15012 (notifications-get-capabilities-method): New defconst.
15013 (notifications-notify): Add :action-items, :resident and
15014 :transient hints. Change "image_data" to "image-data" and
15015 "image_path" to "image-path".
15016 (notifications-get-capabilities): New defun.
15018 2012-04-24 Leo Liu <sdl.web@gmail.com>
15020 * progmodes/python.el: Move hideshow setup to the end.
15022 2012-04-24 Martin Rudalics <rudalics@gmx.at>
15024 * window.el (handle-select-window): Clear echo area since this is
15025 no more done by read_char (Bug#11304).
15027 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15029 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
15030 and `/ M' to filter-derived-mode.
15031 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
15032 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
15033 (ibuffer-mark-by-mode): Use default rather than initial-input.
15034 (ibuffer-filter-by-derived-mode): Autoload and require-match.
15036 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
15038 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
15039 (ibuffer-filter-by-derived-mode): New filter.
15040 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
15042 2012-04-23 Andreas Politz <politza@fh-trier.de>
15044 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
15046 2012-04-23 Chong Yidong <cyd@gnu.org>
15048 * cus-edit.el (customize-apropos, customize-apropos-options):
15049 Disable matching of non-option variables (Bug#11176).
15050 (customize-option, customize-option-other-window)
15051 (customize-changed-options): Doc fix.
15052 (customize-apropos-options, customize-apropos-faces)
15053 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
15055 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
15056 Fix word list splitting (Bug#11132).
15057 (apropos-symbol, apropos-keybinding, apropos-label)
15058 (apropos-property, apropos-function-button)
15059 (apropos-variable-button, apropos-misc-button): New faces.
15060 (apropos-symbol-face, apropos-keybinding-face)
15061 (apropos-label-face, apropos-property-face, apropos-match-face):
15062 Variables removed (Bug#8396).
15063 (apropos-library-button, apropos-format-plist, apropos-print)
15064 (apropos-print-doc, apropos-describe-plist): Callers changed.
15066 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
15068 * net/xesam.el (xesam-mode-map): Use let-bound map in
15069 initialization. (Bug#11292)
15071 2012-04-23 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
15073 Preserve ispell session localwords when switching back to
15076 * textmodes/ispell.el (ispell-buffer-session-localwords):
15077 New buffer-local variable to hold buffer session localwords.
15078 (ispell-kill-ispell): Add option 'clear to delete session
15080 (ispell-command-loop, ispell-change-dictionary)
15081 (ispell-buffer-local-words): Preserve session localwords when
15084 * textmodes/flyspell.el (flyspell-process-localwords)
15085 (flyspell-do-correct): Preserve session localwords when needed.
15087 2012-04-23 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
15089 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
15090 using obsolete `translation-table-for-input'.
15091 (ispell-word, ispell-process-line, ispell-complete-word):
15092 Use plain `insert' instead of removed `ispell-insert-word'.
15094 2012-04-22 Chong Yidong <cyd@gnu.org>
15096 * cus-edit.el (custom-variable-menu)
15097 (custom-variable-reset-saved, custom-face-menu)
15098 (custom-face-reset-saved): If there is no saved value, make the
15099 "reset-saved" operation bring back the default (Bug#9509).
15100 (custom-face-state): Properly detect themed faces.
15102 * faces.el (face-spec-set): Stop supporting deprecated form of
15105 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
15107 Move functions from C to Lisp. Make non-blocking method calls
15108 the default. Implement further D-Bus standard interfaces.
15110 * net/dbus.el (dbus-message-internal): Declare function.
15111 Remove unneeded function declarations.
15112 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
15113 (dbus-message-type-method-return, dbus-message-type-error)
15114 (dbus-message-type-signal): Declare variables. Remove local
15116 (dbus-interface-dbus, dbus-interface-peer)
15117 (dbus-interface-introspectable, dbus-interface-properties)
15118 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
15120 (dbus-interface-objectmanager): New defconst.
15121 (dbus-call-method, dbus-call-method-asynchronously)
15122 (dbus-send-signal, dbus-method-return-internal)
15123 (dbus-method-error-internal, dbus-register-service)
15124 (dbus-register-signal, dbus-register-method): New defuns, moved
15126 (dbus-call-method-handler, dbus-setenv)
15127 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
15129 (dbus-call-method-non-blocking): Make it an obsolete function.
15130 (dbus-unregister-object, dbus-unregister-service)
15131 (dbus-handle-event, dbus-register-property)
15132 (dbus-property-handler): Obey the new structure of
15133 `bus-registered-objects'.
15134 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
15135 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15136 Use `dbus-call-method'.
15138 2012-04-22 Chong Yidong <cyd@gnu.org>
15140 * cus-edit.el (custom-commands, custom-reset-menu)
15141 (Custom-reset-standard): Tweak labels.
15142 (custom-reset-button-menu): Change default to t.
15143 (custom-buffer-create-internal): For the custom-reset-button-menu
15144 case, put the revert button first.
15145 (custom-group-subtitle): New face.
15146 (custom-group-value-create): Align docstring to a specific column.
15148 * wid-edit.el (widget-documentation-link-add): Don't handle
15149 indentation in this function.
15150 (widget-documentation-string-indent-to): New function.
15151 (widget-documentation-string-value-create): Use it.
15153 * autorevert.el (auto-revert):
15154 * epg-config.el (epg):
15155 * ibuffer.el (ibuffer):
15158 * eshell/eshell.el (eshell):
15159 * net/ange-ftp.el (ange-ftp):
15160 * progmodes/ebnf2ps.el (postscript):
15161 * progmodes/flymake.el (flymake):
15162 * progmodes/prolog.el (prolog):
15163 * progmodes/verilog-mode.el (verilog-mode):
15164 * progmodes/which-func.el (which-func):
15165 * term/xterm.el (xterm):
15166 * textmodes/picture.el (picture):
15167 * textmodes/tildify.el (tildify):
15168 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
15169 customization buffers.
15171 2012-04-22 Alan Mackenzie <acm@muc.de>
15173 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
15174 Adding a ) can hide the resulting (..) from searches. Fix it.
15175 Bound the backward search to the position of the existing (.
15177 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
15179 * progmodes/verilog-mode.el (verilog-mode): Check whether
15180 which-func-modes is t before adding verilog-mode.
15181 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
15183 2012-04-21 Leo Liu <sdl.web@gmail.com>
15185 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
15187 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
15189 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
15190 filling of the last column of a table (Bug#5635).
15191 (woman-find-next-control-line): New arg, specifying an additional
15192 regexp component for the control line.
15193 (woman2-roff-buffer): Use it.
15194 (woman-break-table): New function.
15195 (woman2-TS): Use it.
15197 2012-04-21 Chong Yidong <cyd@gnu.org>
15199 * woman.el (woman-set-buffer-display-table, woman-decode-region)
15200 (woman-horizontal-escapes, woman-negative-vertical-space)
15201 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
15202 (WoMan-warn-ignored): Use ?\s instead of ?\ .
15204 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15206 * minibuffer.el (completion-file-name-table): Complete user names.
15208 2012-04-20 Leo Liu <sdl.web@gmail.com>
15210 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
15213 2012-04-20 Chong Yidong <cyd@gnu.org>
15215 * server.el (server-execute): Respect initial-buffer-choice if it
15216 is a string and there are no files to open (Bug#2825).
15217 (server-create-window-system-frame, server-create-tty-frame):
15218 Don't switch buffers here.
15219 (server-process-filter): Only try to open a window system frame if
15220 compiled with graphical support (Bug#8314).
15222 2012-04-20 Dan Nicolaescu <dann@gnu.org>
15224 * battery.el (battery-echo-area-format): Display remaining time
15225 for sysfs backend too (Bug#11269).
15226 (battery-linux-sysfs): Fix conditional for the charge.
15228 2012-04-20 Chong Yidong <cyd@gnu.org>
15230 * progmodes/gdb-mi.el (gdb): Revert previous change.
15231 (gdb-inferior-io--init-proc): New function.
15232 (gdb-init-1): Use it.
15233 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
15234 responsible for allocating a new pty and hooking it to gdb when
15235 the old pty gets an EIO due to process exit.
15236 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
15237 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
15238 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
15240 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15242 * window.el (window-min-size, window-sizable, window-min-delta)
15243 (window-max-delta, window--resizable, window-resizable)
15244 (window-total-size, window-full-height-p, window-full-width-p)
15245 (window-in-direction, window--resize-mini-window, window-resize)
15246 (window--resize-child-windows-normal)
15247 (window--resize-child-windows, window--resize-siblings)
15248 (window--resize-this-window, adjust-window-trailing-edge)
15249 (enlarge-window, shrink-window): Doc fixes.
15251 2012-04-20 Chong Yidong <cyd@gnu.org>
15253 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
15254 New function to call delete-process on the gdb-inferior buffer's pty.
15255 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
15256 pty process (Bug#11273).
15257 (gdb-update): New arg to suppress talking to the gdb process.
15258 (gdb-done-or-error): Use it.
15259 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
15260 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
15261 sentinel not being called.
15263 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
15265 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
15267 2012-04-20 Glenn Morris <rgm@gnu.org>
15269 * net/network-stream.el (open-network-stream): Doc fix.
15271 2012-04-20 Chong Yidong <cyd@gnu.org>
15273 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
15275 2012-04-20 Alan Mackenzie <acm@muc.de>
15277 Ensure searching for keywords is case sensitive.
15279 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
15280 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
15281 (c-defun-name, c-mark-function, c-cpp-define-name)
15282 (c-comment-indent, c-scan-conditionals, c-indent-defun)
15283 (c-context-line-break): Bind case-fold-search to nil.
15285 * progmodes/cc-mode.el (c-font-lock-fontify-region):
15286 Bind case-fold-search to nil.
15288 2012-04-20 Chong Yidong <cyd@gnu.org>
15290 * mail/sendmail.el (mail-bury): Call return action with the right
15291 Rmail buffer (Bug#11242).
15293 * server.el (server-process-filter): Handle corner case where both
15294 tty and nowait options are present (Bug#11102).
15296 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15298 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
15299 (top level): Put into the executable the ident-style '$Id:' tag on
15300 windows-nt as well.
15302 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15304 * electric.el (electric-indent-post-self-insert-function): Check that
15305 electric-indent-mode is enabled in current buffer.
15307 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15309 * imenu.el (imenu-progress-message): Restore; it is "used" in
15310 erc/erc-imenu.el and net/snmp-mode.el.
15312 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15314 * avoid.el (mouse-avoidance-mode): Mark unused arg.
15315 (mouse-avoidance-nudge-mouse): Remove unused binding.
15317 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
15319 * descr-text.el (describe-char):
15320 * progmodes/python.el (python-describe-symbol):
15321 Don't call `toggle-read-only', set `buffer-read-only'.
15323 * imenu.el (imenu-default-goto-function): Mark unused args.
15324 (imenu-progress-message): Remove obsolete macro; all callers changed.
15326 * subr.el (keymap-canonicalize): Remove unused binding.
15327 (read-passwd): Mark unused arg.
15329 * tutorial.el (tutorial--display-changes): Remove unused binding.
15330 (tutorial--save-tutorial-to): Remove unused variable.
15332 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
15333 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
15334 (package-generate-autoloads, package-menu--generate)
15335 (package-menu--find-upgrades): Remove unused bindings.
15337 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
15338 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
15339 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
15340 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
15341 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
15342 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
15343 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
15344 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
15345 (cua-delete-char-rectangle): Mark unused args.
15346 (cua-align-rectangle): Remove unused binding.
15348 * mail/rmail.el (compilation--message->loc)
15349 (epa--find-coding-system-for-mime-charset): Declare.
15351 * net/dbus.el (dbus-register-service): Declare.
15352 (dbus-name-owner-changed-handler): Remove unused binding.
15354 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
15355 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
15356 (nxml-scan-backward-within): Mark unused arg.
15357 (nxml-dynamic-markup-word): Remove unused binding.
15359 * mouse.el (mouse-menu-major-mode-map):
15360 * emacs-lisp/authors.el (authors-scan-change-log)
15361 (authors-add-to-author-list):
15362 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
15363 * emacs-lisp/smie.el (smie-auto-fill):
15364 * mail/sendmail.el (mail-bury):
15365 * mail/unrmail.el (unrmail):
15366 * net/tls.el (open-tls-stream):
15367 * textmodes/picture.el (picture-mouse-set-point):
15368 Remove unused bindings.
15370 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
15372 * net/tramp.el (tramp-action-password): Let-bind
15373 `enable-recursive-minibuffers' to t.
15375 2012-04-18 Sam Steingold <sds@gnu.org>
15377 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
15378 instead of 'string to accommodate values like [f11].
15379 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
15380 * progmodes/gdb-mi.el: Likewise.
15382 2012-04-18 Leo Liu <sdl.web@gmail.com>
15384 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
15386 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
15389 2012-04-18 Chong Yidong <cyd@gnu.org>
15391 * simple.el (line-move): Use forward-line if in batch mode
15394 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
15396 * files.el (after-find-file): Do not try to add a final newline if
15397 the buffer is read-only (Bug#11156).
15399 2012-04-17 Richard Stallman <rms@gnu.org>
15401 * mail/rmail.el (rmail-start-mail):
15402 Pass (rmail-mail-return...) for the return-action.
15403 Pass (rmail-yank-current-message...) for the yank-action.
15404 (rmail-yank-current-message): New function.
15405 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
15406 (rmail-reply): Likewise.
15407 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
15409 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
15410 buffer, not the last. Reject temp buffers. Use the rmail-mode
15411 buffer, not newbuf.
15413 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
15415 * server.el (server-ensure-safe-dir): Simplify.
15417 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15419 * emacs-lisp/smie.el: Provide smarter auto-filling.
15420 (smie-auto-fill): New function.
15421 (smie-setup): Use it.
15423 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
15425 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
15427 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
15428 (comment-indent): Use it.
15430 2012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
15432 * ses.el: The overall change is to add cell renaming, that is
15433 setting fancy names for cell symbols other than name matching
15434 "\\`[A-Z]+[0-9]+\\'" regexp .
15435 (ses-localvars): Add ses--renamed-cell-symb-list.
15436 (ses-create-cell-variable): New defun.
15437 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
15438 (ses-relocate-formula): Relocate formulas only for cells the
15439 symbols of which are not renamed, i.e. symbols whose names do not
15440 match regexp "\\`[A-Z]+[0-9]+\\'".
15441 (ses-relocate-all): Relocate values only for cells the symbols of
15442 which are not renamed.
15443 (ses-load): Create cells variables as the (ses-cell ...) are read,
15444 in order to check row col consistency with cell symbol name only
15445 for cells that are not renamed.
15446 (ses-replace-name-in-formula): New defun.
15447 (ses-rename-cell): New defun.
15449 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
15451 * progmodes/perl-mode.el (perl-indent-parens-as-block):
15452 New option (bug#11118).
15453 (perl-calculate-indent): Respect it.
15455 2012-04-17 Glenn Morris <rgm@gnu.org>
15457 * dired-aux.el (dired-mark-read-string): Doc fix.
15459 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
15461 * dired-aux.el (dired-mark-read-string): Offer optional completion.
15462 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
15464 2012-04-17 Glenn Morris <rgm@gnu.org>
15466 * mouse.el (mouse-drag-track):
15467 * speedbar.el (speedbar-frame-mode):
15468 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
15470 2012-04-16 Leo Liu <sdl.web@gmail.com>
15472 * progmodes/python.el: Trivial cleanup.
15474 2012-04-16 Glenn Morris <rgm@gnu.org>
15476 * vc/vc.el (vc-string-prefix-p):
15477 * vc/pcvs-util.el (cvs-string-prefix-p):
15478 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
15479 * mpc.el (mpc-string-prefix-p):
15480 Make all of these into obsolete aliases for string-prefix-p.
15482 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
15484 * textmodes/two-column.el: Move custom options to the start.
15485 (frame-width): Remove compat definition.
15486 (2C-associate-buffer, 2C-dissociate):
15487 Use with-current-buffer rather than save-excursion.
15488 (2C-dissociate): Force a mode-line update.
15489 (2C-autoscroll): Use ignore-errors.
15491 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
15494 * emacs-lisp/cl-extra.el (*random-state*):
15495 Remove unnecessary declaration.
15497 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
15499 * play/cookie1.el (cookie-snarf):
15500 Give an explicit error if input file cannot be read.
15502 * play/yow.el (yow-file): Use expand-file-name rather than concat.
15504 * progmodes/perl-mode.el (c-macro-expand):
15505 Remove unnecessary autoload (it is in loaddefs.el).
15507 * textmodes/picture.el (picture-desired-column)
15508 (picture-update-desired-column): Convert comments to doc-strings.
15509 (picture-substitute): Remove function.
15510 (picture-mode-map): Initialize in the defvar.
15512 * woman.el: Remove eval-after-load for tar-mode.
15513 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
15514 (woman-tar-extract-file): Autoload it.
15516 * frame.el (automatic-hscrolling): Make this alias obsolete.
15518 2012-04-12 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
15520 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
15521 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
15522 (ispell-dictionary-base-alist): Revert to original XEmacs
15523 friendly version for default. [:alpha:] will be added in
15524 `ispell-set-spellchecker-params' if needed.
15526 2012-04-16 Chong Yidong <cyd@gnu.org>
15528 * image.el (imagemagick--file-regexp): New variable.
15529 (imagemagick-register-types): Use it.
15530 (imagemagick-types-inhibit): Add :set function. Allow new value
15531 of t to inhibit all types.
15533 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
15534 so we can preload it.
15536 * loadup.el (fboundp): Preload regexp-opt, needed by
15537 imagemagick-register-types.
15539 2012-04-15 Chong Yidong <cyd@gnu.org>
15541 * frame.el (scrolling): Remove nearly unused customization group.
15543 * scroll-all.el (scroll-all-mode): Move to windows group.
15545 2012-04-15 Chong Yidong <cyd@gnu.org>
15547 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
15549 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15551 Avoid the use of ((lambda ...) ...) in lexical-binding code.
15552 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
15554 2012-04-15 Glenn Morris <rgm@gnu.org>
15556 * simple.el (process-file-side-effects): Doc fix.
15558 2012-04-15 Glenn Morris <rgm@gnu.org>
15560 * international/mule-cmds.el (set-language-environment): Doc fix.
15562 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15564 * server.el (server-auth-key, server-generate-key): Doc fixes.
15565 (server-get-auth-key): Doc fix. Use `string-match-p'.
15566 (server-start): Reflow docstring.
15568 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
15570 * server.el (server-generate-key): `called-interactively-p'
15571 requires a parameter.
15573 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
15575 * server.el (server-auth-key): New variable.
15576 (server-generate-key, server-get-auth-key): New function.
15577 (server-start): Use the new variable and functions to allow
15578 setting a permanent server key (bug#9423).
15580 2012-04-14 Leo Liu <sdl.web@gmail.com>
15582 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
15584 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
15587 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
15588 Emacs uses American spelling.
15590 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15592 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
15593 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
15594 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
15595 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
15597 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15599 * progmodes/which-func.el (which-func-modes): Change default.
15601 2012-04-14 Kim F. Storm <storm@cua.dk>
15603 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
15604 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
15606 2012-04-14 Chong Yidong <cyd@gnu.org>
15608 * custom.el (custom-theme-set-variables): Doc fix.
15610 2012-04-14 Glenn Morris <rgm@gnu.org>
15612 * international/mule.el (set-auto-coding-for-load): Doc fix.
15614 2012-04-14 Alan Mackenzie <acm@muc.de>
15616 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
15617 imenu work again for Objective C Mode. Correct the *-index values,
15618 these having been disturbed by a previous change in 2011-08.
15620 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
15621 Correct two search limits.
15623 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15625 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
15627 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
15629 * international/characters.el: Fix sorting.
15631 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15633 * international/characters.el: Add more missing Latin case pairs.
15635 2012-04-14 Glenn Morris <rgm@gnu.org>
15637 * files.el (dir-locals-set-class-variables): Doc fix.
15639 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15641 * international/characters.el: Add set-case-syntax-pair call for
15642 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
15643 counterpart. (Bug#11209)
15645 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
15647 2012-04-14 Glenn Morris <rgm@gnu.org>
15649 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15651 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15653 * textmodes/ispell.el (ispell-dictionary-base-alist):
15654 Add data for Hebrew.
15656 2012-04-14 Chong Yidong <cyd@gnu.org>
15658 * net/rcirc.el (rcirc-cmd-quit):
15659 Revert 2012-03-18 change (Bug#11192).
15661 2012-04-14 Glenn Morris <rgm@gnu.org>
15663 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
15665 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15667 * minibuffer.el (completion-in-region-mode-map):
15668 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
15670 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
15672 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
15674 2012-04-13 Masatake YAMATO <yamato@redhat.com>
15676 * minibuffer.el (minibuffer-local-filename-syntax): New variable
15677 to allow `C-M-f' and `C-M-b' to move to the nearest path
15678 separator (bug#9511).
15680 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
15682 * avoid.el: Require cl when compiling. And also move the
15683 `provide' to the end.
15685 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15687 * avoid.el (mouse-avoidance-banish-position): New variable.
15688 (mouse-avoidance-banish-destination): Use it (bug#10165).
15690 2012-04-13 Leo Liu <sdl.web@gmail.com>
15692 * progmodes/which-func.el (which-func-modes): Add objc-mode.
15694 2012-04-13 Ken Brown <kbrown@cornell.edu>
15696 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
15697 this is no longer needed now that cygstart understands file:// URLs.
15698 (browse-url-filename-alist): For the same reason, don't modify
15699 file:// URLs on Cygwin.
15701 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
15703 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
15704 the region on shift if the binding is already shifted (bug#11221).
15706 2012-04-12 Glenn Morris <rgm@gnu.org>
15708 * mail/mailpost.el: Move to obsolete/.
15710 2012-04-12 Drew Adams <drew.adams@oracle.com>
15712 * imenu.el (imenu--generic-function): Ignore invisible definitions
15715 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
15717 * hexl.el (hexl-bits): New variable.
15718 (hexl-options): Mention the variable in the doc string.
15719 (hexl-rulerise, hexl-line-displen): New functions.
15720 (hexl-mode): Mention the new variable.
15721 (hexl-mode, hexl-current-address, hexl-current-address):
15723 (hexl-ascii-start-column): New function.
15724 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
15725 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
15727 2012-04-12 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
15729 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
15730 '("-i" ENCODING), in 2 separate command-line arguments, to specify
15731 the encoding, as expected by hunspell.
15733 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
15735 * battery.el (battery--linux-sysfs-regexp): New const.
15736 (battery-status-function): Use it. Remove yeeloong special case.
15737 (battery-yeeloong-sysfs): Remove.
15738 (battery-echo-area-format): Remove yeeloong special case.
15740 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15742 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
15743 Reported by Noah Friedman.
15745 * subr.el (read-passwd): Use read-string.
15747 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15749 * vcursor.el (vcursor-move): Increase the priority of the overlay
15752 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15754 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
15755 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
15757 2012-04-11 William Stevenson <yhvh2000@gmail.com>
15759 * textmodes/artist.el (artist-mode): Convert artist-mode to use
15760 define-minor-mode (bug#10760).
15762 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15764 * progmodes/grep.el (rgrep): Tweak the find command line so
15765 that directories matching `grep-find-ignored-files' won't be
15766 pruned (bug#10351).
15768 2012-04-11 Chong Yidong <cyd@gnu.org>
15770 * startup.el (command-line): Remove support for long-obsolete
15771 variable font-lock-face-attributes.
15773 2012-04-11 Glenn Morris <rgm@gnu.org>
15775 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
15777 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15779 * window.el (window--state-get-1): Obey window-point-insertion-type.
15781 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
15783 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
15784 to previous function when point is on the first character of a
15785 function. Take care of that in `narrow-to-defun' (bug#6157).
15787 2012-04-11 Glenn Morris <rgm@gnu.org>
15789 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
15790 not just file-errors.
15792 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
15793 (vc-bzr-sha1): Use internal sha1.
15795 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15797 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
15799 2012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
15801 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
15802 that start in the middle of the line (bug#10496).
15804 2012-04-10 Dan Nicolaescu <dann@gnu.org>
15806 * battery.el (battery-linux-proc-acpi): Only one battery is
15807 discharged at a time, but that seems to confuse battery.el when
15808 computing `rate-type' for the battery not being discharged
15811 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15813 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
15815 * international/quail.el: Use dolist and simplify.
15816 (quail-define-package, quail-update-keyboard-layout)
15817 (quail-define-rules): Use dolist.
15818 (quail-insert-kbd-layout, quail-get-translation): CSE.
15820 * tmm.el: Use dolist, remove left over hook.
15821 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
15823 (calendar-load-hook): Don't mess with it.
15825 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
15826 Use derived-mode-p. Run the diff asynchronously.
15828 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15830 * obsolete/mouse-sel.el: Add an Obsolete-since header.
15832 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
15834 * misc.el: Display absolute path of loaded DLLs (bug#10424).
15835 (list-dynamic-libraries--loaded): New function.
15836 (list-dynamic-libraries--refresh): Use it.
15838 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
15840 * progmodes/python.el (python-fill-paragraph):
15841 Make python-fill-region in a multiline string work when font-lock is
15842 disabled (bug#7018).
15844 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
15846 * language/european.el (cp775): Add oem/legacy (en)coding on
15847 DOS/MS Windows for the Baltic languages. There are still plenty
15848 of texts written in this encoding/codepage (bug#6519).
15850 2012-04-10 Glenn Morris <rgm@gnu.org>
15852 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
15853 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
15855 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
15857 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
15858 next-line "n" and previous-line "p" in order to make recentf more
15859 consistent with ibuffer, dired or org-mode (bug#9387).
15861 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15863 * image.el (put-image): Return the overlay created instead of the
15864 optional input string (bug#7834). Note that this may break code
15865 that is (for some reason or other) depending on `put-image'
15866 returning the string.
15868 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
15870 * simple.el (zap-to-char): Allow zapping using input methods
15873 * textmodes/fill.el (fill-region): Leave point and mark where they
15874 were before filling (bug#5399).
15876 2012-04-09 Glenn Morris <rgm@gnu.org>
15878 * version.el (emacs-bzr-get-version):
15879 Handle lightweight checkouts of local branches.
15881 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
15883 * international/characters.el: Recover lost case pairs. (Bug#11209)
15885 2012-04-09 Chong Yidong <cyd@gnu.org>
15887 * custom.el (custom-variable-p): Return nil for non-symbol
15888 arguments instead of signaling an error.
15889 (user-variable-p): Obsolete alias for custom-variable-p.
15891 * apropos.el (apropos-variable):
15892 * files-x.el (read-file-local-variable):
15893 * simple.el (set-variable):
15894 * woman.el (woman-mini-help):
15895 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
15897 2012-04-09 Glenn Morris <rgm@gnu.org>
15899 * startup.el (normal-top-level): Don't look for leim-list.el
15900 in places where it will not be found. (Bug#910)
15902 * international/mule-cmds.el (set-default-coding-systems):
15903 * files.el (normal-mode):
15904 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
15905 This function was removed with ucs-tables.el in 2008.
15907 2012-04-08 Eli Zaretskii <eliz@gnu.org>
15909 * textmodes/ispell.el (ispell-check-version): For hunspell, set
15910 ispell-encoding8-command to "-i", without a trailing space.
15911 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
15912 separate command-line arguments, to specify the encoding, since
15913 that's how hunspell expects it.
15915 2012-04-08 Glenn Morris <rgm@gnu.org>
15917 * loadup.el: Load bindings before cus-start.
15918 This reduces somewhat the number of "rogue" settings in emacs -Q.
15920 2012-04-07 Glenn Morris <rgm@gnu.org>
15922 * version.el (emacs-bzr-get-version): New function.
15923 (emacs-bzr-version): New variable.
15924 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
15925 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
15927 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15929 * international/uni-bidi.el, international/uni-category.el:
15930 * international/uni-combining.el, international/uni-decimal.el:
15931 * international/uni-decomposition.el, international/uni-digit.el:
15932 * international/uni-lowercase.el, international/uni-mirrored.el:
15933 * international/uni-name.el, international/uni-numeric.el:
15934 * international/uni-titlecase.el, international/uni-uppercase.el:
15935 Update for Unicode 6.1.
15937 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15939 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
15941 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
15943 * window.el (shrink-window): Mention the `window-min-height'
15944 variable in the doc string.
15946 2012-04-05 Bastien Guerry <bzg@altern.org>
15948 * color.el (color-lighten-name): Fix typo.
15950 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15952 * server.el (server--on-display-p): New function.
15953 (server--on-display-p): Use it.
15955 2012-04-04 GĂ¡bor Vida <vidagabor@gmail.com> (tiny change)
15957 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
15960 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15962 * comint.el (comint--common-quoted-suffix): Check string boundary
15963 before comparing (bug#11158).
15964 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
15966 2012-04-04 Chong Yidong <cyd@gnu.org>
15968 * minibuffer.el (completion-extra-properties): Doc fix.
15970 * subr.el (delayed-warnings-hook): Doc fix.
15972 2012-04-04 Daiki Ueno <ueno@unixuser.org>
15974 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
15975 selection (Bug#11159).
15976 (epa-insert-keys): Inform that the default public key will be
15977 exported if no key is selected.
15979 2012-04-04 Richard Stallman <rms@gnu.org>
15981 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
15983 2012-04-03 Chong Yidong <cyd@gnu.org>
15985 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
15986 mail-insert-file, not its obsolete alias mail-attach-file.
15988 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
15990 * notifications.el (notifications-notify): Fix docstring.
15992 2012-04-02 Glenn Morris <rgm@gnu.org>
15994 * emacs-lisp/authors.el (authors-aliases): Another addition.
15996 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
15998 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
15999 `tramp-compat-call-process' instead of `tramp-local-call-process'.
16000 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
16002 2012-04-01 Chong Yidong <cyd@gnu.org>
16004 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
16005 Handle root directory properly.
16006 (copy-directory): Caller changed.
16008 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16009 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
16011 2012-03-31 Glenn Morris <rgm@gnu.org>
16013 * term/xterm.el (xterm-extra-capabilities): Doc fix.
16015 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
16017 * calendar/calendar.el (calendar-window-list)
16018 (calendar-hide-window): Restore. (Bug#11140)
16019 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
16021 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
16023 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16025 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16026 Check if file is a symlink (Bug#10489).
16028 * files.el (copy-directory): Likewise.
16030 2012-03-30 Chong Yidong <cyd@gnu.org>
16032 * image.el (imagemagick-types-inhibit)
16033 (imagemagick-register-types): Doc fix.
16035 2012-03-30 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
16037 * textmodes/ispell.el (ispell-get-extended-character-mode):
16038 Disable extended-char-mode for hunspell. hunspell does not support it
16039 and treats ~word as ordinary words in pipe mode.
16041 2012-03-30 Glenn Morris <rgm@gnu.org>
16043 * tutorial.el (help-with-tutorial): Ensure local variables don't
16044 happen to make the buffer read-only. (Bug#11127)
16046 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16048 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
16049 (perl-calculate-indent): Return `noindent' in strings.
16051 2012-03-28 Sam Steingold <sds@gnu.org>
16053 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
16054 instead of the broken adhockery which does not prevent calendar
16055 buffers from being displayed at random after exit.
16056 (calendar-window-list, calendar-hide-window): Remove the broken
16059 2012-03-28 Glenn Morris <rgm@gnu.org>
16061 * replace.el (query-replace-map): Doc fix.
16063 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
16065 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
16066 contents. (Bug#11109)
16068 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16070 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
16072 (avl-tree--check, avl-tree--check-node): New funs.
16074 2012-03-27 Martin Rudalics <rudalics@gmx.at>
16076 * window.el (switch-to-visible-buffer): New option.
16077 (switch-to-prev-buffer, switch-to-next-buffer):
16078 Observe switch-to-visible-buffer. Make sure that checking for a window
16079 showing a buffer already is done on the same frame.
16081 2012-03-27 Glenn Morris <rgm@gnu.org>
16083 * startup.el (mail-host-address): Doc fix.
16085 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16087 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
16088 than 197 variables.
16090 2012-03-26 Ami Fischman <ami@fischman.org>
16092 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
16094 2012-03-26 Glenn Morris <rgm@gnu.org>
16096 * files.el (save-buffers-kill-emacs): Doc fix.
16098 * startup.el (normal-top-level, command-line, command-line-1):
16099 Give them doc strings.
16101 2012-03-25 Eli Zaretskii <eliz@gnu.org>
16103 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
16104 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
16106 2012-03-25 Chong Yidong <cyd@gnu.org>
16108 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
16109 theme if it was previously enabled before (Bug#11031).
16111 * cus-theme.el (custom-theme-write-faces): Retrieve current face
16112 spec with custom-face-get-current-spec if its :shown-value is not
16113 determined yet (Bug#9337).
16114 (customize-create-theme, custom-theme-revert): Doc fixes.
16116 * button.el (button-at): Minor addition to docstring.
16118 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
16120 * vc/vc.el (vc-merge): Fix a prompt.
16122 2012-03-24 Chong Yidong <cyd@gnu.org>
16124 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
16127 * button.el (button-at): Minor addition to docstring.
16129 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
16131 * newcomment.el (comment-choose-indent): No space after BOL.
16133 2012-03-22 Sam Steingold <sds@gnu.org>
16135 * window.el (switch-to-prev-buffer): Revert last patch because the
16136 bug turned out to be an advertised feature (Elisp manual 28.14).
16138 2012-03-22 Glenn Morris <rgm@gnu.org>
16140 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
16141 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
16143 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16145 * net/network-stream.el (network-stream-open-starttls): Make error
16146 message under Windows be less misleading.
16148 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
16150 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
16151 understands (bug#9942).
16153 2012-03-22 Chong Yidong <cyd@gnu.org>
16155 * simple.el (end-of-visible-line): Handle return value of
16156 next-single-property-change properly (Bug#9371).
16158 2012-03-22 Kenichi Handa <handa@m17n.org>
16160 * international/quail.el (quail-insert-kbd-layout): Fix previous
16161 change. To avoid unwanted bidi reordering, use
16162 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
16164 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
16166 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
16167 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
16168 (ruby-beginning-of-indent): Be more careful with the difference
16169 between word-boundary and symbol boundary.
16170 (ruby-mode-syntax-table): Make : a symbol constituent.
16172 2012-03-21 Andreas Politz <politza@fh-trier.de>
16174 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
16176 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16178 * progmodes/etags.el (tags-completion-at-point-function):
16181 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
16183 2012-03-21 Sam Steingold <sds@gnu.org>
16185 * progmodes/etags.el (tags-completion-at-point-function):
16186 Avoid the error when point is inside the pattern.
16188 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
16190 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
16193 2012-03-21 Drew Adams <drew.adams@oracle.com>
16195 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
16197 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
16199 * ido.el (ido-set-current-directory, ido-read-internal)
16200 (ido-choose-completion-string, ido-completion-help): Handle nil
16201 value of ido-completion-buffer (Bug#11008).
16203 2012-03-21 Sam Steingold <sds@gnu.org>
16205 * window.el (switch-to-prev-buffer): Do not switch to a visible
16206 window previous buffer, just like with the frame previous buffers.
16208 2012-03-21 Chong Yidong <cyd@gnu.org>
16210 * faces.el (make-face, make-empty-face, copy-face):
16211 * face-remap.el (face-remap-add-relative, face-remap-set-base):
16214 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16216 * wid-edit.el (widget-complete-field): Remove (bug#11051).
16217 (widget-complete): Remove broken use of it.
16219 2012-03-20 Chong Yidong <cyd@gnu.org>
16221 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16222 Use string-width and truncate-string-width to handle arbitrary
16225 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
16227 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
16228 to draw rectangles, not squares. (Regression introduced by revno
16229 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
16231 2012-03-18 Chong Yidong <cyd@gnu.org>
16233 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
16234 it is not yet defined (for temacs).
16236 2012-03-18 Leo Liu <sdl.web@gmail.com>
16238 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
16241 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16243 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
16244 (ispell-choices-win-default-height, ispell-silently-savep)
16245 (ispell-dictionary-alist, ispell-encoding8-command)
16246 (ispell-check-version, ispell-aspell-find-dictionary)
16247 (ispell-valid-dictionary-list, ispell-words-keyword)
16248 (ispell-get-word, ispell-internal-change-dictionary)
16249 (ispell-region, ispell-skip-region-list)
16250 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
16251 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
16252 (ispell-message-text-end, ispell-message)
16253 (ispell-buffer-local-parsing): Doc fix.
16255 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
16257 * htmlfontify.el: Add support for code block fontification for ODT
16258 export (Bug #9914).
16259 (hfy-optimisations): Define new option
16261 (hfy-fontify-buffer): Honor above setting.
16262 (hfy-begin-span, hfy-end-span): New routines factored out form
16263 `hfy-fontify-buffer'.
16264 (hfy-begin-span-handler, hfy-end-span-handler): New variables
16265 that permit insertion of custom tags.
16266 (hfy-fontify-buffer): Use above handlers.
16267 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
16268 (hfy-face-to-css): Re-defined to be a variable.
16269 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
16270 over multiple runs. This is made possible by having the caller let
16271 bind a special variable `hfy-user-sheet-assoc'.
16272 (htmlfontify-string): New defun.
16273 (hfy-compile-face-map): Make sure that the last char in the
16274 buffer is correctly fontified.
16275 (hfy-face-resolve-face): Whitespace only change.
16277 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16279 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
16280 message more clear.
16282 2012-03-16 Leo Liu <sdl.web@gmail.com>
16284 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
16286 2012-03-16 Alan Mackenzie <acm@muc.de>
16288 Further optimize the handling of large macros.
16290 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
16291 limit to a call of `c-literal-limits'.
16292 (c-determine-+ve-limit): New function.
16293 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
16294 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
16295 In CASE 5B, restrict a search limit to 500.
16296 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
16298 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
16299 Restrict macro bounds to +-500 from after-change's BEG END.
16301 2012-03-16 Leo Liu <sdl.web@gmail.com>
16303 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
16305 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
16307 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
16308 `special-mode' setting of `buffer-read-only'. (Bug#11010)
16310 2012-03-16 Glenn Morris <rgm@gnu.org>
16312 * view.el (view-buffer, view-buffer-other-window)
16313 (view-buffer-other-frame): Doc fixes re special mode-class.
16315 * subr.el (eval-after-load): If named feature is provided not from
16316 a file, run after-load forms. (Bug#10946)
16318 * calendar/calendar.el (calendar-insert-at-column):
16319 Handle non-unit-width characters a bit better. (Bug#10978)
16321 2012-03-15 Chong Yidong <cyd@gnu.org>
16323 * emacs-lisp/ring.el (ring-extend): New function.
16324 (ring-insert+extend): Extend the ring correctly (Bug#11019).
16326 * comint.el (comint-read-input-ring)
16327 (comint-add-to-input-history): Grow comint-input-ring lazily.
16329 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16331 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
16332 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
16334 * imenu.el: Fix multiple inheritance breakage (bug#9199).
16335 (imenu-add-to-menubar): Don't add a redundant index.
16336 (imenu-update-menubar): Handle a dynamically composed keymap.
16338 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
16340 * mail/sendmail.el (mail-encode-header):
16341 Bind rfc2047-encode-encoded-words to nil.
16343 2012-03-13 Glenn Morris <rgm@gnu.org>
16345 * calendar/calendar.el (calendar-string-spread):
16346 Handle non-unit-width characters a bit better. (Bug#10978)
16348 2012-03-13 Leo Liu <sdl.web@gmail.com>
16350 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
16351 directory and file as argument (Bug#10822).
16353 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16355 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
16356 For dynamically generated code, follow $PC.
16357 (gdb-disassembly-handler-custom): Handle no function name case.
16359 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
16361 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
16362 * emulation/ws-mode.el (ws-query-replace):
16363 * sort.el (sort-regexp-fields):
16364 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
16366 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16368 * dabbrev.el: Fix cycle completion order (bug#10963).
16369 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
16370 (dabbrev-completion): Don't use an obarray; provide
16371 a cycle-sort-function.
16373 2012-03-12 Leo Liu <sdl.web@gmail.com>
16375 * simple.el (kill-new): Use equal-including-properties for comparison.
16376 (kill-do-not-save-duplicates): Doc fix.
16378 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16380 * dabbrev.el: Fix cycle completion (bug#10963).
16381 Use lexical binding and wrap to 80 columns.
16382 (dabbrev-completion): Delay computing the list of completions.
16384 2012-03-12 Kenichi Handa <handa@m17n.org>
16386 * international/quail.el (quail-insert-kbd-layout): Surround each
16387 row by LRO and PDF instead of inserting many LRMs. Pad the left
16388 and right of each non-spacing marks. Insert invisible space
16389 between lower and upper characters to prevent composition.
16391 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16393 * minibuffer.el (minibuffer-complete): Don't get confused when the
16394 function is run twice via different commands (bug#10958).
16395 (complete-with-action): Fix docstring.
16397 2012-03-12 Chong Yidong <cyd@gnu.org>
16399 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
16400 (nxml-completion-at-point-function): New function.
16401 (nxml-mode): Use it.
16402 (nxml-bind-meta-tab-to-complete-flag): Default to t.
16404 * emacs-lisp/package.el (package-unpack, package-unpack-single):
16405 Load generated autoloads file before byte compiling (Bug#10970).
16406 (package--make-autoloads-and-compile): New helper fun.
16408 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
16410 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
16412 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
16414 * autorevert.el (auto-revert-handler): Ensure, that
16415 file-readable-p is applied only for local files or in
16416 auto-revert-tail-mode.
16418 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
16420 * server.el (server-eval-at): Handle non-tcp connections.
16421 Decode result string.
16423 * server.el (server-msg-size): New constant.
16424 (server-reply-print): New function.
16425 (server-eval-and-print): Use it.
16426 (server-eval-at): Use server-quote-arg and server-unquote-arg.
16427 Handle -print-nonl.
16429 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
16431 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
16434 2012-03-11 Chong Yidong <cyd@gnu.org>
16436 * simple.el (goto-line): Doc fix (Bug#9938).
16438 * subr.el (save-window-excursion): Doc fix (Bug#9979).
16440 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
16441 when finished (Bug#10963).
16443 2012-03-11 Martin Rudalics <rudalics@gmx.at>
16445 * window.el (split-window-below): Fix bug in case where
16446 split-window-keep-point is nil (Bug#10971).
16448 2012-03-11 Juri Linkov <juri@jurta.org>
16450 * replace.el (replace-highlight): Set isearch-word to nil
16451 unconditionally. (Bug#10887)
16453 2012-03-10 Eli Zaretskii <eliz@gnu.org>
16455 * net/mairix.el (mairix-replace-invalid-chars): Rename from
16456 mairix-replace-illegal-chars; all callers changed. Don't remove
16457 ^, ~, and = characters: they are meaningful in mairix search specs.
16458 (mairix-widget-create-query): Add usage information about mairix
16459 search forms: negating words, searching for substrings, etc.
16461 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
16463 * international/fontset.el (font-encoding-alist): Add an entry for
16464 ksx1001 (Bug#5667).
16466 2012-03-10 Richard Stallman <rms@gnu.org>
16468 * mail/sendmail.el (mail-encode-header):
16469 Set rfc2047-encode-encoded-words.
16471 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
16473 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
16474 view buffer means not swapped.
16475 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
16476 (rmail-write-region-annotate): Error if real text has disappeared.
16478 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
16480 2012-03-10 Chong Yidong <cyd@gnu.org>
16482 * emulation/cua-rect.el (cua--init-rectangles):
16483 * emulation/cua-base.el (cua--init-keymaps):
16484 Add delete-forward-char to remappings (Bug#9666).
16486 2012-03-10 Martin Rudalics <rudalics@gmx.at>
16488 * speedbar.el (speedbar-unhighlight-one-tag-line):
16489 Avoid unhighlighting due to frame switching (Bug#10275).
16491 2012-03-10 Chong Yidong <cyd@gnu.org>
16493 * minibuffer.el (completion-in-region, completion-help-at-point):
16494 Give the completion field overlay a high priority (Bug#6830).
16496 * dired.el (dired-goto-file): Recognize absolute file name
16497 listings (Bug#7126).
16498 (dired-goto-file-1): New helper function.
16499 (dired-toggle-read-only): Inhibit warnings.
16501 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
16503 * net/dbus.el (dbus-property-handler): Return empty array if
16504 there are no properties.
16506 2012-03-09 Leo Liu <sdl.web@gmail.com>
16508 * savehist.el (savehist-printable): Stricter check for string
16511 2012-03-09 Eli Zaretskii <eliz@gnu.org>
16513 * mail/smtpmail.el (smtpmail-send-it):
16514 Bind coding-system-for-write to *-unix, so that FCC files are kept in
16517 2012-03-09 Glenn Morris <rgm@gnu.org>
16519 * files.el (dir-locals-find-file):
16520 Don't check result is regular, readable.
16521 (dir-locals-read-from-file): Demote errors.
16523 2012-03-08 Eli Zaretskii <eliz@gnu.org>
16525 * international/quail.el (quail-insert-kbd-layout):
16526 Insert invisible LRM characters before each character in a keyboard
16527 layout cell, to prevent their reordering by bidi display engine.
16528 For details, see the discussion in
16529 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
16531 2012-03-08 Alan Mackenzie <acm@muc.de>
16533 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
16534 the starting position; make it extend the marked region when
16535 invoked repeatedly - all under appropriate circumstances.
16536 Fixes bugs #5525, #10906.
16538 2012-03-08 Glenn Morris <rgm@gnu.org>
16540 * files.el (locate-dominating-file, dir-locals-find-file):
16541 Undo 2012-03-06 change.
16543 2012-03-07 Eli Zaretskii <eliz@gnu.org>
16545 * international/quail.el (quail-help):
16546 Force bidi-paragraph-direction be left-to-right. See discussion in
16547 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
16550 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
16552 Avoid superfluous registering of signals. (Bug#10807)
16554 * notifications.el (notifications-on-action-object)
16555 (notifications-on-close-object): New defvars.
16556 (notifications-on-action-signal, notifications-on-closed-signal):
16557 Unregister the signal if not needed any longer.
16558 (notifications-notify): Register `notifications-action-signal' or
16559 `notifications-closed-signal', if :on-action or :on-close has been
16560 passed as argument.
16562 2012-03-07 Chong Yidong <cyd@gnu.org>
16564 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
16567 2012-03-06 Glenn Morris <rgm@gnu.org>
16569 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16570 (x-disown-selection-internal, x-get-selection-internal):
16571 Doc fix (add arglist signatures). (Bug#10783)
16573 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16575 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16576 Handle breakpoints with no "type".
16578 2012-03-06 Glenn Morris <rgm@gnu.org>
16580 * files.el (locate-dominating-file): Add optional predicate argument.
16581 (dir-locals-find-file): Make use of above change.
16583 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
16585 * info.el (Info-insert-dir): Also try "dir.gz".
16587 2012-03-06 Glenn Morris <rgm@gnu.org>
16589 * files.el (dir-locals-find-file):
16590 Ignore non-readable or non-regular files. (Bug#10928)
16592 * files.el (locate-dominating-file): Doc fix.
16594 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
16596 * calendar/calendar.el (calendar-set-mode-line):
16597 `getenv' returns a string. (Bug#10951)
16599 2012-03-05 Leo Liu <sdl.web@gmail.com>
16601 * simple.el (backward-delete-char-untabify): Constrain point to
16604 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
16606 2012-03-05 Chong Yidong <cyd@gnu.org>
16608 * simple.el (count-words): If called from Lisp, return the word
16609 count, for symmetry with `count-lines'. Arglist changed.
16610 (count-words--message): Args changed. Consolidate counting code
16611 from count-words and count-words-region.
16612 (count-words-region): Caller changed.
16613 (count-lines-region): Make it an obsolete alias.
16615 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
16617 * saveplace.el (save-place-to-alist)
16618 (save-place-ignore-files-regexp): Allow value nil to disable this
16621 2012-03-04 Chong Yidong <cyd@gnu.org>
16623 * faces.el (face-spec-reset-face): For the default face, reset the
16624 attributes to default values (Bug#10748).
16626 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16628 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
16629 previous patch: Check `message-send-mail-function', and not the
16630 default function (bug#10897).
16632 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
16634 * notifications.el (notifications-on-action-signal)
16635 (notifications-on-closed-signal): Check for unique service name of
16636 incoming event. Fix error in removing entry.
16637 (top): Register for signals with wildcard service name.
16638 (notifications-notify): Use daemon unique service name for map entries.
16640 2012-03-04 Chong Yidong <cyd@gnu.org>
16642 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
16644 2012-03-04 Glenn Morris <rgm@gnu.org>
16646 * abbrev.el (copy-abbrev-table, abbrev-table-p)
16647 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
16648 (expand-abbrev, define-abbrev-table): Doc fixes.
16650 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16652 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
16653 `message-default-send-mail-function' and not `send-mail-function'
16654 when doing the prompting for `sendmail-query-once' before sending
16655 in Message buffers (bug#10897).
16657 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
16658 This is inconsistent with all the other stream functions, which leave
16659 the setting up to the higher levels (if so wanted) (bug#10931).
16661 2012-03-02 Alan Mackenzie <acm@muc.de>
16663 Depessimize the handling of very large macros.
16665 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
16666 (c-macro-cache-syntactic): New variables to implement a one
16667 element macro cache.
16668 (c-invalidate-macro-cache): New function.
16669 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
16670 Adapt to use the new cache.
16671 (c-state-safe-place): Use better the cache of safe positions.
16672 (c-state-semi-nonlit-pos-cache)
16673 (c-state-semi-nonlit-pos-cache-limit):
16674 New variables for...
16675 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
16676 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
16677 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
16678 Use c-state-semi-safe-place.
16680 * progmodes/cc-langs.el (c-get-state-before-change-functions):
16681 Add c-invalidate-macro-cache to the C, C++, Obj entries.
16683 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
16685 * jka-compr.el (jka-compr-call-process):
16686 Apply `file-accessible-directory-p' only when the default directory is
16689 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
16691 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
16692 access of FILE2, if FILE1 does not exist.
16694 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
16695 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
16697 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
16698 Add "PAGER=" to `process-environment'.
16700 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
16702 * progmodes/sql.el: Bug fix
16703 (sql-get-login-ext): Save login values in globals.
16704 (sql-get-login): Use new version of `sql-get-login-ext'.
16705 (sql-interactive-mode): Set global `sql-connection' to nil.
16706 (sql-connect): Set global values for connection.
16707 (sql-product-interactive): Save global values as buffer local.
16709 2012-02-29 Leo Liu <sdl.web@gmail.com>
16711 * abbrev.el (define-abbrevs): Reset sys to nil.
16713 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16715 * files.el (file-equal-p): Rename from `files-equal-p'.
16716 Return nil when one or both files don't exist.
16717 (file-subdir-of-p): Now only top directory must exists,
16718 return nil if it doesn't.
16719 (copy-directory): No need to test with `file-subdir-of-p' after
16721 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
16724 2012-02-28 Glenn Morris <rgm@gnu.org>
16726 * shell.el (shell-mode):
16727 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
16728 * play/landmark.el (landmark-font-lock-face-O):
16729 * play/handwrite.el (handwrite):
16730 * play/gomoku.el (gomoku-O):
16731 * net/browse-url.el (browse-url-browser-display):
16732 * international/mule.el (define-charset):
16733 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
16734 * filesets.el (filesets-find-file-delay):
16735 * eshell/em-xtra.el (eshell-xtra):
16736 * eshell/em-unix.el (eshell-grep):
16737 * emulation/viper.el (viper-mode):
16738 * emacs-lisp/regexp-opt.el (regexp-opt-group):
16739 * emacs-lisp/easymenu.el (easy-menu-define):
16740 * calendar/timeclock.el (timeclock-use-display-time):
16742 * bookmark.el (bookmark-save-flag):
16743 Doc fix (standardize possessive apostrophe usage).
16745 2012-02-27 Chong Yidong <cyd@gnu.org>
16747 * emulation/viper-cmd.el (viper-intercept-ESC-key):
16748 Fix key-binding lookup for ESC key (Bug#9146).
16750 * font-lock.el (font-lock-specified-p): Rename from
16751 font-lock-spec-present. Callers changed.
16753 2012-02-27 Daniel Hackney <dan@haxney.org>
16755 * emacs-lisp/package.el (package-compute-transaction):
16756 Handle holding a package version to t in package-load-list.
16758 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
16760 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
16761 (tramp-get-inode, tramp-get-device): Use cached values.
16763 2012-02-26 Alan Mackenzie <acm@muc.de>
16765 Check there is a font-lock specification before doing initial
16768 * font-core.el (font-lock-mode): Move the conditional from
16769 :after-hook to font-lock-initial-fontify.
16770 (font-lock-default-function): Move the check for a specification
16771 to font-lock-spec-present.
16773 * font-lock.el (font-lock-initial-fontify): Call ...
16774 (font-lock-spec-present): New function.
16776 2012-02-26 Jim Blandy <jimb@red-bean.com>
16778 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
16779 (gdb-send): Apply it to the operand of the '-interpreter-exec
16780 console' command, so that we can pass arguments with (say) quotes
16781 in them. Store exact string sent in gdb-debug-log (Bug#10765).
16783 2012-02-26 Chong Yidong <cyd@gnu.org>
16785 * help-fns.el (describe-function-1): Clarify description of
16786 remapping (Bug#10844).
16788 * files.el (files-equal-p): Doc fix.
16789 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
16790 and quit the loop once a mismatch is found.
16792 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
16794 * bs.el (bs--show-with-configuration): Don't throw an error
16795 if the window cannot be split; otherwise, subsequent calls to
16796 bs-show fail, restoring a stale window config. (Bug#10882)
16798 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
16800 * term/ns-win.el (global-map): Bind ns-drag-file to
16801 ns-find-file (Bug#5855, Bug#10050).
16803 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
16805 * calendar/parse-time.el (parse-time-string): Allow extractor to
16808 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
16810 * net/tramp.el (tramp-file-name-for-operation):
16811 Add `files-equal-p' and `file-subdir-of-p'.
16813 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16814 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16815 Add COPY-CONTENTS argument.
16817 2012-02-25 Chong Yidong <cyd@gnu.org>
16819 Add custom groups for VC backends, for consistency with vc-bzr.
16821 * vc/vc-arch.el (vc-arch):
16822 * vc/vc-cvs.el (vc-cvs):
16823 * vc/vc-git.el (vc-git):
16824 * vc/vc-hg.el (vc-hg):
16825 * vc/vc-mtn.el (vc-mtn):
16826 * vc/vc-rcs.el (vc-rcs):
16827 * vc/vc-sccs.el (vc-sccs):
16828 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
16829 All relevant defcustoms reassigned.
16831 2012-02-25 Chong Yidong <cyd@gnu.org>
16833 * newcomment.el (comment-styles): Add autoload (Bug#10868).
16835 * term/x-win.el (x-initialize-window-system): Reduce default for
16836 x-selection-timeout to 5 seconds (Bug#8869).
16838 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16840 * files.el (files-equal-p, file-subdir-of-p): New functions.
16841 (copy-directory): Error when trying to copy a directory on itself.
16842 Add missing copy-contents arg to tramp handler.
16843 * dired-aux.el (dired-copy-file-recursive): Same.
16844 (dired-create-files): Modify destination when source is equal to
16845 dest when copying files.
16846 Return also when dest is a subdir of source. (Bug#10489)
16848 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
16850 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
16853 2012-02-23 Alan Mackenzie <acm@muc.de>
16855 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
16856 parameter "after-hook:" to allow the expansion to run code after
16857 the execution of the mode hooks.
16859 * font-lock.el (font-lock-initial-fontify): New function extracted
16860 from font-lock-mode-internal.
16862 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
16865 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16867 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
16868 (completion--cache-all-sorted-completions): New function.
16869 (completion-all-sorted-completions): Use it.
16870 (completion--do-completion, minibuffer-force-complete):
16871 Use it to re-instate the flush hook.
16873 * icomplete.el (icomplete-completions): Replace last fix with a better
16876 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
16878 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
16879 when it might call us back infinitely (bug#10797).
16881 2012-02-23 Glenn Morris <rgm@gnu.org>
16883 * minibuffer.el (completion-category-overrides): Doc fix.
16885 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16887 * minibuffer.el (completion-table-with-context): Fix inf-loop.
16888 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
16890 2012-02-23 Glenn Morris <rgm@gnu.org>
16892 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
16893 (authors-obsolete-files-regexps, authors-ignored-files)
16894 (authors-ambiguous-files, authors-renamed-files-alist):
16897 2012-02-23 Juri Linkov <juri@jurta.org>
16899 * isearch.el (isearch-occur): Sync interactive spec with occur's
16900 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
16902 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
16904 2012-02-22 Juri Linkov <juri@jurta.org>
16906 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
16907 (ucs-insert): Doc fix. Check for hex digits in the string.
16908 Don't display `nil' in the error message. (Bug#10857)
16910 2012-02-22 Alan Mackenzie <acm@muc.de>
16912 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
16914 2012-02-22 Glenn Morris <rgm@gnu.org>
16916 * ffap.el (ffap-c-path):
16917 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
16919 2012-02-22 Chong Yidong <cyd@gnu.org>
16921 * custom.el (load-theme): Doc fix.
16923 2012-02-22 Glenn Morris <rgm@gnu.org>
16925 * dired-x.el (dired-guess-shell-alist-default):
16926 Remove escape sequences from nroff output. (Bug#172)
16928 2012-02-21 Glenn Morris <rgm@gnu.org>
16930 * vc/emerge.el (emerge-defvar-local):
16931 Set `permanent-local' property rather than unused `preserved'.
16933 * textmodes/picture.el (picture-delete-char): New alias.
16934 (picture-mode-map): Use it. (Bug#10860)
16935 (picture-mode): Doc fix.
16937 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
16939 * newcomment.el (uncomment-region-default): Remove unused binding.
16941 2012-02-21 Glenn Morris <rgm@gnu.org>
16943 * textmodes/picture.el (picture-motion, picture-motion-reverse)
16944 (picture-self-insert, picture-tab-chars): Doc fix.
16945 (picture-mode-map): Fix C-a, C-e.
16947 2012-02-20 Glenn Morris <rgm@gnu.org>
16949 * emacs-lisp/authors.el (authors-aliases): Add another entry.
16951 2012-02-20 Leo Liu <sdl.web@gmail.com>
16953 * icomplete.el (icomplete-completions): Check FROM arg before
16954 passing to substring (Bug#10850).
16956 2012-02-19 Chong Yidong <cyd@gnu.org>
16958 * comint.el: Require ansi-color.
16959 (comint-output-filter-functions): Add ansi-color-process-output.
16961 * ansi-color.el: Don't set comint-output-filter-functions; it is
16962 now in the initial value defined in comint.el.
16963 (ansi-color-apply-face-function): New variable.
16964 (ansi-color-apply-on-region): Use it.
16965 (ansi-color-apply-overlay-face): New function.
16967 * shell.el (shell): No need to require ansi-color.
16968 (shell-mode): Use ansi-color-apply-face-function to highlight
16969 color escapes using font-lock-face property (Bug#10835).
16971 2012-02-19 Chong Yidong <cyd@gnu.org>
16973 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
16974 mode-line formats (Bug#10839).
16976 2012-02-18 Glenn Morris <rgm@gnu.org>
16978 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
16980 * mail/undigest.el (unforward-rmail-message): Doc fix.
16982 * saveplace.el (save-place-ignore-files-regexp): Add :version.
16984 2012-02-18 Eli Zaretskii <eliz@gnu.org>
16986 * international/characters.el (script-list): Sync with the latest
16987 Unicode Character Database.
16989 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
16991 * international/titdic-cnv.el: Remove duplicate coding tag.
16992 * language/cham.el: Likewise.
16993 * language/tai-viet.el: Likewise.
16995 2012-02-18 Glenn Morris <rgm@gnu.org>
16997 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
16998 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
16999 (calendar-bahai-all-holidays-flag, calendar-other-dates):
17000 * calendar/diary-lib.el (diary-abbreviated-year-flag):
17001 * calendar/holidays.el (holiday-bahai-holidays)
17002 (calendar-holidays, list-holidays):
17003 Use utf-8 BahĂ¡'Ă in doc-strings, menus, etc.
17005 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
17007 * saveplace.el (save-place-ignore-files-regexp): New variable
17008 allowing for excluding files from saving their location of point.
17009 The default value matches the temporary commit message editing
17010 files from Git, SVN, Bazaar, and Mercurial.
17011 (save-place-to-alist): Use it.
17013 2012-02-17 Lawrence Mitchell <wence@gmx.li>
17014 Stefan Monnier <monnier@iro.umontreal.ca>
17016 * newcomment.el (uncomment-region-default): Don't leave extra space
17017 when an arg is provided (bug#8150).
17019 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
17021 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
17023 2012-02-17 Glenn Morris <rgm@gnu.org>
17025 * net/socks.el: Require network-stream. (Bug#10599)
17027 2012-02-17 Kenichi Handa <handa@m17n.org>
17029 * international/charprop.el:
17030 * international/uni-name.el:
17031 * international/uni-old-name.el:
17032 * international/uni-comment.el: Regenerate.
17034 2012-02-16 Glenn Morris <rgm@gnu.org>
17036 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
17037 Interactively in calendar buffer, give an error if not on a date.
17039 2012-02-15 Glenn Morris <rgm@gnu.org>
17041 * shell.el (shell-delimiter-argument-list):
17042 Revert 2011-02-17 change. (Bug#8027)
17044 2012-02-15 Chong Yidong <cyd@gnu.org>
17046 * minibuffer.el (completion-at-point-functions): Doc fix.
17048 * custom.el (defcustom): Doc fix; note use of defvar.
17050 2012-02-15 Glenn Morris <rgm@gnu.org>
17052 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
17055 2012-02-14 Glenn Morris <rgm@gnu.org>
17057 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
17059 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
17061 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
17062 way the ports list is computed.
17063 (smtpmail-query-smtp-server): Prompt the user for a port number if
17064 we can't connect to any of the standard ports (bug#10810).
17066 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
17068 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
17070 2012-02-13 Glenn Morris <rgm@gnu.org>
17072 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
17074 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
17076 * net/gnutls.el (gnutls-trustfiles): New variable.
17077 (gnutls-negotiate): Use it.
17079 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
17081 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
17082 does its stuff if Gnus is running.
17084 2012-02-13 Alan Mackenzie <acm@muc.de>
17086 Fix a loop in c-set-fl-decl-start.
17088 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
17089 c-backward-syntactic-ws actually moves backwards.
17091 2012-02-13 Leo Liu <sdl.web@gmail.com>
17093 * net/rcirc.el (rcirc-markup-attributes): Move point to the
17094 beginning so that all \C-o chars are removed.
17096 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
17098 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
17100 2012-02-12 Alan Mackenzie <acm@muc.de>
17102 Fix infinite loop with long macros.
17103 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
17105 2012-02-12 Chong Yidong <cyd@gnu.org>
17107 * window.el (display-buffer): Doc fix (Bug#10785).
17109 2012-02-12 Glenn Morris <rgm@gnu.org>
17111 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17112 (x-disown-selection-internal, x-get-selection-internal):
17113 Sync docs with the xselect.c versions.
17115 * allout-widgets.el: Add missing license notice.
17117 2012-02-11 Glenn Morris <rgm@gnu.org>
17119 * select.el (x-get-selection-internal, x-own-selection-internal)
17120 (x-disown-selection-internal):
17121 * x-dnd.el (x-get-selection-internal): Update declarations.
17123 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
17125 * window.el (window-sides-slots):
17126 * tool-bar.el (tool-bar-position):
17127 * term/xterm.el (xterm-extra-capabilities):
17128 * ses.el (ses-self-reference-early-detection):
17129 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
17130 (verilog-auto-wire-type)
17131 (verilog-auto-delete-trailing-whitespace)
17132 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
17133 (verilog-auto-tieoff-declaration):
17134 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
17135 (sql-oracle-statement-starters, sql-oracle-scan-on):
17136 * progmodes/prolog.el (prolog-align-comments-flag)
17137 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
17138 (prolog-left-indent-regexp, prolog-paren-indent-p)
17139 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
17140 (prolog-types, prolog-mode-specificators)
17141 (prolog-determinism-specificators, prolog-directives)
17142 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
17143 (prolog-electric-dot-flag)
17144 (prolog-electric-dot-full-predicate-template)
17145 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
17146 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
17147 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
17148 (prolog-program-switches, prolog-prompt-regexp)
17149 (prolog-debug-on-string, prolog-debug-off-string)
17150 (prolog-trace-on-string, prolog-trace-off-string)
17151 (prolog-zip-on-string, prolog-zip-off-string)
17152 (prolog-use-standard-consult-compile-method-flag)
17153 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
17154 (prolog-imenu-max-lines, prolog-info-predicate-index)
17155 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
17156 (prolog-char-quote-workaround):
17157 * progmodes/cc-vars.el (c-defun-tactic):
17158 * net/tramp.el (tramp-encoding-command-interactive)
17159 (tramp-local-end-of-line):
17160 * net/soap-client.el (soap-client):
17161 * net/netrc.el (netrc-file):
17162 * net/gnutls.el (gnutls):
17163 * minibuffer.el (completion-category-overrides)
17164 (completion-cycle-threshold)
17165 (completion-pcm-complete-word-inserts-delimiters):
17166 * man.el (Man-name-local-regexp):
17167 * mail/feedmail.el (feedmail-display-full-frame):
17168 * international/characters.el (glyphless-char-display-control):
17169 * eshell/em-ls.el (eshell-ls-date-format):
17170 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
17171 (lisp-lambda-list-keyword-parameter-indentation)
17172 (lisp-lambda-list-keyword-parameter-alignment):
17173 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
17174 * dired-x.el (dired-omit-verbose):
17175 * cus-theme.el (custom-theme-allow-multiple-selections):
17176 * calc/calc.el (calc-highlight-selections-with-faces)
17177 (calc-lu-field-reference, calc-lu-power-reference)
17178 (calc-note-threshold):
17179 * battery.el (battery-mode-line-limit):
17180 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
17181 (archive-7z-update):
17182 * allout.el (allout-prefixed-keybindings)
17183 (allout-unprefixed-keybindings)
17184 (allout-inhibit-auto-fill-on-headline)
17185 (allout-flattened-numbering-abbreviation):
17186 * allout-widgets.el (allout-widgets-auto-activation)
17187 (allout-widgets-icons-dark-subdir)
17188 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
17189 (allout-widgets-theme-dark-background)
17190 (allout-widgets-theme-light-background)
17191 (allout-widgets-item-image-properties-emacs)
17192 (allout-widgets-item-image-properties-xemacs)
17193 (allout-widgets-run-unit-tests-on-load)
17194 (allout-widgets-time-decoration-activity)
17195 (allout-widgets-hook-error-post-time)
17196 (allout-widgets-track-decoration):
17197 Add missing :version tags to new defcustoms and defgroups.
17199 * progmodes/sql.el (sql-ansi-statement-starters)
17200 (sql-oracle-statement-starters): Add custom type.
17202 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
17203 (prolog-system-version): Give it a type.
17205 2012-02-11 Eli Zaretskii <eliz@gnu.org>
17207 * term/pc-win.el (x-select-text, x-selection-owner-p)
17208 (x-own-selection-internal, x-disown-selection-internal)
17209 (x-get-selection-internal): Sync doc strings and argument lists
17210 with xselect.c, common-win.el and x-win.el. (Bug#10783)
17212 2012-02-11 Leo Liu <sdl.web@gmail.com>
17214 * progmodes/python.el (python-end-of-statement): Fix infinite
17217 2012-02-10 Glenn Morris <rgm@gnu.org>
17219 * international/mule-cmds.el (unify-8859-on-encoding-mode)
17220 (unify-8859-on-decoding-mode): Properly mark as obsolete.
17222 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
17224 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
17225 about SMTP before checking the From header.
17227 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
17228 into own function for reuse by emacsbug.el.
17230 2012-02-10 Leo Liu <sdl.web@gmail.com>
17232 * subr.el (condition-case-unless-debug): Rename from
17233 condition-case-no-debug. All callers changed.
17234 (with-demoted-errors): Fix caller.
17236 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
17237 * nxml/rng-valid.el (rng-do-some-validation):
17238 * emacs-lisp/package.el (package-refresh-contents)
17239 (package-menu-execute):
17240 * desktop.el (desktop-create-buffer):
17241 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
17243 2012-02-10 Glenn Morris <rgm@gnu.org>
17245 * textmodes/bibtex.el:
17246 Add missing :version tags for new/changed defcustoms.
17248 * files.el (remote-file-name-inhibit-cache): Doc fixes.
17250 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
17252 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
17253 (smtpmail-via-smtp): Use it, or fall back on the From address.
17254 (smtpmail-send-it): Ditto.
17256 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
17258 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
17259 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
17260 (byte-compile-tmp-var): New const.
17261 (byte-compile-defvar): Use it to minimize .elc size.
17262 Just use `defvar' rather than simulate it (bug#10761).
17264 2012-02-09 Glenn Morris <rgm@gnu.org>
17266 * files.el (rename-uniquely): Doc fix. (Bug#3806)
17268 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
17271 * progmodes/compile.el (compilation-error-screen-columns)
17272 (compilation-first-column, compilation-filter-start): Doc fixes.
17274 * vc/log-view.el (log-view-toggle-entry-display):
17275 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
17277 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
17278 (report-emacs-bug-can-use-xdg-email):
17279 (report-emacs-bug-insert-to-mailer): Doc fixes.
17280 (report-emacs-bug): Message fix.
17282 * net/browse-url.el (browse-url-can-use-xdg-open)
17283 (browse-url-xdg-open): Doc fixes.
17285 * electric.el (electric-indent-mode, electric-pair-mode)
17286 (electric-layout-rules, electric-layout-mode): Doc fixes.
17287 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
17289 2012-02-08 Martin Rudalics <rudalics@gmx.at>
17291 * server.el (server-unselect-display): Don't inadvertently kill
17292 the current buffer. (Bug#10729)
17294 2012-02-08 Glenn Morris <rgm@gnu.org>
17296 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
17297 (sql-list-table): Doc fixes.
17299 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
17300 Comment out (does nothing).
17302 * completion.el (dynamic-completion-mode):
17303 * dirtrack.el (dirtrack-debug-mode):
17304 * electric.el (electric-layout-mode):
17305 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
17306 * face-remap.el (text-scale-mode, buffer-face-mode):
17307 * iimage.el (iimage-mode):
17308 * image-mode.el (image-transform-mode):
17309 * minibuffer.el (completion-in-region-mode):
17310 * scroll-lock.el (scroll-lock-mode):
17311 * simple.el (next-error-follow-minor-mode):
17312 * tar-mode.el (tar-subfile-mode):
17313 * tooltip.el (tooltip-mode):
17314 * vcursor.el (vcursor-use-vcursor-map):
17315 * wid-browse.el (widget-minor-mode):
17316 * emulation/tpu-edt.el (tpu-edt-mode):
17317 * emulation/tpu-extras.el (tpu-cursor-free-mode):
17318 * international/iso-ascii.el (iso-ascii-mode):
17319 * language/thai-util.el (thai-word-mode):
17320 * mail/supercite.el (sc-minor-mode):
17321 * net/goto-addr.el (goto-address-mode):
17322 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
17323 * progmodes/cwarn.el (cwarn-mode):
17324 * progmodes/flymake.el (flymake-mode):
17325 * progmodes/glasses.el (glasses-mode):
17326 * progmodes/hideshow.el (hs-minor-mode):
17327 * progmodes/pascal.el (pascal-outline-mode):
17328 * textmodes/enriched.el (enriched-mode):
17329 * vc/smerge-mode.el (smerge-mode):
17330 Doc fixes (minor mode argument).
17332 2012-02-07 Eli Zaretskii <eliz@gnu.org>
17334 * ls-lisp.el (ls-lisp-sanitize): New function.
17335 (ls-lisp-insert-directory): Use it to fix or remove any elements
17336 in file-alist with missing attributes. (Bug#4673)
17338 2012-02-07 Alan Mackenzie <acm@muc.de>
17340 Fix spurious recognition of c-in-knr-argdecl.
17342 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
17343 putative K&R region.
17345 2012-02-07 Alan Mackenzie <acm@muc.de>
17347 * progmodes/cc-engine.el (c-forward-objc-directive):
17348 Prevent looping in "#pragma mark @implementation".
17350 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
17352 * notifications.el (notifications-on-closed-signal): Make `reason'
17353 optional. (Bug#10744)
17355 2012-02-07 Glenn Morris <rgm@gnu.org>
17357 * emacs-lisp/easy-mmode.el (define-minor-mode):
17358 Doc fixes for the macro and the mode it defines.
17360 * image.el (imagemagick-types-inhibit): Doc fix.
17362 * cus-start.el (imagemagick-render-type): Add it.
17364 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
17366 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
17367 Set the default at load time, too, so that `font-lock-fontify-buffer'
17368 can be called without setting up the entire mode first. This fixes
17369 a bug in `mm-inline-text' with C MIME parts.
17371 2012-02-06 Chong Yidong <cyd@gnu.org>
17373 * simple.el (list-processes--refresh): Delete exited processes
17376 * comint.el (comint-next-prompt): next-single-char-property-change
17377 and prev-single-char-property-change never return nil (Bug#8657).
17379 * custom.el (defcustom): Doc fix (Bug#9711).
17381 2012-02-05 Chong Yidong <cyd@gnu.org>
17383 * cus-edit.el (custom-variable-reset-backup): Quote the value
17384 before storing it in the customized-value property (Bug#6712).
17385 (custom-display): Add a customization type tag.
17386 (custom-buffer-create-internal): Improve tooltip message.
17388 * wid-edit.el (widget-field-value-get): New optional arg to
17389 suppress trailing whitespace truncation.
17390 (character): Use it (Bug#2689).
17392 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
17394 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
17395 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
17397 2012-02-05 Chong Yidong <cyd@gnu.org>
17399 * cus-edit.el (custom-variable-value-create): For mismatched
17400 types, show the current value (Bug#7600).
17402 * custom.el (defcustom): Doc fix.
17404 2012-02-05 Glenn Morris <rgm@gnu.org>
17406 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
17408 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
17410 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
17411 (pp-buffer): Use `ignore-errors', `looking-at-p'.
17412 (pp-last-sexp): Use `looking-at-p'.
17414 2012-02-04 Glenn Morris <rgm@gnu.org>
17416 * files.el (revert-buffer):
17417 Doc fix (mention revert-buffer-in-progress-p).
17419 * emacs-lisp/ert-x.el (ert-simulate-command):
17420 Check deferred-action-list (which is obsolete) is bound.
17422 * subr.el (with-wrapper-hook): Doc fixes.
17424 * simple.el (filter-buffer-substring-functions)
17425 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
17427 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
17429 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
17430 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
17432 2012-02-04 Leo Liu <sdl.web@gmail.com>
17434 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
17436 2012-02-04 Glenn Morris <rgm@gnu.org>
17438 * image.el (image-extension-data): Add obsolete alias.
17440 * isearch.el (isearch-update): Doc fix.
17442 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
17444 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
17446 2012-02-03 Glenn Morris <rgm@gnu.org>
17448 * image.el (image-animated-p): Doc fix. Use image-animated-types.
17449 (image-animate-timeout): Doc fix.
17451 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
17453 2012-02-02 Glenn Morris <rgm@gnu.org>
17455 * server.el (server-auth-dir): Doc fix.
17456 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
17458 * subr.el (run-mode-hooks): Doc fix.
17460 2012-02-02 Juri Linkov <juri@jurta.org>
17462 * image-mode.el (image-toggle-display-image): Remove tautological
17463 `major-mode' from the `derived-mode-p' test.
17465 2012-02-02 Kenichi Handa <handa@m17n.org>
17467 * composite.el (compose-region): Cancel previous change.
17469 2012-02-02 Kenichi Handa <handa@m17n.org>
17471 * composite.el (compose-region, compose-string): Signal error for
17472 a null string component (Bug#6988).
17474 2012-02-01 Chong Yidong <cyd@gnu.org>
17476 * view.el (view-buffer-other-window, view-buffer-other-frame):
17477 Handle special modes like view-buffer (Bug#10650).
17478 (view-buffer): Simplify.
17480 * frame.el (set-frame-font): Tweak meaning of third argument.
17482 * dynamic-setting.el (font-setting-change-default-font):
17483 Use set-frame-font (Bug#9982).
17485 2012-02-01 Glenn Morris <rgm@gnu.org>
17487 * progmodes/compile.el (compilation-internal-error-properties):
17488 Respect compilation-first-column in the "*compilation*" buffer.
17490 * emacs-lisp/easy-mmode.el (define-minor-mode):
17491 Relax :variable's test for a named function.
17493 2012-01-31 Alan Mackenzie <acm@muc.de>
17495 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
17498 2012-01-31 Chong Yidong <cyd@gnu.org>
17500 * frame.el (set-frame-font): New arg ALL-FRAMES.
17502 * menu-bar.el (menu-set-font): Use set-frame-font.
17504 * faces.el (face-spec-reset-face): Don't apply unspecified
17505 attribute values to the default face.
17507 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
17509 * progmodes/cwarn.el (cwarn): Remove dead link.
17510 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
17511 Remove * from defcustom docstrings.
17512 (turn-on-cwarn-mode): Make obsolete.
17513 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
17514 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
17516 2012-01-31 Glenn Morris <rgm@gnu.org>
17518 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
17519 Fix :variable handling of mode a symbol not equal to modefun.
17520 Allow named functions to be used as the cdr of :variable.
17522 2012-01-30 Glenn Morris <rgm@gnu.org>
17524 * emacs-lisp/authors.el (authors-fixed-entries):
17525 Remove reference to deleted file rnewspost.el.
17527 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
17529 * window.el (window-with-parameter): Remove unused variable `windows'.
17530 (window--side-check): Remove unused variable `code'.
17531 (window--resize-siblings): Remove unused variable `first'.
17532 (adjust-window-trailing-edge): Remove unused variable `failed'.
17533 (window-deletable-p, window--delete): Remove unused variable `buffer'.
17534 Use `let', not `let*'.
17535 (balance-windows-2): Remove unused variable `found'.
17536 (window--state-put-2): Remove unused variable `splits'.
17537 (window-state-put): Remove unused variable `selected'.
17538 (same-window-p): Use `string-match-p'.
17539 (display-buffer-assq-regexp): Remove unused variable `value'.
17540 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17541 Mark argument ALIST as ignored.
17542 (pop-to-buffer): Remove unused variable `old-window'.
17544 2012-01-29 Eli Zaretskii <eliz@gnu.org>
17546 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
17547 and .lzma compressed files.
17549 2012-01-29 Chong Yidong <cyd@gnu.org>
17551 * frame.el (window-system-default-frame-alist): Doc fix.
17553 * dynamic-setting.el (font-setting-change-default-font): Don't
17554 change the default face if SET-FONT argument is non-nil (Bug#9982).
17556 2012-01-29 Samuel Bronson <naesten@gmail.com>
17558 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
17560 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
17562 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
17563 breakpoints in files outside current directory (Bug#6098).
17565 2012-01-29 Chong Yidong <cyd@gnu.org>
17567 * progmodes/python.el: Require ansi-color at top-level.
17569 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
17570 Define and use in Emacs Lisp mode (Bug#9360).
17571 (lisp-mode-abbrev-table): Add doc.
17572 (lisp-mode-variables): Don't set local-abbrev-table.
17573 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
17575 2012-01-28 Roland Winkler <winkler@gnu.org>
17577 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
17579 2012-01-28 Roland Winkler <winkler@gnu.org>
17581 * textmodes/bibtex.el (bibtex-entry-alist): New function.
17582 (bibtex-set-dialect): Use it. Either set global values of
17583 dialect-dependent variables or bind these variables buffer-locally
17585 (bibtex-mode): Call bibtex-set-dialect via
17586 hack-local-variables-hook.
17587 (bibtex-dialect): Update docstring.
17588 Add safe-local-variable predicate.
17589 (bibtex-entry-alist, bibtex-field-alist): Initialize via
17590 bibtex-set-dialect.
17591 (bibtex-mode-map): Define menu for each dialect.
17592 (bibtex-entry): Fix docstring.
17594 2012-01-28 Chong Yidong <cyd@gnu.org>
17596 * eshell/esh-arg.el (eshell-quote-argument): New function.
17598 * eshell/esh-ext.el (eshell-invoke-batch-file):
17599 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
17600 first arg to eshell-parse-command (Bug#10523).
17602 2012-01-28 Drew Adams <drew.adams@oracle.com>
17604 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
17605 `default-directory' is non-nil.
17607 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17609 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
17610 line that displays system-configuration-options. (Bug#9924)
17612 2012-01-28 Drew Adams <drew.adams@oracle.com>
17614 * descr-text.el (describe-char): Show information about POS, in
17615 addition to information about the character at POS. Improve and
17616 update the doc string. Change "code point" to "code point in
17617 charset", to avoid confusion with the character's Unicode code
17618 point shown above that. (Bug#10129)
17620 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17622 * descr-text.el (describe-char): Show the raw character, not only
17623 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
17624 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
17627 2012-01-28 Phil Hagelberg <phil@hagelb.org>
17629 * emacs-lisp/package.el (package-install):
17630 Run package-refresh-contents if there is no archive yet (Bug#9798).
17632 2012-01-28 Chong Yidong <cyd@gnu.org>
17634 * emacs-lisp/package.el (package-maybe-load-descriptor):
17635 New function, split from package-maybe-load-descriptor.
17636 (package-maybe-load-descriptor): Use it.
17637 (package-download-transaction): Fully load required packages
17638 inside the loop, so that `require' calls work (Bug#10593).
17639 (package-install): No need to call package-initialize now.
17641 2012-01-28 Chong Yidong <cyd@gnu.org>
17643 * simple.el (deactivate-mark): Doc fix (Bug#8614).
17645 * tooltip.el (tooltip-mode): Doc fix.
17646 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
17648 * frame.el (set-cursor-color): Doc fix (Bug#352).
17650 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
17651 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
17653 * cus-edit.el (custom-buffer-create-internal): Fix search button
17654 action (Bug#10542).
17655 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
17657 2012-01-27 Eduard Wiebe <usenet@pusto.de>
17659 * dired.el (dired-mark-files-regexp):
17660 Include any subdirectory components. (Bug#10445)
17662 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
17664 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
17665 Handle [host]:port syntax. (Bug#10533)
17667 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
17669 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
17671 2012-01-26 Glenn Morris <rgm@gnu.org>
17673 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
17674 * term.el (term-raw-escape-map): Use Control-X-prefix.
17675 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
17677 2012-01-25 Martin Rudalics <rudalics@gmx.at>
17679 * window.el (window-state-get, window--state-get-1): Don't deal
17680 with fixed-sizeness of windows. Simplify code.
17682 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
17684 * window.el (window--state-get-1, window--state-put-2):
17685 Don't save and restore the mark.
17687 2012-01-25 Chong Yidong <cyd@gnu.org>
17689 * custom.el (custom-variable-p): Doc fix.
17691 2012-01-25 Glenn Morris <rgm@gnu.org>
17693 * dired.el (dired-goto-file): Handle some of the more common
17694 characters that `ls -b' escapes. (Bug#10596)
17696 * progmodes/compile.el (compilation-next-error-function):
17697 Respect compilation-first-column in the "*compilation*" buffer.
17698 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
17700 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
17702 2012-01-24 Glenn Morris <rgm@gnu.org>
17704 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
17706 2012-01-24 Julien Danjou <julien@danjou.info>
17708 * color.el (color-rgb-to-hsl): Fix value computing.
17709 (color-hue-to-rgb): New function.
17710 (color-hsl-to-rgb): New function.
17711 (color-clamp, color-saturate-hsl, color-saturate-name)
17712 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
17713 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
17715 2012-01-24 Glenn Morris <rgm@gnu.org>
17717 * vc/vc-rcs.el (vc-rcs-create-tag):
17718 * vc/vc-sccs.el (vc-sccs-create-tag):
17719 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
17721 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
17723 * eshell/esh-util.el (eshell-read-hosts-file):
17724 Skip comment lines. (Bug#10549)
17726 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
17728 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
17730 * subr.el (display-delayed-warnings): Doc fix.
17731 (collapse-delayed-warnings): New function to collapse identical
17733 (delayed-warnings-hook): Add it.
17735 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
17737 * net/tramp.el (tramp-action-login): Set connection property "login-as".
17739 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
17740 (tramp-default-user-alist): Don't add "pscp".
17741 (tramp-do-copy-or-rename-file-out-of-band): Use connection
17742 property "login-as", if set. (Bug#10530)
17744 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
17746 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
17747 "plink1" and "psftp". (Bug#10530)
17749 2012-01-21 Kenichi Handa <handa@m17n.org>
17751 * international/mule-cmds.el (prefer-coding-system): Show a
17752 warning message if the default value of file-name-coding-system
17755 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17757 * windmove.el (windmove-reference-loc):
17758 Fix windmove-reference-loc miscalculation.
17760 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
17762 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
17765 2012-01-21 Glenn Morris <rgm@gnu.org>
17767 * international/mule.el (auto-coding-alist): Add .tbz.
17769 * files.el (local-enable-local-variables): Doc fix.
17770 (inhibit-local-variables-regexps): Rename from
17771 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
17772 Doc fix. Add some extensions from auto-coding-alist.
17773 (inhibit-local-variables-suffixes):
17774 Rename from inhibit-first-line-modes-suffixes. Doc fix.
17775 (inhibit-local-variables-p):
17776 New function, extracted from set-auto-mode-1.
17777 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
17778 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
17779 (hack-local-variables): Doc fix. Make the mode-only case
17780 respect enable-local-variables and friends.
17781 Respect inhibit-local-variables-regexps for file-locals, but
17782 not for directory-locals.
17783 (set-visited-file-name):
17784 Take account of inhibit-local-variables-regexps.
17785 Whether it applies may change as the file name is changed.
17786 * jka-cmpr-hook.el (jka-compr-install):
17787 * jka-compr.el (jka-compr-uninstall):
17788 Update for inhibit-first-line-modes-suffixes name change.
17790 2012-01-20 Martin Rudalics <rudalics@gmx.at>
17792 * help-macro.el (make-help-screen): Temporarily restore original
17793 binding for minor-mode-map-alist (Bug#10454).
17795 2012-01-19 Julien Danjou <julien@danjou.info>
17797 * color.el (color-name-to-rgb): Use the white color to find the max
17798 color component value and return correctly computed values.
17799 (color-name-to-rgb): Add missing float conversion for max value.
17801 2012-01-19 Martin Rudalics <rudalics@gmx.at>
17803 * window.el (window--state-get-1, window-state-get): Do not use
17804 special state value for window-persistent-parameters.
17805 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
17806 (window--state-put-2): Reset all window parameters to nil before
17807 assigning values of persistent parameters.
17809 2012-01-18 Alan Mackenzie <acm@muc.de>
17811 Eliminate sluggishness and hangs in fontification of "semicolon
17814 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
17815 Change value 10000 -> 3000.
17816 (c-state-safe-place): Reformulate so it doesn't stack up an
17817 infinite number of wrong entries in c-state-nonlit-pos-cache.
17818 (c-determine-limit-get-base, c-determine-limit): New functions to
17819 determine backward search limits disregarding literals.
17820 (c-find-decl-spots): Amend commenting.
17821 (c-cheap-inside-bracelist-p): New function which detects "={".
17823 * progmodes/cc-fonts.el
17824 (c-make-font-lock-BO-decl-search-function): Give a limit to a
17826 (c-font-lock-declarations): Fix an occurrence of point being
17827 undefined. Check additionally for point being in a bracelist or
17828 near a macro invocation without a semicolon so as to avoid a
17829 fruitless time consuming search for a declarator. Give a more
17830 precise search limit for declarators using the new
17833 2012-01-18 Glenn Morris <rgm@gnu.org>
17835 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
17836 (set-auto-mode): Doc fixes.
17838 2012-01-17 Glenn Morris <rgm@gnu.org>
17840 * isearch.el (search-nonincremental-instead): Fix doc typo.
17842 * dired.el (dired-insert-directory): Handle newlines in directory name.
17843 (dired-build-subdir-alist): Unescape newlines in directory name.
17845 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
17847 * net/tramp.el (tramp-local-end-of-line): New defcustom.
17848 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
17849 (tramp-action-terminal): Use it. (Bug#10530)
17851 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
17853 * minibuffer.el (completion--replace): Strip properties (bug#10062).
17855 2012-01-16 Martin Rudalics <rudalics@gmx.at>
17857 * window.el (window-state-ignored-parameters): Remove variable.
17858 (window--state-get-1): Rename argument MARKERS to IGNORE.
17859 Handle persistent window parameters. Make copy of clone-of
17860 parameter only if requested. (Bug#10348)
17861 (window--state-put-2): Install a window parameter only if it has
17862 a non-nil value or an existing parameter shall be overwritten.
17864 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
17866 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
17868 2012-01-14 Eli Zaretskii <eliz@gnu.org>
17870 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
17871 don't pass the (nil) value of `upnode' to string-match.
17873 2012-01-14 Chong Yidong <cyd@gnu.org>
17875 * startup.el (command-line): Fix X resource class for cursorColor.
17876 Fix values recognized by the cursorBlink resource.
17878 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
17880 * epg.el (epg--make-temp-file): Avoid permission race condition
17881 when running on old Emacs versions (bug#10403).
17883 2012-01-14 Glenn Morris <rgm@gnu.org>
17885 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
17887 2012-01-13 Alan Mackenzie <acm@muc.de>
17889 Fix filling for when filladapt mode is enabled.
17891 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
17892 c-mask-paragraph, pass in `fill-paragraph' rather than
17893 `fill-region-as-paragraph'. (This is a reversion of a previous
17895 * progmodes/cc-mode.el (c-basic-common-init):
17896 Make fill-paragraph-handle-comment buffer local and set it to nil.
17898 2012-01-13 Glenn Morris <rgm@gnu.org>
17900 * dired.el (dired-switches-escape-p): New function.
17901 (dired-insert-directory): Use dired-switches-escape-p.
17902 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
17904 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
17906 2012-01-12 Glenn Morris <rgm@gnu.org>
17908 * mail/sendmail.el (mail-mode): Update paragraph-separate for
17909 changes in adaptive-fill-regexp. (Bug#10276)
17911 2012-01-11 Alan Mackenzie <acm@muc.de>
17913 Fix Emacs bug #10463 - put `widen's around the critical spots.
17915 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
17916 widen around each invocation of c-state-pp-to-literal. Remove an
17917 unused let variable.
17919 2012-01-11 Glenn Morris <rgm@gnu.org>
17921 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
17924 2012-01-10 Chong Yidong <cyd@gnu.org>
17926 * net/network-stream.el (network-stream-open-starttls):
17927 Avoid emitting a confusing error message when the server gives a bad
17928 response to the capability command.
17930 2012-01-10 Glenn Morris <rgm@gnu.org>
17932 * mail/unrmail.el (unrmail): Tweak previous change.
17934 2012-01-09 Chong Yidong <cyd@gnu.org>
17936 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
17938 2012-01-08 Alan Mackenzie <acm@muc.de>
17940 Optimize font locking in long enum definitions.
17942 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
17943 arm to a cond form to handle enums.
17944 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
17945 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
17947 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
17949 * files.el (move-file-to-trash): Preserve default file modes on error.
17952 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17954 * faces.el (set-face-attribute): Clarify the meaning of the nil
17957 * subr.el (with-selected-frame): Mention that the selected frame
17958 is restored (bug#9980).
17960 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
17963 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
17964 (password-read): Don't autoload unused function.
17966 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
17968 * progmodes/which-func.el (which-func-mode): Turn into a
17969 non-interactive function and mark as obsolete (bug#10428).
17971 2012-01-06 Chong Yidong <cyd@gnu.org>
17973 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
17974 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
17975 functions, along with 1 and -1.
17977 2012-01-06 Eli Zaretskii <eliz@gnu.org>
17979 * time.el (display-time-load-average)
17980 (display-time-default-load-average): Doc fixes. See the thread
17982 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
17985 2012-01-06 Glenn Morris <rgm@gnu.org>
17987 * mail/unrmail.el (unrmail): Give an explicit error if the input file
17988 has no messages. (Bug#10377)
17990 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
17991 than Info-edit. (Bug#10385)
17993 * time.el (display-time-load-average, display-time-next-load-average):
17996 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
17997 local setting of buffer-read-only to the input buffer. (Bug#10419)
17999 * calendar/calendar.el (calendar-mode):
18000 Locally set scroll-margin to 0. (Bug#10379)
18002 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
18004 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
18006 2012-01-05 Glenn Morris <rgm@gnu.org>
18008 * eshell/em-unix.el (diff-no-select): Autoload it.
18009 (eshell/diff): Use diff-no-select. (Bug#10420)
18011 2012-01-05 Chong Yidong <cyd@gnu.org>
18013 * shell.el (shell-dynamic-complete-functions): Revert last change.
18014 (shell-command-completion-function): New function.
18015 (shell-completion-vars): Use it to implement
18016 shell-completion-execonly (Bug#10417).
18018 * custom.el (enable-theme): Don't set custom-safe-themes.
18020 * cus-theme.el (custom-theme-merge-theme):
18021 Ignore custom-enabled-themes and custom-safe-themes.
18023 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
18025 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
18026 first prompt in `sql-interacive-mode'.
18027 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
18029 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
18030 (sql-product-interactive): Bug fix: Set `sql-buffer' in
18031 context of original buffer. Invoke `sql-login-hook'.
18033 2012-01-04 Eli Zaretskii <eliz@gnu.org>
18035 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
18036 letters in cite-prefix.
18038 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18040 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
18042 2012-01-03 Chong Yidong <cyd@gnu.org>
18044 * shell.el (shell-dynamic-complete-functions):
18045 Put pcomplete-completions-at-point, so as to try
18046 comint-filename-completion first (Bug#10417).
18048 2012-01-02 Richard Stallman <rms@gnu.org>
18050 * battery.el (battery-status-function):
18051 Detect when to use battery-yeeloong-sysfs.
18052 (battery-echo-area-format): Add string for Yeeloong.
18053 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
18054 (battery-yeeloong-sysfs): New function.
18056 2012-01-02 Chong Yidong <cyd@gnu.org>
18058 * dirtrack.el (dirtrack-list): Eliminate unused third element.
18059 (dirtrack): Merge code for handling relative filenames in prompt
18060 from shell-dir-cookie-watcher.
18061 (dirtrack-debug-message): New arg to avoid excess format calls.
18063 * shell.el (shell-dir-cookie-re): Variable deleted.
18064 (shell-dir-cookie-watcher): Function deleted.
18065 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
18066 with dirtrack-mode.
18068 2012-01-01 Eli Zaretskii <eliz@gnu.org>
18070 * term/w32-win.el (dynamic-library-alist) <gnutls>:
18071 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
18074 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
18076 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
18078 2011-12-31 Eli Zaretskii <eliz@gnu.org>
18080 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
18081 headers of non-MIME messages, when rmail-enable-mime is non-nil.
18083 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
18085 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
18086 also for alternative shells.
18087 (tramp-open-connection-setup-interactive-shell): Check, whether
18088 the shell is a busybox.
18089 (tramp-send-command): Don't suppress multiple prompts for
18090 busyboxes, it hurts.
18092 2011-12-28 Chong Yidong <cyd@gnu.org>
18094 * progmodes/gdb-mi.el (gdb-get-source-file-list)
18095 (gdb-get-source-file): Move mode line update to
18096 gdb-get-source-file (Bug#10087).
18098 2011-12-25 Chong Yidong <cyd@gnu.org>
18100 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
18101 gud-gdb-marker-filter without taking it as an argument.
18102 (gud-gdb-run-command-fetch-lines): Caller changed.
18103 (gud-gdb-completion-function): New variable.
18104 (gud-gdb-completion-at-point): Use it.
18105 (gud-gdb-completions-1): Split from gud-gdb-completions.
18107 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
18108 function as separate arguments.
18109 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
18110 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
18111 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
18112 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
18113 (gdb-stopped, def-gdb-auto-update-trigger)
18114 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
18115 (gdb-get-changed-registers, gdb-get-main-selected-frame):
18117 (gud-gdbmi-completions): New function.
18118 (gdb): Use it for generating the completion table.
18120 2011-12-24 Alan Mackenzie <acm@muc.de>
18122 Introduce a mechanism to widen the region used in context font
18123 locking. Use this to protect declarations from losing their contexts.
18125 * progmodes/cc-langs.el (c-before-font-lock-functions):
18126 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
18127 (c-before-context-fontification-functions): New defvar, a list of
18128 functions to be run just before context (etc.) font locking.
18130 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
18131 New, functionality extracted from
18132 c-neutralize-syntax-in-and-mark-CPP.
18133 (c-in-after-change-fontification): New variable.
18134 (c-after-change): Set c-in-after-change-fontification.
18135 (c-set-fl-decl-start): Rejig its interface, so it can be called
18136 from both after-change and context fontifying.
18137 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
18139 (c-standard-font-lock-fontify-region-function): New variable.
18140 (c-font-lock-fontify-region): New function.
18142 2011-12-24 Juri Linkov <juri@jurta.org>
18144 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
18147 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
18149 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
18150 existence of source file. (Bug#10325)
18152 2011-12-23 Alan Mackenzie <acm@muc.de>
18154 Fix unstable fontification inside templates.
18156 * progmodes/cc-langs.el (c-before-font-lock-functions):
18157 Newly created from the singular version. The (c c++ objc) entry now
18158 additionally has c-set-fl-decl-start. The other languages (apart
18159 from AWK) have that as a single entry.
18161 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18162 The functionality for "local" declarations has been extracted to
18163 c-set-fl-decl-start.
18165 * progmodes/cc-mode.el (c-common-init, c-after-change):
18166 Changes due to pluralisation of c-before-font-lock-functions.
18167 (c-set-fl-decl-start): New function, extracted from
18168 c-font-lock-enclosing-decls and enhanced.
18170 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
18172 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
18174 2011-12-22 Juri Linkov <juri@jurta.org>
18176 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
18178 2011-12-22 Chong Yidong <cyd@gnu.org>
18180 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
18182 2011-12-21 Drew Adams <drew.adams@oracle.com>
18184 * files.el (file-remote-p): Fix docstring. (Bug#10319)
18186 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
18188 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
18190 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
18192 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
18193 highlighting and support. Fix up comments for capitalization.
18194 (cfengine-mode-debug): New var.
18195 (cfengine3-mode): Change the modeline indicator to "CFE3".
18196 (cfengine3-font-lock-keywords): Improve defun highlighting.
18197 (cfengine2-actions): Rename from `cfengine-actions'.
18198 (cfengine2-font-lock-keywords): Rename from
18199 `cfengine-font-lock-keywords'.
18200 (cfengine2-imenu-expression): Rename from
18201 `cfengine-imenu-expression'.
18202 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
18203 (cfengine2-beginning-of-defun): Rename from
18204 `cfengine-beginning-of-defun'.
18205 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
18206 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
18207 (cfengine2-mode): Rename from `cfengine-mode'. Change the
18208 modeline indicator to "CFE2".
18209 (cfengine-mode): Defalias to `cfengine-auto-mode'.
18210 (cfengine-mode-abbrevs): Mark obsolete.
18212 2011-12-21 Chong Yidong <cyd@gnu.org>
18214 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
18217 2011-12-20 Martin Rudalics <rudalics@gmx.at>
18219 * window.el (window-normalize-buffer-to-display): Remove.
18220 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
18222 2011-12-19 Chong Yidong <cyd@gnu.org>
18224 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
18225 Don't signal an error in a predicate function; return non-nil.
18226 (vc-dir-mark-file): Move the error here.
18227 (vc-dir-mark-unmark): If acting on the region, keep going if one
18228 of the entries cannot be marked/unmarked.
18229 (vc-dir-mark-all-files): If current entry is a directory, mark
18230 only child files, as documented.
18232 2011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
18234 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
18235 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
18238 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
18240 * term/ns-win.el (ns-get-selection-internal)
18241 (ns-store-selection-internal): Declare.
18242 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
18243 Declare as obsolete.
18244 (ns-get-pasteboard, ns-paste-secondary):
18245 Use ns-get-selection-internal.
18246 (ns-set-pasteboard, ns-copy-including-secondary):
18247 Use ns-store-selection-internal.
18249 2011-12-17 Chong Yidong <cyd@gnu.org>
18251 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
18252 (vc-deduce-fileset): Doc fix.
18254 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
18256 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
18258 2011-12-13 Sam Steingold <sds@gnu.org>
18260 * man.el (Man-getpage-in-background): When running under a
18261 window-system, ignore $MANWIDTH and $COLUMNS.
18263 2011-12-15 Kenichi Handa <handa@m17n.org>
18265 * language/ethio-util.el: Change coding tag to utf-8-emacs.
18266 (setup-ethiopic-environment-internal): Comment out key-binding for
18267 ethio-toggle-punctuation.
18269 2011-12-13 Alan Mackenzie <acm@muc.de>
18271 Add the switch statement to AWK Mode.
18273 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
18274 "default" to the keywords regexp.
18276 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
18277 expression as the rest.
18278 (c-nonlabel-token-key): Allow string literals for AWK.
18279 Refactor for the other modes.
18281 Large brace-block initialisation makes CC Mode slow: Fix.
18282 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
18283 routines. Limit backward searching in c-font-lock-enclosing.decl.
18285 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
18286 pp-state and literal type in addition to the limits.
18287 (c-state-safe-place): New defun, extracted from c-state-literal-at.
18288 (c-state-literal-at): Use the above new defun.
18289 (c-slow-in-literal, c-fast-in-literal): Remove.
18290 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
18292 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
18293 being in a literal. Add a limit for backward searching.
18295 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
18298 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
18300 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
18302 2011-12-13 Martin Rudalics <rudalics@gmx.at>
18304 * window.el (delete-other-windows): Use correct frame in call to
18305 window-with-parameter.
18307 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
18309 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
18310 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
18311 (makefile-gmake-statements, makefile-makepp-statements):
18312 Use it and add new makepp keywords.
18313 (makefile-makepp-font-lock-keywords): Add new patterns.
18314 (makefile-match-function-end): Match new [...] and [[...]].
18316 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
18318 * ses.el (ses-call-printer-return, ses-cell-property-get)
18319 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
18320 (ses-create-cell-variable, ses-reset-header-string)
18321 (ses-cell-set-formula, ses-repair-cell-reference-all)
18322 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
18323 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
18324 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
18325 (ses-aset-with-undo, ses-load, ses-truncate-cell)
18326 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
18327 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
18328 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
18329 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
18330 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
18331 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
18332 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
18333 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
18335 2011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
18337 * ses.el: The overall change is to add cell renaming, that is
18338 setting fancy names for cell symbols other than name matching
18339 "\\`[A-Z]+[0-9]+\\'" regexp .
18340 (ses-create-cell-variable): New defun.
18341 (ses-relocate-formula): Relocate formulas only for cells the
18342 symbols of which are not renamed, i.e. symbols whose names do not
18343 match regexp "\\`[A-Z]+[0-9]+\\'".
18344 (ses-relocate-all): Relocate values only for cells the symbols of
18345 which are not renamed.
18346 (ses-load): Create cells variables as the (ses-cell ...) are read,
18347 in order to check row col consistency with cell symbol name only
18348 for cells that are not renamed.
18349 (ses-replace-name-in-formula): New defun.
18350 (ses-rename-cell): New defun.
18352 2011-12-11 Chong Yidong <cyd@gnu.org>
18354 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
18355 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
18357 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
18359 * window.el (other-window): Fix docstring.
18361 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18363 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
18364 `from' or `to' address before taking its substring.
18365 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
18366 encoded name is chopped in the middle of the encoded string, and
18367 thus displayed encoded.
18369 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
18371 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
18373 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18375 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
18376 to use texinfo-update-node and commands that call it if the
18377 Texinfo file uses @node lines without next/prev/up pointers.
18378 Correct outdated description about texinfo-master-menu.
18379 (texinfo-all-menus-update, texinfo-master-menu)
18380 (texinfo-update-node, texinfo-every-node-update)
18381 (texinfo-multiple-files-update): Doc fix. Warn against updating
18382 all the @node lines.
18383 (texinfo-master-menu): Only call texinfo-update-node if the prefix
18384 argument is numeric. Explain better in the doc string what the
18385 function really does.
18386 (texinfo-insert-master-menu-list): Improve the error message
18387 displayed if there's no menu in the Top node.
18388 (Bug#2975) See also this thread:
18389 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
18391 2011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
18393 * speedbar.el (speedbar-supported-extension-expressions):
18394 Add .adb and .ads, commonly used for Ada source code (bug#10256).
18396 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
18398 * printing.el (pr-mode-alist):
18399 * simple.el (filter-buffer-substring-functions)
18400 (completion-list-insert-choice-function):
18401 * window.el (window-with-parameter, window-atom-root)
18402 (window-sides-slots, window-size-fixed, window-min-delta)
18403 (window-max-delta, window--resize-mini-window)
18404 (window--resize-child-windows-normal, window-tree)
18405 (delete-other-windows, quit-window, split-window)
18406 (display-buffer-record-window, special-display-buffer-names)
18407 (special-display-regexps, special-display-popup-frame)
18408 (same-window-p, split-window-sensibly)
18409 (display-buffer-overriding-action, display-buffer-alist)
18410 (display-buffer-base-action, display-buffer, switch-to-buffer)
18411 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
18412 (fit-window-to-buffer, recenter-positions)
18413 (mouse-autoselect-window-state, mouse-autoselect-window-select):
18414 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
18415 and remove unneeded backslashes in docstrings.
18417 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
18419 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
18421 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
18422 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
18424 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
18425 when reading the makefile (bug#10116).
18427 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
18429 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
18432 2011-12-06 Glenn Morris <rgm@gnu.org>
18434 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
18436 2011-12-06 Chong Yidong <cyd@gnu.org>
18438 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
18440 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
18442 * textmodes/table.el (table-shorten-cell): Fix typo.
18444 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
18446 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
18448 2011-12-05 Eli Zaretskii <eliz@gnu.org>
18450 * descr-text.el (describe-char): Fix display of strong
18451 right-to-left characters and directional embeddings and overrides.
18453 * simple.el (what-cursor-position): Fix display of codepoints of
18454 strong right-to-left characters.
18456 2011-12-05 Chong Yidong <cyd@gnu.org>
18458 * faces.el (read-color): Doc fix.
18460 2011-12-05 Glenn Morris <rgm@gnu.org>
18462 * align.el (align--set-marker): Add doc-string.
18463 Don't try to move something that is not a marker. (Bug#10216)
18465 2011-12-04 Glenn Morris <rgm@gnu.org>
18467 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
18468 overly zealous deletion of trailing whitespace.
18470 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
18472 * server.el (server-delete-client): On Windows, do not try to delete
18474 (server-process-filter): On Windows, treat requests for a tty frame as
18475 if they were for a GUI frame if the running server is in GUI mode.
18477 2011-12-03 Glenn Morris <rgm@gnu.org>
18479 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
18481 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
18483 * electric.el: Streamline electric-indent's hook.
18484 (electric-indent-chars): Revert to simple list.
18485 (electric-indent-functions): New var.
18486 (electric-indent-post-self-insert-function): Use it.
18488 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
18489 there's no inferior buffer (bug#10196).
18490 (prolog-consult-compile): Don't use toggle-read-only.
18492 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
18494 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
18495 interrupt. (Bug#10187)
18497 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
18499 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
18502 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
18505 2011-12-02 Juri Linkov <juri@jurta.org>
18507 * info.el (Info-search): Display "end of manual" when Isearch
18508 reaches the end of single-file Info manual. (Bug#9918)
18510 2011-12-02 Eli Zaretskii <eliz@gnu.org>
18512 * isearch.el (isearch-message-prefix): Run the input method part
18513 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
18515 2011-12-02 Juri Linkov <juri@jurta.org>
18517 * isearch.el (isearch-occur): Use `word-search-regexp' for
18519 (isearch-search-and-update): Add condition for `isearch-word' and
18520 call `word-search-regexp'. (Bug#10145)
18522 2011-12-01 Glenn Morris <rgm@gnu.org>
18524 * eshell/em-hist.el (eshell-hist-initialize):
18525 Handle eshell-history-size nil and HISTSIZE set or unset.
18526 (eshell-history-file-name, eshell-history-size): Fix custom type.
18528 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
18530 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
18532 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
18534 * progmodes/verilog-mode.el (verilog-pretty-expr):
18535 Rework verilog-pretty-expr to handle new assignment operators in system
18536 verilog, such as += *= and the like.
18537 (verilog-assignment-operator-re): Regular expression to find the
18538 assigment operator in a verilog assignment.
18539 (verilog-assignment-operation-re): Regular expression to find an
18540 assignment statement for pretty-expr.
18541 (verilog-in-attribute-p): Query returns true if point is in an
18542 attribute context; used to skip these for expression line up from
18544 (verilog-in-parameter-p): Query returns true if point is in an
18545 parameter definition context; used to skip these for expression
18546 line up from pretty-expr.
18547 (verilog-in-parenthesis-p): Query returns true if point is in a
18548 parenthetical expression, specifically ( ) but not [ ] or { };
18549 used by pretty-expr.
18550 (verilog-just-one-space): If there is no space, don't add one.
18551 (verilog-get-lineup-indent-2): Specifically skip just attribute
18552 contexts for expression lineup, rather than skipping all
18553 parenthetical expressions.
18554 (verilog-calculate-indent): Fix comment, and fix indent.
18555 (verilog-do-indent): Indent declarations in lists (suggested by
18557 (verilog-mode-abbrev-table): Populate abbrev mode with the various
18559 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
18562 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
18564 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
18565 parameters with embedded comments. Reported by Ray Stevens.
18566 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
18567 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
18568 Reported by Tim Holt.
18569 (verilog-auto): Fix AUTOing a upper module then AUTOing module
18570 instantiated by upper module causing wrong expansion until AUTOed a
18571 second time. Reported by K C Buckenmaier.
18572 (verilog-diff-auto): Fix showing .* as a difference when
18573 `verilog-auto-star-save' off. Reported by Dan Dever.
18574 (verilog-auto-reset, verilog-read-always-signals)
18575 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
18576 temporary signals in reset list if
18577 verilog-auto-reset-blocking-in-non is nil, and match assignment
18578 style to each signal's assignment type, bug381.
18579 Reported by Thomas Esposito.
18580 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
18581 (verilog-uvm-statement-re): Support UVM indentation and
18582 highlighting, with old OVM keywords only.
18583 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
18584 Support AUTOTIEOFF creating non-wire data types.
18585 Suggested by Jonathan Greenlaw.
18586 (verilog-auto-insert-lisp, verilog-delete-to-paren)
18587 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
18588 (verilog-inject-sense, verilog-read-inst-pins)
18589 (verilog-read-sub-decls, verilog-read-sub-decls-line):
18590 Fix mismatching parenthesis inside commented out code when deleting
18591 AUTOINST, bug383. Reported by Jonathan Greenlaw.
18592 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
18593 non-numeric vector width. Reported by Alex Reed.
18594 (verilog-auto-ascii-enum): Add "onehot" option to work around not
18595 detecting signals with parameter widths. Reported by Alex Reed.
18596 (verilog-auto-delete-trailing-whitespace):
18597 With `verilog-auto-delete-trailing-whitespace' remove trailing
18598 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
18599 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
18600 Fix verilog-scan-cache corruption when running user AUTO expansion
18601 hooks that call indentation routines.
18602 (verilog-simplify-range-expression): Fix typo ignoring lower case
18604 (verilog-delete-auto): Fix delete-autos to also remove user created
18605 automatics, as long as they start with AUTO.
18606 (verilog-batch-diff-auto, verilog-diff-auto)
18607 (verilog-diff-function): Add `verilog-diff-auto' and bind to
18608 "C-c?" to report differences in AUTO expansion, ignoring spaces.
18609 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
18610 (verilog-in-paren-quick, verilog-re-search-backward-quick)
18611 (verilog-re-search-forward-quick, verilog-syntax-ppss):
18612 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
18613 is disabled and its cache will get corrupt, causing AUTOS not to
18614 expand. Instead use only -quick functions.
18615 (verilog-scan-region): Fix scanning over escaped quotes.
18616 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
18617 (verilog-re-search-backward-quick)
18618 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
18619 related functions now ignore strings, to fix misparsing of strings
18620 with magic comments embedded in them.
18621 (verilog-read-auto-template):
18622 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
18623 Reported by Brad Dobbie.
18624 (verilog-read-auto-template):
18625 Fix 'verilog-auto-inst-template-numbers' with comments.
18626 Reported by Brad Dobbie.
18627 (verilog-auto-inst, verilog-auto-inst-param)
18628 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
18629 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
18630 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
18631 debugging templates without merge conflicts, bug357.
18632 Reported by Brad Dobbie.
18633 (verilog-read-auto-template):
18634 Fix verilog-auto-inst-template-numbers with multiple templates.
18635 Reported by Brad Dobbie.
18636 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
18637 abbrevs so user won't be asked to save.
18638 (verilog-read-auto-lisp-present): Fix to start at beginning of
18639 buffer in case called outside of verilog-auto.
18640 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
18641 to "X-2". Reported by Matthew Myers.
18642 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
18643 all inputs from module templates. Reported by Leith Johnson.
18644 (verilog-module-inside-filename-p): Fix locating programs as with
18646 (verilog-auto-inst-port): Fix vl-width expressions when using
18647 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
18648 (verilog-decls-get-regs, verilog-decls-get-signals,
18649 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
18650 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
18651 verilog-read-decls): Combine reg and wire structures into one var
18652 structure to represent SystemVerilog concepts.
18653 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
18654 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
18655 (verilog-auto-wire-type, verilog-insert-definition):
18656 Add verilog-auto-wire-type and AUTOLOGIC to support using
18657 SystemVerilog "logic" keyword instead of "wire"/"reg".
18658 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
18659 to declares outputs that also have assignments (presumably in an
18660 ifdef or generate if so there's not a driver conflict).
18661 Reported by Matthew Myers.
18662 (verilog-auto-declare-nettype, verilog-insert-definition):
18663 Add verilog-auto-declare-nettype to fix declarations using
18664 `default_nettype none. Reported by Julian Gorfajn.
18665 (verilog-read-always-signals-recurse, verilog-read-decls)
18666 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
18667 malformed end statement, bug325. Reported by Joshua Wise and
18669 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
18670 (verilog-inst-comment-re): Fix not deleting Interfaced comment
18671 when expanding .* in interfaces, bug320.
18672 Reported by Pierre-David Pfister.
18673 (verilog-read-module-name): Fix import statements between module
18674 name and open parenthesis, bug317.
18675 Reported by Pierre-David Pfister.
18676 (verilog-simplify-range-expression): Fix simplification of
18677 multiplications inside AUTOWIRE connections, bug303.
18678 (verilog-auto-inst-port): Support parameter expansion in
18679 multidimensional arrays.
18680 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
18681 after "assert property". Reported by Julian Gorfajn.
18682 (verilog-simplify-range-expression): Fix "couldn't merge" errors
18683 with multiplication, bug303.
18684 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
18685 Reported by Jan Frode Lonnum.
18687 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
18689 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
18690 (hfy-shell-file-name, hfy-shell):
18691 * international/fontset.el (x-decompose-font-name): Fix typos.
18693 2011-11-29 Ken Brown <kbrown@cornell.edu>
18695 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
18696 (gdb-version): Remove defvar.
18697 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
18698 (gdb-gud-context-command, gdb-non-stop-handler)
18699 (gdb-current-context-command, gdb-stopped): Use it.
18700 (gdb-init-1): Enable pretty printing here.
18701 (gdb-non-stop-handler): Don't enable pretty-printing here.
18702 Check to see if the target supports non-stop mode; if not, turn off
18703 non-stop mode. Use the following.
18704 (gdb-check-target-async): New defun.
18705 (gud-watch, gdb-stopped): Fix whitespace.
18706 (gdb-get-source-file): Don't try to display the source file if
18707 `gdb-main-file' is nil.
18709 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18711 * align.el: Try to generate fewer markers (bug#10047).
18712 (align--set-marker): New macro.
18713 (align-region): Use it.
18715 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18717 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
18719 2011-11-29 Chong Yidong <cyd@gnu.org>
18721 * indent.el (indent-for-tab-command, indent-according-to-mode):
18723 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
18725 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
18727 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
18728 aware of remote file names. (Bug#10124)
18730 2011-11-29 Chong Yidong <cyd@gnu.org>
18732 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
18734 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
18736 * files.el (find-file): Don't use force-same-window (bug#10144).
18737 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
18738 use pop-to-buffer if the selected window can't be used.
18739 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
18741 2011-11-28 Eli Zaretskii <eliz@gnu.org>
18743 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
18746 2011-11-28 Chong Yidong <cyd@gnu.org>
18748 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
18750 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
18752 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
18753 gdb-get-source-file-list on gdb-create-source-file-list.
18755 2011-11-26 Eli Zaretskii <eliz@gnu.org>
18757 * whitespace.el (whitespace-newline): Use a different foreground
18758 color for 16-color light-background displays.
18760 2011-11-24 Chong Yidong <cyd@gnu.org>
18762 * window.el (display-buffer--special-action): Doc fix.
18764 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
18766 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
18767 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
18768 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
18769 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
18770 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
18771 (avl-tree-stack-first):
18772 * emacs-lisp/cconv.el (cconv--analyse-use):
18773 * net/gnutls.el (gnutls-negotiate): Fix typos.
18775 2011-11-24 Glenn Morris <rgm@gnu.org>
18777 * lpr.el (lpr-windows-system, lpr-lp-system):
18778 * mail/binhex.el (binhex-begin-line):
18779 * progmodes/grep.el (grep-history, grep-find-history):
18780 * textmodes/flyspell.el:
18781 * vc/pcvs-defs.el (cvs-global-menu):
18782 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
18783 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
18784 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
18786 * net/tls.el: Fix case of "GnuTLS".
18788 * paths.el (rmail-file-name): Format doc-string for make-docfile.
18790 * version.el (emacs-build-system): Give it a doc-string.
18792 2011-11-24 Juri Linkov <juri@jurta.org>
18794 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
18796 2011-11-24 Glenn Morris <rgm@gnu.org>
18798 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
18799 if called on a non-mime message just toggle the headers. (Bug#8006)
18801 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
18803 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
18804 (allout-lead-with-comment-string, allout-structure-deleted-hook)
18805 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
18806 (allout-rebullet-heading, allout-open-sibtopic)
18807 (allout-toggle-current-subtree-encryption)
18808 (allout-toggle-subtree-encryption, allout-encrypt-string)
18809 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
18810 (allout-distinctive-bullets-string, allout-auto-activation):
18811 * window.el (window-normalize-buffer-to-display):
18812 * progmodes/verilog-mode.el (verilog-batch-indent):
18813 * textmodes/bibtex.el (bibtex-field-braces-opt)
18814 (bibtex-field-strings-opt):
18815 * vc/cvs-status.el (cvs-tree-merge):
18818 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
18820 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
18821 `non-essential' to t, in order to avoid remote connections.
18823 2011-11-23 Eli Zaretskii <eliz@gnu.org>
18825 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18826 On MS-DOS and MS-Windows, compare with loaddefs.el
18827 case-insensitively.
18829 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18831 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
18833 2011-11-23 Glenn Morris <rgm@gnu.org>
18835 * paths.el (rmail-file-name): Reformat the doc-string so that it
18838 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
18839 (rmail-auto-file): Ignore case in the "special" field names,
18840 as mail-fetch-field does for all others.
18842 * mail/rmail.el (rmail-forward):
18843 * mail/rmailkwd.el (rmail-set-label):
18844 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
18845 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
18847 * mail/rmail.el (rmail-current-message): Doc fix.
18849 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
18851 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
18853 * server.el (server-eval-and-print): Allow C-g (bug#6585).
18855 2011-11-22 Glenn Morris <rgm@gnu.org>
18857 * mail/rmailmm.el (test-rmail-mime-handler)
18858 (test-rmail-mime-bulk-handler)
18859 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
18861 2011-11-21 Juri Linkov <juri@jurta.org>
18863 * calc/calc.el (calc-read-key-sequence):
18864 Let-bind `input-method-function' to nil. (Bug#10018)
18866 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18868 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
18869 Tell the caller that the next line needs recomputation, even
18870 though it doesn't start a sexp (bug#10094).
18872 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
18874 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
18876 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18878 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18879 Use force-same-window.
18881 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18883 * descr-text.el (describe-char-unicode-data):
18884 * json.el (json-string-escape):
18885 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
18886 (Footnote-unicode, Footnote-style-p):
18887 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
18889 2011-11-20 Chong Yidong <cyd@gnu.org>
18891 * window.el (replace-buffer-in-windows): Restore interactive spec.
18893 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18895 * electric.el (electric-indent-mode): Fix last change (too optimistic).
18897 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
18898 (byte-compile-global-not-obsolete-vars): New var.
18899 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
18901 (byte-compile-warn-obsolete): Align text with the one in *Help*.
18903 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18905 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
18906 * progmodes/pascal.el (electric-pascal-equal):
18907 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
18908 * xml.el (xml-substitute-special): Fix typos.
18910 2011-11-20 Glenn Morris <rgm@gnu.org>
18912 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
18913 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
18915 (rmail-decode-mime-charset): Mark as obsolete.
18917 * mail/rmailsum.el (rmail-message-regexp-p-1):
18918 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
18919 Before using mime functions, check they are set. (Bug#10077)
18921 2011-11-19 Juri Linkov <juri@jurta.org>
18923 * info.el (Info-finder-find-node): Use `package--builtins' instead
18924 of `package-alist'. Use node names formed by the pattern "Keyword "
18925 and the keyword name.
18927 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18929 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
18931 2011-11-19 Juri Linkov <juri@jurta.org>
18933 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
18934 that calls `revert-buffer' on all Info buffers. (Bug#9915)
18935 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
18936 `old-history', `old-history-forward'. Add let-binding
18937 `window-selected'. Remove calls to `kill-buffer',
18938 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
18939 before calling `Info-find-node', so `Info-find-node-2' will reread
18940 the Info file. Restore window positions only when `window-selected'
18943 2011-11-19 Juri Linkov <juri@jurta.org>
18945 * isearch.el (isearch-lazy-highlight-new-loop):
18946 Remove condition `(not isearch-error)'. (Bug#9918)
18948 * misearch.el (multi-isearch-search-fun): Add condition
18949 `(not bound)' to ignore lazy-highlighting search.
18950 Add the search-failed message "end of multi" when the end of
18951 multi-sequence is reached. Uncapitalize the search-failed
18952 message "Repeat for next buffer".
18954 * info.el (Info-search): Add the search-failed message
18955 "end of the manual" when the end of the manual is reached
18958 2011-11-19 Juri Linkov <juri@jurta.org>
18960 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
18961 Use non-destructive `remove' instead of `delete' because
18962 `Info-history-list' stored to `Info-isearch-initial-history-list' in
18963 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
18965 2011-11-19 Juri Linkov <juri@jurta.org>
18967 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
18968 to nil instead of binding `search-ring' and `regexp-search-ring'.
18971 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18973 * simple.el (line-move): Force movement by logical lines for any
18974 hscrolled window, not only when auto-hscroll-mode is on.
18975 (line-move-visual): Update doc string to that effect. (Bug#10076)
18977 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18979 * language/european.el (macintosh): Define as alias for mac-roman.
18981 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18983 * mail/rmailmm.el (rmail-mime-display-header)
18984 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
18985 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
18986 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
18987 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
18988 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
18990 (rmail-mime-entity-segment): To get past the tagline, move forward
18991 2 more lines, to account for the 2 empty lines that precede and
18992 follow the line with the buttons.
18993 (rmail-mime-update-tagline): Move one more line, to get past the
18994 empty line that follows the buttons in the tagline. (Bug#9520)
18996 2011-11-19 Martin Rudalics <rudalics@gmx.at>
18998 * window.el (window-max-delta-1, window-min-delta-1)
18999 (window-min-size-1, window-state-get-1, window-state-put-1)
19000 (window-state-put-2): Use "window--" prefix.
19002 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
19004 * emacs-lisp/smie.el: Improve warnings and conflict detection.
19005 (smie-warning-count): New var.
19006 (smie-set-prec2tab): Use it.
19007 (smie-bnf->prec2): Improve warnings. Add docstring.
19008 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
19009 (smie-bnf--set-class): New function.
19010 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
19013 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
19014 (compilation-error-properties, compilation-move-to-column):
19015 Handle compilation-first-column while in the target buffer.
19017 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
19018 Don't hardcode point-min==1.
19020 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
19021 (eshell-rewrite-for-command): Remove workaround.
19022 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
19023 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
19024 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
19026 * files-x.el (modify-file-local-variable): Obey commenting conventions.
19028 2011-11-17 Glenn Morris <rgm@gnu.org>
19030 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
19031 Ignore buffer-local generated-autoload-file if it is the same
19032 as the global value. (Bug#10049)
19034 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
19036 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
19037 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
19038 (reftex-toc-previous-heading, reftex-toc-max-level)
19039 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
19040 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
19041 (reftex-toc-do-promote, reftex-toc-promote-prepare)
19042 (reftex-toc-promote-action, reftex-toc-extract-section-number)
19043 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
19044 (reftex-toc-rename-label, reftex-toc-visit-location)
19045 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
19046 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
19047 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
19048 leaving "*toc*" only for references to the buffer.
19050 2011-11-17 Martin Rudalics <rudalics@gmx.at>
19052 * window.el (window-resize, delete-window, split-window):
19053 Replace window-splits by window-combination-resize.
19054 * cus-start.el (window-splits): Replace by window-combination-resize.
19056 2011-11-17 Glenn Morris <rgm@gnu.org>
19058 * progmodes/sh-script.el (sh-font-lock-keywords-var):
19059 Make bash entry derive from sh entry, not shell entry.
19061 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
19063 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
19066 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19068 * menu-bar.el (menu-bar-file-menu):
19069 * printing.el (pr-ps-utility):
19070 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
19071 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
19072 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
19073 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
19074 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
19075 (icalendar--convert-cyclic-to-ical)
19076 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
19077 (icalendar--convert-ical-to-diary)
19078 (icalendar--convert-recurring-to-diary)
19079 (icalendar--convert-non-recurring-all-day-to-diary)
19080 (icalendar-import-format-sample):
19081 * progmodes/idlw-shell.el (idlwave-shell-mode):
19082 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
19083 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
19084 (vhdl-ps-print-init): Fix typos.
19086 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
19088 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
19089 FSF and collapse date sequence, obscure author/maintainer email address
19090 better, remove extra version line, track relocation of author's webpage.
19092 * progmodes/python.el (python-pdbtrack-input-prompt)
19093 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
19094 regular python pdb prompts. Adjustments shamelessly taken exactly as
19095 suggested in EmacsWiki page (tiny change):
19096 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
19098 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19100 * expand.el (expand-pos, expand-index, expand-point):
19101 Remove redundant info from docstring.
19102 (expand-add-abbrevs): Doc fix.
19103 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
19104 (expand-sample-perl-mode-expand-list): Fix typos.
19106 * net/dbus.el (dbus-event-member-name):
19107 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
19108 * term/pc-win.el (msdos-create-frame-with-faces):
19109 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
19111 2011-11-16 Martin Rudalics <rudalics@gmx.at>
19113 * window.el (split-window, window-state-get-1)
19114 (window-state-put-1, window-state-put-2): Rename occurrences of
19115 window-nest to window-combination-limit.
19116 * cus-start.el (window-nest): Rename to window-combination-limit.
19118 2011-11-16 Chong Yidong <cyd@gnu.org>
19120 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
19121 regexp (Bug#10033).
19123 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
19125 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
19126 `completing-read' will remove *Completions* and will preserve
19127 current-buffer for us.
19128 (tmm-add-prompt): Users of *Completions* will always (re)set its
19130 (tmm-old-comp-map): Remove.
19132 2011-11-16 Glenn Morris <rgm@gnu.org>
19134 * mail/rmailedit.el: Require rmailmm when compiling.
19135 (rmail-old-mime-state): New declaration.
19136 (rmail-edit-current-message): If editing a mime message,
19137 edit the "raw" message from the mbox buffer.
19138 (rmail-cease-edit): Handle mime messages. (Bug#9840)
19140 2011-11-15 Glenn Morris <rgm@gnu.org>
19142 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
19143 which wasn't being used. Add optional arg to force given state.
19144 (rmail-mime): Add optional arg to force given state.
19146 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19148 * allout.el (allout-encryption-plaintext-sanitization-regexps):
19149 * frame.el (display-mm-dimensions-alist):
19150 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
19151 (outline-move-subtree-down):
19152 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
19153 (newsticker--treeview-do-get-node):
19154 * net/quickurl.el (quickurl-list-buffer-name):
19155 * progmodes/dcl-mode.el (dcl-mode):
19156 * progmodes/gdb-mi.el (gdb-mapcar*):
19157 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
19159 2011-11-15 Glenn Morris <rgm@gnu.org>
19161 * mail/rmail.el (rmail-file-coding-system): It's only ever used
19162 in a boolean sense, so just make it a boolean, and fix the doc.
19163 (rmail-show-mime-function, rmail-mime-feature)
19164 (rmail-require-mime-maybe): Doc fixes.
19165 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
19167 * mail/rmailmm.el (rmail-show-mime): Doc fix.
19169 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19171 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
19172 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
19173 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
19174 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
19176 2011-11-15 Glenn Morris <rgm@gnu.org>
19178 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
19179 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
19180 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
19181 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
19182 (rmail-mime, rmail-show-mime): Doc fixes.
19184 * term/ns-win.el (mode-line-frame-identification):
19185 Leave it alone. (Bug#10051)
19187 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
19189 * mail/rmailout.el (rmail-output-to-rmail-buffer):
19190 Handle empty buffers. (Bug#9978)
19192 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
19194 * international/mule.el (define-charset):
19195 * mail/rmailmm.el (rmail-mime-find-header-encoding):
19196 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
19197 * progmodes/verilog-mode.el (verilog-backward-token):
19198 * textmodes/ispell.el (lookup-words):
19199 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
19201 2011-11-14 Glenn Morris <rgm@gnu.org>
19203 * progmodes/executable.el
19204 (executable-make-buffer-file-executable-if-script-p):
19205 Handle file-modes returning nil.
19207 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
19208 message - not necessary, and causes problems. (Bug#9831)
19210 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
19212 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
19214 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
19215 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
19216 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
19218 2011-11-12 Martin Rudalics <rudalics@gmx.at>
19220 * window.el (window-resize, delete-window): Use window-splits
19221 variable instead of function.
19222 (window-state-get-1, window-state-put-2, window-state-put):
19223 Don't deal with windows' splits status.
19225 2011-11-12 Glenn Morris <rgm@gnu.org>
19227 * apropos.el (apropos-do-all, apropos-library, apropos-value)
19228 (apropos-documentation): Doc fixes.
19230 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
19232 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
19233 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
19235 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
19237 * electric.el (electric-indent-post-self-insert-function): Make it
19238 possible for a char to only indent in some circumstances.
19239 (electric-indent-mode): Simplify.
19241 2011-11-11 Martin Rudalics <rudalics@gmx.at>
19243 * window.el (windows-with-parameter): Remove unused function.
19244 (windows-at-side): Rename to window-at-side-list.
19245 (window-check, window-atom-check, window-atom-check-1)
19246 (window-side-check, window-size-ignore, window-size-fixed-1)
19247 (window-in-direction-2): Prefix with "window--".
19248 (window-tree-1): Rename to window--subtree, fix doc-string.
19250 2011-11-11 Glenn Morris <rgm@gnu.org>
19252 * subr.el (eval-after-load): If FILE is already loaded,
19253 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
19255 2011-11-10 Glenn Morris <rgm@gnu.org>
19257 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
19258 Call svn via vc-svn-command rather than vc-do-command.
19259 (vc-svn-command): Add --non-interactive. (Bug#9993)
19260 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
19262 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19263 Add toggle-read-only. (Bug#7292)
19264 * files.el (toggle-read-only): Mention that it should only
19265 be used interactively. (Bug#10006)
19267 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
19269 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19270 Adjust regexp for OCaml warnings.
19272 * electric.el (electric-pair-post-self-insert-function): Let user
19273 turn it off buffer-locally (bug#9932).
19275 * progmodes/python.el (python-beginning-of-statement):
19276 Rewrite (bug#2703).
19278 * progmodes/compile.el: Better handle TABs (bug#9749).
19279 (compilation-internal-error-properties)
19280 (compilation-next-error-function): Obey the target buffer's
19281 compilation-error-screen-columns.
19283 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
19285 * progmodes/meta-mode.el: Remove obsolete comments.
19286 (meta-right-comment-regexp, meta-ignore-comment-regexp):
19287 Fix typos in docstrings.
19289 2011-11-09 Martin Rudalics <rudalics@gmx.at>
19291 * window.el (window-size-fixed-p): Rewrite doc-string.
19292 (window-resizable-p): Rename to window--resizable-p. Update callers.
19293 (window--resizable): New function. Make all callers of
19294 window-resizable call window--resizable instead.
19295 (window-resizable): Rewrite in terms of window--resizable.
19297 2011-11-08 Glenn Morris <rgm@gnu.org>
19299 * progmodes/delphi.el (delphi-mode-syntax-table):
19300 Let define-derived-mode define a proper syntax table. (Bug#9994)
19302 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19304 * window.el: Stay away from defsubst.
19305 (window-list-no-nils): Remove.
19306 (window-state-get-1, window-state-get): Use backquote instead.
19308 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19310 * emacs-lisp/find-func.el (find-function-read):
19311 Fix incorrect use of default argument in `completing-read'.
19313 2011-11-08 Martin Rudalics <rudalics@gmx.at>
19315 * window.el (display-buffer-function, special-display-function):
19316 Mention display-buffer-record-window but do not mention
19317 help-setup parameter in doc-strings.
19318 (window-min-delta): Fix doc-string typo.
19320 2011-11-08 Chong Yidong <cyd@gnu.org>
19322 * window.el (window-total-height, window-total-width): Doc fix.
19323 (window-body-size): Move from C.
19324 (window-body-height, window-body-width): Move to C.
19326 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19328 * window.el: Make special-display like display-buffer-alist (bug#9532).
19329 (display-buffer--special-action): New function, morphed
19330 from display-buffer--special.
19331 (display-buffer): Use it to handle special-display-buffers at higher
19332 priority (just after display-buffer-alist).
19333 (display-buffer-fallback-action, display-buffer--other-frame-action)
19334 (pop-to-buffer-same-window): Remove display-buffer--special.
19336 2011-11-07 Glenn Morris <rgm@gnu.org>
19338 * calendar/cal-menu.el (cal-menu-set-date-title):
19339 Do nothing if not in a calendar. (Bug#9976)
19341 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
19343 * files.el (find-file): Always use selected-window.
19345 2011-11-07 Martin Rudalics <rudalics@gmx.at>
19347 * window.el (window-combinations): Make WINDOW argument
19348 mandatory. Rewrite doc-string.
19349 (walk-window-subtree, window-atom-check, window-min-delta)
19350 (window-max-delta, window--resize-this-window)
19351 (window--resize-root-window-vertically, window-tree)
19352 (balance-windows, window-state-put): Rewrite doc-strings as to
19353 not mention the term "subwindow".
19354 (window--resize-subwindows-skip-p): Rename to
19355 window--resize-child-windows-skip-p.
19356 (window--resize-subwindows-normal): Rename to
19357 window--resize-child-windows-normal.
19358 (window--resize-subwindows): Rename to
19359 window--resize-child-windows.
19360 (window-or-subwindow-p): Rename to window--in-subtree-p.
19362 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19364 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
19365 Ensure that mbox format messages end in two newlines (Bug#9974).
19367 2011-11-06 Chong Yidong <cyd@gnu.org>
19369 * window.el (window-combination-p): Function deleted; its
19370 side-effect is not used in any existing code.
19371 (window-combinations, window-combined-p): Call window-*-child
19374 2011-11-05 Chong Yidong <cyd@gnu.org>
19376 * window.el (window-valid-p): Rename from window-any-p.
19377 (window-size-ignore, window-state-get): Callers changed.
19378 (window-normalize-window): Rename from window-normalize-any-window.
19379 New arg LIVE-ONLY, replacing window-normalize-live-window.
19380 (window-normalize-live-window): Delete.
19381 (window-combination-p, window-combined-p, window-combinations)
19382 (walk-window-subtree, window-atom-root, window-min-size)
19383 (window-sizable, window-sizable-p, window-size-fixed-p)
19384 (window-min-delta, window-max-delta, window-resizable)
19385 (window-resizable-p, window-full-height-p, window-full-width-p)
19386 (window-current-scroll-bars, window-point-1, set-window-point-1)
19387 (window-at-side-p, window-in-direction, window-resize)
19388 (adjust-window-trailing-edge, maximize-window, minimize-window)
19389 (window-deletable-p, delete-window, delete-other-windows)
19390 (record-window-buffer, unrecord-window-buffer)
19391 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
19392 (quit-window, split-window, window-state-put)
19393 (set-window-text-height, fit-window-to-buffer)
19394 (shrink-window-if-larger-than-buffer): Callers changed.
19396 2011-11-04 Eli Zaretskii <eliz@gnu.org>
19398 * mail/rmail.el (rmail-simplified-subject): Decode subject with
19399 rfc2047-decode-string.
19400 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
19403 * window.el (window-body-height, window-body-width): Mention in
19404 the doc string that the return values are in frame's canonical
19407 2011-11-03 Alan Mackenzie <acm@muc.de>
19409 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
19410 change in cc-engine.el.
19412 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
19414 * window.el (switch-to-buffer): Use `force-same-window' interactively.
19416 2011-11-02 Martin Rudalics <rudalics@gmx.at>
19418 * window.el (quit-window): Call unrecord-window-buffer after
19419 showing another buffer in the window. (Bug#9937)
19420 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
19422 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
19424 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
19425 Accept status with more than 9 shelves. (Bug#9935)
19426 Reported by Colin D Bennett <colin@gibibit.com>.
19428 2011-11-01 Martin Rudalics <rudalics@gmx.at>
19430 * help.el (with-help-window): Don't reference
19431 temp-buffer-show-specifiers in doc-string.
19433 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
19435 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
19438 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19440 * whitespace.el: New version 13.2.2.
19441 (whitespace-newline-mode): Disable properly. Reported by Sarah
19444 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
19446 * net/newst-treeview.el: Remove "Time-stamp".
19447 (newsticker--group-manage-orphan-feeds): Do not call
19448 newsticker--treeview-tree-update.
19449 (newsticker-treeview-update, newsticker-treeview):
19450 Call newsticker--treeview-tree-update if necessary.
19452 2011-10-30 Martin Rudalics <rudalics@gmx.at>
19454 * window.el (window-iso-combination-p, window-iso-combined-p)
19455 (window-iso-combinations): Remove "iso-" infix.
19456 Suggested by Chong Yidong.
19457 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
19458 (window-max-delta-1, window-resize, window--resize-siblings)
19459 (window--resize-this-window, adjust-window-trailing-edge)
19460 (split-window, balance-windows-1)
19461 (shrink-window-if-larger-than-buffer):
19462 * calendar/calendar.el (calendar-generate-window):
19463 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
19465 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
19467 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
19468 in place (bug#9907).
19469 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
19470 (eshell-rewrite-if-command, eshell-rewrite-for-command)
19471 (eshell-structure-basic-command, eshell-rewrite-while-command)
19472 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
19473 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
19474 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
19475 (eshell-do-pipelines-synchronously, eshell-eval-command):
19476 Use backquotes and prefer setq to set.
19477 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
19478 (eshell-macrop): Use functionp.
19479 (eshell-do-eval): Handle multiple expressions in `while' body.
19481 2011-10-30 Chong Yidong <cyd@gnu.org>
19483 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
19484 instead of set-mark (Bug#9810).
19486 2011-10-30 Chong Yidong <cyd@gnu.org>
19488 * window.el (split-window-below, split-window-right): Rename from
19489 split-window-above-each-other and split-window-side-by-side
19490 respectively. All callers changed.
19491 (split-window-sensibly, split-window-sensibly): Use them.
19492 (split-window-keep-point): Doc fix.
19494 * isearch.el: Add isearch-scroll property to split-window-below
19495 and split-window-right.
19497 * follow.el (follow-mode):
19498 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19499 * progmodes/ada-xref.el (ada-gdb-application):
19500 * emulation/vip.el (vip-buffer-in-two-windows):
19501 * image-dired.el (image-dired-dired-with-window-configuration):
19502 * dired-x.el (dired-do-find-marked-files):
19503 * dired.el (dired-pop-to-buffer):
19504 * bs.el (bs--show-with-configuration):
19505 * vc/emerge.el (emerge-setup-windows):
19506 * textmodes/two-column.el (2C-two-columns):
19507 * textmodes/reftex-toc.el (reftex-toc):
19508 * progmodes/gdb-mi.el (gdb-setup-windows):
19509 * progmodes/fortran.el (fortran-window-create):
19510 * net/newst-treeview.el (newsticker--treeview-window-init):
19511 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
19512 * emulation/tpu-edt.el (tpu-gold-map):
19513 * emulation/crisp.el (crisp-mode-map):
19514 * calendar/calendar.el (calendar-basic-setup): Callers changed.
19516 2011-10-29 Chong Yidong <cyd@gnu.org>
19518 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
19520 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
19522 * textmodes/flyspell.el (flyspell-word): Fix char offset for
19523 forged Ispell output (Bug#7904).
19525 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
19527 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19529 * doc-view.el: Avoid ugly errors about not finding nil.
19530 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
19531 (doc-view-dvipdf-program, doc-view-unoconv-program)
19532 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
19533 Avoid nil or absolute file name as default value.
19534 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
19536 2011-10-28 Alan Mackenzie <acm@muc.de>
19538 * progmodes/cc-defs.el (c-version): -> 5.32.2.
19540 2011-10-28 Alan Mackenzie <acm@muc.de>
19542 Amend the handling of c-beginning/end-of-defun in nested declaration
19545 * progmodes/cc-vars.el (c-defun-tactic): Move here from
19546 cc-langs.el. Change it to a defcustom.
19548 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
19551 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19552 Prevent "class foo : bar" being spuriously recognized as a label.
19554 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
19555 Add parameter `inclusive' (to include enclosing braces in the region).
19556 (c-widen-to-enclosing-decl-scope): New function.
19557 (c-while-widening-to-decl-block): New macro.
19558 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
19559 outward for defun boundaries, and correspondingly change symbol
19560 `respect-enclosure' to `go-outward'.
19561 (c-declaration-limits): Change algorithm to report only the "innermost"
19562 defun's boundaries.
19564 2011-10-28 Deniz Dogan <deniz@dogan.se>
19566 * net/rcirc.el (rcirc-mode): Use hard newlines.
19568 2011-10-28 Alan Mackenzie <acm@muc.de>
19570 Amend to indent and fontify macros "which include their own semicolon"
19571 correctly, using the "virtual semicolon" mechanism.
19573 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
19575 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
19576 Recode to scan one line at a time rather than having \n and \r
19577 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
19578 (c-forward-label): Amend for virtual semicolons.
19579 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
19581 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
19582 of the new C macros.
19584 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
19585 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
19586 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
19587 (c-opt-cpp-macro-define): Make into a full language variable.
19588 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
19589 AWK Mode (including \n, \r) removed, no longer needed.
19591 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
19592 Invoke c-make-macro-with-semi-re.
19594 * progmodes/cc-vars.el (c-macro-with-semi-re):
19595 (c-macro-names-with-semicolon): New variables.
19596 (c-make-macro-with-semi-re): New function.
19598 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19600 * vc/log-edit.el: Fill empty field rather than adding new one.
19601 (log-edit-add-field): New function.
19602 (log-edit-insert-changelog): Use it.
19604 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19606 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
19608 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19610 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
19611 (gdb--check-interpreter): New function.
19614 2011-10-27 Glenn Morris <rgm@gnu.org>
19616 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
19617 (least-positive-float, least-negative-float)
19618 (least-positive-normalized-float, least-negative-normalized-float)
19619 (float-epsilon, float-negative-epsilon):
19620 Remove unnecessary declarations.
19622 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
19623 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
19624 (least-positive-float, least-negative-float)
19625 (least-positive-normalized-float, least-negative-normalized-float)
19626 (float-epsilon, float-negative-epsilon): Add doc-strings,
19627 based on those in cl.texi.
19629 * files.el (set-visited-file-name): If the major-mode changed,
19630 reload the local variables. (Bug#9796)
19632 2011-10-27 Chong Yidong <cyd@gnu.org>
19634 * subr.el (change-major-mode-after-body-hook): New hook.
19635 (run-mode-hooks): Run it.
19637 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19638 Use change-major-mode-before-body-hook.
19640 * simple.el (fundamental-mode):
19641 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
19642 change introducing fundamental-mode-hook.
19644 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
19646 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
19648 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
19650 * ido.el (ido-file-name-all-completions-1): Do not require
19651 tramp.el explicitly. (Bug#7583)
19653 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
19655 * progmodes/octave-mod.el:
19656 * progmodes/octave-inf.el: Update maintainer.
19658 2011-10-26 Chong Yidong <cyd@gnu.org>
19660 * subr.el (with-wrapper-hook): Rewrite doc.
19662 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
19664 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
19665 filenames "/method:foo:". (Bug#9793)
19667 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
19669 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
19672 2011-10-24 Glenn Morris <rgm@gnu.org>
19674 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
19676 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
19678 * notifications.el: Add the requirement of a running D-Bus session
19679 bus to the Commentary.
19681 2011-10-24 Juri Linkov <juri@jurta.org>
19683 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19684 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
19687 2011-10-24 Juri Linkov <juri@jurta.org>
19689 * info.el (Info-following-node-name-re): Add newline to the list
19690 of allowed characters for leading space. (Bug#9824)
19692 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
19694 * progmodes/octave-inf.el (inferior-octave-mode-map):
19695 Fix C-c C-h binding.
19696 * progmodes/octave-mod.el (octave-help): Remove.
19698 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
19700 Sync with Tramp 2.2.3.
19702 * net/tramp-cache.el (top): Pacify byte-compiler using
19703 `init-file-user' and `site-run-file'.
19705 * net/trampver.el: Update release number.
19707 2011-10-23 Chong Yidong <cyd@gnu.org>
19709 * files.el (toggle-read-only): Remove obsolete comment about
19712 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
19713 for toggle-read-only. Note that this hasn't called vc-next-action
19714 since 2008-05-02, though it wasn't documented at the time.
19716 * vc/ediff-init.el (ediff-toggle-read-only-function):
19717 Use toggle-read-only.
19719 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
19721 Fix bug #9560, sporadic wrong indentation; improve instrumentation
19724 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
19725 correct faulty logical expression.
19726 (c-parse-state-state, c-record-parse-state-state):
19727 (c-replay-parse-state-state): New defvar/defuns.
19728 (c-debug-parse-state): Use new functions.
19730 2011-10-22 Martin Rudalics <rudalics@gmx.at>
19732 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
19733 last fix. Use window-in-direction correctly.
19735 2011-10-21 Chong Yidong <cyd@gnu.org>
19737 * progmodes/idlwave.el (idlwave-mode):
19738 * progmodes/vera-mode.el (vera-mode): No need to set
19739 require-final-newline; that's done in prog-mode.
19740 Suggested by Stefan Monnier.
19742 2011-10-21 Martin Rudalics <rudalics@gmx.at>
19744 * mouse.el (mouse-drag-window-above)
19745 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
19746 (mouse-drag-mode-line-1, mouse-drag-header-line)
19747 (mouse-drag-vertical-line-rightward-window): Remove.
19748 (mouse-drag-line): New function.
19749 (mouse-drag-mode-line, mouse-drag-header-line)
19750 (mouse-drag-vertical-line): Call mouse-drag-line.
19751 * window.el (window-at-side-p, windows-at-side): New functions.
19753 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
19755 * tar-mode.el (tar-grind-file-mode):
19756 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
19758 2011-10-21 Chong Yidong <cyd@gnu.org>
19760 * progmodes/idlwave.el (idlwave-mode):
19761 * progmodes/vera-mode.el (vera-mode):
19762 Use mode-require-final-newline.
19764 2011-10-20 Glenn Morris <rgm@gnu.org>
19766 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
19768 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
19770 * emulation/cua-base.el (cua-set-mark): Fix case of string.
19772 2011-10-20 Chong Yidong <cyd@gnu.org>
19774 * emulation/cua-base.el (cua-mode):
19775 * mail/footnote.el (footnote-mode):
19776 * mail/mailabbrev.el (mail-abbrevs-mode):
19777 * net/xesam.el (xesam-minor-mode):
19778 * progmodes/bug-reference.el (bug-reference-mode):
19779 * progmodes/cap-words.el (capitalized-words-mode):
19780 * progmodes/compile.el (compilation-minor-mode)
19781 (compilation-shell-minor-mode):
19782 * progmodes/gud.el (gud-tooltip-mode):
19783 * progmodes/hideif.el (hide-ifdef-mode):
19784 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
19785 * progmodes/subword.el (subword-mode):
19786 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
19787 * progmodes/which-func.el (which-function-mode):
19788 * term/tvi970.el (tvi970-set-keypad-mode):
19789 * term/vt100.el (vt100-wide-mode):
19790 * textmodes/flyspell.el (flyspell-mode):
19791 * textmodes/ispell.el (ispell-minor-mode):
19792 * textmodes/nroff-mode.el (nroff-electric-mode):
19793 * textmodes/paragraphs.el (use-hard-newlines):
19794 * textmodes/refill.el (refill-mode):
19795 * textmodes/reftex.el (reftex-mode):
19796 * textmodes/rst.el (rst-minor-mode):
19797 * textmodes/sgml-mode.el (html-autoview-mode)
19798 (sgml-electric-tag-pair-mode):
19799 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
19800 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
19801 * emulation/crisp.el (crisp-mode):
19802 * emacs-lisp/eldoc.el (eldoc-mode):
19803 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
19804 minor mode behavior.
19806 2011-10-19 Juri Linkov <juri@jurta.org>
19808 * descr-text.el (describe-char): Add #x2010 and #x2011 to
19809 the list of hard-coded chars with escape-glyph face.
19811 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
19813 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
19815 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
19817 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
19820 2011-10-19 Glenn Morris <rgm@gnu.org>
19822 * vc/vc-bzr.el (vc-bzr-after-dir-status):
19823 Ignore ignored files. (Bug#9726)
19825 2011-10-19 Chong Yidong <cyd@gnu.org>
19827 Doc fix for minor modes, stating that an omitted argument enables
19828 the mode unconditionally when called from Lisp.
19830 * abbrev.el (abbrev-mode):
19831 * allout.el (allout-mode):
19832 * autoinsert.el (auto-insert-mode):
19833 * autoarg.el (autoarg-mode, autoarg-kp-mode):
19834 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
19835 (global-auto-revert-mode):
19836 * battery.el (display-battery-mode):
19837 * composite.el (global-auto-composition-mode)
19838 (auto-composition-mode):
19839 * delsel.el (delete-selection-mode):
19840 * desktop.el (desktop-save-mode):
19841 * dired-x.el (dired-omit-mode):
19842 * dirtrack.el (dirtrack-mode):
19843 * doc-view.el (doc-view-minor-mode):
19844 * double.el (double-mode):
19845 * electric.el (electric-indent-mode, electric-pair-mode):
19846 * emacs-lock.el (emacs-lock-mode):
19847 * epa-hook.el (auto-encryption-mode):
19848 * follow.el (follow-mode):
19849 * font-core.el (font-lock-mode):
19850 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
19851 * help.el (temp-buffer-resize-mode):
19852 * hilit-chg.el (highlight-changes-mode)
19853 (highlight-changes-visible-mode):
19854 * hi-lock.el (hi-lock-mode):
19855 * hl-line.el (hl-line-mode, global-hl-line-mode):
19856 * icomplete.el (icomplete-mode):
19857 * ido.el (ido-everywhere):
19858 * image-file.el (auto-image-file-mode):
19859 * image-mode.el (image-minor-mode):
19860 * iswitchb.el (iswitchb-mode):
19861 * jka-cmpr-hook.el (auto-compression-mode):
19862 * linum.el (linum-mode):
19863 * longlines.el (longlines-mode):
19864 * master.el (master-mode):
19865 * mb-depth.el (minibuffer-depth-indicate-mode):
19866 * menu-bar.el (menu-bar-mode):
19867 * minibuf-eldef.el (minibuffer-electric-default-mode):
19868 * mouse-sel.el (mouse-sel-mode):
19869 * msb.el (msb-mode):
19870 * mwheel.el (mouse-wheel-mode):
19871 * outline.el (outline-minor-mode):
19872 * paren.el (show-paren-mode):
19873 * recentf.el (recentf-mode):
19874 * reveal.el (reveal-mode, global-reveal-mode):
19875 * rfn-eshadow.el (file-name-shadow-mode):
19876 * ruler-mode.el (ruler-mode):
19877 * savehist.el (savehist-mode):
19878 * scroll-all.el (scroll-all-mode):
19879 * scroll-bar.el (scroll-bar-mode):
19880 * server.el (server-mode):
19881 * shell.el (shell-dirtrack-mode):
19882 * simple.el (auto-fill-mode, transient-mark-mode)
19883 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
19884 (line-number-mode, column-number-mode, size-indication-mode)
19885 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
19886 * strokes.el (strokes-mode):
19887 * time.el (display-time-mode):
19888 * t-mouse.el (gpm-mouse-mode):
19889 * tool-bar.el (tool-bar-mode):
19890 * tooltip.el (tooltip-mode):
19891 * type-break.el (type-break-mode-line-message-mode)
19892 (type-break-query-mode):
19893 * view.el (view-mode):
19894 * whitespace.el (whitespace-mode, whitespace-newline-mode)
19895 (global-whitespace-mode, global-whitespace-newline-mode):
19896 * xt-mouse.el (xterm-mouse-mode): Doc fix.
19898 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19899 Fix autogenerated docstring.
19901 2011-10-19 Juri Linkov <juri@jurta.org>
19903 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
19904 by checking environment variables "DESKTOP_SESSION" and
19905 "XDG_CURRENT_DESKTOP". (Bug#9779)
19907 2011-10-19 Juri Linkov <juri@jurta.org>
19909 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
19910 (browse-url-chromium-program, browse-url-chromium-arguments):
19912 (browse-url-default-browser): Check for `browse-url-chromium' and
19913 call `browse-url-chromium-program'.
19914 (browse-url-chromium): New command. (Bug#9779)
19916 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
19918 * facemenu.el (list-colors-duplicates): On Windows, detect more
19919 duplicates by assuming that only colors matching "^System" are
19920 special "system colors". (Bug#9722)
19922 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
19924 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
19925 to distinguish the author from the committer.
19927 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
19929 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
19931 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
19933 * international/mule.el (sgml-html-meta-auto-coding-function):
19934 Add support for detecting encoding in HTML5 specified only as
19935 <meta charset="UTF-8">. Implementation just makes http-equiv and
19936 content-type parts from HTML4 encoding string optional. (Bug#9716)
19938 2011-10-18 Glenn Morris <rgm@gnu.org>
19940 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
19942 2011-10-18 Chong Yidong <cyd@gnu.org>
19944 * faces.el (cursor): Doc fix.
19946 2011-10-17 Chong Yidong <cyd@gnu.org>
19948 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
19950 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
19952 * dirtrack.el (dirtrack): Support shell buffers with path
19953 prefixes, e.g. tramp-based remote shells. (Bug#9647)
19955 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
19957 * json.el: Bump version to 1.3 and note change in History.
19958 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
19960 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
19962 * comint.el (comint-insert-input, comint-send-input)
19963 (comint-get-old-input-default, comint-backward-matching-input)
19964 (comint-next-prompt): Use nil instead of `input' for field property of
19965 past user input (bug#114).
19967 * minibuffer.el (completion--replace): Inherit surrounding properties
19969 (minibuffer-complete-and-exit): Use it.
19971 * comint.el (comint--table-subvert): Quote the all-completions output
19974 2011-10-17 Martin Rudalics <rudalics@gmx.at>
19976 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
19978 * menu-bar.el (menu-bar-file-menu): Add entry for making new
19979 window on right of selected. (Bug#9350) Reword other window
19980 entries and separate them from frame entries.
19982 2011-10-15 Glenn Morris <rgm@gnu.org>
19984 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
19987 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
19989 * net/network-stream.el (network-stream-open-starttls):
19990 Improve detection of failure due to lack of TLS support.
19992 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
19993 putting the input text in front and in bold.
19995 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
19997 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
19999 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
20002 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
20003 unread-command-events rather than pushing yet-another event.
20005 2011-10-14 Eli Zaretskii <eliz@gnu.org>
20007 * mail/sendmail.el (sendmail-query-once): Improve the wording of
20008 the explanation of the possible choices. Make the options passed
20009 to completing-read shorter.
20011 2011-10-13 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
20013 * textmodes/flyspell.el (flyspell-large-region): Make sure
20014 extended character mode is used if defined (Bug#1339).
20016 2011-10-13 Eli Zaretskii <eliz@gnu.org>
20018 * simple.el (what-cursor-position): Fix the display of the
20019 character info for LRE, LRO, RLE, and RLO characters by appending
20022 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
20024 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
20025 even in case of error; add debug spec; simplify data flow.
20026 (with-timeout-handler): Remove.
20028 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
20030 Fix Bug#6019, Bug#9315.
20032 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
20033 complete `buffer-file-name', the local file name part could look
20034 remotely (for example on VMS).
20036 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
20037 `tramp-run-real-handler'.
20038 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
20039 already quoted by '"'.
20041 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
20042 Let `file-name-handler-alist' be nil, the local file name part
20043 could look remotely (for example on VMS).
20045 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
20047 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
20049 (flyspell-post-command-hook): ...to here.
20051 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20053 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
20055 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
20056 using completion. Protect against "slow" callers.
20057 Remove the "message hack".
20059 2011-10-11 Juri Linkov <juri@jurta.org>
20061 * isearch.el (isearch-lazy-highlight-word): New variable.
20062 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
20065 2011-10-11 Glenn Morris <rgm@gnu.org>
20067 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
20068 like f90-previous-statement does.
20070 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20072 * eshell/eshell.el (eshell-command): History should be saved
20073 only in interactive use, to avoid error.
20075 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20077 * minibuffer.el (completion-file-name-table): Fix last change,
20078 i.e. ignore normal errors but not the other ones.
20080 2011-10-10 Martin Rudalics <rudalics@gmx.at>
20082 * window.el (special-display-buffer-names)
20083 (special-display-regexps): Remove some remnants of earlier
20084 changes from doc-strings.
20085 (quit-windows-on): New function.
20087 * vc/vc.el (vc-revert, vc-rollback):
20088 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
20089 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
20090 (Bug#6183) (Bug#7074) (Bug#7447)
20092 2011-10-09 Martin Rudalics <rudalics@gmx.at>
20094 * window.el (frame-auto-hide-function): Add version tag.
20097 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
20099 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
20102 2011-10-09 Leo Liu <sdl.web@gmail.com>
20104 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
20107 2011-10-08 Glenn Morris <rgm@gnu.org>
20109 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
20110 before the first code statement zero indent. (Bug#9690)
20112 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
20114 * simple.el (count-words-region): Always count in the region.
20115 Report the number of lines and characters too.
20116 (count-words): New command, which counts in the buffer if the
20117 region is inactive, as count-words-region used to.
20118 (count-words--message): New function. Handle plurals.
20119 (count-lines-region): Make it an alias for count-words-region.
20121 * bindings.el (esc-map): Replace count-lines-region with
20122 count-words-region.
20124 2011-10-08 Martin Rudalics <rudalics@gmx.at>
20126 * window.el (window--delete): Delete dedicated frame
20127 unconditionally when argument KILL is non-nil. (Bug#9699)
20128 (switch-to-buffer): Fix doc-string typo.
20130 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20132 * eshell/eshell.el (eshell-command): Avoid using hooks.
20134 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
20136 * bindings.el ([M-left],[M-right]): Bind to left-word and
20137 right-word respectively.
20139 2011-10-07 Glenn Morris <rgm@gnu.org>
20141 * cus-start.el (debug-on-quit): Fix custom type.
20143 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20145 * subr.el (define-key-after): Clarify that the function is not
20146 useful for non-menu keymaps.
20148 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
20150 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20152 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
20153 in current minibuffer (Fix bug with recursive minibuffers).
20155 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
20157 * progmodes/gdb-mi.el (gdb): Doc fix.
20159 2011-10-05 Martin Rudalics <rudalics@gmx.at>
20161 * window.el (frame-auto-hide-function): New option replacing
20162 frame-auto-delete. Suggested by Stefan Monnier.
20163 (window--delete): Call frame-auto-hide-function instead of
20164 investigating frame-auto-delete.
20165 (window-point-1, set-window-point-1): New functions.
20166 (window-in-direction, record-window-buffer, window-state-get-1)
20167 (display-buffer-record-window): Use window-point-1 instead of
20169 (set-window-buffer-start-and-point): Use set-window-point-1.
20171 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20173 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
20175 2011-10-05 Glenn Morris <rgm@gnu.org>
20177 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
20178 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
20180 2011-10-05 Leo Liu <sdl.web@gmail.com>
20182 * subr.el (read-char-choice): Fix argument to buffer-live-p which
20183 works with buffer object.
20185 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20187 * mpc.el (mpc-tool-bar-map): Add labels.
20189 2011-10-04 Glenn Morris <rgm@gnu.org>
20191 * calendar/holidays.el (calendar-check-holidays): Doc fix.
20193 2011-10-04 Martin Rudalics <rudalics@gmx.at>
20195 * window.el (window--delete): New function.
20196 (frame-auto-delete): Resuscitate option.
20197 (bury-buffer, replace-buffer-in-windows)
20198 (quit-window): Rewrite using window--delete.
20199 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20200 Pass display-buffer-mark-dedicated to window--display-buffer-2
20203 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20205 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
20206 returns a list (bug#9554). Add remote file name completion.
20207 * comint.el (comint--table-subvert): Curry and get quote&unquote
20208 functions as arguments.
20209 (comint--complete-file-name-data): Adjust call accordingly.
20210 * pcomplete.el (pcomplete--table-subvert): Remove.
20211 (pcomplete-completions-at-point): Use comint--table-subvert instead.
20213 * minibuffer.el (completion-table-case-fold): Use currying.
20214 (completion--styles-type, completion--cycling-threshold-type):
20216 (completion-styles, completion-category-overrides)
20217 (completion-cycle-threshold): Use them.
20218 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
20219 completion-table-case-fold.
20221 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
20223 * minibuffer.el (completion-category-overrides): Fix type of styles
20224 and add more user friendly tags (bug#9660).
20226 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20228 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
20229 (mule-input-method-string): New widget.
20230 (default-input-method, language-info-custom-alist): Use it.
20232 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
20234 * pcomplete.el: Require comint.
20235 (pcomplete--common-suffix): Remove.
20236 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
20237 (pcomplete--table-subvert): Sync with comint--table-subvert.
20238 (pcomplete--entries): Use comint-completion-file-name-table.
20239 * comint.el (comint-unquote-filename): Simplify.
20240 (comint-completion-file-name-table): New function (bug#9616).
20241 (comint--complete-file-name-data): Use it.
20243 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
20244 (pcmpl-gnu-tar-buffer): Remove.
20245 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
20246 around. Make sure pcomplete-suffix-list is only changed temporarily.
20247 Don't look inside the tar's file if it's too large.
20249 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
20251 * cus-edit.el (custom-mode-map):
20252 * epa.el (epa-key-list-mode-map):
20253 * man.el (Man-mode-map):
20254 * startup.el (splash-screen-keymap):
20255 * simple.el (special-mode-map): Use scroll-up-command and
20256 scroll-down-command.
20258 * progmodes/idlw-help.el (idlwave-help-mode-map):
20259 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
20260 * net/newst-plainview.el (newsticker-mode-map):
20261 * emulation/ws-mode.el (wordstar-mode-map):
20262 * emulation/vi.el (vi-com-map):
20263 * calc/calc-graph.el (calc-graph-show-dumb):
20264 * term/sun.el (terminal-init-sun):
20265 * term/ns-win.el (global-map):
20266 * progmodes/grep.el (grep-mode-map):
20267 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
20268 * mail/rmail.el (rmail-mode-map):
20269 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
20271 * custom.el (custom-safe-themes, load-theme): Treat value of t for
20272 custom-safe-themes as special.
20274 2011-10-01 Julien Danjou <julien@danjou.info>
20276 * notifications.el (notifications-notify): Fix docstring.
20278 2011-10-01 Per Starbäck <per@starback.se>
20280 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
20282 2011-09-30 Martin Rudalics <rudalics@gmx.at>
20284 * startup.el (command-line-1): Fix last fix by inserting
20285 initial-scratch-message into *scratch* before displaying it.
20286 (Bug#9605) and (Bug#9636)
20288 2011-09-29 Eli Zaretskii <eliz@gnu.org>
20290 * simple.el (line-move): If auto-hscroll-mode is disabled and the
20291 window is hscrolled, move by logical lines. (Bug#9607)
20292 (line-move-visual): Update the doc string to the above effect.
20294 2011-09-29 Martin Rudalics <rudalics@gmx.at>
20296 * window.el (display-buffer-record-window): When WINDOW is the
20297 selected window use `point' instead of `window-point'. (Bug#9626)
20299 * startup.el (command-line-1): Use insert-before-markers when
20300 inserting initial-scratch-message. (Bug#9605)
20302 * help.el (help-window): Remove variable.
20304 2011-09-29 Glenn Morris <rgm@gnu.org>
20306 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
20308 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
20310 * descr-text.el (describe-char-categories): Accept category
20311 descriptions more than one line long.
20313 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
20315 * simple.el (delete-trailing-whitespace): Fix last change.
20317 * progmodes/perl-mode.el (perl-syntax-propertize-function):
20318 Don't confuse "y => 3" as the beginning of a `y' operation.
20320 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
20321 object has more than 4 slots (bug#9613).
20323 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
20325 * subr.el (with-output-to-temp-buffer):
20326 * net/quickurl.el (quickurl, quickurl-browse-url):
20327 Fix typos in docstrings.
20329 2011-09-27 Eli Zaretskii <eliz@gnu.org>
20331 * minibuffer.el (completion-styles)
20332 (completion-category-overrides): Cross reference each other in doc
20335 2011-09-27 Glenn Morris <rgm@gnu.org>
20337 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
20338 to split-string. (Bug#9606)
20340 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20342 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
20345 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
20347 * emacs-lisp/package.el (list-packages): Fix echo area message.
20349 2011-09-27 Leo Liu <sdl.web@gmail.com>
20351 * ido.el (ido-read-internal): Accept cons cell HIST arg.
20353 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
20355 * net/dbus.el (dbus-unregister-object): Don't release services for
20356 registered signals. (Bug#9581)
20358 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
20360 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
20361 function that picks between cfengine 2 and 3 support
20362 automatically. Update docs accordingly.
20364 2011-09-22 Kenichi Handa <handa@m17n.org>
20366 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
20368 (indian-itrans-v5-table-for-tamil): New variable.
20369 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
20371 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
20373 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
20374 that's true if the current command involved collapsing of text.
20375 It's reset to false at the beginning of the next command.
20376 (allout-post-command-business): Move the cursor to the beginning
20377 of entry if the cursor is hidden and collapsing activity just
20380 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
20382 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
20383 tracking (Bug#9541).
20385 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
20387 * net/newst-reader.el (newsticker-html-renderer)
20388 (newsticker-show-news): Automatically load html rendering package
20389 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
20390 because w3m-fill-column is let-bound" and the error "Symbol's value
20391 as variable is void: w3m-fill-column".
20393 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
20395 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
20396 Release services only if they are defined. (Bug#9581)
20398 2011-09-23 Richard Stallman <rms@gnu.org>
20400 * textmodes/paragraphs.el (forward-sentence): For backwards case,
20401 distinguish start of paragraph from start of its text.
20403 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
20405 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
20406 (rmail-generate-viewer-buffer): Put that hook on view buffer.
20407 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
20409 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
20411 * international/mule-diag.el (mule-diag): Insert a newline after
20412 each fontset description.
20414 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20416 * simple.el (delete-trailing-whitespace):
20417 Document last change; simplify.
20419 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
20421 * simple.el (delete-trailing-whitespace): Also delete
20422 extra newlines at the end of the buffer.
20424 * textmodes/picture.el: Make motion commands obey shift-select-mode.
20425 (picture-newline): Use forward-line so as to ignore fields.
20427 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20429 * subr.el (with-wrapper-hook): Fix edebug spec.
20431 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
20433 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
20436 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
20438 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
20439 Fix nasty bug using wrong cached values.
20441 2011-09-23 Alan Mackenzie <acm@muc.de>
20443 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
20445 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
20447 * window.el (pop-to-buffer): Ensure right window is selected if we
20448 chose another frame.
20450 2011-09-22 Eli Zaretskii <eliz@gnu.org>
20452 * simple.el (what-cursor-position): Use get-char-property-change
20453 and next-single-char-property-change, to be able to show display
20454 properties that come from overlays as well as text properties.
20456 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
20458 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
20460 * cmuscheme.el (run-scheme, switch-to-scheme):
20461 * cus-edit.el (customize-group, custom-buffer-create)
20462 (customize-browse):
20464 * shell.el (shell):
20465 * mail/sendmail.el (mail):
20466 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
20468 2011-09-22 Richard Stallman <rms@gnu.org>
20470 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
20471 move back only to line beg, don't move back over blank lines.
20473 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
20475 * files.el (copy-directory): Set directory attributes only in case
20476 they could be retrieved from the source directory. (Bug#9565)
20478 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
20480 * progmodes/hideshow.el (hs-looking-at-block-start-p)
20481 (hs-find-block-beginning, hs-hide-level-recursive):
20482 Ignore strings as well as comments. (Bug#9502)
20484 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
20486 * progmodes/sql.el (sql-comint-postgres):
20487 Convert port number to a string. (Bug#9566)
20489 2011-09-22 Martin Rudalics <rudalics@gmx.at>
20491 * window.el (quit-window): Undedicate window when switching to
20492 previous buffer. Reported by Thierry Volpiatto
20493 <thierry.volpiatto@gmail.com>.
20494 (special-display-popup-frame): When popping up a new frame reset
20495 its previous buffers to nil. Simplify code.
20497 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
20499 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
20500 and process filter, as done also in `shell-command'.
20502 2011-09-21 Martin Rudalics <rudalics@gmx.at>
20504 * window.el (set-window-buffer-start-and-point):
20505 Call set-window-start with NOFORCE argument t.
20506 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20507 (quit-window): Reword doc-string. Handle new format of
20508 quit-restore parameter. Don't delete window if it has a
20509 previous buffer we can show instead of the present one.
20510 (display-buffer-record-window): Rewrite using a new format for
20511 the quit-restore window parameter
20512 (special-display-popup-frame, display-buffer-same-window)
20513 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20514 (display-buffer-pop-up-window, display-buffer-use-some-window):
20515 Adapt symbol passed to display-buffer-record-window.
20516 * help.el (help-window-setup): Handle new format of quit-restore
20519 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
20521 * faces.el (face-list): Fix docstring (bug#9564).
20523 * window.el (display-buffer--action-function-custom-type):
20524 Don't include internal functions in the Custom interface.
20526 2011-09-20 Juri Linkov <juri@jurta.org>
20528 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
20529 (Info-forward-node, Info-backward-node, Info-next-preorder)
20530 (Info-last-preorder): Use it. (Bug#9528)
20532 2011-09-20 Juri Linkov <juri@jurta.org>
20534 * info.el (Info-last-preorder): Visit last menu item only when
20535 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
20537 2011-09-20 Julien Danjou <julien@danjou.info>
20539 * password-cache.el (password-cache-remove): Remove entries even if the
20540 value is nil, so that password with a nil value (negative caching) is
20541 possible to invalidate.
20543 2011-09-20 Lawrence Mitchell <wence@gmx.li>
20545 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
20546 all whitespace around breakpoint. (Bug#9553)
20547 (f90-find-breakpoint): Only break at whitespace inside a comment.
20549 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
20551 * minibuffer.el (completion-file-name-table): Keep track of errors.
20552 (completion-table-with-predicate): Handle the case where pred1 is nil.
20553 * pcomplete.el (pcomplete-completions-at-point): Simplify.
20555 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20557 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
20558 (debugger-return-value): Signal an error if the debugging context does
20559 not await any return value.
20561 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
20562 * image-mode.el (image-toggle-display-text)
20563 (image-toggle-display-image): Stay away from evil `intangible'.
20565 2011-09-19 Leo Liu <sdl.web@gmail.com>
20567 * replace.el (occur-revert-arguments): Make it permanent-local.
20568 (occur-mode): Don't call font-lock-defontify.
20570 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
20572 * net/ldap.el (ldap-search-internal): Don't push empty search
20575 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20577 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
20579 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
20581 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
20582 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
20584 2011-09-18 Juri Linkov <juri@jurta.org>
20586 * buff-menu.el (Buffer-menu-mode-map):
20587 * dired.el (dired-mode-map):
20588 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
20589 (lisp-interaction-mode-map):
20590 * emacs-lisp/package.el (package-menu-mode-map):
20591 * epa.el (epa-key-list-mode-map):
20592 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
20593 (menu-bar-options-menu):
20594 * outline.el (outline-mode-menu-bar-map):
20595 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
20596 * vc/vc-dir.el (vc-dir-menu-map):
20597 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
20598 Capitalize non-function content words in menu item strings.
20600 * dired.el (dired-mode-map): Add menu item for
20601 `image-dired-dired-toggle-marked-thumbs'.
20603 2011-09-18 Juri Linkov <juri@jurta.org>
20605 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
20606 to `isearch-case-fold-search' and restore its original value
20607 after the `isearch-mode' call.
20609 2011-09-18 Juri Linkov <juri@jurta.org>
20611 * progmodes/grep.el (grep-process-setup): Don't check code for 1
20612 because `zgrep' returns 1 for successful matches (bug#9226).
20614 2011-09-18 Juri Linkov <juri@jurta.org>
20616 * info.el (Info-extract-menu-node-name): Check the second match
20617 for empty string (second test-case of bug#9528).
20618 (Info-last-preorder): Let-bind `Info-history' to nil to not add
20619 intermediate nodes to the history (first test-case of bug#9528).
20621 2011-09-18 Juri Linkov <juri@jurta.org>
20623 * info.el (Info-mode-syntax-table): New variable.
20624 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
20626 2011-09-18 Juri Linkov <juri@jurta.org>
20628 * info.el (Info-file-supports-index-cookies):
20629 Increment line-beginning-position's arg from 3 to 4 because makeinfo
20630 outputs one more line for long file names (bug#4142).
20632 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20634 * newcomment.el (comment-normalize-vars): If prompting for
20635 comment-start, set comment-start-skip too (Bug#8424).
20637 2011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
20639 * icomplete.el: Fix previous fix of Bug#5849.
20640 (icomplete-mode): Don't set completion-show-inline-help.
20641 (icomplete-minibuffer-setup): Set completion-show-inline-help
20642 locally during icompletion.
20644 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20646 * woman.el (woman2-process-escapes): Don't delete unrecognized
20647 escapes (Bug#7843).
20649 * files.el (inhibit-first-line-modes-regexps): Add image files.
20650 (hack-local-variables-prop-line): Return nil for malformed
20651 prop-lines (Bug#9044).
20653 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
20655 * net/tramp.el (top): Don't require 'shell.
20656 (tramp-methods): Fix docstring.
20657 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
20658 Return complete remote file name. Handle "smb" case.
20659 Use `tramp-tmpdir', if defined for the respective method.
20660 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
20662 * net/tramp-compat.el (top): Require 'shell.
20664 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20665 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
20666 `tramp-current-host'.
20667 (tramp-get-remote-tmpdir): Remove.
20669 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
20670 `tramp-tmpdir' entries.
20671 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
20672 (tramp-smb-handle-file-attributes): Ignore errors.
20673 (tramp-smb-wait-for-output): Check also for process end.
20675 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
20677 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
20678 when sending QUIT (bug#9312).
20680 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
20682 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
20683 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
20684 occur-mode-display-occurrence.
20685 (occur-edit-mode): Add usage message.
20686 (occur-cease-edit): New command.
20687 (occur-after-change-function): Use text properties to find the
20688 position of the prefix text.
20689 (occur-engine): Set stickiness of prefix text properties.
20691 2011-09-17 Glenn Morris <rgm@gnu.org>
20693 * progmodes/etags.el (complete-tag):
20694 Fix call to completion-in-region. (Bug#9526)
20696 2011-09-17 Juri Linkov <juri@jurta.org>
20698 * textmodes/ispell.el (ispell-word): Add to the error message
20699 the word, ispell program name and current dictionary (bug#9121).
20700 (ispell-tex-arg-end): Capitalize "error" in the error message.
20702 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
20704 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
20707 2011-09-17 Juri Linkov <juri@jurta.org>
20709 * window.el (window-safe-min-height, window-safe-min-width):
20710 Fix typos (followup to bug#9522).
20712 2011-09-17 Sven Joachim <svenjoac@gmx.de>
20714 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
20716 2011-09-16 Eli Zaretskii <eliz@gnu.org>
20718 * simple.el (line-move): If goal-column is set, move by logical
20719 lines, not by display lines. (Bug#971)
20720 (next-line, previous-line, goal-column, line-move-visual): Doc fix
20721 to reflect the above change.
20723 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
20725 * image.el (imagemagick-register-types): Use regexp-opt.
20727 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20729 * window.el (display-buffer-base-action): Rename from
20730 display-buffer-default-action. Make default value empty.
20731 (display-buffer-overriding-action): Convert to defvar.
20732 (display-buffer-fallback-action): New var.
20734 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20736 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
20738 (package--add-to-archive-contents): If there is a duplicate entry
20739 with an older version, remove it.
20740 (package-menu-mark-delete, package-menu-mark-install)
20741 (package-menu-mark-unmark): Make unused args optional.
20742 (package-menu-mark-obsolete-for-deletion):
20743 Use package-menu-get-status instead of a regexp search.
20744 (package-menu-get-status): Use tabulated-list-entry.
20745 (package-menu-mark-upgrades): New command.
20746 (package-menu-mode-map): Bind it to U. Add it to menu bar.
20747 (package-menu-execute): Do installation before deletion.
20748 (package-menu-refresh, package-menu-execute): Use derived-mode-p
20749 instead of checking major-mode.
20750 (package-menu--find-upgrades): New function.
20752 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20754 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
20755 passwords in the log buffer.
20756 (smtpmail-process-filter): Update the process marker so that the
20757 "broken by peer" status message is inserted in the right place.
20759 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
20761 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
20762 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
20763 bibtex-completion-at-point-function.
20764 (bibtex-completion-at-point-function): Use them.
20766 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
20768 * mpc.el (mpc-constraints-tag-lookup): New function.
20769 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
20770 also to browser "album|playlist".
20772 2011-09-14 Juri Linkov <juri@jurta.org>
20774 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
20775 (isearch-edit-string): Use length of `isearch-string' when
20776 `isearch-fail-pos' returns nil.
20777 (isearch-message): Remove duplicate code and call
20778 `isearch-fail-pos' with arg `t'.
20780 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
20782 * replace.el (occur-mode-goto-occurrence): Don't force using other
20785 * dired-aux.el (dired-do-chmod): Don't provide initial input.
20787 2011-09-14 Martin Rudalics <rudalics@gmx.at>
20789 * window.el (display-buffer-window): Remove.
20790 (display-buffer-record-window): Use help-setup window parameter
20791 instead of variable display-buffer-window.
20792 (display-buffer-function, special-display-buffer-names)
20793 (special-display-function): Mention help-setup parameter instead
20794 of display-buffer-window in doc-string.
20795 * help.el (help-window-setup): New argument help-window.
20796 Use help-window-setup parameter instead of display-buffer-window.
20797 Reword some messages.
20798 (with-help-window): Pass window used for displaying the buffer
20799 to help-window-setup. Don't set display-buffer-window.
20801 2011-09-13 Glenn Morris <rgm@gnu.org>
20803 * emacs-lisp/debug.el (debugger-make-xrefs):
20804 Preserve point. (Bug#9462)
20806 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20808 * window.el (window-deletable-p): Use next-frame.
20810 2011-09-13 Martin Rudalics <rudalics@gmx.at>
20812 * window.el (window-auto-delete): Remove.
20813 (window-deletable-p): Remove argument FORCE. Don't deal with
20814 dedication and previous buffers.
20815 (switch-to-prev-buffer): Don't delete window.
20816 (delete-windows-on): Delete a window's frame if and only if the
20817 window is dedicated.
20818 (replace-buffer-in-windows): Delete buffer's window or frame if
20819 and only if window is dedicated.
20820 (quit-window): Handle quit-restore as before last change.
20821 (bury-buffer): Delete window only if window-deletable-p returns t.
20823 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20825 * window.el (window-deletable-p): Never delete the last frame on a
20828 2011-09-13 Glenn Morris <rgm@gnu.org>
20830 * help.el (describe-key-briefly): Copy previous standard-output change.
20832 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
20834 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
20836 2011-09-13 Glenn Morris <rgm@gnu.org>
20838 * emacs-lisp/lisp-mode.el (lisp-indent-function):
20839 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
20841 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
20843 * dired-aux.el (dired-mark-read-string): Don't return default
20844 value on empty input (Bug#9361).
20845 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
20846 Omit initial minibuffer contents.
20847 (dired-do-chmod): Signal an error on empty input.
20848 (dired-mark-read-string): Don't return default on empty input.
20850 * files.el (file-modes-symbolic-to-number): Doc fix.
20852 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20854 * international/mule-cmds.el (ucs-completions): Remove.
20855 (read-char-by-name): Use complete-with-action instead; add metadata.
20857 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20859 * window.el (display-buffer--action-function-custom-type)
20860 (display-buffer--action-custom-type): New vars.
20861 (display-buffer-alist, display-buffer-default-action)
20862 (display-buffer-overriding-action): Add defcustom types.
20864 * frame.el (delete-other-frames): Doc fix (Bug#276).
20866 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20868 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
20870 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20872 Change modes that used same-window-* vars to use switch-to-buffer.
20874 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
20875 Use switch-to-buffer.
20877 * cus-edit.el (customize-group, custom-buffer-create)
20878 (customize-browse, custom-buffer-create-other-window):
20879 Use switch-to-buffer or switch-to-buffer-other-window.
20881 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
20882 (Info-prev, Info-up, Info-speedbar-goto-node)
20883 (info-display-manual): Use switch-to-buffer.
20884 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
20886 * mail/sendmail.el (mail): Use switch-to-buffer.
20887 (mail-recover): Use switch-to-buffer-other-window.
20889 * cmuscheme.el (run-scheme, switch-to-scheme):
20891 * shell.el (shell):
20892 * net/rlogin.el (rlogin):
20893 * net/telnet.el (telnet, rsh):
20894 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
20896 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20898 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
20900 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20902 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
20903 so don't mention it (bug#9301).
20904 (dired-sort-toggle-or-edit): Clarify string further.
20906 * faces.el (face-spec-set-match-display): Make `(type graphic)'
20907 match `x', `w32' and `ns', like the manual says (bug#9029).
20909 * subr.el (eval-after-load): Doc string clarification (bug#9125).
20910 (process-kill-buffer-query-function): Mention the buffer name in
20913 * image-mode.el (image-next-line): The line parameter is mandatory
20916 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
20917 which can be useful (bug#9301).
20919 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
20921 * subr.el (match-string): Mention that the current buffer should
20922 be the same as the search was done in (bug#9282).
20924 * facemenu.el: Disable the remove-* commands if the mark isn't
20927 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20929 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
20931 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
20933 * replace.el (occur-mode-goto-occurrence)
20934 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
20935 and display-buffer.
20937 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
20940 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
20941 special-display and same-window variables.
20942 (mail-other-window): Use switch-to-buffer-other-window.
20943 (mail-other-frame): USe switch-to-buffer-other-frame.
20945 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
20946 Use display-buffer-other-frame.
20947 (gdb-display-gdb-buffer): Use pop-to-buffer.
20949 * progmodes/gud.el (gud-goto-info): Use info-other-window.
20951 * progmodes/python.el: Don't set same-window-buffer-names.
20953 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
20955 * window.el (display-buffer-alist): Add *Python*.
20957 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20959 * window.el (display-buffer-alist): Add entry for buffers
20960 previously handled same-window-*.
20961 (display-buffer-alist, display-buffer-default-action)
20962 (display-buffer-overriding-action): Mark as risky.
20963 (display-buffer-alist): Document action function changes.
20964 (display-buffer--same-window-action)
20965 (display-buffer--other-frame-action): New variables.
20966 (switch-to-buffer, display-buffer-other-frame): Use them.
20967 (display-buffer): Rename reuse-frame entry to reusable-frames.
20968 (display-buffer-reuse-selected-window): Function deleted.
20969 (display-buffer-reuse-window): Handle reusable-frames alist entry.
20970 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
20971 (display-buffer-special): New function.
20972 (display-buffer--maybe-pop-up-frame-or-window): Rename from
20973 display-buffer-reuse-or-pop-window. Split off special-display
20974 part into display-buffer-special.
20975 (display-buffer-use-some-window): Don't perform any special
20976 pop-up-frames handling.
20977 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
20978 (display-buffer--maybe-same-window): Rename from
20979 display-buffer-maybe-same-window.
20981 * info.el: Don't set same-window-regexps.
20982 (info-setup): New function.
20983 (info-other-window, info): Call it.
20985 * cus-edit.el: Don't set same-window-regexps.
20986 (customize-group): New argument.
20987 (customize-group-other-window): Use it.
20988 (customize-face, customize-face-other-window): Likewise.
20989 (custom-buffer-create-other-window): Use pop-to-buffer directly.
20993 * progmodes/gud.el: Don't set same-window-regexps.
20998 * mail/sendmail.el:
20999 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
21001 2011-09-10 Juri Linkov <juri@jurta.org>
21003 * isearch.el (isearch-edit-string): Remove obsolete mention of
21004 `C-w' (`isearch-yank-word-or-char') from docstring.
21005 (isearch-query-replace): Fix typo in docstring (bug#9466).
21007 2011-09-10 Juri Linkov <juri@jurta.org>
21009 * paren.el (show-paren-function): Don't show escaped parens.
21010 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
21012 2011-09-10 Eli Zaretskii <eliz@gnu.org>
21014 * mail/sendmail.el (mml-to-mime, mml-attach-file)
21015 (mm-default-file-encoding): Remove autoload forms, they are
21016 replaced with autoload cookies in mml.el and mm-encode.el.
21017 (mail-add-attachment): New command.
21018 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
21019 (mail-mode): Mention mail-insert-file and mail-add-attachment in
21021 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
21023 2011-09-10 Reuben Thomas <rrt@sc3d.org>
21025 * simple.el (count-words-region): Use buffer if there's no region
21028 2011-09-09 Juri Linkov <juri@jurta.org>
21030 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
21031 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
21032 (wdired-isearch-filter-read-only): New function. (Bug#6362)
21034 2011-09-09 Alan Mackenzie <acm@muc.de>
21036 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
21037 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
21039 2011-09-09 Eli Zaretskii <eliz@gnu.org>
21041 Fix for Savannah bug#9392.
21042 * simple.el (mail-encode-mml): New defvar.
21044 * mail/rmail.el (mail-encode-mml): Add a defvar.
21045 (rmail-enable-mime-composing): Default to t.
21046 (rmail-forward): Use MIME method of forwarding only if both
21047 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
21048 Set mail-encode-mml non-nil if the MIME method was used.
21050 * mail/sendmail.el (mml-to-mime): Add autoload form.
21051 (mail-encode-mml): Add a defvar.
21052 (mail-mode): Make mail-encode-mml buffer-local and initialize it
21054 (mail-send): If mail-encode-mml is non-nil, run the outgoing
21055 message through mml-to-mime, and reset mail-encode-mml to nil.
21057 2011-09-09 Glenn Morris <rgm@gnu.org>
21059 * woman.el (woman-if-body): When processing an .el block,
21060 do not delete the next .el block as well. (Bug#9447)
21061 (woman-special-characters): Add oq, cq, and hy characters.
21063 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21065 * window.el (window-deletable-p): Make sure window is live before
21066 invoking window-prev-buffers.
21068 2011-09-08 Leo Liu <sdl.web@gmail.com>
21070 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
21072 2011-09-08 Juri Linkov <juri@jurta.org>
21074 * progmodes/compile.el (compilation-environment): Make it
21075 a defcustom (bug#8340).
21077 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21079 * window.el (frame-auto-delete): Rename to window-auto-delete.
21080 Make it control auto-deletion of windows and/or frames.
21081 (window-deletable-p): New argument FORCE. Rewrite conditions
21082 for deleting window/frame. (Bug#9419)
21083 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
21084 Rewrite handling of case when window/frame can be deleted.
21085 (delete-windows-on): Call window-deletable-p with new FORCE
21086 argument t. (Bug#9456)
21088 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
21090 * help-mode.el (help-mode): Restore autoload.
21092 2011-09-07 Juri Linkov <juri@jurta.org>
21094 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
21095 `compilation-environment'. Set buffer-local
21096 `compilation-environment' to `thisenv' later after (funcall mode).
21099 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
21100 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
21101 instead of replacing its value. (Bug#8340)
21103 2011-09-07 Juri Linkov <juri@jurta.org>
21105 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
21106 based on text properties put by `grep-filter' instead of matching
21108 (grep-mode): Set buffer-local `compilation-error-screen-columns'
21109 to the value of `grep-error-screen-columns' (bug#9438).
21111 2011-09-07 Juri Linkov <juri@jurta.org>
21113 * simple.el (next-error-highlight, next-error-highlight-no-select):
21114 Doc fix (bug#9432).
21116 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
21118 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21119 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
21121 2011-09-07 Leo Liu <sdl.web@gmail.com>
21123 * net/rcirc.el (rcirc-mode): Conditionally initialize
21126 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
21128 * emacs-lisp/find-func.el (find-function-C-source): Only set
21129 find-function-C-source-directory after checking that we found a source
21130 file there (bug#9440).
21132 2011-09-06 Alan Mackenzie <acm@muc.de>
21134 * isearch.el (isearch-other-meta-char): Wherever a key list is
21135 unread, "unread" the prefix arg, too. This fixes bug #8901.
21137 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
21139 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
21141 2011-09-05 Juri Linkov <juri@jurta.org>
21143 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
21145 2011-09-05 Juri Linkov <juri@jurta.org>
21147 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
21148 keeping point where processing of grep matches begins, and
21149 continue to delete remaining escape sequences from the same point.
21150 (grep-filter): Make leading zero optional in "0?1;31m" because
21151 git-grep emits "\033[1;31m" escape sequences unlike expected
21152 "\033[01;31m" as GNU Grep does (bug#9408).
21153 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
21155 2011-09-05 Juri Linkov <juri@jurta.org>
21157 * subr.el (y-or-n-p): Capitalize "yes".
21159 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
21161 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
21162 `tramp-cache-unload-hook' where appropriate.
21163 (tramp-methods): Rename `tramp-remote-sh' to
21164 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
21165 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
21167 * net/tramp-sh.el (top): Don't require 'shell.
21168 (tramp-methods): Add `tramp-remote-shell' and
21169 `tramp-remote-shell-args' entries.
21170 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
21171 (tramp-sh-handle-shell-command): Remove.
21172 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21173 Use `tramp-remote-shell'.
21175 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
21177 * mail/sendmail.el (sendmail-query-once-function): Delete.
21178 (sendmail-query-once): Save directly to send-mail-function.
21179 Update message-send-mail-function too.
21181 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
21183 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21185 * progmodes/python.el (python-mode-map): Use correct function to
21186 start python interpreter from menu-bar (as reported by Geert
21188 (inferior-python-mode-map): Fix typo.
21189 (python-shell-map): Remove.
21191 2011-09-03 Deniz Dogan <deniz@dogan.se>
21193 * net/rcirc.el (rcirc-print): Simplify code for
21194 rcirc-scroll-show-maximum-output. There is no need to walk
21195 through all windows to find the right one.
21197 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21199 * help.el (help-return-method): Doc fix.
21201 2011-09-03 Martin Rudalics <rudalics@gmx.at>
21203 * window.el (window-deletable-p): Don't return a non-nil value
21204 when there's a buffer that was shown in the window before.
21206 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
21207 Set window's previous buffers to nil.
21209 2011-09-03 Eli Zaretskii <eliz@gnu.org>
21211 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
21212 newline before and after the tag line, so it doesn't interfere
21213 with determining the paragraph direction of bidirectional text.
21215 2011-09-03 Leo Liu <sdl.web@gmail.com>
21217 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
21219 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21221 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
21222 (pop-to-buffer): Change interactive spec. Pass second argument
21223 directly to display-buffer.
21224 (display-buffer): Fix interactive spec. Use functionp to
21225 distinguish between a function and a list of functions.
21227 * abbrev.el (edit-abbrevs):
21228 * arc-mode.el (archive-extract):
21229 * autoinsert.el (auto-insert):
21230 * bookmark.el (bookmark-bmenu-list):
21231 * files.el (find-file):
21232 * view.el (view-buffer):
21233 * progmodes/compile.el (compilation-goto-locus):
21234 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
21236 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21238 * window.el (display-buffer-alist): Doc fix.
21239 (display-buffer): Add docstring. Don't treat
21240 display-buffer-default specially.
21241 (display-buffer-reuse-selected-window)
21242 (display-buffer-same-window, display-buffer-maybe-same-window)
21243 (display-buffer-reuse-window, display-buffer-pop-up-frame)
21244 (display-buffer-pop-up-window)
21245 (display-buffer-reuse-or-pop-window)
21246 (display-buffer-use-some-window): New functions.
21247 (display-buffer-default-action): Use them.
21248 (display-buffer-default): Delete.
21249 (pop-to-buffer-1): Fix choice of actions.
21251 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
21253 * minibuffer.el (completion--insert-strings): Don't get confused by
21254 completion entries that end with an LF char.
21256 2011-09-01 Eli Zaretskii <eliz@gnu.org>
21258 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
21260 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
21262 * window.el (display-buffer): Restore interactive spec.
21263 (display-buffer-same-window, display-buffer-other-window):
21265 (pop-to-buffer-1): New function. Use the above.
21266 (pop-to-buffer, pop-to-buffer-same-window): Use it.
21267 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
21269 * view.el (view-buffer-other-window, view-buffer-other-frame):
21270 Just use pop-to-buffer.
21272 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
21274 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
21276 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
21278 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
21280 2011-08-31 Richard Stallman <rms@gnu.org>
21282 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
21283 of the separation of rmail-view-buffer from rmail-buffer.
21284 If you say no to "replace original", the decrypt is in the
21285 view buffer. If you say yes, the decrypt goes into the
21288 2011-08-31 Martin Rudalics <rudalics@gmx.at>
21290 * window.el (display-buffer-window): Rewrite doc-string.
21291 (display-buffer-record-window): New function.
21292 (display-buffer-macro-specifiers)
21293 (display-buffer-even-window-sizes, display-buffer-set-height)
21294 (display-buffer-set-width, display-buffer-in-window)
21295 (display-buffer-reuse-window, display-buffer-split-specifiers)
21296 (display-buffer-side-specifiers, display-buffer-split-window-1)
21297 (display-buffer-split-window, display-buffer-split-atom-window)
21298 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21299 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
21300 (display-buffer-other-window-means-other-frame)
21301 (display-buffer-normalize-special)
21302 (display-buffer-normalize-default)
21303 (display-buffer-normalize-argument)
21304 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
21305 (display-buffer-normalize-specifiers, display-buffer-frame)
21306 (display-buffer-same-window, display-buffer-same-frame)
21307 (display-buffer-other-window)
21308 (display-buffer-same-frame-other-window)
21309 (display-buffer-other-frame, pop-to-buffer-same-window)
21310 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
21311 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
21312 (switch-to-buffer-same-frame)
21313 (switch-to-buffer-other-window-same-frame)
21314 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
21315 (display-buffer-alist-set-1, display-buffer-alist-set-2)
21316 (display-buffer-alist-set): Remove.
21317 (display-buffer-function, special-display-buffer-names)
21318 (special-display-regexps, special-display-function):
21319 In doc-string refer to display-buffer-window and quit-restore
21321 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
21322 (special-display-frame-alist, special-display-popup-frame)
21323 (same-window-buffer-names, same-window-regexps, same-window-p)
21324 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21325 (split-window-preferred-function, split-height-threshold)
21326 (split-width-threshold, window-splittable-p)
21327 (split-window-sensibly, window--try-to-split-window)
21328 (window--frame-usable-p, even-window-heights)
21329 (window--even-window-heights, window--display-buffer-1)
21330 (window--display-buffer-2, display-buffer-other-frame):
21331 Restore old Emacs 23 code, order and doc-strings where applicable.
21332 (display-buffer-default, display-buffer-assq-regexp): New functions.
21333 (display-buffer-alist): Rewrite doc-string.
21334 (display-buffer-default-action)
21335 (display-buffer-overriding-action): New variables.
21336 (display-buffer, switch-to-buffer): Rewrite.
21337 (pop-to-buffer): Restore Emacs 23 behavior but use
21338 window-normalize-buffer-to-display.
21339 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
21340 Restore Emacs 23 behavior but use
21341 window-normalize-buffer-to-switch-to.
21342 (pop-to-buffer-same-window): Rewrite.
21343 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
21344 Rewrite using Emacs 23 options.
21346 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
21348 * net/tramp.el (tramp-root-regexp): Remove.
21349 (tramp-completion-file-name-regexp-unified)
21350 (tramp-completion-file-name-regexp-separate)
21351 (tramp-completion-file-name-regexp-url): Don't use leading volume
21352 letter on w32 systems. (Bug#5303, Bug#9311)
21353 (tramp-drop-volume-letter): Simplify definition.
21354 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
21356 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
21358 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
21361 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
21363 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
21365 2011-08-29 Juri Linkov <juri@jurta.org>
21367 * isearch.el (isearch-done): Don't display message "Mark saved"
21368 when arg `edit' is non-nil to prevent its flicker in the echo area.
21370 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21372 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
21373 obsolete packages for deletion.
21375 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
21377 * help-mode.el (help-mode-map): Add special-mode-map to parent.
21378 (help-mode): Derive help-mode from special-mode. Don't invoke
21379 view-mode from help-mode.
21380 (help-xref-override-view-map): Remove.
21381 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
21382 view-mode is not used anymore.
21384 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21386 * server.el (server-port): Doc fix.
21388 * cus-theme.el (custom-theme-choose-mode): Inherit from
21389 special-mode (Bug#9124).
21390 (custom-theme-choose-mode-map): Add special-mode to parent.
21392 2011-08-28 Alan Mackenzie <acm@muc.de>
21394 * progmodes/cc-fonts.el
21395 (c-make-font-lock-BO-decl-search-function): New function.
21396 (c-basic-matchers-after - "Fontify the clauses after various
21397 keywords"): Extract the three keyword lists for the 3 erroneous
21398 constructs from the list of four, and use the new function above
21399 in place of an old one.
21401 2011-08-28 Deniz Dogan <deniz@dogan.se>
21403 * net/rcirc.el (rcirc-insert-prev-input)
21404 (rcirc-insert-next-input): Remove unused argument.
21406 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21408 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
21410 2011-08-27 Alan Mackenzie <acm@muc.de>
21412 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
21413 handle function pointer parameters properly.
21415 2011-08-27 Martin Rudalics <rudalics@gmx.at>
21417 * window.el (display-buffer-reuse-window): Fix case where
21418 selected window was reused with non-nil OTHER-WINDOW argument.
21421 2011-08-27 Deniz Dogan <deniz@dogan.se>
21423 * net/rcirc.el (rcirc-check-auth-status): Adding support for
21424 oftc's NickServ messages.
21426 2011-08-27 Glenn Morris <rgm@gnu.org>
21428 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
21430 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
21432 * emacs-lisp/package.el (package-install): Call package-initialize
21433 if called interactively.
21435 2011-08-26 Leo Liu <sdl.web@gmail.com>
21437 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
21439 2011-08-25 Juri Linkov <juri@jurta.org>
21441 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
21442 `search-whitespace-regexp' (bug#9364).
21444 2011-08-25 Juri Linkov <juri@jurta.org>
21446 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
21447 `regexp-search-ring' to their global values to protect from
21448 updating by `read-from-minibuffer' (bug#9185).
21450 2011-08-25 Juri Linkov <juri@jurta.org>
21452 * textmodes/ispell.el (ispell-command-loop): Add newline
21453 at the end of the "Use option `i'..." line.
21455 2011-08-25 Juri Linkov <juri@jurta.org>
21457 * battery.el (display-battery-mode): If `battery-status-function'
21458 or `battery-mode-line-format' is nil, display the message and set
21459 `display-battery-mode' to nil (bug#9363).
21461 2011-08-25 Eli Zaretskii <eliz@gnu.org>
21463 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
21464 bidi-string-mark-left-to-right; they are unnecessary now.
21466 2011-08-25 Deniz Dogan <deniz@dogan.se>
21468 * net/quickurl.el: Documentation typo fixes.
21470 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
21472 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
21474 2011-08-25 Glenn Morris <rgm@gnu.org>
21476 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
21478 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
21479 (smtpmail-via-smtp): Handle nil response from smtp.
21481 2011-08-24 Juri Linkov <juri@jurta.org>
21483 * proced.el (proced-marked): Inherit from `error' instead of
21484 `font-lock-warning-face'.
21486 * ibuffer.el (ibuffer-marked-face): Change default face from
21487 `font-lock-warning-face' to `warning'.
21488 (ibuffer-deletion-face): Change default face from
21489 `font-lock-type-face' to `error'.
21491 * battery.el (battery-update): Use the face `error' instead of
21492 `font-lock-warning-face' (bug#6117).
21494 2011-08-24 Juri Linkov <juri@jurta.org>
21496 * faces.el (success): Change face color from "Green3" to
21497 "ForestGreen" on light background (bug#9353).
21499 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
21501 * window.el (quit-window): Rename from quit-restore-window.
21502 Use same arglist as old quit-window.
21503 (frame-auto-delete): Doc fix.
21505 * view.el (view-mode-exit): Use quit-window.
21507 2011-08-24 Juri Linkov <juri@jurta.org>
21509 * isearch.el (isearch-ring-adjust1): Start visiting previous
21510 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
21511 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
21512 for empty search string (when the last search string is reused
21513 automatically) to adjust the isearch ring to the last element and
21514 prepare the correct index for further M-p commands (bug#9185).
21516 2011-08-24 Kenichi Handa <handa@m17n.org>
21518 * international/ucs-normalize.el: If decomposition property of
21519 CHAR is the default one (i.e. a list of CHAR itself), treat it as
21521 (nfd, nfkd): Likewise.
21523 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21525 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
21526 from process filters aren't reliably transmitted to the surrounding
21527 accept-process-output.
21528 (mpc-proc-check): New function.
21529 (mpc-proc-sync): Use it (bug#8293)
21531 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21533 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
21534 Add compatibility functions (bug#9313).
21536 2011-08-23 Eli Zaretskii <eliz@gnu.org>
21538 * cus-start.el (all): Add entry for bidi-paragraph-direction.
21540 * international/uni-bidi.el: Regenerate.
21542 2011-08-23 Kenichi Handa <handa@m17n.org>
21544 * international/charprop.el:
21545 * international/uni-bidi.el:
21546 * international/uni-category.el:
21547 * international/uni-combining.el:
21548 * international/uni-comment.el:
21549 * international/uni-decimal.el:
21550 * international/uni-decomposition.el:
21551 * international/uni-digit.el:
21552 * international/uni-lowercase.el:
21553 * international/uni-mirrored.el:
21554 * international/uni-name.el:
21555 * international/uni-numeric.el:
21556 * international/uni-old-name.el:
21557 * international/uni-titlecase.el:
21558 * international/uni-uppercase.el: Regenerate.
21560 2011-08-23 Martin Rudalics <rudalics@gmx.at>
21562 * help.el (help-window-setup): Fix message displayed when other
21563 window is reused. (Bug#9341)
21565 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21567 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
21568 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
21570 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
21572 * shell.el (shell-parse-pcomplete-arguments): New function.
21573 (shell-completion-vars): Use it instead (bug#9160).
21575 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
21577 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
21578 strings and comments (bug#9333).
21580 * emacs-lisp/debug.el (debug-arglist): New function.
21581 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
21582 (debug-on-entry-1): Handle interpreted closures (bug#9120).
21584 2011-08-22 Juri Linkov <juri@jurta.org>
21586 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21587 Revert regexp that highlights output switches to its old
21588 pre-2010-10-28 value and remove one `?' from it (bug#9319).
21590 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
21591 to check for empty output (bug#9226).
21593 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
21595 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
21596 symbol-constituent as the default, as that stops font-lock from
21597 working properly (Bug#8843).
21599 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21601 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
21602 `coding-system-for-*' around the process open call to avoid
21603 auth-source side effects.
21604 (smtpmail-try-auth-methods): Expand the secret password.
21605 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
21608 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21610 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
21612 * emacs-lisp/find-func.el (find-function-noselect): New arg
21615 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
21616 signal an error for built-in functions (Bug#6664).
21618 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21620 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
21621 (smtpmail-try-auth-methods): Use it.
21623 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21625 * font-lock.el (font-lock-fontify-region)
21626 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
21627 (font-lock-default-unfontify-buffer)
21628 (font-lock-default-fontify-region)
21629 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
21631 * progmodes/compile.el (compilation-error-properties):
21632 Fix confusion between file struct and message struct (Bug#9319).
21633 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
21636 * net/browse-url.el (browse-url-firefox): Don't call
21637 browse-url-firefox-sentinel unless using -remote (Bug#9328).
21639 2011-08-20 Glenn Morris <rgm@gnu.org>
21641 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
21643 * tutorial.el (tutorial--default-keys): Update some default bindings.
21645 * files.el (hack-local-variables): Fully ignore case for "mode:".
21647 2011-08-20 Alan Mackenzie <acm@muc.de>
21649 Resolve invalid use of a regexp in regexp-opt.
21651 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
21652 detection for a java annotation.
21654 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
21655 detection for a java annotation.
21657 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
21659 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
21661 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
21663 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
21666 2011-08-20 Alan Mackenzie <acm@muc.de>
21668 Fontify CPP expressions correctly when starting in the middle of
21669 such a construct. Mainly for when jit-lock etc. starts a chunk
21672 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
21674 (c-make-font-lock-search-form): New function, extracted from
21675 c-make-font-lock-search-function.
21676 (c-make-font-lock-search-function): Use the above function.
21677 (c-make-font-lock-context-search-function): New function.
21678 (c-cpp-matchers): Enhance the preprocessor expression case with
21680 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
21681 which takes an expression.
21683 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
21685 2011-08-20 Martin Rudalics <rudalics@gmx.at>
21687 * window.el (display-buffer-reuse-window)
21688 (display-buffer-pop-up-window): Don't reuse or split a side
21691 2011-08-19 Glenn Morris <rgm@gnu.org>
21693 * files.el (hack-local-variables-prop-line, hack-local-variables):
21694 Downcase "Mode:". (Bug#9331)
21696 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
21698 * international/characters.el: Add L and R categories.
21700 * subr.el (bidi-string-mark-left-to-right): Rename from
21701 string-mark-left-to-right. Use category search.
21703 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
21705 2011-08-18 Juri Linkov <juri@jurta.org>
21707 * faces.el (error, warning, success): New faces with definitions
21708 copied from old default values of `font-lock-warning-face',
21709 `compilation-warning', `compilation-info' (bug#6117).
21711 * font-lock.el (font-lock-warning-face): Inherit from `error'.
21713 * progmodes/compile.el (compilation-error): Inherit from `error'.
21714 (compilation-warning): Inherit from `warning'.
21715 (compilation-info): Inherit from `success'.
21717 * dired.el (dired-marked): Inherit from `warning'.
21718 (dired-flagged): Inherit from `error'.
21720 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21722 * mail/smtpmail.el (auth-source): Require to avoid problems with
21723 binding variables (bug#9298). Also clean up some unused
21726 * net/network-stream.el (network-stream-open-starttls):
21727 Support using starttls.el without using gnutls-cli.
21729 2011-08-17 Juri Linkov <juri@jurta.org>
21731 * progmodes/grep.el (rgrep): Handle the case when
21732 `grep-find-command' is a cons cell (bug#9278).
21734 2011-08-17 Martin Rudalics <rudalics@gmx.at>
21736 * window.el (display-buffer-pop-up-frame): Run frame creation
21737 function with BUFFER current (as special-display-popup-frame
21738 does). Reported by Drew Adams.
21740 2011-08-17 Daiki Ueno <ueno@unixuser.org>
21742 * epa-mail.el: Simplify GnuPG group expansion using
21744 (epa-mail-group-alist, epa-mail-group-modtime)
21745 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
21746 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
21747 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
21750 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
21752 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
21754 2011-08-16 Alan Mackenzie <acm@muc.de>
21756 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
21757 Correct, to avoid the inside of macros.
21759 2011-08-16 Richard Stallman <rms@gnu.org>
21761 * epa-mail.el: Handle GnuPG group definitions.
21762 (epa-mail-group-alist, epa-mail-group-modtime)
21763 (epa-mail-gnupg-conf-file): New variables.
21764 (epa-mail-parse-groups, epa-mail-sync-groups)
21765 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
21766 (epa-mail-expand-recipients): New functions.
21767 (epa-mail-encrypt): Call epa-mail-expand-recipients.
21769 * mail/rmail.el (rmail-epa-decrypt): New command.
21771 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
21772 Don't bind buffer-read-only, just inhibit-read-only.
21773 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
21774 (epa-decrypt-armor-in-region): Make error message clearer.
21776 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
21778 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
21779 and "a2b" to "ab" for `prefix'.
21781 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
21783 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
21785 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
21786 Fourquet (Bug#8804).
21788 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
21790 * startup.el (argi): Declare as global variable (bug#9275).
21792 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
21794 * subr.el (string-mark-left-to-right): Search the entire string
21795 for RTL script, not just the terminating character. Doc fix.
21797 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
21799 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
21801 (js--regexp-literal, js-syntax-propertize-function): Remove.
21802 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
21803 (js-mode-map): Don't rebind electric keys.
21804 (js-insert-and-indent): Remove.
21805 (js-mode): Setup electric-layout and electric-indent instead.
21807 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
21809 2011-08-12 Daiki Ueno <ueno@unixuser.org>
21811 * epa.el (epa-progress-callback-function): Fix the logic of
21812 displaying progress.
21813 * epa-file.el (epa-file-insert-file-contents): Make progress
21814 display more user-friendly.
21815 (epa-file-write-region): Ditto.
21817 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
21819 * subr.el (string-mark-left-to-right): New function.
21821 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
21822 Use string-mark-left-to-right.
21823 (list-buffers-noselect): Caller changed.
21825 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21826 Use string-mark-left-to-right.
21827 (tabulated-list-print): Recenter after moving point.
21829 2011-08-10 Juri Linkov <juri@jurta.org>
21831 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
21832 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
21833 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
21835 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
21837 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
21840 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
21842 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
21843 character. (Bug#6594)
21845 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
21847 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
21848 (image-dired--with-db-file): New macro.
21849 (image-dired-write-tags, image-dired-remove-tag)
21850 (image-dired-create-gallery-lists, image-dired-write-comments)
21851 (image-dired-get-comment, image-dired-mark-tagged-files)
21852 (image-dired-list-tags, image-dired-gallery-generate): Use it.
21853 (image-dired-gallery-generate): Use insert-file-contents.
21855 * time.el (display-time-world-list, display-time-world-display):
21856 * time-stamp.el (time-stamp-string):
21857 * vc/add-log.el (add-change-log-entry): Use setenv instead of
21858 set-time-zone-rule (Bug#7337).
21860 2011-08-08 Daiki Ueno <ueno@unixuser.org>
21862 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
21863 (epg-error-to-string, epg-errors-to-string): New function.
21864 (epg-wait-for-completion): Reverse errors list.
21865 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
21866 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
21867 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
21868 (epg-sign-keys, epg-generate-key-from-file)
21869 (epg-generate-key-from-string): Format errors by using
21870 epg-errors-to-string (bug#9255).
21871 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
21873 2011-08-07 Juri Linkov <juri@jurta.org>
21875 * faces.el (list-faces-display): Remove extra angle bracket
21876 from `help-mode-map'.
21878 * info.el (Info-history-toc-nodes): Doc fix.
21880 * longlines.el (longlines-mode): Doc fix.
21882 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
21884 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
21885 of statements and in a few more cases (bug#9183).
21887 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
21889 (cl-transform-lambda): Use them (bug#9239).
21891 2011-08-05 Martin Rudalics <rudalics@gmx.at>
21893 * window.el (display-buffer-same-window)
21894 (display-buffer-same-frame, display-buffer-other-window)
21895 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21896 (pop-to-buffer-other-window)
21897 (pop-to-buffer-same-frame-other-window)
21898 (pop-to-buffer-other-frame): Make them defuns.
21899 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
21901 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21903 * subr.el (make-composed-keymap): Move from C. Change calling
21904 convention, and improve docstring to bring attention to a subtle point.
21905 * minibuffer.el (completing-read-default): Adjust accordingly.
21907 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
21909 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
21910 (tramp-open-shell): Use `tramp-shell-quote-argument'.
21912 * net/trampver.el: Update release number.
21914 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21916 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
21919 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21921 * mail/sendmail.el (sendmail-query-once): Restore the current
21922 buffer after querying (bug#9074).
21924 * dired.el (dired-flagged): Use different faces for marked and
21925 flagged files (bug#6117).
21927 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
21930 * ido.el (ido-mode): Switch off the message if called
21933 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
21934 before 587, since it appears that that's more likely to work for
21937 * cus-edit.el (custom-file): When running under emacs -q, always
21938 refuse to save the customizations, even if the .emacs file doesn't
21941 * info.el: Remove the `Info-beginning-of-buffer' function
21944 * net/network-stream.el (network-stream-open-starttls):
21945 Use `starttls-available-p' to see whether starttls.el can be used.
21947 2011-08-01 Martin Rudalics <rudalics@gmx.at>
21949 * window.el (display-buffer-in-window): Don't set dedicated status
21950 of window here (Bug#9215).
21951 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21952 (display-buffer-pop-up-side-window)
21953 (display-buffer-in-side-window): Set dedicated status of window here.
21955 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
21957 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
21958 before binding generated-autoload-file.
21960 2011-08-01 Deniz Dogan <deniz@dogan.se>
21962 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
21964 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
21966 Sync with Tramp 2.2.2.
21968 * net/trampver.el: Update release number.
21970 2011-07-30 Juri Linkov <juri@jurta.org>
21972 * dired-aux.el (dired-touch-initial): Remove function.
21973 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
21974 current time, and `default' to the last modification time of the
21975 current marked file (bug#6887).
21977 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
21979 * simple.el (goto-line): Use string-to-number to provide a
21980 numeric argument to read-number (bug#9163).
21982 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
21984 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
21985 connection process, it could be nil.
21987 2011-07-27 Leo Liu <sdl.web@gmail.com>
21989 Simplify url handling in rcirc-mode.
21991 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
21992 (rcirc-browse-url-at-mouse): Remove.
21993 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
21995 2011-07-26 Alan Mackenzie <acm@muc.de>
21997 Fontify bitfield declarations properly.
21999 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
22000 (c-symbol-chars): Now exported as a lang variable.
22001 (c-not-primitive-type-keywords): New lang variable.
22003 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
22004 QT keyword "more" to prevent "more slots: ...." being spuriously
22005 parsed as a bitfield declaration.
22007 * progmodes/cc-engine.el (c-beginning-of-statement-1):
22008 Refactor and enhance to handle bitfield declarations.
22009 (c-punctuation-in): New function.
22010 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
22011 declarations properly.
22013 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
22015 * calendar/icalendar.el (icalendar--all-events): Take care of
22016 multiple vcalendars in a single file.
22017 (icalendar--convert-float-to-ical): Checkdoc fixes.
22019 2011-07-25 Deniz Dogan <deniz@dogan.se>
22021 * image.el (insert-image): Clarifying docstring.
22023 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
22025 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
22026 `tramp-send-command-and-check' if there is no error.
22027 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
22029 2011-07-22 Alan Mackenzie <acm@muc.de>
22031 Prevent cc-langs.elc being loaded at run time.
22033 * progmodes/cc-mode.el: Remove two autoload forms which loaded
22036 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
22037 "(require 'cc-langs)". Quote a form so it will evaluate at
22038 (cc-mode's) compilation time.
22040 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
22042 * net/tramp.el (tramp-file-name-handler): Avoid recursive
22043 loading. (Bug#9114)
22045 2011-07-21 Martin Rudalics <rudalics@gmx.at>
22047 * window.el (display-buffer-pop-up-window)
22048 (display-buffer-pop-up-side-window)
22049 (display-buffer-in-side-window): Call display-buffer-set-height
22050 and display-buffer-set-width after setting the new window's
22051 buffer so `fit-window-to-buffer' and friends work on the right buffer.
22053 2011-07-20 Sam Steingold <sds@gnu.org>
22055 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
22056 (etags-tags-included-tables): Call `convert-standard-filename' on
22057 the file names contained in TAGS so that windows Emacs can handle
22058 TAGS files created by cygwin ctags.
22060 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
22062 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
22063 which apparently didn't work.
22065 2011-07-19 Roland Winkler <winkler@gnu.org>
22067 * proced.el (proced-send-signal): For *Marked Processes* buffer
22068 put point at beginning of buffer.
22070 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
22072 * proced.el (proced-format): Make header lines align with the text
22075 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22077 * view.el (view-buffer): Allow running in `special' modes if we're
22078 visiting a file (bug#8615).
22080 2011-07-19 Martin Rudalics <rudalics@gmx.at>
22082 * window.el (display-buffer-alist-of-strings-p)
22083 (display-buffer-alist-set-1, display-buffer-alist-set-2):
22085 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
22088 2011-07-18 Alan Mackenzie <acm@muc.de>
22090 Fontify declarators properly when, e.g., a jit-lock chunk begins
22091 inside a declaration.
22093 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
22095 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
22097 (c-complex-decl-matchers): Insert reference to
22098 c-font-lock-enclosing-decls.
22100 * progmodes/cc-engine.el (c-backward-single-comment):
22101 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
22102 to nil around calls to (forward-comment -1).
22104 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22106 * image.el (put-image): Doc typo fix.
22108 * progmodes/etags.el (tags-search): Doc typo fix.
22110 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
22111 password if we get errors 550 to 554.
22113 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
22115 * net/gnutls.el (gnutls-log-level): Remove.
22117 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
22118 indentation character (bug#6380).
22120 * files.el (buffer-offer-save): Made permanently local (bug#6241).
22122 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
22123 to clarify what the problem is (bug#4291).
22125 * simple.el (current-kill): Clarify what
22126 `interprogram-paste-function' does (bug#7500).
22127 (auto-fill-mode): Document `auto-fill-function' in relation to
22128 `auto-fill-mode' (bug#2470).
22130 2011-07-16 Lawrence Mitchell <wence@gmx.li>
22132 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
22133 method if slot is read-only (bug#9035).
22135 2011-07-16 Martin Rudalics <rudalics@gmx.at>
22137 * frame.el (select-frame-set-input-focus): New argument NORECORD.
22138 * window.el (pop-to-buffer): Select window used even if it was
22139 selected before, see discussion of (Bug#8615), (Bug#6954).
22140 Pass argument NORECORD on to select-frame-set-input-focus.
22142 2011-07-15 Glenn Morris <rgm@gnu.org>
22144 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
22147 2011-07-09 Lawrence Mitchell <wence@gmx.li>
22149 * net/gnutls.el (gnutls-min-prime-bits): New variable.
22150 (gnutls-negotiate): Use it.
22152 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22154 * net/gnutls.el (gnutls-negotiate):
22155 Upcase `gnutls-algorithm-priority'.
22157 2011-07-15 Glenn Morris <rgm@gnu.org>
22159 * jka-compr.el (jka-compr-verbose): Move from here...
22160 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
22161 Add missing :version tag.
22162 * info.el: No need to require jka-compr when compiling.
22164 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22166 * net/gnutls.el (gnutls-algorithm-priority): New variable.
22167 (gnutls-negotiate): Use it.
22169 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
22171 * info.el (Info-beginning-of-buffer): New command.
22172 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
22173 announcing `b' as the key (bug#8325).
22174 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
22176 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
22178 * international/mule-cmds.el
22179 (describe-specified-language-support): Make the error message
22180 clearer (bug#8905).
22182 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
22184 * isearch.el (isearch-barrier): Add a doc string, since it's
22185 mentioned in a function doc string (bug#8678).
22187 2011-07-15 Martin Rudalics <rudalics@gmx.at>
22189 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
22190 buffer argument (Bug#9083) and self-identifying label argument.
22192 2011-07-15 Glenn Morris <rgm@gnu.org>
22194 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
22196 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22198 * man.el (Man-fontify-manpage): Fix message when formatting the
22199 man page (bug#7929).
22201 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22203 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
22204 argument LRM; if non-nil, append an invisible LRM character to the
22206 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
22207 last argument non-nil, when formatting buffer names.
22208 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
22209 paragraph direction.
22211 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22213 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
22214 the man page name (bug#7929).
22216 * image.el (put-image): Mention the `put-image' overlay property
22219 * scroll-bar.el (set-scroll-bar-mode): Mention that
22220 `scroll-bar-mode' lists the values (bug#7772).
22222 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
22223 command (bug#7729).
22225 * rect.el (apply-on-rectangle): Return the point after the last
22227 (string-rectangle): Go to the point after the last operation
22230 * printing.el (pr-toggle-region): Clarify the documentation
22231 slightly (bug#7493).
22233 * time.el (display-time-update):
22234 Allow `display-time-mail-function' to return nil (bug#7158).
22235 Fix suggested by Detlev Zundel.
22237 * vc/diff.el (diff): Clarify the order the file names are read
22240 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
22241 the doc string (bug#7015).
22243 * font-lock.el (font-lock-maximum-decoration): Mention what
22244 numeric levels mean (bug#6935).
22246 * startup.el (initial-buffer-choice): Don't mention the `none'
22247 selection, which is against policy.
22249 2011-07-14 Martin Rudalics <rudalics@gmx.at>
22251 * window.el (display-buffer-normalize-special):
22252 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
22254 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22256 * subr.el (version<, version<=, version=): Mention "-CVS" and
22257 "-12345" alpha version numbers.
22259 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22261 * bindings.el: Add advertised binding for set-mark-command
22264 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22266 * bindings.el (mode-line-other-buffer):
22267 * bookmark.el (bookmark-bmenu-2-window):
22268 * bs.el (bs-cycle-next, bs-cycle-previous):
22269 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
22272 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22275 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
22277 * follow.el (follow-debug-message, follow-redisplay):
22278 * jka-cmpr-hook.el (with-auto-compression-mode):
22279 Fix typos in docstrings.
22281 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22283 * subr.el (with-silent-modifications): Clarify somewhat what the
22284 macro inhibits (bug#6525).
22286 * simple.el (eval-expression): Note what it does if called
22287 interactively (bug#6495).
22289 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22291 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
22292 Use pop-to-buffer buffer-or-name if it is nil.
22294 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22295 Remove switch-to-buffer.
22297 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22299 * files.el (make-directory): Clarify that an error will be raised
22300 if there's an error (bug#6397).
22302 * startup.el (initial-buffer-choice): Add `none' as a choice
22305 * subr.el (add-hook): Clarify section about buffer-local hooks
22308 * dired.el (dired-flagged): Clarify doc string (bug#6117).
22310 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22312 * tabify.el (untabify): Preserve the current column so that point
22313 doesn't move (bug#6032).
22315 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22317 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
22318 Rewrite to avoid awkward possessive "s" (bug#5986).
22320 2011-07-13 Glenn Morris <rgm@gnu.org>
22322 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
22323 (dired-insert-directory): Give a message the first time
22324 if ls is found not to support --dired.
22326 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22328 * simple.el (toggle-truncate-lines): Clarify what is toggled
22329 (bug#5580). Text by Drew Adams.
22331 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22333 * simple.el (blink-matching-open): Make the error message from the
22334 last change less verbose.
22336 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
22338 * font-lock.el (font-lock-comment-face): Use the high contrast
22339 "yellow" color for font-lock-comment-face on low color terminals
22340 using a dark background color (bug#4221).
22342 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22344 * dired.el (dired-insert-set-properties): Make the doc string
22345 reflect what it does now (bug#5325).
22347 * simple.el (blink-matching-open): Say that we were unable to find
22348 the match within the limit, if we're limited (bug#5122).
22350 * international/mule-cmds.el (prefer-coding-system): Add an
22351 example (bug#4869).
22353 * progmodes/etags.el (tags-search): Document `file-list-form'
22356 2011-07-13 Lawrence Mitchell <wence@gmx.li>
22358 * net/browse-url.el (browse-url-default-browser)
22359 (browse-url-browser-function): Make the default browser choice a
22360 bit more logical (bug#4300). Also clean up the doc string.
22362 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22364 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
22365 binary endings (bug#4440).
22367 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22369 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
22370 which can be pretty annoying (bug#8971).
22372 * jka-compr.el (jka-compr-verbose): New variable, and use
22373 throughout (bug#8971).
22375 * info.el (Info-find-file): Fall back on the installation
22376 directory if we can't find the info node anywhere else.
22378 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
22380 * vc/vc.el (vc-revert-file):
22381 Don't set file time-stamp in the past. (Bug#5181)
22383 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22385 * files.el (after-find-file): Give a better error message when
22386 trying to find a symlink that points to a file that doesn't exist
22389 * progmodes/cc-vars.el: Remove (probably) misleading comment
22392 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
22394 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
22396 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22398 * mouse-sel.el: Hack restoring functionality, while keeping
22399 compatibility with 2010-07-03 changes to mouse selection.
22400 (mouse-sel-primary-overlay): New var.
22401 (mouse-sel-selection-alist): Use it.
22402 (mouse-sel-mode): Doc fix; remove points that are default features
22405 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
22407 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22408 Fix previous fix (bug#2490).
22410 2011-07-12 Roland Winkler <winkler@gnu.org>
22412 * textmodes/bibtex.el (bibtex-initialize):
22413 Use pop-to-buffer-same-window.
22414 (bibtex-search-entries): Fix interactive call.
22416 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22418 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22419 Fontise bytecomp Error lines more correctly (bug#2490).
22420 Fix suggested by Johan BockgĂ¥rd.
22422 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
22424 * dired-x.el (dired-guess-default): Use `delete-dups'.
22426 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22428 * dired.el (dired-mark-prompt):
22429 * dired-aux.el (dired-read-shell-command): Doc fix.
22431 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22433 * mail/sendmail.el (sendmail-query-once):
22434 Use `customize-save-variable' unconditionally, now that it works under
22437 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22439 * cus-edit.el (custom-file): Take an optional no-error variable.
22440 (customize-save-variable): Set the variable, and give a warning if
22441 running under "emacs -q".
22443 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
22445 * loadhist.el (unload-feature-special-hooks):
22446 Add `auto-coding-functions', `fill-nobreak-predicate' and
22447 `find-directory-functions' (bug#5327).
22449 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22451 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
22453 * cus-edit.el (custom-guess-name-alist): -alist variables should
22454 use the `alist' type (bug#3120). Suggested by Drew Adams.
22456 * printing.el: Add documentation to all the `pr-toggle-' commands.
22458 2011-07-11 Leo Liu <sdl.web@gmail.com>
22460 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
22461 backends where it makes sense (bug#2623).
22463 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22465 * dired-x.el (dired-guess-default): Remove duplicate shell command
22466 entries (bug#2028).
22467 (dired-guess-default): Fix grammar in doc string (bug#2028).
22468 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
22470 * subr.el (remove-duplicates): New conveniency function.
22472 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
22474 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
22477 2011-07-10 Martin Rudalics <rudalics@gmx.at>
22479 * window.el (display-buffer-normalize-default): Don't invert
22480 meaning of even-window-heights. Reported by Eli Zaretskii
22483 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
22485 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
22487 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
22489 * window.el (display-buffer): Fix arguments to
22490 display-buffer-reuse-window in last change.
22492 * faces.el (link): Use a less saturated blue on light backgrounds.
22494 * startup.el (fancy-startup-text, fancy-about-text)
22495 (fancy-startup-tail): Use font-lock faces, for background safety.
22497 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
22499 * emulation/viper-cmd.el (viper-change-state-to-vi):
22500 Limit triggering of abbrev expansion (Bug#9038).
22502 2011-07-09 Martin Rudalics <rudalics@gmx.at>
22504 * window.el (display-buffer-default-specifiers): Remove.
22505 (display-buffer-macro-specifiers): Remove default specifiers.
22506 (display-buffer-alist): Default to nil.
22507 (display-buffer-reuse-window): New optional argument other-window.
22508 (display-buffer-pop-up-window): Allow splitting internal
22509 windows. Check whether a live window was created.
22510 (display-buffer-other-window-means-other-frame)
22511 (display-buffer-normalize-arguments): Rename to
22512 display-buffer-normalize-argument and rewrite. Set the
22513 other-window specifier.
22514 (display-buffer-normalize-special): New function.
22515 (display-buffer-normalize-options): Rename to
22516 display-buffer-normalize-default and rewrite.
22517 (display-buffer-normalize-options-inhibit): Remove.
22518 (display-buffer-normalize-specifiers): Rewrite.
22519 (display-buffer): Process other-window specifier and call
22520 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
22522 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
22523 (display-buffer-alist-set): Don't handle 'unset default values.
22524 (display-buffer-in-window, display-buffer-alist-set):
22525 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
22526 <tassilo@member.fsf.org>.
22528 2011-07-09 Leo Liu <sdl.web@gmail.com>
22530 * register.el (insert-register): Restore accidental change on
22531 2011-06-26. (Bug#9028)
22533 2011-07-09 Glenn Morris <rgm@gnu.org>
22535 * subr.el (remq): Handle the empty list. (Bug#9024)
22537 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
22539 * mail/sendmail.el (send-mail-function): No longer delay custom
22541 * custom.el (custom-initialize-delay): Doc fix.
22543 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22545 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
22547 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
22549 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
22550 human-friendly prompt.
22552 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22554 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
22555 provided by a particular plugin.
22557 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
22559 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
22560 save customizations (with "emacs -Q"), just set the variable
22561 instead of erroring out.
22563 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22565 2011-07-08 Juri Linkov <juri@jurta.org>
22567 * arc-mode.el (archive-zip-expunge, archive-zip-update)
22568 (archive-zip-update-case): Use 7z if found by `executable-find'.
22569 The order of searching the available programs is the same as in
22570 `archive-zip-extract' (bug#8968).
22572 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22574 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
22575 (menu-bar-options-menu): Tweak descriptions.
22577 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22579 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
22580 menu items into verb phrases (bug#1421). Also refill to fit under
22583 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22585 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
22586 (Info-read-node-name): Doc fix (Bug#1084).
22588 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
22589 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
22590 (end-of-sexp, beginning-of-sexp)
22591 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
22592 (forward-symbol, forward-same-syntax, word-at-point)
22593 (sentence-at-point): Doc fix (Bug#1144).
22595 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22597 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
22598 should cover it (bug#1281).
22600 * cus-edit.el (custom-show): Mark as obsolete.
22602 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
22603 negotiation fails, then possibly try again with a non-encrypted
22604 connection (bug#9017).
22606 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
22609 2011-07-07 Richard Stallman <rms@gnu.org>
22611 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
22612 property, and handle its changed format.
22613 Look for the correct line number.
22614 Use file's line contents (but not past first =) to find
22615 correct line in message.
22617 2011-07-07 Kenichi Handa <handa@m17n.org>
22619 * international/characters.el (build-unicode-category-table):
22621 (unicode-category-table): Set it by unicode-property-table-internal.
22623 * international/mule-cmds.el (char-code-property-alist): Move to
22625 (get-char-code-property): Call unicode-property-table-internal to
22626 load a file. Call get-unicode-property-internal where necessary.
22627 (put-char-code-property): Call unicode-property-table-internal to
22628 load a file. Call put-unicode-property-internal where necessary.
22629 put-unicode-property-internal where necessary.
22630 (char-code-property-description):
22631 Call unicode-property-table-internal to load a file.
22633 * international/charprop.el:
22634 * international/uni-bidi.el:
22635 * international/uni-category.el:
22636 * international/uni-combining.el:
22637 * international/uni-comment.el:
22638 * international/uni-decimal.el:
22639 * international/uni-decomposition.el:
22640 * international/uni-digit.el:
22641 * international/uni-lowercase.el:
22642 * international/uni-mirrored.el:
22643 * international/uni-name.el:
22644 * international/uni-numeric.el:
22645 * international/uni-old-name.el:
22646 * international/uni-titlecase.el:
22647 * international/uni-uppercase.el: Regenerate.
22649 * loadup.el: Load international/charprop.el before
22650 international/characters.
22652 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22654 * window.el (next-buffer, previous-buffer): Signal an error if
22655 called from a minibuffer window.
22657 * bindings.el: Revert 2011-07-04 change.
22659 2011-07-06 Richard Stallman <rms@gnu.org>
22661 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
22662 (rmail-mime-insert-bulk, rmail-mime-insert-text):
22663 Treat markers like ints.
22664 (rmail-mime-entity): Doc fix.
22666 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22668 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
22669 defcustom again for backwards compatibility.
22671 * simple.el (shell-command-on-region): Fill.
22673 * dired-aux.el (dired-kill-line): Add a doc string.
22675 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
22676 to "\\sw\\|\\s_" (bug#358).
22678 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
22679 (dired-unmark-backward): Ditto.
22680 (dired-flag-backup-files): Ditto.
22682 * dired-x.el (dired-mark-sexp): Ditto.
22684 2011-07-06 Richard Stallman <rms@gnu.org>
22686 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
22687 (rmail-mime-entity): New arg TRUNCATED.
22688 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
22690 (rmail-mime-save): Warn if entity is truncated.
22691 (rmail-mime-toggle-hidden): Likewise, for showing.
22692 (rmail-mime-process-multipart): Record when an entity is truncated.
22694 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
22695 if ENTITY is a string.
22697 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22699 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
22700 of faces when `M-C-x'-ing their definitions (bug#8378).
22701 Also clean up the code slightly.
22703 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
22704 because that makes the colors go away.
22706 * mail/sendmail.el (send-mail-function): Change the default to
22707 `sendmail-query-once'.
22708 (sendmail-query-once): Add an autoload cookie.
22710 * net/network-stream.el (network-stream-open-starttls): Try using
22711 a plain connection even if the server offered STARTTLS, and we
22712 kinda wanted to use it, if Emacs doesn't have any STARTTLS
22713 capability. This should make smtpmail.el work in slightly more
22716 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
22718 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22720 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
22722 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
22724 * progmodes/sql.el: Version 3.0
22725 (sql-product-alist): Add product :completion-object,
22726 :completion-column, and :statement attributes.
22727 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
22728 (sql-mode-syntax-table): Mark all punctuation.
22729 (sql-font-lock-keywords-builder): Temporarily remove fallback on
22731 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
22732 (sql-mode-oracle-font-lock-keywords): Improve.
22733 (sql-oracle-show-reserved-words): New function for development.
22734 (sql-product-font-lock): Simplify for source code buffers.
22735 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
22737 (sql-highlight-product): Set product specific syntax table.
22738 (sql-mode-map): Add statement movement functions.
22739 (sql-ansi-statement-starters, sql-oracle-statement-starters):
22741 (sql-statement-regexp, sql-beginning-of-statement)
22742 (sql-end-of-statement, sql-signum): New functions.
22743 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
22744 (sql-show-sqli-buffer): Bug fix.
22745 (sql-interactive-mode): Store connection data as buffer local.
22746 (sql-connect): Add NEW-NAME parameter. Redesign interaction
22747 with sql-interactive-mode.
22748 (sql-save-connection): Save buffer local settings.
22749 (sql-connection-menu-filter): Change menu entry name.
22750 (sql-product-interactive): Bug fix.
22751 (sql-preoutput-hold): New variable.
22752 (sql-interactive-remove-continuation-prompt): Bug fixes.
22753 (sql-debug-redirect): New variable.
22754 (sql-str-literal): New function.
22755 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
22757 (sql-oracle-save-settings, sql-oracle-restore-settings)
22758 (sql-oracle-list-all, sql-oracle-list-table): New functions.
22759 (sql-completion-object, sql-completion-column)
22760 (sql-completion-sqlbuf): New variables.
22761 (sql-build-completions-1, sql-build-completions)
22762 (sql-try-completion): New functions.
22763 (sql-read-table-name): Use them.
22764 (sql-contains-names): New buffer local variable.
22765 (sql-list-all, sql-list-table): Use it.
22766 (sql-oracle-completion-types): New variable.
22767 (sql-oracle-completion-object, sql-sqlite-completion-object)
22768 (sql-postgres-completion-object): New functions.
22770 2011-07-06 Glenn Morris <rgm@gnu.org>
22772 * window.el (pop-to-buffer): Doc fix.
22774 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
22776 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
22778 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
22780 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
22782 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
22784 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
22786 * button.el (button): Inherit from link face. Suggested by Dan
22789 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22791 * progmodes/gdb-mi.el: Fit in 80 columns.
22792 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
22795 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
22796 if imenu is simply not configured (bug#8941).
22798 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
22800 * allout.el (allout-post-undo-hook): New allout outline-change
22801 event hook to signal undo activity.
22802 (allout-post-command-business): Run allout-post-undo-hook if an
22803 undo just occurred.
22804 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
22805 * allout-widgets.el (allout-widgets-after-undo-function):
22806 Ensure the integrity of the current item's decoration after it has been
22807 in the vicinity of an undo.
22808 (allout-widgets-mode): Include allout-widgets-after-undo-function
22809 on the new allout-post-undo-hook.
22811 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22813 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
22814 Let define-derived-mode define it.
22815 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
22816 cycles of abbrev-table inheritance (bug#8998).
22818 2011-07-05 Roland Winkler <winkler@gnu.org>
22820 * textmodes/bibtex.el: Add support for biblatex.
22821 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
22822 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
22823 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
22824 (bibtex-entry-alist, bibtex-field-alist): New variables.
22825 (bibtex-entry-field-alist): Obsolete alias for
22826 bibtex-BibTeX-entry-alist.
22827 (bibtex-entry-alist, bibtex-field-alist): New widgets.
22828 (bibtex-set-dialect): New command.
22829 (bibtex-entry-type, bibtex-entry-head)
22830 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
22831 Bind via bibtex-set-dialect.
22832 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
22833 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
22834 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
22835 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
22836 Define via bibtex-set-dialect.
22837 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
22838 Obey bibtex-no-opt-remove-re.
22839 (bibtex-vec-push, bibtex-vec-incr): New functions.
22840 (bibtex-format-entry, bibtex-field-list)
22841 (bibtex-print-help-message, bibtex-validate)
22842 (bibtex-search-entries): Use new format of bibtex-entry-alist.
22844 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22846 * progmodes/compile.el (compilation-goto-locus):
22847 * net/tramp-cmds.el (tramp-append-tramp-buffers):
22848 * bs.el (bs-cycle-next, bs-cycle-previous):
22849 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
22850 * bindings.el (mode-line-other-buffer):
22851 * autoinsert.el (auto-insert):
22852 * arc-mode.el (archive-extract):
22853 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
22855 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22857 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
22858 Fix check of `emacs-lock-unlockable-modes'.
22859 Coerce true values of `emacs-lock--try-unlocking' to t.
22861 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22863 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
22864 * emacs-lock.el: New file.
22866 2011-07-05 Julien Danjou <julien@danjou.info>
22868 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
22869 than `boundp' to check if face is set.
22871 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22873 * register.el (registerv-make):
22874 * window.el (window-min-height): Fix typos in docstrings.
22876 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
22878 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
22881 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22883 * server.el (server-execute): Catch quit and call
22884 `server-return-error' to pass the error back to emacsclient and
22885 close the connection (bug#8942).
22887 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
22889 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
22890 insecure exception for current topic. Also note that auto-saves
22891 are handled differently.
22893 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
22894 State variables for tracking auto-save inhibition situation.
22896 (allout-write-contents-hook-handler): Rename from
22897 'allout-write-file-hook-handler', and describe how it depends on
22898 write-contents-functions sensitivity to non-nil value to prevent
22901 (allout-auto-save-hook-handler): Remove. auto-save does not check
22902 this in individual buffers, only in the starting buffer, so this
22903 is not the right way for us to inhibit auto-save in a buffer
22904 according to its condition.
22906 (allout-mode): Use new allout-write-contents-hook-handler, and
22907 only with write-contents-functions. Remove auto-save provisions -
22908 they're implemented elsewhere.
22910 (allout-before-change-handler): If undo is in progress, note that
22911 for attention of allout-post-command-business.
22913 (allout-post-command-business): If the command we're following was
22914 an undo, check for change in the status of encrypted items and
22915 adjust auto-save inhibitions accordingly.
22917 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
22918 according to whether there are or aren't any plain-text topics
22919 pending encryption.
22921 (allout-inhibit-auto-save-info-for-decryption):
22922 Adjust buffer-saved-size and some allout state to inhibit auto-saves
22923 if there are plain-text topics pending encryption.
22925 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
22926 buffer-saved-size and some allout state to not inhibit auto-saves
22927 if there are no longer any plain-text topics pending encryption.
22929 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
22930 No longer provide for exemption of the current topic.
22932 2011-07-04 Juri Linkov <juri@jurta.org>
22934 Add 7z operations to delete and save changed members (bug#8968).
22935 * arc-mode.el (archive-7z-expunge, archive-7z-update):
22937 (archive-7z-write-file-member): New function.
22938 (archive-7z-summarize): Fix the number of dashes in the
22941 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22943 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
22946 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
22948 * bindings.el: Ignore next-buffer and previous-buffer in
22949 minibuffer-local-map.
22951 * font-lock.el (font-lock-builtin-face): Change light background
22952 color to dark slate blue (Bug#6693).
22954 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
22956 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
22958 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22960 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
22961 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22962 Add switch-to-buffer.
22964 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22966 * isearch.el (isearch-search-fun-function): Clarify further the
22967 meaning of the function returned.
22969 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
22971 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
22973 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
22974 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
22976 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
22977 `tramp-default-remote-path' does not exist.
22978 (tramp-send-command-and-read): New optional argument NOERROR.
22979 (tramp-open-connection-setup-interactive-shell)
22980 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
22981 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
22982 (tramp-process-sentinel): Flush also process' connection property.
22983 (tramp-sh-handle-start-file-process): Do not set process
22984 sentinel. It is done now ...
22985 (tramp-maybe-open-connection): ... here. (Bug#8929)
22987 2011-07-04 MON KEY <monkey@sandpframing.com>
22989 * play/animate.el (animate-string): Doc fixes and allow changing
22990 the buffer name (bug#5417).
22992 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22994 * play/animate.el (animation-buffer-name): Rename from *animate*.
22996 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
22998 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
22999 This is simpler and helps future-proof the code.
23000 (timer-until): Use time-subtract and float-time.
23001 (timer--time-less-p): Use time-less-p.
23003 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
23005 * type-break.el (timep): Use the value of `float-time' to avoid a
23006 byte-compiler warning.
23008 * server.el (server-eval-and-print): Return any result, even nil.
23010 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
23012 * type-break.el: Accept time formats that the builtins accept.
23013 (timep, type-break-time-difference): Accept any format that
23014 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
23015 This is simpler and helps future-proof the code.
23016 (type-break-time-difference): Round rather than ignoring
23017 subseconds components.
23019 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23021 * info.el (Info-apropos-matches): Make non-interactive, since it
23022 doesn't seem to do anything useful as a command (bug#8829).
23024 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
23026 * frame.el (frame-background-mode, frame-set-background-mode):
23027 Move from faces.el.
23028 (frame-default-terminal-background): New function.
23030 * custom.el (custom-push-theme): Don't record faces in `changed'
23031 theme; this doesn't work correctly for per-frame face settings.
23032 (disable-theme): Use face-set-after-frame-default to reset faces.
23033 (custom--frame-color-default): New function.
23035 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23037 * dired.el (dired-flagging-regexp): Remove unused variable
23040 2011-03-29 Kevin Ryde <user42@zip.com.au>
23042 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23043 `perl-Test2' extend to match possible "fail #N" rep count
23046 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23048 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
23049 `smtpmail-via-smtp' now returns the error instead of nil.
23051 * isearch.el (isearch-search-fun-function): Clarify the doc string
23054 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
23056 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
23057 unnecessary spaces (bug#8987).
23059 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23061 * net/network-stream.el (open-network-stream): Use the
23062 :end-of-capability command thoughout.
23064 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
23066 * net/network-stream.el (open-network-stream): Add the
23067 :end-of-capability command parameter, used by pop3.el.
23069 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23071 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
23073 * fringe.el (fringe-query-style): Remove redundant text " (type ?
23074 for list)" (bug#6475).
23076 * files.el (file-expand-wildcards): Ignore non-readable
23077 sub-directories while trying to find matches instead of signaling
23078 an error (bug#6297).
23080 * man.el (Man-reference-regexp): Allow matching possible
23081 word-wrapped references (bug#6289).
23083 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
23084 for consistency with the other vc buffers (bug#6197).
23085 (vc-checkin): Ditto.
23087 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
23089 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
23091 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23093 * custom.el (defcustom): Clarify that :set is only used in the
23094 Customize user interface (bug#6089).
23096 * progmodes/flymake.el (flymake-mode): If the buffer isn't
23097 associated with a file, refuse to run instead of erroring out
23100 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
23101 the doc string, since it appears that using `fill-column' always
23102 controls the width (bug#7845).
23104 * simple.el (shell-command-on-region): Say where the error output
23105 went if `shell-command-default-error-buffer' is set (bug#6857).
23107 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
23109 * allout.el (allout-yank-processing): Adjust cursor position for
23110 backwards-deleted space.
23112 (allout-rebullet-heading): Register changes with
23113 allout-exposure-changed-hook, so the modified topic is properly
23116 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23118 * minibuffer.el (completion-in-region): Document PREDICATE
23121 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
23122 of keyword/argument pairs (bug#6904).
23124 * replace.el (multi-occur):
23125 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
23127 2011-07-02 Drew Adams <drew.adams@oracle.com>
23129 * dired.el (dired-mark-if): Make the message about whether it's
23130 marking or unmarking clearer (bug#8523).
23132 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23134 * disp-table.el (display-table-print-array): New function.
23135 (describe-display-table): Use it to print the vectors more pretty
23138 2011-07-02 Martin Rudalics <rudalics@gmx.at>
23140 * window.el (window-state-get-1): Don't assign clone numbers.
23141 Add clone-of item to list of window parameters.
23142 (window-state-put-2): Don't process clone numbers.
23143 (display-buffer-alist): Fix doc-string.
23145 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
23147 * subr.el (remq): Don't allocate if it's not needed.
23148 (keymap--menu-item-binding, keymap--menu-item-with-binding)
23149 (keymap--merge-bindings): New functions.
23150 (keymap-canonicalize): Use them to refine the canonicalization.
23151 * minibuffer.el (minibuffer-local-completion-map)
23152 (minibuffer-local-must-match-map): Move initialization from C.
23153 (minibuffer-local-filename-completion-map): Move initialization from C;
23154 don't inherit from anything here.
23155 (minibuffer-local-filename-must-match-map): Make obsolete.
23156 (completing-read-default): Use make-composed-keymap to combine
23157 minibuffer-local-filename-completion-map with either
23158 minibuffer-local-must-match-map or
23159 minibuffer-local-filename-completion-map.
23161 2011-07-01 Glenn Morris <rgm@gnu.org>
23163 * type-break.el (type-break-time-sum): Use dolist.
23165 * textmodes/flyspell.el (flyspell-word-search-backward):
23166 Replace CL function.
23168 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23170 * mouse.el (mouse--strip-first-event): New function.
23171 (function-key-map): Use it to map fringe clicks to normal clicks
23174 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
23175 (vc-bzr-revision-completion-table): Add support for annotate and date.
23177 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
23178 inherit from parent.
23180 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23182 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
23183 (dired-show-file-type): Doc fixup (bug#8818).
23185 * dired.el (dired-mode): Fix up the doc string as suggested by
23186 Drew Adams (bug#8817).
23188 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
23189 cookie, since the manual says that it should be possible to add
23190 this function to `find-file-hook' (bug#8709).
23192 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23194 * progmodes/cfengine.el: Moved all cfengine3.el functionality
23195 here. Noted Ted Zlatanov as the maintainer.
23196 (cfengine-common-settings, cfengine-common-syntax): New functions
23197 to set up common things between `cfengine-mode' and
23199 (cfengine3-mode): New mode.
23200 (cfengine3-defuns cfengine3-defuns-regex
23201 (cfengine3-class-selector-regex cfengine3-category-regex)
23202 (cfengine3-vartypes cfengine3-font-lock-keywords)
23203 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
23204 (cfengine3-indent-line): Add from cfengine3.el.
23206 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
23208 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
23210 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
23212 2011-07-01 Martin Rudalics <rudalics@gmx.at>
23214 * window.el (same-window-buffer-names, same-window-regexps)
23215 (same-window-p, special-display-frame-alist)
23216 (special-display-popup-frame, special-display-function)
23217 (special-display-buffer-names, special-display-regexps)
23218 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
23219 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23220 (split-window-preferred-function, split-height-threshold)
23221 (split-width-threshold, even-window-heights)
23222 (display-buffer-mark-dedicated, window-splittable-p)
23223 (split-window-sensibly, window-safely-shrinkable-p):
23225 (display-buffer): Don't spread args with function specifier
23226 because special-display-popup-frame won't like it.
23228 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
23230 Time-stamp simplifications and fixes.
23231 These improve accuracy slightly, and future-proof the code
23232 against some potential changes to current-time format.
23234 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
23235 by using time-since and float-time.
23237 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
23238 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
23239 + NNN microseconds".
23241 * type-break.el (type-break-time-sum): Rewrite using time-add.
23243 * play/hanoi.el (hanoi-current-time-float): Remove.
23244 All uses replaced by float-time.
23246 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
23247 This yields a more-accurate answer.
23248 (rng-time-to-float): Remove; no longer needed.
23250 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
23252 * calendar/timeclock.el (timeclock-seconds-to-time):
23253 Defalias to seconds-to-time, since they're the same thing.
23255 * emacs-lisp/elp.el (elp-elapsed-time):
23256 * emacs-lisp/benchmark.el (benchmark-elapse):
23257 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
23259 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23261 * window.el (bury-buffer): Don't iconify the only frame.
23262 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
23263 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
23265 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
23267 * eshell/em-smart.el (eshell-smart-display-navigate-list):
23268 Add mouse-yank-primary.
23270 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23272 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
23274 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23276 * emacs-lisp/find-func.el (find-library--load-name): New fun.
23277 (find-library-name): Use it to find relative load names when provided
23278 absolute file name (bug#8803).
23280 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23282 * textmodes/flyspell.el (flyspell-word): Consider words that
23283 differ only in case as potential doublons (bug#5687).
23285 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
23286 Remove two rather uninteresting debugging-like messages to make
23287 debbugs.el more silent.
23289 * comint.el (comint-password-prompt-regexp): Accept "Response" as
23290 a password-like phrase.
23292 2011-06-30 Masatake YAMATO <yamato@redhat.com>
23294 * progmodes/cc-guess.el: New file.
23296 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
23298 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
23299 derived from `c-basic-common-init'.
23301 * progmodes/cc-mode.el (top-level): Require cc-guess.
23302 (c-basic-common-init): Use `cc-choose-style-for-mode'.
23304 2011-06-30 Lawrence Mitchell <wence@gmx.li>
23306 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
23308 2011-06-30 Alan Mackenzie <acm@muc.de>
23310 * progmodes/cc-engine.el (c-guess-continued-construct):
23311 Correct the handling of template-args-cont, particularly for when font
23312 lock is disabled. Name this case as "CASE G".
23314 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
23316 * allout.el (allout-yank-processing): Fix injection of extra space
23317 between bullet and non-whitespace character in first topic when
23318 pasting, ensuring that the actual spacing in the pasted topic
23319 following the bullet char is preserved. This extra space was
23320 causing pasted encrypted topics to get a decrypted status even
23321 when the content was actually still encrypted. Now the decryption
23322 status from before the paste is preserved.
23324 (allout-flag-region): Set all allout overlays so they evaporate
23325 when reduced to zero length (evanescent), to prevent overlay
23328 2011-06-30 Glenn Morris <rgm@gnu.org>
23330 * w32-fns.el (w32-charset-info-alist): Declare.
23332 * find-dired.el (find-grep-options): Simplify.
23334 * term/ns-win.el (ns-set-resource): Declare.
23336 * ses.el (row, col): Declare dynamic variables honestly.
23338 * textmodes/reftex-parse.el (index-tags): Declare.
23340 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
23342 * cus-edit.el (customize-push-and-save): New function.
23344 * files.el (hack-local-variables-confirm): Use it.
23346 * custom.el (load-theme): New arg NO-CONFIRM.
23347 Use customize-push-and-save (Bug#8720).
23348 (custom-enabled-themes): Doc fix.
23350 * cus-theme.el (customize-create-theme)
23351 (custom-theme-merge-theme): Callers to load-theme changed.
23353 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23355 * thingatpt.el (thing-at-point-short-url-regexp): Require that
23356 short URLs have at least one dot in them (bug #7614).
23358 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
23359 nil, because using a pty is apparently too slow (bug #895).
23361 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
23363 * mail/sendmail.el (sendmail-query-once): New function.
23364 (sendmail-query-once-function): New variable.
23366 2011-06-29 Glenn Morris <rgm@gnu.org>
23368 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
23370 * ses.el (top-level): Require cl when compiling.
23371 (ses-set-localvars): Fix error statement.
23372 Call it at compile time to silence a storm of warnings.
23374 2011-06-29 Martin Rudalics <rudalics@gmx.at>
23376 * window.el (normalize-live-buffer): Rename to
23377 window-normalize-buffer.
23378 (normalize-live-frame): Rename to window-normalize-frame.
23379 (normalize-any-window): Rename to window-normalize-any-window.
23380 (normalize-live-window): Rename to window-normalize-live-window.
23381 (make-window-atom): Rename to window-make-atom.
23382 (window-resize-reset): Rename to window--resize-reset.
23383 (window-resize-reset-1): Rename to window--resize-reset-1.
23384 (resize-mini-window): Rename to window--resize-mini-window.
23385 (resize-subwindows-skip-p): Rename to
23386 window--resize-subwindows-skip-p.
23387 (resize-subwindows-normal): Rename to
23388 window--resize-subwindows-normal.
23389 (resize-subwindows): Rename to window--resize-subwindows.
23390 (resize-other-windows): Rename to window--resize-siblings.
23391 (resize-this-window): Rename to window--resize-this-window.
23392 (resize-root-window): Rename to window--resize-root-window.
23393 (resize-root-window-vertically): Rename to
23394 window--resize-root-window-vertically.
23395 (normalize-buffer-to-display): Rename to
23396 window-normalize-buffer-to-display.
23397 (normalize-buffer-to-switch-to): Rename to
23398 window-normalize-buffer-to-switch-to.
23399 Correspondingly update all callers of the functions listed
23401 (display-buffer-alist, display-buffer-normalize-arguments)
23402 (display-buffer-normalize-options, display-buffer)
23403 (display-buffer-alist-set): Use "function" instead of
23406 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
23408 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
23409 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
23410 debbugs.gnu.org. Mention acknowledgment email.
23412 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
23414 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
23415 buffer multibyteness, since it shouldn't matter.
23417 2011-06-28 Martin Rudalics <rudalics@gmx.at>
23419 * window.el (display-buffer-in-side-window): Handle dedicated
23420 windows as in display-buffer-reuse-window.
23421 (display-buffer-normalize-alist): Use value of override
23423 (display-buffer-normalize-specifiers): Use value of
23424 other-window-means-other-frame specifier.
23425 (display-buffer-alist): Rewrite some texts in widgets.
23426 (display-buffer): Spread arguments when calling function
23427 specified by fun-with-args.
23429 2011-06-28 Deniz Dogan <deniz@dogan.se>
23431 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
23434 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
23435 selectors (Bug#5732).
23436 (css-proprietary-nmstart-re): Use `regexp-opt'.
23438 2011-06-27 Jari Aalto <jari.aalto@cante.net>
23440 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
23441 (eshell-ls-date-format): New defcustom.
23442 (eshell-ls-file): Use it.
23444 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23446 * help-fns.el (describe-variable): Fix message for terminal-local vars.
23448 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
23450 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
23451 (ange-ftp-make-tmp-name): New arg.
23452 (ange-ftp-file-local-copy): Use it.
23454 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
23456 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
23457 no-conversion (Bug#8870).
23459 2011-06-27 Martin Rudalics <rudalics@gmx.at>
23461 * window.el (window-right, window-left, window-child)
23462 (window-child-count, window-last-child)
23463 (window-iso-combination-p, walk-window-tree-1)
23464 (window-atom-check-1, window-tree-1, delete-window)
23465 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
23466 new naming conventions - window-vchild, window-hchild,
23467 window-next and window-prev are now called window-top-child,
23468 window-left-child, window-next-sibling and window-prev-sibling
23470 (resize-window-reset): Rename to window-resize-reset.
23471 (resize-window-reset-1): Rename to window-resize-reset-1.
23472 (resize-window): Rename to window-resize.
23473 (window-min-height, window-min-width)
23474 (resize-mini-window, resize-this-window, resize-root-window)
23475 (resize-root-window-vertically, adjust-window-trailing-edge)
23476 (enlarge-window, shrink-window, maximize-window)
23477 (minimize-window, delete-window, quit-restore-window)
23478 (split-window, balance-windows, balance-windows-area-adjust)
23479 (balance-windows-area, window-state-put-2)
23480 (display-buffer-even-window-sizes, display-buffer-set-height)
23481 (display-buffer-set-width, set-window-text-height)
23482 (fit-window-to-buffer): Rename all "resize-window" prefixed
23483 calls to use the "window-resize" prefix convention.
23484 (display-buffer-alist): Fix symbol for label specifier.
23485 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
23486 corresponding specifier.
23487 Reported by Juanma Barranquero <lekktu@gmail.com>.
23489 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23491 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
23493 (ses-call-printer): Does not pass an empty string to formatter when the
23494 cell is empty to keep from barking printer Calc math-format-value.
23496 2011-06-27 Richard Stallman <rms@gnu.org>
23498 * battery.el (battery-mode-line-limit): New variable.
23499 (battery-update): Handle it.
23501 * mail/rmailmm.el (rmail-mime-process-multipart):
23502 Handle truncated messages.
23504 2011-06-27 Glenn Morris <rgm@gnu.org>
23506 * progmodes/flymake.el (flymake-err-line-patterns):
23507 Allow for column numbers in the ant/javac pattern. (Bug#8866)
23509 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23511 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
23512 (ses--clean-!, ses--clean-_): New functions.
23513 (ses-range): Add configurability of readout order, and conversion
23516 * ses.el (ses-repair-cell-reference-all): New function.
23517 (ses-cell-symbol): Set macro as safe, so that it can be used in
23520 * ses.el: Update cycle detection algorithm.
23521 (ses-localvars): Add ses--Dijkstra-attempt-nb and
23522 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
23523 (ses-set-localvars): New function.
23524 (ses-make-cell): Add property-list as a cell element.
23525 (ses-cell-property-get-fun, ses-cell-property-get)
23526 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
23527 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
23529 (ses-cell-property-set, ses-cell-property-pop)
23530 (ses-cell-property-get-handle): New macro.
23531 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
23532 New aliases, used for code readability.
23533 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
23535 (ses-self-reference-early-detection): New defcustom.
23536 (ses-formula-references): Robustify against self-referring cells.
23537 (ses-mode): Use ses-set-localvars.
23538 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
23539 before lauching the update processing.
23540 (ses-initialize-Dijkstra-attempt): New function.
23541 (ses-recalculate-cell): Update for cycle detection based on
23542 Dijkstra algorithm.
23544 * ses.el: Fix commenting and indenting convention.
23546 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23548 * bs.el (bs-cycle-next): Complete last change.
23550 2011-06-27 Drew Adams <drew.adams@oracle.com>
23552 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
23554 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
23556 * net/network-stream.el (network-stream-open-starttls):
23557 Don't re-get capabilities unless we've reestablished connection.
23558 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
23560 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
23561 to binary to possibly avoid line encoding issues on Windows (among
23564 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23566 * net/network-stream.el (open-network-stream): Return an :error
23567 saying what the problem was, if possible.
23569 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
23572 * net/network-stream.el (network-stream-open-starttls): If we
23573 wanted to use STARTTLS, and the server offered it, but we weren't
23574 able to because we had no STARTTLS support, then close the connection.
23575 (open-network-stream): Return an :error element, if present.
23577 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23579 * hl-line.el (hl-line-sticky-flag): Doc fix.
23580 (global-hl-line-sticky-flag): New option (Bug#8323).
23581 (global-hl-line-highlight): Obey it.
23583 * vc/vc.el (vc-revert-show-diff): Default to t.
23585 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
23587 * allout-widgets.el (allout-widgets-post-command-business):
23588 Stop decorating intermediate isearch matches. They're not being
23589 undecorated when an isearch is continued past, and isearch
23590 automatically collapses them. This leads to "widget leaks", where
23591 decorated items accumulate in collapsed areas. Lines with lots of
23592 hidden widgets can slow down cursor travel, substantially.
23593 Too much complicated machinery would be needed to ensure undecoration,
23594 so we're doing without this nicety.
23596 (allout-widgets-tally-string): Don't try to do a hash-table-count
23597 of allout-widgets-tally when it's nil. This eliminates spurious "Error
23598 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
23599 *Messages* when allout-widgets-maintain-tally is t.
23601 2011-06-26 Martin Rudalics <rudalics@gmx.at>
23603 * window.el (display-buffer-normalize-argument): Rename to
23604 display-buffer-normalize-arguments. Handle special meaning of
23605 LABEL argument. Respect special-display-function when popping up
23606 a new frame. Fix code searching for a window showing the buffer
23608 (display-buffer-normalize-specifiers):
23609 Call display-buffer-normalize-arguments.
23610 (display-buffer-in-window): Don't undedicate the window if its
23611 buffer remains the same.
23612 Reported by Drew Adams <drew.adams@oracle.com>.
23613 (display-buffer-alist): Add choice for same-window macro
23615 (display-buffer): Mention special meaning of LABEL argument in
23616 doc-string. Fix quoting. Don't pop up a new frame even as
23619 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
23621 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
23622 avoid deleting the current window in some cases (bug#8911).
23624 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
23626 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
23629 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23631 * net/network-stream.el (network-stream-open-starttls):
23632 Use built-in TLS support if `gnutls-available-p' is true.
23633 (network-stream-open-tls): Ditto.
23635 2011-06-26 Leo Liu <sdl.web@gmail.com>
23637 * register.el (registerv): New struct.
23638 (registerv-make): New function.
23639 (jump-to-register, describe-register-1, insert-register):
23640 Support the jump-func, print-func and insert-func slot of a registerv
23643 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23645 * vc/vc.el (vc-revert-show-diff): New defcustom.
23646 (vc-diff-internal): New arg specifying diff buffer.
23647 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
23648 reuse an existing *vc-diff* buffer (Bug#8927).
23650 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
23652 2011-06-26 Glenn Morris <rgm@gnu.org>
23654 * progmodes/f90.el (f90-critical-indent): New option.
23655 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
23656 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
23657 (f90-mode): Doc fix.
23658 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
23659 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
23660 (f90-beginning-of-block, f90-next-block, f90-indent-region)
23661 (f90-match-end): Handle block, critical.
23663 2011-06-25 Glenn Morris <rgm@gnu.org>
23665 * calendar/diary-lib.el (diary-included-files): Doc fix.
23666 (diary-include-files): New function, extracted from
23667 diary-include-other-diary-files and diary-mark-included-diary-files.
23668 (diary-include-other-diary-files, diary-mark-included-diary-files):
23669 Just call diary-include-files.
23670 (diary-mark-entries): Reset diary-included-files on first call.
23672 * calendar/diary-lib.el (diary-mark-entries)
23673 (diary-mark-included-diary-files):
23674 Visit included diary-files in temp buffers.
23676 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
23677 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
23678 (f90-start-block-re, f90-imenu-generic-expression)
23679 (f90-looking-at-program-block-start, f90-no-block-limit):
23680 Add support for submodules.
23682 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23683 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
23685 2011-06-25 Eli Zaretskii <eliz@gnu.org>
23687 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
23688 buffer-file-type before setting its value, to avoid disastrous
23689 global effects on decoding files for DOS/Windows systems. (Bug#8780)
23691 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23693 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
23695 * ses.el (ses-unload-function):
23696 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
23698 * proced.el (proced-unload-function):
23699 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
23701 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
23703 * server.el (server-create-window-system-frame): Add parameters arg.
23704 (server-process-filter): Doc fix. Handle frame-parameters.
23706 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23708 Fix bug#8730, bug#8781.
23710 * loadhist.el (unload--set-major-mode): New function.
23711 (unload-feature): Use it.
23713 * progmodes/python.el (python-after-info-look): Add autoload cookie.
23714 (python-unload-function): New function.
23716 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
23718 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
23720 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
23722 * net/browse-url.el (browse-url-firefox-program): Add icecat to
23723 the candidates list.
23725 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
23727 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
23729 2011-06-23 Richard Stallman <rms@gnu.org>
23731 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
23732 (rmail-variables): Set next-error-move-function.
23733 (rmail-what-message): Take argument POS.
23734 (rmail-next-error-move): New function.
23736 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
23738 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
23739 messages for adjacent non-terminals.
23741 2011-06-23 Richard Stallman <rms@gnu.org>
23743 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
23744 (rmail-show-message-1): Preserve buffer modified flag.
23745 (rmail-start-mail): Don't specify use of rmail-mail-return;
23746 that's done by mail-bury now.
23747 (rmail-mail-return): Handle arg NEWBUF.
23749 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
23751 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
23754 2011-06-23 Martin Rudalics <rudalics@gmx.at>
23756 * window.el (get-lru-window, get-mru-window)
23757 (get-largest-window): Never return a minibuffer window.
23758 (display-buffer-pop-up-window): Fix a bug that could lead to
23759 reusing the minibuffer window.
23760 (display-buffer): Pass original specifier argument to
23761 display-buffer-function instead of the normalized one.
23762 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
23764 2011-06-22 Leo Liu <sdl.web@gmail.com>
23766 * minibuffer.el (completing-read-function)
23767 (completing-read-default): Move from minibuf.c.
23769 2011-06-22 Richard Stallman <rms@gnu.org>
23771 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
23772 to Rmail even if not started by a special Rmail command.
23774 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
23775 Copy the buffer currently showing just one message.
23777 2011-06-22 Roland Winkler <winkler@gnu.org>
23779 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
23780 (bibtex-clean-entry): First delete the old key so that a
23781 customized algorithm for generating the new key does not get
23782 confused by the old key.
23783 (bibtex-url): Obey regexp of first step.
23784 (bibtex-search-entries): Do not use add-to-list with local
23787 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23789 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
23790 stored a user name, then query for the password first, instead of
23791 waiting for SMTP to give an error message and the trying again.
23793 2011-06-22 Lawrence Mitchell <wence@gmx.li>
23795 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
23796 BUFFER in call-process.
23798 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23800 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
23802 (smtpmail-try-auth-methods): Require user name and password from
23805 2011-06-22 Martin Rudalics <rudalics@gmx.at>
23807 * window.el (display-buffer-default-specifiers)
23808 (display-buffer-alist): Remove entries for pop-up-frame-alist.
23809 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
23810 (split-window): Normalize SIDE argument (Bug#8916).
23812 * frame.el (pop-up-frame-alist, pop-up-frame-function)
23813 (special-display-frame-alist, special-display-popup-frame):
23814 Remove duplicate declarations. These are now in window.el.
23816 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
23818 * mail/smtpmail.el (smtpmail-via-smtp):
23819 Set :use-starttls-if-possible so that we always use STARTTLS if the
23820 server supports it. SMTP servers that support STARTTLS commonly
23823 * net/network-stream.el (network-stream-open-starttls): Support
23824 upgrading to STARTTLS always, even if we don't have built-in support.
23825 (open-network-stream): Add the :always-query-capabilities keyword.
23827 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
23828 upgrades with `open-network-stream', and rely solely on
23829 auth-source for all credentials. Big changes throughout the file,
23831 (smtpmail-auth-credentials): Remove.
23832 (smtpmail-starttls-credentials): Remove.
23833 (smtpmail-via-smtp): Check for servers saying they want AUTH after
23836 * net/network-stream.el (network-stream-open-starttls):
23837 Provide support for client certificates both for external and built-in
23839 (auth-source): Require.
23840 (open-network-stream): Document the :client-certificate keyword.
23841 (network-stream-certificate): Change cert-cert to cert and
23844 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
23846 * net/tramp-cache.el (top): Don't load the persistency file when
23847 "emacs -Q" has been called.
23849 2011-06-21 Tim Harper <timcharper@gmail.com>
23851 * term/ns-win.el (ns-initialize-window-system):
23852 Set application-specific `ApplePressAndHoldEnabled' system
23853 resource to NO as it is not yet supported by the NS port.
23855 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
23857 * misc.el (list-dynamic-libraries--refresh): Compute header here...
23858 (list-dynamic-libraries): ...not here.
23860 2011-06-21 Leo Liu <sdl.web@gmail.com>
23862 * subr.el (sha1): Implement sha1 using secure-hash.
23864 2011-06-21 Martin Rudalics <rudalics@gmx.at>
23866 * window.el (display-buffer-alist): In default value do not
23867 enforce searching a window on any but the selected frame.
23868 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
23869 (display-buffer-select-window): Remove function.
23870 (display-buffer-in-window): When a window on another frame gets
23871 reused, do not select it any more but just raise its frame if
23872 necessary (Bug#8851) and (Bug#8856).
23873 (display-buffer-normalize-options): Handle pop-up-frames related
23874 options more faithfully.
23875 (pop-to-buffer): Don't rely on `display-buffer' selecting the
23876 window if it is on another frame.
23877 (display-buffer-alist, display-buffer-default-specifiers):
23878 Don't make new frame unsplittable by default.
23879 (display-buffer-normalize-argument): Fix doc-string typo and use
23880 'same-frame-other-window instead of 'other-window when associating
23881 with display-buffer-macro-specifiers.
23883 2011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
23885 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
23887 (5x5-mode-map, 5x5-mode-menu): Bind them.
23888 (5x5-draw-grid): Tweak the solver's rendering.
23890 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23892 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
23893 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
23895 2011-06-21 Drew Adams <drew.adams@oracle.com>
23897 * menu-bar.el: Use function variable instead of switch-to-buffer.
23898 (menu-bar-select-buffer-function): New variable.
23899 (menu-bar-update-buffers): Use it (bug#8876).
23901 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23903 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
23906 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
23908 * x-dnd.el (x-dnd-version-from-flags)
23909 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
23910 and long as number (Bug#8899).
23911 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
23913 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
23915 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
23916 (completion-try-completion, completion-all-completions): Compute the
23917 metadata argument if it's missing; make it optional (bug#8795).
23919 * wid-edit.el: Use lex-bind and move towards completion-at-point.
23920 (widget-complete): Use new :completion-function property.
23921 (widget-completions-at-point): New function.
23922 (default): Use :completion-function instead of :complete.
23923 (widget-default-completions): Rename from widget-default-complete;
23925 (widget-string-complete, widget-file-complete, widget-color-complete):
23927 (file, symbol, function, variable, coding-system, color):
23928 * international/mule-cmds.el (default-input-method, charset)
23929 (language-info-custom-alist):
23930 * cus-edit.el (face): Use new property :completions.
23932 * progmodes/pascal.el (pascal-completions-at-point): New function.
23933 (pascal-mode): Use it.
23934 (pascal-mode-map): Use completion-at-point.
23935 (pascal-toggle-completions): Make obsolete.
23936 (pascal-complete-word, pascal-show-completions):
23937 * progmodes/octave-mod.el (octave-complete-symbol):
23938 Redefine as obsolete alias.
23939 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
23940 Signal absence of completion info for old Octave,
23941 (inferior-octave-complete): Redefine as obsolete alias.
23942 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
23943 (meta-completions-at-point): Rename from meta-complete-symbol and
23944 adapt it for use on completion-at-point-functions.
23945 (meta-common-mode): Use it.
23946 (meta-looking-at-backward, meta-match-buffer): Remove.
23947 (meta-complete-symbol): Redefine as obsolete alias.
23948 (meta-common-mode-map): Use completion-at-point.
23949 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
23950 (makefile-mode-map): Use completion-at-point.
23951 (makefile-completions-at-point): Rename from makefile-complete and
23952 adapt it for use on completion-at-point-functions.
23953 (makefile-mode): Use it.
23954 (makefile-complete): Redefine as obsolete alias.
23956 2011-06-20 Deniz Dogan <deniz@dogan.se>
23958 * net/rcirc.el: Delete trailing whitespaces once and for all.
23960 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
23962 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
23964 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
23966 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
23968 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
23970 2011-06-19 Martin Rudalics <rudalics@gmx.at>
23972 * window.el (display-buffer-other-window-means-other-frame):
23973 Call display-buffer-normalize-alist.
23974 (display-buffer-normalize-specifiers-1): Rename to
23975 display-buffer-normalize-argument. New argument other-frame.
23977 (display-buffer-normalize-specifiers-2): Rename to
23978 display-buffer-normalize-options.
23979 (display-buffer-normalize-alist-1): New function.
23980 (display-buffer-normalize-specifiers-3): Rename to
23981 display-buffer-normalize-alist.
23982 Call display-buffer-normalize-alist-1.
23983 (display-buffer-normalize-options-inhibit): New variable.
23984 (display-buffer-normalize-specifiers): Rewrite calling
23985 display-buffer-normalize-alist,
23986 display-buffer-normalize-argument, and
23987 display-buffer-normalize-options. Don't call the latter if
23988 display-buffer-normalize-options-inhibit is non-nil.
23989 (frame-auto-delete): New option.
23990 (window-deletable-p): Use frame-auto-delete.
23991 (window-list-no-nils, window-state-ignored-parameters)
23992 (window-state-get-1, window-state-get, window-state-put-list)
23993 (window-state-put-1, window-state-put-2, window-state-put):
23995 (display-buffer-normalize-options): Move special-display-p group
23996 after pop-up-frame group (Bug#8851) and (Bug#8856).
23998 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
24000 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
24002 (rx-submatch-n): New function.
24005 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
24008 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
24010 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
24012 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
24013 anytime existing face settings are present (Bug#8889).
24015 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
24016 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
24017 Remove unused argument.
24019 2011-06-18 Martin Rudalics <rudalics@gmx.at>
24021 * window.el (display-buffer-default-specifiers):
24022 Remove pop-up-frame. Add pop-up-window-min-height,
24023 pop-up-window-min-width, and another reuse-window specifier
24024 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
24025 (display-buffer-normalize-specifiers-2):
24026 Handle split-height-threshold and split-width-threshold also when
24027 pop-up-windows is unset. Add a reuse-window specifier for the
24028 case popping up a new window fails.
24029 (special-display-popup-frame): Remove double quoting.
24030 (display-buffer-normalize-specifiers-1): Fix thinko.
24032 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
24034 * shell.el (shell-completion-vars): Set pcomplete-termination-string
24035 according to comint-completion-addsuffix.
24037 * pcomplete.el: Convert to lexical binding and fix bug#8819.
24038 (pcomplete-suffix-list): Mark as obsolete.
24039 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
24040 pcomplete-seen in the closure.
24041 (pcomplete-comint-setup): Setup completion-at-point as well.
24042 (pcomplete--entries): New function.
24043 (pcomplete--env-regexp): New var.
24044 (pcomplete-entries): Rewrite to work with partial-completion and
24045 without relying on pcomplete-suffix-list.
24046 (pcomplete-pare-list): Remove, unused.
24048 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24050 * window.el (display-buffer-alist): Set pop-up-window-min-height
24051 and pop-up-window-min-width in default value. Reported by
24052 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
24053 other-window-means-other-frame.
24054 (display-buffer-macro-specifiers): Comment out entry for
24055 other-window specifier.
24056 (display-buffer-other-window-means-other-frame): New function.
24057 (display-buffer-normalize-specifiers-1): New arguments
24058 buffer-name and label. Treat other-window case specially.
24059 (display-buffer-normalize-specifiers-2): Treat other-window case
24061 (display-buffer-normalize-specifiers-3): New function.
24062 (display-buffer-normalize-specifiers):
24063 Call display-buffer-normalize-specifiers-3.
24065 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24067 * window.el (same-window-p): Fix two typos introduced when
24068 adding with-no-warnings.
24069 (display-buffer-normalize-specifiers-1): Don't check
24070 pop-up-frames for 'unset initialization.
24071 (display-buffer-normalize-specifiers-2): Major rewrite using
24072 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
24073 (pop-up-frames, display-buffer-reuse-frames)
24074 (display-buffer-mark-dedicated): Don't initialize to 'unset.
24075 Suggested by David Engster <deng@randomsample.de>.
24076 (even-window-heights): Initialize to 'unset.
24077 (display-buffer-alist-set): Handle new 'unset initializations.
24078 (display-buffer-macro-specifiers): Don't pop up a new frame in the
24081 2011-06-16 Martin Rudalics <rudalics@gmx.at>
24083 * window.el (display-buffer-normalize-specifiers-1):
24084 Respect current value of pop-up-frames for most reasonable values of
24085 second argument of display-buffer (Bug#8865).
24086 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
24087 (switch-to-buffer-other-window-same-frame)
24088 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
24090 (display-buffer): Don't check noninteractive when calling
24091 display-buffer-pop-up-frame.
24092 (display-buffer-pop-up-frame): Never pop up a frame in
24093 noninteractive mode (Bug#8857).
24094 (enlarge-window, shrink-window): Don't report an error when the
24095 window can't be resized as requested (Bug#8862).
24097 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24099 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
24101 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
24103 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
24105 2011-06-15 Alan Mackenzie <acm@muc.de>
24107 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
24108 for declarators, disable knr checking to speed up for normal files.
24109 2: Refactor, replacing a sequence of nested if forms by a cond form.
24111 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
24113 * net/network-stream.el (open-network-stream): Add the keyword
24114 :always-query-capabilities for the case where you want to force a
24115 `plain' network connection, but the protocol still requires the
24116 capabilitiy command (i.e., SMTP and EHLO).
24118 * subr.el (process-live-p): Rename from `process-alive-p' for
24119 consistency with other `-live-p' functions.
24121 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24123 * window.el (same-window-buffer-names, same-window-regexps)
24124 (special-display-frame-alist, special-display-popup-frame)
24125 (special-display-function, special-display-buffer-names)
24126 (special-display-regexps, pop-up-frame-alist)
24127 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
24128 (pop-up-windows, split-window-preferred-function)
24129 (split-height-threshold, split-width-threshold, even-window-heights)
24130 (display-buffer-mark-dedicated): Don't encourage the use of
24131 display-buffer-alist from Elisp code.
24133 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
24135 * progmodes/python.el (python-mode): Derive from prog-mode.
24136 * progmodes/ps-mode.el (ps-mode):
24137 * progmodes/mixal-mode.el (mixal-mode):
24138 * progmodes/cfengine.el (cfengine-mode):
24139 * progmodes/ld-script.el (ld-script-mode): Likewise.
24141 2011-06-15 Martin Rudalics <rudalics@gmx.at>
24143 * window.el (display-buffer-alist): Trim default value to avoid
24144 popping up a new frame (Bug#8857) or reusing an arbitrary window
24146 (display-buffer): Do not fall back on popping up a new frame in
24147 batch mode (Bug#8857).
24149 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
24151 * cus-theme.el (describe-theme-1): Use custom-theme-p.
24152 (custom-theme-summary): New function.
24153 (customize-themes): Use it.
24155 2011-06-13 Glenn Morris <rgm@gnu.org>
24157 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
24159 2011-06-13 Martin Rudalics <rudalics@gmx.at>
24161 * help.el (help-window): Remove variable.
24162 (help-window-point-marker, temp-buffer-max-height)
24163 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
24164 (help-print-return-message): Don't set help-window.
24165 (resize-temp-buffer-window): Rewrite cod eand doc-string.
24166 (help-window-setup-finish): Remove.
24167 (help-window-display-message, help-window-setup)
24168 (with-help-window): Major rewrite based on new
24169 display-buffer-window variable.
24171 * help-mode.el (help-mode-finish): Remove help-window related
24174 * view.el (view-exits-all-viewing-windows): Remove reference to
24175 view-return-to-alist in doc-string.
24176 (view-return-to-alist): Make obsolete.
24177 (view-buffer): Call pop-to-buffer-same-window and remove
24179 (view-buffer-other-window): Call pop-to-buffer-other-window and
24180 simplify code. Ignore second argument.
24181 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
24182 simplify code. Ignore second argument.
24183 (view-return-to-alist-update): Make obsolete.
24184 (view-mode-enter): Rename second argument to QUIT-RESTORE.
24185 Rewrite using quit-restore window parameters.
24186 (view-mode-exit): Rename second argument to EXIT-ONLY.
24187 Rewrite using quit-restore-window.
24188 (View-exit, View-exit-and-edit, View-leave, View-quit)
24189 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
24190 appropriate arguments.
24191 (view-end-message): Use quit-restore window parameter.
24193 * window.el (display-buffer-function): Rewrite doc-string.
24194 (display-buffer-window, display-buffer-alist): New variables.
24195 (display-buffer-split-specifiers)
24196 (display-buffer-side-specifiers)
24197 (display-buffer-macro-specifiers): New constants.
24198 (display-buffer-even-window-sizes, display-buffer-set-height)
24199 (display-buffer-set-width, display-buffer-select-window)
24200 (display-buffer-in-window, display-buffer-reuse-window)
24201 (display-buffer-split-window-1, display-buffer-split-window)
24202 (display-buffer-split-atom-window, display-buffer-pop-up-window)
24203 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
24204 (display-buffer-in-side-window, normalize-buffer-to-display)
24205 (display-buffer-normalize-specifiers-1)
24206 (display-buffer-normalize-specifiers-2)
24207 (display-buffer-normalize-specifiers, display-buffer-frame):
24209 (display-buffer): Major rewrite.
24210 (display-buffer-other-window, display-buffer-other-frame)
24211 (pop-to-buffer, switch-to-buffer-other-window)
24212 (switch-to-buffer-other-frame): Rewrite.
24213 (display-buffer-same-window, display-buffer-same-frame)
24214 (display-buffer-same-frame-other-window)
24215 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
24216 (pop-to-buffer-other-window)
24217 (pop-to-buffer-same-frame-other-window)
24218 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
24219 (switch-to-buffer-other-window-same-frame): New functions.
24220 (same-window-p, special-display-p): Rewrite disabling warnings.
24222 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
24223 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
24225 (same-window-buffer-names, same-window-regexps)
24226 (special-display-frame-alist, special-display-popup-frame)
24227 (special-display-function, special-display-buffer-names)
24228 (special-display-regexps, pop-up-frame-alist)
24229 (pop-up-frame-function, split-window-preferred-function)
24230 (split-height-threshold, split-width-threshold)
24231 (even-window-heights): Make obsolete.
24233 2011-06-12 Glenn Morris <rgm@gnu.org>
24235 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
24236 Misc simplifications.
24238 2011-06-12 Martin Rudalics <rudalics@gmx.at>
24240 * window.el (window-safely-shrinkable-p): Restore function which
24241 was inadvertently removed in change from 2011-06-11. Declare as
24244 * calendar/calendar.el (calendar-generate-window):
24245 Use window-iso-combined-p instead of combination of one-window-p and
24246 window-safely-shrinkable-p.
24248 2011-06-12 Glenn Morris <rgm@gnu.org>
24250 * progmodes/fortran.el (fortran-mode-syntax-table):
24251 * progmodes/f90.el (f90-mode-syntax-table):
24252 Set % to punctuation. (Bug#8820)
24253 (f90-find-tag-default): Remove, no longer needed.
24255 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
24257 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
24259 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
24261 * image.el (image-animated-p): Return animation delay in seconds.
24262 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
24263 (image-animate-timeout): Remove DELAY argument. Don't assume
24264 every subimage has the same delay; get it from image-animated-p.
24265 (image-animate): Caller changed.
24267 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
24269 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
24270 to ignored backtrace functions.
24272 2011-06-11 Glenn Morris <rgm@gnu.org>
24274 * calendar/appt.el (appt-disp-window-function): Doc fix.
24275 (appt-check): Handle overlapping appointments. (Bug#8337)
24277 2011-06-11 Martin Rudalics <rudalics@gmx.at>
24279 * window.el (window-tree-1, window-tree): New functions, moving
24280 the latter to window.el.
24281 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
24282 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
24283 (bw-refresh-edges): Remove.
24284 (balance-windows-1, balance-windows-2): New functions.
24285 (balance-windows): Rewrite in terms of window tree functions,
24286 balance-windows-1 and balance-windows-2.
24287 (bw-adjust-window): Remove.
24288 (balance-windows-area-adjust): New function with functionality of
24289 bw-adjust-window but using resize-window.
24290 (set-window-text-height): Rewrite doc-string.
24291 Use normalize-live-window and resize-window.
24292 (enlarge-window-horizontally, shrink-window-horizontally):
24293 Rename argument to DELTA.
24294 (window-buffer-height): New function.
24295 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
24296 Rewrite using new window resize routines.
24297 (kill-buffer-and-window, mouse-autoselect-window-select):
24298 Use ignore-errors instead of condition-case.
24299 (quit-window): Call delete-frame instead of delete-windows-on
24300 for the only buffer on frame.
24302 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24304 * loadup.el (top-level): Load window before files for the sake
24305 of replace-buffer-in-windows.
24307 * files.el (read-buffer-to-switch)
24308 (switch-to-buffer-other-window)
24309 (switch-to-buffer-other-frame, display-buffer-other-frame):
24312 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
24313 (previous-buffer): Move to window.el.
24315 * bindings.el (unbury-buffer): Move to window.el.
24317 * window.el (delete-other-windows-vertically): Move after
24318 definition of delete-other-windows.
24319 (other-window, delete-windows-on, replace-buffer-in-windows):
24320 Move here from window.c.
24321 (record-window-buffer, unrecord-window-buffer)
24322 (set-window-buffer-start-and-point, switch-to-prev-buffer)
24323 (switch-to-next-buffer): New functions.
24324 (get-next-valid-buffer, last-buffer, next-buffer): Move here
24325 from simple.el. Call switch-to-next-buffer.
24326 (previous-buffer): Move here from simple.el.
24327 Call switch-to-prev-buffer.
24328 (bury-buffer): Move here from buffer.c. Switch to previous
24329 buffer when window cannot be deleted.
24330 (unbury-buffer): Move here from bindings.el.
24331 (ctl-x-map): Move binding for other-window from window.c to
24333 (read-buffer-to-switch, switch-to-buffer-other-window)
24334 (switch-to-buffer-other-frame): Move here from files.el.
24335 (normalize-buffer-to-switch-to): New functions.
24336 (switch-to-buffer): Move here from buffer.c.
24337 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
24339 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24341 * window.el (window-min-height, window-min-width): Move here
24342 from window.c. Add defcustoms and rewrite doc-strings.
24343 (resize-mini-window, resize-window): New functions.
24344 (adjust-window-trailing-edge, enlarge-window, shrink-window):
24345 Move here from window.c.
24346 (maximize-window, minimize-window): New functions.
24347 (delete-window, delete-other-windows, split-window): Move here
24349 (window-split-min-size): New function.
24350 (split-window-keep-point): Mention split-window-above-each-other
24351 instead of split-window-vertically.
24352 (split-window-above-each-other, split-window-vertically):
24353 Rename split-window-vertically to split-window-above-each-other
24354 and provide defalias for old definition.
24355 (split-window-side-by-side, split-window-horizontally):
24356 Rename split-window-horizontally to split-window-side-by-side
24357 and provide defalias for the old definition.
24358 (ctl-x-map): Move bindings for delete-window,
24359 delete-other-windows and enlarge-window here from window.c.
24360 Replace bindings for split-window-vertically and
24361 split-window-horizontally by bindings for
24362 split-window-above-each-other and split-window-side-by-side.
24364 * cus-start.el (all): Remove entries for window-min-height and
24365 window-min-width. Add entries for window-splits and
24368 2011-06-09 Glenn Morris <rgm@gnu.org>
24370 * calendar/appt.el (appt-mode-line): New function.
24371 (appt-check, appt-disp-window): Use it.
24373 * files.el (hack-one-local-variable-eval-safep):
24374 Allow minor-modes with explicit +/-1 arguments.
24376 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
24378 * term/xterm.el (xterm): Add defgroup.
24379 (xterm-extra-capabilities): Add defcustom to supply known xterm
24380 capabilities, skip querying them, or query them (default).
24381 (terminal-init-xterm): Use it.
24382 (terminal-init-xterm-modify-other-keys): New function to set up
24383 modifyOtherKeys support to simplify `terminal-init-xterm'.
24385 2011-06-09 Martin Rudalics <rudalics@gmx.at>
24387 * window.el (resize-window-reset, resize-window-reset-1)
24388 (resize-subwindows-skip-p, resize-subwindows-normal)
24389 (resize-subwindows, resize-other-windows, resize-this-window)
24390 (resize-root-window, resize-root-window-vertically)
24391 (window-deletable-p, window-or-subwindow-p)
24392 (frame-root-window-p): New functions.
24394 2011-06-09 Glenn Morris <rgm@gnu.org>
24396 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
24397 (ange-ftp-get-files): Use it.
24399 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
24401 * mail/sendmail.el (mail-recover-1, mail-recover):
24402 * files.el (recover-file, recover-session):
24403 Handle dired-listing-switches not being just a single short option.
24405 2011-06-09 Glenn Morris <rgm@gnu.org>
24407 * calendar/appt.el (appt-display-message, appt-disp-window):
24408 Handle lists of appointments.
24410 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24412 * window.el (one-window-p): Move down in code.
24413 Rewrite doc-string.
24414 (window-current-scroll-bars): Rewrite doc-string.
24415 Normalize live window argument.
24416 (walk-windows, get-window-with-predicate, count-windows):
24417 Rewrite doc-string. Use window-list-1.
24418 (window-in-direction-2, window-in-direction, get-mru-window):
24421 2011-06-08 Reuben Thomas <rrt@sc3d.org>
24423 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
24424 Doc fix (Bug#8713).
24426 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
24428 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
24430 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
24432 * loadhist.el (unload-feature-special-hooks):
24433 Add `comint-output-filter-functions'.
24435 2011-06-08 Ivan Kanis <gnu@kanis.fr>
24437 * calendar/appt.el (appt-check): Move some initializations into the let.
24439 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24441 * window.el (window-height): Defalias to window-total-height.
24442 (window-width): Defalias to window-body-width.
24444 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
24446 * image-mode.el (image-toggle-animation): New command.
24447 (image-mode-map): Bind it to RET.
24448 (image-mode): Update message.
24449 (image-toggle-display-image): Avoid a spurious cache flush.
24450 (image-transform-rotation): Doc fix.
24451 (image-transform-properties): Return quickly in the normal case.
24452 (image-animate-loop): Rename from image-animate-max-time.
24454 * image.el (image-animate-max-time): Move to image-mode.el.
24455 (create-animated-image): Remove unnecessary function.
24456 (image-animate): Rename from image-animate-start. New arg.
24457 (image-animate-stop): Remove; just use image-animate-timer.
24458 (image-animate-timer): Use car-safe.
24459 (image-animate-timeout): Rename argument.
24461 2011-06-07 Martin Rudalics <rudalics@gmx.at>
24463 * window.el (get-lru-window, get-largest-window): Move here from
24464 window.c. Rename first argument to ALL-FRAMES.
24465 Rephrase doc-strings.
24466 (get-buffer-window-list): Rewrite using window-list-1.
24467 Rephrase doc-string.
24468 (window-safe-min-height, window-safe-min-width): New constants.
24469 (window-size-ignore, window-min-size, window-min-size-1)
24470 (window-sizable, window-sizable-p, window-size-fixed-1)
24471 (window-size-fixed-p, window-min-delta-1, window-min-delta)
24472 (window-max-delta-1, window-max-delta, window-resizable)
24473 (window-resizable-p, window-total-height, window-total-width)
24474 (window-body-width): New functions.
24475 (window-full-height-p, window-full-width-p): Rewrite using
24477 (window-body-height): Rewrite using window-body-size.
24479 2011-06-06 Martin Rudalics <rudalics@gmx.at>
24481 * window.el (window-right, window-left, window-child)
24482 (window-child-count, window-last-child, window-any-p)
24483 (normalize-live-buffer, normalize-live-frame)
24484 (normalize-any-window, normalize-live-window)
24485 (window-iso-combination-p, window-iso-combined-p)
24486 (window-iso-combinations)
24487 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
24488 (windows-with-parameter, window-with-parameter)
24489 (window-atom-root, make-window-atom, window-atom-check-1)
24490 (window-atom-check, window-side-check, window-check):
24492 (ignore-window-parameters, window-sides, window-sides-vertical)
24493 (window-sides-slots): New variables.
24494 (window-size-fixed): Move down in code. Minor doc-string fix.
24496 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
24498 * comint.el (comint-dynamic-complete-as-filename)
24499 (comint-dynamic-complete-filename): Correctly call
24500 completion-in-region.
24502 2011-06-05 Deniz Dogan <deniz@dogan.se>
24504 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
24507 2011-06-05 Deniz Dogan <deniz@dogan.se>
24509 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
24510 (rcirc): Use it to prompt for encryption.
24512 2011-06-05 Roland Winkler <winkler@gnu.org>
24514 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
24515 (bibtex-search-entries): New command bound to C-c C-a.
24516 (bibtex-display-entries): New function.
24518 2011-06-05 Roland Winkler <winkler@gnu.org>
24520 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
24521 (bibtex-insert-kill): After yanking insert newline if necessary.
24522 (bibtex-initialize): Call bibtex-string-files-init only once.
24523 (bibtex-mode): Do not call easy-menu-add.
24524 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
24525 (bibtex-yank): Set arg properly if nil.
24527 2011-06-05 Roland Winkler <winkler@gnu.org>
24529 * textmodes/bibtex.el (bibtex-search-entry-globally):
24531 (bibtex-search-entry): Use it.
24533 2011-06-05 Roland Winkler <winkler@gnu.org>
24535 * textmodes/bibtex.el (bibtex-entry-format): New option
24537 (bibtex-format-entry, bibtex-reformat): Honor this option.
24538 (bibtex-parse-entry): Return fields in proper order.
24540 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
24542 * doc-view.el (doc-view-remove-if): Move computation of result out
24543 of `dolist' to silence misleading lexical-binding warning.
24545 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
24547 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
24548 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
24550 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24552 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
24555 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24557 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
24558 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
24559 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
24560 (tramp-parse-putty):
24561 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
24562 (tramp-completion-function-alist-ssh)
24563 (tramp-completion-function-alist-telnet)
24564 (tramp-completion-function-alist-su)
24565 (tramp-completion-function-alist-putty): Set `tramp-autoload'
24568 * net/tramp-ftp.el:
24570 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
24571 load "tramp.el" `tramp-set-completion-function'.
24573 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
24575 * shell.el: Require and use pcomplete.
24576 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
24577 (shell-completion-vars): Set pcomplete-default-completion-function.
24579 2011-06-04 Deniz Dogan <deniz@dogan.se>
24581 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
24584 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24586 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
24588 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
24590 * bs.el (bs--mark-unmark, bs--nth-wrapper):
24591 * mpc.el (mpc-select-extend, mpc-songpointer-context):
24592 * vc/log-view.el (log-view-beginning-of-defun):
24593 * vc/smerge-mode.el (smerge-apply-resolution-patch)
24594 (smerge-refine-forward, smerge-refine-chopup-region):
24595 Silence warning for unused `dotimes' counter variables.
24597 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24599 * net/tramp.el (tramp-with-progress-reporter): Rename from
24600 with-progress-reporter. Use `declare'.
24601 * net/tramp-smb.el:
24603 * net/tramp-gvfs.el: Update all uses.
24605 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
24607 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
24608 buffer isn't killed before making it current.
24610 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24612 Silence various byte-compiler warnings.
24613 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
24614 `access-type' and new obsolescence format.
24615 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
24617 (byte-compile-check-variable): New `access-type' argument.
24618 Only warn if the access-type is obsolete.
24619 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24620 (byte-compile-variable-set): Adjust callers.
24621 * help-fns.el (describe-variable): Adjust to new obsolescence format.
24622 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
24623 setting it as obsolete.
24624 * simple.el (minibuffer-completing-symbol):
24625 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
24626 access as obsolete.
24627 * minibuffer.el (minibuffer-completing-file-name): Don't make it
24629 * international/quail.el (quail-mouse-choose-completion): Remove unused
24630 code referring to obsolete var.
24631 (quail-choose-completion-string): Remove.
24632 * server.el (server-clients-with, server-kill-buffer-query-function)
24633 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
24634 * proced.el (proced-send-signal):
24635 * emacs-lisp/lisp.el (lisp-complete-symbol):
24636 Replace completion-annotate-function with completion-extra-properties.
24638 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24640 * simple.el (goto-line): Use read-number.
24641 (overriding-map-is-bound): Remove.
24642 (saved-overriding-map): Change default.
24643 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
24644 Take the map as argument.
24645 (universal-argument, negative-argument, digit-argument): Use it.
24646 (restore-overriding-map): Adjust.
24647 (do-auto-fill): Use fill-forward-paragraph.
24648 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
24650 * minibuffer.el (minibuffer-inactive-mode-map): New var.
24651 (minibuffer-inactive-mode): New major mode.
24652 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
24653 the *Messages* buffer" hack.
24654 (mouse-popup-menubar): Don't burp if the event is a normal key.
24656 Miscellaneous tweaks.
24657 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
24658 lexical scoping as in subr.el's dolist and dotimes.
24659 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
24660 Silence compiler warning.
24661 * thingatpt.el (forward-whitespace): Trivial coding style fix.
24662 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
24663 * international/ccl.el (ccl-compile): Trivial simplification.
24664 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
24665 * emacs-lisp/testcover.el (testcover-end): Remove spurious
24666 `printflag' argument.
24667 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
24668 Purecopy the whole obsolescence data.
24670 2011-06-01 Leo Liu <sdl.web@gmail.com>
24672 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
24673 improve doc-string as suggested by Marco Pessotto
24674 <melmothx@gmail.com>.
24675 (rcirc-print): Fix last change.
24677 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24679 * minibuffer.el (complete-with-action): Return nil for the metadata and
24680 boundaries of non-functional tables.
24681 (completion-table-dynamic): Return nil for the metadata.
24682 (completion-table-with-terminator): Add default case, using
24683 complete-with-action.
24684 (completion--metadata): New function.
24685 (completion-all-sorted-completions, minibuffer-completion-help): Use it
24686 to try and avoid pathological performance problems.
24687 (completion--embedded-envvar-table): Return `category' metadata.
24689 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
24691 * subr.el (process-alive-p): New tiny convenience function.
24693 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24695 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
24696 content but also its previous major mode.
24698 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
24700 * emacs-lisp/debug.el (debug): Restore the previous content of the
24701 *Backtrace* buffer when we exit with C-M-c.
24703 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24705 * minibuffer.el: Add metadata method to completion tables.
24706 (completion-category-overrides): New defcustom.
24707 (completion-metadata, completion--field-metadata)
24708 (completion-metadata-get, completion--styles)
24709 (completion--cycle-threshold): New functions.
24710 (completion-try-completion, completion-all-completions):
24711 Add `metadata' argument to choose completion-styles.
24712 (completion--do-completion): Use metadata to choose cycling.
24713 (completion-all-sorted-completions): Use metadata for sorting.
24714 Remove :completion-cycle-penalty which is not needed any more.
24715 (completion--try-word-completion): Add `metadata' argument.
24716 (minibuffer-completion-help): Check metadata for annotation function
24718 (completion-file-name-table): Return `category' metadata.
24719 (minibuffer-completing-file-name): Make obsolete.
24720 * simple.el (minibuffer-completing-symbol): Make obsolete.
24721 * icomplete.el (icomplete-completions): Pass new `metadata' param to
24722 completion-try-completion.
24724 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
24726 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
24728 2011-05-30 Leo Liu <sdl.web@gmail.com>
24730 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
24731 (rcirc-print): Decode all incoming messages (bug#8744).
24732 (rcirc-decode-coding-system): Allow value nil for automatic coding
24735 2011-06-01 Glenn Morris <rgm@gnu.org>
24737 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
24739 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24741 * image.el (image-animate-max-time): Allow nil and t values.
24743 (create-animated-image): Doc fix.
24744 (image-animate-start): Remove second arg; just use
24745 image-animate-max-time.
24746 (image-animate-timeout): Doc fix. Args changed.
24748 * image-mode.el (image-toggle-display-image): Ensure that the
24749 image spec passed to the animate timer is the same object as in
24750 the buffer's display property (Bug#6981).
24751 (image-transform-properties): Doc fix.
24753 * image.el (image-animate-max-time): Default to nil.
24755 2011-05-29 Martin Rudalics <rudalics@gmx.at>
24757 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
24758 entire buffer list (Bug#8184).
24760 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24762 * image.el (imagemagick-types-inhibit)
24763 (imagemagick-register-types): Doc fix.
24765 2011-05-29 Deniz Dogan <deniz@dogan.se>
24767 * net/rcirc.el (rcirc): Use the user's stored encryption method by
24770 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24772 * select.el: Don't perform clipboard-manager saving in hooks;
24773 leave the hooks empty.
24775 2011-05-28 Leo Liu <sdl.web@gmail.com>
24777 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
24778 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
24779 (occur-edit-mode): New major mode (Bug#8463).
24780 (occur-after-change-function): New function.
24781 (occur-engine): Give Occur tags a read-only property.
24783 2011-05-28 Kevin Ryde <user42@zip.com.au>
24785 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
24787 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24789 * bindings.el (help-echo): Make the initial non-indicator dash
24790 empty on graphical terminals (Bug#7295).
24792 * files.el (auto-mode-alist): Move config rule after the
24793 in-stripping one (Bug#8547).
24795 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
24797 * startup.el (normal-splash-screen): Remove gratuitous mode-line
24798 setting (Bug#8740).
24800 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
24802 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
24803 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
24806 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24808 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
24810 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
24812 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
24813 (hs-hide-block-at-point, hs-find-block-beginning)
24814 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
24817 2011-05-28 Glenn Morris <rgm@gnu.org>
24819 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
24821 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24823 * help-fns.el (describe-function-1): If the function is a derived
24824 major mode, print the parent mode.
24826 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
24827 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
24829 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
24831 * minibuffer.el (completion--capf-wrapper): Check applicability before
24832 returning non-nil for non-exclusive completion data.
24833 * progmodes/etags.el (tags-completion-at-point-function):
24834 * info-look.el (info-lookup-completions-at-point): Mark as
24836 (info-complete): Adjust accordingly.
24838 * info-look.el: Convert to lexical-binding and completion-at-point.
24839 (info-lookup-completions-at-point): New function.
24840 (info-complete): Use it and completion-in-region.
24842 2011-05-28 Drew Adams <drew.adams@oracle.com>
24844 * isearch.el: Let M-e start with point at the first mismatched char.
24845 (isearch-fail-pos): New function.
24846 (isearch-edit-string): Use it.
24848 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24850 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24852 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
24854 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
24855 traversal functions for avl-trees.
24856 (avl-tree--stack): New struct.
24857 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
24858 (avl-tree-enter): Add optional `updatefun' arg.
24859 (avl-tree--do-enter): Add optional `updatefun' arg.
24860 Change return value.
24861 (avl-tree-delete): Add optional `test' and `nilflag' args.
24862 (avl-tree--do-delete): Add `test' and `nilflag' args.
24863 Change return value.
24864 (avl-tree-member): Add optional `nilflag'
24865 (avl-tree-member-p): New function.
24866 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
24867 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
24868 (avl-tree-stack-empty-p): New functions.
24870 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
24871 avl-tree--del-balance1 and make it work both ways.
24872 (avl-tree--del-balance2): Remove.
24873 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
24874 make it work both ways.
24875 (avl-tree--enter-balance2): Remove.
24876 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
24878 (avl-tree--mapc, avl-tree-map): Add direction argument.
24880 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
24882 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
24884 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
24886 * select.el: Support clipboard managers with built-in function
24887 x-clipboard-manager-save, via delete-frame-functions and
24889 (xselect-convert-to-targets): Add MULTIPLE target to list.
24890 (xselect-convert-to-save-targets): New function.
24892 2011-05-27 Kenichi Handa <handa@m17n.org>
24894 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
24895 let-binding rfc2047-encode-encoded-words to nil.
24897 2011-05-27 Glenn Morris <rgm@gnu.org>
24899 * mail/emacsbug.el: Don't require url-util.
24901 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
24903 * files.el (set-auto-mode):
24904 Also respect mode: entries at the end of the file. (Bug#8586)
24906 2011-05-26 Glenn Morris <rgm@gnu.org>
24908 * files.el (hack-local-variables-prop-line, hack-local-variables):
24909 Downcase mode names, as seems to be traditional.
24910 (hack-local-variables, hack-local-variables-apply): Doc fixes.
24912 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
24913 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
24915 2011-05-25 Julien Danjou <julien@danjou.info>
24917 * textmodes/rst.el (rst-define-level-faces): Do not define face
24918 symbol if it is already defined.
24920 2011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
24922 * play/5x5.el (5x5-new-game, 5x5-randomize):
24923 Reset 5x5-solver-output to nil when a new grid is cast.
24924 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
24925 these debugging traces, as defmacro breaks the compiled code.
24927 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24929 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24931 2011-05-24 Leo Liu <sdl.web@gmail.com>
24933 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
24934 (vc-bzr-sha1): Adapt.
24936 * sha1.el: Remove. Function `sha1' is now builtin.
24938 * bindings.el: Provide sha1 feature.
24940 2011-05-24 Kenichi Handa <handa@m17n.org>
24942 * mail/sendmail.el: Require `rfc2047'.
24943 (mail-insert-from-field): Do not perform RFC2047 encoding.
24944 (mail-encode-header): New function.
24945 (sendmail-send-it): Set buffer-file-coding-system of the work
24946 buffer to the return value of select-message-coding-system.
24947 Call mail-encode-header.
24949 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
24951 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
24953 * mail/supercite.el (sc-default-cite-frame):
24954 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
24956 2011-05-24 Glenn Morris <rgm@gnu.org>
24958 * progmodes/python.el (brm-menu): Declare.
24960 * emulation/viper.el (viper-set-hooks): Declare.
24962 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
24963 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
24964 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
24965 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
24966 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
24967 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
24969 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
24971 Add an :exit-function for completion-at-point.
24973 * minibuffer.el (completion--done): New fun.
24974 (completion--do-completion): Use it. New arg `expect-exact'.
24975 (minibuffer-complete, minibuffer-complete-word): Don't output message,
24976 since completion--do-completion does it for us now.
24977 (minibuffer-force-complete): Use completion--done and
24978 completion--replace. Handle sole-completion case with more care.
24979 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
24980 (completion-extra-properties): New var.
24981 (completion-annotate-function): Make obsolete.
24982 (minibuffer-completion-help): Adjust accordingly.
24983 Use completion-list-insert-choice-function.
24984 (completion-at-point, completion-help-at-point):
24985 Bind completion-extra-properties.
24986 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
24987 * simple.el (completion-list-insert-choice-function): New var.
24988 (completion-setup-function): Preserve it.
24989 (choose-completion): Pay attention to it, shuffle the code a bit.
24990 (choose-completion-string): New arg `insert-function'.
24992 * textmodes/bibtex.el: Convert to lexical binding.
24993 (bibtex-mode-map): Use completion-at-point.
24994 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
24995 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
24996 (bibtex-complete): Define as obsolete alias.
24997 (bibtex-complete-internal): Remove.
24998 (bibtex-format-entry): Remove unused sub-group in regexp.
24999 * shell.el (shell--command-completion-data)
25000 (shell-environment-variable-completion):
25001 * pcomplete.el (pcomplete-completions-at-point):
25002 * comint.el (comint--complete-file-name-data): Use :exit-function
25003 instead of completion-table-with-terminator so it also works for
25006 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25008 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
25010 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
25013 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
25015 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
25017 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
25018 customization variable and implement: If non-nil, auto-fill will
25019 be inhibited while on topic's header line.
25021 2011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
25023 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
25024 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
25025 always have a solution in grid size = 5 cases.
25026 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
25027 (5x5-solver-output, 5x5-log-buffer): New vars.
25028 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
25029 Make these variables buffer local to achieve 5x5 multi-session-ness.
25030 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
25031 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
25032 (5x5-solve-suggest): New funs.
25033 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
25034 randomize a grid so that we ensure that there is always a solution.
25035 (5x5-make-random-grid): Allow other movement than flipping.
25037 2011-05-23 Kevin Ryde <user42@zip.com.au>
25039 * emacs-lisp/advice.el (ad-read-advised-function):
25040 Use `function-called-at-point' as the default, if it has
25041 advice and passes PREDICATE.
25043 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25045 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
25046 byte-compile-lambda if it's actually a lambda.
25048 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
25049 Fix function quoting. Use backquote better.
25051 2011-05-22 Yuanle Song <sylecn@gmail.com>
25053 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
25054 matching (Bug#8516).
25056 2011-05-22 Jari Aalto <jari.aalto@cante.net>
25058 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
25059 different face (Bug#8178).
25061 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
25063 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
25064 defface (Bug#8144).
25066 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
25068 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
25069 funcall as well (bug#8712). Warn when performing those conversions.
25070 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
25072 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
25074 2011-05-22 Glenn Morris <rgm@gnu.org>
25076 * files.el (hack-local-variables-prop-line): Small simplifications.
25077 (hack-local-variables, hack-local-variables-prop-line):
25078 If MODE-ONLY, return the mode, rather than just `t'.
25080 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
25082 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
25084 2011-05-21 Glenn Morris <rgm@gnu.org>
25086 * files.el (hack-local-variables-prop-line, hack-local-variables):
25087 If only interested in the mode, don't bother doing the other stuff.
25089 * image-mode.el (image-after-revert-hook):
25090 Redraw all frames on which the image is visible. (Bug#8567)
25092 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
25094 * wid-edit.el (widget-checklist-match-inline):
25095 Fix 2011-04-19 change. (Bug#8649)
25097 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
25099 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
25100 Also allow singlespace after single-letter capitals followed by a dot.
25102 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
25103 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
25105 2011-05-20 Nix <nix@esperi.org.uk>
25107 * files.el (basic-save-buffer-2):
25108 Fix handling of break-hardlink-on-save with non-existent files.
25110 2011-05-19 Deniz Dogan <deniz@dogan.se>
25112 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
25113 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
25115 2011-05-19 Glenn Morris <rgm@gnu.org>
25117 * progmodes/f90.el (f90-type-def-re):
25118 Handle "type, bind(c)". (Bug#8691)
25120 * emacs-lisp/autoload.el (batch-update-autoloads):
25121 Set autoload-excludes by parsing loadup.el rather than Makefiles.
25123 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
25125 * net/tramp.el (tramp-process-actions): Set "first-password-request"
25126 property for the correct connection in case of multihops.
25128 2011-05-18 Glenn Morris <rgm@gnu.org>
25130 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
25131 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
25133 Rationalize calendar handling of day and month abbrev-arrays.
25134 * calendar/calendar.el (calendar-customized-p): New function.
25135 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
25136 (calendar-day-name-array, calendar-month-name-array): Doc fix.
25138 (calendar-abbrev-length, calendar-day-abbrev-array)
25139 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
25140 (calendar-day-abbrev-array, calendar-month-abbrev-array):
25141 Elements may no longer be nil.
25142 (calendar-day-name, calendar-month-name):
25143 Update for changed nature of abbrev arrays.
25144 * calendar/diary-lib.el (diary-name-pattern):
25145 Update for changed nature of abbrev arrays.
25146 (diary-mark-entries-1): Update calendar-make-alist calls.
25147 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
25148 * calendar/cal-html.el (cal-html-day-abbrev-array):
25149 Simply inherit from calendar-day-abbrev-array.
25151 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
25153 * progmodes/grep.el (grep-mode): Disable default
25154 compilation-directory-matcher setting (bug#8684).
25156 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
25158 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
25159 instead of "head" and "tail". There were problems with SunOS 5.9,
25160 and it performs better.
25162 2011-05-17 Glenn Morris <rgm@gnu.org>
25164 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
25166 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
25167 Replace obsolete function.
25169 * shell.el (pcomplete-parse-arguments-function): Declare.
25171 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
25172 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
25173 (appt-check): Doc fixes.
25174 (appt-disp-window-function, appt-delete-window-function):
25175 Remove needless special case in custom :type.
25176 (appt-display-count): Default to 0, not nil.
25177 (appt-check): Reset appt-display-count to 0, not nil.
25179 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
25181 * progmodes/python.el (python-font-lock-keywords):
25182 Add the Python 3.X keyword "nonlocal" (bug#8639).
25184 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
25186 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
25188 2011-05-16 Kevin Ryde <user42@zip.com.au>
25190 * info-look.el (makefile-automake-mode): New setups, looking in
25191 automake manual, then makefile-mode.
25192 (makefile-mode): Remove automake manual, have it just in
25193 makefile-automake-mode since there's various things different or
25194 not relevant to plain make.
25195 (makefile-mode): Remove "other-modes" non-existent automake-mode,
25196 believe a hypothetical automake-mode would go to makefile-mode,
25197 not the other way around.
25199 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
25201 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
25202 hunk-end tags (Bug#8672).
25204 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
25205 vc-annotate-show-diff-revision-at-line (Bug#8671).
25207 2011-05-14 Glenn Morris <rgm@gnu.org>
25209 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
25210 in the middle of an existing one with multiple authors. (Bug#8645)
25211 (change-log-font-lock-keywords): Also handle multiple author lines
25212 with leading tabs. (Bug#8644)
25214 * calendar/appt.el (appt-check): Rename some local variables.
25215 Some simplification/reordering.
25217 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
25218 (feedmail-sendmail-f-doesnt-sell-me-out)
25219 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25220 (feedmail-debug-sit-for, feedmail-queue-express-hook)
25221 (feedmail-queue-runner-message-sender): Set :version.
25222 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
25223 (bbdb-dwim-net-address, vm-mail): Declare.
25224 (feedmail-binmail-gnulinuxish-template):
25225 Rename from feedmail-binmail-linuxish-template.
25226 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
25227 Use insert-buffer-substring.
25229 2011-05-14 Bill Carpenter <bill@carpenter.org>
25231 * mail/feedmail.el (feedmail-patch-level): Increase.
25232 (feedmail-debug): New custom group.
25233 (feedmail-confirm-outgoing-timeout)
25234 (feedmail-sendmail-f-doesnt-sell-me-out)
25235 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25236 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
25237 (feedmail-sender-line, feedmail-from-line)
25238 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
25239 (feedmail-spray-this-address)
25240 (feedmail-spray-address-fiddle-plex-list)
25241 (feedmail-queue-use-send-time-for-date)
25242 (feedmail-queue-use-send-time-for-message-id)
25243 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
25244 (feedmail-buffer-eating-function):
25246 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
25247 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
25248 (feedmail-message-action-scroll-down): New functions.
25249 (feedmail-queue-directory, feedmail-queue-draft-directory):
25250 Use expand-file-name.
25251 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
25252 Remove C-v help entry.
25253 (feedmail-queue-buffer-file-name): New variable.
25254 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
25255 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
25256 (feedmail-message-action-send-strong, feedmail-message-action-edit)
25257 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
25258 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
25259 (feedmail-message-action-toggle-spray)
25260 (feedmail-run-the-queue-no-prompts)
25261 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
25262 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
25263 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
25264 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
25265 (feedmail-envelope-deducer, feedmail-fiddle-from)
25266 (feedmail-fiddle-sender, feedmail-default-date-generator)
25267 (feedmail-fiddle-date, feedmail-fiddle-message-id)
25268 (feedmail-fiddle-spray-address)
25269 (feedmail-fiddle-list-of-spray-fiddle-plexes)
25270 (feedmail-fiddle-list-of-fiddle-plexes)
25271 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
25272 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
25273 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
25274 Change default. Doc fix.
25275 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
25276 (feedmail-binmail-linuxish-template): New constant.
25277 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
25278 Respect feedmail-sendmail-f-doesnt-sell-me-out.
25279 (feedmail-send-it): Add debug call.
25280 Use feedmail-queue-buffer-file-name, and
25281 feedmail-send-it-immediately-wrapper.
25282 (feedmail-message-action-send): Add debug call.
25283 Use feedmail-send-it-immediately-wrapper.
25284 (feedmail-queue-express-to-queue): Add debug call.
25285 Run feedmail-queue-express-hook.
25286 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
25287 (feedmail-message-action-help-blat):
25288 Rename from feedmail-queue-send-edit-prompt-help-first.
25289 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
25290 Check line-endings. Handle errors better.
25291 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
25292 Doc fix. Add debug call.
25293 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
25294 Use feedmail-queue-send-edit-prompt-inner.
25295 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
25296 (feedmail-queue-send-edit-prompt-inner): New function, extracted
25297 from feedmail-queue-send-edit-prompt.
25298 (feedmail-queue-send-edit-prompt-help)
25299 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
25300 (feedmail-tidy-up-slug): Add debug call.
25301 Respect feedmail-queue-slug-suspect-regexp.
25302 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
25303 (feedmail-dump-message-to-queue): Add debug call.
25304 Expand queue-directory.
25305 (feedmail-dump-message-to-queue): Change message slightly.
25306 Use feedmail-say-chatter.
25307 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
25308 (feedmail-send-it-immediately-wrapper): New function.
25309 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
25310 Insert empty string rather than newline. Handle full-frame case.
25311 Use catch/throw. Use feedmail-say-chatter.
25312 (feedmail-fiddle-from): Try mail-host-address.
25313 (feedmail-default-message-id-generator): Doc fix.
25314 Bind system-time-locale. Handle missing end.
25315 (feedmail-fiddle-x-mailer): Add debug call.
25316 Handle feedmail-x-mailer-line being nil.
25317 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
25318 Add debug call. Use buffer-substring-no-properties.
25319 (feedmail-say-debug, feedmail-say-chatter): New functions.
25320 (feedmail-find-eoh): Give an explicit error.
25322 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
25324 * net/newst-treeview.el (newsticker-treeview-face): Change default
25325 family from helvetica to sans.
25326 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
25327 etc/images/newsticker.
25329 * net/newst-reader.el (newsticker-feed-face): Change default
25330 family from helvetica to sans.
25332 * net/newst-plainview.el (newsticker-new-item-face)
25333 (newsticker-old-item-face, newsticker-immortal-item-face)
25334 (newsticker-obsolete-item-face, newsticker-date-face)
25335 (newsticker-statistics-face): Change default family from
25337 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
25338 etc/images/newsticker.
25340 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
25341 (newsticker--process-auto-mark-filter-match): Tell user about
25344 2011-05-13 Didier Verna <didier@xemacs.org>
25346 Common Lisp indentation improvements on defmethod and lambda-lists.
25347 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
25349 (lisp-lambda-list-keyword-parameter-indentation)
25350 (lisp-lambda-list-keyword-parameter-alignment)
25351 (lisp-lambda-list-keyword-alignment): New customizable user options.
25352 (lisp-indent-defun-method): Improve docstring.
25353 (extended-loop-p): Fix comment.
25354 (lisp-indent-lambda-list-keywords-regexp): New variable.
25355 (lisp-indent-lambda-list): New function.
25356 (lisp-indent-259): Use it.
25357 (lisp-indent-defmethod): Support for more than one
25358 method qualifier and properly indent methods lambda-lists.
25359 (defgeneric): Provide a missing common-lisp-indent-function property.
25361 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
25363 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
25364 bounds for the empty string (bug#8667).
25366 2011-05-13 Glenn Morris <rgm@gnu.org>
25368 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
25370 * mail/sendmail.el (sendmail-program): Try executable-find first.
25371 (sendmail-send-it): `sendmail-program' cannot be unbound.
25373 * calendar/appt.el (appt-make-list): Simplify.
25374 (appt-time-msg-list): Doc fix.
25375 (appt-check): Change mode-line message at the time of the appointment.
25377 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
25379 * progmodes/ld-script.el (ld-script-keywords)
25380 (ld-script-builtins): Update keywords list.
25382 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25384 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
25386 * shell.el (shell-completion-vars): New function.
25388 * simple.el (read-shell-command): Use it.
25389 (blink-matching-open): No need for " [...]" in minibuffer-message.
25391 2011-05-12 Glenn Morris <rgm@gnu.org>
25393 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
25394 (appt-check): Simplify.
25396 2011-05-12 Eli Zaretskii <eliz@gnu.org>
25398 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
25399 literal "/dev/null".
25401 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25403 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
25406 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
25408 * progmodes/which-func.el (which-function):
25409 Use add-log-current-defun instead of add-log-current-defun-function,
25410 which might not be defined (Bug#8260).
25412 2011-05-12 Glenn Morris <rgm@gnu.org>
25414 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
25415 Let byte-compile-initial-macro-environment always take precedence.
25417 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25419 * net/rcirc.el: Add support for SSL/TLS connections.
25420 (rcirc-server-alist): New field `encryption'.
25421 (rcirc): Check `encryption' settings.
25422 (rcirc-connect): New arg `encryption'. Use open-network-stream.
25423 Merge make-local-variable into `set'.
25424 (rcirc--connection-open-p): New function.
25425 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
25426 the process is not a network process (e.g. running gnutls-cli).
25427 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
25428 Make rcirc-(en|de)code-coding-system local here.
25429 (rcirc-mode): Merge make-local-variable into `set'.
25430 (rcirc-parent-buffer): Make permanent buffer-local.
25431 (rcirc-multiline-minor-mode): Don't do it here.
25432 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
25433 there's no server buffer.
25435 2011-05-11 Glenn Morris <rgm@gnu.org>
25437 * newcomment.el (comment-kill): Prefix "unused" local.
25439 * term/w32console.el (get-screen-color): Declare.
25441 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
25442 Handle symbol elements of byte-compile-initial-macro-environment.
25444 2011-05-10 Leo Liu <sdl.web@gmail.com>
25446 * bookmark.el (bookmark-bmenu-mode-map):
25447 Bind bookmark-bmenu-search to `/'.
25449 * mail/footnote.el: Convert to utf-8 encoding.
25450 (footnote-unicode-string, footnote-unicode-regexp): New variable.
25451 (Footnote-unicode): New function.
25452 (footnote-style-alist): Add unicode style to the list.
25453 (footnote-style): Doc fix.
25455 2011-05-10 Jim Meyering <meyering@redhat.com>
25457 Fix doubled-word typos.
25458 * international/quail.el (quail-insert-kbd-layout): and and -> and
25459 * kermit.el: and and -> and
25460 * net/ldap.el (ldap-search-internal): to to -> to
25461 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
25462 * progmodes/js.el (js-mode): and and -> and
25463 * textmodes/artist.el (artist-move-to-xy): at at -> at
25464 (artist-draw-region-trim-line-endings): if if -> if
25465 And Safetyc -> Safety.
25466 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
25468 2011-05-10 Glenn Morris <rgm@gnu.org>
25469 Stefan Monnier <monnier@iro.umontreal.ca>
25471 * files.el (hack-one-local-variable-eval-safep):
25472 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
25474 2011-05-10 Glenn Morris <rgm@gnu.org>
25476 * calendar/diary-lib.el (diary-list-entries-hook)
25477 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
25478 (diary-nongregorian-marking-hook, diary-list-entries)
25479 (diary-include-other-diary-files, diary-mark-entries)
25480 (diary-mark-included-diary-files): Doc fixes.
25482 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25484 * misc.el: Require tabulated-list.el during compilation.
25486 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25488 * progmodes/compile.el (compilation-start):
25489 Run compilation-filter-hook for the async case too.
25490 (compilation-filter-hook): Doc fix.
25492 2011-05-09 Deniz Dogan <deniz@dogan.se>
25494 * wdired.el: Remove outdated installation comment. Fix usage
25497 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25499 * misc.el: Implement new command `list-dynamic-libraries'.
25500 (list-dynamic-libraries--loaded-only-p): New variable.
25501 (list-dynamic-libraries--refresh): New function.
25502 (list-dynamic-libraries): New command.
25504 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25506 * progmodes/compile.el (compilation-error-regexp-alist-alist):
25507 Fix the ant regexp to handle end-line and end-column info from jikes.
25508 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
25509 higher priority to avoid clobbering by gnu.
25511 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25513 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
25514 if the face has existing theme settings (Bug#8454).
25516 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
25518 * progmodes/perl-mode.el (perl-imenu-generic-expression):
25519 Only match variables declared via `my' or `our' (Bug#8261).
25521 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
25522 special file names `.' and `..' (Bug#8259).
25524 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25526 * progmodes/grep.el (grep-mode-font-lock-keywords):
25527 Remove buffer-changing entries.
25528 (grep-filter): New function.
25529 (grep-mode): Add it to compilation-filter-hook.
25531 * progmodes/compile.el (compilation-filter-hook)
25532 (compilation-filter-start): New defvars.
25533 (compilation-filter): Call compilation-filter-hook prior to
25534 updating the process mark.
25536 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
25538 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
25540 2011-05-07 Eli Zaretskii <eliz@gnu.org>
25542 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
25543 mailclient-send-it even if window-system is nil. (Bug#8595)
25545 * term/w32console.el (terminal-init-w32console):
25546 Call get-screen-color and use its output to set the frame
25547 background-mode. (Bug#8597)
25549 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
25551 Make bytecomp.el understand that defmethod defines funs (bug#8631).
25552 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
25554 (defgeneric, eieio--defmethod): Use them.
25555 (eieio-defgeneric): Remove.
25556 (defmethod): Call defgeneric in a way visible to the byte-compiler.
25558 2011-05-07 Glenn Morris <rgm@gnu.org>
25560 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
25561 Use let rather than let*.
25562 (timeclock-find-discrep): Remove unused local.
25564 * calendar/diary-lib.el (diary-comment-start): Doc fix.
25566 * calendar/appt.el (appt-time-msg-list): Doc fix.
25568 2011-05-06 Noah Friedman <friedman@splode.com>
25570 * apropos.el (apropos-print-doc): Only use
25571 emacs-lisp-docstring-fill-column when it is bound to an integer,
25572 per that variable's documentation.
25574 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
25576 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
25577 and warnings are not silently discarded (e.g. use -d instead of -P).
25579 2011-05-06 Glenn Morris <rgm@gnu.org>
25581 * calendar/appt.el (appt-message-warning-time): Doc fix.
25582 (appt-warning-time-regexp): New option.
25583 (appt-make-list): Respect appt-message-warning-time.
25585 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
25587 (diary-add-to-list): Strip comments from the displayed string.
25588 (diary-mode): Set comment-start and comment-end.
25590 * vc/diff-mode.el (smerge-refine-subst): Declare.
25591 (diff-refine-hunk): Don't require smerge-mode when compiling.
25593 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
25595 * simple.el (list-processes): Return nil as the docstring says.
25597 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25599 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
25601 (ange-ftp-write-region, ange-ftp-insert-file-contents)
25602 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
25603 determining of binary transfer. (Bug#7383)
25605 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25607 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25608 Fix port computation bug. (Bug#8618)
25610 2011-05-05 Glenn Morris <rgm@gnu.org>
25612 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
25614 * simple.el (shell-dynamic-complete-functions)
25615 (comint-dynamic-complete-functions): Declare.
25617 * net/network-stream.el (gnutls-negotiate):
25618 * simple.el (tabulated-list-print): Fix declarations.
25620 * progmodes/gud.el (syntax-symbol, syntax-point):
25621 Remove unnecessary and incorrect declarations.
25623 * emacs-lisp/check-declare.el (check-declare-scan):
25624 Handle byte-compile-initial-macro-environment in bytecomp.el.
25626 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
25628 Fix earlier half-done eieio-defmethod change (bug#8338).
25629 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
25630 Streamline and change calling convention.
25631 (defmethod): Adjust accordingly and simplify.
25632 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
25633 new eieio--defmethod.
25634 (slot-boundp): Minor CSE simplification.
25636 2011-05-05 Milan Zamazal <pdm@zamazal.org>
25638 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
25639 (glasses-make-readable): Use glasses-separate-capital-groups.
25641 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
25643 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
25644 (warning-series): Doc fix.
25645 (display-warning): Don't try to create the buffer if we just found it.
25647 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
25649 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
25650 (autoload-find-generated-file): New function.
25651 (generate-file-autoloads): Bind generated-autoload-file to
25653 (update-file-autoloads, update-directory-autoloads):
25654 Use autoload-find-generated-file. If called interactively, prompt for
25655 output file (Bug#7989).
25656 (batch-update-autoloads): Doc fix.
25658 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
25660 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
25662 2011-05-04 Glenn Morris <rgm@gnu.org>
25664 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
25665 function, so it follows changes in calendar-date-style.
25666 (diary-fancy-date-matcher): New function.
25667 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
25668 (diary-fancy-font-lock-fontify-region-function):
25669 Use diary-fancy-date-pattern as a function.
25671 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
25672 non-numbers for `year' etc pseudo-variables. (Bug#8583)
25674 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
25676 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
25677 instead of positional arguments. Allow :keylist and :crlfiles
25679 (open-gnutls-stream): Call it.
25681 * net/network-stream.el (network-stream-open-starttls): Adjust to
25682 call `gnutls-negotiate' with :process and :hostname arguments.
25684 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
25686 * minibuffer.el (completion--message): New function.
25687 (completion--do-completion, minibuffer-complete)
25688 (minibuffer-force-complete, minibuffer-complete-word): Use it.
25689 (completion--do-completion): Don't ignore completion-auto-help when in
25692 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
25693 internal encoding (e.g. tibetan zero is not whitespace).
25694 (global-whitespace-mode): Prefer save-current-buffer.
25695 (whitespace-trailing-regexp): Remove useless save-match-data.
25696 (whitespace-empty-at-bob-regexp): Minor simplification.
25698 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
25700 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
25702 2011-05-03 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
25704 * textmodes/ispell.el (ispell-add-per-file-word-list):
25705 Use `concat' to create string for insertion.
25707 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25709 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
25710 Avoid open-line which runs post-self-insert-hook.
25711 (bibtex-fill-entry): Remove unused `end' var.
25713 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
25715 * textmodes/ispell.el (ispell-add-per-file-word-list):
25716 Protect against `nil' value of `comment-start' (Bug#8579).
25718 2011-05-03 Leo Liu <sdl.web@gmail.com>
25720 * isearch.el (isearch-yank-pop): New command.
25721 (isearch-mode-map): Bind it to `M-y'.
25722 (isearch-forward): Mention it.
25724 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25726 * simple.el (minibuffer-complete-shell-command): Remove.
25727 (minibuffer-local-shell-command-map): Use completion-at-point.
25728 (read-shell-command): Setup completion vars here instead.
25729 (read-expression-map): Bind TAB to symbol completion.
25731 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
25732 error directly rather via storing it into `results'.
25734 2011-05-02 Leo Liu <sdl.web@gmail.com>
25736 * vc/diff.el: Fix description.
25738 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
25740 * server.el (server-eval-at): New function.
25742 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
25744 * net/network-stream.el (open-network-stream): Take a :nowait
25745 parameter and pass it on to `make-network-process'.
25746 (network-stream-open-plain): Ditto.
25748 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
25750 * faces.el (face-spec-set-match-display): Don't match toolkit
25751 options on terminal frames.
25753 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
25755 * progmodes/pascal.el: Use lexical binding.
25756 (pascal-mode-map): Remove author preferences.
25758 * pcomplete.el (pcomplete-std-complete): Don't abuse
25759 completion-at-point.
25761 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25763 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
25764 removing code that has been dead since 1991 or so.
25766 * startup.el (command-line): When warning about "_emacs", use a
25767 delayed warning to allow the user to filter it out.
25769 2011-04-28 Deniz Dogan <deniz@dogan.se>
25771 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
25772 user has not joined.
25774 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25776 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
25777 aren't any completions at point.
25779 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25781 * subr.el (display-delayed-warnings): New function.
25782 (delayed-warnings-hook): New variable.
25784 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25786 * minibuffer.el (completion-at-point, completion-help-at-point):
25787 Don't presume that a given completion-at-point-function will always
25788 use the same calling convention.
25790 * pcomplete.el (pcomplete-completions-at-point):
25791 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
25792 pcomplete-seen is non-nil.
25793 (pcomplete-comint-setup): Also recognize the new comint/shell
25794 completion functions.
25795 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
25796 pcomplete-seen is non-nil.
25798 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
25800 * calendar/icalendar.el (diary-lib): Add require statement.
25801 (icalendar--create-uid): Read out a uid from a text-property on
25802 the first character in the entry. This allows for code to add its
25803 own uid to the entry.
25804 (icalendar--convert-float-to-ical): Add export of
25805 `diary-float'-entries save for those with the optional DAY
25808 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
25810 * subr.el (shell-quote-argument): Use alternate escaping strategy
25811 when we spot a variable reference in a string.
25813 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25815 * cus-start.el (all): Define customization for debug-on-event.
25817 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25819 * subr.el (shell-quote-argument): Escape correctly under Windows.
25821 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25823 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
25825 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
25827 * net/tramp.el (tramp-process-actions): Add POS argument.
25828 Delete region between POS and (pos).
25830 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25831 Use `nil' position in `tramp-process-actions' call.
25832 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
25834 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
25835 position in `tramp-process-actions' call.
25837 * net/trampver.el: Update release number.
25839 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25841 * custom.el (defcustom): Obey lexical-binding.
25843 Fix octave-inf completion problems reported by Alexander Klimov.
25844 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
25845 Inherit from octave-mode-syntax-table.
25846 (inferior-octave-mode): Set info-lookup-mode.
25847 (inferior-octave-completion-at-point): New function.
25848 (inferior-octave-complete): Use it and completion-in-region.
25849 (inferior-octave-dynamic-complete-functions): Use it as well, and use
25850 comint-filename-completion.
25851 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
25852 symbol elements which shouldn't be word elements.
25853 (octave-font-lock-keywords, octave-beginning-of-defun)
25854 (octave-function-header-regexp): Adjust regexps accordingly.
25855 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
25857 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
25859 * net/gnutls.el (gnutls-errorp): Declare before first use.
25861 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
25863 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
25864 verify-error, and verify-hostname-error parameters. Check whether
25865 default trustfile exists before going to use it. Add missing
25866 argument to gnutls-message-maybe call. Return value.
25867 Reported by Claudio Bley <claudio.bley@gmail.com>.
25868 (open-gnutls-stream): Add usage example.
25870 * net/network-stream.el (network-stream-open-starttls): Give host
25871 parameter to `gnutls-negotiate'.
25872 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
25873 * subr.el (shell-quote-argument): Escape correctly under Windows.
25875 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
25877 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
25878 Use correct match group (bug#8438).
25880 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25882 * emacs-lisp/package.el (package-built-in-p): Fix typo.
25883 (package-menu--generate): New arg specifying packages to show.
25884 (package-menu-refresh, package-menu-execute, list-packages):
25886 (package-show-package-list): New function, replacing deleted
25887 package--list-packages (renamed because it is non-internal).
25889 * finder.el (finder-list-matches): Use package-show-package-list
25890 instead of deleted package--list-packages.
25892 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
25893 Based on a previous implementation by Juanma Barranquero (Bug#8366).
25894 (vc-annotate-mode-map): Bind it to RET.
25896 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
25898 * progmodes/etags.el (next-file): Don't use set-buffer to change
25899 buffers (Bug#8478).
25901 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25903 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
25905 * apropos.el (apropos-label-face): Avoid variable-pitch face.
25906 (apropos-accumulator): Doc fix.
25907 (apropos-function, apropos-macro, apropos-command)
25908 (apropos-variable, apropos-face, apropos-group, apropos-widget)
25909 (apropos-plist): Add face property.
25910 (apropos-symbols-internal): Fix indentation.
25911 (apropos-print): Simplify help, and recognize apropos-multi-type.
25912 (apropos-print-doc): Use button-type-get to extract the button's
25913 face property. Fill docstring (Bug#8352).
25915 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
25917 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
25919 * play/mpuz.el (mpuz-silent): Doc fix.
25920 (mpuz-mode-map): Use mapc.
25921 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
25922 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
25923 Fix typos in docstrings.
25925 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
25926 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
25928 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
25930 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
25932 * minibuffer.el (completion--do-completion): Avoid the "Next char
25933 not unique" prompt if icomplete-mode is enabled (Bug#5849).
25935 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
25936 mouse-2 into unread-command-events, it is interpreted correctly.
25938 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
25939 (image-toggle-display): Doc fix.
25941 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
25943 * textmodes/page.el (what-page): Use line-number-at-pos to
25944 calculate line number (Bug#6825).
25946 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25948 * eshell/esh-mode.el (find-tag-interactive): Declare function.
25949 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
25950 Pass argument NO-DEFAULT to `find-tag-interactive'.
25952 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25954 Lexical-binding cleanup.
25956 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
25957 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
25958 * progmodes/ada-prj.el (ada-prj-initialize-values)
25959 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
25960 (ada-prj-show-value):
25961 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
25962 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
25963 (antlr-invalidate-context-cache, antlr-options-menu-filter)
25964 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
25965 * progmodes/bug-reference.el (bug-reference-push-button):
25966 * progmodes/fortran.el (fortran-line-length):
25967 * progmodes/glasses.el (glasses-change):
25968 * progmodes/octave-mod.el (octave-fill-paragraph):
25969 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
25970 (python-pdbtrack-grub-for-buffer, python-sentinel):
25971 * progmodes/sql.el (sql-save-connection):
25972 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
25973 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
25974 Mark unused parameters.
25976 * progmodes/compile.el (compilation--flush-directory-cache)
25977 (compilation--flush-parse, compile-internal): Mark unused parameters.
25978 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
25979 (compilation-next-error-function): Remove unused variable `timestamp'.
25981 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
25982 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
25984 * progmodes/dcl-mode.el (dcl-end-of-command):
25985 Remove unused variable `start'.
25986 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
25987 (dcl-option-value-basic, dcl-option-value-offset)
25988 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
25989 Mark unused parameters.
25990 (dcl-save-local-variable): Remove unused variable `val'.
25993 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
25994 Mark unused parameters.
25995 (delphi-ignore-changes): Move before first use.
25996 (delphi-charset-token-at): Remove unused variable `start'.
25997 (delphi-else-start): Remove unused variable `if-count'.
25998 (delphi-comment-block-start, delphi-comment-block-end):
25999 Remove unused variable `kind'.
26000 (delphi-indent-line): Remove unused variable `new-point'.
26002 * progmodes/ebrowse.el (ebrowse-files-list)
26003 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
26004 Mark unused parameters. Don't quote `lambda'.
26005 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
26006 Don't quote `lambda'.
26007 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
26008 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
26009 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
26010 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
26011 Use `ignore-errors'.
26012 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
26013 (ebrowse-view/find-file-and-search-pattern)
26014 (ebrowse-view/find-member-declaration/definition):
26015 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
26016 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
26017 Rename parameter PREFIX-ARG to PREFIX.
26018 (ebrowse-tags-read-name): Remove unused variables `start' and
26020 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
26023 * progmodes/etags.el (local-find-tag-hook): Declare.
26024 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
26025 Mark unused parameters.
26027 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
26028 (executable-interpret): Mark unused parameter.
26030 * progmodes/flymake.el (flymake-process-sentinel)
26031 (flymake-after-change-function)
26032 (flymake-create-temp-with-folder-structure)
26033 (flymake-get-include-dirs-dot): Mark unused parameters.
26034 (flymake-safe-delete-directory): Remove unused variable `err'.
26036 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
26037 (speedbar-timer-fn, speedbar-line-text)
26038 (speedbar-change-expand-button-char, speedbar-delete-subblock)
26039 (speedbar-center-buffer-smartly): Declare functions.
26040 (gdb-find-watch-expression): Remove unused variable `array'.
26041 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
26042 (gdb-starting): Mark unused parameters.
26043 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
26044 (gdb-table-string): Remove unused variable `res'.
26045 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
26046 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
26047 (gdb-display-buffer): Remove unused variable `cur-size'.
26049 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
26050 allow lexical-binding compilation.
26051 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
26052 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
26053 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
26054 Mark unused parameters.
26055 (gud-gdb-marker-filter): Remove unused variable `match'.
26056 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
26057 lambda expressions and funcall them, instead of using `fset'.
26059 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
26060 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
26062 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
26063 variable `header-beg'; use `let'.
26065 * progmodes/icon.el (indent-icon-exp): Remove unused variables
26066 `restart', `last-sexp' and `at-do'.
26068 * progmodes/js.el (js--debug): Mark unused parameter.
26069 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
26070 (js--splice-into-items): Remove unused variable `item'.
26071 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
26073 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
26074 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
26075 (makefile-complete): Remove unused variable `try'.
26076 (makefile-fill-paragraph, makefile-match-function-end):
26077 Mark unused parameters.
26079 * progmodes/octave-inf.el (inferior-octave-complete):
26080 Remove unused variable `proc'.
26081 (inferior-octave-output-digest): Mark unused parameter.
26083 * progmodes/perl-mode.el (perl-calculate-indent):
26084 Remove unused variable `err'.
26086 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
26087 (prolog-indent-line): Mark unused parameters.
26088 (prolog-indent-line): Remove unused variable `beg'.
26090 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
26091 (reporter-dont-compact-list): Declare.
26093 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
26094 Remove unused variable `char'.
26095 (sh-debug): Mark unused parameter.
26096 (sh-get-indent-info): Remove unused variable `start'.
26097 (sh-calculate-indent): Remove unused variable `var'.
26099 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
26100 (simula-electric-keyword): Remove unused variable `null'.
26101 (simula-search-backward, simula-search-forward): Remove unused
26102 variables `begin' and `end'.
26104 * progmodes/vera-mode.el (vera-guess-basic-syntax):
26105 Remove unused variable `pos'.
26106 (vera-electric-tab, vera-comment-uncomment-region):
26107 Mark unused parameters.
26108 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
26110 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
26112 * emacs-lisp/package.el (package--builtins, package-alist)
26113 (package-load-descriptor, package-built-in-p, package-activate)
26114 (define-package, package-installed-p)
26115 (package-compute-transaction, package-buffer-info)
26116 (package--push): Doc fix. Distinguish more clearly between
26117 version strings and version lists.
26119 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
26121 Lexical-binding cleanup.
26123 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
26124 (5x5-make-mutate-best):
26125 * play/fortune.el (fortune-in-buffer):
26126 * play/gomoku.el (gomoku-init-display):
26127 * play/solitaire.el (solitaire, solitaire-do-check):
26128 * play/tetris.el (tetris-default-update-speed-function):
26129 Mark unused parameters.
26131 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
26132 (bubbles--shift): Remove unused variable `char-org'.
26133 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
26134 (bubbles--show-images): Remove unused variable `char'.
26136 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
26137 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
26138 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
26139 (decipher-analyze-buffer): Use ?\s.
26140 (decipher-make-checkpoint): Remove unused variable `mapping'.
26142 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
26144 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
26145 Remove unused variable `result'; use `let'.
26147 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
26148 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
26149 (gametree-children-shown-p, gametree-compute-reduced-score):
26150 Use `ignore-errors'.
26152 * play/handwrite.el (ps-lpr-switches): Declare.
26153 (handwrite): Remove unused variables `pmin' and `lastp'.
26155 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
26157 * play/landmark.el (landmark-init-display)
26158 (landmark-update-naught-weights): Mark unused parameters.
26159 (landmark-y): Remove unused variable `noise'. Simplify.
26160 (landmark-human-plays): Remove unused variable `score'.
26162 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
26163 (mpuz-try-proposal): Remove unused variable `game'.
26165 * play/zone.el (life-patterns): Declare.
26167 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
26169 * vc/vc.el (ediff-vc-internal): Declare function.
26171 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26173 * shell.el: Use lexical-binding and std completion UI.
26174 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
26175 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
26176 comint-preoutput-filter-functions rather than on
26177 comint-output-filter-functions.
26178 (shell-command-completion, shell--command-completion-data)
26179 (shell-filename-completion, shell-environment-variable-completion)
26180 (shell-c-a-p-replace-by-expanded-directory): New functions.
26181 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
26182 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
26183 (shell-dynamic-complete-environment-variable): Use them.
26184 (shell-dynamic-complete-as-environment-variable)
26185 (shell-dynamic-complete-as-command): Remove.
26186 (shell-match-partial-variable): Match past point.
26187 * comint.el: Clean up use of completion-at-point-functions.
26188 (comint-completion-at-point): New function.
26189 (comint-mode): Use it completion-at-point-functions.
26190 (comint-dynamic-complete): Make it obsolete.
26191 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
26192 (comint-c-a-p-replace-by-expanded-history): New function.
26193 (comint-dynamic-complete-functions)
26194 (comint-replace-by-expanded-history): Use it.
26195 * minibuffer.el (completion-table-with-terminator): Allow dynamic
26196 termination strings. Try harder to avoid second try-completion.
26197 (completion-in-region-mode-map): Disable bindings that don't work yet.
26199 * comint.el: Use lexical-binding. Require CL.
26200 (comint-dynamic-complete-functions): Use comint-filename-completion.
26201 (comint-completion-addsuffix): Tweak custom type.
26202 (comint-filename-completion, comint--common-suffix)
26203 (comint--common-quoted-suffix, comint--table-subvert)
26204 (comint--complete-file-name-data): New functions.
26205 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
26206 (comint-dynamic-list-filename-completions): Use them.
26207 (comint-dynamic-simple-complete): Make obsolete.
26209 * minibuffer.el (completion-in-region-mode):
26210 Keep completion-in-region-mode--predicate global.
26211 (completion-in-region--postch):
26212 Assume completion-in-region-mode--predicate is not null.
26214 * progmodes/flymake.el (flymake-start-syntax-check-process):
26215 Obey `dir'. Simplify.
26217 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
26218 we're in VC after all.
26220 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
26222 * vc/vc.el (vc-diff-build-argument-list-internal)
26223 (vc-version-ediff, vc-ediff): New commands.
26224 (vc-version-diff): Use vc-diff-build-argument-list-internal.
26226 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26228 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
26231 * obsolete/erc-hecomplete.el: Make obsolete.
26232 * obsolete/: Standardize obsolescence info in the header.
26234 2011-04-20 Glenn Morris <rgm@gnu.org>
26236 * calendar/solar.el (solar-horizontal-coordinates):
26237 Use the longitude argument rather than `calendar-longitude'.
26238 (solar-date-next-longitude): Remove unused locals.
26240 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
26242 * whitespace.el: New version 13.2.1.
26244 2011-04-20 felix <EmacsWiki> (tiny change)
26246 * whitespace.el (global-whitespace-mode): Keep highlight when
26247 switching between major modes on a file.
26249 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
26251 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
26252 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
26253 multi-line comments as well.
26255 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
26257 Lexical-binding cleanup.
26259 * arc-mode.el (archive-mode-revert):
26260 * cmuscheme.el (scheme-interactively-start-process):
26261 * custom.el (custom-initialize-delay):
26262 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
26263 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
26264 * emacs-lock.el (emacs-lock-clear-sentinel):
26265 * ezimage.el (defezimage):
26266 * follow.el (follow-avoid-tail-recenter):
26267 * fringe.el (set-fringe-mode-1):
26268 * generic-x.el (bat-generic-mode-compile):
26269 * help-mode.el (help-info-variable, help-do-xref)
26270 (help-mode-revert-buffer):
26271 * help.el (view-emacs-todo):
26272 * iswitchb.el (iswitchb-completion-help):
26273 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
26274 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
26275 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
26276 * locate.el (locate-update):
26277 * longlines.el (longlines-encode-region)
26278 (longlines-after-change-function):
26279 * outline.el (outline-isearch-open-invisible):
26280 * ps-def.el (declare-function, charset-dimension, char-width)
26282 * ps-mule.el (ps-mule-plot-string):
26283 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
26284 (recentf-edit-list-select, recentf-edit-list-validate)
26285 (recentf-open-files-action):
26286 * rect.el (delete-whitespace-rectangle-line)
26287 (rectangle-number-line-callback):
26288 * register.el (window-configuration-to-register)
26289 (frame-configuration-to-register):
26290 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
26291 * select.el (xselect-convert-to-string, xselect-convert-to-length)
26292 (xselect-convert-to-targets, xselect-convert-to-delete)
26293 (xselect-convert-to-filename, xselect-convert-to-charpos)
26294 (xselect-convert-to-lineno, xselect-convert-to-colno)
26295 (xselect-convert-to-os, xselect-convert-to-host)
26296 (xselect-convert-to-user, xselect-convert-to-class)
26297 (xselect-convert-to-name, xselect-convert-to-integer)
26298 (xselect-convert-to-atom, xselect-convert-to-identity):
26299 * subr.el (declare, ignore, process-kill-without-query)
26300 (text-clone-maintain):
26301 * terminal.el (te-get-char, te-tic-sentinel):
26302 * tool-bar.el (tool-bar-make-keymap):
26303 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
26304 * type-break.el (type-break-mode, type-break-noninteractive-query):
26305 * view.el (View-back-to-mark):
26306 * wid-browse.el (widget-browse-action, widget-browse-widget)
26307 (widget-browse-widgets, widget-browse-sexp):
26308 * widget.el (define-widget-keywords):
26309 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
26310 Mark unused parameters.
26312 * align.el (align-adjust-col-for-rule): Mark unused parameter.
26313 (align-areas): Remove unused variable `look'.
26314 (align-region): Remove unused variables `real-end' and `pos-list'.
26316 * apropos.el (apropos-score-doc): Remove unused variable `i'.
26318 * bindings.el (mode-line-modified, mode-line-remote):
26319 Mark unused parameters.
26320 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
26322 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
26323 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
26325 * comint.el (comint-history-isearch-pop-state)
26326 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
26327 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
26328 (comint-substitute-in-file-name): Doc fix.
26330 * completion.el (cmpl-statistics-block): Mark unused parameter.
26331 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
26332 (save-completions-to-file, load-completions-from-file):
26333 Remove unused local variable `e'.
26335 * composite.el (compose-chars): Remove unused variable `len'.
26336 (lgstring-insert-glyph): Remove unused variable `g'.
26337 (compose-glyph-string): Remove unused variables `ascent',
26338 `descent', `lbearing' and `rbearing'.
26339 (compose-glyph-string-relative): Remove unused variables
26340 `lbearing', `rbearing' and `wadjust'.
26341 (compose-gstring-for-graphic): Remove unused variables `header',
26342 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
26343 (compose-gstring-for-terminal): Remove unused variables `header'
26344 and `nchars'. Use `let', not `let*'.
26346 * cus-edit.el (Custom-set, Custom-save, custom-reset)
26347 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
26348 (Custom-buffer-done, custom-buffer-create-internal)
26349 (custom-browse-visibility-action, custom-browse-group-tag-action)
26350 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
26351 (widget-magic-mouse-down-action, custom-toggle-parent)
26352 (custom-add-parent-links, custom-toggle-hide-variable)
26353 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
26354 (custom-toggle-hide-face, face, hook, custom-group-link-action)
26355 (custom-face-menu-create, custom-variable-menu-create, get)
26356 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
26357 (custom-reset-standard-save-and-update): Remove unused variable `value'.
26358 (customize-apropos): Remove unused variable `tests'.
26359 (custom-group-value-create): Remove unused variable `hidden-p'.
26360 (sort-fold-case): Declare.
26362 * cus-theme.el (custom-reset-standard-faces-list)
26363 (custom-reset-standard-variables-list): Declare.
26364 (customize-create-theme, custom-theme-revert, custom-theme-write)
26365 (custom-theme-choose-mode, customize-themes, custom-theme-save):
26366 Mark unused parameters.
26368 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
26370 * delim-col.el (delimit-columns-max): Move defvar before first use.
26372 * descr-text.el (describe-char-categories): Don't quote `lambda'.
26373 (describe-char): Don't quote `lambda'. Mark unused parameter.
26375 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
26376 (auto-insert): Declare.
26377 (desktop-restore-file-buffer): Rename desktop-* parameters;
26379 (desktop-create-buffer): Rename desktop-* parameters and bind them.
26380 (desktop-buffer): Rename desktop-* parameters.
26382 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
26383 (dframe-reposition-frame-xemacs, dframe-help-echo)
26384 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
26385 Mark unused parameters.
26387 * dired-aux.el (backup-extract-version-start, overwrite-query)
26388 (overwrite-backup-query, rename-regexp-query)
26389 (rename-non-directory-query): Declare.
26390 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
26391 (dired-add-entry): Remove unused variable `orig-file-name'.
26392 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
26393 Use parameter PRESERVE-TIME instead of accessing dynamic variable
26394 `dired-copy-preserve-time' directly.
26395 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
26396 (dired-insert-subdir-newpos): Rename unused variable `pos'.
26398 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
26399 (dired-virtual-revert, dired-make-relative-symlink):
26400 Mark unused parameters.
26401 (manual-program): Declare.
26402 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
26403 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
26404 wrapped in `with-no-warnings' to avoid replacing one warning by another.
26406 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
26408 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
26410 * echistory.el (electric-history-in-progress, Helper-return-blurb):
26413 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
26415 * electric.el (Electric-command-loop): Rename parameter
26416 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
26418 * expand.el (expand-in-literal): Remove unused variable `here'.
26420 * facemenu.el (facemenu-add-new-color):
26421 Remove unused variable `docstring'.
26423 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
26424 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
26425 (face-attr-construct): Mark unused parameter. Doc fix.
26426 (read-color): Remove unused variable `hex-string'.
26428 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
26429 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
26430 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
26431 (display-buffer-other-frame): Remove unused variable `old-window'.
26432 (kill-buffer-hook): Declare.
26433 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
26434 Mark unused parameters.
26435 (after-find-file): Pass 1 to `auto-save-mode', not t.
26437 * files-x.el (auto-insert): Declare.
26438 (modify-file-local-variable-prop-line): Remove unused variable `val'.
26440 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
26441 variable `buf'. Mark unused parameter.
26442 (find-lisp-insert-directory): Mark unused parameter.
26444 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
26445 (format-encode-region): Remove unused variables `cur-buf' and `result'.
26446 (format-common-tail): Remove, unused.
26447 (format-deannotate-region): Remove unused variable `loc'.
26448 (format-annotate-region): Remove unused variable `p'.
26449 (format-annotate-single-property-change): Remove unused variables
26450 `default' and `tail'.
26452 * forms.el (read-file-filter): Declare.
26453 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
26455 * frame.el (frame-creation-function-alist): Mark unused parameter.
26456 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
26458 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
26459 Remove unused parameters.
26460 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
26461 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
26463 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
26464 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
26465 (hfy-prepare-tag-map): Mark unused parameters.
26466 (htmlfontify-buffer): Use `called-interactively-p'.
26468 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
26469 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
26470 (ibuffer-do-occur): Mark unused parameters.
26471 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
26472 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
26474 * ibuffer.el: Don't quote `lambda'.
26475 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
26476 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
26477 Mark unused parameters.
26479 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
26480 (ido-completing-read): Mark unused parameters.
26481 (ido-copy-current-word): Mark unused parameters;
26482 remove unused variable `name'.
26483 (ido-sort-merged-list): Remove unused parameter `dirs'.
26485 * ielm.el (ielm-input-sender): Mark unused parameter.
26486 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
26487 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
26488 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
26489 `ielm-string' as a dynamic variable accessible from the IELM prompt.
26490 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
26492 * image-dired.el (image-dired-display-thumbs): Remove unused
26493 variables `curr-file' and `count'.
26494 (image-dired-remove-tag): Remove unused variable `start'.
26495 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
26496 variable `curr-file'
26497 (image-dired-rotate-original): Remove unused variable `temp-file'.
26498 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
26499 Remove unused variable `file'.
26500 (image-dired-gallery-generate): Remove unused variable `curr'.
26501 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
26503 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
26505 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
26507 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
26509 * isearch.el (minibuffer-history-symbol): Declare.
26510 (isearch-edit-string): Remove unused variable `err'.
26511 (isearch-message-prefix, isearch-message-suffix):
26512 Mark unused parameters.
26514 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
26516 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
26518 * makesum.el (double-column): Remove unused variable `cnt'.
26520 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
26521 (ido-ignore-item-temp-list): Declare.
26523 * mouse-drag.el (mouse-drag-throw): Remove unused variables
26524 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
26525 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
26526 (mouse-drag-drag): Remove unused variables `mouse-delta' and
26529 * mouse-sel.el (mouse-extend-internal):
26530 Remove unused variable `orig-window-frame'.
26532 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
26533 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
26534 Move declarations before first use.
26535 (pcomplete-opt): Mark unused parameters; doc fix.
26537 * proced.el (proced-revert): Mark unused parameter.
26538 (proced-send-signal): Remove unused variable `err'.
26540 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
26541 Rename parameter PREFIX-ARG to ARG.
26542 (ps-basic-plot-string, ps-basic-plot-whitespace):
26543 Mark unused parameters.
26545 * replace.el (replace-count): Define.
26546 (occur-revert-function): Mark unused parameters.
26547 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
26548 (isearch-case-fold-search, isearch-string): Declare.
26549 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
26550 bind `case-fold-search'. Remove unused variables `beg' and `end',
26552 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
26553 COUNT and bind `replace-count'.
26554 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
26557 * savehist.el (print-readably, print-string-length): Declare.
26559 * shadowfile.el (shadow-expand-cluster-in-file-name):
26560 Remove unused variable `cluster'.
26561 (shadow-copy-file): Remove unused variable `i'.
26562 (shadow-noquery, shadow-clusters, shadow-site-cluster)
26563 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
26564 (shadow-define-literal-group, shadow-define-regexp-group)
26565 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
26567 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
26568 (shell): Use `called-interactively-p'.
26569 (shell-directory-tracker): Remove unused variable `chdir-failure'.
26571 * simple.el (compilation-context-lines, comint-file-name-quote-list)
26572 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
26573 (delete-backward-char): Remove unused variable `ocol'.
26574 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
26575 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
26576 (event-apply-hyper-modifier, event-apply-shift-modifier)
26577 (event-apply-control-modifier, event-apply-meta-modifier):
26578 Mark unused parameters.
26579 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
26580 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
26582 * speedbar.el (speedbar-ignored-directory-expressions)
26583 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
26584 (speedbar-find-file, speedbar-dir-follow)
26585 (speedbar-directory-buttons-follow, speedbar-tag-find)
26586 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
26587 (speedbar-buffers-line-directory, speedbar-buffer-click):
26588 Mark unused parameters.
26589 (speedbar-tag-file): Remove unused variable `mode'.
26590 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
26592 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
26594 * talk.el (talk): Remove unused variable `display'.
26596 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
26597 (tar-write-region-annotate): Mark unused parameter.
26599 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
26600 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
26601 Declare them, wrapped in `with-no-warnings' to avoid replacing one
26602 warning by another.
26604 * time-stamp.el (time-stamp-string-preprocess):
26605 Remove unused variable `require-padding'.
26607 * tree-widget.el (widget-glyph-enable): Declare.
26608 (tree-widget-action): Mark unused parameter.
26610 * w32-fns.el (x-get-selection): Mark unused parameter.
26611 (autoload-make-program, generated-autoload-file): Declare.
26613 * wdired.el (wdired-revert): Mark unused parameters.
26614 (wdired-xcase-word): Remove unused variable `err'.
26616 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
26617 (whitespace-help-scroll): Remove unused variable `data-help'.
26619 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
26620 (widget-image-insert, widget-after-change, default)
26621 (widget-default-format-handler, widget-default-notify)
26622 (widget-default-prompt-value, widget-info-link-action)
26623 (widget-url-link-action, widget-function-link-action)
26624 (widget-variable-link-action, widget-file-link-action)
26625 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
26626 (widget-field-prompt-internal, widget-field-action, widget-field-match)
26627 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
26628 (widget-insert-button-action, widget-delete-button-action, visibility)
26629 (widget-documentation-link-action, widget-documentation-string-action)
26630 (widget-const-prompt-value, widget-regexp-match, symbol)
26631 (widget-coding-system-prompt-value)
26632 (widget-key-sequence-value-to-external, sexp)
26633 (widget-sexp-value-to-internal, character, vector, cons)
26634 (widget-choice-prompt-value, widget-boolean-prompt-value)
26635 (widget-color--choose-action): Mark unused parameters.
26636 (widget-item-match-inline, widget-choice-match-inline)
26637 (widget-checklist-match, widget-checklist-match-inline)
26638 (widget-group-match): Rename parameter VALUES to VALS.
26639 (widget-field-value-set): Remove unused variable `size'.
26640 (widget-color-action): Remove unused variables `value' and `start'.
26642 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
26643 variable `dir'. Doc fix.
26644 (windmove-find-other-window): Don't pass it.
26646 * window.el (count-windows): Mark unused parameter.
26647 (bw-adjust-window): Remove unused variable `err'.
26649 * woman.el (woman-file-name): Remove unused variable `default'.
26650 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
26651 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
26652 (global-font-lock-mode): Declare.
26653 (woman-decode-region): Mark unused parameter.
26654 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
26656 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
26657 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
26658 (x-dnd-handle-moz-url): Remove unused variable `title'.
26659 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
26661 * xml.el (xml-parse-tag, xml-parse-attlist):
26662 Remove unused variable `pos'.
26664 2011-04-19 Glenn Morris <rgm@gnu.org>
26666 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
26667 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
26668 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
26669 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
26670 * calendar/cal-html.el (cal-html-insert-minical):
26671 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
26672 (calendar-mark-date-pattern):
26673 Prefix "unused" locals.
26675 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
26676 optional argument `style'.
26678 * calendar/appt.el (appt-make-list):
26679 * calendar/cal-china.el (calendar-chinese-date-string):
26680 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
26681 (diary-hebrew-yahrzeit):
26682 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
26683 * calendar/calendar.el (calendar-generate-window):
26684 * calendar/time-date.el (time-to-days):
26685 Remove unused local variables.
26687 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
26689 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
26690 glyphless-char-display table.
26691 (tabulated-list-glyphless-char-display): New var.
26693 2011-04-18 Sam Steingold <sds@gnu.org>
26695 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
26696 to acknowledgments.
26698 2011-04-17 Glenn Morris <rgm@gnu.org>
26700 * calendar/diary-lib.el (diary-sexp-entry):
26701 * calendar/holidays.el (holiday-sexp):
26702 Set debug-on-error rather than the removed stack-trace-on-error.
26704 2011-04-16 Glenn Morris <rgm@gnu.org>
26706 * progmodes/f90.el: Use lexical-binding.
26707 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
26709 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26711 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
26712 (mail-mode): Setup mailalias completion here instead.
26713 * mail/mailalias.el: Use lexical-binding.
26714 (pattern, mailalias-done): Declare dynamic.
26715 (mail-completion-at-point-function): New function, from mail-complete.
26716 (mail-complete): Use it.
26717 (mail-completion-expand): New function.
26718 (mail-get-names): Use it.
26719 (mail-directory, mail-directory-process, mail-directory-stream):
26720 Don't use `pattern' for lexically bound arg.
26722 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
26724 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
26725 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
26726 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
26728 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
26729 (byte-save-window-excursion, byte-temp-output-buffer-setup)
26730 (byte-interactive-p): Define them again, for use when inlining
26733 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
26735 * loadup.el: Use `string-to-number', not `string-to-int'.
26737 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26739 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
26740 gud-gdb-complete-command.
26741 (gud-gdb-completions): New function, from gud-gdb-complete-command.
26742 (gud-gdb-completion-at-point): New function.
26743 (gud-gdb-completions): Remove.
26745 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
26747 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
26748 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
26749 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
26750 whether `executable-find' is bound.
26752 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
26754 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
26756 * minibuffer.el (completion-in-region-mode-predicate)
26757 (completion-in-region-mode--predicate): New vars.
26758 (completion-in-region, completion-in-region--postch)
26759 (completion-in-region-mode): Use them.
26760 (completion--capf-wrapper): Also return the hook function.
26761 (completion-at-point, completion-help-at-point):
26762 Adjust and provide a predicate.
26764 Preserve arg names for advice of subr and lexical functions (bug#8457).
26765 * help-fns.el (help-function-arglist): Consolidate the subr and
26766 new-byte-code cases. Add argument `preserve-names' to extract names
26767 from the docstring when needed.
26768 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
26769 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
26770 (ad-arglist): Use help-function-arglist's new arg.
26771 (ad-definition-type): Use cond.
26773 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
26775 * autorevert.el (auto-revert-handler):
26776 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
26777 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
26778 Don't quote lambda.
26780 * image-mode.el (image-transform-set-scale):
26781 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
26783 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
26785 * net/network-stream.el (network-stream-open-starttls): Only do
26786 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
26787 Upgrades via gnutls-cli are too slow to be done opportunistically.
26789 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
26791 * dframe.el (dframe-current-frame): Remove spurious quote.
26793 2011-04-12 Glenn Morris <rgm@gnu.org>
26795 * calendar/cal-tex.el (cal-tex-end-document):
26796 Try to automatically use latin1 input if needed.
26798 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
26799 Don't try to cons a mark onto an empty element.
26801 2011-04-11 Leo Liu <sdl.web@gmail.com>
26803 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
26805 (ido-kill-buffer-at-head): Support killing virtual buffers.
26807 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
26809 * minibuffer.el (completion-show-inline-help): New var.
26810 (completion--do-completion, minibuffer-complete)
26811 (minibuffer-force-complete, minibuffer-complete-word):
26812 Inhibit minibuffer messages if completion-show-inline-help is nil.
26814 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
26815 to avoid interference from inline help (Bug#5849).
26817 2011-04-10 Leo Liu <sdl.web@gmail.com>
26819 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
26822 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
26824 * image-mode.el (image-toggle-display-image): Signal an error if
26826 (image-transform-mode, image-transform-resize)
26827 (image-transform-set-rotation): Doc fix.
26828 (image-transform-set-resize): Delete.
26829 (image-transform-set-scale, image-transform-fit-to-height)
26830 (image-transform-fit-to-width): Handle image-toggle-display-image
26831 and image-transform-resize directly.
26833 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
26835 * doc-view.el (doc-view-fit-width-to-window)
26836 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
26837 New functions for fitting the shown image to the Emacs window size.
26838 (doc-view-mode-map): Add bindings for the new functions.
26840 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
26842 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
26843 Fix typo in docstring.
26845 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26847 * files.el (file-size-human-readable): Produce one digit after
26848 decimal, like "ls -lh" does.
26850 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
26851 the file size representation.
26853 * simple.el (list-processes): If async subprocesses are not
26854 available, error out with a clear error message.
26856 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
26858 * help.el (help-form-show): New function, to be called from C.
26859 Put help-form output in a buffer named differently than *Help*.
26861 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26863 * files.el (file-size-human-readable): New function.
26865 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
26866 computing the representation inline. Don't require `cl'.
26868 2011-04-08 Glenn Morris <rgm@gnu.org>
26870 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
26872 * net/browse-url.el (browse-url-firefox):
26873 Test system-type, not system-configuration.
26875 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
26876 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
26877 Use log-edit-empty-buffer-p. (Bug#7598)
26879 * net/rlogin.el (rlogin-process-connection-type): Simplify.
26880 (rlogin-mode-map): Initialize in the defvar.
26881 (rlogin): Use ignore-errors.
26883 * replace.el (occur-mode-map): Some fixes for menu items.
26885 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
26887 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
26889 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26891 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
26892 issuing unused warnings.
26894 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
26897 * simple.el: Lisp reimplement of list-processes. Based on an
26898 earlier reimplementation by Leo Liu, but using tabulated-list.el.
26899 (process-menu-mode): New major mode.
26900 (list-processes--refresh, list-processes):
26901 (process-menu-visit-buffer): New functions.
26903 * files.el (save-buffers-kill-emacs): Don't assume any return
26904 value of list-processes, which is undocumented anyway.
26906 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26908 * emacs-lisp/tabulated-list.el: New file.
26910 * emacs-lisp/package.el: Use Tabulated List mode.
26911 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
26912 (package-menu-mode): Derive from tabulated-list-mode. Set up the
26913 table format using Tabulated List mode variables.
26914 (package--push): New macro, replacing package-list-maybe-add.
26915 (package-menu--generate): Use package--push. Renamed from
26916 package--generate-package-list.
26917 (package-menu-refresh, list-packages): Use it.
26918 (package-menu--print-info): Rename from package-print-package.
26919 Return insertion data instead of inserting it directly.
26920 (package-menu-describe-package, package-menu-execute):
26921 Use tabulated-list-get-id.
26922 (package-menu-mark-delete, package-menu-mark-install)
26923 (package-menu-mark-unmark, package-menu-backup-unmark)
26924 (package-menu-mark-obsolete-for-deletion):
26925 Use tabulated-list-put-tag.
26926 (package--list-packages, package-menu-revert)
26927 (package-menu-get-package, package-menu-get-version)
26928 (package-menu-sort-by-column): Functions deleted.
26929 (package-menu-package-list, package-menu-sort-key): Vars deleted.
26930 (package-menu--status-predicate, package-menu--version-predicate)
26931 (package-menu--name-predicate)
26932 (package-menu--description-predicate): Handle arguments in the
26933 Tabulated List format.
26934 (package-list-packages-no-fetch): Call list-packages.
26936 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
26938 * files.el (after-find-file-from-revert-buffer): Remove variable.
26939 (after-find-file): Don't bind it.
26940 (revert-buffer-in-progress-p): New variable.
26941 (revert-buffer): Bind it.
26942 Pass nil for `after-find-file-from-revert-buffer'.
26944 * saveplace.el (save-place-find-file-hook): Use new variable
26945 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
26947 2011-04-06 Glenn Morris <rgm@gnu.org>
26949 * Makefile.in (AUTOGEN_VCS): New variable.
26950 (autoloads): Use $AUTOGEN_VCS.
26952 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
26953 * calendar/calendar.el (calendar-mode-map):
26954 Check for toolkit scroll bars. (Bug#8305)
26956 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26958 * minibuffer.el (completion-in-region--postch)
26959 (completion-in-region-mode): Remove unnecessary messages.
26961 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
26963 * font-lock.el (font-lock-refresh-defaults):
26964 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
26965 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
26967 * info.el (Info-directory-list, Info-read-node-name-2)
26968 (Info-split-parameter-string): Doc fixes.
26969 (Info-virtual-nodes): Reflow docstring.
26970 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
26971 (Info-apropos-toc-nodes, info-finder, Info-get-token)
26972 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
26973 Fix typos in docstrings.
26974 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
26975 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
26976 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
26977 (Info-restore-desktop-buffer): Mark unused parameters.
26978 (Info-directory-find-file, Info-directory-find-node)
26979 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
26980 (Info-virtual-index-find-node, Info-apropos-find-file)
26981 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
26982 Mark unused parameters; fix typos in docstrings.
26983 (Info-virtual-index): Remove unused local variable `nodename'.
26985 2011-04-05 Deniz Dogan <deniz@dogan.se>
26987 * net/rcirc.el: Update my e-mail address.
26988 (rcirc-mode-map): Remove M-o binding.
26990 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26992 * startup.el (command-line): Save the cursor's theme-face
26993 directly, instead of using face-override-spec.
26995 * custom.el (load-theme): Minor optimization in assigning faces.
26997 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26999 * help-fns.el (describe-variable): Complete all variables having
27000 documentation, including keywords.
27001 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
27003 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
27005 Convert to lexical-binding.
27007 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
27008 (bs--get-marked-string, bs--get-modified-string)
27009 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
27010 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
27011 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
27013 * ehelp.el (electric-help-execute-extended)
27014 (electric-help-ctrl-x-prefix):
27015 * hexl.el (hexl-revert-buffer-function):
27016 * linum.el (linum-after-change, linum-after-scroll):
27017 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
27019 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
27021 2011-04-04 Daiki Ueno <ueno@unixuser.org>
27028 * epg.el: Use lexical binding.
27030 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
27032 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
27034 * textmodes/flyspell.el (flyspell-word): Recognize default
27035 dictionary case for flyspell-mark-duplications-exceptions.
27036 Use regexp matching for languages.
27037 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
27038 default dictionary (Bug#7926).
27040 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
27042 * emacs-lisp/package.el (package--with-work-buffer):
27043 Recognize https URLs.
27045 * net/network-stream.el: Move from gnus/proto-stream.el.
27046 Change prefix to network-stream throughout.
27047 (open-protocol-stream): Merge into open-network-stream, leaving
27048 open-protocol-stream as an alias. Handle nil BUFFER args.
27050 * subr.el (open-network-stream): Move to net/network-stream.el.
27052 2011-04-02 Glenn Morris <rgm@gnu.org>
27054 * find-dired.el (find-exec-terminator): New option.
27055 (find-ls-option): Test for -ls support.
27056 (find-ls-subdir-switches): Test for -b in find-ls-option.
27057 (find-dired, find-grep-dired): Doc fixes.
27058 (find-dired): Use find-exec-terminator.
27060 * find-dired.el (find-ls-option, find-ls-subdir-switches)
27061 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
27062 (find-name-arg): Remove purecopy.
27064 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
27065 (grep-compute-defaults): Check for `-exec COMMAND +' support.
27066 Set grep-find-use-xargs, grep-find-command, and grep-find-template
27067 accordingly. Don't add the null-device if not needed.
27069 * files.el (save-some-buffers): Doc fix.
27071 2011-04-02 Eli Zaretskii <eliz@gnu.org>
27073 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
27075 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
27077 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
27078 Use `dolist' rather than `mapcar'.
27080 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
27082 Add lexical binding.
27084 * subr.el (apply-partially): Use new closures rather than CL.
27085 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
27086 (dolist, dotimes): Use slightly different expansion for lexical code.
27087 (functionp): Move to C.
27088 (letrec): New macro.
27089 (with-wrapper-hook): Use it and apply-partially instead of CL.
27090 (eval-after-load): Preserve lexical-binding.
27091 (save-window-excursion, with-output-to-temp-buffer): Turn them
27094 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
27096 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
27098 (help-add-fundoc-usage): Don't add `Not documented'.
27099 (help-function-arglist): Handle closures, subroutines, and new
27100 byte-code-functions.
27101 (help-make-usage): Remove leading underscores.
27102 (describe-function-1): Handle closures.
27103 (describe-variable): Use special-variable-p for completion.
27105 * files.el (lexical-binding): Declare safe.
27107 * emacs-lisp/pcase.el: Don't use destructuring-bind.
27108 (pcase--memoize): Rename from pcase-memoize. Change weakness.
27109 (pcase): Add `let' pattern.
27110 Change memoization so it actually works.
27111 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
27112 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
27115 * emacs-lisp/macroexp.el: Use lexical binding.
27116 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
27117 Don't convert ' to #' without checking that it's indeed quoting
27120 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
27121 Use eval-sexp-add-defvars.
27122 (eval-sexp-add-defvars): New fun.
27124 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
27126 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
27128 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
27129 than the internal `byte-compile-lambda'.
27130 (defmethod): Don't hide code under quotes.
27131 (eieio-defmethod): New `code' argument.
27133 * emacs-lisp/eieio-comp.el: Remove.
27135 * emacs-lisp/edebug.el (edebug-eval-defun)
27136 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
27137 (edebug-toggle): Avoid `eval'.
27139 * emacs-lisp/disass.el (disassemble-internal): Handle new
27141 (disassemble-1): Handle new byte codes.
27143 * emacs-lisp/cl.el (pushnew): Silence warning.
27145 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
27146 (cl-byte-compile-throw): Remove.
27147 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
27149 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
27152 * emacs-lisp/cconv.el: New file.
27154 * emacs-lisp/bytecomp.el: Use lexical binding instead of
27155 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
27156 (byte-compile-initial-macro-environment):
27157 Handle declare-function here.
27158 (byte-compile--lexical-environment): New var.
27159 (byte-stack-ref, byte-stack-set, byte-discardN)
27160 (byte-discardN-preserve-tos): New lap codes.
27161 (byte-interactive-p): Don't use any more.
27162 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
27164 (byte-compile-lapcode): Use them and handle new lap codes.
27165 (byte-compile-obsolete): Remove.
27166 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
27167 (byte-compile-arglist-warn): Check late def of inlinable funs.
27168 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
27169 since they should have been expanded by now.
27170 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
27171 (byte-compile-from-buffer): Remove unused second arg.
27172 (byte-compile-preprocess): New function.
27173 (byte-compile-toplevel-file-form): New function to distinguish
27174 file-form calls from outside from file-form calls from hunk-handlers.
27175 (byte-compile-file-form): Simplify.
27176 (byte-compile-file-form-defsubst): Remove.
27177 (byte-compile-file-form-defmumble): Simplify now that
27178 byte-compile-lambda always returns a byte-code-function.
27179 (byte-compile): Preprocess.
27180 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
27181 Remove, not used any more.
27182 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
27183 (byte-compile-make-args-desc): New funs.
27184 (byte-compile-lambda): Handle lexical functions. Always return
27185 a byte-code-function.
27186 (byte-compile-reserved-constants): New var, to make up room for
27187 closed-over variables.
27188 (byte-compile-constants-vector): Obey it.
27189 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
27190 (byte-compile-macroexpand-declare-function): New function.
27191 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
27192 byte-code-functions.
27193 (byte-compile-form): Check obsolescence here.
27194 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
27195 (byte-compile-variable-ref): Remove.
27196 (byte-compile-dynamic-variable-op): New fun.
27197 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
27198 (byte-compile-variable-set): New funs.
27199 (byte-compile-discard): Add 2 args.
27200 (byte-compile-stack-ref, byte-compile-stack-set)
27201 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
27202 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
27203 macroexpand-all instead.
27204 (byte-compile-quote-form): Remove.
27205 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
27206 (byte-compile-bind, byte-compile-unbind): New funs.
27207 (byte-compile-let): Handle let* and lexical binding.
27208 (byte-compile-let*): Remove.
27209 (byte-compile-catch, byte-compile-unwind-protect)
27210 (byte-compile-track-mouse, byte-compile-condition-case):
27211 Handle a new :fun-body form, used for lexical scoping.
27212 (byte-compile-save-window-excursion)
27213 (byte-compile-with-output-to-temp-buffer): Remove.
27214 (byte-compile-defun): Simplify.
27215 (byte-compile-stack-adjustment): New fun.
27216 (byte-compile-out): Use it.
27217 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
27219 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
27222 * emacs-lisp/byte-opt.el: Use lexical binding.
27223 (byte-inline-lapcode): Remove (to bytecomp).
27224 (byte-compile-inline-expand): Pay attention to inlining to/from
27225 lexically bound code.
27226 (byte-compile-unfold-lambda): Don't handle byte-code-functions
27228 (byte-optimize-form-code-walker): Don't handle save-window-excursion
27229 any more and don't call compiler-macros.
27230 (byte-compile-splice-in-already-compiled-code): Remove.
27231 (byte-code): Don't inline any more.
27232 (disassemble-offset): Receive `bytes' as argument rather than via
27234 (byte-compile-tag-number): Declare before first use.
27235 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
27236 `return' even if make-spliceable.
27237 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
27238 obsolete interactive-p.
27239 (byte-optimize-lapcode): Optimize new lap-codes.
27240 Don't trip up on new form of `byte-constant' lap code.
27242 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
27244 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
27246 * custom.el (custom-initialize-default, custom-declare-variable):
27249 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
27251 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
27252 (COMPILE_FIRST): Add macroexp and cconv.
27253 * makefile.w32-in: Mirror changes in Makefile.in.
27255 * vc/cvs-status.el:
27259 * vc/smerge-mode.el:
27260 * textmodes/bibtex-style.el:
27261 * textmodes/css-mode.el:
27269 * emacs-lisp/smie.el:
27272 * abbrev.el: Use lexical binding.
27274 2011-04-01 Eli Zaretskii <eliz@gnu.org>
27276 * info.el (info-display-manual): New function.
27278 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
27280 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
27282 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
27284 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
27285 an entry for that server in rcirc-authinfo. (Bug#8385)
27287 2011-03-31 Glenn Morris <rgm@gnu.org>
27289 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
27291 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
27293 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
27295 * progmodes/python.el (python-default-interpreter)
27296 (python-python-command-args, python-jython-command-args)
27297 (python-which-shell, python-which-args, python-which-bufname)
27298 (python-file-queue, python-comint-output-filter-function)
27299 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
27300 variables and functions.
27302 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
27304 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
27305 (completion-in-region-mode): New minor mode.
27306 (completion-in-region): Use it.
27307 (completion-in-region--data, completion-in-region-mode-map): New vars.
27308 (completion-in-region--postch): New function.
27309 (completion--capf-misbehave-funs, completion--capf-safe-funs):
27311 (completion--capf-wrapper): New function.
27312 (completion-at-point): Use it to track well-behavedness of
27314 (completion-help-at-point): New command.
27316 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
27318 * vc/add-log.el (add-change-log-entry): Don't use whitespace
27319 syntax class to search for whitespace on a single line
27320 (Message-ID: <4D938140.4030905@redhat.com>).
27322 2011-03-30 Leo Liu <sdl.web@gmail.com>
27324 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
27326 (edit-abbrevs-map): Bind them here.
27327 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
27329 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
27331 * allout.el (allout-hide-by-annotation, allout-flag-region):
27332 Reduce possibility of overlay leakage by making them volatile.
27334 * allout-widgets.el (allout-widgets-tally): Define as nil so the
27335 hash is not shared between buffers. Mode initialization is
27336 responsible for giving it a useful starting value.
27337 (allout-item-span): Reduce possibility of overlay leakage by
27338 making them volatile.
27339 (allout-widgets-count-buttons-in-region): Add diagnostic function
27340 for tracking down button overlay leaks.
27342 2011-03-29 Leo Liu <sdl.web@gmail.com>
27344 * ido.el (ido-read-internal): Use the default history var
27345 minibuffer-history if no HISTORY is specified.
27347 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
27349 * net/imap.el (imap-shell-open, imap-process-connection-type):
27350 Use imap-process-connection-type for 'shell' streams as well as
27351 Kerberos, SSL, other subprocesses.
27353 2011-03-28 Leo Liu <sdl.web@gmail.com>
27355 * abbrev.el (abbrev-table-empty-p): New function.
27356 (prepare-abbrev-list-buffer): Place empty abbrev tables after
27357 nonempty ones. (Bug#5937)
27359 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
27361 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
27363 2011-03-27 Leo Liu <sdl.web@gmail.com>
27365 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
27366 for foreground and background colors.
27367 (ansi-color-make-color-map): Adapt.
27369 2011-03-25 Leo Liu <sdl.web@gmail.com>
27371 * midnight.el (midnight-time-float): Remove. Note it calculates
27372 the microsecond component incorrectly and seconds-to-time does the
27374 Remove redundant (require 'timer).
27376 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
27377 (ido-completions): Remove unused arguments. (Bug#8329)
27379 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
27381 * minibuffer.el (completion--flush-all-sorted-completions):
27382 Remove itself from hook.
27383 (completion-at-point): Let the functions perform the completion
27384 immediately and return nil or t.
27385 * comint.el (comint-dynamic-complete-functions): Now identical to
27386 completion-at-point-functions.
27387 (comint-dynamic-list-input-ring): Remove unused var `index'.
27388 (comint--match-partial-filename, comint--unquote&expand-filename):
27389 New funs, split from comint-match-partial-filename.
27390 (comint-dynamic-complete): Use completion-at-point.
27391 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
27393 2011-03-24 Drew Adams <drew.adams@oracle.com>
27395 * thingatpt.el: Support `defun'.
27397 2011-03-23 Leo Liu <sdl.web@gmail.com>
27399 * abbrevlist.el: Move to obsolete/abbrevlist.el.
27401 * help-mode.el (help-mode-finish): Tweak regexp.
27403 2011-03-23 Glenn Morris <rgm@gnu.org>
27405 * eshell/esh-opt.el (eshell-eval-using-options):
27406 Do not bind unused local variable `eshell-option-stub'.
27408 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
27410 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27412 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
27413 keymap variable in `with-no-warnings' to avoid a warning when the
27414 keymap has been already `defconst'ed.
27416 2011-03-22 Leo Liu <sdl.web@gmail.com>
27418 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
27419 encode all chars in abbrevs; otherwise use emacs-mule or
27420 utf-8-emacs. (Bug#8308)
27422 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27424 * simple.el (backward-delete-char-untabify):
27425 Avoid warning about using `delete-backward-char'.
27427 * image.el (image-type-file-name-regexps): Make it variable.
27428 `imagemagick-register-types' modifies it, and the user may want
27429 to add new extensions for known image types.
27430 (imagemagick-register-types): Throw error if not using ImageMagick.
27432 2011-03-22 Leo Liu <sdl.web@gmail.com>
27434 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
27435 located before rcirc-prompt-end-marker.
27436 (rcirc-complete): Error if point is not after rcirc prompt.
27437 Handle the case when table is nil.
27438 (rcirc-user-authenticated): Define to fix compiler warning.
27440 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
27442 * custom.el (custom--inhibit-theme-enable): Make it affect only
27443 custom-theme-set-variables and custom-theme-set-faces.
27444 (provide-theme): Ignore custom--inhibit-theme-enable.
27445 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
27446 (custom-enabling-themes): Delete variable.
27447 (enable-theme): Accept only loaded themes as arguments.
27448 Ignore the special custom-enabled-themes variable.
27449 (custom-enabled-themes): Forbid themes from setting this.
27450 Eliminate use of custom-enabling-themes.
27451 (custom-push-theme): Quote "changed" custom var entry.
27453 2011-03-21 Leo Liu <sdl.web@gmail.com>
27455 * ido.el (ido-read-internal): Add ido-selected to history instead
27458 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
27460 * subr.el (deferred-action-list, deferred-action-function):
27463 2011-03-21 Leo Liu <sdl.web@gmail.com>
27465 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
27466 change on 2011-02-13 (bug#8309).
27468 * minibuffer.el (read-file-name-function): Change default value.
27469 (read-file-name--defaults): Rename from read-file-name-defaults.
27470 (read-file-name-default): Rename from read-file-name.
27471 (read-file-name): Call read-file-name-function.
27473 2011-03-21 Glenn Morris <rgm@gnu.org>
27475 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
27478 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
27480 * cus-theme.el: Add missing provide statement.
27481 (customize-create-theme): Extract theme value correctly.
27482 (custom-theme-visit-theme): Autoload.
27483 (customize-create-theme): Prompt before inserting default faces.
27485 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
27487 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
27488 units and musical notes.
27490 2011-03-20 Leo Liu <sdl.web@gmail.com>
27492 * ido.el (ido-read-internal): Use completing-read-default.
27493 (ido-completing-read): Fix compatibility with completing-read.
27495 2011-03-20 Christian Ohler <ohler@gnu.org>
27497 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
27498 (ert-delete-all-tests): Use `called-interactively-p' rather than
27500 (ert--make-xrefs-region): Respect END.
27502 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27504 * dired-aux.el (dired-create-directory): Signal an error if the
27505 directory already exists (Bug#8246).
27507 * facemenu.el (list-colors-display): Call list-faces-display
27508 inside with-help-window.
27509 (list-colors-print): Use display property to align the final
27510 column, instead of checking window-width.
27512 2011-03-19 Eli Zaretskii <eliz@gnu.org>
27514 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
27515 windows-nt systems.
27516 (emerge-protect-metachars): Quote correctly for ms-dos and
27517 windows-nt systems.
27519 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
27521 * info.el (info-initialize): Replace all uses of `:' with
27522 path-separator for compatibility with non-Unix systems.
27523 Cache quoting of path-separator. (Bug#8258)
27525 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
27527 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
27528 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
27529 (mouse-avoidance-mode): Fix typos in docstrings.
27531 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27533 * startup.el (package-subdirectory-regexp): Move from package.el.
27534 Omit \\` and \\', and let callers add them.
27536 * emacs-lisp/package.el (package-strip-version)
27537 (package-load-all-descriptors): Add \\` and \\' to
27538 package-subdirectory-regexp before using it.
27539 (package-untar-buffer): New arg DIR; ensure that file untars only
27540 into this expected directory. Remove superfluous delete-region.
27541 (package-unpack): Caller changed.
27542 (package-tar-file-info): Use package-subdirectory-regexp.
27544 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
27546 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
27547 diff-mode-shared-map (bug#8284).
27548 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
27550 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
27552 * calendar/time-date.el (format-seconds): Use assoc instead of
27553 assoc-string, since assoc-string doesn't exist in XEmacs.
27555 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
27557 * custom.el (custom-known-themes): Reflow docstring.
27558 (custom-theme-load-path): Fix typo in docstring.
27559 (load-theme): Fix typo in error message.
27560 (custom-available-themes, custom-variable-theme-value):
27561 Use `let', not `let*'.
27563 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
27565 * calc/README: Mention inclusion of musical notes.
27567 * calc/calc-units.el (calc-lu-quant): Rename from
27568 `calc-logunits-quantity'.
27569 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
27570 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
27571 (calc-db): Rename from `calc-dblevel'.
27572 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
27573 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
27574 (calc-np): Rename from `calc-nplevel'.
27575 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
27576 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
27577 (calc-lu-plus): Rename from `calc-logunits-add'.
27578 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
27579 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
27580 (calc-lu-minus): Rename from `calc-logunits-sub'.
27581 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
27582 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
27583 (calc-lu-times): Rename from `calc-logunits-mul'.
27584 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
27585 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
27586 (calc-lu-divide): Rename from `calc-logunits-div'.
27587 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
27588 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
27590 * calc/calc-ext.el (calc-init-extensions): Update the names of the
27591 functions being autoloaded.
27593 * calc/calc.el (calc-lu-power-reference): Rename from
27594 `calc-logunits-power-reference'.
27595 (calc-lu-field-reference): Rename from
27596 `calc-logunits-field-reference'.
27598 * calc/calc-help.el (calc-l-prefix-help):
27599 Mention musical note functions.
27601 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
27603 * minibuffer.el (completion-all-sorted-completions):
27604 Use :completion-cycle-penalty text property if present.
27606 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
27608 * allout.el (allout-yank-processing): Adjust for new rebulleting
27609 regime so bullet being yanked is used without prompting the user
27612 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27614 * startup.el (command-line): Warn the user that _emacs is deprecated.
27616 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27618 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
27619 (delphi-verbose, delphi-comment-face, delphi-string-face)
27620 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
27621 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
27622 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
27623 (delphi-new-comment-line, delphi-font-lock-defaults)
27624 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
27625 Fix typos in docstrings.
27627 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
27629 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
27630 Invert the roles of character and string values for INSTEAD, so a
27631 string is used for the more common case of a defaulting prompt.
27633 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27635 * progmodes/ruby-mode.el (ruby-backward-sexp):
27636 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
27637 * play/gamegrid.el (gamegrid-make-face):
27638 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
27639 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
27640 * notifications.el (notifications-notify):
27641 * net/xesam.el (xesam-search-engines):
27642 * net/quickurl.el (quickurl-list-insert):
27643 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
27645 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
27647 * startup.el (command-line): Update package subdirectory regexp.
27649 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27651 * allout.el (allout-abbreviate-flattened-numbering)
27652 (allout-mode-deactivate-hook): Fix up obsolescence "date".
27654 * subr.el (read-char-choice): Only show the cursor after the prompt,
27655 not after the answer.
27657 2011-03-15 Kevin Ryde <user42@zip.com.au>
27659 * help-fns.el (variable-at-point): Skip leading quotes, if any
27662 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27664 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
27667 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
27669 * shell.el (shell): When called interactively, offer to change the
27670 shell file name on remote hosts.
27672 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
27674 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
27675 integration for LDAP parameters. The host, base, user or binddn,
27676 and secret tokens can be specified in a netrc file, for instance.
27677 This is optional because an `auth-source' parameter must be
27678 specified in the search attributes.
27680 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
27682 * help.el (describe-mode): Link to the mode's definition (bug#8185).
27684 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27686 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
27687 into declaration. Remove redundant and harmful binding.
27689 2011-03-12 Eli Zaretskii <eliz@gnu.org>
27691 * files.el (file-ownership-preserved-p): Pass `integer' as an
27692 explicit 2nd argument to `file-attributes'. If the file's owner
27693 is the Administrators group on Windows, and the current user is
27694 Administrator, consider that a match.
27696 * server.el (server-ensure-safe-dir): Consider server directory
27697 safe on MS-Windows if its owner is the Administrators group while
27698 the current Emacs user is Administrator. Use `=' to compare
27699 numerical UIDs, since they could be integers or floats.
27701 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
27703 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
27705 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
27707 Sync with Tramp 2.2.1.
27709 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
27711 * net/trampver.el: Update release number.
27713 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27715 * progmodes/compile.el (compilation--previous-directory): Fix up
27716 various nil/dead-marker mismatches (bug#8014).
27717 (compilation-directory-properties, compilation-error-properties):
27718 Don't call it at a position past the one we're about to change.
27720 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
27721 Disable obsolescence warnings in the file that declares it.
27723 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
27725 * allout-widgets.el (allout-widgets-tally):
27726 Initialize allout-widgets-tally as a hash table rather than nil to
27727 prevent mode-line redisplay warnings. Also, clarify the module
27728 description and fix a comment typo.
27730 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
27732 * help-fns.el (describe-variable): Don't complete keywords.
27733 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
27735 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
27737 * emacs-lisp/package.el (package-version-join): Impose a standard
27738 string representation for pre/alpha/beta version lists.
27739 (package-unpack-single): Standardize the directory name by passing
27740 it through package-version-join.
27741 (package-strip-rcs-id): Accept any version string that does not
27742 signal an error in version-to-list.
27744 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
27746 * simple.el (delete-trailing-whitespace): Return nil for the
27747 benefit of `write-file-functions'.
27749 2011-03-10 Glenn Morris <rgm@gnu.org>
27751 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
27753 * vc/vc-git.el (vc-git-program): New option.
27754 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
27755 (vc-git--call): Use it.
27757 * eshell/esh-util.el (eshell-condition-case): Doc fix.
27759 * cus-edit.el (Custom-newline): If no button at point, look
27760 for a subgroup button at start-of-line. (Bug#2298)
27762 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
27764 2011-03-10 Julien Danjou <julien@danjou.info>
27766 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
27767 `cursor-type' is nil.
27769 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
27771 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
27773 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
27775 * allout.el: Change so yank of distinctive-bullet items
27776 preserves the existing header prefix, rebulleting it if necessary,
27777 rather than replacing it. This is necessary for proper operation
27778 of cooperative addons like allout-widgets.
27779 (allout-make-topic-prefix, allout-rebullet-heading):
27780 Change SOLICIT arg to INSTEAD, and interpret additionally a string
27781 value as alternate bullet to be used, instead of prompting the user
27782 for a bullet character.
27784 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
27786 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
27787 Do not use `tramp-file-name-port', because this returns also
27788 `tramp-default-port'.
27790 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
27792 * net/rcirc.el (rcirc-handler-001): Remove useless
27793 with-rcirc-process-buffer.
27794 (rcirc-check-auth-status): Swap arguments to string-match.
27796 2011-03-09 Glenn Morris <rgm@gnu.org>
27798 * shell.el (shell-mode):
27799 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
27801 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
27802 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
27804 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27806 * emacs-lisp/package.el (package-refresh-contents)
27807 (package-menu-execute): Use condition-case-no-debug.
27809 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
27811 * simple.el (shell-command-to-string): Use `process-file'.
27813 * emacs-lisp/package.el (package-tar-file-info): Handle also
27816 * emacs-lisp/package-x.el (package-upload-buffer-internal):
27817 Use `equal' for upload base check.
27819 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
27821 * textmodes/texinfo.el (texinfo-environments):
27822 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
27824 2011-03-08 Glenn Morris <rgm@gnu.org>
27826 * cus-start.el (cursor-in-non-selected-windows):
27827 Fix :set quoting oddness. (Bug#8192)
27829 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
27830 in some setf expressions. (Bug#2159)
27832 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27834 * custom.el (custom-available-themes): Return themes in
27835 alphabetical order.
27837 See ChangeLog.15 for earlier changes.
27839 ;; Local Variables:
27843 Copyright (C) 2011-2013 Free Software Foundation, Inc.
27845 This file is part of GNU Emacs.
27847 GNU Emacs is free software: you can redistribute it and/or modify
27848 it under the terms of the GNU General Public License as published by
27849 the Free Software Foundation, either version 3 of the License, or
27850 (at your option) any later version.
27852 GNU Emacs is distributed in the hope that it will be useful,
27853 but WITHOUT ANY WARRANTY; without even the implied warranty of
27854 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27855 GNU General Public License for more details.
27857 You should have received a copy of the GNU General Public License
27858 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.