1 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
3 * emacs-lisp/easy-mmode.el (define-minor-mode):
4 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
5 mode hook and provide a docstring.
7 2013-05-27 Alan Mackenzie <acm@muc.de>
9 Remove spurious syntax-table text properties inserted by C-y.
10 * progmodes/cc-mode.el (c-after-change): Also clear hard
11 syntax-table property with value nil.
13 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
15 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
16 when reading the events; the buffer layout shall not be changed.
18 2013-05-27 Leo Liu <sdl.web@gmail.com>
20 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
22 (inferior-octave-directory-tracker): Automatically re-sync
24 (octave-help): Improve handling of 'See also'.
26 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
28 * doc-view.el: Minor naming convention tweaks.
29 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
31 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
32 even if there's no `display' property yet (bug#14435).
34 2013-05-25 Eli Zaretskii <eliz@gnu.org>
36 * subr.el (unmsys--file-name): Rename from reveal-filename.
38 * Makefile.in (custom-deps, finder-data, autoloads)
39 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
40 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
41 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
43 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
45 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
46 error-completion on the first 2 args of condition-case (bug#14446).
49 2013-05-25 Leo Liu <sdl.web@gmail.com>
51 * comint.el (comint-previous-matching-input): Do not flood the
52 *Messages* buffer with trivial messages.
54 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
56 * progmodes/flymake.el (flymake-nop): Don't return a string.
57 (flymake-set-at): Fix typo.
59 * simple.el (read--expression): New function, extracted from
60 eval-expression. Set completion-at-point-functions (bug#14465).
61 (eval-expression, eval-minibuffer): Use it.
63 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
65 * progmodes/flymake.el (flymake-save-buffer-in-file)
66 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
67 (flymake-selected-frame, flymake-log, flymake-ins-after)
68 (flymake-set-at, flymake-get-buildfile-from-cache)
69 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
70 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
71 Refine the doc string.
72 (flymake-get-file-name-mode-and-masks): Reformat.
73 (flymake-get-real-file-name-function): Fix a minor bug.
75 2013-05-24 Juri Linkov <juri@jurta.org>
77 * progmodes/grep.el (grep-mode-font-lock-keywords):
78 Support =linenumber= format used by git-grep for lines with
79 function names. (Bug#13549)
81 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
83 * progmodes/octave.el (octave-smie-rules): Return nil rather than
84 0 after a semi-colon; it works better for smie-auto-fill.
85 (octave--indent-new-comment-line): New function.
86 (octave-indent-new-comment-line): Use it (indirectly).
87 (octave-mode): Don't disable smie-auto-fill. Use add-function to
88 modify comment-line-break-function.
90 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
91 (smie-setup): Use add-function to set it.
93 2013-05-24 Sam Steingold <sds@gnu.org>
95 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
96 argument (before the `interactive' argument).
98 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
100 * image-mode.el (image-mode-winprops): Add winprops to
101 image-mode-winprops-alist before running
102 image-mode-new-window-functions.
103 * doc-view.el (doc-view-new-window-function): Don't delay
104 doc-view-goto-page via timers (bug#14435).
106 2013-05-24 Tassilo Horn <tsdh@gnu.org>
108 * doc-view.el: Integrate with desktop.el. (Bug#14435)
109 (doc-view-desktop-save-buffer): New function.
110 (doc-view-restore-desktop-buffer): New function.
111 (desktop-buffer-mode-handlers):
112 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
114 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
115 `desktop-save-buffer' function.
117 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
119 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
120 (tramp-gvfs-file-name-handler): Raise a user error when
121 `tramp-gvfs-enabled' is nil.
122 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
123 Do not raise a user error when loading package. (Bug#14447)
125 * net/xesam.el: Move to obsolete/.
127 2013-05-24 Glenn Morris <rgm@gnu.org>
129 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
131 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
133 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
134 (Info-find-node, Man-getpage-in-background): Declare.
136 * mail/unrmail.el (unrmail):
137 Replace obsolete detect-coding-with-priority.
139 * net/socks.el (socks-split-string): Use this rather than split-string.
140 (socks-nslookup-host): Update for above change.
141 (dynamic-choice, s5-dynamic-choice-match)
142 (s5-dynamic-choice-match-inline, s5-widget-value-create):
143 Comment out unused code.
145 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
146 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
147 (gud-tooltip-echo-area): Make obsolete.
148 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
150 * progmodes/js.el (js--optimize-arglist): Declare.
152 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
154 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
155 (ediff-window-C): Declare.
157 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
158 Tweak requires to silence compiler.
160 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
161 (he-search-string, he-tried-table, he-expand-list)
162 (he-init-string, he-string-member, he-substitute-string)
163 (he-reset-string): Declare.
165 * obsolete/options.el (list-options): Use custom-variable-p,
166 rather than obsolete alias.
168 2013-05-23 Sam Steingold <sds@gnu.org>
170 * simple.el (shell-command-on-region): Pass the `replace' argument
171 down to `call-process-region' to comply with the doc as reported on
172 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
174 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
176 * emacs-lisp/smie.el (smie-indent-forward-token)
177 (smie-indent-backward-token): Handle string tokens (bug#14381).
179 2013-05-23 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
181 * ielm.el (ielm-menu): New menu.
182 (inferior-emacs-lisp-mode): Set comment-start.
184 2013-05-23 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
186 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
187 Fix deactivate action.
189 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
192 * lisp/textmodes/reftex-parse.el
193 (reftex-locate-bibliography-files): Accept options for
194 bibliography commands.
195 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
196 Add addbibresource. Basic Biblatex support.
198 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
200 * net/tramp-gvfs.el (top):
201 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
202 when loading package. (Bug#14447)
204 2013-05-23 Glenn Morris <rgm@gnu.org>
206 * progmodes/js.el: No need to load comint when compiling.
207 (ring-insert, comint-send-string, comint-send-input)
208 (comint-last-input-end, ido-chop): Declare.
210 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
211 * vc/ediff-mult.el: Adjust requires.
212 (ediff-directories-internal, ediff-directory-revisions-internal)
213 (ediff-patch-file-internal): Declare.
214 * vc/ediff-ptch.el: Adjust requires.
215 (ediff-use-last-dir, ediff-buffers-internal): Declare.
216 (ediff-find-file): Autoload.
217 * vc/ediff-util.el: No need to load ediff when compiling.
218 (ediff-regions-internal): Declare.
219 * vc/ediff-wind.el: Adjust requires.
220 (ediff-compute-toolbar-width): Define when compiling.
221 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
222 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
223 (dired-get-filename, dired-get-marked-files)
224 (ediff-last-dir-patch, ediff-patch-default-directory)
225 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
226 (ediff-patch-buffer-internal): Declare.
228 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
229 (ispell-process, ispell-buffer-local-words, lm-summary)
230 (lm-section-start, lm-section-end): Declare.
231 (checkdoc-ispell-init): Simplify.
233 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
234 (he-string-member, he-reset-string, he-substitute-string): Declare.
236 * eshell/em-ls.el: Adjust requires.
237 (eshell-glob-regexp): Declare.
238 * eshell/em-tramp.el: Adjust requires.
239 (eshell-parse-command): Autoload.
240 * eshell/em-xtra.el: Adjust requires.
241 (eshell-parse-command): Autoload.
242 * eshell/esh-ext.el: Adjust requires.
243 (eshell-parse-command, eshell-close-handles): Autoload.
244 * eshell/esh-io.el: Adjust requires.
245 (eshell-output-filter): Autoload.
246 * eshell/esh-util.el: No need to load tramp when compiling.
247 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
249 (eshell-parse-ange-ls): Require ange-ftp and tramp.
250 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
251 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
252 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
253 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
254 * eshell/esh-opt.el, eshell/esh-proc.el:
255 * eshell/esh-var.el: Adjust requires.
256 * eshell/eshell.el: Do not require esh-util twice.
257 (eshell-add-input-to-history): Declare.
258 (eshell-command): Check history module is active before using it.
260 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
262 2013-05-22 Leo Liu <sdl.web@gmail.com>
264 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
266 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
268 * autorevert.el (auto-revert-notify-add-watch)
269 (auto-revert-notify-handler): Add `attrib' for the inotify case,
270 it indicates changes in file modification time.
272 2013-05-22 Glenn Morris <rgm@gnu.org>
274 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
275 Always delete the autoloaded function from the noruntime and
276 unresolved functions lists.
278 * allout.el: No need to load epa, epg, overlay when compiling.
279 (epg-context-set-passphrase-callback, epg-list-keys)
280 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
281 (epg-key-user-id-list): Declare.
283 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
284 (viper-set-parsing-style-toggling-macro)
285 (viper-set-emacs-state-searchstyle-macros):
286 Use called-interactively-p on Emacs.
287 (viper-looking-back): Make it an obsolete alias. Update callers.
288 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
289 Use looking-back rather than viper-looking-back.
290 (viper-tmp-insert-at-eob, viper-enlarge-region)
291 (viper-read-string-with-history, viper-register-to-point)
292 (viper-append-to-register, viper-change-state-to-vi)
293 (viper-backward-char-carefully, viper-forward-char-carefully)
294 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
295 (viper-change-state-to-emacs): Declare.
296 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
297 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
298 * emulation/viper-mous.el: Do not load viper-cmd.
299 (viper-backward-char-carefully, viper-forward-char-carefully)
300 (viper-forward-word, viper-adjust-window): Declare.
302 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
304 * progmodes/idlw-help.el (idlwave-help-fontify):
305 Use called-interactively-p.
307 * term/w32console.el (w32-get-console-codepage)
308 (w32-get-console-output-codepage): Declare.
310 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
311 Remove unnecessary declarations.
312 (dframe-message): Doc fix.
314 * info.el (dframe-select-attached-frame, dframe-current-frame):
317 * speedbar.el (speedbar-message): Make it an obsolete alias.
319 (speedbar-with-attached-buffer)
320 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
321 (speedbar-with-writable): Use backquote.
322 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
323 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
324 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
325 rather than speedbar- aliases.
326 * mail/rmail.el: Load dframe rather than speedbar when compiling.
327 (speedbar-make-specialized-keymap, speedbar-insert-button)
328 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
329 (speedbar-do-function-pointer): Declare.
330 (rmail-speedbar-button, rmail-speedbar-find-file)
331 (rmail-speedbar-move-message):
332 Use dframe-with-attached-buffer rather than speedbar- alias.
333 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
334 (dframe-message, speedbar-make-specialized-keymap)
335 (speedbar-add-expansion-list, speedbar-mode-functions-list)
336 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
337 (speedbar-insert-button, dframe-select-attached-frame)
338 (dframe-maybee-jump-to-attached-frame)
339 (speedbar-change-initial-expansion-list)
340 (speedbar-previously-used-expansion-list-name): Declare.
341 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
342 Use dframe-message, dframe-with-attached-buffer rather than
344 (gud-sentinel): Silence compiler.
345 * progmodes/vhdl-mode.el (speedbar-refresh)
346 (speedbar-do-function-pointer, speedbar-add-supported-extension)
347 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
348 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
349 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
350 (speedbar-file-lists, speedbar-make-tag-line)
351 (speedbar-line-directory, speedbar-goto-this-file)
352 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
353 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
354 (speedbar-make-button, speedbar-reset-scanners)
355 (speedbar-files-item-info, speedbar-line-text)
356 (speedbar-find-file-in-frame, speedbar-set-timer)
357 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
358 (speedbar-with-writable): Do not (re)define it.
359 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
360 rather than speedbar- alias.
362 2013-05-21 Leo Liu <sdl.web@gmail.com>
364 * progmodes/octave.el (octave-mode-menu): Update and re-organize
366 (octave-mode): Tweak fill-nobreak-predicate.
367 (inferior-octave-startup): Check process to avoid infinite loop.
368 (inferior-octave): Pop to buffer first to show abornmal process
371 2013-05-21 Glenn Morris <rgm@gnu.org>
373 * printing.el (pr-menu-bar): Define when compiling.
375 2013-05-21 Leo Liu <sdl.web@gmail.com>
377 * progmodes/octave.el (octave-auto-fill): Remove.
378 (octave-indent-new-comment-line): Improve.
379 (octave-mode): Use auto fill mode through
380 comment-line-break-function and fill-nobreak-predicate
381 (octave-goto-function-definition): Support DEFUN_DLD.
382 (octave-beginning-of-defun): Small Tweak
383 (octave-help): Show parent directory.
385 2013-05-21 Glenn Morris <rgm@gnu.org>
387 * files.el (dired-unmark):
388 * progmodes/gud.el (gdb-input): Update declarations.
390 * calculator.el (electric, ehelp): No need to load when compiling.
391 (Electric-command-loop, electric-describe-mode): Declare.
393 * doc-view.el (doc-view-current-converter-processes): Move before use.
395 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
396 Move MODE-set-explicitly definition before use.
398 * international/mule-diag.el (mule-diag):
399 Don't use obsolete window-system-version.
401 * mail/feedmail.el (smtpmail): No need to load when compiling.
402 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
404 * mail/mail-utils.el (rfc822): No need to load when compiling.
405 (rfc822-addresses): Autoload it.
406 (mail-strip-quoted-names): Trivial simplification.
408 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
409 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
411 * net/snmp-mode.el (tempo): Don't duplicate requires.
413 * progmodes/prolog.el (info): No need to load when compiling.
414 (comint): Require before shell requires it.
415 (Info-goto-node): Autoload it.
416 (Info-follow-nearest-node): Declare.
417 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
419 * textmodes/artist.el (picture-mode-exit): Declare.
421 * textmodes/reftex-parse.el (reftex-parse-from-file):
422 Trivial rewrite so the compiler can parse it better.
424 2013-05-20 Leo Liu <sdl.web@gmail.com>
426 * progmodes/octave.el (octave-help-mode-map)
427 (octave-help-mode-finish-hook): New variables.
428 (octave-help-mode, octave-help-mode-finish): New functions.
429 (octave-help): Use octave-help-mode.
431 2013-05-20 Glenn Morris <rgm@gnu.org>
433 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
435 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
437 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
438 start at point, so that expansion starting right after opening
439 slash in a regexp is recognized.
440 (ruby-syntax-before-regexp-re): New defvar, extracted from
441 ruby-syntax-propertize-function. Since the value of this regexp
442 is looked up at runtime now, we should be able to turn
443 `ruby-syntax-methods-before-regexp' into a defcustom later.
444 (ruby-syntax-propertize-function): Split regexp matching into two
445 parts, for opening and closing slashes. That allows us to skip
446 over string interpolations and support multiline regexps.
447 Don't call `ruby-syntax-propertize-expansions', instead use another rule
448 for them, which calls `ruby-syntax-propertize-expansion'.
449 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
450 call to `ruby-syntax-propertize-function'.
451 (ruby-syntax-propertize-expansion): Extracted from
452 `ruby-syntax-propertize-expansions'. Handles one expansion.
453 (ruby-syntax-propertize-percent-literal): Leave point right after
454 the percent symbol, so that the expression expansion rule can
455 propertize the contents.
456 (ruby-syntax-propertize-heredoc): Leave point at bol following the
458 (ruby-syntax-propertize-expansions): Remove.
460 2013-05-18 Juri Linkov <juri@jurta.org>
462 * man.el (Man-default-man-entry): Remove `-' from the end
463 of the default value. (Bug#14400)
465 2013-05-18 Glenn Morris <rgm@gnu.org>
467 * comint.el (comint-password-prompt-regexp):
468 Allow "password for XXX" where XXX contains colons (eg https://...).
470 2013-05-18 Leo Liu <sdl.web@gmail.com>
472 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
473 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
474 (octave-source-directories): Don't check process.
475 (octave-source-directories, octave-find-definition): Doc fix.
477 2013-05-18 Glenn Morris <rgm@gnu.org>
479 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
480 Remove backspace/delete bindings. (Bug#14392)
482 * cus-dep.el (custom-make-dependencies): Sort the output.
483 (custom-versions-load-alist): Convert comment to doc.
485 2013-05-17 Leo Liu <sdl.web@gmail.com>
487 * newcomment.el (comment-search-backward): Stricter in finding
488 comment start. (Bug#14303)
490 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
491 (octave-comment-start-skip): Properly anchored.
493 2013-05-17 Leo Liu <sdl.web@gmail.com>
495 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
496 Clean up when turned off. (Bug#14395)
497 (smie--highlight-matching-block-overlay): No longer buffer-local.
498 (smie-highlight-matching-block): Adjust.
500 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
502 Doc string fix for "nanoseconds" (Bug#14406).
503 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
504 Fix doc string typo that had "nanoseconds" instead of "microseconds".
506 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
508 * calc/calc-units.el (math-extract-units): Preserve powers
511 2013-05-17 Leo Liu <sdl.web@gmail.com>
513 * subr.el (delete-consecutive-dups): New function.
514 * ido.el (ido-set-matches-1): Use it.
515 * progmodes/octave.el (inferior-octave-completion-table): Use it.
516 * ido.el (ido-remove-consecutive-dups): Remove.
518 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
520 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
521 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
522 regexp-opt's `words'.
524 2013-05-16 Leo Liu <sdl.web@gmail.com>
526 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
527 (smie--highlight-matching-block-overlay)
528 (smie--highlight-matching-block-lastpos)
529 (smie--highlight-matching-block-timer): New variables.
530 (smie-highlight-matching-block): New function.
531 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
532 (smie-setup): Conditionally enable smie-blink-matching-open.
534 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
536 Sync with upstream verilog-mode r840.
537 * progmodes/verilog-mode.el (verilog-mode-version)
538 (verilog-mode-release-date): Update.
539 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
540 (verilog-sig-tieoff): Fix string error on
541 AUTORESET with colon define, bug594. Reported by Andrew Hou.
542 (verilog-read-decls): Fix parameters confusing
543 AUTOINST interfaces, bug565. Reported by Leith Johnson.
545 2013-05-16 Eli Zaretskii <eliz@gnu.org>
547 * subr.el (reveal-filename): New function.
549 * loadup.el: Compute Emacs executable versions on MS-Windows,
550 where executables have the .exe extension. Add a hard link
551 emacs-XX.YY.ZZ.exe on MS-Windows.
553 * Makefile.in (XARGS_LIMIT): New variable.
554 (custom-deps, finder-data, autoloads)
555 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
556 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
557 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
558 (compile-main): Limit xargs according to $(XARGS_LIMIT).
560 2013-05-16 Leo Liu <sdl.web@gmail.com>
562 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
563 (octave-mode-menu, octave-mode-map): Remove its uses.
565 2013-05-16 Reto Zimmermann <reto@gnu.org>
567 Sync with upstream vhdl mode v3.34.2.
568 * progmodes/vhdl-mode.el: Use `push' throughout.
569 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
570 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
571 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
572 (vhdl-actual-generic-name): New option to derive actual generic name.
573 (vhdl-port-paste-signals): Replace formal by actual generics.
574 (vhdl-beautify): New name for old group vhdl-align. Update users.
575 (vhdl-beautify-options): New option.
576 (vhdl-last-input-event): New compat alias. Use throughout.
577 (vhdl-goto-line): Replace user level function `goto-line'.
578 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
579 vhdl-fix-statement-buffer.
580 (vhdl-create-mode-menu): Add some entries.
581 (vhdl-align-region-groups): Respect vhdl-beautify-options.
582 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
583 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
584 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
585 to force statements on one line.
586 (vhdl-remove-trailing-spaces-region):
587 New, split from vhdl-remove-trailing-spaces.
588 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
589 Respect vhdl-beautify-options.
590 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
591 (vhdl-update-sensitivity-list): Not add with index if exists without.
592 Not include array index with signal. Ignore keywords in comments.
593 (vhdl-get-visible-signals): Regexp tweaks.
594 (vhdl-template-component-inst): Handle empty library.
595 (vhdl-template-type): Add template for 'enum' type.
596 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
597 Use vhdl-replace-string.
598 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
599 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
600 (vhdl-speedbar-initialize): Update for above name change.
601 (vhdl-compose-wire-components): Fix in handling of constants.
602 (vhdl-error-regexp-emacs-alist): New variable.
603 (vhdl-error-regexp-add-emacs): New function;
604 adds support for new compile.el (Emacs 22+)
605 (vhdl-generate-makefile-1): Change target order for single lib. units.
606 Allow use of absolute file names.
608 2013-05-16 Leo Liu <sdl.web@gmail.com>
610 * simple.el (prog-indent-sexp): Indent enclosing defun.
612 2013-05-15 Glenn Morris <rgm@gnu.org>
614 * cus-start.el (show-trailing-whitespace): Move to editing basics.
615 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
616 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
617 (whitespace-highlight): Move to whitespace group.
619 * comint.el (comint-source):
620 * pcmpl-linux.el (pcmpl-linux):
621 * shell.el (shell-faces):
622 * eshell/esh-opt.el (eshell-opt):
623 * international/ccl.el (ccl): Remove empty custom groups.
625 * completion.el (dynamic-completion-mode):
626 * jit-lock.el (jit-lock-debug-mode):
627 * minibuffer.el (completion-in-region-mode):
628 * type-break.el (type-break-mode-line-message-mode)
629 (type-break-query-mode):
630 * emulation/tpu-edt.el (tpu-edt-mode):
631 * progmodes/subword.el (global-subword-mode, global-superword-mode):
632 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
633 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
635 * term/xterm.el (xterm): Change parent group to terminals.
637 * master.el (master): Remove empty custom group.
638 (master-mode): Remove unused :group argument.
639 * textmodes/refill.el (refill): Remove empty custom group.
640 (refill-mode): Remove unused :group argument.
642 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
644 * cus-dep.el: Provide a feature.
645 (custom-make-dependencies): Ignore dotfiles (dir-locals).
646 Don't mistakenly ignore files whose basenames match a basename
647 from preloaded-file-list (eg cedet/ede/simple.el).
648 Add a fallback method for getting :group.
650 2013-05-15 Juri Linkov <juri@jurta.org>
652 * isearch.el (isearch-char-by-name): Rename from
653 `isearch-insert-char-by-name'. Doc fix.
654 (isearch-forward): Mention `isearch-char-by-name' in
655 the docstring. (Bug#13348)
657 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
658 `exit-minibuffer' instead of
659 `isearch-nonincremental-exit-minibuffer'.
660 (isearch-edit-string): Remove mention of
661 `isearch-nonincremental-exit-minibuffer' from docstring.
662 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
663 (isearch-forward-exit-minibuffer)
664 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
666 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
668 * loadup.el: Just use unversioned DOC.
670 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
671 literals as extending to EOB.
672 (nxml-last-fontify-end): Remove unused variable.
673 (nxml-after-change1): Use with-silent-modifications.
674 (nxml-extend-after-change-region): Simplify.
675 (nxml-extend-after-change-region1): Remove function.
676 (nxml-after-change1): Don't adjust for dependent regions.
677 (nxml-fontify-matcher): Simplify.
678 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
679 (xmltok-add-dependent): Remove function.
680 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
681 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
682 (xmltok-scan-prolog-after-processing-instruction-open): Treat
683 unclosed <[[, <?, comment, and other literals as extending to EOB.
684 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
685 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
687 (rng-do-some-validation-1): Don't mark dependent regions.
688 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
689 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
690 (nxml-clear-dependent-regions): Remove functions.
691 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
692 (nxml-ensure-scan-up-to-date):
693 Don't clear&mark dependent regions.
695 2013-05-15 Leo Liu <sdl.web@gmail.com>
697 * progmodes/octave.el (octave-goto-function-definition):
698 Improve and fix callers.
700 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
702 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
703 the setter (bug#14387).
705 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
706 surrounding group (bug#14402).
708 2013-05-14 Juri Linkov <juri@jurta.org>
710 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
713 2013-05-14 Glenn Morris <rgm@gnu.org>
715 * progmodes/f90.el (f90-imenu-generic-expression):
716 Fix typo in 2013-05-08 change. (Bug#14402)
718 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
720 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
721 Remove signals for which replies are never received.
723 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
725 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
726 (gdb-handler-alist, gdb-handler-number): Remove variables.
727 (gdb-handler-list): New variable.
728 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
729 (gdb-pending-handler-p, gdb-handle-reply)
730 (gdb-remove-all-pending-triggers): New functions.
731 (gdb-discard-unordered-replies): New defcustom.
732 (gdb-handler): New defstruct.
733 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
734 instead of gdb-pending-triggers. Update docstring.
735 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
736 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
737 (gdb-var-update-handler, def-gdb-auto-update-trigger)
738 (def-gdb-auto-update-handler, gdb-get-changed-registers)
739 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
740 (gdb-frame-handler): Pending triggers are now automatically managed.
741 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
743 (gdb-input): Automatically handles pending triggers. Update docstring.
744 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
745 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
747 (gdb-done-or-error): Now use gdb-handle-reply.
749 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
751 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
754 2013-05-14 Glenn Morris <rgm@gnu.org>
756 * subr.el (user-emacs-directory-warning): New option.
757 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
759 2013-05-14 Leo Liu <sdl.web@gmail.com>
761 * progmodes/octave.el (octave-font-lock-keywords): Fix error
763 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
764 (octave-font-lock-texinfo-comment): Fix invalid search bound
765 error: wrong side of point.
767 2013-05-14 Glenn Morris <rgm@gnu.org>
769 * progmodes/flymake.el (flymake-xml-program): New option.
770 (flymake-xml-init): Use it.
772 * term/xterm.el: Provide a feature.
774 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
776 2013-05-13 Glenn Morris <rgm@gnu.org>
778 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
779 Add compat aliases as a hack workaround. (Bug#14384)
781 2013-05-13 Leo Liu <sdl.web@gmail.com>
783 * progmodes/octave.el (octave-indent-comment): Fix indentation for
785 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
787 (octave-comment-start-skip): Include %!.
788 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
790 2013-05-12 Leo Liu <sdl.web@gmail.com>
792 * progmodes/octave.el (inferior-octave-startup): Store the value
793 of __octave_srcdir__ for octave-source-directories.
794 (inferior-octave-check-process): New function refactored out of
795 inferior-octave-send-list-and-digest.
796 (octave-source-directories)
797 (octave-find-definition-filename-function): New variables.
798 (octave-source-directories)
799 (octave-find-definition-default-filename): New functions.
800 (octave-find-definition): Improve to find functions implemented in C++.
802 2013-05-12 Glenn Morris <rgm@gnu.org>
804 * calendar/diary-lib.el (diary-outlook-format-1):
805 Don't include dayname in the output. (Bug#14349)
807 2013-05-11 Glenn Morris <rgm@gnu.org>
809 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
811 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
812 Treat cc-provide like provide.
814 2013-05-11 Kevin Ryde <user42@zip.com.au>
816 * cus-dep.el (custom-make-dependencies):
817 Use generated-autoload-load-name for the sake of files such
818 such cedet/semantic/bovine/c.el, where the base file name
819 is not in load-path. (Bug#5277)
821 2013-05-11 Glenn Morris <rgm@gnu.org>
823 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
826 2013-05-11 Leo Liu <sdl.web@gmail.com>
828 * progmodes/octave.el (octave-indent-comment): Improve.
829 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
830 (octave-eldoc-function-signatures, octave-eldoc-function):
832 (octave-mode, inferior-octave-mode): Add eldoc support.
834 2013-05-11 Richard Stallman <rms@gnu.org>
836 * epa.el (epa-decrypt-file): Take output file name as argument
837 and read it using `interactive'.
839 2013-05-11 Leo Liu <sdl.web@gmail.com>
841 * progmodes/octave.el (octave-beginning-of-line)
842 (octave-end-of-line): Check before using up-list because it jumps
843 out of more syntactic contructs since moving to smie.
844 (octave-indent-comment): New function.
845 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
846 (octave-begin-keywords, octave-end-keywords)
847 (octave-reserved-words, octave-smie-bnf-table)
848 (octave-smie-rules): Add new keywords from Octave 3.6.4.
850 2013-05-11 Glenn Morris <rgm@gnu.org>
852 * faces.el (internal-face-x-get-resource):
853 * frame.el (ns-display-monitor-attributes-list):
854 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
856 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
858 * calc/calc-menu.el: Make it loadable in isolation.
860 * net/eudcb-bbdb.el: Make it loadable without bbdb.
861 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
862 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
863 (eudc-bbdb-query-internal): Require 'bbdb.
865 * lpr.el (lpr-headers-switches):
866 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
868 * progmodes/sql.el (sql-login-params): Fix and improve :type.
870 * emulation/edt-mapper.el: In batch mode, error rather than hang.
872 * term.el (term-set-escape-char): Make it idempotent.
874 2013-05-10 Leo Liu <sdl.web@gmail.com>
876 * progmodes/octave.el (inferior-octave-completion-table):
877 No longer a function and all uses changed. Use cache to speed up
878 completion due to bug#11906.
879 (octave-beginning-of-defun): Re-write to be more general.
881 2013-05-10 Glenn Morris <rgm@gnu.org>
883 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
885 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
887 * comint.el (comint-redirect-send-command-to-process): Use :around
888 rather than :override for comint-redirect-filter.
889 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
890 Call it instead of comint-redirect-original-filter-function (which
891 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
893 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
895 * frame.el (display-monitor-attributes-list): Add NS case.
896 (ns-display-monitor-attributes-list): Declare.
898 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
900 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
902 2013-05-09 Glenn Morris <rgm@gnu.org>
904 * international/fontset.el (vertical-centering-font-regexp):
907 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
909 * bookmark.el (bookmark-search-delay):
910 * cus-start.el (vertical-centering-font-regexp):
911 * ps-mule.el (ps-mule-font-info-database-default):
912 * ps-print.el (ps-default-fg, ps-default-bg):
913 * type-break.el (type-break-good-break-interval):
914 * whitespace.el (whitespace-indentation-regexp)
915 (whitespace-space-after-tab-regexp):
916 * emacs-lisp/testcover.el (testcover-1value-functions)
917 (testcover-noreturn-functions, testcover-progn-functions)
918 (testcover-prog1-functions):
919 * emulation/viper-init.el (viper-emacs-state-cursor-color):
920 * eshell/em-glob.el (eshell-glob-translate-alist):
921 * play/tetris.el (tetris-tty-colors):
922 * progmodes/cpp.el (cpp-face-default-list):
923 * progmodes/flymake.el (flymake-allowed-file-name-masks):
924 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
925 (idlwave-help-browser-generic-args):
926 * progmodes/make-mode.el (makefile-special-targets-list):
927 * progmodes/python.el (python-shell-virtualenv-path):
928 * progmodes/verilog-mode.el (verilog-active-low-regexp)
929 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
930 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
931 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
932 * textmodes/reftex-vars.el (reftex-format-label-function):
933 * textmodes/remember.el (remember-diary-file): Fix custom types.
935 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
938 2013-05-09 Leo Liu <sdl.web@gmail.com>
940 * progmodes/octave.el (inferior-octave-completion-at-point):
941 Restore file completion. (Bug#14300)
942 (inferior-octave-startup): Fix incorrect highlighting for the
945 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
947 * progmodes/ruby-mode.el: First cut at SMIE support.
948 (ruby-use-smie): New var.
949 (ruby-smie-grammar): New constant.
950 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
951 (ruby-smie--forward-token, ruby-smie--backward-token)
952 (ruby-smie-rules): New functions.
953 (ruby-mode-variables): Setup SMIE if applicable.
955 2013-05-08 Eli Zaretskii <eliz@gnu.org>
957 * simple.el (line-move-visual): Signal beginning/end of buffer
958 only if vertical-motion moved less than it was requested. Avoids
959 silly incorrect error messages when there are display strings with
960 multiple newlines at EOL.
962 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
964 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
965 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
966 (prolog-char-quote-workaround):
967 * progmodes/cperl-mode.el (cperl-under-as-char):
968 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
970 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
972 (vhdl-mode-syntax-table-init): Remove.
974 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
977 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
979 (ld-script-font-lock-keywords):
980 Change regexps to use things like \_< and \_>.
982 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
983 Change all regexps to use things like \_< and \_>.
985 * progmodes/autoconf.el (autoconf-definition-regexp)
986 (autoconf-font-lock-keywords, autoconf-current-defun-function):
987 Handle a _ with symbol syntax.
988 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
990 * progmodes/ada-mode.el (ada-mode-abbrev-table):
991 Consolidate declaration.
992 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
994 (ada-create-syntax-table): Remove.
995 (ada-capitalize-word): Don't mess with the syntax of "_" since it
996 already has the right syntax nowadays.
997 (ada-goto-next-word): Don't change the syntax of "_".
999 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
1002 2013-05-08 Sam Steingold <sds@gnu.org>
1004 * thingatpt.el (thing-at-point): Accept optional second argument
1005 NO-PROPERTIES to strip the text properties from the return value.
1006 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
1007 to `thing-at-point' instead of stripping the properties ourselves.
1008 Also, when `thing-at-point' fails to find a url, prepend "http://"
1009 to the filename at point on the assumption that the user is
1010 pointing at something like gnu.org/gnu.
1012 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
1014 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1015 * faces.el (crm-separator):
1016 Silence byte-compiler.
1018 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
1019 (tool-bar-map): Remove unneeded defvars.
1021 2013-05-08 Leo Liu <sdl.web@gmail.com>
1023 Re-work a fix for bug#10994 based on Le Wang's patch.
1024 * ido.el (ido-remove-consecutive-dups): New helper.
1025 (ido-completing-read): Use it.
1026 (ido-chop): Revert fix for bug#10994.
1028 2013-05-08 Adam Spiers <emacs@adamspiers.org>
1030 * cus-edit.el (custom-save-variables):
1031 Pretty-print long values. (Bug#14187)
1033 2013-05-08 Glenn Morris <rgm@gnu.org>
1035 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
1036 (m4-mode-syntax-table): Init in the defvar.
1037 (m4-mode-abbrev-table): Let define-derived-mode define it.
1039 2013-05-08 Tom Tromey <tromey@redhat.com>
1041 * progmodes/m4-mode.el (m4-mode-syntax-table):
1042 Do not treat "_" as word constituent. (Bug#14167)
1044 2013-05-07 Glenn Morris <rgm@gnu.org>
1046 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
1047 Remove explicit eshell-isearch-cancel-map.
1049 * progmodes/f90.el (f90-smart-end-names): New option.
1050 (f90-smart-end): Doc fix.
1051 (f90-end-block-optional-name): New constant.
1052 (f90-block-match): Respect f90-smart-end-names.
1054 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1056 * progmodes/octave.el (octave-smie-forward-token): Be more careful
1057 about implicit semi-colons (bug#14218).
1059 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1061 * frame.el (display-monitor-attributes-list)
1062 (frame-monitor-attributes): New functions.
1064 2013-05-06 Leo Liu <sdl.web@gmail.com>
1066 * progmodes/octave.el (octave-syntax-propertize-function): Change
1067 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
1068 (octave-font-lock-keywords): Use octave-operator-regexp.
1069 (octave-completion-at-point): Rename from
1070 octave-completion-at-point-function.
1071 (inferior-octave-directory-tracker): Robustify.
1072 (octave-text-functions): Remove and fix its uses. No such things
1075 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1077 * emacs-lisp/trace.el (trace--display-buffer): New function.
1078 (trace-make-advice): Use it.
1080 2013-05-06 Juri Linkov <juri@jurta.org>
1082 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
1083 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
1085 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
1086 in the help string. (Bug#12985)
1088 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1090 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
1092 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1094 * progmodes/perl-mode.el: Add support for here documents.
1095 (perl-syntax-propertize-function): Match here-doc markers.
1096 (perl-syntax-propertize-special-constructs): Find their end.
1097 (perl-imenu-generic-expression): Use [:alnum:].
1099 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
1100 (advice--add-function): Refresh the advice if already present
1103 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
1105 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
1107 2013-05-06 Glenn Morris <rgm@gnu.org>
1109 * w32-fns.el (w32-charset-info-alist): Declare.
1111 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
1112 of its defcustom properties.
1113 (eshell-cmpl-initialize): No need to load pcomplete.
1115 * generic-x.el: No need to require comint when compiling.
1117 * net/eudc-export.el: Make it loadable without bbdb.
1118 (top-level): Use require rather than load-library.
1119 (eudc-create-bbdb-record, eudc-bbdbify-phone)
1120 (eudc-batch-export-records-to-bbdb)
1121 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
1124 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1126 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
1127 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
1128 some tweaks, instead.
1130 2013-05-05 Leo Liu <sdl.web@gmail.com>
1132 * progmodes/octave.el (octave-font-lock-keywords)
1133 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
1134 (inferior-octave-send-list-and-digest): Improve error message.
1135 (octave-mode, inferior-octave-mode): Use setq-local.
1136 (octave-help): Set info-lookup-mode.
1138 2013-05-05 Richard Stallman <rms@gnu.org>
1140 * vc/compare-w.el (compare-windows-whitespace):
1141 Treat no-break space as whitespace.
1143 * mail/rmailsum.el (rmail-summary-rmail-update):
1144 Detect empty summary and don't change selected message.
1145 (rmail-summary-goto-msg): Likewise.
1147 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
1148 Doc fixes, rename args.
1150 2013-05-05 Alan Mackenzie <acm@muc.de>
1152 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
1154 2013-05-05 Juri Linkov <juri@jurta.org>
1156 * info.el (Info-read-subfile): Use (point-min) instead of (point)
1157 to not add the length of the summary segment to the return value.
1160 2013-05-05 Leo Liu <sdl.web@gmail.com>
1162 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
1163 (inferior-octave-output-filter): Remove.
1164 (octave-send-region, inferior-octave-startup): Fix callers.
1165 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
1166 (octave-binary-file-extensions): New user variable.
1167 (octave-find-definition): Confirm if opening binary files.
1168 (octave-help-file): Use octave-find-definition to get the binary
1170 (octave-help): Adjust for octave-help-file change.
1172 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1174 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
1175 Merge the two entries that handle function definitions.
1176 (pascal--syntax-propertize): New const.
1177 (pascal-mode): Use it. Use setq-local.
1179 2013-05-04 Glenn Morris <rgm@gnu.org>
1181 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
1182 (diary-from-outlook): Respect diary-from-outlook-function.
1184 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1186 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
1187 Move the declaration from C.
1188 (read-minibuffer, eval-minibuffer): Move from C.
1189 (completion-setup-function): Avoid minibuffer-completion-contents.
1191 2013-05-03 Leo Liu <sdl.web@gmail.com>
1193 * progmodes/octave.el (octave-font-lock-keywords): Do not
1194 dehighlight 'end' in comments or strings.
1195 (octave-completing-read, octave-goto-function-definition):
1197 (octave-help-buffer): New user variable.
1198 (octave-help-file, octave-help-function): New button types.
1199 (octave-help): New command and bind it to C-h ;.
1200 (octave-find-definition): New command and bind it to M-.
1201 (user-error): Alias to error if not defined.
1203 2013-05-02 Leo Liu <sdl.web@gmail.com>
1205 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
1207 (octave-font-lock-keywords): Include [ and {.
1209 2013-05-02 Leo Liu <sdl.web@gmail.com>
1211 * progmodes/octave.el (inferior-octave-startup-file): Change default.
1212 (inferior-octave): Remove calling comint-mode and return the buffer.
1213 (inferior-octave-startup): Cosmetic changes.
1215 2013-05-02 Leo Liu <sdl.web@gmail.com>
1217 * progmodes/octave.el (octave-syntax-propertize-function):
1218 Include the case when ' is at line beginning. (Bug#14336)
1220 2013-05-02 Glenn Morris <rgm@gnu.org>
1222 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
1223 * desktop.el (vc-dir-mode): Just autoload it here.
1225 2013-05-02 Alan Mackenzie <acm@muc.de>
1227 Eliminate variable c-standard-font-lock-fontify-region-function.
1228 * progmodes/cc-mode.el
1229 (c-standard-font-lock-fontify-region-function): Remove.
1230 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
1232 2013-05-01 Leo Liu <sdl.web@gmail.com>
1234 * progmodes/octave.el: Compatible with older emacs-24 releases.
1235 (inferior-octave-has-built-in-variables): Remove. Built-in
1236 variables were removed from Octave in 2007.
1237 (inferior-octave-startup): Fix uses.
1238 (comint-line-beginning-position): Remove compatibility code for
1241 2013-05-01 Juri Linkov <juri@jurta.org>
1243 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
1245 2013-05-01 Juri Linkov <juri@jurta.org>
1247 * comint.el (comint-previous-matching-input): Don't print message
1248 "History item: %d" when `isearch-mode' is active.
1249 (comint-history-isearch-message): Print message "History item: %d"
1250 when `comint-input-ring-index' is not empty and this function is
1251 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
1253 2013-05-01 Leo Liu <sdl.web@gmail.com>
1255 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
1256 definitions. Use completion-at-point to insert keywords.
1257 (octave-abbrev-start): Remove.
1258 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
1260 2013-04-30 Leo Liu <sdl.web@gmail.com>
1262 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
1265 2013-04-30 Alan Mackenzie <acm@muc.de>
1267 Handle arbitrarily long C++ member initialisation lists.
1268 * progmodes/cc-engine.el (c-back-over-member-initializers):
1270 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
1271 (most) member init lists.
1273 2013-04-30 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
1275 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
1278 2013-04-30 Leo Liu <sdl.web@gmail.com>
1280 * progmodes/octave.el (octave-variables): Remove. No builtin
1281 variables any more. All converted to functions.
1282 (octave-font-lock-keywords, octave-completion-at-point-function):
1284 (octave-font-lock-texinfo-comment): New user variable.
1285 (octave-texinfo-font-lock-keywords): New variable for texinfo
1287 (octave-function-comment-block): New face.
1288 (octave-font-lock-texinfo-comment): New function.
1289 (octave-mode): Font lock texinfo comment block.
1291 2013-04-29 Leo Liu <sdl.web@gmail.com>
1293 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
1294 indexing expression.
1295 (octave-continuation-string): Do not use \.
1296 (inferior-octave-complete-impossible): Remove.
1297 (inferior-octave-completion-table)
1298 (inferior-octave-completion-at-point): Remove its uses.
1299 (inferior-octave-startup): completion_matches was introduced to
1300 Octave in 1996 so safe to assume it.
1301 (octave-function-file-comment): Improve to follow how Octave does it.
1302 (octave-update-function-file-comment): Tweak.
1304 2013-04-29 Leo Liu <sdl.web@gmail.com>
1306 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
1307 (inferior-octave-startup): Remove inferior-octave-startup-hook.
1308 (octave-function-file-comment): Fix typo.
1309 (octave-sync-function-file-names): Use read-char-choice.
1311 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
1313 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
1314 to t for the less important warnings.
1316 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1318 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
1320 2013-04-27 Glenn Morris <rgm@gnu.org>
1322 * vc/log-view.el (log-view-current-entry):
1323 Treat "---" separator lines as part of the following rev. (Bug#14169)
1325 2013-04-27 Juri Linkov <juri@jurta.org>
1327 * subr.el (read-number): Doc fix about using it by interactive
1328 code letter `n'. (Bug#14254)
1330 2013-04-27 Juri Linkov <juri@jurta.org>
1332 * desktop.el (desktop-auto-save-timeout): New option.
1333 (desktop-file-checksum): New variable.
1334 (desktop-save): Add optional arg `auto-save' and don't auto-save
1336 (desktop-auto-save-timer): New variable.
1337 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
1338 (after-init-hook): Call `desktop-auto-save-set-timer'.
1339 Suggested by Reuben Thomas <rrt@sc3d.org> in
1340 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
1342 2013-04-27 Leo Liu <sdl.web@gmail.com>
1344 * progmodes/octave.el (octave-function-file-p)
1345 (octave-skip-comment-forward, octave-function-file-comment)
1346 (octave-update-function-file-comment): New functions.
1347 (octave-mode-map): Bind C-c ; to
1348 octave-update-function-file-comment.
1349 (octave-mode-menu): Add octave-update-function-file-comment.
1350 (octave-mode, inferior-octave-mode): Fix doc-string.
1351 (octave-insert-defun): Conform to Octave's coding convention.
1354 * files.el (basic-save-buffer): Don't let errors in
1355 before-save-hook prevent saving buffer.
1357 2013-04-20 Roland Winkler <winkler@gnu.org>
1359 * faces.el (read-face-name): Use completing-read if arg multiple
1362 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
1364 * ls-lisp.el (ls-lisp-insert-directory): If no files are
1365 displayed, move point to after the totals line.
1366 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
1369 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1371 * emacs-lisp/package.el (package-autoload-ensure-default-file):
1372 Add current dir to the load-path.
1373 (package-generate-autoloads): Don't rely on
1374 autoload-ensure-default-file.
1376 2013-04-26 Reuben Thomas <rrt@sc3d.org>
1378 * textmodes/remember.el (remember-store-in-files): Document that
1379 the file name format is passed to `format-time-string'.
1381 2013-04-26 Leo Liu <sdl.web@gmail.com>
1383 * progmodes/octave.el (octave-sync-function-file-names): New function.
1384 (octave-mode): Use it in before-save-hook.
1386 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1388 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
1391 * progmodes/octave.el (octave-smie-forward-token): Properly skip
1392 \n and comment, even if it's not an implicit ; (bug#14218).
1394 2013-04-26 Glenn Morris <rgm@gnu.org>
1396 * subr.el (read-number): Once more use `read' rather than
1397 `string-to-number', to trap non-numeric input. (Bug#14254)
1399 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
1401 * emacs-lisp/syntax.el (syntax-propertize-multiline):
1402 Use `syntax-multiline' text property consistently instead of
1403 `font-lock-multiline'. (bug#14237).
1405 2013-04-26 Glenn Morris <rgm@gnu.org>
1407 * emacs-lisp/shadow.el (list-load-path-shadows):
1408 No longer necessary to check for duplicate simple.el, since
1409 2012-07-07 change to init_lread to not include installation lisp
1410 directories in load-path when running uninstalled. (Bug#14270)
1412 2013-04-26 Leo Liu <sdl.web@gmail.com>
1414 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
1415 (octave-mode, inferior-octave-mode): Use setq-local.
1416 (octave-not-in-string-or-comment-p): Rename to
1417 octave-in-string-or-comment-p.
1418 (octave-in-comment-p, octave-in-string-p)
1419 (octave-in-string-or-comment-p): Replace defsubst with defun.
1421 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
1423 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
1425 2013-04-25 Bastien Guerry <bzg@gnu.org>
1427 * textmodes/remember.el (remember-data-directory)
1428 (remember-directory-file-name-format): Fix custom types.
1430 2013-04-25 Leo Liu <sdl.web@gmail.com>
1432 * progmodes/octave.el (octave-completion-at-point-function):
1433 Make use of inferior octave process.
1434 (octave-initialize-completions): Remove.
1435 (inferior-octave-completion-table): New function.
1436 (inferior-octave-completion-at-point): Use it.
1437 (octave-completion-alist): Remove.
1439 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1441 * progmodes/opascal.el: Use font-lock and syntax-propertize.
1442 (opascal-mode-syntax-table): New var.
1443 (opascal-literal-kind, opascal-is-literal-end)
1444 (opascal-literal-token-at): Rewrite.
1445 (opascal--literal-start-re, opascal-font-lock-keywords)
1446 (opascal--syntax-propertize): New constants.
1447 (opascal-font-lock-defaults): Adjust.
1448 (opascal-mode): Use them. Set comment-<foo> variables as well.
1449 (delphi-comment-face, opascal-comment-face, delphi-string-face)
1450 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
1451 (delphi-other-face, opascal-other-face): Remove face variables.
1452 (opascal-save-state): Remove macro.
1453 (opascal-fontifying-progress-step): Remove constant.
1454 (opascal--ignore-changes): Remove var.
1455 (opascal-set-token-property, opascal-parse-next-literal)
1456 (opascal-is-stable-literal, opascal-complete-literal)
1457 (opascal-is-literal-start, opascal-face-of)
1458 (opascal-parse-region, opascal-parse-region-until-stable)
1459 (opascal-fontify-region, opascal-after-change)
1460 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
1461 (opascal-debug-parse-region, opascal-debug-parse-window)
1462 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
1463 (opascal-debug-fontify-buffer): Remove.
1464 (opascal-debug-mode-map): Adjust accordingly.
1466 2013-04-25 Leo Liu <sdl.web@gmail.com>
1468 Merge octave-mod.el and octave-inf.el into octave.el with some
1470 * progmodes/octave.el: New file renamed from octave-mod.el.
1471 * progmodes/octave-inf.el: Merged into octave.el.
1472 * progmodes/octave-mod.el: Renamed to octave.el.
1474 2013-04-25 Tassilo Horn <tsdh@gnu.org>
1476 * textmodes/reftex-vars.el
1477 (reftex-label-ignored-macros-and-environments): New defcustom.
1479 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
1481 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1483 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
1484 (smie-indent-keyword): Improve the check to ensure that the next
1485 comment is really on the same line.
1486 (smie-indent-comment): Don't align with a subsequent closer (or eob).
1488 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
1489 semi-colons if the line is not otherwise empty (bug#14218).
1491 2013-04-25 Glenn Morris <rgm@gnu.org>
1493 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
1495 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1497 * progmodes/opascal.el (opascal-set-token-property): Rename from
1498 opascal-set-text-properties and only set `token' (bug#14134).
1499 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
1500 (opascal-literal-text-properties): Remove.
1501 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
1504 2013-04-24 Reuben Thomas <rrt@sc3d.org>
1506 * textmodes/remember.el (remember-handler-functions): Add an
1507 option for a new handler `remember-store-in-files'.
1508 (remember-data-directory, remember-directory-file-name-format):
1510 (remember-store-in-files): New function to store remember notes
1511 as separate files within a directory.
1513 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
1515 * progmodes/compile.el (compilation-next-error-function):
1516 Pass "formats" to compilation-find-file (bug#11777).
1518 2013-04-24 Glenn Morris <rgm@gnu.org>
1520 * vc/vc-bzr.el (vc-bzr-print-log):
1521 * vc/vc-hg.el (vc-hg-print-log):
1522 * vc/vc-svn.el (vc-svn-print-log):
1523 Fix START-REVISION with LIMIT != 1. (Bug#14168)
1525 * vc/vc-bzr.el (vc-bzr-print-log):
1526 * vc/vc-cvs.el (vc-cvs-print-log):
1527 * vc/vc-git.el (vc-git-print-log):
1528 * vc/vc-hg.el (vc-hg-print-log):
1529 * vc/vc-mtn.el (vc-mtn-print-log):
1530 * vc/vc-rcs.el (vc-rcs-print-log):
1531 * vc/vc-sccs.el (vc-sccs-print-log):
1532 * vc/vc-svn.el (vc-svn-print-log):
1533 * vc/vc.el (vc-print-log-internal): Doc fixes.
1535 2013-04-23 Glenn Morris <rgm@gnu.org>
1537 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
1538 Remove venerable code attempting to avoid substitute-command-keys.
1540 2013-04-23 Tassilo Horn <tsdh@gnu.org>
1542 * textmodes/reftex-vars.el (reftex-label-regexps):
1543 Call `reftex-compile-variables' after changes to this variable.
1545 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1547 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
1548 Use lexical-binding.
1549 (jit-lock-force-redisplay): Use markers, check buffer's continued
1550 existence and beware narrowed buffers.
1551 (jit-lock-fontify-now): Adjust call accordingly.
1553 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1555 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
1556 to avoid misleading the user.
1558 2013-04-22 Leo Liu <sdl.web@gmail.com>
1560 * info-look.el: Prefer latex2e.info. (Bug#14240)
1562 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
1564 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
1566 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
1567 * net/tramp.el (tramp-call-process): ... here
1568 (tramp-set-completion-function, tramp-parse-putty):
1569 * net/tramp-adb.el (tramp-adb-execute-adb-command):
1570 * net/tramp-gvfs.el (tramp-gvfs-send-command):
1571 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1572 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
1573 (tramp-call-local-coding-command): Use `tramp-call-process'
1574 instead of `tramp-compat-call-process'.
1576 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
1577 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
1578 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
1579 (tramp-find-inline-compress): Improve traces.
1580 (tramp-maybe-send-script): Check for Perl binary.
1581 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
1583 2013-04-22 Daiki Ueno <ueno@gnu.org>
1585 * epg.el (epg-context-pinentry-mode): New function.
1586 (epg-context-set-pinentry-mode): New function.
1587 (epg--start): Pass --pinentry-mode option to gpg command.
1589 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
1591 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
1592 `comint-dynamic-complete' is obsolete since 24.1, replaced by
1593 `completion-at-point'. (Bug#13774)
1595 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
1596 default key binding for `describe-distribution' has been moved to
1597 `C-h C-o'. (Bug#13970)
1599 2013-04-21 Glenn Morris <rgm@gnu.org>
1601 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
1603 (vc-print-log): Clarify interactive prompt.
1605 2013-04-20 Glenn Morris <rgm@gnu.org>
1607 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1608 No longer include timestamp etc information.
1610 2013-04-20 Roland Winkler <winkler@gnu.org>
1612 * faces.el (read-face-name): Bug fix, return just one face if arg
1613 multiple is nil. (Bug#14209)
1615 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1617 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
1618 (remove-function): Autoload.
1620 * comint.el (comint-redirect-original-filter-function): Remove.
1621 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
1622 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
1623 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
1624 * progmodes/prolog.el (prolog-consult-compile):
1625 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
1626 Use add/remove-function instead.
1627 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
1628 (gud-tooltip-process-output, gud-tooltip-tips):
1629 Use add/remove-function instead.
1630 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
1631 (scheme-interaction-mode, exit-scheme-interaction-mode):
1632 Use add/remove-function instead.
1634 * vc/vc-dispatcher.el: Use lexical-binding.
1635 (vc--process-sentinel): Rename from vc-process-sentinel.
1636 Change last arg to be the code to run. Don't use vc-previous-sentinel
1637 and vc-sentinel-commands any more.
1638 (vc-exec-after): Allow code to be a function. Use add/remove-function.
1639 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
1641 2013-04-19 Masatake YAMATO <yamato@redhat.com>
1643 * progmodes/sh-script.el (sh-imenu-generic-expression):
1644 Handle function names with a single character. (Bug#14111)
1646 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
1648 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
1649 for subroutines defined in an eval (bug#14182).
1651 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1653 * bookmark.el (bookmark-completing-read): Improve handling of empty
1656 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1658 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
1660 2013-04-19 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1662 New faster Imenu implementation (bug#14058).
1663 * progmodes/python.el:
1664 (python-imenu-prev-index-position):
1665 (python-imenu-format-item-label-function)
1666 (python-imenu-format-parent-item-label-function)
1667 (python-imenu-format-parent-item-jump-label-function):
1669 (python-imenu-format-item-label)
1670 (python-imenu-format-parent-item-label)
1671 (python-imenu-format-parent-item-jump-label)
1672 (python-imenu--put-parent, python-imenu--build-tree)
1673 (python-imenu-create-index, python-imenu-create-flat-index)
1674 (python-util-popn): New functions.
1675 (python-mode): Set imenu-create-index-function to
1676 python-imenu-create-index.
1678 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1680 * winner.el (winner-active-region): Use region-active-p, activate-mark
1681 and deactivate-mark (bug#14225).
1683 * simple.el (deactivate-mark): Don't inline it.
1685 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
1687 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
1689 2013-04-18 Tassilo Horn <tsdh@gnu.org>
1691 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
1692 file extensions from the archive-mode entry in order to prefer
1693 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
1695 2013-04-18 Leo Liu <sdl.web@gmail.com>
1697 * bindings.el (help-event-list): Add ?\?.
1699 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1701 * subr.el (with-wrapper-hook): Declare obsolete.
1702 * simple.el (filter-buffer-substring-function): New hook.
1703 (filter-buffer-substring): Use it.
1704 (filter-buffer-substring-functions): Mark obsolete.
1705 * minibuffer.el (completion-in-region-function): New hook.
1706 (completion-in-region): Use it.
1707 (completion-in-region-functions): Mark obsolete.
1708 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
1709 * abbrev.el (abbrev-expand-function): New hook.
1710 (expand-abbrev): Use it.
1711 (abbrev-expand-functions): Mark obsolete.
1712 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
1715 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1717 * progmodes/python.el (python-nav--syntactically): Fix cornercases
1718 and do not care about match data.
1720 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1722 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
1723 completion tables when completing error conditions and
1724 `declare' arguments.
1725 (lisp-complete-symbol, field-complete): Mark as obsolete.
1726 (check-parens): Unmatched parens are user errors.
1727 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
1729 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
1731 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
1732 command changed buffer (ie. `flyspell-pre-buffer' is not current
1733 buffer), which prevents making decisions based on invalid value of
1734 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
1735 cause an error when `flyspell-pre-point' was nil after switching
1737 (flyspell-post-command-hook): No longer needs to change buffers when
1738 checking pre-word. While at it remove unnecessary progn.
1740 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1742 * textmodes/ispell.el (ispell-add-per-file-word-list):
1743 Fix `flyspell-correct-word-before-point' error when accepting
1744 words and `coment-padding' is an integer by using
1745 `comment-normalize-vars' (Bug #14214).
1747 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1749 New defun movement commands.
1750 * progmodes/python.el (python-nav--syntactically)
1751 (python-nav--forward-defun, python-nav-backward-defun)
1752 (python-nav-forward-defun): New functions.
1754 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1756 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
1757 (python-syntax-context): Use named compiler-macro for backwards
1758 compatibility with Emacs 24.x.
1760 2013-04-17 Leo Liu <sdl.web@gmail.com>
1762 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
1763 octave-hide-process-buffer.
1765 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1767 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
1770 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
1772 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
1773 Fix adjustment of offset when receiving incomplete responses from GDB
1776 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1778 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
1779 python-mode-abbrev-table.
1780 (python-skeleton-define): Adjust accordingly.
1781 (python-mode-abbrev-table): New table that inherits from it so that
1782 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
1784 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
1785 (abbrev-symbol): Use it.
1786 (abbrev--before-point): Use it since we already handle inheritance.
1788 2013-04-16 Leo Liu <sdl.web@gmail.com>
1790 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
1791 binding to info-lookup-symbol.
1793 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
1795 * minibuffer.el (completion--twq-all):
1796 * term/ns-win.el (ns-initialize-window-system):
1797 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
1799 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1801 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
1804 * doc-view.el (doc-view-start-process): Handle url-handler directories.
1806 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
1808 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
1809 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
1811 (ruby-end-of-defun): Remove the unused arg, change the docstring
1812 to reflect that this function is only used as the value of
1813 `end-of-defun-function'.
1814 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
1815 to reflect an earlier change that beginning/end-of-defun functions
1816 jump between methods in a class definition, as well as top-level
1819 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1821 * minibuffer.el (minibuffer-complete): Don't just scroll
1822 a *Completions* that's been iconified.
1823 (minibuffer-force-complete): Make sure repetitions do cycle when going
1824 through completion-in-region -> minibuffer-complete.
1826 2013-04-15 Alan Mackenzie <acm@muc.de>
1828 Correct the placement of c-cpp-delimiters when there're #s not at
1831 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
1832 place a submatch around the #.
1833 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
1834 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
1837 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1839 * emacs-lisp/nadvice.el: Properly test names when adding advice.
1840 (advice--member-p): New arg `name'.
1841 (advice--add-function, advice-member-p): Use it (bug#14202).
1843 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
1845 Reformulate java imenu-generic-expression.
1846 The old expression contained ill formed regexps.
1848 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
1849 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
1850 (cc-imenu-java-method-arg-regexp): New defconsts.
1851 (cc-imenu-java-build-type-args-regex): New defun.
1852 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
1853 handling of spaces in the regexp.
1855 2013-03-15 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
1857 * textmodes/ispell.el (ispell-command-loop): Remove
1858 flyspell highlight of a word when ispell accepts it (bug #14178).
1860 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
1862 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
1863 uses code from the previous `ange-ftp-run-real-handler'.
1864 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
1865 only in case that function exist. This is needed for proper
1868 2013-04-15 Tassilo Horn <tsdh@gnu.org>
1870 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
1872 * textmodes/reftex.el (reftex-compile-variables): Use it.
1874 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1876 * files.el (normal-mode): Only use default major-mode if no other mode
1879 * emacs-lisp/trace.el (trace-values): New function.
1881 * files.el: Allow : in local variables (bug#14089).
1882 (hack-local-variable-regexp): New var.
1883 (hack-local-variables-prop-line, hack-local-variables): Use it.
1885 2013-04-13 Roland Winkler <winkler@gnu.org>
1887 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
1888 data before it gets modified by bibtex-beginning-of-entry.
1890 2013-04-13 Roland Winkler <winkler@gnu.org>
1892 * textmodes/bibtex.el (bibtex-url): Doc fix.
1894 2013-04-13 Roland Winkler <winkler@gnu.org>
1896 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
1897 does not visit a BibTeX file, exclude it from the list of buffers
1898 returned by bibtex-initialize.
1900 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
1902 * window.el (split-window): Remove interactive form, since as a
1903 command this function is a special case of split-window-below.
1906 2013-04-12 Roland Winkler <winkler@gnu.org>
1908 * faces.el (read-face-name): Do not override value of arg default.
1909 Allow single faces and strings as default values. Remove those
1910 elements from return value that are not faces.
1911 (describe-face): Simplify.
1912 (face-at-point): New optional args thing and multiple so that this
1913 function can provide the same functionality previously provided by
1915 (make-face-bold, make-face-unbold, make-face-italic)
1916 (make-face-unitalic, make-face-bold-italic, invert-face)
1917 (modify-face, read-face-and-attribute): Use face-at-point.
1919 * cus-edit.el (customize-face, customize-face-other-window)
1920 * cus-theme.el (custom-theme-add-face)
1921 * face-remap.el (buffer-face-set)
1922 * facemenu.el (facemenu-set-face): Use face-at-point.
1924 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
1926 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
1928 2013-04-10 Tassilo Horn <tsdh@gnu.org>
1930 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
1931 off leading { and trailing } from field values.
1933 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1935 * emacs-lisp/timer.el (timer--check): New function.
1936 (timer--time, timer-set-function, timer-event-handler): Use it.
1937 (timer-set-idle-time): Simplify.
1938 (timer--activate): CSE.
1939 (timer-event-handler): Give more info in error message.
1940 (internal-timer-start-idle): New function, moved from C.
1942 * mpc.el (mpc-proc): Add `restart' argument.
1943 (mpc-proc-cmd): Use it.
1944 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
1945 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
1948 2013-04-10 Masatake YAMATO <yamato@redhat.com>
1950 * progmodes/sh-script.el: Implement `sh-mode' own
1951 `add-log-current-defun-function' (bug#14112).
1952 (sh-current-defun-name): New function.
1953 (sh-mode): Use the function.
1955 2013-04-09 Bastien Guerry <bzg@gnu.org>
1957 * simple.el (choose-completion-string): Fix docstring (bug#14163).
1959 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1961 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
1963 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
1966 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
1968 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
1971 2013-04-07 Leo Liu <sdl.web@gmail.com>
1973 * pcmpl-x.el: New file.
1975 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
1977 Do not set x-display-name until X connection is established.
1978 This is needed to prevent from weird situation described at
1979 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
1980 * frame.el (make-frame): Set x-display-name after call to
1981 window system initialization function, not before.
1982 * term/x-win.el (x-initialize-window-system): Add optional
1983 display argument and use it.
1984 * term/w32-win.el (w32-initialize-window-system):
1985 * term/ns-win.el (ns-initialize-window-system):
1986 * term/pc-win.el (msdos-initialize-window-system):
1987 Add compatible optional display argument.
1989 2013-04-06 Eli Zaretskii <eliz@gnu.org>
1991 * files.el (normal-backup-enable-predicate): On MS-Windows and
1992 MS-DOS compare truenames of temporary-file-directory and of the
1993 file, so that 8+3 aliases (usually found in $TEMP on Windows)
1994 don't fail comparison by compare-strings. Also, compare file
1995 names case-insensitively on MS-Windows and MS-DOS.
1997 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1999 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
2000 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
2002 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
2004 * whitespace.el (whitespace-color-on, whitespace-color-off):
2005 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
2007 2013-04-05 Jacek ChrzÄ…szcz <chrzaszcz@mimuw.edu.pl> (tiny change)
2009 * ispell.el (ispell-set-spellchecker-params):
2010 Really set `ispell-args' for all equivs.
2012 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2014 * ido.el (ido-completions): Use extra elements of ido-decorations
2016 (ido-decorations): Update docstring.
2018 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
2020 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2021 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
2022 nil during initialization, in order not to miss changes since the
2023 file was opened. (Bug#14140)
2025 2013-04-05 Leo Liu <sdl.web@gmail.com>
2027 * kmacro.el (kmacro-call-macro): Fix bug#14135.
2029 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
2031 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
2033 2013-04-04 Glenn Morris <rgm@gnu.org>
2035 * electric.el (electric-pair-inhibit-predicate): Add :version.
2037 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2039 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
2040 when a package is required several times (bug#14082).
2042 2013-04-04 Roland Winkler <winkler@gnu.org>
2044 * faces.el (read-face-name): Behave as promised by the docstring.
2045 Assume that arg default is a list of faces.
2046 (describe-face): Call read-face-name with list of default faces.
2048 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2050 * bookmark.el: Fix deletion of bookmarks (bug#13972).
2051 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
2052 (bookmark-bmenu-execute-deletions): Only skip first line if it's
2054 (bookmark-exit-hook-internal): Save even if list is empty.
2056 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
2058 * emacs-lisp/package.el (package-pinned-packages): New var.
2059 (package--add-to-archive-contents): Obey it (bug#14118).
2061 2013-04-03 Alan Mackenzie <acm@muc.de>
2063 Handle `parse-partial-sexp' landing inside a comment opener
2064 (Bug#13244). Also adapt to the new values of element 7 of a parse
2067 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
2068 parameter `not-in-delimiter'. Handle being inside comment opener.
2069 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
2070 character in case we're typing a '*' after a '/'.
2071 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
2072 instead by passing the parameter to c-state-pp-to-literal.
2074 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
2075 for elt. 7 of a parse state.
2077 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
2079 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
2080 * international/latin1-disp.el, international/mule-util.el:
2081 * language/cyril-util.el, language/european.el, language/ind-util.el:
2082 * language/lao-util.el, language/thai.el, language/tibet-util.el:
2083 * language/tibetan.el, language/viet-util.el:
2084 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
2086 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
2088 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
2089 (electric-pair-post-self-insert-function): Use it.
2090 (electric-pair-default-inhibit): New function, extracted from
2091 electric-pair-post-self-insert-function.
2093 2013-03-31 Roland Winkler <winkler@gnu.org>
2095 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
2097 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
2099 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
2101 2013-03-30 FabiĂ¡n Ezequiel Gallina <fabian@anue.biz>
2103 Un-indent after "pass" and "return" statements (Bug#13888)
2104 * progmodes/python.el (python-indent-block-enders): New var.
2105 (python-indent-calculate-indentation): Use it.
2107 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
2109 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
2110 defun. Defining it as defalias could introduce too eager
2111 byte-compiler optimization. (Bug#14030)
2113 2013-03-30 Chong Yidong <cyd@gnu.org>
2115 * iswitchb.el (iswitchb-read-buffer): Fix typo.
2117 2013-03-30 Leo Liu <sdl.web@gmail.com>
2119 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
2120 (kmacro-execute-from-register): Pass the keyboard macro to
2121 kmacro-call-macro or repeating won't work correctly.
2123 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
2125 * progmodes/subword.el: Back to using `forward-symbol'.
2127 * subr.el (forward-whitespace, forward-symbol)
2128 (forward-same-syntax): Move from thingatpt.el.
2130 2013-03-29 Leo Liu <sdl.web@gmail.com>
2132 * kmacro.el (kmacro-to-register): New command.
2133 (kmacro-execute-from-register): New function.
2134 (kmacro-keymap): Bind to 'x'. (Bug#14071)
2136 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
2138 * mpc.el: Use defvar-local and setq-local.
2139 (mpc--proc-connect): Connection failures are not bugs.
2140 (mpc-mode-map): `follow-link' only applies to the buffer's content.
2141 (mpc-volume-map): Bind to the up-events.
2143 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
2145 * progmodes/subword.el (superword-mode): Use `forward-sexp'
2146 instead of `forward-symbol'.
2148 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2150 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
2151 (edebug--recursive-edit): Use it.
2152 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
2153 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
2155 2013-03-28 Leo Liu <sdl.web@gmail.com>
2157 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
2159 2013-03-27 Eli Zaretskii <eliz@gnu.org>
2161 * facemenu.el (list-colors-callback): New defvar.
2162 (list-colors-redisplay): New function.
2163 (list-colors-display): Install list-colors-redisplay as the
2164 revert-buffer-function. (Bug#14063)
2166 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2168 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
2169 and suffixes don't overlap (bug#14061).
2171 * case-table.el: Use lexical-binding.
2172 (case-table-get-table): New function.
2173 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
2175 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
2177 * progmodes/subword.el: Add `superword-mode' to do word motion
2178 over symbol_words (parallels and leverages `subword-mode' which
2179 does word motion inside MixedCaseWords).
2181 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
2183 * eshell/em-unix.el: Move su and sudo to...
2184 * eshell/em-tramp.el: ...Eshell tramp module.
2186 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2188 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
2189 Change return value to be a sexp. Delay `get-buffer' to after
2190 restoring the desktop (bug#13951).
2192 2013-03-26 Leo Liu <sdl.web@gmail.com>
2194 * register.el: Move semantic tag handling back to
2195 cedet/semantic/senator.el. (Bug#14052)
2197 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2199 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
2200 into the prompt either (bug#13963).
2202 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
2204 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
2205 part of "(error-foo)".
2207 2013-03-24 Juri Linkov <juri@jurta.org>
2209 * replace.el (list-matching-lines-prefix-face): New defcustom.
2210 (occur-1): Pass `list-matching-lines-prefix-face' to the function
2211 `occur-engine' if `face-differs-from-default-p' returns t.
2212 (occur-engine): Add `,' inside backquote construct to evaluate
2213 `prefix-face'. Propertize the prefix with the `prefix-face' face.
2214 Pass `prefix-face' to the functions `occur-context-lines' and
2215 `occur-engine-add-prefix'.
2216 (occur-engine-add-prefix, occur-context-lines): Add optional arg
2217 `prefix-face' and propertize the prefix with `prefix-face'.
2220 2013-03-24 Leo Liu <sdl.web@gmail.com>
2222 * nxml/rng-valid.el (rng-validate-while-idle)
2223 (rng-validate-quick-while-idle): Guard against deleted buffer.
2226 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
2227 is the last entry in kill-buffer-hook.
2229 * files.el (kill-buffer-hook): Doc fix.
2231 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
2233 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
2236 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
2238 2013-03-23 Leo Liu <sdl.web@gmail.com>
2240 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
2243 * nxml/rng-valid.el (rng-validate-mode)
2244 (rng-after-change-function, rng-do-some-validation):
2245 * nxml/rng-maint.el (rng-validate-buffer):
2246 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
2247 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
2248 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
2249 (nxml-extend-after-change-region): Use with-silent-modifications.
2251 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
2254 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
2255 (rng-next-error-1, rng-previous-error-1): Do not let-bind
2256 timer-idle-list. (Bug#13999)
2258 2013-03-23 Juri Linkov <juri@jurta.org>
2260 * info.el (info-index-match): New face.
2261 (Info-index, Info-apropos-matches): Add a nested subgroup to the
2262 main pattern and add text properties with the new face to matches
2263 in index entries relative to the beginning of the index entry.
2266 2013-03-21 Eric Ludlam <zappo@gnu.org>
2268 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
2269 Inhibit read only while inserting objects.
2271 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
2273 * progmodes/cfengine.el: Update docs to mention
2274 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
2275 symbol motion. Remove "_" from the word syntax.
2277 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
2279 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
2280 syntax for both `cfengine2-mode' and `cfengine3-mode'.
2282 2013-03-20 Juri Linkov <juri@jurta.org>
2284 * info.el (Info-next-reference-or-link)
2285 (Info-prev-reference-or-link): New functions.
2286 (Info-next-reference, Info-prev-reference): Use them.
2287 (Info-try-follow-nearest-node): Handle footnote navigation.
2288 (Info-fontify-node): Fontify footnotes. (Bug#13989)
2290 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2292 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
2293 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
2295 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
2297 Suppress unnecessary non-ASCII chatter during build process.
2298 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
2299 (batch-skkdic-convert): Suppress most of the chatter.
2300 It's not needed so much now that machines are faster,
2301 and its non-ASCII component was confusing; see Dmitry Gutov in
2302 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
2304 2013-03-20 Leo Liu <sdl.web@gmail.com>
2306 * ido.el (ido-chop): Fix bug#10994.
2308 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2310 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
2312 (whitespace-color-on, whitespace-color-off):
2313 Use `font-lock-fontify-buffer' (Bug#13817).
2315 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
2317 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
2318 remapping in mode-line.
2319 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
2321 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2323 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
2324 value for `whitespace-line' face (Bug#13875).
2325 (whitespace-font-lock-keywords): Change description.
2326 (whitespace-color-on): Don't save `font-lock-keywords' value, save
2327 the constructed keywords instead.
2328 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
2330 2013-03-19 Leo Liu <sdl.web@gmail.com>
2332 * progmodes/compile.el (compilation-display-error): New command.
2333 (compilation-mode-map, compilation-minor-mode-map): Bind it to
2336 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2338 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
2340 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
2342 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
2344 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
2346 * net/tramp-compat.el (tramp-compat-user-error): New defun.
2348 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2349 * net/tramp-gvfs.el (top):
2350 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
2351 (tramp-handle-shell-command): Use it.
2352 (tramp-dissect-file-name): Raise an error when hostname is a
2353 method name, and neither method nor user is specified.
2355 * net/trampver.el: Update release number.
2357 2013-03-18 Leo Liu <sdl.web@gmail.com>
2359 Make sure eldoc can be turned off properly.
2360 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
2362 (eldoc-display-message-p): Revert last change.
2363 (eldoc-display-message-no-interference-p)
2364 (eldoc-print-current-symbol-info): Tweak.
2366 2013-03-18 Tassilo Horn <tsdh@gnu.org>
2368 * doc-view.el (doc-view-new-window-function): Check the new window
2369 overlay's display property instead the char property of the
2370 buffer's first char. Use `with-selected-window' instead of
2371 `save-window-excursion' with `select-window'.
2372 (doc-view-document->bitmap): Check the current doc-view overlay's
2373 display property instead the char property of the buffer's first char.
2375 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2377 Automate the build of ja-dic.el (Bug#13984).
2378 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
2379 from the input, rather than assume that it's been done for us by the
2380 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
2381 the current date into a ja-dic.el comment, as that complicates
2384 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2386 * whitespace.el: Fix double evaluation.
2387 (whitespace-space, whitespace-hspace, whitespace-tab)
2388 (whitespace-newline, whitespace-trailing, whitespace-line)
2389 (whitespace-space-before-tab, whitespace-indentation)
2390 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
2392 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
2393 (whitespace-color-on): Use a single font-lock-add-keywords call.
2394 Fix double-evaluation of face variables.
2396 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
2398 * net/tramp-adb.el (tramp-adb-parse-device-names):
2399 Use `start-process' instead of `call-process'. Otherwise, the
2400 function might be blocked under MS Windows. (Bug#13299)
2402 2013-03-17 Leo Liu <sdl.web@gmail.com>
2404 Extend eldoc to display info in the mode-line. (Bug#13978)
2405 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
2406 (eldoc-mode-line-string): New variable.
2407 (eldoc-minibuffer-message): New function.
2408 (eldoc-message-function): New variable.
2409 (eldoc-message): Use it.
2410 (eldoc-display-message-p)
2411 (eldoc-display-message-no-interference-p):
2412 Support eldoc-post-insert-mode.
2414 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
2415 (eval-expression): Run it.
2417 2013-03-17 Roland Winkler <winkler@gnu.org>
2419 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
2420 strings in the list of return values.
2422 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2424 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
2425 radix before checking for HMS forms.
2427 2013-03-16 Leo Liu <sdl.web@gmail.com>
2429 * progmodes/scheme.el: Add indentation and font-locking for λ.
2432 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
2434 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
2435 token before point (bug#13942).
2437 2013-03-16 Leo Liu <sdl.web@gmail.com>
2439 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
2441 2013-03-16 Eli Zaretskii <eliz@gnu.org>
2443 * startup.el (command-line-normalize-file-name): Fix handling of
2444 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
2445 <xfq.free@gmail.com> in
2446 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
2448 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
2450 Sync with Tramp 2.2.7.
2452 * net/trampver.el: Update release number.
2454 2013-03-14 Tassilo Horn <tsdh@gnu.org>
2456 * doc-view.el Fix bug#13887.
2457 (doc-view-insert-image): Don't modify overlay associated to
2458 non-live windows, and implement horizontal centering of image in
2459 case it's smaller than the window.
2460 (doc-view-new-window-function): Force redisplay of new windows on
2463 2013-03-13 Karl Fogel <kfogel@red-bean.com>
2465 * saveplace.el (save-place-alist-to-file): Don't sort
2466 `save-place-alist', just pretty-print it (bug#13882).
2468 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
2470 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
2471 whether `default-file-name-coding-system' is bound. It isn't in
2474 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
2476 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
2477 backquotes for `obsolete' (bug#13929).
2479 * international/mule.el (find-auto-coding): Include file name in
2480 obsolescence warning (bug#13922).
2482 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
2484 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
2485 for CFEngine 3-specific indentation.
2486 (cfengine3-indent-line): Use it. Fix up category regex.
2487 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
2489 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2491 * type-break.el (type-break-file-name):
2492 * textmodes/remember.el (remember-data-file):
2493 * strokes.el (strokes-file):
2494 * shadowfile.el (shadow-initialize):
2495 * saveplace.el (save-place-file):
2496 * ps-bdf.el (bdf-cache-file):
2497 * progmodes/idlwave.el (idlwave-config-directory):
2498 * net/quickurl.el (quickurl-url-file):
2499 * international/kkc.el (kkc-init-file-name):
2500 * ido.el (ido-save-directory-list-file):
2501 * emulation/viper.el (viper-custom-file-name):
2502 * emulation/vip.el (vip-startup-file):
2503 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2504 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
2506 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
2508 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
2509 * language/thai-word.el: Switch to UTF-8.
2511 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2513 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
2515 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2517 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
2518 Use with-current-buffer and don't move point.
2519 (net-utils-run-simple): Remove useless code.
2520 (net-utils-remove-ctl-m): Remove unused custom.
2522 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
2524 * international/characters.el (glyphless-set-char-table-range): New fun.
2525 (update-glyphless-char-display): Use it (bug#13744).
2527 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
2529 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
2530 namespaces in the syntax, indent closer for hanging brace
2531 correctly, allow single-quote delimited 'strings', and make
2532 `cfengine3-mode' the default.
2534 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
2536 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
2537 Use lexical-binding. Fix up docstring according to conventions.
2538 (gdbmi-debug-mode): New var.
2539 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
2540 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
2541 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
2542 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
2543 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
2544 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
2545 (gdbmi-bnf-incomplete-record-result): New functions.
2546 (gdb-car<): Remove function.
2547 (gdbmi-record-list): Remove variable.
2548 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
2549 (gdbmi-bnf-result-state-configs): New const.
2550 (gud-gdbmi-marker-filter): Rewrite.
2551 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
2552 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
2553 Add `token' argument.
2554 (gdb-done, gdb-error): New functions.
2555 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
2557 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2559 * term/xterm.el (xterm--report-background-handler): Don't burp
2561 (xterm--version-handler): Extract from terminal-init-xterm.
2562 (xterm--query): Don't mishandle timeout. Remove debugging messages.
2563 Allow multiple handlers.
2564 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
2566 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
2567 (xterm--report-background-handler, xterm--query): New functions.
2568 (terminal-init-xterm): Use them.
2570 2013-03-11 Michael R. Mauger <michael@mauger.com>
2572 * progmodes/sql.el Version 3.2
2573 Please note that my address changed to <michael@mauger.com>;
2574 the <mmaug@yahoo.com> address remains active.
2575 (sql-connection-alist): Updates documentation to fix bug#13715.
2576 (sql-connect): Handle missing `sql-connection-alist' correctly.
2577 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
2578 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
2580 (sql-default-value): New function.
2581 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
2582 values were not used.
2583 (sql-rename-buffer): Make sure alternate buffer name has no text
2585 (sql-input-sender, sql-execute-feature): Fetch variable with
2586 `buffer-local-value' rather than `with-current-buffer'.
2587 (sql-*): Use #' function syntax consistently.
2588 (sql-*): Use message/error/user-error consistently.
2590 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2592 * xt-mouse.el (xterm-mouse-event-read): Remove.
2593 (xterm-mouse--read-event-sequence-1000)
2594 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
2596 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2598 * term/xterm.el (xterm-function-map): Support format used with
2599 formatOtherKeys=1 (bug#13839).
2601 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
2602 (with-no-warnings): Use `declare'.
2604 * whitespace.el (whitespace-enable-predicate): New variable.
2605 (whitespace-enable-predicate): Use it.
2607 * comint.el (comint-send-input, comint-snapshot-last-prompt)
2608 (comint-output-filter, comint-update-fence):
2609 Use with-silent-modifications.
2611 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
2613 * replace.el (occur-read-regexp-defaults-function): New var.
2614 (occur-read-regexp-defaults): New defun.
2615 (occur-read-primary-args): Propagate above change (bug#13892).
2617 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2619 * mouse.el (mouse-drag-track): Remove left-over debugging code.
2621 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
2623 Major rewrite due to changed D-Bus interface of GVFS 1.14.
2625 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
2626 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
2627 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
2629 (tramp-gvfs-file-name-handler-alist) [directory-files]
2630 [directory-files-and-attributes, file-exists-p, file-modes]:
2631 Use Tramp default handler.
2632 [file-acl, file-selinux-context, process-file, set-file-acl]:
2633 [set-file-modes, set-file-selinux-context, shell-command]:
2634 [start-file-process]: Remove handler.
2635 [verify-visited-file-modtime]: New handler.
2636 (tramp-gvfs-dbus-string-to-byte-array)
2637 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
2638 calls of `dbus-string-to-byte-array' and
2639 `tramp-gvfs-dbus-byte-array-to-string'.
2640 (tramp-gvfs-handle-copy-file)
2641 (tramp-gvfs-handle-delete-directory)
2642 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
2643 (tramp-gvfs-handle-file-directory-p)
2644 (tramp-gvfs-handle-file-executable-p)
2645 (tramp-gvfs-handle-file-name-all-completions)
2646 (tramp-gvfs-handle-file-readable-p)
2647 (tramp-gvfs-handle-file-writable-p)
2648 (tramp-gvfs-handle-insert-directory)
2649 (tramp-gvfs-handle-insert-file-contents)
2650 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
2651 (tramp-gvfs-handle-set-visited-file-modtime)
2652 (tramp-gvfs-handle-write-region): Rewrite.
2653 (tramp-gvfs-handle-file-acl)
2654 (tramp-gvfs-handle-file-selinux-context)
2655 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
2656 (tramp-gvfs-handle-set-file-modes)
2657 (tramp-gvfs-handle-set-file-selinux-context)
2658 (tramp-gvfs-handle-shell-command)
2659 (tramp-gvfs-handle-start-file-process)
2660 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
2661 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
2662 over the symlinks. Fix user handling.
2663 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
2664 of the D-Bus signals.
2665 (tramp-gvfs-connection-mounted-p): Handle different names of the
2667 (tramp-gvfs-mount-spec-entry): New defun.
2668 (tramp-gvfs-mount-spec): Use it.
2669 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
2670 there is a share name. Handle different names of the D-Bus
2671 signals and methods. Set connection properties needed for
2672 `tramp-check-cached-permissions'.
2673 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
2676 * net/tramp.el (tramp-backtrace): Move up.
2677 (tramp-error): Dump a backtrace into the debug buffer when
2679 (tramp-file-mode-type-map, tramp-file-mode-from-int)
2680 (tramp-file-mode-permissions, tramp-get-local-uid)
2681 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
2684 * net/tramp-sh.el (tramp-file-mode-type-map)
2685 (tramp-check-cached-permissions, tramp-file-mode-from-int)
2686 (tramp-file-mode-permissions, tramp-get-local-uid)
2687 (tramp-get-local-gid): Move to tramp.el.
2689 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2691 Separate mouse-1-click-follows-link from mouse-drag-region.
2692 * mouse.el (mouse--down-1-maybe-follows-link): New function.
2693 (key-translation-map): Use it to implement mouse-1-click-follows-link.
2694 (mouse-drag-line, mouse-drag-track):
2695 Remove mouse-1-click-follows-link code.
2696 (mouse--remap-link-click-p): Remove.
2698 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
2700 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
2701 (hi-lock-read-regexp-defaults): New defun.
2702 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2703 (hi-lock-face-phrase-buffer): Propagate above change.
2704 Update docstring (bug#13892).
2706 * subr.el (find-tag-default-as-regexp): New defun.
2707 * replace.el (read-regexp): Propagate above change.
2709 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
2711 * calc/calc-units.el (calc-convert-units): Fix the way that default
2712 new units are stored.
2714 2013-03-07 Matthias Meulien <orontee@gmail.com>
2716 * bookmark.el: Define a face to highlight bookmark names in
2717 bookmark menu buffers, where the default is a bold face similarly
2718 to buffer names in buffer menu buffers.
2719 (bookmark-menu-bookmark): New face to highlight bookmark names.
2720 (bookmark-insert-location): Remove duplicated text property to
2721 conform to buffer list (see `list-buffers').
2722 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
2723 `bookmark-menu-bookmark' to bookmark names.
2725 2013-03-07 Matthias Meulien <orontee@gmail.com>
2726 Karl Fogel <kfogel@red-bean.com>
2728 * bookmark.el: Display the bookmark list header similarly to the
2729 buffer list header (see `list-buffers'), where the default is now
2730 an immovable/immutable header line.
2731 (bookmark-bmenu-use-header-line): New variable.
2732 (bookmark-bmenu-inline-header-height): New name for
2733 `bookmark-bmenu-header-height', to avoid confusion with the code
2734 for the new immovable header. All references changed.
2735 (bookmark-bmenu-set-header): New function.
2736 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
2737 Conditionalize header construction accordingly.
2738 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
2739 the inline header height.
2740 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
2741 Conditionalize the skipping of the inline header height.
2743 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
2745 * progmodes/js.el (js--multi-line-declaration-indentation):
2746 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
2748 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
2750 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2751 Only propertize regexp when not inside a string (Bug#13885).
2753 2013-03-06 Alan Mackenzie <acm@muc.de>
2755 Correct the position of point in some line-up functions.
2756 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
2757 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
2758 point at column 0 rather than at a random place in the line.
2760 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
2762 * net/tramp-compat.el (tramp-compat-delete-directory):
2763 Implement TRASH argument.
2765 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
2767 Keep pre-existing highlighting in completion candidates (Bug#13250).
2768 * minibuffer.el (completions-first-difference): State that the
2769 face is "added" in the docstring.
2770 (completions-common-part): Same. And don't inherit from default.
2771 (completion-hilit-commonality): Prepend 'completions-common-part
2772 and 'completion-first-difference faces to the 'face property,
2773 instead of replacing the value(s).
2774 (completion--insert-strings): Same with 'completions-annotations face.
2775 (completion-hilit-commonality): Use 'face instead of
2776 'font-lock-face, because it gets priority if the completion
2777 strings already have 'face set.
2779 2013-03-04 Alan Mackenzie <acm@muc.de>
2781 Replace `last-command-event' by `last-command-char' in XEmacs.
2782 * progmodes/cc-defs.el (c-last-command-char): New macro.
2783 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
2784 (c-semi&comma-no-newlines-before-nonblanks)
2785 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
2786 in place of `last-command-event'.
2787 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
2788 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
2789 (c-electric-paren, c-electric-continued-statement): Use the new
2790 macro in place of `last-command-event'.
2792 2013-03-04 Glenn Morris <rgm@gnu.org>
2794 * files.el (inhibit-local-variables-regexps):
2795 Add .diff and .patch. (Bug#13862)
2797 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
2799 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
2800 whether the "su" command is available on the device.
2802 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2804 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
2805 (tramp-adb-handle-process-file): Remove superfluous setting.
2806 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
2807 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
2808 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
2810 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
2812 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
2813 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
2814 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
2815 Use dict-key rather than dict-name for the error message.
2817 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2819 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
2820 when reverting (bug#13831).
2822 2013-03-01 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
2824 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2825 Always expand affix-file before storing to protect against changed
2826 `default-directory'.
2827 (ispell-print-if-debug): Make sure message is printed at the end
2828 of the debug buffer.
2830 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2832 * net/tramp.el (tramp-obsolete-methods): New defconst.
2833 (tramp-warned-obsolete-methods): New defvar.
2834 (tramp-find-method): Check for obsolete methods. Map them to a
2835 replacement method if appropriate.
2837 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
2839 (top): Remove completion functions for "scp1", "scp2", "ssh1",
2840 "ssh2" and "plink1".
2842 2013-02-28 Dale Sedivec <dale@codefu.org>
2844 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
2845 Return valid syntax-table property value when converting
2846 quotes within text from string syntax to punctuation syntax (bug#13844).
2848 2013-02-28 Juri Linkov <juri@jurta.org>
2850 * dired-aux.el (dired-diff): If file at point is a backup file,
2851 use its original as the default value, and reverse the order
2852 of arguments to the `diff' call. Doc fix. (Bug#13772)
2854 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
2856 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
2857 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
2859 2013-02-28 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
2861 Initial support for hunspell dictionaries auto-detection (Bug#13639)
2863 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2864 Ask hunspell about available and default dictionaries.
2865 (ispell-parse-hunspell-affix-file): Extract relevant info from
2866 hunspell affix file.
2867 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
2868 `ispell-dictionary-alist' entry for given dictionary after info
2869 provided by `ispell-parse-hunspell-affix-file'.
2870 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
2871 of parsed hunspell dicts and associated affix files.
2872 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
2873 of parsed hunspell dicts and associated parameters.
2874 (ispell-set-spellchecker-params):
2875 Call `ispell-find-hunspell-dictionaries' if hunspell and not
2877 (ispell-start-process):
2878 Call `ispell-hunspell-fill-dictionary-entry' for current
2879 dictionary if it is not initialized.
2881 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2883 * imenu.el: Comment nitpicks.
2885 2013-02-28 Sam Steingold <sds@gnu.org>
2887 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
2888 See <http://stackoverflow.com/questions/14720205>.
2890 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2892 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
2893 (net-utils-mode): Use it.
2894 (net-utils--revert-cmd): New var.
2895 (net-utils-run-simple): Set it, and remove bogus interactive spec.
2896 (traceroute): Use net-utils-run-simple.
2898 2013-02-28 Glenn Morris <rgm@gnu.org>
2900 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
2902 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2904 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
2905 (doc-view-fallback-mode): Remove overlays here.
2906 (doc-view-toggle-display): Instead of here. Don't throw away
2907 image-mode-winprops-alist.
2908 (doc-view-goto-page): Don't mess with hscroll.
2910 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2912 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
2913 &optional (bug#13819).
2915 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
2917 * net/tramp-adb.el (tramp-adb-parse-device-names)
2918 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
2920 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
2922 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2923 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
2924 defined. POSIX environments fall back to the "C" locale then and
2925 emit a warning, which shall be suppressed.
2927 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
2929 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
2930 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
2932 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2934 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
2936 2013-02-25 Juri Linkov <juri@jurta.org>
2938 * replace.el (read-regexp): Let-bind `default' to the first
2939 element of `defaults' if it's a list, otherwise it should be
2940 a string or nil. Let-bind `suggestions' to `defaults' if it's
2941 a list, otherwise make a list with the string value. Doc fix.
2944 2013-02-25 Eli Zaretskii <eliz@gnu.org>
2946 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
2947 that match "\`\.#", to avoid compiling lock files, even if they
2948 are readable (as they are on MS-Windows).
2950 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2952 * files.el (basic-save-buffer): Remove redundant directory-creation.
2954 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
2956 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
2957 Add option to force `pi' to remain symbolic.
2958 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
2959 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
2960 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
2961 derivatives, when necessary.
2963 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
2965 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
2966 (ps-mode-octal-region): Use string-make-unibyte.
2968 2013-02-23 Glenn Morris <rgm@gnu.org>
2970 * emulation/viper-cmd.el (viper-submit-report):
2971 * progmodes/ps-mode.el (ps-mode-maintainer-address):
2972 * progmodes/vera-mode.el (vera-mode-help-address):
2973 * textmodes/artist.el (artist-maintainer-address):
2974 * textmodes/reftex.el (reftex-report-bug):
2975 * vc/ediff-util.el (ediff-submit-report):
2976 Add bug-gnu-emacs to bug report address.
2978 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
2979 Remove bug report entries.
2980 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
2982 * emacs-lisp/bytecomp.el (byte-compile-level): New.
2983 (byte-compile-file, byte-compile-from-buffer):
2984 Use separate input/output buffers for each level of recursive
2985 byte-compile-file calls. (Bug#13787)
2987 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
2989 * net/tramp.el (tramp-methods): Fix docstring.
2990 (tramp-ssh-controlmaster-options): Rename it from
2991 `tramp-ssh-controlmaster-template'. Return a string.
2992 (tramp-default-method): Adapt check for
2993 `tramp-ssh-controlmaster-options'.
2995 * net/tramp-sh.el (tramp-methods):
2996 Replace `tramp-ssh-controlmaster-template' by "%c".
2997 (tramp-do-copy-or-rename-file-out-of-band)
2998 (tramp-maybe-open-connection): Use it in format spec. Ensure,
2999 that it is applied for the first hop only.
3001 2013-02-22 Juri Linkov <juri@jurta.org>
3003 * isearch.el (isearch-lazy-highlight-new-loop):
3004 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
3005 to `isearch-other-end' if it is not nil. (Bug#13402)
3007 * replace.el (replace-highlight): Let-bind `isearch-other-end'
3010 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
3011 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
3012 and `isearch-error' to nil.
3014 2013-03-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3016 * progmodes/python.el (python-info-current-defun):
3017 Enhance match-data cluttering prevention.
3019 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
3021 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
3023 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3024 Handle multibyte file names.
3026 2013-02-22 Glenn Morris <rgm@gnu.org>
3028 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
3029 (sgml-transformation-function): Give it a :set function.
3030 (sgml-tag): Doc fix.
3032 * cmuscheme.el (scheme-buffer):
3033 * progmodes/inf-lisp.el (inferior-lisp-buffer):
3034 * progmodes/tcl.el (inferior-tcl-buffer):
3035 * textmodes/tex-mode.el (tex-command): Doc fixes.
3037 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
3039 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
3041 2013-02-21 Bastien Guerry <bzg@gnu.org>
3043 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
3045 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3047 * progmodes/python.el (python-info-current-defun):
3048 Enhance match-data cluttering prevention.
3050 2013-02-21 Glenn Morris <rgm@gnu.org>
3052 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
3053 loaded while outline-regexp is let bound. (Bug#9584)
3055 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3057 * progmodes/python.el (python-info-current-defun): Fix failed
3058 defun name retrieval because of unwanted match-data cluttering.
3060 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
3062 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
3063 defconst. Apply independent check for ControlPersist.
3065 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
3066 temporarily, via "env".
3068 2013-02-21 Glenn Morris <rgm@gnu.org>
3070 * info.el (Info-enable-edit): Remove.
3071 (Info-edit): Disable it rather than using Info-enable.
3072 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
3073 (Info-cease-edit): Make editing of Info files obsolete.
3075 * informat.el (Info-tagify):
3076 Handle buffers not visiting files. (Bug#13763)
3078 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
3080 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
3082 2013-02-21 Glenn Morris <rgm@gnu.org>
3084 * files.el (basic-save-buffer): Move check for existing parent
3085 directory after hooks. (Bug#13773)
3087 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
3089 * simple.el (command-execute): Move from C. Add obsolete check.
3090 (extended-command-history): Move from C.
3092 2013-02-20 Ulrich MĂ¼ller <ulm@gentoo.org>
3094 * jka-cmpr-hook.el (jka-compr-compression-info-list)
3095 (jka-compr-mode-alist-additions): Handle .txz suffix for
3096 XZ-compressed tar archives (bug#13770).
3098 2013-02-20 Bastien Guerry <bzg@gnu.org>
3100 * outline.el (outline-regexp, outline-heading-end-regexp):
3101 Make variables, not options (bug#13731).
3103 2013-02-20 Glenn Morris <rgm@gnu.org>
3105 * image.el (image-current-frame): Change from variable to function.
3106 (image-show-frame): Rename from image-nth-frame. Update callers.
3107 * image-mode.el (image-multi-frame): New variable.
3108 (image-mode-map, image-mode, image-goto-frame):
3109 Use image-multi-frame rather than image-current-frame.
3110 (image-mode, image-goto-frame): Use image-current-frame as
3111 function rather than as variable.
3113 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
3114 * emacs-lisp/cl-macs.el (cl--make-type-test)
3115 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
3117 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3119 * net/tramp-cache.el (tramp-get-hash-table): New defun.
3120 (tramp-get-file-property, tramp-set-file-property)
3121 (tramp-get-connection-property, tramp-set-connection-property): Use it.
3122 (tramp-flush-file-property, tramp-flush-directory-property):
3123 Rename argument to KEY.
3124 (tramp-flush-connection-property): Simplify a little bit.
3125 (tramp-connection-property-p): New defun.
3126 (top): Reapply saved values only if there isn't a corresponding
3127 entry in `tramp-connection-properties'.
3129 2013-02-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3131 * progmodes/python.el (python-indent-context):
3132 Fix python-info-line-ends-backslash-p call.
3133 (python-info-line-ends-backslash-p)
3134 (python-info-beginning-of-backslash): Respect line-number argument.
3135 (python-info-current-line-comment-p):
3136 Fix behavior when not at beginning-of-line.
3137 (python-util-position): Remove function.
3138 (python-util-goto-line): New function.
3140 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3142 * eshell/em-unix.el (eshell/su): Require tramp.
3143 (eshell/sudo): Require tramp. Remove now unnecessary check.
3145 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
3146 `tramp-current-connection' in order to avoid an error when several
3147 commands are invoked in a short time in eshell and friends.
3149 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
3151 Cleanup some of EIEIO's namespace.
3152 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
3153 Use it to define all the class-* and object-* field accessors (renamed
3154 to eieio--class-* and eieio--object-*). Update all uses.
3155 (eieio--class-num-slots, eieio--object-num-slots): Rename from
3156 class-num-slots and object-num-slots.
3157 (eieio--check-type): New macro.
3158 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
3159 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
3160 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
3161 (object-assoc-list-safe): Use it.
3162 (eieio-defclass): Tighten regexp.
3163 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
3164 Remove unreachable code.
3165 (object-class-fast): Declare obsolete.
3166 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
3167 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
3168 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
3169 Rename from class-name, object-name, object-set-name-string,
3170 object-class, object-class-name, class-parents, class-children,
3171 class-precedence-list, class-parent; with obsolete alias.
3172 (class-of, class-direct-superclasses, class-direct-subclasses):
3174 (eieio-defmethod): Use `memq'; remove unreachable code.
3175 * emacs-lisp/eieio-base.el (eieio-persistent-read):
3176 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
3177 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
3179 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
3181 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
3184 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
3186 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
3187 Use font-lock-keyword-face for macros and special forms (bug#8345).
3189 2013-02-17 Didier Verna <didier@didierverna.net>
3191 * net/network-stream.el (network-stream-open-starttls):
3192 Check that response to the starttls-command is non-nil. (Bug#13706)
3194 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3196 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
3197 Don't assume all identifier chars have syntax word.
3198 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3199 Remove bar-not-symbol. Adjust callers.
3200 (lisp-mode-variables): Don't set a font-lock-syntax-table.
3202 2013-02-17 Leo Liu <sdl.web@gmail.com>
3204 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
3206 2013-02-17 Glenn Morris <rgm@gnu.org>
3208 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
3210 * image-mode.el (image-mode-map): Add image-dired menu entry.
3212 * image-dired.el (tumme): Make this alias obsolete.
3214 2013-02-16 Glenn Morris <rgm@gnu.org>
3216 * image.el (image-animated-types): Remove.
3217 (image-multi-frame-p): Rename from image-animated-p, and generalize.
3218 (image-animated-p): Make obsolete alias.
3219 (image-animate, image-nth-frame, image-animate-timeout):
3220 Use image-multi-frame-p.
3221 (image-animate-timeout): If no delay, use image-default-frame-delay.
3222 * image-mode.el (image-mode, image-toggle-animation):
3223 Use image-multi-frame-p. (Bug#763, bug#10739)
3224 (image-mode): Adjust startup message for a multi-frame image.
3226 * image-mode.el (image-mode-map): Give it a menu.
3228 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
3230 * net/tramp-cache.el (tramp-connection-properties): New customer
3232 (tramp-get-connection-property): Use it.
3234 * net/tramp-compat.el (top): Require 'trampver.
3236 * net/tramp-sh.el (tramp-remote-process-environment):
3237 Set tramp-autoload cookie.
3239 2013-02-16 Kevin Ryde <user42@zip.com.au>
3241 * info-look.el (info-lookup-select-mode): If major-mode has no
3242 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
3244 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
3246 * replace.el (read-regexp): Tighten the regexp that matches tag.
3247 When tag is retrieved with `find-tag-default', use regexp that
3248 matches tag at point. Also update docstring (Bug#13687).
3250 2013-02-16 Eli Zaretskii <eliz@gnu.org>
3252 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
3253 add watch for the file, not its parent directory, since w32notify
3254 sets up the watch for the directory internally. (Bug#13725)
3256 2013-02-16 Glenn Morris <rgm@gnu.org>
3258 * image.el (image-default-frame-delay): New variable.
3259 (image-animated-p): Use image-default-frame-delay.
3260 (image-minimum-frame-delay): New constant.
3261 (image-animate-timeout): Use image-minimum-frame-delay.
3263 * image.el (image-nth-frame): New, split from image-animate-timeout.
3264 (image-animate-timeout): Use image-nth-frame.
3265 * image-mode.el (image-goto-frame, image-next-frame)
3266 (image-previous-frame): New commands.
3267 (image-mode-map): Add new frame commands.
3269 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
3271 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
3272 If col-desc already has help-echo, use it. (Bug#13563)
3274 2013-02-16 Glenn Morris <rgm@gnu.org>
3276 * image.el (image-current-frame): New variable.
3277 (image-animate-timeout): Set image-current-frame.
3278 * image-mode.el (image-mode): For animated images,
3279 display a frame counter via mode-line-process.
3281 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
3283 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3285 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
3287 2013-02-15 Alan Mackenzie <acm@muc.de>
3289 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
3290 global minor mode has been enabled, call the minor mode function
3291 for a new buffer once only, after the major mode hook, whilst
3292 allowing that hook explicitly to disable the minor mode.
3293 (MODE-disable-in-buffer): New (generated) function.
3294 (disable-MODE): New (generated) buffer local variable.
3296 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
3298 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
3299 `iswitchb-next-match' and `iswitchb-prev-match' resply.
3300 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
3301 `ido-next-match' and `ido-prev-match' resply.
3302 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
3303 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
3304 `icomplete-backward-completions' (Bug#13708).
3306 2013-02-15 Glenn Morris <rgm@gnu.org>
3308 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3310 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3312 * net/goto-addr.el (goto-address-fontify): Add start and end args.
3313 (goto-address-fontify-region): Use them instead of narrowing, so
3314 syntax-ppss has access to the whole buffer.
3316 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3318 * progmodes/python.el: Explain how to restore "cc-mode"-like
3319 forward-sexp movement in header documentation (Bug#13642).
3320 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
3321 comments and strings (GH bug 114).
3323 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3325 * progmodes/python.el (python-info-current-defun): Fix current
3326 defun detection (Bug#13618).
3328 2013-02-15 Chong Yidong <cyd@gnu.org>
3330 * xml.el (xml-parse-string): Fix typo in handling of bad character
3333 2013-02-15 Glenn Morris <rgm@gnu.org>
3335 * play/fortune.el (fortune-compile): Simplify and fix previous change.
3337 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
3339 * net/tramp.el (tramp-debug-message):
3340 Add `tramp-condition-case-unless-debug'.
3341 (tramp-debug-on-error): New defvar.
3342 (tramp-condition-case-unless-debug): New defun.
3343 (tramp-file-name-handler): Use it.
3345 2013-02-14 Juri Linkov <juri@jurta.org>
3347 * info.el (Info-isearch-filter): Treat non-nil values of
3348 `search-invisible' including its default value `open'
3349 like the value `t' to match hidden text. (Bug#13402)
3351 2013-02-14 Glenn Morris <rgm@gnu.org>
3353 * help-fns.el (find-lisp-object-file-name): Give special treatment
3354 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
3356 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
3358 * net/quickurl.el (quickurl-save-urls):
3359 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
3361 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
3363 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
3364 depth for unfinished percent literal. Not using it in the caller.
3365 (ruby-move-to-block): Jump over multiline literals of all types,
3366 ignoring code-looking contents inside them.
3367 (ruby-add-log-current-method): Improve performance at the expense
3368 of accuracy. `ruby-block-contains-point' is relatively slow, so
3369 only use it for method and singleton class blocks.
3371 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3373 Use ControlMaster where applicable. (Bug#13677)
3375 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
3376 replacing `tramp-detect-ssh-controlmaster'.
3377 (tramp-default-method): Use it.
3379 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
3380 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
3382 [scpc, rsyncc]: Remove methods.
3383 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
3385 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
3386 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
3388 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3390 * emacs-lisp/package.el (package--initialized): Move before first use.
3392 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
3394 * icomplete.el (icomplete-hide-common-prefix): New user option.
3395 (icomplete-first-match): New face.
3396 (icomplete-completions): Correct handling of "complete but not
3397 unique" (Bug#12638).
3399 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
3401 * descr-text.el (describe-char): Display the script (bug#13698).
3403 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3405 * tmm.el: Use lexical-binding and current-active-maps.
3406 (tmm-menubar): Use map-keymap and pcase.
3407 (tmm--completion-table): New function.
3408 (tmm-prompt): Use it to fix the menu order.
3409 (tmm-get-keybind): Use current-active-maps.
3411 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
3413 Add dired-hide-details-mode. (Bug#6799)
3415 * locate.el (locate-mode): Set parent mode property to dired-mode.
3417 * find-dired.el (find-dired): Call dired-insert-set-properties on
3418 initial information line. Set process mark on end of buffer.
3419 (find-dired-sentinel):
3420 Call dired-insert-set-properties on summary.
3422 * dired.el (dired-hide-details-hide-symlink-targets)
3423 (dired-hide-details-hide-information-lines): New options.
3424 (dired-insert-directory):
3425 Set properties after final treatment of output.
3426 (dired-insert-set-properties):
3427 Set dired-hide-details-* properties.
3428 (dired-mode-map): Bind dired-hide-details-mode.
3429 (dired-mode): Set buffer-invisibility-spec to a list.
3430 (dired-next-line): Skip hidden lines.
3431 (dired-previous-line): Use dired-next-line.
3432 (dired-hide-details-mode): New minor mode.
3433 (dired-hide-details-update-invisibility-spec): New function.
3435 2013-02-13 Glenn Morris <rgm@gnu.org>
3437 * play/yow.el: Move to obsolete/. (Bug#9384)
3439 2013-02-13 Juri Linkov <juri@jurta.org>
3441 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
3442 to select `ediff-control-frame' and set input focus correctly on Xfce.
3445 2013-02-13 Juri Linkov <juri@jurta.org>
3447 * image-mode.el (image-mode-map):
3448 * doc-view.el (doc-view-mode-map):
3449 * vc/ediff-util.el (ediff-setup-keymap):
3450 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3452 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
3454 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
3455 performance. Instead of recalculating indentation fully for each
3456 line, sum up indentation depth based only on visited lines.
3457 (ruby-parse-partial): Increase the depth after "do" even when END
3459 (ruby-parse-partial): When END is in the middle of a percent
3460 literal, increase the depth if the delimiter chars belong to the
3463 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
3465 * play/fortune.el (fortune-compile): Also make the compiled file
3466 if it does not exist at all, not just if it is old. (Bug#5338)
3468 2013-02-13 Glenn Morris <rgm@gnu.org>
3470 * emacs-lisp/package.el (package-menu-execute): Doc fix.
3472 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
3474 * lisp/emacs-lisp/package.el (package-menu-execute):
3475 Add optional noquery argument. (Bug#13625)
3477 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3479 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
3480 if DIR exists and PARENTS is non-nil.
3482 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
3484 * progmodes/js.el (js--multi-line-declaration-indentation):
3485 Silence byte-compiler warning.
3487 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
3489 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
3491 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
3492 only if it doesn't exist.
3494 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3497 2013-02-12 Tassilo Horn <tsdh@gnu.org>
3499 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
3500 UserInstallation when calling soffice to work around LibreOffice
3503 2013-02-12 Glenn Morris <rgm@gnu.org>
3505 * files.el (basic-save-buffer):
3506 Offer to create a non-existing directory. (Bug#3016)
3508 * calc/calc-graph.el (calc-graph-show-dumb):
3509 * calendar/calendar.el (calendar-mode-map):
3510 * cus-edit.el (custom-mode-map):
3511 * ehelp.el (electric-help-map):
3512 * emulation/vip.el (vip-mode-map):
3513 * epa.el (epa-key-list-mode-map):
3514 * info.el (Info-mode-map):
3515 * mail/rmail.el (rmail-mode-map):
3516 * mail/rmailsum.el (rmail-summary-mode-map):
3517 * man.el (Man-mode-map):
3518 * net/newst-plainview.el (newsticker-mode-map):
3519 * progmodes/cpp.el (cpp-edit-mode-map):
3520 * progmodes/grep.el (grep-mode-map):
3521 * progmodes/idlw-help.el (idlwave-help-mode-map):
3522 * simple.el (special-mode-map):
3523 * startup.el (splash-screen-keymap):
3524 * view.el (view-mode-map):
3525 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3527 2013-02-11 Elias Pipping <pipping@lavabit.com>
3529 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
3532 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
3534 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
3536 2013-02-11 Glenn Morris <rgm@gnu.org>
3538 * vc/diff.el (diff-use-labels): New variable.
3539 (diff-no-select): Use --label rather than -L, and first
3540 check that it is supported. (Bug#11067)
3542 * files.el (enable-dir-local-variables): New variable.
3543 (hack-dir-local-variables): Respect enable-dir-local-variables.
3544 * tutorial.el (help-with-tutorial):
3545 Ignore directory-local variables. (Bug#11127)
3547 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
3548 (vc-svn-global-switches): ... to here. (Bug#13513)
3550 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
3552 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
3553 Handle "foo (bar, default: xxx): " prompts.
3555 2013-02-10 Chong Yidong <cyd@gnu.org>
3557 * files.el (basic-save-buffer-1): Do not set
3558 buffer-file-coding-system-explicit (Bug#4533).
3560 * mail/emacsbug.el (report-emacs-bug): Change binding of
3561 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
3563 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
3565 * calc/calc.el (calc-allow-units-as-numbers): New variable.
3566 * calc/calc-units.el (calc-convert-units): Use new variable.
3568 2013-02-09 Eli Zaretskii <eliz@gnu.org>
3570 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
3572 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
3575 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
3576 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
3577 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
3578 coding-system-for-write instead.
3580 * jka-compr.el (jka-compr-write-region): Don't bind
3583 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
3586 * files.el (file-name-buffer-file-type-alist): Remove defvar.
3587 (insert-file-contents-literally): Remove reference to
3588 file-name-buffer-file-type-alist.
3590 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
3592 (find-buffer-file-type-match, find-buffer-file-type): Remove.
3593 (find-buffer-file-type-coding-system): Remove references to
3594 find-buffer-file-type-match, find-buffer-file-type, and
3596 Don't put find-buffer-file-type-coding-system into
3597 file-coding-system-alist.
3598 (find-file-binary, find-file-text): Bind coding-system-for-read
3599 instead of file-name-buffer-file-type-alist.
3601 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
3603 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
3604 converter (Bug#13622).
3605 (doc-view-unoconv-program): Make obsolete alias.
3606 (doc-view-odf->pdf-converter-program): New variable.
3607 (doc-view-odf->pdf-converter-function): New variable.
3608 (doc-view-mode-p): Use it.
3609 (doc-view-odf->pdf-converter-unoconv):
3610 Rename from `doc-view-odf->pdf-converter-unoconv'.
3611 (doc-view-odf->pdf-converter-soffice): New function.
3612 (doc-view-convert-current-doc):
3613 Use `doc-view-odf->pdf-converter-function'.
3615 2013-02-09 Chong Yidong <cyd@gnu.org>
3617 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
3618 view-echo-area-messages (Bug#13340).
3620 * help.el (view-echo-area-messages): Use display-buffer.
3622 * dired-x.el (dired-do-run-mail): Prompt for confirmation
3625 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
3627 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
3628 Eval body right away, now that we do eager macroexpansion (bug#13605).
3630 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
3631 (fundamental-mode): Use run-mode-hooks.
3633 * eshell/esh-proc.el (eshell/kill): Fix last change.
3634 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
3636 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
3638 * eshell/esh-proc.el (eshell/kill): Rewrite.
3640 * eshell/em-ls.el (show-almost-all): Declare.
3641 (eshell-do-ls): Add support for -A argument.
3643 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
3645 * icomplete.el (icomplete-forward-completions)
3646 (icomplete-backward-completions): Handle corner case (bug#13602).
3648 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
3650 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
3651 be nil. Handle this. (Bug#13636)
3653 2013-02-07 Richard Stallman <rms@gnu.org>
3655 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
3656 `save-buffer-coding-system'.
3658 2013-02-07 Alan Mackenzie <acm@muc.de>
3660 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
3661 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
3662 (c-parse-state-get-strategy): Don't return 'BOD any more.
3663 (c-append-lower-brace-pair-to-state-cache):
3664 Extra parameter HERE instead of narrowing.
3665 Widen to top of buffer before searching backwards for a brace pair.
3666 (c-state-push-any-brace-pair): Add HERE parameter to function call.
3667 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
3668 Narrow to parameter HERE, in place of being called narrowed.
3669 (c-remove-stale-state-cache): Extra parameter HERE in place of
3670 narrowing. Check there's an open brace in the cache before
3671 searching for its match.
3672 (c-invalidate-state-cache-1): Add HERE parameter to function call.
3673 (c-parse-state-1): Don't narrow here for 'forward strategy,
3674 instead passing extra parameter HERE to several functions.
3675 Remove 'BOD strategy.
3677 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
3679 * emacs-lisp/package.el (describe-package-1): Tell what archive is
3680 used to install the package.
3682 2013-02-06 Glenn Morris <rgm@gnu.org>
3684 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
3685 if we can't get user input. (Bug#6567)
3687 * startup.el (command-line): If simple.el is missing,
3688 test and warn about for some possible causes.
3690 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
3692 * cus-start.el (all): Add ns-use-native-fullscreen.
3694 2013-02-05 Glenn Morris <rgm@gnu.org>
3696 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
3698 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3699 Fix directory creation in fallback case.
3701 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3703 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
3704 (vc-update-change-log): Use dolist.
3706 2013-02-04 Chong Yidong <cyd@gnu.org>
3708 * thingatpt.el: Rewrite the URL detection routines, absorbing some
3710 (thing-at-point-beginning-of-url-regexp): New var.
3711 (thing-at-point-uri-schemes): Update list of URI schemes.
3712 (thing-at-point-url-regexp): Variable deleted.
3713 (thing-at-point-markedup-url-regexp): Disallow newlines.
3714 (thing-at-point-newsgroup-regexp)
3715 (thing-at-point-newsgroup-heads)
3716 (thing-at-point-default-mail-uri-scheme): New variables.
3717 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
3718 method to find the possible bounds of the URI at point.
3719 New optional argument to find ill-formed URIs.
3720 (thing-at-point-url-at-point): Rewrite. New arguments for finding
3721 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
3722 the scheme-adding heuristics from ffap-url-at-point.
3723 (thing-at-point--bounds-of-well-formed-url): New function.
3724 Do parens matching to decide whether to include parens in the URI
3727 * ffap.el: Require thingatpt.
3728 (ffap-url-at-point): Delegate URI detection to thing-at-point.
3729 All URI-valid characters are now recognized (Bug#5673).
3730 (ffap-string-at-point): Use use-region-p.
3731 (ffap-url-regexp): Extra character is handled by thing-at-point.
3732 (ffap-string-at-point-mode-alist): Allow parentheses.
3733 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
3734 Convert to aliases; code moved to thingatpt.el.
3735 (ffap-gnus-hook): Use setq-local.
3737 2013-02-04 Glenn Morris <rgm@gnu.org>
3739 * emacs-lisp/ert.el (ert--explain-format-atom):
3740 Don't try to print non-characters as characters. (Bug#13543)
3742 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
3744 * net/tramp.el (tramp-debug-message): Extend function exclude list.
3745 (tramp-backtrace): New defun.
3746 (tramp-handle-insert-file-contents): Use `visit' when inserting
3749 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
3750 Use `remote-file-name-inhibit-cache'.
3752 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
3754 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
3757 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
3758 current-load-list (bug#13366).
3760 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
3762 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3763 Identify g++ template instantiation trace. (Bug#12287)
3764 (compilation-mode-hook, compilation-start-hook)
3765 (compilation-window-height): Simplify docstrings. (Bug#13379)
3767 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3769 * mouse.el (mouse-drag-track): Always deactivate the mark before
3770 running the final event's command since that command is in charge of
3771 activating the mark if needed (bug#13523).
3773 2013-02-02 Juri Linkov <juri@jurta.org>
3775 * replace.el (perform-replace): Move let-bindings of isearch-*
3776 variables deeper to the loop that searches for the next match.
3777 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
3778 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
3781 * isearch.el (isearch-search-fun-default): Check for null
3782 first element of isearch-cmds as a precaution when it's used
3783 with inactive isearch.
3785 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
3787 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
3788 error when buffer in question is narrowed so position 1 is out of
3791 2013-02-02 Glenn Morris <rgm@gnu.org>
3793 * textmodes/remember.el (remember-clipboard): Doc fix.
3795 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3797 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
3798 properties (bug#13179).
3800 2013-02-02 Juri Linkov <juri@jurta.org>
3802 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
3803 instead of hard-coded default face `match'. (Bug#9438)
3805 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
3807 * vc/vc-arch.el (vc-arch-registered):
3808 * vc/vc-bzr.el (vc-bzr-registered):
3809 * vc/vc-cvs.el (vc-cvs-registered):
3810 * vc/vc-git.el (vc-git-registered):
3811 * vc/vc-hg.el (vc-hg-registered):
3812 * vc/vc-mtn.el (vc-mtn-registered):
3813 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
3816 * info.el (Info-next-reference, Info-prev-reference): Add numeric
3817 prefix argument. (Bug#11656)
3819 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
3821 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
3823 2013-02-01 Glenn Morris <rgm@gnu.org>
3825 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
3826 if the backend is known not to support it.
3828 * imenu.el (imenu-default-create-index-function):
3829 Tweak infinite loop test to check for forward motion as well as none.
3831 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
3833 * net/soap-client.el (soap-invoke): Encode the string for
3834 `url-request-data' as UTF-8.
3835 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
3837 2013-02-01 Glenn Morris <rgm@gnu.org>
3839 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
3841 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
3843 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
3845 * net/tramp.el (tramp-tramp-file-p): Comment check for
3846 `string-as-unibyte'. The function does not exist on XEmacs, and
3847 likely we need another approach.
3849 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
3850 `tramp-gw-*' variables are bound.
3852 2013-01-31 Glenn Morris <rgm@gnu.org>
3854 * files.el (basic-save-buffer-2): Choose coding system for
3855 writing the file before backing it up, to reduce delay between
3856 backing up and writing the new version. (Bug#13522)
3858 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
3860 * simple.el (cycle-spacing): New command.
3861 (just-one-space): Use it.
3863 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
3865 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
3866 (opascal-newline-always-indents): Remove custom.
3867 (opascal-tab, opascal-newline): Remove commands.
3868 (opascal-new-comment-line): Insert "\n" instead of calling newline.
3869 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
3870 (opascal-save-match-data): Remove, use save-match-data instead.
3871 (opascal-save-state): Use with-silent-modifications.
3873 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
3876 2013-01-30 Juri Linkov <juri@jurta.org>
3878 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
3879 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
3880 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
3882 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3884 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
3885 column if we're just deleting the backslashes.
3886 (makefile-fill-paragraph): Use eolp.
3888 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3890 * autorevert.el (auto-revert-use-notify): Fix docstring.
3892 2013-01-30 Leo Liu <sdl.web@gmail.com>
3894 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
3896 2013-01-30 Glenn Morris <rgm@gnu.org>
3898 * mouse.el (mouse-drag-line): Avoid pushing same event onto
3899 unread-command-events twice in some cases. This tries to implement
3900 the 2012-07-26 changes in a different way. (Bug#13560)
3902 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3904 * progmodes/python.el
3905 (python-pdbtrack-comint-output-filter-function): Enhancements on
3906 stacktrace detection. (thanks @gnovak)
3908 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3910 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
3911 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
3913 (jit-lock-register): Use setq-local.
3915 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
3917 * calc-units.el (math-default-units-table): Remove initial value.
3918 (calc-convert-units): Treat expressions where all the units cancel as
3919 if they didn't have units.
3921 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3923 * net/tramp.el (tramp-process-connection-type): Fix docstring.
3924 (tramp-completion-reread-directory-timeout): Fix type.
3925 (tramp-connection-min-time-diff): New defcustom.
3927 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3929 2013-01-30 Glenn Morris <rgm@gnu.org>
3931 * imenu.el (imenu-default-create-index-function):
3932 Put back a version of the infinite loop test removed 2013-01-23.
3934 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3936 * progmodes/python.el (python-shell-parse-command):
3937 Find python-shell-interpreter with modified environment.
3939 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3941 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
3943 2013-01-29 Alan Mackenzie <acm@muc.de>
3945 Amend to fontify /regexp/s in actions correctly.
3946 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
3947 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
3948 are no longer included.
3949 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
3950 What used to be these variables without "-line" in the name.
3951 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
3952 (c-awk-non-arith-op-bra-re): Now also matches {.
3953 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
3954 "return", and "case".
3955 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
3957 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
3958 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
3960 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
3962 * autorevert.el (auto-revert-use-notify):
3963 Use `custom-initialize-default' for initialization. (Bug#13583)
3965 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
3967 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3968 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
3969 in `tramp-file-name-handler'.
3970 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
3972 (tramp-compute-multi-hops): Check, whether
3973 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
3975 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
3977 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
3980 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
3982 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
3983 checks made superfluous by the \_< operator.
3984 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
3985 temporarily) broken indentation.
3986 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3987 Highlight nested constants, too. \_< broke that.
3989 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
3991 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
3994 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
3996 * autorevert.el (auto-revert-handler): Notifications which result
3997 from a saved file shall not be taken into account. (Bug#13557)
3999 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
4001 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
4002 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
4003 (lisp-mode): Pass t for it. (Bug#13556)
4005 2013-01-25 Alan Mackenzie <acm@muc.de>
4007 AWK Mode: Fix indentation bug at top level. Bug #12274.
4009 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
4010 just before CASE 5D.
4012 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
4014 * net/socks.el (socks-nslookup-host): Use string-to-number.
4016 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
4018 * autorevert.el (auto-revert-remote-files)
4019 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
4020 (auto-revert-notify-enabled, auto-revert-use-notify)
4021 (auto-revert-notify-watch-descriptor-hash-list)
4022 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
4023 (auto-revert-notify-event-descriptor)
4024 (auto-revert-notify-event-action)
4025 (auto-revert-notify-event-file-name): Doc fix.
4026 (global-auto-revert-mode): Reorder checks.
4027 (auto-revert-notify-rm-watch): Respect changed values of
4028 `auto-revert-notify-watch-descriptor-hash-list'.
4029 (auto-revert-notify-add-watch): Check for
4030 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
4031 `inotify-add-watch'. Watch `default-directory' instead of
4032 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
4033 has a changed meaning now. (Bug#13540)
4034 (auto-revert-notify-handler): Change implementation wrt events
4035 returning from a directory.
4036 (auto-revert-handler): Reorder implementation for checks of remote
4038 (auto-revert-buffers): Fix parentheses error.
4040 2013-01-25 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4042 * progmodes/python.el: Enhancements to header documentation about
4043 skeletons. (Bug#5716)
4045 * imenu.el (imenu-default-create-index-function): Remove useless
4046 infinite loop check. (Bug#13438)
4048 2013-01-25 Alan Mackenzie <acm@muc.de>
4050 Fix a bug in the state cache mechanism. Refactor this a bit.
4052 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
4053 `cache-pos' element from the return value.
4054 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
4055 buffer to enable proper searching from beyond HERE. Amend the
4056 test for detecting the sought brace pair. Amend the value written
4057 to the "brace desert cache" when the brace isn't found.
4058 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
4059 and several other variables analogously.
4060 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
4061 parameter to a locally calculated variable.
4062 (c-parse-state-1): Change the calling conventions to the two
4063 defuns involving `cache-pos'.
4065 2013-01-25 Chong Yidong <cyd@gnu.org>
4067 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
4069 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
4071 * paren.el (show-paren-function): Make sure to set 'priority and
4072 'face only if the overlay does exist.
4074 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
4076 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
4078 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
4080 (tramp-sh-handle-set-file-acl): Improve error checking.
4082 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
4084 * doc-view.el (doc-view-display): Force mode line update until all
4085 document is converted. Suggested by Stefan Monnier (Bug#13164).
4087 2013-01-23 Bastien Guerry <bzg@gnu.org>
4089 * paren.el (show-paren-function): Make sure an overlay exists
4090 before trying to delete it. Also use `pos' as a position only
4091 when it is an integer.
4093 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
4095 * play/gametree.el (gametree-break-line-here): Use point-marker.
4097 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
4099 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4100 Mark descriptive parts with `display' property.
4102 2013-01-21 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
4104 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
4105 New variable to map standard dict names to hunspell ones.
4106 (ispell-set-spellchecker-params): Make sure specific dict names
4107 are used for standard dicts with hunspell.
4109 2013-01-21 Tassilo Horn <tsdh@gnu.org>
4111 * textmodes/reftex-cite.el (reftex-format-citation): Add format
4112 chars for note (%N) and url (%U).
4113 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
4115 2013-01-21 Juri Linkov <juri@jurta.org>
4117 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
4118 in addition to existing separate binding `meta f10' in `global-map'.
4121 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
4123 Improve XEmacs compatibility.
4125 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
4127 * net/tramp-adb.el (top): Require `time-date'.
4128 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
4129 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
4130 Use `tramp-file-name-handler'.
4131 (tramp-adb-maybe-open-connection):
4132 Use `tramp-compat-set-process-query-on-exit-flag'.
4134 * net/tramp-sh.el (tramp-sh-handle-file-acl):
4135 Use `tramp-compat-funcall'.
4137 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
4138 `tramp-compat-funcall'.
4140 2013-01-21 JĂ¼rgen Hötzel <juergen@archlinux.org>
4142 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
4143 reimplementation using "adb shell command ..." instead of running
4144 remote shell interactively.
4146 2013-01-20 Glenn Morris <rgm@gnu.org>
4148 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
4149 Add native profiler menu entries.
4151 * profiler.el (profiler-running-p): New function.
4152 (profiler-cpu-profile): Use profiler-running-p.
4153 (profiler-report-mode-map): Add some more menu entries.
4155 2013-01-19 Glenn Morris <rgm@gnu.org>
4157 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
4158 fixes 2012-12-07 change. (Bug#13499)
4160 2013-01-19 Leo Liu <sdl.web@gmail.com>
4162 * dired.el (dired-get-marked-files): Prune erroneous values due to
4163 last change. (Bug#13152)
4165 2013-01-19 Glenn Morris <rgm@gnu.org>
4167 * progmodes/etags.el (tags-table-check-computed-list):
4168 Preserve point in tags buffer. (Bug#13412)
4170 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
4172 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
4173 Chong Yidong <cyd@gnu.org>
4175 * image-mode.el (image-next-file, image-previous-file):
4176 New commands (Bug#8453).
4177 (image-mode-map): Bind them to n and p.
4178 (image-mode--images-in-directory): New helper function.
4180 2013-01-19 Chong Yidong <cyd@gnu.org>
4182 * image-mode.el (image-mode-fit-frame): Add a frame argument.
4183 Suggested by Drew Adams (Bug#7730). Handle window decorations;
4184 save and restore the old window configuration.
4186 2013-01-18 Leo Liu <sdl.web@gmail.com>
4188 * progmodes/js.el: Tweak autoload cookie for alias.
4190 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4192 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
4193 buffer local, again. This was lost with the fix on 2013-01-12.
4195 2013-01-17 JĂ¼rgen Hötzel <juergen@archlinux.org>
4197 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
4198 order to support several eshell buffers in parallel.
4200 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4202 * autorevert.el (auto-revert-use-notify): In the :set function, do
4203 not modify `kill-buffer-hook'.
4204 (auto-revert-notify-rm-watch):
4205 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
4206 (auto-revert-notify-add-watch): Do not call
4207 `auto-revert-notify-rm-watch', but add it to a buffer local
4210 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4212 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
4213 call to `eval' rather than a backquoted lambda.
4215 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
4217 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
4218 to return an explicit nil.
4219 (advice--remove-function): Change accordingly.
4221 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
4222 the use of nadvice.el.
4224 * progmodes/which-func.el (which-function): Silence imenu errors
4227 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4229 * progmodes/sql.el (sql-imenu-generic-expression):
4230 (sql-mode-font-lock-object-name): Match schema qualified names.
4231 (sql-connect): Use string keys.
4232 (sql-product-interactive): Wait for interpreter prompt.
4233 (sql-comint-oracle): Set process coding based on NLS_LANG.
4235 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4237 * progmodes/sql.el (sql-output-to-send): Remove, unused.
4238 (sql-interactive-remove-continuation-prompt):
4239 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
4241 2013-01-14 Leo Liu <sdl.web@gmail.com>
4243 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
4246 2013-01-14 Glenn Morris <rgm@gnu.org>
4248 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4249 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
4251 2013-01-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4253 * progmodes/python.el (python-nav-end-of-statement):
4254 Fix cornercase when handling multiline strings.
4256 2013-01-13 Richard Stallman <rms@gnu.org>
4258 * mail/sendmail.el (mail-position-on-field): Add doc string.
4260 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4261 Get current message boundaries and pass them to
4262 message-forward-make-body-mime. Minor style changes.
4264 2013-01-13 Eli Zaretskii <eliz@gnu.org>
4266 * cus-start.el (all): Avoid warnings about
4267 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
4269 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
4271 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
4273 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4275 * jit-lock.el (jit-lock-debug-mode): New minor mode.
4276 (jit-lock--debug-fontifying): New var.
4277 (jit-lock--debug-fontify): New function.
4278 * subr.el (condition-case-unless-debug): Don't prevent catching the
4279 error, just let the debbugger run.
4280 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
4281 timer code and don't drop errors silently.
4283 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
4285 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
4286 `permanent-local' property.
4287 (auto-revert-notify-handler): Use `file-equal-p'.
4289 2013-01-12 Eli Zaretskii <eliz@gnu.org>
4291 * autorevert.el (auto-revert-notify-handler): Fix filtering of
4292 file notification by ACTION. For filtering by file name, compare
4293 only the non-directory part of the file name.
4295 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4297 * autorevert.el: Use cl-lib instead of cl.
4299 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
4300 (vc-bzr-checkin): Use it.
4301 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
4302 will preserve match-data.
4304 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
4306 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
4307 (js--declaration-keyword-re): New var.
4308 (js--multi-line-declaration-indentation): New function.
4309 (js--proper-indentation): Use it.
4311 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
4313 * calc/calc.el (calc-highlight-selections-with-faces)
4315 * comint.el (comint-history-isearch-message):
4316 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
4317 * ffap.el (ffap-string-at-point-region, ffap-next)
4318 (ffap-string-at-point, ffap-string-around)
4319 (ffap-copy-string-as-kill, ffap-highlight-overlay)
4321 * font-lock.el (font-lock-keywords-alist)
4322 (font-lock-removed-keywords-alist):
4323 * help-mode.el (help-xref-symbol-regexp):
4324 * info.el (Info-find-emacs-command-nodes):
4325 * international/mule.el (add-to-coding-system-list):
4326 * isearch.el (isearch-message-function, isearch-fail-pos):
4327 * misearch.el (multi-isearch-next-buffer-function):
4328 * newcomment.el (comment-box):
4329 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
4330 (pr-setting-database):
4331 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
4332 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
4333 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
4334 (pike-font-lock-keywords-3):
4335 * progmodes/compile.el (compile):
4336 * progmodes/etags.el (tags-table-files)
4337 (tags-table-files-function, tags-included-tables-function):
4338 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
4339 (gdb-restore-windows):
4340 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
4341 (ps-n-up-filling-database):
4342 * server.el (server-buffer, server-log):
4343 * simple.el (newline, delete-backward-char, delete-forward-char)
4344 (minibuffer-history-isearch-message, kill-line, track-eol)
4345 (temporary-goal-column):
4346 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
4347 (flyspell-default-deplacement-commands):
4348 * textmodes/ispell.el (ispell-accept-output):
4349 * textmodes/sgml-mode.el (html-tag-help):
4350 * vc/compare-w.el (compare-ignore-whitespace)
4351 (compare-ignore-case, compare-windows-dehighlight):
4352 * vc/diff.el (diff):
4353 * whitespace.el (whitespace-point)
4354 (whitespace-font-lock-refontify, whitespace-bob-marker)
4355 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
4357 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
4359 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
4360 (auto-revert-notify-rm-watch): Ignore errors.
4361 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
4362 inotify, and '(size last-write-time) for w32notify.
4363 Set buffer-local `auto-revert-use-notify' to nil when adding a file
4364 watch fails - this is a fallback to the file modification check.
4365 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
4366 (auto-revert-notify-event-action)
4367 (auto-revert-notify-event-file-name): New defuns.
4368 (auto-revert-notify-handler): Use them. Implement first
4369 plausibility checks.
4370 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
4372 2013-01-11 Julien Danjou <julien@danjou.info>
4374 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
4375 max are almost equal. Also return the correct value for V which is
4376 already between 0 and 1.
4378 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
4380 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
4382 2013-01-11 Eli Zaretskii <eliz@gnu.org>
4384 * autorevert.el (auto-revert-notify-rm-watch)
4385 (auto-revert-notify-add-watch): Fix typos in w32notify function
4388 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4390 * autorevert.el (auto-revert-notify-enabled): Move up.
4391 (auto-revert-use-notify): New defcustom.
4392 (auto-revert-mode, global-auto-revert-mode)
4393 (auto-revert-notify-add-watch, auto-revert-handler)
4394 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
4395 `auto-revert-notify-enabled'.
4397 2013-01-10 Elias Pipping <pipping@exherbo.org>
4399 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
4400 * doc-view.el (doc-view-document->bitmap):
4401 Use doc-view-single-page-converter-function instead of
4402 single-page-converter arg; adjust callers.
4404 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
4406 * progmodes/which-func.el (which-function): Understand Semantic's use
4407 of overlays in imenu--index-alist.
4409 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
4411 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
4412 (Man-man-k-use-anchor): New var.
4413 (Man-parse-man-k): New function.
4414 (Man-completion-table): Use it.
4415 (man): Flush the completion cache between uses.
4417 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4419 * autorevert.el: Add file watch support.
4420 (auto-revert-notify-enabled): New defconst.
4421 (auto-revert-notify-watch-descriptor-hash-list)
4422 (auto-revert-notify-watch-descriptor)
4423 (auto-revert-notify-modified-p): New defvars.
4424 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4425 (auto-revert-notify-handler): New defuns.
4426 (auto-revert-mode, global-auto-revert-mode): Remove file watches
4427 when mode is disabled.
4428 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
4429 (auto-revert-buffers): Add file watches for active buffers.
4431 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
4433 * cus-start.el (toplevel): Only allow float values for
4434 scroll-up-aggressively and scroll-down-aggressively.
4435 Allow any number for line-spacing.
4437 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4439 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
4440 (doc-view-pdf->png-converter-function): Use mupdf if available.
4441 (doc-view-djvu->png-converter-function)
4442 (doc-view-ps->png-converter-function): Remove.
4443 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
4444 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
4445 (doc-view-already-converted-p): Adjust accordingly.
4446 (doc-view-mode-p): Simplify.
4447 (doc-view-enlarge): Use setq-local.
4448 (doc-view-pdf->png-converter-ghostscript)
4449 (doc-view-djvu->png-converter-ddjvu)
4450 (doc-view-pdf->png-converter-mupdf): Rework to call
4451 doc-view-start-process directly.
4452 (doc-view-pdf/ps->png): Simplify accordingly.
4453 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
4454 (doc-view-document->bitmap): Rename from doc-view-document->png.
4455 (doc-view-convert-current-doc): Merge pdf and djvu cases.
4456 (doc-view-set-slice-from-bounding-box): Fix completion table.
4457 (doc-view-mode): Use add-hook for after-revert-hook.
4459 2013-01-10 Glenn Morris <rgm@gnu.org>
4461 * emacs-lisp/authors.el (authors-ignored-files)
4462 (authors-valid-file-names, authors-renamed-files-alist):
4463 Add some more entries.
4465 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4467 * image-mode.el (image-mode-winprops): Don't throw away the fallback
4468 `t' pseudo-window entry.
4470 2013-01-10 Alan Mackenzie <acm@muc.de>
4472 Fix bugs in the c-parse-state mechanism. Reuse some markers
4473 instead of continually generating new ones.
4475 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
4476 (c-state-old-cpp-end-marker): New variables.
4477 (c-append-lower-brace-pair-to-state-cache): Start a backward
4478 search for "}" definitively outside CPP constructs.
4479 (c-remove-stale-state-cache): Inform the caller of a need to
4480 search back for a brace pair in certain circumstances.
4481 (c-state-maybe-marker): New macro.
4482 (c-parse-state): Reuse markers when appropriate.
4484 2013-01-10 Glenn Morris <rgm@gnu.org>
4486 * simple.el (execute-extended-command): Doc fix.
4487 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
4489 2013-01-10 Chong Yidong <cyd@gnu.org>
4491 * faces.el (read-face-name): Doc fix.
4493 2013-01-10 Roland Winkler <winkler@gnu.org>
4495 * emacs-lisp/crm.el: Allow any regexp for separators.
4496 (crm-default-separator): All spaces around the default comma separator.
4497 (crm--completion-command): New macro.
4498 (crm-completion-help, crm-complete, crm-complete-word): Use it.
4499 (crm-complete-and-exit): Handle non-single-char separators.
4501 2013-01-09 Elias Pipping <pipping@lavabit.com>
4503 * doc-view.el: Add support for DjVu (bug#13164).
4504 (doc-view-djvu->png-converter-function): New config var.
4505 (doc-view-single-page-converter-function, doc-view--image-type)
4506 (doc-view--image-file-extension): New vars.
4507 (doc-view-mode): Initialize them.
4508 (doc-view-goto-page): Use them.
4509 (doc-view-mode-p): Add support for ddjvu.
4510 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
4511 (doc-view-set-up-single-converter): New funs.
4512 (doc-view-pdf/ps->png): Extend for djvu.
4513 (doc-view-document->png): Rename from doc-view-pdf->png.
4514 (doc-view-convert-current-doc): Handle djvu.
4515 (doc-view-insert-image, doc-view-display)
4516 (doc-view-already-converted-p): Don't hardcode png.
4517 (doc-view-set-doc-type): Recognize djvu docs.
4519 2013-01-09 Elias Pipping <pipping@lavabit.com>
4521 * doc-view.el: Add support for mupdf converter (bug#13164).
4522 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
4523 (doc-view-ps->png-converter-function): New config vars.
4524 (doc-view-pdf->png-converter-ghostscript)
4525 (doc-view-ps->png-converter-ghostscript)
4526 (doc-view-pdf->png-converter-mupdf): New functions.
4527 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
4529 2013-01-09 JĂ¼rgen Hötzel <juergen@archlinux.org>
4531 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
4532 first in session cache: When `tramp-own-remote-path' is in
4533 `tramp-remote-path', the remote path is only set in the session
4536 2013-01-09 Glenn Morris <rgm@gnu.org>
4538 * emacs-lisp/trace.el (trace-function-foreground)
4539 (trace-function-background): Doc fix.
4541 2013-01-09 Juri Linkov <juri@jurta.org>
4543 * international/mule-cmds.el (read-char-by-name): Move let-binding
4544 of completion-ignore-case around completing-read to fix regression
4545 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
4546 `string-match-p' using the nil value of `case-fold-search' and
4547 `completion-ignore-case' in `completion-pcm--all-completions'.
4550 2013-01-09 Glenn Morris <rgm@gnu.org>
4552 * progmodes/compile.el (compilation-parse-errors):
4553 Fix typo. (Bug#13369)
4555 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4557 * comint.el (comint-send-input): Check size of buffer before
4558 waiting for process output, in case already accepted. (Bug#13290)
4560 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
4563 * net/tramp-adb.el (tramp-adb-get-toolbox):
4564 Fix misspelling of 'unknown'.
4566 2013-01-08 Juri Linkov <juri@jurta.org>
4568 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4569 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4570 Use underline style wave on terminals that support it. (Bug#13000)
4572 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4574 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
4575 the predicate returns nil.
4577 * simple.el: Use lexical-binding.
4578 (primitive-undo): Use pcase.
4579 (minibuffer-history-isearch-push-state): Use a closure.
4581 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4583 * simple.el (primitive-undo): Move from undo.c.
4585 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4587 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
4588 (cvs-mode-remove-handled): Use it (bug#13380).
4590 * emacs-lisp/nadvice.el (advice--tweak): New function.
4591 (advice--remove-function, advice--subst-main): Use it.
4593 * emacs-lisp/advice.el: Update commentary.
4595 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
4597 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4598 Remove spurious entry.
4600 2013-01-08 Glenn Morris <rgm@gnu.org>
4602 * net/tramp.el (tramp-default-host-alist): Add :version.
4604 2013-01-08 Juri Linkov <juri@jurta.org>
4606 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
4607 single completion. (Bug#12456)
4608 (info--manual-names): Expand node completions into an explicit list
4609 before appending it to another list. Filter out internal buffers
4610 with the leading space in the buffer name. (Bug#10771)
4612 2013-01-08 Juri Linkov <juri@jurta.org>
4614 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
4615 that defaults to the Top node.
4616 (Info-goto-node, Info-read-node-name): Doc fix to mention that
4617 the short format (FILENAME) goes to the Top node.
4618 (Info-build-node-completions): Rename arg `file' to `filename'.
4621 2013-01-07 Bastien Guerry <bzg@gnu.org>
4623 * menu-bar.el (menu-bar-search-documentation-menu):
4624 Use `apropos-user-option' and fix the help message.
4626 2013-01-07 Bastien Guerry <bzg@gnu.org>
4628 * apropos.el (apropos-do-all): Update docstring.
4629 (apropos-user-option-button): New face.
4630 (apropos-user-option): Rename from `apropos-variable' and update
4632 (apropos-variable): Rewrite, now show all variables by default.
4633 (apropos-print): Mention "User option" instead of "Variable" when
4634 printing doc for user options. (Bug#13276)
4636 2013-01-07 JĂ¼rgen Hötzel <juergen@archlinux.org>
4638 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4639 Handle filename correctly, when parsing "source -> target" symlink
4641 (tramp-adb-handle-set-file-times): New defun.
4643 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
4645 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
4646 advice list when the interactive-spec of ad-Advice-* changes.
4648 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
4650 * wid-edit.el (widget-default-get): Work for inlined elements.
4653 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
4655 * net/tramp.el (tramp-default-host-alist): New defcustom.
4656 (tramp-find-host): Use it.
4657 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
4658 `eshell-directory-change-hook'.
4660 * net/tramp-adb.el (top): Add adb specific entry in
4661 `tramp-default-host-alist'.
4662 (tramp-adb-file-name-host): Remove function.
4663 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4664 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
4666 * net/tramp-sh.el: Move eshell integration code to tramp.el.
4668 2013-01-06 JĂ¼rgen Hötzel <juergen@archlinux.org>
4670 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
4672 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
4674 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
4675 consist of more than one digit.
4676 (tramp-adb-file-name-handler-alist):
4677 Use `tramp-handle-file-exists-p' consistently.
4678 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
4679 (tramp-adb-handle-file-exists-p): Remove function.
4680 (tramp-adb-file-name-host): New defun.
4681 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4683 (tramp-adb-maybe-open-connection): Set "remote-path" property.
4685 2013-01-06 Chong Yidong <cyd@gnu.org>
4687 * vc/vc.el (vc-next-action): Detect buffer modifications
4688 conflicting with locking VCS operation (Bug#11490).
4690 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
4692 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
4694 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4695 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
4697 2013-01-05 JĂ¼rgen Hötzel <juergen@archlinux.org>
4699 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
4700 parsing of ls output using regular expression (handle filenames
4701 with spaces). Use virtual device number.
4702 (tramp-do-parse-file-attributes-with-ls): New defun (Code
4705 2013-01-04 Daiki Ueno <ueno@gnu.org>
4707 * epg.el: Silence byte-compiler warnings.
4708 (epg--start): Use delete-char instead of delete-backward-char.
4709 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
4711 2013-01-04 Daiki Ueno <ueno@gnu.org>
4713 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
4714 Suggested by Eli Zaretskii <eliz@gnu.org>.
4716 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
4718 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
4719 non-negative integers. Otherwise, the default values are used.
4720 (tramp-convert-file-attributes): Convert uid and gid to integers.
4722 2013-01-04 Glenn Morris <rgm@gnu.org>
4724 * term.el (term-handle-colors-array): Ensure face attributes
4725 are fully specified, not nil. (Bug#13337)
4727 * term.el (term-default-fg-color, term-default-bg-color):
4730 * progmodes/etags.el (tags-compression-info-list): Doc fix.
4731 (tag-find-file-of-tag-noselect): Check auto-compression-mode
4732 rather than 'jka-compr being loaded. (Bug#13338)
4734 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
4736 * icomplete.el (icomplete-completions):
4737 Honor icomplete-prospects-height once more following
4738 2012-11-29 changes. (Bug#13224)
4740 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
4742 * subr.el (internal--called-interactively-p--get-frame): Find aliases
4743 of called-interactively-p as well (bug#13237).
4745 * view.el (view--enable, view--disable): Rename from view-mode-enable
4746 and view-mode-disable and assume it's called from view-mode.
4747 (view-mode-enable, view-mode-disable): Redefine as obsolete
4748 compatibility layer above view-mode.
4749 (view-mode-enter): Call `view-mode'.
4751 * files.el (after-find-file): Call `view-mode'.
4753 * doc-view.el (doc-view-scale-internally): New var.
4754 (doc-view-enlarge, doc-view-insert-image): Obey it.
4756 2013-01-03 Daiki Ueno <ueno@gnu.org>
4758 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
4761 2013-01-03 Glenn Morris <rgm@gnu.org>
4763 * mail/rmail.el (rmail-set-header-1): Ignore case.
4764 Handle multi-line headers. (Bug#13330)
4766 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
4767 Handle paragraph starting at beginning of buffer.
4769 * subr.el (eval-after-load): Don't purecopy the form, so that it
4770 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
4772 * emacs-lisp/byte-run.el (defun): Place cl declarations
4773 after any interactive spec. (Bug#13265)
4775 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4777 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
4778 defun. Don't check for DECL if DOCSTRING isn't a string.
4781 2013-01-02 Glenn Morris <rgm@gnu.org>
4783 * eshell/em-cmpl.el (eshell-pcomplete):
4784 More thoroughly imitate pcomplete. (Bug#13293)
4786 * files.el (parse-colon-path): Doc fix. (Bug#12351)
4787 Return nil for empty path elements. (Bug#13296)
4789 2013-01-02 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4791 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
4792 order to improve efficiency (Based on Daniel Colascione's
4793 <dancol@dancol.org> patch). (Bug#13182)
4795 2013-01-02 Glenn Morris <rgm@gnu.org>
4797 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
4799 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4801 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
4802 neither DOCSTRING nor DECL was given. (Bug#13316)
4804 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
4806 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
4808 (tramp-do-copy-or-rename-file): Ignore errors when calling
4809 `set-file-extended-attributes'.
4811 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4812 Add handler for `file-acl'.
4813 (tramp-smb-handle-file-acl): New defun.
4815 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
4817 * calc/README: Mention ISO 8601 week-numbering dates.
4819 2013-01-01 Martin Rudalics <rudalics@gmx.at>
4821 * view.el (view-mode-enable): New argument run-view-mode-hook.
4822 Run view-mode-hook only when it's non-nil (Bug#13315).
4823 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
4826 2012-12-31 JĂ¼rgen Hötzel <juergen@archlinux.org>
4828 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
4829 (No device connected, invalid device name). (Bug #13299)
4831 2012-12-31 Martin Rudalics <rudalics@gmx.at>
4833 * window.el (window-resizable--p): Rename to window-resizable-p.
4834 (window-resize-no-error): New function.
4836 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
4837 broken in fix from 2012-12-28.
4839 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
4841 * subr.el (special-form-p): Don't signal errors on undef aliases.
4843 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
4845 * calc/calc-forms.el (math-parse-date): Try using
4846 `math-parse-iso-date' when it looks like it might be needed.
4847 Allow times of 24:00.
4848 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
4851 2012-12-30 Glenn Morris <rgm@gnu.org>
4853 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
4854 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
4855 (rmail-summary-displayed, rmail-summary): Declare.
4856 (mairix-rmail-display): Just require rmail.
4858 2012-12-30 Chong Yidong <cyd@gnu.org>
4860 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
4861 check for the tarball contents.
4863 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
4865 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
4866 tarfile content listings (Bug#13136).
4868 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
4870 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4871 Insert the undecoded text of the message being forwarded. (Bug#9521)
4873 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
4875 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
4876 integers, if they are real numbers. (Bug#13282)
4878 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
4879 Return `t' on success.
4881 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4882 Add handler for `set-file-selinux-context'.
4884 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
4886 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
4887 (tramp-sh-handle-set-file-acl): Return `t' on success.
4889 2012-12-29 Eli Zaretskii <eliz@gnu.org>
4891 * files.el (backup-buffer-copy, basic-save-buffer-2):
4892 If set-file-extended-attributes fails, fall back on set-file-modes
4893 instead of signaling an error. (Bug#13298)
4894 (basic-save-buffer): Likewise.
4896 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4898 * progmodes/python.el: Support other commands triggering
4899 python-indent-line so indentation cycling continues to work.
4900 (python-indent-trigger-commands): New defcustom.
4901 (python-indent-line): Use it.
4903 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4905 * progmodes/python.el (python-shell-send-region): Add blank lines
4906 for non sent code so backtraces remain correct.
4908 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4910 * progmodes/python.el: Remove cl dependency.
4911 (python-syntax-count-quotes): Replace incf call.
4912 (python-fill-string): Replace setf call.
4914 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
4916 * info.el (info-other-window): New arg, for consistency with info.
4918 2012-12-28 Martin Rudalics <rudalics@gmx.at>
4920 * mail/rmail.el (rmail-maybe-display-summary):
4921 Rewrite (Bug#13066).
4923 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
4925 * epg.el (epg--start): Modify process-environment locally.
4927 2012-12-28 Daiki Ueno <ueno@gnu.org>
4929 * epg.el: Support pinentry-curses.
4930 Suggested by Werner Koch in
4931 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
4932 (epg-agent-file, epg-agent-mtime): New variable.
4933 (epg--start): Record the modified time of gpg-agent socket file,
4934 to restore Emacs frame after pinentry-curses termination.
4935 (epg-wait-for-completion): Restore Emacs frame here.
4937 2012-12-27 Juri Linkov <juri@jurta.org>
4939 * info.el (Info-file-completions): New variable.
4940 (Info-read-node-name-1): Complete node names in the Info file
4941 when a file name is given. Call `Info-build-node-completions'
4943 (Info-build-node-completions): Add new arg `file'. When it is
4944 non-nil, visit it in a temporary buffer and cache its completions in
4945 `Info-current-file-completions'. Move most of the function body to
4946 `Info-build-node-completions-1'.
4947 (Info-build-node-completions-1): New function with the body from
4948 `Info-build-node-completions'. (Bug#12456)
4950 2012-12-27 Juri Linkov <juri@jurta.org>
4952 * frame.el (frame-maximization-style): Remove user option.
4953 (cycle-frame-maximized): Remove function.
4954 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
4955 (toggle-frame-fullscreen): New command bound to <f11> instead of
4956 `toggle-frame-maximized'.
4957 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
4959 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
4961 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
4963 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4964 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4965 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4966 for `file-accessible-directory-p'. (Bug#13275)
4968 2012-12-27 Sam Steingold <sds@gnu.org>
4970 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
4971 continuations, see <http://stackoverflow.com/questions/3582436>.
4973 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
4975 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
4976 "module" and "def" to have indentation before them.
4977 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
4979 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
4981 2012-12-27 Alan Mackenzie <acm@muc.de>
4983 Speed up fontification where there's large brace blocks.
4984 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
4985 to a call of c-beginning-of-decl-1.
4987 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4989 * comint.el (comint-adjust-window-point): New function.
4990 (comint-postoutput-scroll-to-bottom):
4991 Call comint-adjust-window-point (Bug#13248).
4993 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
4995 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
4997 (auto-mode-alist): Associate .gemspec files with ruby-mode
4998 (https://bugs.ruby-lang.org/issues/5453).
5000 2012-12-26 JĂ¼rgen Hötzel <juergen@archlinux.org>
5002 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
5003 Suppress coloring, if possible (required for BusyBox based systems like
5005 (tramp-adb-handle-file-attributes)
5006 (tramp-adb-handle-insert-directory)
5007 (tramp-adb-handle-file-name-all-completions): Use it.
5008 (tramp-adb-get-toolbox): New defun. Check for remote shell
5009 implementation (BusyBox or Toolbox).
5011 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
5013 * startup.el (initial-buffer-choice): Allow function as value
5015 (command-line-1): Handle case where initial-buffer-choice
5016 specifies a function.
5017 * server.el (server-execute): Handle case where
5018 initial-buffer-choice specifies a function.
5020 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5022 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
5024 (smtpmail-try-auth-methods): Forget the user name/password if the
5025 login is unsuccessful (bug#12424).
5027 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
5029 * notifications.el (notifications-notify): Protect body with
5030 `with-demoted-errors'.
5032 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5033 Check properties of remote device. Restart connection, if there is a
5036 2012-12-21 Chong Yidong <cyd@gnu.org>
5038 * sort.el (sort-subr): Doc fix (Bug#13056).
5040 2012-12-21 Bastien Guerry <bzg@gnu.org>
5042 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
5044 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
5046 * simple.el (process-file): Overwrite stderr file, if exists.
5048 2012-12-21 Daiki Ueno <ueno@gnu.org>
5050 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
5051 (epg-error): Set `error-message' property.
5053 2012-12-21 Chong Yidong <cyd@gnu.org>
5055 * international/mule-cmds.el (read-char-by-name): Signal an error
5056 if the user does not supply a valid character (Bug#13177).
5058 * simple.el (transpose-subr-1): Preserve marker positions by
5059 changing the insertion sequence (Bug#13122).
5061 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5063 * simple.el (kill-region): Deactivate mark even for empty regions
5066 2012-12-21 Chong Yidong <cyd@gnu.org>
5068 * help-fns.el (describe-variable): Make sure we get the right
5069 buffer name (Bug#13105). Suggested by Kelly Dean.
5071 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
5073 * comint.el (comint-redirect-previous-input-string): New variable.
5074 (comint-redirect-setup, comint-redirect-cleanup)
5075 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
5076 (comint-redirect-preoutput-filter): Fix verbose message.
5078 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
5080 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
5081 is too long for Tramp. See discussion in
5082 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
5084 * progmodes/compile.el (compilation-start): Remove line escape
5087 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
5089 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
5092 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
5094 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
5095 following non-comment text (bug#13207).
5096 (lm-header-multiline): Continuation lines need to be indented more than
5098 (lm-homepage): New function.
5099 (lm-with-file): Don't be confused if narrowing is in effect.
5101 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5103 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
5104 very beginning of a hunk (e.g. killing the first line).
5106 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
5108 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
5109 and text properties from returned ACL string.
5110 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
5111 for "setfacl" command.
5113 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
5115 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
5116 `tramp-cleanup-this-connection', when the process has died.
5119 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5121 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
5123 2012-12-17 Kevin Ryde <user42@zip.com.au>
5125 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
5127 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
5129 Add support for preserving ACL entries of files.
5131 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
5132 `set-file-acl' handlers.
5134 * net/tramp-adb.el (tramp-adb-handle-copy-file):
5135 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5137 * net/tramp-compat.el (tramp-compat-copy-file):
5138 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5140 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5141 Add `file-acl' and `set-file-acl' handlers.
5142 (tramp-gvfs-handle-copy-file):
5143 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5144 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
5147 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5148 Add `file-acl' and `set-file-acl' handlers.
5149 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
5150 (tramp-sh-handle-set-file-acl): New defuns.
5151 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
5152 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5154 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5155 Add `file-acl' and `set-file-acl' handlers.
5156 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
5158 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5160 * help-macro.el (make-help-screen): Instead of switch-to-buffer
5161 use pop-to-buffer with NORECORD argument t. As buffer name, use
5162 *Metahelp* with a leading space (Bug#13190).
5164 2012-12-16 Romain Francoise <romain@orebokech.com>
5166 * files.el (file-extended-attributes)
5167 (set-file-extended-attributes): New functions.
5168 (backup-buffer): Use them to handle both SELinux context and ACL
5170 (backup-buffer-copy): Work with an alist of extended attributes,
5171 rather than an SELinux context.
5172 (basic-save-buffer-2): Ditto.
5174 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
5176 * battery.el (battery-bsd-apm): New function.
5178 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
5180 * calc/calc.el (calc-standard-date-formats): Adjust one of the
5181 standard date formats.
5183 2012-12-15 Juri Linkov <juri@jurta.org>
5185 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
5186 `isearch-insert-char-by-name'.
5187 (with-isearch-suspended): New defmacro with body mostly from
5188 `isearch-edit-string' except the part that sets
5189 `isearch-new-string' and `isearch-new-message'.
5190 (isearch-edit-string): Use new macro `with-isearch-suspended' with
5191 body that sets `isearch-new-string' and `isearch-new-message'.
5192 (isearch-insert-char-by-name): New command.
5193 * international/mule-cmds.el (read-char-by-name): Let-bind
5194 `enable-recursive-minibuffers' to t.
5195 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
5197 2012-12-15 Juri Linkov <juri@jurta.org>
5199 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
5202 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
5204 * dired-x.el (dired-guess-shell-command): Put colon at the end of
5205 the prompt. (Bug#13045)
5207 2012-12-14 Glenn Morris <rgm@gnu.org>
5209 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
5210 Try to include filename in non-bytecomp warning. (Bug#13132)
5212 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
5214 Fix permissions bugs with setgid directories etc. (Bug#13125)
5215 * files.el (backup-buffer): Don't rely on 9th output of
5216 file-attributes, as it's now a placeholder. Instead, use the new
5217 optional arg of file-ownership-preserved-p.
5218 (file-ownership-preserved-p): New optional arg GROUP.
5219 Fix mishandling of setuid directories that would cause this
5220 function to return t when it should have returned nil.
5221 Document what happens if the file does not exist, and when
5222 it's not known whether the ownership will be preserved.
5223 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
5225 (tramp-get-local-gid): Use group-gid for integer, as that's
5226 faster and more reliable.
5228 2012-12-14 Julien Danjou <julien@danjou.info>
5230 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
5231 Update keywords list, data type and PL/pgSQL.
5233 2012-12-14 Dave Abrahams <dave@boostpro.com>
5235 * vc/ediff-util.el (ediff-buffer-type): New function.
5236 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
5237 rather than taking it as as argument.
5238 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
5240 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
5242 * json.el: Add pretty-print option (bug#12634).
5243 (json-encoding-separator, json-encoding-default-indentation)
5244 (json--encoding-current-indentation, json-encoding-pretty-print)
5245 (json-encoding-lisp-style-closings): New vars.
5246 (json--with-indentation): New macro.
5247 (json-encode-hash-table, json-encode-alist, json-encode-plist)
5248 (json-encode-array): Use it to obey json-encoding-pretty-print.
5249 (json-pretty-print-buffer, json-pretty-print): New commands.
5251 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
5253 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5254 Extract `ruby-syntax-propertize-expansions'.
5255 (ruby-syntax-propertize-expansions): Only change syntax on
5256 certain string delimiters, to punctuation. This way the common
5257 functions like forward-word and thing-at-point still work.
5258 (ruby-match-expression-expansion): Improve readability.
5259 (ruby-block-contains-point): New function.
5260 (ruby-add-log-current-method): Handle several edge cases.
5262 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5264 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
5265 unload-feature finishes even when aborting an ongoing edebug session.
5266 Also, do not worry about edebug-mode, unload-feature takes care of it.
5268 2012-12-13 Andreas Schwab <schwab@suse.de>
5270 * net/tls.el (tls-program): Update customize type.
5272 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5274 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
5275 (edebug-setup-hook, cl-read-load-hooks): Use it.
5276 (edebug-unload-function): New function. (Bug#13163)
5278 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
5280 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
5281 Otherwise, there could be errors in autoloading. (Bug#13151)
5283 2012-12-13 JĂ¼rgen Hötzel <juergen@archlinux.org>
5285 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
5288 2012-12-13 Alan Mackenzie <acm@muc.de>
5290 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
5291 * progmodes/cc-engine.el (c-backward-comments): Add code to work
5292 around `forward-comment' not recognizing ^M as whitespace.
5294 2012-12-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5296 * progmodes/python.el (python-skeleton-class)
5297 (python-skeleton-def): Do not add space after defun name.
5299 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5301 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
5302 (cl--symbol-function): Remove (now that funbound is like nil).
5304 2012-12-12 Glenn Morris <rgm@gnu.org>
5306 * button.el (button--area-button-p): Fix typo.
5308 2012-12-12 Sam Steingold <sds@gnu.org>
5310 * frame.el (frame-maximization-style): New user option.
5311 (toggle-frame-maximized): Toggle frame maximization according to
5312 `frame-maximization-style', bound to <f11>.
5313 (cycle-frame-maximized): Cycle between all maximization styles and
5314 non-maximized frame, bound to shift-<f11>.
5316 2012-12-12 David Cadé <codename68@gmail.com>
5318 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
5320 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
5322 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
5323 (eieio-override-prin1): Don't quote kewords and booleans.
5324 (object-write) <eieio-default-superclass>: Don't put closing parens
5325 on new line, avoid needless empty lines, align values that are objects
5326 with the slot keyword (instead of beginning on the same line).
5327 (eieio-list-prin1): Align value with slot keyword; increase
5328 eieio-print-depth before printing members of the list.
5330 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5332 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
5333 a display text-property.
5334 (report-emacs-bug-hook): Don't bother deleting it any more.
5336 * hilit-chg.el (highlight-save-buffer-state): Delete.
5337 Use with-silent-modifications instead.
5338 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
5340 * button.el: Handle buttons in display text-properties.
5341 (button--area-button-p, button--area-button-string):
5342 Use (STRING . STRING-POS) representation instead of just STRING.
5344 2012-12-11 Eli Zaretskii <eliz@gnu.org>
5346 * makefile.w32-in (compile4-SH): Fix a typo that caused term
5347 subdirectory be skipped.
5349 2012-12-11 Glenn Morris <rgm@gnu.org>
5351 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
5353 * progmodes/f90.el (f90-line-continued, f90-indent-region):
5354 Treat preprocessor lines embedded in continuations like comments.
5355 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
5357 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
5359 * calc/calc.el (calc-standard-date-formats): Add more date
5361 * calc/calc-forms.el (math-parse-iso-date): New function.
5362 (math-parse-date): Use `math-parse-iso-date' when appropriate.
5363 (math-parse-iso-date-validate): Add extra error checking.
5364 (calc-date-notation): Add ability to access new date formats.
5366 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5368 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
5369 font-lock as well as when there's no text-property.
5371 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
5373 * hi-lock.el: Refine the choice of default face.
5374 (hi-lock-keyword->face): New function. Use it wherever we used
5376 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
5377 (hi-lock--last-face): Remove var.
5378 (hi-lock--unused-faces): New var to replace it.
5379 (hi-lock-read-face-name): Use/maintain it.
5380 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
5381 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
5382 if it has another face.
5384 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5386 * subr.el (w32notify-handle-event): New function.
5387 (inotify-handle-event): Doc fix.
5389 2012-12-10 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
5391 * subr.el (inotify-event-p, inotify-handle-event): New functions.
5393 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
5395 * simple.el (just-one-space): Doc fix.
5397 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5399 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
5401 2012-12-10 Le Wang <l26wang@gmail.com>
5403 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
5404 narrowed buffer (bug#12361).
5406 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
5408 * vc/vc-hooks.el (vc-state): Doc fix.
5410 2012-12-10 Glenn Morris <rgm@gnu.org>
5412 * mail/rmail.el (rmail-maybe-display-summary):
5413 Preserve buffer, in case select-window changes it. (Bug#13066)
5415 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5417 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
5418 cl-load-hook where they belong.
5420 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5422 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
5424 2012-12-09 Eli Zaretskii <eliz@gnu.org>
5426 Parallelize byte compilation on MS-Windows.
5427 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
5428 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
5429 (WINS_BASIC): Define as concatenation of the above.
5430 (compile): Subdivide into 4 separate and independent jobs that can
5432 (compile0-CMD, compile0-SH): New targets for compiling
5433 COMPILE_FIRST files, which are prerequisites for the rest of the
5435 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
5436 New targets for parallel compilation with cmd.exe.
5437 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
5438 compiling under a Unixy shell.
5440 2012-12-09 Chong Yidong <cyd@gnu.org>
5442 * simple.el (set-mark-default-inactive): Delete this
5443 accidentally-introduced option.
5444 (set-mark-command, exchange-point-and-mark): Remove calls.
5446 2012-12-09 Glenn Morris <rgm@gnu.org>
5448 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
5449 Respect a defcustom's :set function, if appropriate. (Bug#109)
5450 (eval-defun): Doc fix.
5452 2012-12-08 Juri Linkov <juri@jurta.org>
5454 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
5455 (Info-fontify-node, Info-bookmark-make-record): Remove the
5456 file extension from Info-current-file (Bug#13016).
5458 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5460 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
5461 point, still provide some default.
5462 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
5463 names, since we don't use it right now. Actually return the list.
5464 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
5466 2012-12-07 Chong Yidong <cyd@gnu.org>
5468 * novice.el (disabled-command-function): Remove a spurious help
5469 xref (Bug#13043). Suggested by Kelly Dean.
5471 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
5472 syntax is specified (Bug#13025).
5474 * info.el (Info-set-mode-line): Remove the file extension from
5475 Info-current-file if there is one (Bug#13016).
5477 2012-12-07 Glenn Morris <rgm@gnu.org>
5479 * mail/rmail.el (rmail-mime-decoded): New permanent local.
5480 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
5481 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
5482 and rmail-mime-decoded. (Bug#9841)
5484 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
5485 (batch-unrmail, unrmail): Doc fixes.
5486 (unrmail): Respect unrmail-mbox-format.
5487 * mail/rmail.el (rmail-mbox-format): New option.
5488 (rmail-show-message-1): Respect rmail-mbox-format.
5490 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5492 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
5494 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5496 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
5497 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
5498 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
5499 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
5500 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
5501 (cl-progv): Don't rely on dynamic scoping to find the body.
5502 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
5503 (cl--proclaims-deferred): Rename from the "cl-" prefix.
5504 (cl-declaim): Use backquotes.
5505 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
5506 Use "cl--" prefix for the object's tag.
5508 * ses.el: Use advice-add/remove.
5509 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
5510 (copy-region-as-kill, yank): Use advice-add.
5511 (ses-unload-function): Use advice-remove.
5513 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
5515 * button.el: Make them work in header-lines (bug#12817).
5516 (button-map): Add bindings for header-line and mode-line use.
5517 (button-get, button-put, button-label): `button' may now be a string.
5518 (button-activate): Don't make it a defsubst.
5519 (button--area-button-p, button--area-button-string): New functions.
5520 (make-text-button): Fix the return value when `beg' was a string.
5521 (push-button): Handle the mode-line case.
5523 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5525 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
5526 (sql-signum): Remove. Use `cl-signum' instead.
5527 (sql-read-passwd): Remove; use read-passwd instread.
5528 (sql-get-login-ext): Use read-string.
5529 (sql-get-login): Use dolist and pcase.
5530 (sql--completion-table): Rename from sql-try-completion.
5531 Use complete-with-action.
5532 (sql-mode): Don't change abbrev-all-caps globally.
5533 (sql-connect): Don't rely on dynamic scoping for `new-name'.
5534 (sql-postgres-completion-object): Initialize vars in their `let'.
5535 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
5536 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
5537 (sql-comint-interbase): Use a single append, without setq.
5538 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
5540 * hi-lock.el: Rework the default face and the serialize regexp code.
5541 (hi-lock--auto-select-face-defaults): Remove.
5542 (hi-lock-string-serialize-serial): Remove.
5543 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
5545 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
5547 (hi-lock-set-pattern): Adjust accordingly.
5548 (hi-lock--regexps-at-point): Simplify accordingly.
5549 (hi-lock--auto-select-face-defaults): Remove.
5550 (hi-lock--last-face): New var to replace it.
5551 (hi-lock-read-face-name): Rewrite (bug#11095).
5552 (hi-lock-unface-buffer): Arrange for the face to be the next default.
5554 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
5556 * net/tramp.el (tramp-replace-environment-variables):
5557 Hide compiler warning.
5558 (tramp-file-name-for-operation): Remove `executable-find',
5559 `start-process', `call-process' and `call-process-region'.
5561 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5563 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
5566 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
5568 2012-12-06 Chong Yidong <cyd@gnu.org>
5570 * ffap.el (ffap-replace-file-component): Fix typo.
5572 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5574 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
5575 fix open-paren-like token test (bug#12785).
5577 2012-12-06 Glenn Morris <rgm@gnu.org>
5579 * mail/rmailsum.el (rmail-new-summary): Tweak for
5580 rmail-maybe-display-summary changing buffer. (Bug#13066)
5582 2012-12-06 Juri Linkov <juri@jurta.org>
5584 * info.el (Info-fontify-node): Don't hide the last newline.
5587 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
5589 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
5590 so as to enable message-read-from-minibuffer to expand mail aliases.
5592 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5594 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
5595 the `intangible' property.
5596 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
5598 2012-12-05 Deniz Dogan <deniz@dogan.se>
5600 * net/rcirc.el (rcirc-urls): Update documentation.
5601 (rcirc-condition-filter): New function.
5602 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
5603 and exclude consecutive duplicate URLs (Bug#6082).
5605 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
5607 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5608 Check return code of copy command.
5610 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
5611 Use group `tramp'. Add version.
5613 2012-12-05 Chong Yidong <cyd@gnu.org>
5615 * ffap.el (ffap-url-regexp): Don't require matching at front of
5617 (ffap-url-p): If only a substring matches, return that.
5618 (ffap-url-at-point): Use the return value of ffap-url-p.
5619 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
5620 (find-file-at-point, dired-at-point, dired-at-point-prompter)
5621 (ffap-guess-file-name-at-point): Likewise.
5622 (ffap-replace-file-component): Fix typo.
5624 * info.el (info-display-manual): Add existing Info buffers, whose
5625 files may not be in Info-directory-list, to the completion.
5626 (info--manual-names): New helper function.
5628 2012-12-05 Glenn Morris <rgm@gnu.org>
5630 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
5631 New functions, for detecting and resolving conflicts. (Bug#10709)
5633 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
5635 * hi-lock.el (hi-lock-auto-select-face): New user variable.
5636 (hi-lock-auto-select-face-defaults): New buffer local variable.
5637 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
5638 (hi-lock-unface-buffer): Prompt user with useful defaults.
5639 With prefix arg, unhighlight all hi-lock patterns in buffer.
5641 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5643 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
5645 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
5647 * Makefile.in (TRAMP_SRC):
5648 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
5650 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
5652 * net/tramp-adb.el: New package.
5654 2012-12-04 Chong Yidong <cyd@gnu.org>
5656 * terminal.el: Move to obsolete/.
5658 * longlines.el: Move to obsolete/.
5660 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
5661 Remove code referring to longlines mode.
5663 2012-12-03 Juri Linkov <juri@jurta.org>
5665 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
5667 2012-12-03 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
5669 * textmodes/ispell.el (ispell-init-process)
5670 (ispell-start-process, ispell-internal-change-dictionary):
5671 Make sure personal dictionary name is expanded after initial
5672 `default-directory' value. Use expanded strings for
5673 keep/restart checks and for value (Bug#13019).
5675 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5677 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
5679 2012-12-03 Leo Liu <sdl.web@gmail.com>
5681 * files.el (dir-locals-read-from-file): Check file non-empty
5682 before reading. (Bug#13038)
5684 2012-12-03 Glenn Morris <rgm@gnu.org>
5686 * jka-cmpr-hook.el (jka-compr-get-compression-info):
5687 Remove any version extension before checking filename. (Bug#13006)
5688 (jka-compr-compression-info-list): Belated :version bump.
5690 2012-12-03 Chong Yidong <cyd@gnu.org>
5692 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
5694 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
5695 (buffer-menu): Doc fix (Bug#12294).
5697 2012-12-03 Roland Winkler <winkler@gnu.org>
5699 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
5700 of diary-show-all-entries in the diary buffer (Bug#12994).
5702 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
5704 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
5705 "<STDIN>". This is binary safe.
5707 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5709 * calc/calc-forms.el (math-absolute-from-iso-dt)
5710 (math-date-to-iso-dt, math-parse-iso-date-validate)
5711 (math-iso-dt-to-date): New functions.
5712 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
5713 (math-fd-isoweekday): New variables.
5714 (calc-date-notation, math-parse-standard-date, math-format-date)
5715 (math-format-date-part): Add support for more formatting codes.
5717 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
5719 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
5720 current buffer's file name when called interactively (Bug#12488).
5722 2012-12-02 Juri Linkov <juri@jurta.org>
5724 * info.el (info-display-manual): Don't clobber an existing Info
5725 buffer (Bug#10770). Add completion (Bug#10771).
5727 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
5729 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
5730 before using it for comparison (Bug#5297).
5732 2012-12-01 Jari Aalto <jari.aalto@cante.net>
5734 * textmodes/css-mode.el (css-current-defun-name): New function.
5737 * textmodes/sgml-mode.el (html-current-defun-name): New function.
5738 (html-mode): Use it.
5740 2012-12-01 Chong Yidong <cyd@gnu.org>
5742 Modularize add-log-current-defun (Bug#2224).
5743 Suggested by Jari Aalto.
5745 * vc/add-log.el (add-log-current-defun-function): Doc fix.
5746 (add-log-current-defun): Move mode-specific code to other files.
5747 (add-log-lisp-like-modes, add-log-c-like-modes)
5748 (add-log-tex-like-modes): Variables deleted.
5750 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
5751 (lisp-mode-variables): Use it.
5753 * progmodes/cc-mode.el (c-common-init):
5754 * progmodes/cperl-mode.el (cperl-mode): Set a value for
5755 add-log-current-defun-function.
5757 * progmodes/m4-mode.el (m4-current-defun-name): New function.
5760 * progmodes/perl-mode.el (perl-current-defun-name): New.
5761 (perl-mode): Use it.
5763 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
5764 Use lisp-current-defun-name.
5766 * textmodes/tex-mode.el (tex-current-defun-name): New.
5767 (tex-common-initialization): Use it.
5769 * textmodes/texinfo.el (texinfo-current-defun-name): New.
5770 (texinfo-mode): Use it.
5772 2012-12-01 Chong Yidong <cyd@gnu.org>
5774 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
5775 * progmodes/autoconf.el (autoconf-mode):
5776 * progmodes/js.el (js-mode):
5777 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
5778 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
5779 * progmodes/perl-mode.el (perl-mode):
5780 * progmodes/sh-script.el (sh-mode, sh-set-shell):
5781 * textmodes/css-mode.el (css-mode):
5782 * textmodes/sgml-mode.el (html-mode, sgml-mode)
5783 (sgml-tags-invisible, sgml-guess-indent):
5784 * textmodes/tex-mode.el (tex-common-initialization)
5785 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
5786 (doctex-mode, plain-tex-mode, latex-mode):
5787 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
5789 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
5791 * vc/vc-hg.el (vc-hg-next-revision):
5792 Ensure use of default "tip" output format. (Bug#6968)
5794 2012-12-01 Kim F. Storm <storm@cua.dk>
5796 * startup.el (fancy-startup-tail): Add a clickable link
5799 2012-12-01 Chong Yidong <cyd@gnu.org>
5801 * startup.el (fancy-startup-tail): Improve the message about
5802 auto-save files (Bug#2176).
5804 * files.el (recover-session): Improve the descriptive message, and
5805 use substitute-command-keys.
5807 2012-12-01 Glenn Morris <rgm@gnu.org>
5809 * ido.el (ido-file-internal):
5810 Handle other-window, other-frame for dired. (Bug#13036)
5812 2012-11-30 Glenn Morris <rgm@gnu.org>
5814 * icomplete.el (icomplete-separator): Fix :version.
5816 2012-11-30 Chong Yidong <cyd@gnu.org>
5818 * shell.el (shell): For C-u M-x shell, use an inactive shell
5819 buffer as the default (Bug#1975).
5820 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
5821 (shell-mode): Use them to reapply ansi colorization if Shell mode
5824 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
5826 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
5828 2012-11-30 Samuel Bronson <naesten@gmail.com>
5830 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
5831 flag to xargs, for compatibility with BSD xargs (Bug#11703).
5833 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5835 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
5836 by move-to-column (Bug#3234).
5838 2012-11-30 Chong Yidong <cyd@gnu.org>
5840 * longlines.el (longlines-wrap-line, longlines-encode-region):
5841 Preserve text properties (Bug#1425).
5843 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5845 * vc/vc.el (vc-register): Allow registering a file which is
5846 already registered with a different backend (Bug#10589).
5848 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
5849 Stefan Monnier <monnier@iro.umontreal.ca>
5851 * icomplete.el: Change separator; add ido-style commands.
5852 (icomplete-show-key-bindings): Remove custom var.
5853 (icomplete-get-keys): Remove function.
5854 (icomplete-forward-completions, icomplete-backward-completions):
5856 (icomplete-minibuffer-map): New var.
5857 (icomplete-minibuffer-setup): Use it.
5858 (icomplete-exhibit): Don't delay if the list of completions is known.
5859 (icomplete-separator): New custom.
5860 (icomplete-completions): Use it.
5861 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
5862 (minibuffer-force-complete-and-exit): New command.
5863 (minibuffer--complete-and-exit): New function extracted from
5864 minibuffer-complete-and-exit.
5865 (minibuffer-complete-and-exit): Use it.
5867 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
5868 error message when the file doesn't exist (bug#12974).
5870 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5872 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
5874 2012-11-29 Glenn Morris <rgm@gnu.org>
5876 * files.el (hack-dir-local-variables): Warn if try to set
5877 coding via dir-locals, since it doesn't work. (Bug#7169)
5879 Add desktop support for restoring vc-dir buffers. (Bug#10606)
5880 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
5881 Set buffer-local value of desktop-save-buffer.
5882 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
5884 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
5885 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
5887 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
5888 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
5890 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
5893 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
5895 * calc/calc-forms.el (calc-date-notation): Fix regexp
5896 used to find time codes. Fix symbol for seconds.
5898 2012-11-27 Glenn Morris <rgm@gnu.org>
5900 * emacs-lisp/derived.el (derived-mode-make-docstring):
5901 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
5903 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5905 * textmodes/table.el (table-insert): Don't use `symbol-name' on
5906 lexically scoped variables (bug#13005).
5908 2012-11-27 Glenn Morris <rgm@gnu.org>
5910 * vc/vc-hooks.el (vc-mistrust-permissions):
5911 Default to t, to avoid data-loss. (Bug#11490)
5913 2012-11-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5915 * progmodes/python.el (python-indent-guess-indent-offset):
5916 If indentation is guessed make python-indent-offset buffer-local.
5918 Fix Imenu regression.
5919 * progmodes/python.el (python-nav-beginning-of-defun):
5920 Fix forward movement when statement(s) separates point from defun.
5921 (python-imenu-prev-index-position): New function.
5923 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5925 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
5927 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
5928 Don't set buffer-file-type. Return nil. (Bug#12989)
5930 2012-11-27 Glenn Morris <rgm@gnu.org>
5932 * hippie-exp.el (hippie-expand-try-functions-list):
5933 Re-autoload it. (Bug#12982)
5935 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5937 * descr-text.el (describe-char-padded-string):
5938 Call internal-char-font only on GUI frames. (Bug#11964)
5940 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
5942 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
5943 and obsoletion message.
5945 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5947 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
5948 the constructs to keep outside of the `cl-block' (bug#12977).
5950 2012-11-27 Chong Yidong <cyd@gnu.org>
5952 * mouse.el (mouse-drag-line): Even if the line is not draggable,
5953 keep reading until we get the up-event anyway, in order to process
5954 the up-event for mouse-1-click-follows-link (Bug#12971).
5956 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
5958 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
5959 base function is not yet defined (bug#12965).
5960 (ad-activate-advised-definition): Use ad-compile-function.
5961 (ad-activate): Use cond.
5963 2012-11-25 Leo Liu <sdl.web@gmail.com>
5965 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
5968 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5970 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
5971 reftex-section-info-function in order to be compatible with
5972 Texinfo integration.
5974 * textmodes/reftex.el (reftex-section-pre-regexp)
5975 (reftex-section-post-regexp, reftex-section-info-function):
5977 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
5978 reftex-section-post-regexp, and reftex-section-info-function in order
5979 to be compatible with Texinfo integration.
5981 * textmodes/reftex-toc.el (reftex-toc-promote-action):
5982 use reftex-section-pre-regexp variable in order to be compatible with
5983 Texinfo integration.
5985 2012-11-25 Chong Yidong <cyd@gnu.org>
5987 * faces.el: Make face-spec-set more analogous to setq.
5988 (face-spec-set): Change the third arg to specify whether this
5989 function is being called via defface, customize, or a third party.
5990 Set the appropriate symbol properties. Clear the override spec if
5991 setting via Custom. Initialize face if necessary. (Bug#4988)
5992 (face-spec-recalc): Allow theme faces to completely replace the
5993 defface spec, in the same way as custom faces (Bug#8454).
5995 * cus-face.el (custom-declare-face): Move face initialization to
5997 (custom-theme-set-faces): Don't initialize the face name here, as
5998 that is now done in face-spec-set.
6000 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
6001 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
6002 Simplify by using the new arg to face-spec-set.
6004 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
6005 reset face-override-spec too, and use custom-declare-face.
6007 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
6009 * term/ns-win.el (ns-initialize-window-system): Move creation of
6010 fontsets here (Bug#11964).
6012 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6014 * ses.el (ses-rename-cell): Correct bug on mode-line update after
6017 2012-11-24 Chong Yidong <cyd@gnu.org>
6019 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
6022 * custom.el (custom-theme-set-variables): Use a topological sort
6023 for ordering by custom dependencies (Bug#12952).
6024 (custom--sort-vars, custom--sort-vars-1): New functions.
6026 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
6028 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
6029 lexical-binding (bug#12938).
6031 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
6033 * image-mode.el (image-transform-check-size): Use assertions only
6034 for images of type imagemagick.
6036 Otherwise no error, image-transform-fit-to-{width,height} is
6037 silently ignored, as before. Doc fix.
6039 2012-11-24 Chong Yidong <cyd@gnu.org>
6041 * faces.el (color-defined-p): Doc fix (Bug#12853).
6043 2012-11-24 Juri Linkov <juri@jurta.org>
6045 * dired.el (dired-mark): Add optional arg `interactive'.
6046 Check for `use-region-p' if `interactive' is non-nil.
6047 (dired-unmark, dired-flag-file-deletion): Add optional arg
6048 `interactive'. Call `dired-mark' with the arg `interactive'.
6051 * wdired.el: Revert 2012-10-17 change partly and replace it with
6052 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
6053 (wdired-finish-edit): Add marks for new file names to
6054 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
6055 after `revert-buffer'.
6056 (wdired-do-renames): Remove calls to `dired-remove-file',
6057 `dired-add-file', `dired-add-entry'. (Bug#11795)
6059 2012-11-24 Alan Mackenzie <acm@muc.de>
6061 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
6063 Fix bugs in the state cache. Enhance a debugging mechanism.
6064 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
6065 "brace at column zero" strategy for C++.
6066 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
6067 (c-parse-state-point): New variable.
6068 (c-record-parse-state-state): Record old parse state with
6069 `copy-tree'. Record previous value of point.
6070 (c-debug-parse-state-double-cons): New debugging function.
6071 (c-debug-parse-state): Call the above new function.
6072 (c-toggle-parse-state-debug): Output a confirmatory message.
6074 * progmodes/cc-mode.el (c-before-change, c-after-change):
6075 Call c-invalidate-state-cache from `c-before-change' instead of
6078 2012-11-23 Chong Yidong <cyd@gnu.org>
6080 * find-cmd.el (find-constituents): Add executable, ipath,
6081 readable, samefile, writable, daystart, regextype (Bug#12856).
6083 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
6085 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
6087 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
6089 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
6090 definition. This fixes a bootstrap failure.
6091 (calc-gregorian-switch): In menu, put dates before regions.
6092 This is easier to follow, lines up better in the menu, and lets us
6093 coalesce regions that switch at the same time. Give country
6094 names, not "Vatican", as that's better for non-expert users.
6095 Use names that are stable between the date of switch and now, e.g.,
6096 Bohemia and Moravia (which existed then and now) and not
6097 Czechoslovakia (which didn't exist then and doesn't exist now).
6098 What is now the U.S. mostly did not switch at the same time as
6099 Britain, so omit the U.S. Correct spelling of "Britain".
6100 Catholic Switzerland was too much of a mess, so omit it.
6102 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
6104 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
6105 after the variable is changed.
6107 2012-11-21 Daniel Colascione <dancol@dancol.org>
6109 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
6110 in SQL declarations for font-lock.
6111 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
6113 2012-11-21 Glenn Morris <rgm@gnu.org>
6115 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
6116 (face-italic-p): Add optional argument "inherit".
6118 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
6119 Remove -p suffix from names, for consistency with other set-face-*.
6120 (set-face-inverse-video): Fix interactive spec.
6121 * play/gamegrid.el (gamegrid-make-mono-tty-face):
6122 * textmodes/table.el (table--update-cell-face):
6123 Use set-face-inverse-video rather than now obsolete alias.
6125 2012-11-21 Eli Zaretskii <eliz@gnu.org>
6127 * simple.el (line-move): Don't call line-move-partial if
6128 scroll-conservatively is in effect. (Bug#12927)
6130 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6132 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
6133 Fallback on completion-at-point rather than
6134 pcomplete-expand-and-complete, and only if pcomplete actually failed.
6135 (eshell-cmpl-initialize): Setup completion-at-point.
6137 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
6139 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
6141 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
6143 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
6144 are remote, check out-of-band property for both.
6146 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6148 * window.el (switch-to-buffer): Re-add the warning that was lost in the
6151 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
6153 More minor time fixes.
6154 * calendar/time-date.el: Commentary fix.
6155 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
6156 too much other code depends on (0 0) time stamps.
6157 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
6158 Add a couple of FIXME comments.
6160 Minor cleanup for times as lists of four integers.
6161 * files.el (dir-locals-directory-cache):
6162 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
6164 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
6165 * ps-bdf.el (bdf-file-newer-than-time):
6166 Process four-integers time stamps, not two. Doc fixes.
6168 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6170 * uniquify.el (uniquify-managed): Use defvar-local.
6171 (rename-buffer, create-file-buffer): Advise with advice-add.
6172 (uniquify-unload-function): Unadvise accordingly.
6174 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
6175 (trace-buffer): Don't purecopy.
6176 (trace-entry-message, trace-exit-message): Add `context' arg.
6177 (trace--timer): New var.
6178 (trace-make-advice): Adjust for use in nadvice.
6179 Add `context' argument. Delay `display-buffer' via a timer.
6180 (trace-function-internal): Use advice-add.
6181 (trace--read-args): New function.
6182 (trace-function-foreground, trace-function-background): Use it.
6183 (trace-function): Rename to trace-function-foreground and redefine as
6184 an alias to that new name.
6185 (untrace-function, untrace-all): Adjust to the use of nadvice.
6187 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
6189 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
6191 * subr.el (called-interactively-p-functions): New var.
6192 (internal--called-interactively-p--get-frame): New macro.
6193 (called-interactively-p, interactive-p): Rewrite in Lisp.
6194 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
6195 (called-interactively-p-functions): Use it.
6196 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
6197 (called-interactively-p-functions): Use it.
6198 * allout.el (allout-called-interactively-p): Don't assume
6199 called-interactively-p is a subr.
6201 2012-11-20 Glenn Morris <rgm@gnu.org>
6203 * profiler.el (profiler-report-mode-map): Add a menu.
6204 No need to bind `q' because we derive from special-mode.
6205 (profiler-report-find-entry): Handle calls from the menu-bar.
6207 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
6209 * emacs-lisp/byte-run.el (defun-declarations-alist):
6210 Allow a compiler-macro to be a lambda expression.
6212 * progmodes/python.el: Use cl-lib. Move var declarations outside of
6214 (python-syntax-context): Add compiler-macro.
6215 (python-font-lock-keywords): Simplify with De Morgan.
6217 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
6219 * files.el (load-file): Require match in minibuffer selection, as was
6220 the case in Emacs-20 before we changed the spec to allow .elc files
6223 * json.el: Don't require cl since we don't use it.
6224 * color.el: Don't require cl.
6225 (color-complement): `caddr' -> `nth 2'.
6227 * calendar/time-date.el (time-to-seconds): De-obsolete.
6229 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
6231 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
6233 (math-date-to-julian-dt): Adjust the initial approximation for the
6234 year to deal with the new definition of the DATE.
6236 2012-11-19 Daniel Colascione <dancol@dancol.org>
6238 * term/w32-win.el (cygwin-convert-path-from-windows):
6239 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6241 2012-11-18 Chong Yidong <cyd@gnu.org>
6243 * filecache.el (file-cache--read-list): New function.
6244 (file-cache-add-directory-list, file-cache-add-file-list)
6245 (file-cache-delete-file-list, file-cache-delete-directory-list):
6246 Use it to read a list of files or directories (Bug#12846).
6247 (file-cache-add-file, file-cache-add-directory)
6248 (file-cache-delete-file-list, file-cache-delete-file-regexp)
6249 (file-cache-delete-directory): Print an message.
6251 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
6253 * calc/calc-forms.el (math-date-to-dt): Use integer date when
6254 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
6256 2012-11-18 Glenn Morris <rgm@gnu.org>
6258 * image.el (insert-image, insert-sliced-image): Doc fix.
6260 2012-11-18 Chong Yidong <cyd@gnu.org>
6262 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
6265 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6267 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
6268 response when the target file is in a subdirectory (Bug#12757).
6270 2012-11-18 Chong Yidong <cyd@gnu.org>
6272 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
6274 2012-11-18 Glenn Morris <rgm@gnu.org>
6276 * emacs-lisp/cl-lib.el (face-underline-p):
6277 Use set-face-underline rather than the alias set-face-underline-p.
6279 * window.el (with-temp-buffer-window): Doc fix.
6280 * subr.el (with-output-to-temp-buffer):
6281 Add doc xref to with-temp-buffer-window.
6283 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
6285 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
6286 * calc/calc.el (math-format-date-cache): Declare.
6288 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
6290 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
6291 It also uses January 1, 1 AD as its day number 1.
6292 * calc/calc-forms.el (math-julian-date-beginning)
6293 (math-julian-date-beginning-int): Implement this.
6295 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
6297 * descr-text.el (quail-find-key):
6298 * dired.el (desktop-file-name):
6299 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
6300 * generic-x.el (comint-mode, comint-exec):
6301 * image-dired.el (widget-forward):
6302 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
6303 (speedbar-change-expand-button-char)
6304 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
6305 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
6306 * printing.el (easy-menu-add-item, easy-menu-remove-item)
6307 (widget-field-action, widget-value-set):
6308 * speedbar.el (imenu--make-index-alist):
6309 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
6310 (ring-length, ring-insert):
6311 * vcursor.el (compare-windows-skip-whitespace):
6312 * woman.el (dired-get-filename):
6315 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
6317 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6319 * calc/calc.el (calc-gregorian-switch): New variable.
6321 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
6322 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
6323 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
6324 (math-leap-year-p): Add option to distinguish between Julian
6325 and Gregorian calendars.
6326 (math-day-number): Use `math-day-in-year' to do the computations.
6327 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
6328 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
6329 to do the computations.
6330 (math-date-to-dt): Use `math-date-to-julian-dt' and
6331 `math-date-to-gregorian-dt' to do the computations.
6332 (calcFunc-weekday, math-format-date-part): Use the new version of
6333 the DATE to determine the weekday.
6334 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
6337 2012-11-17 Eli Zaretskii <eliz@gnu.org>
6339 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
6340 Cygwin; otherwise use 'file:'. (Bug#12914)
6341 (cygwin-convert-path-from-windows): Declare, to avoid
6342 byte-compiler warnings.
6344 2012-11-17 Andreas Politz <politza@fh-trier.de>
6346 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
6347 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
6348 prefix and negative numeric prefix args (Bug#12795).
6350 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
6352 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
6353 Don't signal an error with a score that is too low to add to the
6354 list of top scores. (Bug#12779)
6356 2012-11-17 Chong Yidong <cyd@gnu.org>
6358 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
6360 * filecache.el (file-cache-add-file): Handle relative file name in
6361 the argument (Bug#12694).
6363 2012-11-16 JĂ¼rgen Hötzel <juergen@archlinux.org> (tiny change)
6365 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
6367 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6369 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
6371 * emacs-lisp/cl-lib.el: Set more meaningful version number.
6373 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6375 * window.el (enlarge-window, shrink-window): Don't mention return
6376 value in doc-string (Bug#12896).
6377 (window--display-buffer): Don't resize frames - it won't work
6378 with all window managers and defeat pop-up-frame-alist.
6379 (display-buffer-alist): In doc-string explain that CONDITION can
6380 be a function and which arguments are passed to it (Bug#12854).
6381 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
6382 expressions (Bug#12854).
6383 (display-buffer): Pass ACTION argument to
6384 display-buffer-assq-regexp.
6386 2012-11-16 Glenn Morris <rgm@gnu.org>
6388 * window.el (fit-frame-to-buffer-bottom-margin)
6389 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
6391 * faces.el (face-underline-p): Use face-attribute-specified-or.
6393 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
6395 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
6397 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6399 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
6401 2012-11-16 Glenn Morris <rgm@gnu.org>
6403 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
6404 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
6406 * faces.el (face-underline-p): Doc fix. Handle :underline being
6407 things other than `t' (a string, a list).
6408 (face-inverse-video-p): Doc fix.
6409 (set-face-underline): Rename it back from set-face-underline-p.
6410 Doc fix. Allow interactive input of values other than t.
6411 (read-face-attribute): Apply formatting to :underline,
6412 since like :box and :stipple it can take list values.
6414 * term.el (ansi-term): Don't let C-x escape-char binding
6415 clobber the more standard C-c binding. (Bug#12842)
6417 * subr.el (set-temporary-overlay-map): Doc fix.
6419 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6421 * window.el (record-window-buffer)
6422 (display-buffer-record-window): When copying the markers to
6423 window-point preserve window-point-insertion-type. (Bug#12588)
6425 2012-11-16 Glenn Morris <rgm@gnu.org>
6427 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
6428 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
6429 Use new names for hooks rather than obsolete aliases.
6431 2012-11-15 Daniel Colascione <dancol@dancol.org>
6433 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
6434 prefix instead of "file:" so that when FILE-NAME begins with "//",
6435 as it does when the target file is on a network share, url-handler
6438 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6440 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
6441 a preactivated advice from an old advice.el; they're not compatible!
6443 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
6445 * emacs-lisp/nadvice.el (advice--make-interactive-form):
6446 Fix string-spec case.
6448 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
6450 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6452 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
6453 (advice--buffer-local-function-sample): New var.
6454 (advice--set-buffer-local, advice--buffer-local): New functions.
6455 (add-function, remove-function): Use them.
6457 2012-11-15 Drew Adams <drew.adams@oracle.com>
6459 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
6461 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6463 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
6464 potential binding of print-gensym to t, and prettify (back)quotes in
6465 case they appear in args's default values (bug#12884).
6467 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6469 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
6470 (advice-eval-interactive-spec): New function.
6471 (advice--make-interactive-form): Support around advice (bug#12844).
6473 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
6475 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
6476 more strict. Add docstring.
6477 (ruby-expression-expansion-re): Extract from
6478 `ruby-match-expression-expansion'.
6479 (ruby-syntax-propertize-function): After everything else, search
6480 for expansions in string literals, mark their insides as
6481 whitespace syntax and save match data for font-lock.
6482 (ruby-font-lock-keywords): Use the 2nd group from expression
6484 (ruby-match-expression-expansion): Use the match data saved to the
6485 text property in ruby-syntax-propertize-function.
6487 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6489 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
6492 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6494 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
6495 start/end keyword a bit harder. Works with different values of N.
6497 (ruby-end-of-block): Update accordingly.
6499 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6501 * woman.el (woman-file-name): Don't mess with unread-command-events
6504 * emacs-lisp/advice.el: Layer on top of nadvice.el.
6505 Remove out of date self-require hack.
6506 (ad-do-advised-functions): Use simple `dolist'.
6507 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
6508 (ad-advice-definition): Redefine as functions.
6509 (ad-advice-classes): Move before first use.
6510 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
6511 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
6512 (ad--defalias-fset): Remove functions.
6513 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
6514 (ad-get-orig-definition): Rewrite.
6515 (ad-make-advised-definition-docstring): Change base docstring.
6516 (ad-real-orig-definition): Rewrite.
6517 (ad-map-arglists): Change name of called function.
6518 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
6519 (ad-make-advised-definition): Simplify.
6520 (ad-assemble-advised-definition): Tweak for new calling context.
6521 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
6522 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
6523 function and call ad-activate if needed.
6524 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
6525 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
6526 (ad-compile-function): Compile ad-Advice-*.
6527 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
6528 (ad-start-advice, ad-stop-advice): Remove.
6530 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6532 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
6533 period before class method names, not after. Remove handling of
6534 one impossible case. Add comments.
6536 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6538 * emacs-lisp/advice.el: Remove support for freezing.
6539 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
6540 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
6541 Remove support for `freeze'.
6543 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
6544 override the default.
6545 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
6547 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
6550 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
6552 (advice--strip-macro): New function.
6553 (advice--defalias-fset): Use them to handle macros.
6554 (advice-add): Use them.
6555 (advice-member-p): Correctly handle macros.
6557 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6559 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6560 Never font-lock the beginning of singleton class as heredoc.
6562 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6564 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
6566 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
6568 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
6569 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
6570 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
6572 2012-11-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6574 Fix end-of-defun misbehavior.
6575 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
6576 python-beginning-of-defun-function. Handle nested defuns
6578 (python-nav-end-of-defun): Rename from
6579 python-end-of-defun-function. Ensure forward movement.
6580 (python-info-current-defun): Reimplement to work as intended
6581 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
6582 parent defuns as soon as possible.
6584 2012-11-13 Glenn Morris <rgm@gnu.org>
6586 * progmodes/flymake.el (flymake-error-bitmap)
6587 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
6588 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
6590 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6592 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
6593 backward, always stop at indentation. Reverts the change from
6594 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
6596 2012-11-13 Glenn Morris <rgm@gnu.org>
6598 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
6599 Add ibuffer-filter-by-derived-mode.
6601 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
6602 the same name shadowing each other.
6604 * window.el (with-temp-buffer-window): Doc tweak.
6606 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
6608 * help.el (temp-buffer-max-height):
6609 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
6610 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
6612 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
6614 * emacs-lisp/nadvice.el: New package.
6615 * subr.el (special-form-p): New function.
6616 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
6617 (elp-all-instrumented-list): Remove var.
6618 (elp-not-profilable): Remove elp-wrapper.
6619 (elp-profilable-p): Use autoloadp and special-form-p.
6620 (elp--advice-name): New const.
6621 (elp-instrument-function): Use advice-add.
6622 (elp--instrumented-p): New predicate.
6623 (elp-restore-function): Use advice-remove.
6624 (elp-restore-all, elp-reset-all): Use mapatoms.
6625 (elp-set-master): Use elp--instrumented-p.
6626 (elp--make-wrapper): Rename from elp-wrapper, return a function
6627 suitable for advice-add. Use cl-inf.
6628 (elp-results): Use mapatoms+elp--instrumented-p.
6629 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
6630 (debug-function-list): Remove var.
6631 (debug): Rename arg, and then let-bind it explicitly inside.
6632 (debugger-setup-buffer): Rename arg.
6633 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
6634 (debugger-frame-number): Adjust to new debug-on-entry setup.
6635 (debug--implement-debug-on-entry): Rename from
6636 implement-debug-on-entry, add argument.
6637 (debugger-special-form-p): Remove, use special-form-p instead.
6638 (debug-on-entry): Use advice-add.
6639 (debug--function-list): New function.
6640 (cancel-debug-on-entry): Use it, along with advice-remove.
6641 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
6642 (debugger-list-functions): Use debug--function-list instead of
6643 debug-function-list.
6644 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
6645 (ad-special-form-p): Remove, use special-form-p instead.
6646 (ad-set-advice-info): Use add-function and remove-function.
6647 (ad--defalias-fset): Adjust accordingly.
6649 2012-11-10 Glenn Morris <rgm@gnu.org>
6651 * mail/emacsbug.el (report-emacs-bug-tracker-url)
6652 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
6653 (report-emacs-bug-create-existing-bugs-buffer)
6654 (report-emacs-bug-parse-query-results)
6655 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
6657 * term.el (term-default-fg-color, term-default-bg-color):
6658 Make obsolete, rather than just saying "deprecated" in the doc.
6660 * term.el (term): Rename from `term-face'.
6661 (term-current-face, ansi-term-color-vector)
6662 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
6665 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
6667 * server.el (server-create-window-system-frame): Handle Nextstep
6668 specially (Bug#12780).
6670 2012-11-10 Glenn Morris <rgm@gnu.org>
6672 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
6673 Unautoload, and make obsolete. (Bug#7449)
6675 2012-11-10 Chong Yidong <cyd@gnu.org>
6677 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
6678 rename from diff-remove-trailing-whitespace (Bug#12831).
6680 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6682 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
6683 miscompilation of trace.el.
6685 2012-11-10 Glenn Morris <rgm@gnu.org>
6687 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
6689 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6691 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
6694 2012-11-10 Chong Yidong <cyd@gnu.org>
6696 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
6697 a defcustom with an appropriate :set function.
6698 (minibuffer-default--in-prompt-regexps): New function.
6700 2012-11-10 Glenn Morris <rgm@gnu.org>
6702 * emacs-lisp/cl.el (define-setf-expander, defsetf)
6703 (define-modify-macro): Doc fixes.
6705 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
6706 (gv-define-simple-setter): Update doc of `fix-return'.
6708 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6710 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
6711 twice when `fix-return' is set (bug#12813).
6713 * emacs-lisp/cl.el (defsetf): Pass the third arg to
6714 gv-define-simple-setter (bug#12812).
6716 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
6719 2012-11-10 Glenn Morris <rgm@gnu.org>
6721 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
6723 * emacs-lisp/cl-extra.el (cl-prettyexpand):
6724 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
6725 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
6726 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
6728 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
6730 2012-11-10 Leo Liu <sdl.web@gmail.com>
6732 * ido.el (ido-set-matches-1): Improve flex matching performance by
6733 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
6735 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6737 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
6738 (ad--defalias-fset): New function.
6739 (ad-safe-fset): Remove.
6740 (ad-make-freeze-definition): Use cl-letf*.
6742 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6744 * subr.el (dolist): Don't bind VAR in RESULT.
6746 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
6747 (fset, documentation): Don't save real def since we don't advise.
6748 (ad-do-advised-functions): Remove problematic `result-form'.
6749 (ad-safe-fset): `ad-real-fset' => `fset'.
6750 (ad-read-advised-function): Don't assume that ad-do-advised-functions
6751 uses CL's dolist internally.
6752 (ad-arglist): Remove unused arg `name'.
6753 (ad-docstring, ad-make-advised-docstring):
6754 `ad-real-documentation' => `documentation'.
6755 (warning-suppress-types): Declare.
6756 (ad-set-arguments): Simple CSE.
6757 (ad-recover-normality): Sanity check.
6759 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
6760 (funcall '(lambda ..) ..) into ((lambda ..) ..).
6762 2012-11-09 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6764 * ses.el: symbol to coordinate mapping is made by symbol property
6765 `ses-cell'. This means that the same mapping is done for all SES
6766 sheets. That is good enough for cells with standard A1 names, but
6767 not for named cell. So a hash map is added for the latter.
6768 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
6769 (ses-sym-rowcol): Use hashmap for named cell.
6770 (ses-is-cell-sym-p): New defun.
6771 (ses-decode-cell-symbol): New defun.
6772 (ses-create-cell-variable): Add cell to hashmap when name is not
6774 (ses-rename-cell): Check that cell new name is not already in
6775 spreadsheet with the use of ses-is-cell-sym-p
6776 (ses-rename-cell): Use hash map for named cells, but accept also
6777 renaming back to A1-like.
6779 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6781 * emacs-lisp/advice.el: Use new dynamic docstrings.
6782 (ad-make-advised-definition-docstring, ad-advised-definition-p):
6783 Use dynamic-docstring-function instead of ad-advice-info.
6784 (ad--make-advised-docstring): New function extracted from
6785 ad-make-advised-docstring.
6786 (ad-make-advised-docstring): Use it.
6787 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
6789 (sql-help): Use it with dynamic-docstring-function.
6791 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
6793 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6795 * files.el (hack-one-local-variable--obsolete): New function.
6796 (hack-one-local-variable): Use it for obsolete settings.
6798 * subr.el (locate-user-emacs-file): If both old and new name exist, use
6801 * progmodes/js.el (js--filling-paragraph): New var.
6802 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
6803 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
6806 2012-11-08 Julien Danjou <julien@danjou.info>
6808 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
6809 `auto-mode-alist' (Bug#12835).
6811 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6813 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
6814 (perl--prettify-symbols-alist): New const.
6815 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
6817 (perl-font-lock-keywords-2): Use them.
6818 (perl-electric-noindent-p): New function.
6819 (perl-mode): Use it to set up electric-indent-mode.
6820 (perl-electric-terminator, perl-indent-command): Mark obsolete.
6821 (perl-mode-map): Remove bindings for them.
6822 (perl-imenu-generic-expression, perl-outline-level):
6823 Match functions&packages in column>0.
6825 * env.el (env--substitute-vars-regexp): New const.
6826 (substitute-env-vars): Use it. Add `only-defined' arg.
6827 * net/tramp.el (tramp-replace-environment-variables): Use it.
6829 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
6830 Byte-compile *before* eval in eval-and-compile.
6831 (byte-compile-log-warning): Remove redundant inhibit-read-only.
6832 (byte-compile-file-form-autoload): Don't hide actual definition.
6833 (byte-compile-maybe-guarded): Accept `functionp' as well.
6835 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
6837 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
6839 * notifications.el (notifications-get-server-information-method):
6841 (notifications-get-capabilities): Fix docstring.
6842 (notifications-get-server-information): New defun.
6844 2012-11-06 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
6846 * textmodes/ispell.el (ispell-region): Standard re-indent for better
6849 * textmodes/ispell.el: Experimental support for support debugging.
6850 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
6852 (ispell-print-if-debug): New function to print stuff to
6853 `ispell-debug-buffer' if debugging is enabled.
6854 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
6855 show some debugging info.
6856 (ispell-buffer-with-debug): New function that creates a debugging
6857 buffer and calls `ispell-buffer' with debugging enabled.
6859 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
6860 comment in autoconf mode. (Bug#12768)
6862 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
6864 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
6865 frame-first-window, frame-root-window, frame-selected-window,
6866 minibuffer-selected-window, minibuffer-window,
6867 window-absolute-pixel-edges, window-at, window-body-height,
6868 window-body-width, window-display-table, window-combination-limit,
6869 window-frame, window-fringes, window-inside-absolute-pixel-edges,
6870 window-inside-edges, window-inside-pixel-edges, window-left-child,
6871 window-left-column, window-margins, window-next-buffers,
6872 window-next-sibling, window-new-normal, window-new-total,
6873 window-normal-size, window-parameter, window-parameters, window-parent,
6874 window-pixel-edges, window-point, window-prev-buffers,
6875 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
6876 window-start, window-text-height, window-top-child, window-top-line,
6877 window-total-height, window-total-width and window-use-time to the list
6878 of functions without side-effects.
6879 (toplevel): Add window-valid-p to the list of error-free functions
6880 without side-effects.
6882 2012-11-05 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
6884 * textmodes/ispell.el (ispell-program-name):
6885 Update spellchecker parameters when customized.
6887 2012-11-04 Glenn Morris <rgm@gnu.org>
6889 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
6891 2012-11-04 Chong Yidong <cyd@gnu.org>
6893 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
6894 same-window-* variables.
6896 2012-11-04 Juri Linkov <juri@jurta.org>
6898 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
6899 (isearch-describe-key, isearch-describe-mode): Use a display
6900 action instead of binding same-window-* variables (Bug#10040).
6902 2012-11-03 Glenn Morris <rgm@gnu.org>
6904 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
6905 Rename handler properties back from cl-- to cl-. (Bug#12788)
6907 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
6909 2012-11-03 Eli Zaretskii <eliz@gnu.org>
6911 * term/pc-win.el: Don't load term/internal from here.
6913 * loadup.el: Load term/internal from here.
6915 2012-11-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6917 * progmodes/python.el (inferior-python-mode): Fix hang in
6918 jit-lock (Bug#12645).
6920 2012-11-03 Martin Rudalics <rudalics@gmx.at>
6922 * window.el (switch-to-visible-buffer)
6923 (switch-to-buffer-preserve-window-point): Fix doc-strings.
6925 2012-11-03 Glenn Morris <rgm@gnu.org>
6927 * emacs-lisp/cl-lib.el (cl--random-time):
6928 Rename from cl-random-time. (Bug#12773)
6929 (cl--gensym-counter, cl--random-state): Update callers.
6930 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
6932 2012-11-03 Chong Yidong <cyd@gnu.org>
6934 * cus-start.el: Make cursor-type customizable (Bug#11633).
6936 2012-11-02 Glenn Morris <rgm@gnu.org>
6938 * filecache.el: No need to load find-lisp when compiling.
6939 (find-lisp-find-files): Autoload it.
6940 (file-cache-add-directory-recursively): Don't require find-lisp.
6942 * image.el (image-type-from-file-name): Trivial simplification.
6944 * emacs-lisp/bytecomp.el (byte-compile-eval):
6945 Decouple "noruntime" and "cl-functions" warnings.
6947 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
6949 * play/gomoku.el (gomoku-display-statistics): Update mode line
6950 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
6952 2012-10-31 Martin Rudalics <rudalics@gmx.at>
6954 * window.el (quit-restore-window): If the window has been
6955 created on an existing frame and ended up as the sole window on
6956 that frame, do not delete it (Bug#12764).
6958 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
6960 * progmodes/sh-script.el (sh--inside-noncommand-expression):
6961 Rename from sh--inside-arithmetic-expression, handle more cases
6964 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
6965 (sh-font-lock-open-heredoc): Use it (bug#12770).
6967 2012-10-30 Glenn Morris <rgm@gnu.org>
6969 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
6971 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
6973 2012-10-29 Chong Yidong <cyd@gnu.org>
6975 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
6976 function key is stored in a keyboard macro (Bug#4894).
6978 * thingatpt.el (number-at-point): Apply a thing-at-point property.
6980 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6982 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
6984 (diff-unified->context, diff-context->unified)
6985 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
6987 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
6989 * files.el (find-alternate-file): Only ask one question (bug#12487).
6991 2012-10-29 Chong Yidong <cyd@gnu.org>
6993 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
6994 Suggested by Dan Nicolaescu (Bug#6326).
6996 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
6998 * startup.el (fancy-about-screen): Don't message (Bug#12680).
7000 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
7002 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
7004 * face-remap.el (face-remap-add-relative): Handle the case where a
7005 face-remapping-alist entry is a cons cell (Bug#12762).
7007 2012-10-29 Kevin Ryde <user42@zip.com.au>
7009 * woman.el (woman-parse-numeric-value): Handle picas correctly
7012 2012-10-29 Glenn Morris <rgm@gnu.org>
7014 * emacs-lisp/cl.el (defsetf): Doc fix.
7016 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7018 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
7019 syntax to the matching opener, if any (bug#12547).
7020 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
7021 matching open as a "case-(".
7022 (sh-smie-rc-grammar): Add a corresponding rule for it.
7024 2012-10-28 Daniel Hackney <dan@haxney.org>
7026 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
7027 "PKGNAME-autoloads.el" in case we created it.
7029 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7031 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
7032 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
7033 (completion--twq-all): Disable too-strict assertions.
7035 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
7037 2012-10-27 Eli Zaretskii <eliz@gnu.org>
7039 * profiler.el (profiler-report-make-entry-part): Fix help-echo
7040 text to match the real keybindings.
7042 2012-10-27 Juri Linkov <juri@jurta.org>
7044 * wdired.el (wdired-keep-marker-rename): New defcustom.
7045 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
7048 * dired.el (dired-keep-marker-rename): Add reference to
7049 `wdired-keep-marker-rename' in the docstring.
7050 Add default character value ?R to display initially in
7051 Customization UI instead of ?@.
7053 2012-10-27 Martin Rudalics <rudalics@gmx.at>
7055 * window.el (display-buffer): In doc-string describe
7056 window-height and window-width alist entries.
7058 * time.el (display-time-world): Restore fit-window-to-buffer
7061 2012-10-27 Chong Yidong <cyd@gnu.org>
7063 * subr.el (insert-buffer-substring-as-yank): Doc fix.
7065 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
7067 * minibuffer.el (completion-category-overrides): New completion
7068 category `bookmark' (bug#11131).
7070 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7072 * emacs-lisp/advice.el (ad-assemble-advised-definition):
7073 Silence bogus compiler warnings for ad-do-it.
7075 * bookmark.el (bookmark-completing-read): Set the completion category
7076 to `bookmark' (bug#11131).
7078 2012-10-26 Bastien <bzg@altern.org>
7079 Stefan Monnier <monnier@iro.umontreal.ca>
7081 * face-remap.el: Use lexical-binding.
7082 (text-scale-adjust): Improve docstring. Use itself for the temporary
7083 overlay-map bindings, so as to repeat the "Use..." message each time.
7085 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7087 * emacs-lisp/macroexp.el (macroexp--expand-all):
7088 Obey byte-compile-warning-enabled-p (bug#12486).
7090 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
7091 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
7093 2012-10-26 Martin Rudalics <rudalics@gmx.at>
7095 * mouse.el (mouse-drag-line): Move last form into preceding when
7098 * help.el (resize-temp-buffer-window): Fix doc-string.
7100 2012-10-25 David Engster <deng@randomsample.de>
7102 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
7103 Remove. This feature is already integrated in imenu.
7105 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
7106 always loaded. Require `speedbar' unconditionally.
7108 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7110 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
7112 * minibuffer.el (minibuffer-force-complete): Fix thinko.
7114 * net/ldap.el (ldap-search-internal): The official ldif format starts
7115 with a "version: 1" header (bug#12724).
7117 * emacs-lisp/package.el (package-installed-p): Warn if not ready
7120 2012-10-25 Glenn Morris <rgm@gnu.org>
7122 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
7124 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7126 * minibuffer.el (minibuffer-force-complete): Use one more marker
7127 for the temporary-overlay-map command (bug#12619).
7129 2012-10-24 Chong Yidong <cyd@gnu.org>
7131 * time.el (display-time-world-mode): Derive from special-mode.
7132 (display-time-world): Use display-buffer (Bug#12708).
7133 (display-time-world-mode-map): Variable deleted.
7134 (display-time-world-display): Wrap the final delete-char inside
7137 2012-10-24 Chong Yidong <cyd@gnu.org>
7139 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
7142 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
7144 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7146 * minibuffer.el (completion--all-sorted-completions-location): New var.
7147 (completion--cache-all-sorted-completions)
7148 (completion--flush-all-sorted-completions): Use it.
7149 (completion-in-region, completion-in-region--postch)
7150 (completion-at-point, completion-help-at-point): Use markers in
7151 completion-in-region--data (bug#12619).
7153 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7155 * progmodes/compile.el (compilation-start): Try to handle common
7156 quoting of `cd' argument (bug#12640).
7158 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
7161 2012-10-23 Glenn Morris <rgm@gnu.org>
7163 * progmodes/gud.el (gud-menu-map):
7164 Check gdb-active-process is bound. (Bug#12358)
7166 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7168 * repeat.el (repeat): Set real-this-command (bug#12232).
7170 * htmlfontify.el (hfy-post-html-hook):
7171 * filesets.el (filesets-cache-fill-content-hook):
7172 * arc-mode.el (archive-extract-hook):
7173 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
7174 * net/rcirc.el (rcirc-sentinel-functions)
7175 (rcirc-receive-message-functions, rcirc-activity-functions)
7176 (rcirc-print-functions):
7177 * net/dbus.el (dbus-event-error-functions):
7178 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
7179 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
7180 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
7181 * term/sun.el (sun-raw-prefix-hooks):
7182 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
7184 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
7186 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7187 Set `tramp-chunksize' to 1. This improves the performance.
7188 (tramp-smb-wait-for-output): Add timeout to
7189 `tramp-accept-process-output' calls.
7191 2012-10-23 Chong Yidong <cyd@gnu.org>
7193 * faces.el (font-list-limit): Define as an obsolete variable.
7195 * startup.el (command-line):
7196 * cus-start.el: Don't refer to font-list-limit.
7198 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
7200 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7202 * subr.el (internal-temp-output-buffer-show): Rename from
7203 temp-output-buffer-show, since previously compiled files expect this name.
7205 2012-10-23 Glenn Morris <rgm@gnu.org>
7207 * image.el (image-type-from-file-name): If multiple types match,
7208 return the first one that is supported. (Bug#9045)
7210 2012-10-22 Glenn Morris <rgm@gnu.org>
7212 * image.el (imagemagick-enabled-types): Doc fix.
7214 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
7216 * progmodes/which-func.el (which-func-current): The hash-table may have
7217 an explicit nil (bug#12338).
7219 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7221 * electric.el (electric-pair-delete-selection-self-insert-function):
7222 Rename to electric-pair-will-use-region, return a boolean.
7223 (electric-pair-mode): Adjust accordingly. Don't require delsel.
7225 * delsel.el (delete-selection-helper): Use a function instead of a hook.
7226 (delete-selection-pre-hook): Use use-region-p.
7227 (delete-selection-self-insert-function): Remove.
7228 (self-insert-command): Obey self-insert-uses-region-functions.
7229 (self-insert-iso): Revert to previous setting, since we don't actually
7230 know what that command does.
7231 (delete-selection-self-insert-hooks): Remove.
7233 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
7235 * delsel.el (delete-selection-helper): New function, extracted from
7236 delete-selection-pre-hook.
7237 (delete-selection-pre-hook): Use it.
7238 (delete-selection-self-insert-function): New function.
7239 (delete-selection-self-insert-hooks): New hook.
7240 (self-insert-command, self-insert-iso): Use it.
7241 * electric.el (electric-pair-syntax): New function, extracted from
7242 electric-pair-post-self-insert-function.
7243 (electric-pair-post-self-insert-function): Use it.
7244 (electric-pair-delete-selection-self-insert-function): New function.
7245 (electric-pair-mode): Require delsel and setup
7246 delete-selection-self-insert-hooks (bug#11520).
7248 2012-10-20 Chong Yidong <cyd@gnu.org>
7250 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
7251 no changes to show (Bug#12586).
7253 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
7254 list explicitly (Bug#12571).
7256 2012-10-20 Arne Jørgensen <arne@arnested.dk>
7258 * progmodes/flymake.el (flymake-create-temp-inplace):
7261 2012-10-20 Eli Zaretskii <eliz@gnu.org>
7263 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
7265 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
7267 * calc/calc-units.el (math-extract-units): Properly extract powers
7270 2012-10-20 Daniel Colascione <dancol@dancol.org>
7272 * frame.el (make-frame): Set x-display-name as we used to in order
7273 to unbreak creating an X11 frame from an Emacs daemon started
7276 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7278 * minibuffer.el (minibuffer-force-complete): Make the next completion use
7279 the same completion-field (bug#12221).
7281 2012-10-19 Martin Rudalics <rudalics@gmx.at>
7283 * emacs-lisp/debug.el (debug): Record height of debugger window
7284 also when debugger will be back (Bug#8789).
7286 2012-10-18 Chong Yidong <cyd@gnu.org>
7288 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7289 Convert to defcustom.
7290 (gdb-get-source-file): Don't bind pop-up-windows.
7292 * progmodes/gud.el (gud-display-line): Don't specially re-use
7293 other frames for the gdb-mi case (Bug#12648).
7295 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7297 * emacs-lisp/advice.el: Clean up commentary a bit.
7298 (ad-do-advised-functions, ad-with-originals): Use `declare'.
7299 (byte-code-function-p): Never redefine.
7301 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
7303 2012-10-18 Glenn Morris <rgm@gnu.org>
7305 * dired.el (dired-sort-toggle): Some ls implementations only allow
7306 a single option string. (Bug#12666)
7308 * minibuffer.el (completion-cycle-threshold): Doc fix.
7310 2012-10-17 Kenichi Handa <handa@gnu.org>
7312 * international/mule.el (set-keyboard-coding-system):
7313 Recover input meta mode when the new coding system doesn not use 8-bit.
7314 Supply TERMINAL arg to set-input-meta-mode.
7316 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7318 * wdired.el (wdired-old-marks): New variable.
7319 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
7320 (wdired-do-renames): Move point with renamed file and don't lose
7321 mark status (Bug#11795).
7323 2012-10-16 Juri Linkov <juri@jurta.org>
7325 * replace.el (query-replace-help): Mention multi-buffer replacement
7326 keys in the Help message. (Bug#12655)
7328 2012-10-15 Chong Yidong <cyd@gnu.org>
7330 * emacs-lisp/byte-run.el (defsubst): Doc fix.
7332 2012-10-14 Eli Zaretskii <eliz@gnu.org>
7334 * window.el (display-buffer): Doc fix.
7336 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7337 Adjust the msft regexp to the output of Studio 2010, and move msft
7338 before edg-1. See the discussion on emacs-devel,
7339 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
7342 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7344 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
7345 (oset): Move uses of object-class-fast macro after its definition.
7347 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
7349 2012-10-13 Chong Yidong <cyd@gnu.org>
7351 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
7352 enabled, re-enable it (Bug#11963).
7354 2012-10-13 Martin Rudalics <rudalics@gmx.at>
7356 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
7357 non-nil, restore window configuration (Bug#12623).
7359 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7361 * help-fns.el (describe-variable, describe-function-1):
7362 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
7364 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
7366 2012-10-12 Glenn Morris <rgm@gnu.org>
7368 * mail/rmailsum.el (rmail-header-summary):
7369 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
7371 2012-10-12 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7373 * progmodes/python.el (python-mode-map):
7374 Replace subtitute-key-definition with proper command remapping.
7375 (python-nav--up-list): Fix behavior for blocks on the same level.
7377 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7379 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
7381 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
7382 changes to the format of load-history.
7384 * international/mule-cmds.el (read-char-by-name): Move let-binding of
7385 completion-ignore-case in case that var is buffer-local (bug#12615).
7387 2012-10-11 Kenichi Handa <handa@gnu.org>
7389 * international/eucjp-ms.el: Re-generated.
7391 2012-10-10 Kenichi Handa <handa@gnu.org>
7393 * select.el (xselect--encode-string): If a coding is specified for
7394 selection, and that is compatible with COMPOUND_TEXT, use it.
7396 2012-10-10 Martin Rudalics <rudalics@gmx.at>
7398 * window.el (switch-to-buffer-preserve-window-point): New option.
7400 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
7402 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7404 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
7405 Don't document nil as a useful value (bug#12583).
7407 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
7409 * net/tramp.el (tramp-debug-message):
7410 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
7411 (with-tramp-progress-reporter): Rename from
7412 `tramp-with-progress-reporter'.
7413 (with-tramp-file-property, with-tramp-connection-property):
7414 Move from tramp-cache.el, rename from `with-file-property' and
7415 `with-connection-property', respectively.
7417 * net/tramp-cache.el: Remove `with-file-property' and
7418 `with-connection-property'.
7421 * net/tramp-gvfs.el:
7423 * net/tramp-smb.el: Adapt callees.
7425 * net/trampver.el: Update release number.
7427 2012-10-09 Glenn Morris <rgm@gnu.org>
7429 * w32-fns.el (set-message-beep):
7430 * term/w32-win.el (set-message-beep): Update declarations.
7432 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7434 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
7435 (mode-line-widen, mode-line-input-method-map)
7436 (mode-line-coding-system-map, mode-line-remote)
7437 (mode-line-unbury-buffer, mode-line-bury-buffer)
7438 (mode-line-next-buffer, mode-line-previous-buffer):
7439 Replace save-selected-window+select-window => with-selected-window.
7441 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
7442 * progmodes/cc-vars.el (bq-process): Remove, unused.
7444 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
7446 2012-10-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7448 Implemented `backward-up-list'-like navigation.
7449 * progmodes/python.el (python-nav-up-list)
7450 (python-nav-backward-up-list): New functions.
7451 (python-mode-map): Define substitute key for backward-up-list to
7452 python-nav-backward-up-list.
7454 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7456 * progmodes/python.el (python-fill-paragraph): Rename from
7457 python-fill-paragraph-function. Fixed fill-paragraph for
7458 decorators (Bug#12605).
7460 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7462 * progmodes/python.el (python-shell-output-filter): Handle extra
7463 carriage return in OSX (Bug#12409).
7465 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7467 Fix shell handling of unbalanced quotes and parens in output.
7468 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
7469 (python-syntax-propertize-function): Use it.
7470 (python-shell-output-syntax-table): New var.
7471 (inferior-python-mode): Prevent unbalanced parens/quotes from
7472 previous output mess with current input context.
7474 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
7476 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
7477 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
7479 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
7481 * ffap.el (ffap-replace-file-component): Support Tramp file name
7482 syntax, not only ange-ftp's one.
7484 2012-10-08 Glenn Morris <rgm@gnu.org>
7486 * cus-start.el (message-log-max): Set :version.
7488 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
7490 2012-10-08 Martin Rudalics <rudalics@gmx.at>
7492 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
7493 the minibuffer window (Bug#10851).
7495 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7497 Enhancements on forward-sexp movement.
7498 * progmodes/python.el (python-nav-beginning-of-statement)
7499 (python-nav-end-of-statement): Return point-marker.
7500 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
7501 (python-info-current-symbol)
7502 (python-info-statement-starts-block-p): Rename from
7503 python-info-beginning-of-block-p.
7504 (python-info-statement-ends-block-p): Rename from
7505 python-info-end-of-block-p.
7506 (python-info-beginning-of-statement-p)
7507 (python-info-end-of-statement-p)
7508 (python-info-beginning-of-block-p, python-info-end-of-block-p):
7511 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7513 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
7514 frame-selected-windows.
7516 2012-10-08 Daniel Colascione <dancol@dancol.org>
7518 * battery.el (battery-status-function): Check for
7519 w32-battery-status itself, not system-time windows-nt.
7521 * frame.el: Require cl-lib.
7522 (display-format-alist): New variable mapping frame types to
7523 functions that initialize them.
7524 (window-system-for-display): New function: interprets
7525 display-format-alist.
7526 (make-frame-on-display): Remove existing display-selection logic
7527 and just forward to make-frame, which will now DTRT.
7528 (make-frame): Restructure to use window-system-for-display to
7529 figure out how to create a frame on a given display.
7530 (display-mouse-p): Look for frame-type w32, not a particular
7533 * loadup.el: Load w32 lisp code when we have the w32 feature.
7535 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
7536 system-type windows-nt.
7538 * server.el (server-create-window-system-frame): Look for window
7540 (server-proces-filter): Only force a window system when windows-nt
7541 _and_ w32. Explain why.
7543 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
7544 of window systems we configure for the mode.
7546 * startup.el (command-line): Mark window system is initialized
7547 after we've done it.
7549 * common-win.el (x-select-text): Look for w32, not windows-nt.
7551 * ns-win.el: Require cl-lib. Add ourselves to
7552 display-format-alist.
7553 (ns-initialize-window-system): Assert we're not initialized twice.
7555 * w32-win.el: Enable lexical binding; require cl-lib; add
7556 ourselves to display-format-alist.
7557 (w32-handle-dropped-file): Convert incoming dropped files from
7558 Windows paths to Cygwin ones before passing them on to the rest of
7560 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
7561 (w32-initialize-window-system): Assert we're not initialized twice.
7563 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
7564 (x-initialize-window-system): Assert we're not initialized twice.
7566 * w32-common-fns.el: New File.
7567 (w32-version, w32-using-nt, w32-get-clipboard-data)
7568 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7569 (w32-charset-info-alist, x-last-selected, text)
7570 (x-get-selection-value, x-selection-value): Move here.
7572 * w32-fns.el: Require w32-common-fns.
7573 (w32-version, w32-using-nt, w32-get-clipboard-data)
7574 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7575 (w32-charset-info-alist, x-last-selected, text)
7576 (x-get-selection-value, x-selection-value): Move to
7580 (w32-allow-system-shell, w32-system-shells): Define only in
7583 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7585 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
7586 (read-passwd): Remove a few more potential sources of leaks.
7588 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7590 * progmodes/python.el (inferior-python-mode)
7591 (python-shell-make-comint): Fix initialization of local
7592 variables copied from parent buffer.
7594 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
7596 * term/ns-win.el (ns-read-file-name): Update declaration to match
7598 (ns-respond-to-change-font): Change fontsize separately so we are sure
7599 it is set when font is acted upon.
7601 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7603 Enhancements to indentation.
7604 * progmodes/python.el (python-indent-context): Give priority to
7605 inside-string context. Make comments indentation markers.
7606 (python-indent-region): Do not mess with strings, unless it's the
7607 enclosing set of quotes.
7609 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7611 * window.el (internal--before-save-selected-window)
7612 (internal--after-save-selected-window): New functions extracted from
7613 save-selected-window. Make sure we return the `alist' we construct.
7614 (save-selected-window): Use them.
7616 * textmodes/tex-mode.el (tex-recenter-output-buffer):
7617 Use with-selected-window.
7619 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
7620 forms that define macros (bug#12593).
7622 2012-10-07 Kenichi Handa <handa@gnu.org>
7624 * international/mule-conf.el (compound-text-with-extensions):
7625 Add :mime-charset property as x-ctext.
7627 2012-10-07 Stefan Merten <smerten@oekonux.de>
7629 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7630 (rst-indent-literal-normal, rst-indent-literal-minimized)
7631 (rst-indent-comment): Correct :version tag.
7632 (rst-official-cvs-rev): Correct version string.
7634 2012-10-07 Glenn Morris <rgm@gnu.org>
7636 * mail/rmailmm.el (rmail-mime-process-multipart):
7637 Do not confuse a multipart message with an epilogue
7638 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
7640 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7642 Fix shell output retrieval and comint-prompt-regexp init.
7643 * progmodes/python.el (inferior-python-mode):
7644 (python-shell-make-comint): Fix initialization of
7645 comint-prompt-regexp from copied file local variables.
7646 (python-shell-fetched-lines): Remove var.
7647 (python-shell-output-filter-in-progress): Rename from
7648 python-shell-fetch-lines-in-progress.
7649 (python-shell-output-filter-buffer): Rename from
7650 python-shell-fetch-lines-string.
7651 (python-shell-fetch-lines-filter): Delete function.
7652 (python-shell-output-filter): New function.
7653 (python-shell-send-string-no-output): Use them.
7655 2012-10-07 Glenn Morris <rgm@gnu.org>
7657 * hi-lock.el (hi-lock-process-phrase):
7658 Try to make it less fragile. (Bug#7161)
7660 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
7662 2012-10-06 Glenn Morris <rgm@gnu.org>
7664 * ehelp.el (electric-help-mode): Use help-mode rather than
7665 non-existent mode `help'.
7666 (electric-help-map): Use button-buffer-map. (Bug#10917)
7668 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
7669 (reftex-create-bibtex-footer): Fix custom types.
7671 * progmodes/sh-script.el (sh-indent-after-continuation):
7672 Add explicit :group.
7674 * textmodes/rst.el (rst-preferred-decorations)
7675 (rst-shift-basic-offset): Clarify obsolescence versions.
7677 * profiler.el (profiler): Add missing group :version tag.
7678 * avoid.el (mouse-avoidance-banish-position):
7679 * proced.el (proced-renice-command):
7680 * calc/calc.el (calc-ensure-consistent-units):
7681 * calendar/icalendar.el (icalendar-import-format-uid):
7682 * net/tramp.el (tramp-save-ad-hoc-proxies):
7683 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7684 * progmodes/flymake.el (flymake-error-bitmap)
7685 (flymake-warning-bitmap, flymake-fringe-indicator-position):
7686 * progmodes/sh-script.el (sh-indent-after-continuation):
7687 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
7688 (verilog-before-save-font-hook, verilog-after-save-font-hook):
7689 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
7690 (vhdl-array-index-record-field-in-sensitivity-list)
7691 (vhdl-indent-comment-like-next-code-line):
7692 * textmodes/reftex-vars.el (reftex-ref-style-alist)
7693 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
7694 (reftex-cite-key-separator, reftex-create-bibtex-header)
7695 (reftex-create-bibtex-footer):
7696 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7697 (rst-indent-literal-normal, rst-indent-literal-minimized)
7698 (rst-indent-comment): Add missing custom :version tags.
7700 * calendar/timeclock.el (timeclock-modeline-display):
7701 Add missing obsolete alias for renamed user option.
7703 * strokes.el (strokes-modeline-string):
7704 * emulation/crisp.el (crisp-mode-modeline-string):
7705 * eshell/esh-mode.el (eshell-status-in-modeline):
7706 Aliases to defcustoms must come before the defcustom.
7708 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
7709 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7710 (cal-tex-cursor-week-monday): Doc fixes.
7711 (cal-tex-cursor-week2-summary): Doc fix.
7712 Rename from cal-tex-cursor-week-at-a-glance.
7714 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
7715 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
7717 * calendar/calendar.el (calendar-mode-map):
7718 Add cal-tex-cursor-week2-summary.
7720 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
7722 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
7724 * subr.el (read-passwd-map): New var.
7725 (read-passwd): Use `read-string' again.
7726 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
7728 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
7730 * register.el (append-to-register, prepend-to-register):
7731 Deactivate mark, as does `copy-to-register' (bug#12389).
7733 2012-10-06 Chong Yidong <cyd@gnu.org>
7735 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
7737 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
7739 * international/characters.el: Fix simple mistake ((car chars) ->
7740 elt), delete duplicated code.
7742 2012-10-06 Glenn Morris <rgm@gnu.org>
7744 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
7746 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
7748 * color.el (color-hsl-to-rgb): Fix incorrect results for
7749 small and large hue values. (Bug#12559)
7751 2012-10-05 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7753 Enhancements to docstring formatting when filling paragraphs.
7754 * progmodes/python.el (python-fill-docstring-style): Rename from
7755 python-fill-string-style. Added new style.
7756 (python-fill-string): Use new style. Better checks for
7759 2012-10-05 Glenn Morris <rgm@gnu.org>
7761 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
7763 * color.el (color-name-to-rgb, color-rgb-to-hex)
7764 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
7765 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
7766 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7767 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
7769 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
7771 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
7773 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
7774 to get the correct size across symlinks.
7776 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
7778 2012-10-04 Juri Linkov <juri@jurta.org>
7780 * replace.el (query-replace-interactive): Declare obsolete.
7781 (query-replace-read-from): Add the last incremental search string
7782 to the list of default values accessible via M-n.
7783 (map-query-replace-regexp): Use `read-regexp'.
7784 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7785 (map-query-replace-regexp, replace-string, replace-regexp):
7786 Fix docstrings to replace mentions of `query-replace-interactive'
7787 with alternatives. (Bug#12526)
7789 2012-10-04 Juri Linkov <juri@jurta.org>
7791 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
7792 (dired-pop-to-buffer): Declare obsolete.
7793 (dired-mark-pop-up): Doc fix.
7795 2012-10-04 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7797 Allow user to set docstring style for fill-paragraph.
7798 * progmodes/python.el
7799 (python-fill-comment-function, python-fill-string-function)
7800 (python-fill-decorator-function, python-fill-paren-function):
7801 Remove :safe for defcustoms.
7802 (python-fill-string-style): New defcustom
7803 (python-fill-paragraph-function): Enhance context detection.
7804 (python-fill-string): Honor python-fill-string-style settings.
7806 2012-10-04 Martin Rudalics <rudalics@gmx.at>
7808 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
7809 after setting its buffer (Bug#10805).
7811 2012-10-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7813 Fix cornercase for string syntax.
7814 * progmodes/python.el (python-syntax-propertize-function):
7815 Simplify and enhance the regexp for unescaped quotes. Now it also
7816 matches quotes in weird situations like the single quote in
7818 (python-syntax-stringify): Simplify num-quotes detecting code.
7820 2012-10-03 Glenn Morris <rgm@gnu.org>
7822 * help-macro.el (three-step-help):
7823 Revert 2012-09-29 change. (Bug#12567)
7825 2012-10-03 Martin Rudalics <rudalics@gmx.at>
7827 * menu-bar.el (kill-this-buffer): Don't do anything when
7828 `menu-frame' is not alive or visible (Bug#8184).
7830 * emacs-lisp/debug.el (debug): When quitting the debugger window
7831 restore current buffer (Bug#12502).
7833 2012-10-02 Chong Yidong <cyd@gnu.org>
7835 * progmodes/hideif.el (hif-lookup, hif-defined):
7836 Handle semantic-c-takeover-hideif.
7838 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
7840 Change sampling interval units from ms to ns.
7841 * profiler.el (profiler-sampling-interval): Change units
7842 from ms to ns, multiplying the default by 1000000 so that
7844 (profiler-report-cpu-line-format): Give enough room for
7845 the maximum counters on 64-bit hosts.
7846 (profiler-report-render-calltree-1): Call them "CPU samples",
7847 not "Time (ms)", since they are not milliseconds now (and
7850 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7852 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
7853 Fix querying BBDB for entries without a last name (Bug#11580).
7855 2012-10-02 Chong Yidong <cyd@gnu.org>
7857 * emacs-lisp/eieio.el: Restore Version header.
7859 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7861 * vc/diff-mode.el (diff--auto-refine-data): New var.
7862 (diff-hunk): Use it to delay refinement.
7863 (diff-mode): Remove overlays when we turn off font-lock.
7865 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
7866 (table-initialize-table-fixed-width-mode)
7867 (table-set-table-fixed-width-mode): Remove functions.
7868 (table-command-list): Move initialization into declaration.
7869 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
7870 (table-with-cache-buffer): Use `declare'.
7871 (table-span-cell): Simplify via CSE.
7872 (table-fixed-width-mode): Use define-minor-mode.
7873 (table-call-interactively, table-funcall, table-apply): Remove.
7874 (table-function): New function, to replace them.
7876 * bookmark.el (bookmark-search-pattern): Remove var.
7877 (bookmark-read-search-input): Remove function.
7878 (bookmark-bmenu-search): Reimplement using a minibuffer.
7880 * faces.el (modeline): Remove obsolete face name.
7882 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
7883 and give a non-nil default value.
7884 (add-change-log-entry): Simplify accordingly.
7886 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
7888 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
7889 (vc-git-log-edit-toggle-amend): New function.
7890 (vc-git-log-edit-toggle-signoff): New function.
7891 (vc-git-log-edit-mode): New major mode.
7892 (vc-git-log-edit-mode-map): Keymap for it.
7893 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
7895 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
7897 (log-edit-toggle-header): New function.
7898 (log-edit-extract-headers): Accept function values in HEADERS alist.
7900 2012-10-01 David Engster <deng@randomsample.de>
7902 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
7903 from symbol property and change message to be more consistent with
7905 (eieio-describe-generic): Add filename for each implementation.
7906 Fix indices for generic and normal methods.
7907 (eieio-method-def, eieio-class-def): New buttons.
7908 (eieio-help-find-method-definition)
7909 (eieio-help-find-class-definition): New functions.
7910 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
7911 class, constructor and method definitions.
7913 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
7914 information in symbol property.
7915 (scoped-class): Remove.
7916 (eieio-slot-name-index, call-next-method): Check if it is bound.
7918 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
7920 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
7921 (eieio-custom-mode): New major mode.
7922 (eieio-customize-object): Use it.
7924 2012-10-01 Eric Ludlam <zappo@gnu.org>
7926 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
7927 specifying the expected class, and whether subclassing is allowed.
7928 (eieio-persistent-convert-list-to-object):
7929 (eieio-persistent-validate/fix-slot-value)
7930 (eieio-persistent-slot-type-is-class-p): New functions.
7931 (eieio-named::slot-missing): Doc fix.
7933 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
7934 Stop using unused publd variable.
7936 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7937 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
7938 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
7939 (eieio-speedbar-handle-click): Do not specify a class for the
7940 method. Fixes method invocation order problems with EDE.
7942 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7944 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
7945 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
7947 2012-10-01 Karl Fogel <kfogel@red-bean.com>
7949 * bookmark.el (bookmark-version-control): Give tags in the
7950 :type choices (Bug#12309), and improve doc string.
7951 (bookmark-write-file): Bind `print-circle' to `t' to allow
7952 circular custom bookmark types. (Bug#12503)
7954 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
7956 Revert the FOLLOW-SYMLINKS change for file-attributes.
7957 * files.el (remote-file-name-inhibit-cache, after-find-file):
7958 * time.el (display-time-file-nonempty-p): Undo last change.
7960 * profiler.el (profiler-sampling-interval): Change default back to 1.
7961 See Stefan Monnier in
7962 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
7964 2012-10-01 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7966 Shell output catching a la gud-gdb.
7967 * progmodes/python.el (python-shell-fetch-lines-in-progress)
7968 (python-shell-fetch-lines-string, python-shell-fetched-lines):
7970 (python-shell-fetch-lines-filter): New function.
7971 (python-shell-send-string-no-output): Use them.
7973 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
7975 * profiler.el (profiler-sampling-interval): Rename from
7976 profiler-sample-interval.
7977 (profiler-sampling-interval): Default to 10.
7978 (profiler-find-profile): New command (was profiler-find-log).
7979 (profiler-find-profile-other-window): New command.
7980 (profiler-find-profile-other-frame): New command.
7981 (profiler-profile): Introduce API-level data structure.
7983 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
7985 file-attributes has a new optional arg FOLLOW-SYMLINKS.
7986 * files.el (remote-file-name-inhibit-cache):
7987 * time.el (display-time-file-nonempty-p): Use it.
7988 * files.el (after-find-file): Don't chase links before calling
7989 file-exists-p, as file-exists-p already does the right thing.
7991 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
7993 Merge from standalone RefTeX repository.
7995 The following ChangeLog entries are shortened versions of the
7996 original ones with file paths adapted. A not so strongly edited
7997 version of the original ChangeLog can be found in the commit log.
7999 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
8000 (reftex-arg-cite): Use `reftex-cite-key-separator'.
8001 Correctly handle new value type returned by `reftex-citation'.
8003 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
8004 that entries with whitespace at various places are found.
8005 Doc fix. Include entries that are cross-referenced from cited entries.
8006 Include @String definitions in the resulting bib file. Add header
8007 and footer defined in `reftex-create-bibtex-header' and
8008 `reftex-create-bibtex-footer'.
8009 (reftex-do-citation): Make it possible again to insert
8010 non-existent entries. Save match data when asking for optional
8011 arguments. Return all keys, not just the first one.
8012 (reftex-all-used-citation-keys): Fix regexp to correctly extract
8013 all citations in the same line.
8014 (reftex-parse-bibtex-entry): Accept additional optional argument
8015 `raw' and keep quotes or braces if it is non-nil. Match fields
8016 containing hyphens besides word constituents.
8017 (reftex-get-string-refs): New function.
8018 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
8019 and ask if it should be reread in case it did.
8020 (reftex-pop-to-bibtex-entry)
8021 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
8022 entries with spaces or tabs in front of arguments.
8023 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8024 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
8025 Match entries containing numbers and symbol constituents.
8026 (reftex-do-citation, reftex-figure-out-cite-format):
8027 Use `reftex-cite-key-separator'.
8029 * textmodes/reftex-dcr.el: Move provide statement to end of file.
8030 (reftex-mouse-view-crossref): Explain why point is set.
8032 * textmodes/reftex-global.el: Whitespace changes.
8034 * textmodes/reftex-index.el: Move provide statement to end of
8036 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
8037 (reftex-index-visit-phrases-buffer): Set marker when visiting
8038 buffer. This allows for returning from the phrases file to the
8039 file one was just editing instead of the file where the last
8040 phrases was added from.
8041 (reftex-index-phrases-syntax-table): New variable. Give ?\"
8042 punctuation syntax as it usually is not used as string quote in
8043 TeX-related modes and may occur unmatched. The change also
8044 prevents fontification of quoted content.
8045 (reftex-index-phrases-mode): Use it.
8047 * textmodes/reftex-parse.el (reftex-parse-from-file):
8048 Move backward one char if a `\' was matched after a section macro.
8049 (reftex-parse-from-file): Use beginning of match instead of end as
8052 * textmodes/reftex-ref.el: Adapt creation of
8053 `reftex-<package>-<macro>' functions to new structure of
8054 `reftex-ref-style-alist'.
8055 (reftex-reference): Use `reftex-ref-style-list' function.
8056 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
8057 reference macro if `reftex-ref-macro-prompt' is non-nil.
8058 (reftex-reference): Pass refstyle to `reftex-format-special'.
8059 Determine reference macro by looking at
8060 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
8061 Use only one special format function.
8062 (reftex-varioref-vref, reftex-fancyref-fref)
8063 (reftex-fancyref-Fref): Remove definitions. The functions are now
8064 generated from `reftex-ref-style-alist'.
8065 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
8067 (reftex-format-special): New function.
8069 * textmodes/reftex-sel.el
8070 (reftex-select-cycle-ref-style-internal): Adapt to new structure
8071 of `reftex-ref-style-alist'. Remove code for testing macro type.
8072 (reftex-select-toggle-varioref)
8073 (reftex-select-toggle-fancyref): Remove.
8074 (reftex-select-cycle-ref-style-internal)
8075 (reftex-select-cycle-ref-style-forward)
8076 (reftex-select-cycle-ref-style-backward): New functions.
8077 (reftex-select-label-map): Use `v' and `V' for general cycling
8078 through reference styles. Add `p' for switching between number
8079 and page reference types.
8081 * textmodes/reftex-toc.el (reftex-re-enlarge):
8082 Call `enlarge-window' only if there is something to do because in Emacs
8083 the horizontal version throws an error even if the parameter is 0.
8085 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
8086 (reftex-plug-into-AUCTeX): Doc fix.
8087 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
8088 string. Adapt to new name.
8089 (reftex-ref-style-alist): Change structure so that it is not
8090 possible to use multiple different package names within a style.
8091 Remove the symbols for symbols for macro type distinction.
8092 Add characters for macro selection.
8093 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
8094 (reftex-create-bibtex-footer): New variables.
8095 (reftex-format-ref-function): Mention third argument of special
8097 (reftex-ref-style-alist, reftex-ref-style-default-list):
8099 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
8100 to new implementation. Mark as obsolete. Add compatibility code
8101 for honoring the variable values in case they are set.
8102 (reftex-cite-format-builtin, reftex-bibliography-commands):
8103 Add support for ConTeXt.
8104 (reftex-format-ref-function, reftex-format-cite-function):
8106 (reftex-cite-key-separator): New variable.
8108 * textmodes/reftex.el (reftex-syntax-table-for-bib)
8109 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
8110 `reftex-syntax-table' because parens have to retain their paren
8111 syntax in order for parsing of BibTeX entries like @book(...) to
8113 (reftex-in-comment): Do not error out if `comment-start-skip' is
8114 not set. Deal correctly with escaped comment characters.
8115 (reftex-tie-multifile-symbols): Add doc string.
8116 Initialize `reftex-ref-style-list'.
8117 (reftex-untie-multifile-symbols): Add doc string.
8118 (reftex-add-index-macros): Doc fix.
8119 (reftex-ref-style-activate, reftex-ref-style-toggle)
8120 (reftex-ref-style-list): New functions.
8121 (reftex-mode-menu): Use them. Adapt to new structure of
8122 `reftex-ref-style-alist'.
8123 (reftex-select-with-char): Kill the RefTeX Select buffer when
8125 (reftex-remove-if): New function.
8126 (reftex-erase-all-selection-and-index-buffers)
8127 (reftex-mode-menu): Reference styles are now computed from
8128 `reftex-ref-style-alist'. Fix typo.
8129 (reftex-report-bug): New function.
8130 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
8131 algorithms with O(n log n). Introduce optional argument SORT (not
8134 2012-09-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8136 Enhancements for triple-quote string syntax.
8137 * progmodes/python.el (python-syntax-propertize-function):
8138 Match both quote cases in one regexp.
8139 (python-syntax-stringify): Handle matches properly.
8141 2012-09-30 Juri Linkov <juri@jurta.org>
8143 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
8144 to nil around the call to `insert' to prevent
8145 directory time modification by lock_file. (Bug#2295)
8146 * tar-mode.el (tar-summarize-buffer): Idem.
8148 2012-09-30 Juri Linkov <juri@jurta.org>
8150 * facemenu.el (list-colors-sort): Add option "Luminance".
8151 (list-colors-sort-key): Implement it.
8153 * vc/diff-mode.el (diff-refine-removed):
8154 * vc/ediff-init.el (ediff-fine-diff-A):
8155 * vc/smerge-mode.el (smerge-refined-removed):
8156 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
8158 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
8160 * term/ns-win.el (x-file-dialog): New function.
8162 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
8164 * ido.el (ido-max-directory-size): Default to nil; the current
8165 default is small for POSIX systems, and impractical on Windows 7
8166 now that lstat returns directory sizes for NTFS.
8168 2012-09-30 Martin Rudalics <rudalics@gmx.at>
8170 In buffer display functions handle window-height/window-width
8171 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
8172 * window.el (window--display-buffer): New argument ALIST.
8173 Obey window-height and window-width alist entries.
8174 (window--try-to-split-window): New argument ALIST.
8175 Bind window-combination-limit to t when the window's size shall be
8176 changed and window-combination-limit equals `window-size'.
8177 (display-buffer-in-atom-window)
8178 (display-buffer-in-major-side-window)
8179 (display-buffer-in-side-window, display-buffer-same-window)
8180 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8181 (display-buffer-pop-up-window, display-buffer-below-selected)
8182 (display-buffer-at-bottom, display-buffer-in-previous-window)
8183 (display-buffer-use-some-window): Adjust all callers of
8184 window--display-buffer and window--try-to-split-window.
8185 (fit-frame-to-buffer): New option.
8186 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
8188 (display-buffer-in-major-side-window): Evaluate window-height /
8189 window-width alist entries.
8191 * help.el (temp-buffer-resize-frames)
8192 (temp-buffer-resize-regexps): Remove options.
8193 (temp-buffer-resize-mode): Adjust doc-string.
8194 (resize-temp-buffer-window): Don't consult
8195 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
8196 temp-buffer-resize-frames.
8198 * dired.el (dired-mark-pop-up):
8199 Call display-buffer-below-selected with a fit-window-to-buffer alist
8202 2012-09-30 Chong Yidong <cyd@gnu.org>
8204 * server.el (server-host): Document the security implications.
8205 (server-auth-key): Doc fix.
8207 * startup.el (initial-buffer-choice): Doc fix.
8209 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
8211 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
8214 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
8216 * help-fns.el (help-fns--obsolete): Fix last change.
8218 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
8220 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
8221 (minor-mode-map-alist): Remove redundant code.
8223 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
8224 visited in a buffer.
8225 (cvs-insert-visited-file): New function.
8226 (find-file-hook): Use it.
8228 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
8230 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
8232 (log-edit-empty-buffer-p): Don't require a space after a header.
8234 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
8236 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
8238 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
8239 a proper minor-mode.
8241 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
8243 2012-09-29 Glenn Morris <rgm@gnu.org>
8245 * winner.el (winner-mode): Remove variable (let define-minor-mode
8247 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
8249 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
8250 (winner-mode): Use define-minor-mode.
8252 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
8253 the full definition in loaddefs, rather than duplicating it.
8255 * help-macro.el (three-step-help): No need to autoload defcustom.
8257 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
8258 (inferior-lisp-program, inferior-lisp-load-command)
8259 (inferior-lisp-prompt, inferior-lisp-mode-hook):
8260 No need to autoload defcustoms.
8262 * hippie-exp.el (hippie-expand-try-functions-list)
8263 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
8264 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
8265 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
8266 (hippie-expand-only-buffers): No need to autoload defcustoms.
8267 * progmodes/vhdl-mode.el (vhdl-line-expand):
8268 Explicitly load hippie-exp, so it does not get autoloaded
8269 while hippie-expand-try-functions-list is let-bound.
8271 2012-09-28 Glenn Morris <rgm@gnu.org>
8273 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
8275 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
8276 Only "cl.el" counts as cl these days.
8278 2012-09-28 Juri Linkov <juri@jurta.org>
8280 Display archive errors in the echo area instead of inserting
8283 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
8284 to STDERR-TEST that can be a regexp matching a successful output.
8285 Create a temporary file and redirect stderr to it. Search for
8286 STDERR-TEST in the stderr output and display it in the echo area
8287 if no match is found.
8288 (archive-extract-by-file): New function like
8289 `archive-extract-by-stdout' but extracting archives to files
8290 and looking for successful matches in stdout. Function body is
8291 mostly copied from `archive-rar-extract'.
8292 (archive-rar-extract): Use `archive-extract-by-file'.
8293 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
8295 2012-09-28 Leo Liu <sdl.web@gmail.com>
8297 * pcomplete.el (pcomplete-show-completions):
8298 Use minibuffer-message to make pcomplete usable in minibuffer.
8300 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
8302 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8304 * type-break.el: Use lexical-binding.
8305 (type-break-mode): Use define-minor-mode.
8307 * emacs-lisp/pcase.el (pcase--mark-used): New.
8308 (pcase--u1): Use it (bug#12512).
8310 * custom.el (load-theme): Set buffer-file-name so the load is recorded
8311 in load-history with the right file name.
8313 2012-09-28 Tassilo Horn <tsdh@gnu.org>
8315 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
8316 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
8317 (doc-view-get-bounding-box): Make bounding box slicing work for
8318 ODF and DVI documents.
8320 2012-09-28 Glenn Morris <rgm@gnu.org>
8322 * type-break.el (type-break-mode, type-break-interval)
8323 (type-break-good-rest-interval, type-break-keystroke-threshold):
8324 No need to autoload.
8325 (type-break-good-rest-interval, type-break-keystroke-threshold):
8328 2012-09-28 Chong Yidong <cyd@gnu.org>
8330 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
8333 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8335 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
8337 2012-09-27 Glenn Morris <rgm@gnu.org>
8339 * faces.el (x-display-name): Declare (for without-x builds).
8341 * linum.el (linum-format): Don't autoload it. Improve :type.
8343 * progmodes/tcl.el: Don't require outline when compiling.
8344 (outline-regexp, outline-level): Declare.
8345 * textmodes/sgml-mode.el: Don't require outline when compiling.
8346 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
8348 * term.el (term-ansi-reset):
8349 Try setting term-ansi-face-already-done to nil. (Bug#11785)
8351 * vc/vc.el (vc-next-action): Only gripe about committing read-only
8352 files for RCS and SCCS. (Bug#9781)
8354 2012-09-27 Chong Yidong <cyd@gnu.org>
8356 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
8357 change; value should be t.
8359 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8361 * image-mode.el: Use lexical-binding.
8362 (image-mode-winprops): Use t to stand for the window of
8363 a buffer that's not displayed.
8364 * doc-view.el (doc-view-new-window-function): Handle the new
8366 (doc-view-enlarge): Make it a real nop if the size is not changed.
8367 (doc-view-display): Handle the case where the buffer is not (yet?)
8368 displayed in any window.
8369 (doc-view-saved-settings): New var.
8370 (doc-view-mode): Use it.
8371 (doc-view-fallback-mode): Set it.
8373 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
8374 Set lexical-binding.
8375 (minibuffer-eldef-shorten-default): New var.
8376 (minibuffer-default-in-prompt-regexps): Use it for new default.
8377 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
8379 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8381 * international/uni-bidi.el:
8382 * international/uni-category.el:
8383 * international/uni-name.el:
8384 * international/uni-numeric.el: Regenerate.
8386 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
8387 Stefan Monnier <monnier@iro.umontreal.ca>
8389 * profiler.el: New file.
8391 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
8393 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
8394 (testcover-reinstrument): Simplify with CSE.
8396 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8398 * window.el (temp-buffer-window-setup): Fix typo in docstring.
8400 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
8402 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
8403 (verilog-auto-input, verilog-auto-insert-lisp)
8404 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
8405 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
8406 (verilog-auto-unused, verilog-auto-wire)
8407 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
8408 newline. Reported by Andrew Jones.
8409 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
8410 Reported by Brad Dobbie.
8411 (verilog-batch-delete-trailing-whitespace):
8412 Create verilog-batch-delete-trailing-whitespace.
8413 Reported by Brad Dobbie.
8414 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
8415 parameters from another module. Reported by Dan Katz.
8416 (verilog-auto, verilog-auto-assign-modport)
8417 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
8418 AUTOINOUTMODPORT for UVM interface module shell generation.
8419 Reported by Brad Dobbie.
8420 (verilog-auto-inst-interfaced-ports): Make default nil, as more
8422 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
8423 Reported by Matt Martin.
8425 2012-09-25 Martin Rudalics <rudalics@gmx.at>
8427 * window.el (window--resize-child-windows): When resizing child
8428 windows proportionally, process them in reverse order to
8429 preserve the "when splitting a window the new one gets the odd
8431 (window--resize-root-window-vertically): When resizing the
8432 minibuffer window try to affect only windows at the bottom of the
8435 2012-09-25 Chong Yidong <cyd@gnu.org>
8437 * subr.el (declare): Doc fix.
8439 * help-fns.el (help-fns--obsolete): Handle macros properly.
8441 2012-09-25 Chong Yidong <cyd@gnu.org>
8443 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
8444 this function obsolete.
8446 * calendar/cal-x.el (calendar-two-frame-setup)
8447 (calendar-only-one-frame-setup, calendar-one-frame-setup):
8448 * calendar/calendar.el (american-calendar, european-calendar)
8449 (calendar-for-loop):
8450 * comint.el (comint-dynamic-simple-complete)
8451 (comint-dynamic-complete-as-filename, comint-unquote-filename):
8452 * desktop.el (desktop-load-default):
8453 * dired-x.el (dired-omit-here-always)
8454 (dired-hack-local-variables, dired-default-directory):
8455 * emacs-lisp/derived.el (derived-mode-class):
8456 * emacs-lisp/timer.el (timer-set-time-with-usecs):
8457 * emacs-lock.el (toggle-emacs-lock):
8458 * epa.el (epa-display-verify-result):
8459 * epg.el (epg-sign-keys, epg-start-sign-keys)
8460 (epg-passphrase-callback-function):
8461 * eshell/esh-util.el (eshell-for):
8462 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
8463 (eshell-add-to-window-buffer-names):
8464 * files.el (locate-file-completion):
8465 * imenu.el (imenu-example--create-c-index)
8466 (imenu-example--create-lisp-index)
8467 (imenu-example--lisp-extract-index-name)
8468 (imenu-example--name-and-position):
8469 * international/mule-cmds.el (princ-list):
8470 * international/mule-diag.el (decode-codepage-char):
8471 * international/mule-util.el (detect-coding-with-priority):
8472 * iswitchb.el (iswitchb-read-buffer):
8473 * mail/mailalias.el (mail-complete):
8474 * mail/sendmail.el (mail-sent-via):
8475 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
8476 (mouse-major-mode-menu):
8477 * password-cache.el (password-read-and-add):
8478 * pcomplete.el (pcomplete-parse-comint-arguments):
8479 * progmodes/sh-script.el (sh-maybe-here-document):
8480 * replace.el (query-replace-regexp-eval):
8481 * savehist.el (savehist-load):
8482 * simple.el (choose-completion-delete-max-match):
8483 * term.el (term-dynamic-simple-complete):
8484 * vc/ediff-init.el (ediff-check-version):
8485 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
8486 * vc/vc.el (vc-diff-switches-list):
8487 * view.el (view-return-to-alist-update): Likewise.
8489 * subr.el (eval-next-after-load, makehash, insert-string)
8490 (assoc-ignore-representation, assoc-ignore-case): Use declare to
8492 (mode-line-inverse-video): Variable deleted.
8494 * international/mule-util.el (string-to-sequence): Remove.
8496 * calendar/calendar.el (calendar-version):
8497 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
8498 (icalendar-convert-diary-to-ical):
8499 * cus-edit.el (custom-mode):
8500 * ansi-color.el (ansi-color-unfontify-region):
8501 * international/latin1-disp.el (latin1-char-displayable-p):
8502 * progmodes/cwarn.el (turn-on-cwarn-mode):
8503 * progmodes/which-func.el (which-func-update-1):
8504 Use define-obsolete-function-alias.
8506 * net/newst-backend.el (newsticker-cache-filename):
8507 * net/newst-treeview.el (newsticker-groups-filename):
8508 Fix incorrect obsolescence declaration.
8510 * allout.el (allout-passphrase-hint-string): Likewise.
8511 (allout-init): Use a declare form to mark obsolete.
8513 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
8514 this applies to functions.
8516 * iswitchb.el (iswitchb-read-buffer): Move code of
8517 iswitchb-define-mode-map here, and delete that obsolete function.
8519 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
8520 font-lock-reference-face.
8522 2012-09-25 Glenn Morris <rgm@gnu.org>
8524 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
8527 * eshell/em-term.el (eshell-term-name):
8528 Default to term-term-name. (Bug#12485)
8530 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8532 * progmodes/python.el (python-shell-send-buffer): Better handling
8533 of "if __name__ == '__main__':" conditionals when sending the buffer.
8535 2012-09-24 Glenn Morris <rgm@gnu.org>
8537 * eshell/esh-cmd.el (eshell-find-alias-function):
8538 Tighten up file-name regexp. (Bug#12499)
8540 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8542 Enhancements for triple-quote string syntax.
8543 * progmodes/python.el (python-quote-syntax): Remove.
8544 (python-syntax-propertize-function): New value.
8545 (python-syntax-count-quotes, python-syntax-stringify):
8548 2012-09-24 Chong Yidong <cyd@gnu.org>
8550 * mail/supercite.el (sc-version): Remove obsolete function.
8551 (sc-describe): Don't mark as obsolete, since it is bound.
8552 (sc-submit-bug-report): Remove.
8554 * vc/log-edit.el (cvs-changelog-full-paragraphs)
8555 (cvs-commit-buffer-require-final-newline): Remove.
8556 (log-edit-require-final-newline)
8557 (log-edit-changelog-full-paragraphs): Default to t.
8559 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
8560 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
8561 * vc/vc.el (vc-checkout-carefully): Likewise.
8563 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
8564 (emerge-version): Remove.
8566 * progmodes/compile.el (compile-internal): Remove.
8567 (compilation-parse-errors-function): Fix typo.
8569 * international/mule.el (set-char-table-default): Remove.
8570 (set-coding-priority, make-coding-system, generic-char-p)
8571 (charset-list, charset-bytes, charset-id): Use declare to mark
8572 functions as obsolete.
8574 * vc/pcvs-defs.el (cvs-buffer-name-alist)
8575 (cvs-invert-ignore-marks): Remove references to obsolete vars.
8576 * vc/vc-hooks.el (vc-default-registered): Don't use
8577 vc-master-templates.
8579 * font-lock.el (font-lock-reference-face):
8580 Use define-obsolete-variable-alias.
8582 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
8583 * calendar/calendar.el (calendar-font-lock-keywords):
8584 * calendar/diary-lib.el (diary-font-lock-keywords)
8585 (diary-fancy-font-lock-keywords):
8586 * textmodes/reftex-sel.el (reftex-insert-docstruct):
8587 * textmodes/reftex-index.el (reftex-insert-index):
8588 * textmodes/reftex-cite.el (reftex-format-bib-entry):
8589 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8590 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
8591 * progmodes/prolog.el (prolog-font-lock-keywords):
8592 * progmodes/idlwave.el (idlwave-idl-keywords):
8593 * progmodes/ada-mode.el (ada-font-lock-keywords):
8594 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
8596 2012-09-24 Glenn Morris <rgm@gnu.org>
8598 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
8600 2012-09-23 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8602 * progmodes/python.el (python-indent-line): More consistent cursor
8605 2012-09-23 Stefan Merten <smerten@oekonux.de>
8607 * textmodes/rst.el: Fix compiler warning.
8609 2012-09-23 Roland Winkler <winkler@gnu.org>
8611 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
8612 Transcribe also LaTeX hyphenation.
8613 (bibtex-reformat): Bug fix. Do not quote twice the elements of
8614 bibtex-reformat-previous-options.
8616 2012-09-23 Roland Winkler <winkler@gnu.org>
8618 * proced.el (proced-renice-command): New variable.
8619 (proced-marked-processes): New function.
8620 (proced-with-processes-buffer): New macro.
8621 (proced-send-signal): Use them.
8622 (proced-renice): New command bound to r.
8624 2012-09-23 Roland Winkler <winkler@gnu.org>
8626 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
8627 ibuffer-saved-filter-groups has one element, shortcut the call of
8628 completing-read. (Bug#12331)
8630 2012-09-23 Chong Yidong <cyd@gnu.org>
8632 * bindings.el (mode-line-toggle-read-only):
8633 * bs.el (bs-toggle-readonly):
8634 * buff-menu.el (Buffer-menu-toggle-read-only):
8635 * dired.el (dired-toggle-read-only):
8636 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
8638 2012-09-23 Chong Yidong <cyd@gnu.org>
8640 * image.el (image-type-available-p): Adapt to init-image-library
8643 2012-09-22 Juri Linkov <juri@jurta.org>
8645 * dired.el (dired-mode-map): Add [remap read-only-mode] for
8646 `dired-toggle-read-only'. (Bug#12462)
8648 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8650 * subr.el (temp-output-buffer-show): New function.
8651 (with-output-to-temp-buffer): Call temp-output-buffer-show
8652 instead of internal-temp-output-buffer-show.
8654 2012-09-22 Chong Yidong <cyd@gnu.org>
8656 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
8659 * repeat.el (repeat): Doc fix (Bug#12348).
8661 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
8664 * simple.el (shell-command-on-region): Doc fix.
8665 (read-only-mode): Doc fix.
8667 2012-09-22 Eli Zaretskii <eliz@gnu.org>
8669 * emacs-lisp/timer.el (run-with-idle-timer)
8670 (timer-activate-when-idle): Warn against reinvoking an idle timer
8671 from within its own timer action. (Bug#12447)
8673 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8675 * cus-start.el (window-combination-limit): Add new optional
8677 * window.el (temp-buffer-window-show)
8678 (window--try-to-split-window): Handle new values of
8679 window-combination-limit (Bug#1806).
8680 (split-window): Test window-combination-limit for t instead of
8682 (display-buffer-at-bottom): New buffer display action function.
8683 * help.el (temp-buffer-resize-regexps): New option.
8684 (temp-buffer-resize-mode): Rewrite doc-string.
8685 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
8686 Don't resize reused window. Suggested by Glenn Morris.
8688 2012-09-22 Stefan Merten <smerten@oekonux.de>
8690 * textmodes/rst.el: Revamp section title faces.
8691 (rst-official-version)
8692 (rst-package-emacs-version-alist): Sync with official version
8694 (rst-faces-defaults, rst-set-level-default)
8695 (rst-level-face-max, rst-level-face-base-color)
8696 (rst-level-face-base-light, rst-level-face-format-light)
8697 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
8698 (rst-adornment-faces-alist): Match new setup.
8699 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
8700 (rst-level-5, rst-level-6): New faces.
8702 2012-09-22 Chong Yidong <cyd@gnu.org>
8704 * simple.el (undo): Handle indirect buffers (Bug#8207).
8706 2012-09-21 Leo Liu <sdl.web@gmail.com>
8708 IDO: Disable match re-ordering for buffer switching.
8709 * ido.el (ido-buffer-disable-smart-matches): New variable.
8710 (ido-set-matches-1): Use it. (Bug#2042)
8712 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
8714 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8715 Fix 2011-05-17 change. (Bug#12418)
8717 2012-09-21 Leo Liu <sdl.web@gmail.com>
8719 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
8721 2012-09-21 Glenn Morris <rgm@gnu.org>
8723 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
8724 Be more robust about locating simple.el.
8726 2012-09-21 Glenn Morris <rgm@gnu.org>
8728 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
8730 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
8732 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
8734 2012-09-20 Juri Linkov <juri@jurta.org>
8736 * replace.el (query-replace-read-from): Use `read-regexp' instead
8737 of `read-from-minibuffer' when `regexp-flag' is non-nil.
8738 (occur-read-primary-args): Use `read-regexp' instead of
8740 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
8741 `read-from-minibuffer'.
8742 * isearch.el (isearch-occur): Use `read-regexp' instead of
8744 * dired.el (dired-read-regexp): Use `read-regexp' instead of
8745 `read-from-minibuffer'.
8746 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
8747 of `read-string'. (Bug#7567)
8749 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
8750 and allow accepting a list of strings prepended to a list of
8751 standard default values. Doc fix. (Bug#12321)
8753 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
8755 * replace.el (read-regexp): Don't add ": " when PROMPT already
8756 ends with a colon and space. (Bug#12321)
8758 2012-09-20 Tassilo Horn <tsdh@gnu.org>
8760 * doc-view.el (doc-view-display): Better fix for the cl-assertion
8763 2012-09-20 Stefan Merten <smerten@oekonux.de>
8765 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
8766 Fixes feature request bug#11711.
8767 (rst-mode): Create `imenu-create-index-function'.
8768 (rst-get-stripped-line): Delete after refactoring.
8769 (rst-section-tree, rst-section-tree-rec)
8770 (rst-section-tree-point): Refactor and document properly.
8771 (rst-imenu-find-adornments-for-position)
8772 (rst-imenu-convert-cell, rst-imenu-create-index):
8775 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8777 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
8778 (macroexp--expand-all): Use it.
8779 (macroexp--funcall-and-return): Remove by folding it into its sole
8780 caller (macroexp--warn-and-return).
8781 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
8782 Use macroexp--obsolete-warning.
8784 * calc/calc.el: Fix last change by removing the whole chunk, since it
8785 was only needed back when Calc was not bundled.
8787 2012-09-20 Martin Rudalics <rudalics@gmx.at>
8789 * emacs-lisp/debug.el (debug): Restore assignment to
8790 debugger-old-buffer removed on 2012-09-08.
8792 2012-09-20 Juri Linkov <juri@jurta.org>
8794 * dired-aux.el (dired-diff): Remove (require 'diff) since
8795 `diff-latest-backup-file' is now autoloaded.
8797 2012-09-20 Chong Yidong <cyd@gnu.org>
8799 * vc/diff.el (diff-latest-backup-file): Autoload.
8801 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8803 * calc/calc.el: Remove redundant autoload shape check.
8804 (sel-mode): Don't defvar.
8805 (calc-get-stack-element): Add `sel-mode' arg instead.
8806 (calc-top, calc-top-list): Pass it this additional argument.
8807 * calc/calc-store.el (calc-store-map):
8808 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
8809 (calc-map-equation, calc-outer-product, calc-inner-product):
8810 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
8812 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
8814 2012-09-19 Juri Linkov <juri@jurta.org>
8816 * dired-aux.el (dired-diff): Add (require 'diff) because
8817 `diff-latest-backup-file' is not autoloaded.
8818 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
8819 of `dired-get-filename' to t to not report error when there is
8820 no default file on the current line.
8822 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8824 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
8825 macroexp--eval-if-compile.
8826 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
8827 (macroexp--expand-all): Use them (bug#12371).
8829 * doc-view.el (doc-view-guess-paper-size)
8830 (doc-view-scale-bounding-box): Fix unbound `caddr'.
8832 2012-09-19 Tassilo Horn <tsdh@gnu.org>
8834 New feature: set optimal slice from BoundingBox information.
8835 * doc-view.el (doc-view-mode-map): Add keybinding.
8836 (doc-view-menu): Add menu entry.
8837 (doc-view-set-slice): Adapt docstring.
8838 (doc-view-get-bounding-box, doc-view-guess-paper-size)
8839 (doc-view-scale-bounding-box)
8840 (doc-view-set-slice-from-bounding-box): New functions.
8841 (doc-view-paper-sizes): New defvar.
8843 2012-09-19 Glenn Morris <rgm@gnu.org>
8845 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
8846 (byte-compile-log-warning): Autoload. (Bug#12371)
8848 * calendar/calendar.el (calendar-american-month-header)
8849 (calendar-european-month-header, calendar-iso-month-header)
8850 (calendar-month-header): New options.
8851 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
8852 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
8854 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
8856 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
8858 2012-09-18 Juri Linkov <juri@jurta.org>
8860 * dired-aux.el (dired-diff): Restore original functionality of
8861 getting the default value, but keep new feature of using the
8862 latest existing backup file (`diff-latest-backup-file').
8864 2012-09-18 Juri Linkov <juri@jurta.org>
8866 * dired.el (dired-mark): If the region is active in Transient Mark
8867 mode, mark all files in the active region. Doc fix.
8868 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
8869 Doc fix. (Bug#10624)
8871 2012-09-18 Juri Linkov <juri@jurta.org>
8873 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
8874 attributes for M-n are pulled from the file at point.
8875 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
8876 Suggested by Drew Adams. (Bug#10624)
8878 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
8880 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
8881 whitespace after "end".
8882 (ruby-do-end-to-brace): Collapse block to one line if it fits
8885 2012-09-18 Martin Rudalics <rudalics@gmx.at>
8887 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
8889 (debug): Don't remove debugger window when debugger is expected
8892 2012-09-18 Chong Yidong <cyd@gnu.org>
8894 * custom.el (defface): Doc fix.
8896 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
8898 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
8900 * progmodes/compile.el (compilation-start): Use compilation-always-kill
8901 to initialize query-on-exit; then test that instead (bug#12288).
8903 2012-09-17 Stefan Merten <smerten@oekonux.de>
8905 * textmodes/rst.el: Add support for `testcover'.
8906 (rst-defcustom-testcover, rst-testcover-add-compose)
8907 (rst-testcover-add-1value): New functions.
8908 (rst-portable-mark-active-p): Replace by `use-region-p'.
8909 (rst-update-section, rst-classify-adornment)
8910 (rst-find-title-line): Mark `1value' forms.
8911 (rst-classify-adornment): Remove superfluous form.
8912 (rst-update-section, rst-get-adornments-around)
8913 (rst-adornment-complete-p, rst-get-next-adornment)
8914 (rst-adjust, rst-promote-region)
8915 (rst-display-adornments-hierarchy, rst-straighten-adornments)
8916 (rst-find-pfx-in-region, rst-section-tree-rec)
8917 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
8918 (rst-toc-node, rst-toc, rst-forward-section)
8919 (rst-iterate-leftmost-paragraphs)
8920 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
8921 (rst-bullet-list-region)
8922 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
8923 (rst-compile-find-conf, rst-compile)
8924 (rst-repeat-last-character): Fix style.
8926 2012-09-17 Chong Yidong <cyd@gnu.org>
8928 * comint.el (comint--complete-file-name-data): Don't add a space
8929 if the status is `sole'; that adds a gratuitous space in the
8930 completion-cycling case (Bug#12092).
8932 * pcomplete.el (pcomplete-completions-at-point): Likewise.
8934 2012-09-17 Richard Stallman <rms@gnu.org>
8936 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
8937 only in the mime-shown mode, not in raw mode.
8938 (rmail-mime): Toggle off mime by displaying the message without
8939 mime processing. (Bug#12305)
8941 * mail/rmail.el (rmail-retry-failure):
8942 Turn off mime processing first. (Bug#12037)
8944 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
8946 2012-09-17 Chong Yidong <cyd@gnu.org>
8948 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
8949 (shell-dynamic-complete-functions): Convert to defcustom.
8950 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
8952 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
8953 * comint.el (comint-prompt-read-only):
8954 * custom.el (defcustom):
8955 * hi-lock.el (hi-lock-mode):
8956 * ibuffer.el (ibuffer-formats):
8957 * ielm.el (ielm-prompt-read-only):
8958 * novice.el (disable-command):
8959 * saveplace.el (toggle-save-place):
8960 * speedbar.el (speedbar-supported-extension-expressions):
8961 * startup.el (auto-save-list-file-prefix, init-file-user)
8962 (after-init-hook, inhibit-startup-echo-area-message):
8963 * strokes.el (strokes-help):
8964 * time-stamp.el (time-stamp):
8965 * calendar/calendar.el (calendar, diary-file):
8966 * calendar/diary-lib.el (diary-mail-entries, diary)
8967 (diary-list-entries-hook):
8968 * calendar/holidays.el (holidays, calendar-holidays):
8969 * calendar/lunar.el (lunar-phases):
8970 * calendar/solar.el (sunrise-sunset):
8971 * emulation/edt.el (edt-load-keys):
8972 * emulation/viper.el (viper-mode):
8973 * eshell/em-alias.el (eshell-command-aliases-list):
8974 * eshell/esh-util.el (eshell-convert-numeric-arguments):
8975 * international/ogonek.el (ogonek-information):
8976 * net/tramp-cmds.el (tramp-bug):
8977 * net/quickurl.el (quickurl-reread-hook-postfix):
8978 * play/decipher.el (decipher-font-lock-keywords):
8979 * progmodes/cc-styles.el (c-set-style):
8980 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
8981 * progmodes/inf-lisp.el (inferior-lisp-prompt):
8982 * progmodes/octave-mod.el (octave-mode):
8983 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
8984 * progmodes/verilog-mode.el (verilog-read-defines):
8985 * textmodes/two-column.el (2C-mode): Likewise.
8987 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
8989 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
8990 that holds many addresses.
8992 2012-09-16 Chong Yidong <cyd@gnu.org>
8994 * align.el (align-areas): Call the indication function with
8995 positions instead of markers for arguments (Bug#12343).
8997 * files.el (parse-colon-path): Use split-string (Bug#12351).
8999 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9000 (display-buffer-function): Mark as obsolete.
9002 * progmodes/compile.el (compilation-parse-errors): Accept list
9003 values similar to font-lock-keywords (Bug#12136).
9004 Suggested by Oleksandr Manzyuk.
9005 (compilation-error-regexp-alist): Doc fix.
9007 2012-09-15 Glenn Morris <rgm@gnu.org>
9009 * version.el (emacs-bzr-version-bzr): New function.
9010 (emacs-bzr-get-version): Add optional EXTERNAL argument.
9012 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
9013 checkouts, check the parent dirstate matches the branch.
9014 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
9017 * version.el (emacs-bzr-version): Doc fix.
9018 (emacs-bzr-version-dirstate): New function.
9019 (emacs-bzr-get-version): For lightweight checkouts, if the parent
9020 is local try and check that it matches the branch. If not, just
9021 use dirstate information. (Bug#12441)
9023 2012-09-14 Juri Linkov <juri@jurta.org>
9025 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
9028 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9030 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
9032 * emacs-lisp/edebug.el: Miscellaneous cleanup.
9033 Remove obsolete byte-compiler hack that tried to silence some warnings.
9034 (edebug-submit-bug-report): Remove.
9035 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
9036 Remove aliases, use the un-prefixed name instead.
9037 (edebug-pop-to-buffer): Consider other frames.
9038 (edebug-original-read):: Make it more obvious that it's always defined.
9039 (edebug--make-form-data-entry, edebug--form-data-name)
9040 (edebug--form-data-begin, edebug--form-data-end): Rename from the
9041 single-dashed name, and implement with cl-defstruct.
9042 (edebug-set-form-data-entry): Use the standard accessors.
9043 (edebug-make-top-form-data-entry): Use push.
9044 (edebug-no-match): Drop useless `funcall'.
9045 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
9047 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
9048 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
9049 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
9050 (easy-menu-define, with-custom-print): Remove redundant specs.
9051 (edebug-outside-overriding-local-map)
9052 (edebug-outside-overriding-terminal-local-map): Remove, unused.
9053 (edebug--display): Bind unread-command-events directly to nil rather
9054 than binding it to unread-command-events and later setting it to nil.
9055 (edebug--display): Kill edebug-eval-buffer here...
9056 (edebug--recursive-edit): ...rather than here.
9057 Bind standard-output and standard-input.
9058 (edebug-eval): Check cl-macroexpand-all is fboundp.
9059 (edebug-temp-display-freq-count): Fix last change.
9061 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
9062 * subr.el (noreturn, 1value): Add `debug' spec.
9063 * emacs-lisp/advice.el: Require cl-lib.
9064 (ad-copy-tree): Remove, use copy-tree instead.
9065 (ad-dolist): Remove use dolist or cl-dolist instead.
9066 (ad-do-return): Remove, use cl-return instead.
9067 (defadvice): Add `debug' spec.
9069 2012-09-13 Juri Linkov <juri@jurta.org>
9071 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
9074 2012-09-13 Glenn Morris <rgm@gnu.org>
9076 * calc/calc.el (math-compose-expr):
9077 * calc/calc-ext.el (math-compose-expr):
9078 * progmodes/cc-defs.el (cl-macroexpand-all):
9079 * progmodes/cc-langs.el (delete-duplicates, mapcan)
9080 (cl-macroexpand-all): Update declarations.
9082 * vc/vc.el: No need to require ediff.
9083 (ediff-load-version-control): Declare.
9084 (ediff-vc-internal): Fix declaration.
9085 (vc-version-ediff): Require ediff.
9087 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9089 Use a more backwards-compatible timer format (Bug#12430).
9090 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
9091 being right after USECS, as that better supports old code that
9092 inadvisedly looked directly at the timer vector.
9094 2012-09-13 Kenichi Handa <handa@gnu.org>
9096 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
9097 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
9098 `coding-priority' property of these language environment.
9100 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9102 Fix glitches caused by addition of psec to timers (Bug#12430).
9103 * image.el (image-animate-timer):
9104 * time.el (display-time-world-timer):
9105 Use timer--function and timer--args rather than raw access to
9108 2012-09-13 Glenn Morris <rgm@gnu.org>
9110 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
9111 If not compiling a file, try using load-file-name.
9113 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9115 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
9117 (edebug-update-eval-list): Use `push'.
9119 * emacs-lisp/edebug.el: Use lexical-binding.
9120 Remove the "edebug-" prefix from non-dynamically-scoped variables.
9121 Mark unused args with underscore.
9122 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
9123 (edebug-form-data): Use defvar-local.
9124 (edebug-make-before-and-after-form, edebug-make-after-form):
9126 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
9127 Not dynamically scoped any more.
9128 (edebug--enter-trace): Add arguments `function' and `args'.
9129 Rename from edebug-enter-trace.
9130 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
9131 (edebug--update-coverage): Add `after-index' and `value' args.
9132 Rename from edebug-update-coverage.
9133 (edebug-slow-after): Call it accordingly.
9134 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
9135 edebug-recursive-edit.
9136 (edebug--display): Call it accordingly. Add args `value',
9137 `offset-index', and `arg-mode'. Rename from edebug-display.
9138 (edebug-debugger, edebug): Call it accordingly.
9139 (edebug-eval-display-list): Use dolist.
9141 2012-09-12 Juri Linkov <juri@jurta.org>
9143 * info.el (Info-search): Don't check for isearch-mode and
9144 isearch-regexp before let-binding search-spaces-regexp to
9145 Info-search-whitespace-regexp.
9146 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
9147 search-whitespace-regexp if isearch-lax-whitespace or
9148 isearch-regexp-lax-whitespace is non-nil.
9149 (Info-mode): Don't set local variable search-whitespace-regexp.
9150 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
9152 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9154 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
9155 (debugger-env-macro): Remove support for unread-command-char.
9157 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
9158 the temporary map re-appearing on emulation-mode-map-alists.
9160 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
9163 * ehelp.el (with-electric-help): Accept functions in
9164 electric-help-form-to-execute.
9165 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
9166 And replace unread-command-char -> unread-command-events.
9168 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
9170 Sync with Tramp 2.2.6.
9172 * net/tramp.el (tramp-accept-process-output): Don't use
9173 JUST-THIS-ONE in the XEmacs case.
9175 * net/trampver.el: Update release number.
9177 2012-09-12 Martin Rudalics <rudalics@gmx.at>
9179 * emacs-lisp/debug.el (debugger-previous-window-height):
9181 (debug): When debugger-jumping-flag is non-nil try to restore
9182 height of debugger window. (Bug#8789)
9184 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9186 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
9187 overriding-local-map and pre/post-command-hook here.
9188 (edebug-recursive-edit): Do it here instead (bug#12345).
9189 (edebug-outside-unread-command-char): Remove all uses of
9190 unread-command-char.
9192 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
9193 inhibit-debugger is bound instead.
9195 2012-09-11 Bastien Guerry <bzg@gnu.org>
9197 * subr.el (set-temporary-overlay-map): Add a docstring.
9200 2012-09-11 Bastien Guerry <bzg@gnu.org>
9202 * minibuffer.el (completion-table-subvert): Fix docstring.
9205 2012-09-11 Bastien Guerry <bzg@gnu.org>
9207 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
9209 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
9211 * progmodes/sql.el: Version 3.1
9212 (sql-db2-escape-newlines): New variable.
9213 (sql-escape-newlines-filter): Use it.
9215 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
9217 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
9219 2012-09-10 Dan Nicolaescu <dann@gnu.org>
9221 * vc/diff-mode.el (diff-mode-menu):
9222 Bind diff-remove-trailing-whitespace.
9224 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9226 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
9227 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
9228 (emacs-lisp-byte-code-mode): New functions.
9229 (eval-sexp-add-defvars): Don't skip defvars in column >0.
9230 (eval-defun-2): Remove bogus interactive spec.
9231 (lisp-indent-line): Remove redundant whole-exp code, now done in
9232 indent-according-to-mode.
9233 (save-match-data): Remove redundant indent data.
9235 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
9238 2012-09-09 Juri Linkov <juri@jurta.org>
9240 * replace.el (replace-regexp-lax-whitespace): New defcustom.
9241 (replace-lax-whitespace, query-replace-regexp)
9242 (query-replace-regexp-eval, replace-regexp): Doc fix.
9243 (perform-replace, replace-highlight): Let-bind
9244 isearch-lax-whitespace to replace-lax-whitespace and
9245 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
9247 * isearch.el (isearch-query-replace): Let-bind
9248 replace-lax-whitespace to isearch-lax-whitespace and
9249 replace-regexp-lax-whitespace to
9250 isearch-regexp-lax-whitespace. (Bug#10885)
9252 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
9254 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
9256 2012-09-09 Alan Mackenzie <acm@muc.de>
9258 * progmodes/cc-engine.el (c-state-cache-init):
9259 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
9260 (c-record-parse-state-state):
9261 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
9263 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
9265 * register.el (register-separator): Rename from
9266 separator-register. All uses changed. Doc fix.
9267 (register): Fix version.
9269 2012-09-09 Chong Yidong <cyd@gnu.org>
9271 * replace.el (query-replace-map): Bind four new symbols for
9272 requesting window scrolling.
9274 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
9275 query-replace-map (Bug#8948).
9277 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
9279 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
9280 since they are now in query-replace-map.
9282 * window.el (scroll-other-window-down): Make the arg optional.
9284 2012-09-09 Chong Yidong <cyd@gnu.org>
9286 * files.el (hack-local-variables-confirm): Use quit-window to kill
9287 the *Local Variables* buffer.
9289 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9291 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
9292 not just expect to be at its beginning. Adjust callees.
9293 Succeed when do-end block has no space before the pipe character.
9294 (ruby-brace-to-do-end): When the original block is one-liner,
9295 convert to multiline. Reindent the result.
9297 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
9299 * register.el (register): New group.
9300 (separator-register): New user option.
9301 (increment-register): Route it to `append-to-register', if
9302 register contains text. Implication is that `C-x r +' can now be
9303 used for appending to a text register (bug#12217).
9304 (append-to-register, prepend-to-register): Add separator based on
9305 `separator-register'.
9307 2012-09-08 Alan Mackenzie <acm@muc.de>
9309 AWK Mode: make auto-newline work when there's "==" in the pattern.
9310 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
9312 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
9313 Test more rigorously for "=" token.
9315 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9317 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
9318 Only fail when reached LIMIT.
9320 2012-09-08 Chong Yidong <cyd@gnu.org>
9322 * dired.el (dired-mode-map): Don't bind M-=.
9324 * dired-aux.el (dired-diff): Use backup file as default.
9326 2012-09-08 Drew Adams <drew.adams@oracle.com>
9328 * subr.el (add-to-history): Fix delete usage (Bug#12314).
9330 2012-09-08 Chong Yidong <cyd@gnu.org>
9332 * subr.el (syntax-after, syntax-class): Doc fix.
9334 2012-09-08 Martin Rudalics <rudalics@gmx.at>
9336 * window.el (display-buffer-in-previous-window): New buffer
9337 display action function.
9339 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
9340 (debugger-previous-window): New variable.
9341 (debug): Rewrite using display-buffer-in-previous-window,
9342 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
9344 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9346 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
9348 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
9350 * progmodes/python.el (python-shell-send-string):
9351 When default-directory is remote, create temp file on remote
9353 (python-shell-send-file): When file is remote, pass local view of
9354 file paths to remote Python interpreter. (Bug#12340)
9356 2012-09-07 Chong Yidong <cyd@gnu.org>
9358 * window.el (switch-to-buffer): Doc fix (Bug#12181).
9360 * files.el (after-find-file): Don't fail on a read-only buffer if
9361 require-final-newline is `visit' or `visit-save' (Bug#11156).
9363 * subr.el (read-char-choice): Allow quitting via ESC ESC.
9365 * userlock.el (ask-user-about-supersession-threat):
9366 Use read-char-choice (Bug#12093).
9368 2012-09-07 Chong Yidong <cyd@gnu.org>
9370 * subr.el (buffer-narrowed-p): New function.
9372 * ses.el (ses-widen):
9373 * simple.el (count-words--buffer-message):
9374 * net/browse-url.el (browse-url-of-buffer): Use it.
9376 * simple.el (count-words-region): Don't signal an error if there
9377 is a non-nil prefix arg and the mark is not set.
9379 * help.el (describe-key-briefly): Allow the message to be seen
9380 when invoked from the minibuffer (Bug#7014).
9382 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9384 * progmodes/ruby-mode.el (ruby-end-of-defun)
9385 (ruby-beginning-of-defun): Simplify, allow indentation before
9386 block beginning and end keywords.
9387 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
9388 (ruby-end-of-defun): Expect that the point is at the beginning of
9391 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9393 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
9395 (cl--make-usage-args): Strip _ from argument names.
9397 2012-09-06 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
9399 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
9400 obsolete alias speedbar-key-map.
9401 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
9402 (vhdl-index-menu-init): Don't use obsolete variable
9403 font-lock-maximum-size.
9405 2012-09-06 Chong Yidong <cyd@gnu.org>
9407 * frame.el (window-system-version): Mark as obsolete.
9409 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
9410 of obsolete variable speedbar-key-map.
9412 2012-09-06 Juri Linkov <juri@jurta.org>
9414 * replace.el (replace-lax-whitespace): New defcustom.
9415 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9416 (replace-string, replace-regexp): Mention it in docstrings.
9417 (perform-replace, replace-highlight): Let-bind
9418 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
9419 to the values of replace-lax-whitespace and regexp-flag.
9420 Don't let-bind search-whitespace-regexp. (Bug#10885)
9422 * isearch.el (isearch-query-replace): Let-bind
9423 replace-lax-whitespace instead of let-binding
9424 replace-search-function and replace-re-search-function.
9425 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
9426 and isearch-regexp-lax-whitespace to lazy-highlight variables.
9427 (isearch-toggle-symbol): Set isearch-regexp to nil
9428 in isearch-word mode (like in isearch-toggle-word).
9430 2012-09-06 Juri Linkov <juri@jurta.org>
9432 * replace.el (replace-search-function)
9433 (replace-re-search-function): Set default values to nil.
9434 (perform-replace): Let-bind isearch-related variables based on
9435 replace-related values, call `isearch-search-fun' and let-bind
9436 the result to `search-function'. Remove code that sets
9437 `search-function' and `search-string' separately for
9439 (replace-highlight): Add new argument `delimited-flag' and
9440 rename other arguments to the names used in `perform-replace'.
9441 Let-bind `isearch-word' to the argument `delimited-flag'.
9442 (Bug#10885, bug#10887)
9444 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9446 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
9447 ruby-beginning-of-indent, simplify, allow all keywords to have
9448 indentation before them.
9449 (ruby-beginning-of-indent): Adjust for above. Search until the
9450 found point is not inside a string or comment.
9451 (ruby-font-lock-keywords): Allow symbols to start with "@"
9452 character, give them higher priority than variables.
9453 (ruby-syntax-propertize-function)
9454 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
9455 matchers. Expression expansions are not comments when inside a
9456 string, and there comment syntax status is irrelevant.
9457 (ruby-match-expression-expansion): New function. Check that
9458 expression expansion is inside a string, and it's not escaped.
9459 (ruby-font-lock-keywords): Use it.
9461 2012-09-05 Martin Rudalics <rudalics@gmx.at>
9463 * help.el (temp-buffer-max-height): New default value.
9464 (temp-buffer-resize-frames): New option.
9465 (resize-temp-buffer-window): Optionally resize frame.
9467 * window.el (fit-frame-to-buffer-bottom-margin): New option.
9468 (fit-frame-to-buffer): New function.
9470 2012-09-05 Glenn Morris <rgm@gnu.org>
9472 * emulation/cua-rect.el (cua--init-rectangles):
9473 * textmodes/picture.el (picture-mode-map):
9474 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
9475 like forward-char and backward-char. (Bug#12317)
9477 2012-09-05 Leo Liu <sdl.web@gmail.com>
9479 * progmodes/flymake.el (flymake-warning-re): New variable.
9480 (flymake-parse-line): Use it.
9482 2012-09-05 Glenn Morris <rgm@gnu.org>
9484 * calendar/holidays.el (holiday-christian-holidays):
9485 Rename an entry. (Bug#12289)
9487 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9489 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
9492 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9494 * loadup.el: Load macroexp. Remove hack.
9495 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
9496 (macroexp--expand-all): Use it to get better warnings.
9497 (macroexp--backtrace, macroexp--trim-backtrace-frame)
9498 (internal-macroexpand-for-load): New functions.
9499 (macroexp--pending-eager-loads): New var.
9500 (emacs-startup-hook): New hack to replace one in loadup.el.
9501 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
9502 (cl--compiler-macro-cXXr): Move to top, before they can be used.
9503 (cl-psetf): Simplify.
9504 (cl-defstruct): Add indent rule.
9506 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
9508 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
9509 over `user-mail-address' for the SMTP MAIL FROM envelope.
9510 (smtpmail-via-smtp): Ditto.
9512 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
9514 * progmodes/ruby-mode.el: Clean up keybindings.
9515 (ruby-mode-map): Don't bind ruby-electric-brace,
9516 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
9517 backward-kill-word, reindent-then-newline-and-indent.
9518 (ruby-mark-defun): Remove.
9519 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
9520 (ruby-mode): Set local beginning-of-defun-function and
9521 end-of-defun-function values.
9523 2012-09-03 Martin Rudalics <rudalics@gmx.at>
9525 * window.el (temp-buffer-window-setup-hook)
9526 (temp-buffer-window-show-hook): New hooks.
9527 (temp-buffer-window-setup, temp-buffer-window-show)
9528 (with-temp-buffer-window): New functions.
9529 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
9530 (special-display-popup-frame): Make sure the window used shows BUFFER.
9532 * help.el (temp-buffer-resize-mode): Fix doc-string.
9533 (resize-temp-buffer-window): New optional argument WINDOW.
9535 * files.el (recover-file, save-buffers-kill-emacs):
9536 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
9538 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
9540 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
9541 remote definition of `default-directory', ensure we can connect.
9543 2012-09-02 Juri Linkov <juri@jurta.org>
9545 Toggle whitespace matching mode with M-s SPC.
9546 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
9548 * isearch.el (search-whitespace-regexp): Doc fix.
9549 Remove cons cell customization.
9550 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
9551 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
9553 (isearch-forward, isearch-forward-regexp): Doc fix.
9554 (isearch-toggle-lax-whitespace): New command.
9555 (search-forward-lax-whitespace, search-backward-lax-whitespace)
9556 (re-search-forward-lax-whitespace)
9557 (re-search-backward-lax-whitespace): New functions.
9558 (isearch-whitespace-regexp): Remove function.
9559 (isearch-query-replace): Let-bind replace-search-function and
9560 replace-re-search-function.
9561 (isearch-occur): Let-bind search-spaces-regexp according to the
9562 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
9563 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
9564 condition for C-q SPC.
9565 (isearch-search-fun-default): Use new functions mentioned above.
9566 (isearch-search-forward, isearch-search-backward): Remove functions.
9567 (isearch-search): Don't let-bind search-spaces-regexp.
9568 (isearch-lazy-highlight-space-regexp): Remove variable.
9569 (isearch-lazy-highlight-lax-whitespace)
9570 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
9571 (isearch-lazy-highlight-new-loop): Use them.
9572 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
9574 2012-09-02 Chong Yidong <cyd@gnu.org>
9576 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
9578 2012-09-02 Glenn Morris <rgm@gnu.org>
9580 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
9582 2012-09-01 Glenn Morris <rgm@gnu.org>
9584 * term.el: Tidy up menu definitions.
9585 (term-mode-map): Use easymenu for In/Out, Complete menus.
9586 (term-pager-break-map): Initialize in the defvar.
9587 (term-terminal-menu, term-signals-menu): Define with easymenu.
9588 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
9589 (term-pager-menu): New, extracted from term-process-pager.
9590 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
9591 (term-update-mode-line): Propertize line/char and page items.
9592 (term-process-pager): Move keymap initialization elsewhere.
9594 2012-09-01 Martin Rudalics <rudalics@gmx.at>
9596 * window.el (switch-to-prev-buffer): Handle additional values of
9597 BURY-OR-KILL argument. Don't switch in minibuffer window.
9598 (switch-to-next-buffer): Don't switch in minibuffer window.
9599 (quit-restore-window): New function based on quit-window.
9600 Handle additional values of former KILL argument.
9601 (quit-window): Call quit-restore-window with appropriate
9602 interpretation of KILL argument.
9603 (display-buffer-below-selected): New buffer display action
9606 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
9608 * minibuffer.el (completion-at-point-functions): Complete docstring
9611 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
9613 Better seed support for (random).
9614 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
9615 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
9616 * play/mpuz.el, play/tetris.el, play/zone.el:
9617 * calc/calc-comb.el (math-init-random-base):
9618 * play/blackbox.el (bb-init-board):
9619 * play/life.el (life):
9620 * server.el (server-use-tcp):
9621 * type-break.el (type-break):
9622 Remove unnecessary call to (random t).
9623 * net/sasl.el (sasl-unique-id-function):
9624 Change (random t) to (random), now that the latter is more random.
9625 * play/life.el (life-initialized): Remove no-longer-needed var.
9627 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
9629 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9630 Consider frame's buffer predicate when choosing the buffer.
9633 2012-08-30 Richard Stallman <rms@gnu.org>
9635 * simple.el (special-mode-map): Delete binding for `z'.
9637 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
9639 * progmodes/compile.el (compilation-always-kill): Doc fix.
9641 2012-08-30 Chong Yidong <cyd@gnu.org>
9643 * window.el (display-buffer-reuse-frames): Make the obsolescence
9644 message more informative.
9646 2012-08-30 Glenn Morris <rgm@gnu.org>
9648 * paren.el (show-paren-delay):
9649 Add a :set function. Doc fix. (Bug#12297)
9651 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
9653 * progmodes/compile.el (compilation-always-kill): New var.
9654 (compilation-start): Use it.
9656 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9658 * simple.el (read-only-mode): Move from files.el for bootstrapping.
9659 * files.el (read-only-mode): Move to simple.el.
9661 * files.el (read-only-mode): New minor mode.
9662 (toggle-read-only): Use it and mark obsolete.
9663 (find-file--read-only):
9664 * vc/vc.el (vc-next-action, vc-checkout):
9665 * vc/vc-cvs.el (vc-cvs-checkout):
9666 * obsolete/vc-mcvs.el (vc-mcvs-update):
9667 * ffap.el (ffap--toggle-read-only): Update callers.
9669 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
9671 * eshell/esh-ext.el (eshell-external-command): Do not examine
9672 remote shell scripts.
9673 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
9675 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
9678 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9680 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
9682 2012-08-28 Leo Liu <sdl.web@gmail.com>
9684 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
9685 completion-at-point. (Bug#12220)
9687 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
9689 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
9691 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9693 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
9694 be buffer-local; add delete-trailing-whitespace (bug#12259).
9696 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
9698 * progmodes/hideif.el (hif-compress-define-list):
9699 Fix typo. (Bug#11951)
9701 2012-08-28 Dan Nicolaescu <dann@gnu.org>
9703 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
9704 buffer local setting.
9706 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
9707 rcirc-encode-coding-system.
9709 2012-08-28 Leo Liu <sdl.web@gmail.com>
9711 * net/rcirc.el (rcirc-split-message): New function.
9712 (rcirc-send-message): Use it. (Bug#12051)
9714 2012-08-28 Juri Linkov <juri@jurta.org>
9716 * info.el (Info-fontify-node): Hide empty lines at the end of
9717 the node. (Bug#12272)
9719 2012-08-27 Drew Adams <drew.adams@oracle.com>
9721 * dired.el (dired-pop-to-buffer): Make window start at beginning
9722 of buffer (Bug#12281).
9724 2012-08-26 Chong Yidong <cyd@gnu.org>
9726 * window.el (special-display-regexps, special-display-frame-alist)
9727 (special-display-buffer-names, special-display-function)
9728 (display-buffer-reuse-frames): Mark as obsolete.
9730 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
9732 * help.el (help-print-return-message): Don't treat
9733 display-buffer-reuse-frames specially.
9735 2012-08-26 Chong Yidong <cyd@gnu.org>
9737 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
9738 New variable, replacing gdb-frame-parameters.
9739 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
9740 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
9741 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
9742 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
9743 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
9744 the functions directly with gdb-display-buffer-other-frame-action.
9745 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
9746 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
9747 (gdb-display-stack-buffer, gdb-display-locals-buffer)
9748 (gdb-display-registers-buffer): Define directly.
9749 (def-gdb-display-buffer): Macro deleted.
9750 (gdb-display-buffer): Remove second and third args, callers don't
9751 use them. Defer to the default display-buffer behavior, apart
9752 from making windows dedicated.
9753 (gdb-setup-windows): Don't call display-buffer unnecessarily.
9755 * progmodes/gud.el (gud-display-line): Just use display-buffer.
9757 * window.el (display-buffer-pop-up-frame): Handle a
9758 pop-up-frame-parameters alist entry.
9759 (display-buffer): Document it.
9761 2012-08-26 Chong Yidong <cyd@gnu.org>
9763 * isearch.el (search-whitespace-regexp): Make string and nil
9764 values apply to both ordinary and regexp search. Allow a cons
9765 cell value to distinguish between the two.
9766 (isearch-whitespace-regexp, isearch-search-forward)
9767 (isearch-search-backward): New functions.
9768 (isearch-occur, isearch-search-fun-default, isearch-search)
9769 (isearch-lazy-highlight-new-loop): Use them.
9770 (isearch-forward, isearch-forward-regexp): Doc fix.
9772 2012-08-26 Chong Yidong <cyd@gnu.org>
9774 * faces.el (help-argument-name): Always inherit from italic
9777 2012-08-25 Martin Rudalics <rudalics@gmx.at>
9779 * window.el (window--even-window-heights): Even heights when
9780 WINDOW and the selected window form a vertical combination.
9781 (display-buffer-use-some-window): Provide that window used gets
9782 sized back by quit-window. (Bug#11880) and (Bug#12091)
9784 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
9786 Fix file time stamp problem with bzr and CVS (Bug#12001).
9787 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
9788 in the file's time stamp, since the version control system loses
9791 2012-08-22 Juri Linkov <juri@jurta.org>
9793 * info.el (Info-fontify-node): Hide the suffix of the
9794 Info file name in the header line. (Bug#12187)
9796 2012-08-22 Glenn Morris <rgm@gnu.org>
9798 * calendar/cal-tex.el (cal-tex-weekly-common):
9799 Restore leading blank page.
9801 2012-08-22 Le Wang <l26wang@gmail.com>
9803 * misc.el (forward-to-word, backward-to-word): Activate or extend
9804 the region under `shift-select-mode'. (Bug#12231)
9806 2012-08-22 Bastien Guerry <bzg@gnu.org>
9808 * progmodes/executable.el (executable-prefix): Set to "#!" instead
9809 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
9810 gives details on why the space is never needed.
9812 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9814 * window.el (walk-window-tree, window-with-parameter):
9815 New optional argument MINIBUF to control whether these functions
9816 should run on the minibuffer window.
9817 (window-at-side-list): Don't operate on minibuffer window.
9818 (window-in-direction): Simplify and rewrite doc-string.
9819 (window--size-ignore): Rename to window--size-ignore-p.
9821 (display-buffer-in-atom-window, window--major-non-side-window)
9822 (window--major-side-window, display-buffer-in-major-side-window)
9823 (delete-side-window, display-buffer-in-side-window):
9825 (window--side-check, window-deletable-p, delete-window)
9826 (delete-other-windows, split-window): Handle side windows and
9827 atomic windows appropriately.
9828 (window--display-buffer): Call display-buffer-record-window also
9829 when the window buffer did not change.
9831 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
9833 * help-fns.el (help-fns--key-bindings):
9834 Abbreviate non-symbol remap targets. (Bug#12174)
9836 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9838 * dired.el (dired-mark-remembered): Don't clobber point.
9841 2012-08-22 Glenn Morris <rgm@gnu.org>
9843 * progmodes/bug-reference.el (bug-reference): New custom group.
9844 (bug-reference-bug-regexp): Make it a defcustom.
9846 2012-08-22 Daiki Ueno <ueno@unixuser.org>
9848 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
9849 (js-paren-indent-offset, js-square-indent-offset)
9850 (js-curly-indent-offset): Add :safe (Bug#12257).
9852 2012-08-22 Edward O'Connor <hober0@gmail.com>
9854 * json.el (json-key-format): Add error properties.
9855 (json-encode-key): New function.
9856 (json-encode-hash-table, json-encode-alist, json-encode-plist):
9857 Use json-encode-key.
9859 2012-08-22 Glenn Morris <rgm@gnu.org>
9861 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
9862 (cal-tex-leftday, cal-tex-rightday): Remove functions.
9863 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
9864 Update for above change.
9866 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
9868 * cus-face.el (custom-face-attributes): Fix customize type for the
9869 :underline attribute. (Bug#11805)
9871 2012-08-21 Martin Rudalics <rudalics@gmx.at>
9873 * window.el (window-point-1, set-window-point-1): Remove.
9874 (window-in-direction, record-window-buffer)
9875 (set-window-buffer-start-and-point, split-window-below)
9876 (window--state-get-1, display-buffer-record-window):
9877 Replace calls to window-point-1 and set-window-point-1 by calls to
9878 window-point and set-window-point respectively.
9880 2012-08-21 Glenn Morris <rgm@gnu.org>
9882 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
9883 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
9886 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
9887 (cal-tex-shortday): New function.
9888 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
9889 (cal-tex-cursor-filofax-daily): Use the above.
9891 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
9893 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9894 (cal-tex-cursor-filofax-week): Use them.
9896 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
9898 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9899 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
9901 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
9902 (cal-tex-end-document): Don't rely on buffer name.
9904 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
9906 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
9907 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
9908 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
9911 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
9912 (cal-tex-cursor-week, cal-tex-cursor-week2)
9913 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
9914 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9915 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
9916 (cal-tex-insert-preamble, cal-tex-b-document)
9917 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
9918 Improve cal-tex-cmd usage.
9920 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
9921 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
9922 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
9923 (cal-tex-weekly-paper): New function.
9924 (cal-tex-cursor-week, cal-tex-cursor-week2)
9925 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
9926 (cal-tex-cursor-day): Use it.
9928 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
9929 (cal-tex-cursor-filofax-week): Remove leading blank page.
9931 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9932 Add autoload cookie. For now at least, don't use color, since
9933 no other cal-tex function does.
9935 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
9936 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9937 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
9939 2012-08-21 Juri Linkov <juri@jurta.org>
9941 * info.el (Info-file-attributes): New variable.
9942 (info-insert-file-contents): Add file attributes to
9943 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
9944 `Info-toc-nodes' when previous modtime of the Info file is less
9946 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
9947 of info.el. (Bug#12230)
9949 2012-08-20 Glenn Morris <rgm@gnu.org>
9951 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
9952 * calendar/holidays.el (calendar-holiday-list):
9953 Report errors with display-warning rather than beep'n'sleep.
9955 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
9957 * net/tramp.el (tramp-accept-process-output): Accept only output
9958 from PROC. Otherwise, process filters and sentinels might be
9959 confused. (Bug#12145)
9961 2012-08-20 Chong Yidong <cyd@gnu.org>
9963 * descr-text.el (describe-text-properties-1): Use overlays-in to
9964 report on empty overlays (Bug#3322).
9966 2012-08-20 Glenn Morris <rgm@gnu.org>
9968 * mail/rmailout.el (rmail-output-read-file-name):
9969 Trap and report errors in rmail-output-file-alist elements.
9971 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
9972 since most non-font-lock faces are not also variables).
9974 2012-08-20 Edward Reingold <reingold@iit.edu>
9976 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9977 New function. (Bug12160)
9979 2012-08-19 Glenn Morris <rgm@gnu.org>
9981 * mail/rmailout.el (rmail-output-read-file-name):
9982 Fix previous change (when the alist is nil or does not match).
9984 2012-08-19 Chong Yidong <cyd@gnu.org>
9986 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
9989 2012-08-18 Chong Yidong <cyd@gnu.org>
9991 * simple.el (yank-handled-properties): New defcustom.
9992 (yank-excluded-properties): Add font-lock-face and category.
9995 * subr.el (remove-yank-excluded-properties):
9996 Obey yank-handled-properties. The special handling of font-lock-face
9997 and category is now done this way, instead of being hard-coded.
9998 (insert-for-yank-1): Remove font-lock-face handling.
9999 (yank-handle-font-lock-face-property)
10000 (yank-handle-category-property): New function.
10002 2012-08-17 Glenn Morris <rgm@gnu.org>
10004 * mail/rmailout.el (rmail-output-read-file-name):
10005 Check rmail-output-file-alist against the full message body
10006 in the correct rmail buffer. (Bug#12214)
10008 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
10010 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
10011 Eliminate superfluous prompt. (Bug#12203)
10013 2012-08-17 Chong Yidong <cyd@gnu.org>
10015 * mouse.el (mouse-appearance-menu): If x-select-font returns a
10016 font spec, set the font directly (Bug#3228).
10018 2012-08-17 Martin Rudalics <rudalics@gmx.at>
10020 * window.el (delete-window): Fix last fix.
10022 2012-08-16 Martin Rudalics <rudalics@gmx.at>
10024 * window.el (window-valid-p): Move to window.c.
10025 (window-child, window-child-count, window-last-child)
10026 (window-normalize-window, window-combined-p)
10027 (window-combinations, window-atom-root, window-min-size)
10028 (window-sizable, window-sizable-p, window-size-fixed-p)
10029 (window-min-delta, window-max-delta, window--resizable)
10030 (window--resizable-p, window-resizable, window-total-size)
10031 (window-full-height-p, window-full-width-p, window-body-size)
10032 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
10033 (minimize-window, window-deletable-p, delete-window)
10034 (delete-other-windows, set-window-buffer-start-and-point)
10035 (next-buffer, previous-buffer, split-window, balance-windows-2)
10036 (set-window-text-height, window-buffer-height)
10037 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
10038 (truncated-partial-width-window-p): Minor code adjustments.
10039 In doc-strings state whether the argument window has to denote a
10040 live, valid or any window.
10042 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
10044 * progmodes/subword.el (subword-forward-function)
10045 (subword-backward-function, subword-forward-regexp)
10046 (subword-backward-regexp): New variables.
10047 (subword-forward, subword-forward-internal, subword-backward-internal):
10048 Use new variables, eg so that different "word" definitions
10049 can be easily used. (Bug#11411)
10051 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10053 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
10054 for composite selectors.
10055 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
10056 operation just because we can't find a previous revision.
10058 2012-08-15 Chong Yidong <cyd@gnu.org>
10060 * frame.el (set-frame-font): Accept font objects.
10062 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10064 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
10066 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
10068 * man.el (Man-overstrike-face, Man-underline-face)
10069 (Man-reverse-face): Remove variables.
10070 (Man-overstrike, Man-underline, Man-reverse): New faces.
10071 (Man-fontify-manpage): Use them instead of the variables.
10072 (Man-cleanup-manpage): Comment change.
10073 (Man-ansi-color-map): New variable.
10074 (Man-fontify-manpage): Use it.
10075 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
10077 Implement ANSI SGR parameters 22-27 (bug#12146).
10078 * ansi-color.el (ansi-colors): Doc fix.
10079 (ansi-color-context, ansi-color-context-region): Doc fix.
10080 (ansi-color--find-face): New function.
10081 (ansi-color-apply, ansi-color-apply-on-region): Use it.
10082 Rename the local variable `face' to `codes' since it is now a list of
10083 ansi codes. Doc fix.
10084 (ansi-color-get-face): Remove.
10085 (ansi-color-parse-sequence): New function, derived from
10086 ansi-color-get-face.
10087 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
10090 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
10092 * subr.el (read-passwd): Allow use from a minibuffer.
10094 2012-08-14 Eli Zaretskii <eliz@gnu.org>
10096 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
10097 inside comments and strings as identifiers.
10099 * progmodes/gud.el (gud-tooltip-print-command): Quote the
10100 expression to evaluate. This allows to evaluate expressions with
10101 embedded whitespace.
10102 (gud-tooltip-tips): Add a blank before the newline in the
10103 message-box text, for the benefit of message-box emulation on
10106 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
10107 messages from GDB, pop them up in a tooltip to give feedback to
10109 (gdb-tooltip-print-1): Quote the expression to evaluate.
10110 This allows to evaluate expressions with embedded whitespace.
10111 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
10112 if the TTY name is nil or empty (which happens when communicating
10113 with the inferior via pipes, e.g. on MS-Windows).
10114 (gdb-internals): If GDB sends a "&\n" empty debugging message,
10115 don't send that to the GUD buffer.
10117 2012-08-14 Glenn Morris <rgm@gnu.org>
10119 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
10120 Optimize away setq-default with no args, as for setq. (Bug#12195)
10122 2012-08-14 Chong Yidong <cyd@gnu.org>
10124 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
10126 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
10129 2012-08-14 Glenn Morris <rgm@gnu.org>
10131 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
10133 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
10135 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
10136 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10137 Use cached shell name.
10139 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10141 * progmodes/python.el (python-shell-send-string):
10142 (python-shell-send-setup-code): Do not use `format' with `message'.
10144 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
10146 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
10147 (ruby-percent-literal-beg-re): New constant.
10148 (ruby-syntax-general-delimiters-goto-beg): Rename to
10149 `ruby-syntax-enclosing-percent-literal', improve literal type check.
10150 (ruby-syntax-propertize-general-delimiters): Rename to
10151 `ruby-syntax-propertize-percent-literal', it's a shorter and more
10152 popular term. Adjust comments everywhere.
10153 (ruby-syntax-propertize-percent-literal): Only propertize when not
10154 inside a simple string or comment. When the literal is unclosed,
10155 leave the text after it unpropertized.
10156 (ruby-syntax-methods-before-regexp): New constant.
10157 (ruby-syntax-propertize-function): Use it to recognize regexps.
10158 Don't look at the text after regexp, just use the whitelist.
10160 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
10162 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
10163 non-nil always load the compiled file if it exists. (Bug#12197)
10165 2012-08-14 Chong Yidong <cyd@gnu.org>
10167 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
10168 (hi-lock-set-pattern): When deciding whether to use font lock or
10169 overlays, look at font-lock-mode instead of font-lock-fontified
10171 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
10172 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
10174 2012-08-14 Daiki Ueno <ueno@unixuser.org>
10176 * subr.el (internal--after-with-selected-window): Fix typo
10179 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10181 Use `completion-table-dynamic' for completion functions.
10182 * progmodes/python.el
10183 (python-shell-completion--do-completion-at-point)
10184 (python-shell-completion--get-completions):
10186 (python-shell-completion-complete-at-point): New function.
10187 (python-completion-complete-at-point): Use it.
10189 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
10191 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
10192 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
10194 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10196 * subr.el (function-get): Refine `autoload' arg so it can also
10197 autoload functions for gv.el (bug#12191).
10198 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
10201 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
10202 Prefer pcase-let over destructuring-bind.
10203 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
10204 Also, remove whitespace as we go, rather than after accumulating the
10207 * subr.el (internal--before-with-selected-window)
10208 (internal--after-with-selected-window): Fix typo seleted->selected.
10209 (with-selected-window): Adjust callers.
10210 Reported by Dmitry Gutov <dgutov@yandex.ru>.
10212 2012-08-13 Bastien Guerry <bzg@gnu.org>
10214 * window.el (special-display-popup-frame): Minor docstring
10215 enhancement. (Bug#12172)
10217 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
10219 * tar-mode.el (tar-header-data-end): Only ignore size for files of
10221 (tar-header-block-summarize, tar-get-descriptor): Handle pax
10224 * files.el (hack-local-variables-filter): Remove useless eval.
10226 2012-08-13 Martin Rudalics <rudalics@gmx.at>
10228 * subr.el (with-selected-window): Fix last change.
10230 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10232 * subr.el (internal--before-with-seleted-window)
10233 (internal--after-with-seleted-window): New functions.
10234 (with-selected-window): Use them, to replace dependency on
10237 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
10239 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
10240 binding for `newline'.
10241 (ruby-move-to-block): When moving backward, stop at block opening,
10243 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
10244 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
10245 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
10246 `ruby-toggle-block'.
10248 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10250 * ibuffer.el (ibuffer-do-toggle-read-only):
10251 * dired.el (dired-toggle-read-only):
10252 * buff-menu.el (Buffer-menu-toggle-read-only):
10253 * bindings.el (mode-line-toggle-read-only):
10254 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
10256 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
10258 * descr-text.el (describe-char): Put the overlays over the
10259 "displayed as" character.
10261 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
10263 * calc/calc-units.el (math-default-units-table): Give an
10265 (math-put-default-units): Add options to put composite units and
10266 unit systems in the default units table.
10267 (calc-convert-units): Send composite units to
10268 `math-put-default-units' when appropriate.
10270 2012-08-11 Glenn Morris <rgm@gnu.org>
10272 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
10274 * tutorial.el (help-with-tutorial):
10275 * emacs-lisp/copyright.el (copyright-update-directory):
10276 * emacs-lisp/autoload.el (autoload-find-generated-file)
10277 (autoload-find-file): Disable local eval: (for insurance).
10279 * files.el (hack-local-variables-filter): If an eval: form is not
10280 known to be safe, and enable-local-variables is :safe, then ignore
10281 the form totally, as is done for non-eval forms. (Bug#12155)
10282 This is CVE-2012-3479.
10284 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10286 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
10287 (rx-form): Simplify.
10289 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
10291 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
10292 ?, _, and : are symbol constituents, ! is not (but kinda should be).
10293 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
10294 (ruby-syntax-propertize-function): Adjust for changes in
10295 `ruby-syntax-propertize-heredoc'.
10297 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
10299 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
10300 binding (use `M-;' instead).
10301 (ruby-singleton-class-p): New function.
10302 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
10304 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10306 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
10308 2012-08-10 Chong Yidong <cyd@gnu.org>
10310 * progmodes/python.el (python-shell-get-process-name): Don't mess
10311 with same-window-buffer-names.
10313 * eshell/eshell.el (eshell-add-to-window-buffer-names)
10314 (eshell-remove-from-window-buffer-names): Make obsolete.
10315 (eshell-buffer-name, eshell-unload-hook): Don't use them.
10316 (eshell): Just use pop-to-buffer-same-window instead.
10318 2012-08-10 Chong Yidong <cyd@gnu.org>
10320 * bindings.el: Bind M-= back to count-words-region.
10322 * simple.el (count-words-region): Accept a prefix arg for acting
10323 on the entire buffer.
10324 (count-words--buffer-message): New helper function.
10326 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10328 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
10329 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
10330 (event-start, event-end): Use posn-at-point to return a more
10332 (posnp): New function.
10333 * mouse.el (popup-menu-normalize-position): Use it.
10335 2012-08-10 Masatake YAMATO <yamato@redhat.com>
10337 * mouse.el (popup-menu-normalize-position): New function.
10338 (popup-menu): Use `popup-menu-normalize-position' to normalize
10339 the form for POSITION argument.
10341 * term/x-win.el (x-menu-bar-open):
10342 Use the value returend from (posn-at-point) as position
10343 passed to `popup-menu'.
10345 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10347 * calc/calccomp.el (math-compose-expr): Add extra argument
10348 indicating that parentheses should be put around products in
10349 denominators. Give multiplication precedence over division during
10352 2012-08-09 Chong Yidong <cyd@gnu.org>
10354 * man.el (Man-switches, Man-sed-command, Man-awk-command)
10355 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
10356 (Man-untabify-command, manual-program): Convert to defcustom
10359 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
10361 * descr-text.el (describe-char): Don't insert extra newlines
10364 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
10365 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
10367 * align.el (align-region): Delete temporary markers (Bug#10047).
10368 Plus some code cleanups.
10370 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10372 * progmodes/python.el (python-pdbtrack-tracked-buffer)
10373 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
10374 (python-shell-internal-last-output): Use make-local-variable
10375 instead of make-variable-buffer-local.
10377 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10379 * progmodes/python.el: Enhancements to forward-sexp.
10380 (python-nav-forward-sexp): Rename from
10381 python-nav-forward-sexp-function.
10382 (python-nav--forward-sexp, python-nav--backward-sexp):
10385 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10387 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
10388 modes and simplification modes.
10390 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10392 * delsel.el (delete-selection-pre-hook): Don't propagate the
10393 file-supersession signals (bug#12161).
10395 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10397 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
10398 (cl-map-extents): Add compatibility aliases (bug#12135).
10400 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
10402 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
10403 tests by `ignore-error'.
10404 (tramp-find-shell): Open also a new shell, when cache is already
10405 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
10407 2012-08-08 Juri Linkov <juri@jurta.org>
10409 * bookmark.el: Add `defaults' property to the bookmark record.
10410 (bookmark-current-buffer): Doc fix.
10411 (bookmark-make-record): Add `defaults' property with default values
10412 to the bookmark record.
10413 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
10414 with `bookmark-insert-current-bookmark'.
10415 (bookmark-set): Get `defaults' property from the bookmark record
10416 and use it in `read-from-minibuffer'.
10417 (bookmark-insert-current-bookmark): Remove function.
10419 * info.el (Info-bookmark-make-record): Add `defaults' property
10420 with values of canonical Info node name, the current Info file
10421 name and the current Info node name. (Bug#12107)
10423 2012-08-08 Juri Linkov <juri@jurta.org>
10425 * files.el (basic-save-buffer): Use `buffer-name' as the default
10426 of `read-file-name' when buffer is not visiting a file (bug#12128).
10428 2012-08-08 Juri Linkov <juri@jurta.org>
10430 * info.el (Info-isearch-search): Doc fix.
10431 (Info-search): Change search-failed message from "initial node" to
10432 "end of node" (bug#12078).
10433 (Info-isearch-search): Change `isearch-string-state' to
10434 `isearch--state-string'.
10436 2012-08-08 Glenn Morris <rgm@gnu.org>
10438 * language/persian.el: Remove file.
10439 * language/misc-lang.el: Move unique part of persian.el here.
10440 * loadup.el: Remove language/persian.
10442 2012-08-08 Ă“scar Fuentes <ofv@wanadoo.es>
10444 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
10446 2012-08-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10448 * progmodes/python.el: Fix defsubst warning.
10449 (python-syntax-context) Rename from python-info-ppss-context.
10450 (python-syntax-context-type): Rename from
10451 python-info-ppss-context-type.
10452 (python-syntax-comment-or-string-p): Rename from
10453 python-info-ppss-comment-or-string-p.
10455 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
10457 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
10459 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
10461 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
10462 a defcustom that is quoted with backquote.
10464 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
10465 Fix handling of interactive spec when the body uses return.
10466 (math-do-arg-check, math-define-function-body): Use backquote forms.
10467 * calc/calc-ext.el (math-defcache): Likewise.
10468 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
10469 * allout.el (allout-new-exposure): Likewise.
10470 * calc/calcalg2.el (math-tracing-integral): Likewise.
10471 * info.el (Info-last-menu-item): Likewise.
10472 * emulation/vip.el (vip-loop): Likewise.
10473 * textmodes/artist.el (artist-funcall): Likewise.
10474 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
10475 Construct menu-item directly.
10477 * progmodes/autoconf.el (font-lock-syntactic-keywords):
10480 2012-08-07 Chong Yidong <cyd@gnu.org>
10482 * simple.el (deactivate-mark): Preserve text properties when
10483 saving the primary selection (Bug#8384).
10485 2012-08-07 Kevin Ryde <user42@zip.com.au>
10487 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
10488 (woman-parse-numeric-value): On a bad .IP line, issue a warning
10489 and continue processing (Bug#12110).
10491 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10493 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
10494 syntax-propertize-function (bug#10095).
10496 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10498 * help-fns.el (help-fns--key-bindings, help-fns--signature)
10499 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
10500 describe-function-1.
10501 (describe-function-1): Use them. Move compiler macro after sig.
10502 (help-fns--compiler-macro): Use function-get. Assume we're already in
10503 standard-output. Adjust layout to new call order.
10505 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
10506 re-binding a symbol that has a symbol-macro (bug#12119).
10508 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
10510 * language/persian.el: New file. (Bug#11812)
10511 * loadup.el: Add language/persian.el.
10513 2012-08-06 Chong Yidong <cyd@gnu.org>
10515 * window.el (window--maybe-raise-frame): New function.
10516 (window--display-buffer): Split off from here.
10517 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10518 (display-buffer-pop-up-window, display-buffer-use-some-window):
10519 Obey an inhibit-switch-frame action alist entry.
10520 (display-buffer): Update doc.
10522 * replace.el (occur-after-change-function): Avoid losing focus by
10523 using the inhibit-switch-frame display parameter (Bug#12139).
10525 2012-08-06 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10527 Make internal shell process buffer names start with space.
10528 * progmodes/python.el (python-shell-make-comint): Add optional
10530 (run-python-internal): Use it.
10531 (python-shell-internal-get-or-create-process): Check for new
10532 internal buffer names.
10534 2012-08-06 Glenn Morris <rgm@gnu.org>
10536 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
10537 Do less getting and setting of environment variables.
10539 2012-08-05 Chong Yidong <cyd@gnu.org>
10541 * proced.el (proced): Add substitution string to docstring to
10542 trigger autoloading of the proced library on C-h f (Bug#1768).
10544 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10545 Don't show defvars which have no second argument (Bug#8638).
10547 * imenu.el (imenu-generic-expression): Move documentation here
10548 from imenu--generic-function.
10549 (imenu--generic-function): Refer to imenu-generic-expression.
10551 2012-08-05 Vegard Ă˜ye <vegard_oye@hotmail.com> (tiny change)
10553 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
10554 indentation declaration.
10555 (viper-loop): Add indentation declaration (Bug#7025).
10557 2012-08-05 Chong Yidong <cyd@gnu.org>
10559 * help-fns.el (describe-variable): Add hyperlink for
10560 directory-local variables files. Improve buffer-local and
10561 permanent-local reporting; suggested by MON KEY (Bug#6644).
10563 * help-mode.el (help-dir-local-var-def): New button type.
10565 * files.el (kill-buffer-hook): Provide a defvar.
10567 2012-08-05 Glenn Morris <rgm@gnu.org>
10569 * eshell/esh-ext.el (eshell/addpath):
10570 Also update eshell-path-env. (Bug#12013)
10572 2012-08-05 Chong Yidong <cyd@gnu.org>
10574 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
10576 * fringe.el (fringe-styles): Add docstring.
10577 (fringe--check-mode): New function.
10578 (set-fringe-mode, set-fringe-style): Use it.
10579 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
10581 * files.el (set-auto-mode): Fix invalid setq call.
10583 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10585 * isearch.el: Misc simplification; use defstruct.
10586 (isearch-mode-map): Dense maps now work like sparse ones.
10587 (isearch--state): New defstruct.
10588 (isearch-string-state, isearch-message-state, isearch-point-state)
10589 (isearch-success-state, isearch-forward-state)
10590 (isearch-other-end-state, isearch-word-state, isearch-error-state)
10591 (isearch-wrapped-state, isearch-barrier-state)
10592 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
10593 replaced by defstruct's accessors.
10594 (isearch--set-state): Rename from isearch-top-state and change
10595 calling convention.
10596 (isearch-push-state): Use new isearch--get-state.
10597 (isearch-toggle-word): Disable regexp when enabling word.
10598 (isearch-message-prefix): Remove unused arg _c-q-hack.
10599 (isearch-message-suffix): Remove unused arg _ellipsis.
10601 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
10603 * simple.el (list-processes--refresh): For a server use :host or
10604 :local as the address.
10605 (list-processes): Doc fix.
10607 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
10609 * lisp/mpc.el: Support password in host argument.
10610 (mpc--proc-connect): Parse and use new password element.
10611 Set mpc-proc variable instead of returning process.
10612 (mpc-proc): Adjust accordingly.
10614 2012-08-03 Eli Zaretskii <eliz@gnu.org>
10616 * whitespace.el (whitespace-display-mappings): Use Unicode
10617 codepoints, instead of emacs-mule codepoints. See
10618 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
10621 * files.el (file-truename): Don't skip symlink-chasing part on
10622 windows-nt. Incorporate the resolution of 8+3 short aliases on
10623 Windows into the loop that recursively chases symlinks.
10624 Compare directory and its parent case-insensitively on MS-Windows and
10627 2012-08-03 Chong Yidong <cyd@gnu.org>
10629 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
10631 * sort.el (sort-regexp-fields): Doc fix.
10633 2012-08-03 Tassilo Horn <tsdh@gnu.org>
10635 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
10636 labels regex position point at the expected place.
10638 2012-08-03 MON KEY <monkey@sandpframing.com>
10640 * net/imap.el (imap-interactive-login, imap-authenticate)
10641 (imap-mailbox-lsub, imap-mailbox-list)
10642 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
10643 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
10644 (imap-parse-response): Doc fix.
10646 2012-08-03 JoĂ£o TĂ¡vora <joaotavora@gmail.com>
10648 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
10649 if sexp scanning does not move point (Bug#5734).
10651 2012-08-02 Tassilo Horn <tsdh@gnu.org>
10653 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
10654 Add listings, minted, and ctable packages.
10655 (reftex-label-alist-builtin): Move listings, minted, and ctable
10656 entries before LaTeX.
10657 (reftex-label-alist): Docfix.
10659 2012-08-02 Bastien Guerry <bzg@gnu.org>
10661 * replace.el (occur): Fix docstring (bug#12122).
10663 2012-08-02 Glenn Morris <rgm@gnu.org>
10665 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
10667 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
10669 Obsolete alias inactivate-current-input-method-function (Bug#10150).
10670 * international/mule-cmds.el: Create
10671 inactivate-current-input-method-function as an obsolete alias for
10672 deactivate-current-input-method-function. See Katsumi Yamaoka in
10673 <http://bugs.gnu.org/10150#46>.
10675 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
10677 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
10680 2012-08-01 Glenn Morris <rgm@gnu.org>
10682 * progmodes/autoconf.el (autoconf-definition-regexp):
10683 Add AH_TEMPLATE, adjust submatch numbering.
10684 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
10685 (autoconf-current-defun-function): Update for above change.
10686 (autoconf-current-defun-function): First skip to end of current word.
10688 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
10690 * calendar/cal-html.el (cal-html-insert-agenda-days):
10691 Fix typo. (Bug#12018)
10693 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10695 Shell processes: enhancements to startup and CEDET compatibility.
10696 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
10697 (python-shell-make-comint): accept-process-output at startup.
10698 (run-python-internal): Set inferior-python-mode-hook to nil.
10699 (python-shell-internal-get-or-create-process): call sit-for.
10700 (python-preoutput-result): Add obsolete alias.
10701 (python-shell-internal-send-string): Use it.
10702 (python-shell-send-setup-code): Remove call to
10703 accept-process-output.
10705 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
10707 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
10710 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
10712 * calc-mode.el (calc-basic-simplification-mode): Rename from
10713 `calc-limited-simplification-mode'.
10714 (calc-alg-simplification-mode): New function.
10715 (calc-set-simplify-mode): Adjust message.
10717 * calc.el (calc-set-mode-line): Adjust mode line display for
10718 basic simplification mode.
10720 * calc-help.el (calc-m-prefix-help): Update help message.
10722 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
10723 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
10725 2012-07-31 Bastien Guerry <bzg@gnu.org>
10727 * man.el (man): Fix comment. (bug#12101)
10729 2012-07-31 Martin Rudalics <rudalics@gmx.at>
10731 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
10732 Don't return a non-nil value when no suitable buffer was found.
10734 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10736 * progmodes/python.el (run-python-internal): Disable font lock for
10739 2012-07-30 Stefan Merten <smerten@oekonux.de>
10741 * textmodes/rst.el: Silence `checkdoc-ispell'.
10742 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10743 (rst-official-version, rst-official-cvs-rev)
10744 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
10745 (rst-mode-map): New key binding.
10747 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
10749 Update .PHONY listings in makefiles.
10750 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
10751 autoloads, update-subdirs, updates, bzr-update, update-authors,
10752 compile-onefile, compile-calc, backup-compiled-files,
10753 compile-after-backup, compile-one-process, mh-autoloads,
10754 bootstrap-clean, distclean, maintainer-clean.
10756 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
10758 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
10759 (calc-set-mode-line): Don't display "AlgSimp ".
10761 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
10762 (calc-lim-simplify-mode): New function.
10763 (calc-set-simplify-mode): Default to 'alg.
10764 (calc-default-simplify-mode): Make algebraic simplifications
10767 * calc/calc-ext.el (calc-init-extensions): Remove binding for
10768 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
10770 * calc/calc-help.el (calc-m-prefix-help): Change messages to
10771 indicate new simplification modes.
10773 * calc/README: Mention new default simplification mode.
10775 * calc/calc.el (math-normalize-error): New variable.
10776 (math-normalize): Set `math-normalize-error' to t
10777 when there's an error.
10779 * calc/calc-alg.el (math-simplify): Don't simplify when
10780 `math-normalize' returns an error.
10782 2012-07-29 Eli Zaretskii <eliz@gnu.org>
10784 * international/mule-cmds.el (set-locale-environment): Revert last
10785 change, since display-graphic-p returns nil when this function is
10786 called during startup. Instead...
10788 * term/w32console.el (terminal-init-w32console): ...setup the
10789 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
10791 2012-07-29 Juri Linkov <juri@jurta.org>
10793 * simple.el (goto-line): Don't display default line number in the
10794 prompt because it should be displayed by `read-number' (bug#9952).
10795 Add the current line number to the defaults of `goto-line' to
10796 allow its easier modification by users with `M-n' (bug#9201).
10798 * subr.el (read-number): Support multiple default values like in
10799 other minibuffer reading functions. Replace `read' with
10800 `string-to-number' for consistency with `number-to-string'.
10802 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
10804 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
10805 * emulation/viper-init.el (viper-deactivate-input-method-action):
10806 Rename from viper-inactivate-input-method-action.
10807 (viper-deactivate-input-method):
10808 Rename from viper-inactivate-input-method.
10809 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
10810 * international/mule-cmds.el (deactivate-input-method):
10811 Rename from inactivate-input-method.
10812 Also run input-method-deactivate-hook.
10813 (deactivate-current-input-method-function):
10814 Rename from inactivate-current-input-method-function.
10815 (input-method-deactivate-hook): New hook.
10816 (input-method-inactivate-hook): Mark obsolete.
10817 (inactivate-input-method): Mark obsolete.
10819 * international/quail.el (quail-activate):
10820 Also run quail-deactivate-hook.
10821 (quail-deactivate): Rename from quail-inactivate.
10822 * international/robin.el (robin-activate):
10823 Also run robin-deactivate-hook.
10824 (robin-deactivate): Rename from robin-inactivate.
10826 2012-07-29 Chong Yidong <cyd@gnu.org>
10828 * simple.el (indicate-copied-region): New function.
10829 (kill-ring-save): Split off from here.
10831 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
10832 (kill-rectangle): Set deactivate-mark to t on read-only error.
10834 * register.el (copy-to-register, copy-rectangle-to-register):
10835 Deactivate the mark, and use indicate-copied-region (Bug#10056).
10836 (append-to-register, prepend-to-register): Call indicate-copied-region.
10838 2012-07-29 Juri Linkov <juri@jurta.org>
10840 * simple.el (async-shell-command-buffer): New defcustom.
10841 (shell-command): Use it. (Bug#4719)
10843 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10845 * international/mule-cmds.el (set-locale-environment): In a
10846 console session on MS-Windows, set up keyboard and terminal
10847 encoding from the OEM codepage, not the ANSI codepage.
10850 2012-07-28 Chong Yidong <cyd@gnu.org>
10852 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
10855 2012-07-28 Leo Liu <sdl.web@gmail.com>
10857 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
10858 the alist (bug#12029).
10860 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10862 * makefile.w32-in (custom-deps, finder-data, updates, compile)
10863 (compile-always, compile-first)
10864 ($(lisp)/calendar/cal-loaddefs.el)
10865 ($(lisp)/calendar/diary-loaddefs.el)
10866 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10867 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
10868 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
10869 instead of on update-subdirs.
10870 (bootstrap-clean): Delete $(lisp)/subdirs.el.
10872 2012-07-28 Chong Yidong <cyd@gnu.org>
10874 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
10875 directory if vc-deduce-backend returns nil (Bug#7350).
10877 * simple.el (delete-trailing-lines): New option.
10878 (delete-trailing-whitespace): Obey it (Bug#11879).
10880 2012-07-28 David Engster <deng@randomsample.de>
10882 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
10883 Explanation of new 'symbol-qnames feature in doc-strings.
10884 (xml-maybe-do-ns): Return expanded names as plain symbols if
10885 'symbol-qnames was provided in XML-NS argument (Bug#11916).
10886 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
10888 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10890 Consistent completion in inferior python with emacs -nw.
10891 * progmodes/python.el (inferior-python-mode): replace "<tab>"
10892 binding in inferior-python-mode-map with "\t".
10893 (python-shell-completion-complete-at-point)
10894 (python-completion-complete-at-point): Remove interactive spec.
10896 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10898 * calc/calccomp.el (math-compose-expr): Undo previous change.
10900 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10902 * progmodes/python.el (python-mode-map): Add keybinding for
10904 (python-shell-make-comint): Fix pop-to-buffer call.
10905 (run-python): Autoload. New arg SHOW.
10906 (python-shell-get-or-create-process): Do not pop python process
10909 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
10911 * notifications.el (notifications-on-action-signal)
10912 (notifications-on-closed-signal): Use also the bus address for the map.
10913 (notifications-notify, notifications-close-notification)
10914 (notifications-get-capabilities): Add optional argument BUS.
10916 2012-07-27 Tassilo Horn <tsdh@gnu.org>
10918 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
10919 Add support for the lstlisting and minted environments, and for the
10921 * textmodes/reftex.el (reftex-compile-variables): Also recognize
10922 labels written in keyvals syntax.
10924 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10926 * calc/calccomp.el (math-compose-expr): Use parentheses when
10927 there is a product in the denominator of a fraction.
10929 2012-07-26 Eli Zaretskii <eliz@gnu.org>
10931 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
10932 ($(lisp)/calendar/diary-loaddefs.el)
10933 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10934 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
10935 Fixes failures in parallel bootstrap because subdirs.el is being
10936 rewritten while the autoload files are built at the same time,
10937 which needs to load subdirs.el.
10939 2012-07-26 Martin Rudalics <rudalics@gmx.at>
10941 * mouse.el (popup-menu): Fix doc-string and re-indent code.
10942 (mouse-drag-line): Don't exit tracking when a switch-frame or
10943 switch-window event occurs (Bug#12006).
10945 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10947 * mouse.el (popup-menu): Fix last change.
10949 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10951 Autoload from Lisp with more care. Follow aliases when looking for
10952 function properties.
10953 * subr.el (autoloadp): New function.
10954 (symbol-file): Use it.
10955 (function-get): New function.
10956 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
10958 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
10959 (lisp-indent-function):
10960 * emacs-lisp/gv.el (gv-get):
10961 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
10962 * emacs-lisp/byte-opt.el (byte-optimize-form):
10963 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10964 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
10966 * emacs-lisp/cl.el: Don't propagate function properties any more.
10968 * speedbar.el (speedbar-add-localized-speedbar-support):
10969 * emacs-lisp/disass.el (disassemble-internal):
10970 * desktop.el (desktop-load-file):
10971 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
10972 (describe-function-1):
10973 * emacs-lisp/find-func.el (find-function-noselect):
10974 * emacs-lisp/elp.el (elp-instrument-function):
10975 * emacs-lisp/advice.el (ad-has-proper-definition):
10976 * apropos.el (apropos-safe-documentation, apropos-macrop):
10977 * emacs-lisp/debug.el (debug-on-entry):
10978 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
10979 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
10980 * calc/calc.el (name): Use autoloadp & autoload-do-load.
10982 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
10984 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
10985 function, not an obsolete variable (Bug#12046).
10987 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10989 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
10991 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
10993 * emacs-lisp/pp.el (pp-display-expression): Select old selected
10994 window only if it is still live (Bug#12034).
10996 2012-07-25 Martin Rudalics <rudalics@gmx.at>
10998 * subr.el (redirect-frame-focus): Add advertised calling
10999 convention (Bug#12030).
11001 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
11003 Prefer typical American spelling for "acknowledgment".
11004 * vc/add-log.el (change-log-acknowledgment): Rename from
11005 change-log-acknowledgement, with an alias for the old name.
11007 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
11009 * calc-alg.el (math-simplify-divide): Don't cross multiply
11010 in an equation when the lhs is a variable.
11012 2012-07-24 Julien Danjou <julien@danjou.info>
11014 * net/netrc.el (netrc-find-service-number, netrc-store-data):
11017 2012-07-23 Eli Zaretskii <eliz@gnu.org>
11019 * startup.el (command-line): Don't display an empty user name in
11020 the error message about non-existent home directory, when
11021 init-file-user was set to an empty string. See
11022 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
11023 for the details and context.
11025 2012-07-22 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11027 * ses.el (ses-cell-formula-aset): New macro.
11028 (ses-cell-references-aset): New macro.
11029 (ses-cell-p): New function.
11030 (ses-rename-cell): Do no longer rely on complex operations like
11031 ses-cell-set-formula or ses-set-cell to change the cell and handle
11032 the undo at the same time, but rather use lower level new macros
11033 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
11034 the undo directly. Refresh the mode line.
11036 2012-07-21 Leo Liu <sdl.web@gmail.com>
11038 * progmodes/cc-cmds.el (c-defun-name):
11039 Use match-string-no-properties instead for consistency.
11041 2012-07-20 Leo Liu <sdl.web@gmail.com>
11043 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
11046 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
11048 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
11050 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
11051 * progmodes/bug-reference.el, misearch.el: Provide themselves
11054 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
11055 of narrowed buffer (bug#11966).
11057 2012-07-20 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11059 * ses.el (ses-rename-cell): Set new name also in reference list of
11060 cells of which the renamed cell depends.
11062 2012-07-20 Masatake YAMATO <yamato@redhat.com>
11064 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
11065 to check whether menu-bar is shown or not. If not shown,
11066 show the menu-bar as a popup menu instead of using tmm.
11067 * mouse.el (popup-menu): Accept `point' as `position' argument.
11069 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
11071 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
11072 up inside string symbol literal (bug#11923).
11074 2012-07-20 Eli Zaretskii <eliz@gnu.org>
11076 * startup.el (fancy-startup-text): Read the whole tutorial, not
11077 just its first 256 bytes. Prevents gibberish in display of the
11080 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
11082 Drop idle buffer compaction due to an absence of the
11084 * compact.el: Remove.
11086 2012-07-19 Sam Steingold <sds@gnu.org>
11088 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
11089 vc-bzr-pull & vc-bzr-merge-branch.
11090 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
11091 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
11092 for consistency with compilation-error-regexp-alist.
11093 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
11094 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
11095 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
11096 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
11098 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11100 * emacs-lisp/chart.el: Use lexical-binding.
11101 (chart-emacs-storage): Don't hardcode the list of entries.
11103 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11105 Next round of tweaks caused by Fgarbage_collect changes.
11106 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
11108 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11110 Compact buffers when idle.
11111 * compact.el: New file.
11113 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11115 * subr.el (eventp): Presume that if it looks vaguely like an event,
11116 it's an event (bug#10190).
11118 2012-07-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11120 Enhancements to ppss related code (thanks Stefan).
11121 * progmodes/python.el (python-indent-context)
11122 (python-indent-calculate-indentation, python-indent-dedent-line)
11123 (python-indent-electric-colon, python-nav-forward-block)
11124 (python-mode-abbrev-table)
11125 (python-info-assignment-continuation-line-p): Simplify checks
11127 (python-info-continuation-line-p): Cleanup.
11128 (python-info-ppss-context): Do not catch 'quote.
11129 (python-info-ppss-context-type)
11130 (python-info-ppss-comment-or-string-p): Simplify.
11132 2012-07-18 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11134 * progmodes/python.el: Enhancements to eldoc support.
11135 (python-info-current-symbol): New function.
11136 (python-eldoc-at-point): Use python-info-current-symbol.
11137 (python-info-current-defun): Fix cornercase on first defun scan.
11138 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
11139 and signal error when no inferior python process is available.
11141 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
11143 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
11144 assume it's always t.
11145 (vc-git-registered): Remove caching, the function is only called
11147 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
11149 2012-07-18 Chong Yidong <cyd@gnu.org>
11151 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
11153 * simple.el (count-words): Report on narrowing (Bug#9959).
11155 * bindings.el: Bind M-= to count-words.
11157 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
11159 2012-07-18 Masatake YAMATO <yamato@redhat.com>
11161 * progmodes/sh-script.el (sh-imenu-generic-expression):
11162 Capture a function with `function' keyword and without parentheses
11163 like "function FOO" (bug#11856).
11165 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
11167 * window.el (split-window-sensibly): Make WINDOW argument
11170 2012-07-18 Chong Yidong <cyd@gnu.org>
11172 * subr.el (keyboard-translate): Doc fix (Bug#7261).
11174 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
11175 and make C-x 8 RET exit isearch (Bug#11439).
11177 * international/iso-transl.el: Move isearch-mode-map key
11178 definitions to isearch.el.
11180 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
11182 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
11183 (eieio-defclass): Use gv-define-setter when possible.
11185 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
11187 Reflect recent changes in Fgarbage_collect.
11188 * emacs-lisp/chart.el (chart-emacs-storage): Change to
11189 reflect new format of data returned by Fgarbage_collect.
11191 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11193 New utility functions + python-info-ppss-context fix (Bug#11910).
11194 * progmodes/python.el (python-info-beginning-of-block-statement-p)
11195 (python-info-ppss-comment-or-string-p): New functions.
11196 (python-info-ppss-context): Small fix for string check.
11198 2012-07-17 Juri Linkov <juri@jurta.org>
11200 * dired-aux.el (dired-do-async-shell-command): Doc fix.
11201 (dired-do-async-shell-command): Don't add `*' at the end of the
11202 command (Bug#11815).
11203 (dired-do-shell-command): Doc fix.
11204 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
11205 Join the individual commands using either "&" or ";" as the
11206 separator depending on the values of these trailing characters.
11207 At the end re-add the trailing "&". (Bug#10598)
11209 * simple.el (async-shell-command): Sync the interactive spec with
11210 `shell-command'. Doc fix.
11211 (shell-command): Doc fix.
11213 2012-07-17 Juri Linkov <juri@jurta.org>
11215 * descr-text.el (describe-char): Fix format args. (Bug#10129)
11217 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11219 Final renames and doc fixes for movement commands (bug#11899).
11220 * progmodes/python.el (python-nav-beginning-of-statement):
11221 Rename from python-nav-statement-start.
11222 (python-nav-end-of-statement): Rename from
11223 python-nav-statement-end.
11224 (python-nav-beginning-of-block): Rename from
11225 python-nav-block-start.
11226 (python-nav-end-of-block): Rename from python-nav-block-end.
11228 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11230 * progmodes/python.el (python-shell-send-string-no-output):
11231 Allow accept-process-output to quit, keeping shell process ready for
11232 future interactions (Bug#11868).
11234 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11236 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
11238 * emacs-lisp/elint.el (elint-find-args-in-code):
11239 Use help-function-arglist, so as to handle lexical byte-code.
11241 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
11242 change (bug#11826).
11244 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11246 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
11247 Avoid spuriously marking the buffer as modified because of c-is-sws.
11249 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
11250 as not-a-comment (bug#11946).
11252 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
11253 for uninterned vars.
11255 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
11256 Use read-event since we don't really want to read chars but bytes.
11258 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
11259 $$..$$ but also $..$ using regexps (bug#11953).
11260 Use tex-verbatim for \url and \path.
11261 (tex-font-lock-keywords): Define as defconst like the others.
11262 (tex-common-initialization): Don't use font-lock-syntax-table any more.
11264 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
11266 * international/mule-cmds.el (ucs-insert): Make it an obsolete
11267 alias for insert-char.
11269 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11271 * progmodes/python.el: Simplified imenu implementation.
11272 (python-nav-jump-to-defun): Remove command.
11273 (python-mode-map): Use `imenu' instead.
11274 (python-nav-list-defun-positions-cache)
11275 (python-imenu-include-defun-type, python-imenu-make-tree)
11276 (python-imenu-subtree-root-label, python-imenu-index-alist):
11278 (python-nav-list-defun-positions, python-nav-read-defun)
11279 (python-imenu-tree-assoc, python-imenu-make-element-tree)
11280 (python-imenu-make-tree, python-imenu-create-index):
11282 (python-mode): Update to interact with imenu by setting
11283 `imenu-extract-index-name-function' only.
11285 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11287 * progmodes/python.el: Enhancements to navigation commands.
11288 (python-nav-backward-sentence)
11289 (python-nav-forward-sentence): Remove.
11290 (python-nav-backward-statement, python-nav-forward-statement)
11291 (python-nav-statement-start, python-nav-statement-end)
11292 (python-nav-backward-block, python-nav-forward-block)
11293 (python-nav-block-start, python-nav-block-end)
11294 (python-nav-forward-sexp-function)
11295 (python-info-current-line-comment-p)
11296 (python-info-current-line-empty-p): New functions.
11297 (python-indent-context): Use `python-nav-statement-start'.
11299 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
11301 * eshell/em-ls.el (eshell/ls): Use `apply'.
11303 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
11304 multi-hops, instead of Tramp internals.
11306 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
11308 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
11309 when F1 and F2 are located on different hosts.
11311 2012-07-14 Chong Yidong <cyd@gnu.org>
11313 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
11314 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
11315 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
11316 (xterm-mouse--read-event-sequence-1000)
11317 (xterm-mouse--read-event-sequence-1006): New functions. For old
11318 mouse protocol, handle M-mouse-X events correctly.
11319 (xterm-mouse-event): New arg specifying mouse protocol.
11320 (turn-on-xterm-mouse-tracking-on-terminal)
11321 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
11322 sequence to toggle extended coordinates on newer XTerms.
11323 This appears to be harmless on terminals which do not support this.
11325 2012-07-14 Leo Liu <sdl.web@gmail.com>
11327 Add fringe bitmap indicators for flymake. (Bug#11253)
11328 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
11329 (flymake-make-overlay): New arg BITMAP.
11330 (flymake-error-bitmap, flymake-warning-bitmap)
11331 (flymake-fringe-indicator-position): New user variables.
11333 * fringe.el: New bitmap exclamation-mark.
11335 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
11337 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
11340 2012-07-14 Chong Yidong <cyd@gnu.org>
11342 * electric.el (electric-pair-post-self-insert-function): Fix pair
11343 insertion in empty-region case (Bug#11520).
11345 2012-07-14 Chong Yidong <cyd@gnu.org>
11347 * bindings.el: Consolidate ctl-x-r-map bindings.
11348 Bind copy-rectangle-as-kill to C-x r w.
11350 * rect.el, register.el: Move bindings to bindings.el.
11352 2012-07-14 Reuben Thomas <rrt@sc3d.org>
11354 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
11356 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
11358 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
11360 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
11362 * bindings.el (top): Use `mapc' instead of `mapcar'.
11364 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
11366 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
11368 * progmodes/sql.el (sql-comint): Suppress the check for program on
11369 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
11372 2012-07-13 Chong Yidong <cyd@gnu.org>
11374 * bindings.el: Assign a non-nil permanent-local property to
11375 per-buffer variables which lack a default value (Bug#11930).
11377 * help-fns.el (describe-variable): In the "automatically becomes
11378 local" notice, take note of permanent-local variables.
11380 2012-07-13 Chong Yidong <cyd@gnu.org>
11382 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
11383 to allow printing the message when called from Lisp.
11385 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11386 Remove toggle-read-only.
11388 * bs.el (bs-toggle-readonly):
11389 * buff-menu.el (Buffer-menu-toggle-read-only):
11390 Remove with-no-warnings around toggle-read-only.
11392 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
11393 Remove with-no-warnings around toggle-read-only.
11394 (ffap-read-only, ffap-read-only-other-window)
11395 (ffap-read-only-other-frame): Callers changed.
11397 * help-mode.el: Don't require view package.
11398 (help-mode-finish): Set buffer-read-only instead of calling
11401 * bindings.el (mode-line-toggle-read-only):
11402 * dired.el (dired-toggle-read-only):
11403 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
11404 with non-nil second arg.
11406 * emacs-lisp/eieio-custom.el (eieio-customize-object):
11407 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
11410 2012-07-12 Eli Zaretskii <eliz@gnu.org>
11412 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
11415 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
11417 More CL cleanups and reduction of use of cl.el.
11418 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
11419 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
11420 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
11421 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
11422 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
11423 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
11424 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
11425 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
11426 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
11427 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
11428 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
11429 * eshell/em-cmpl.el, eshell/em-banner.el:
11430 * calendar/parse-time.el: Use cl-lib.
11431 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
11432 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
11433 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
11434 * term/ns-win.el, term.el, shell.el, ps-samp.el:
11435 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
11436 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
11437 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
11438 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
11439 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
11440 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
11441 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
11442 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
11443 `lambda' rather than with `quote'.
11444 (eshell-do-opt): Adjust accordingly.
11445 (eshell-process-option): Simplify.
11446 * eshell/esh-var.el:
11447 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
11448 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
11449 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
11450 to `pcase--dontcare'.
11451 * emacs-lisp/cl.el (labels): Mark obsolete.
11452 (cl--letf, letf): Move to cl-lib.
11453 (cl--letf*, letf*): Remove.
11454 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
11455 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
11456 (cl-progv): Rewrite.
11457 (cl--letf, cl-letf): Move from cl.el.
11458 (cl-letf*): New macro.
11459 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
11461 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
11463 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
11465 2012-07-11 Chong Yidong <cyd@gnu.org>
11467 * vc/log-edit.el (log-edit-vc-backend): New variable.
11468 (log-edit): Doc fix.
11470 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
11471 argument of log-edit to set up all local variables.
11472 (vc-start-logentry): New optional arg specifying VC backend.
11474 * vc/vc.el (vc-checkin): Use it.
11475 (vc-deduce-fileset): Handle Log Edit buffers.
11476 (vc-diff): Make first argument optional too.
11478 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
11480 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
11482 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
11483 command, just in case. The function is not needed anymore.
11484 (eshell-external-command): Do not call `eshell-remote-command'.
11486 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
11488 Reduce use of (require 'cl).
11489 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
11490 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
11491 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
11492 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
11493 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
11494 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
11495 * battery.el, avoid.el, abbrev.el: Use cl-lib.
11496 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
11497 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
11498 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
11499 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
11500 * calculator.el, autorevert.el, apropos.el: Don't require CL.
11501 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
11502 (byte-compile-unfold-bcf, byte-compile-check-variable):
11503 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
11504 (byte-compile-nilconstp):
11505 * emacs-lisp/autoload.el (make-autoload): Use pcase.
11506 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
11508 * emacs-lisp/gv.el (cond): Make it a valid place.
11509 (if): Simplify slightly.
11511 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
11512 (pcase--self-quoting-p): New function.
11513 (pcase--u1): Use it.
11515 2012-07-10 Glenn Morris <rgm@gnu.org>
11517 * emacs-lisp/authors.el (authors-fixed-entries):
11518 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
11520 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
11522 Rename configure.in to configure.ac (Bug#11603).
11523 * emacs-lisp/authors.el (authors-canonical-file-name):
11524 * progmodes/autoconf.el (autoconf-mode):
11525 Prefer configure.ac to configure.in.
11527 2012-07-08 Chong Yidong <cyd@gnu.org>
11529 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
11530 Implement the mouse-1-click-follows-link handling properly.
11532 * info.el (Info-link-keymap): Use follow-link mechanism for
11533 header-line links (Bug#374).
11535 * simple.el (deactivate-mark): Do not set the primary selection
11536 if another program has acquired it (Bug#11772).
11538 2012-07-07 Kevin Ryde <user42@zip.com.au>
11540 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
11541 (woman-decode-region): Replace escaped-escapes without destroying
11542 bold or underline (Bug#11552).
11543 (woman2-process-escapes): Handle nofill regions (Bug#11591).
11545 2012-07-07 Chong Yidong <cyd@gnu.org>
11547 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
11548 (interprogram-cut-function, interprogram-paste-function):
11549 Mention that we typically mean the clipboard.
11551 2012-07-06 Glenn Morris <rgm@gnu.org>
11553 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
11555 * files.el (toggle-read-only): Restrict message to interactive use.
11557 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
11559 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
11561 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
11563 2012-07-06 Glenn Morris <rgm@gnu.org>
11565 * Makefile.in (compile-one-process): Rename from "recompile".
11567 * Makefile.in (bzr-update): "compile" is the same as "recompile
11568 autoloads", but parallelizable, so use that instead.
11570 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
11572 * window.el (quit-window): Always restore window height when
11573 it's saved in quit-restore parameter (Bug#11810).
11575 2012-07-06 Glenn Morris <rgm@gnu.org>
11577 * simple.el (kill-whole-line): Doc tweak.
11579 2012-07-06 Eli Zaretskii <eliz@gnu.org>
11581 * files.el (file-relative-name): Compare file names
11582 case-insensitively if on MS-Windows or MS-DOS, or if
11583 read-file-name-completion-ignore-case is non-nil. Don't use
11584 case-fold-search for this purpose. (Bug#11827)
11586 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
11588 * calendar/cal-dst.el (calendar-current-time-zone):
11589 Return calendar-current-time-zone-cache if non-nil.
11591 2012-07-17 Masatake YAMATO <yamato@redhat.com>
11592 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11594 * calendar/cal-dst.el (calendar-current-time-zone):
11595 Return calendar-current-time-zone-cache if non-nil.
11597 2012-07-06 Glenn Morris <rgm@gnu.org>
11599 * Makefile.in (cvs-update): Remove old alias.
11601 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
11603 Sync with Tramp 2.2.6-pre.
11605 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
11606 compatible declaration.
11608 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11609 Protect `list-load-path-shadows' call.
11611 * net/tramp-compat.el (top): Require packages, which aren't
11612 autoloaded anymore for XEmacs. Protect call of
11613 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
11614 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
11615 it hurts at least for SXEmacs.
11616 (tramp-compat-temporary-file-directory): In XEmacs, there is no
11617 standard-value for `temporary-file-directory'.
11619 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
11620 Redirect stderr to /dev/null.
11621 (tramp-sh-handle-write-region): uid and gid can be floats.
11622 Reported by Russell Sim <russell.sim@gmail.com>.
11623 (tramp-sh-handle-vc-registered): Hide errors.
11624 (tramp-vc-file-name-handler): Use dummy results for `process-file'
11625 and `start-file-process'.
11626 (tramp-maybe-open-connection): Check also whether `non-essential'
11629 2012-07-04 Chong Yidong <cyd@gnu.org>
11631 * xml.el (xml--parse-buffer): Use xml-syntax-table.
11632 (xml-parse-tag): Likewise, and avoid changing entity tables.
11633 (xml-syntax-table): Define from scratch, making sure not to give
11634 x2000 and other Unicode spaces whitespace syntax, since those are
11636 (xml-parse-fragment): Delete unused function.
11637 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
11638 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
11639 (xml-entity-ref, xml-pe-reference-re)
11640 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
11641 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
11642 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
11643 (xml-entity-value-re): Use syntax references in regexps where
11644 possible; no need to define inside a let-binding.
11645 (xml-parse-dtd): Use xml-pe-reference-re.
11646 (xml-entity-or-char-ref-re): New defconst.
11647 (xml-parse-string, xml-substitute-special): Use it.
11649 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11651 * files.el (locate-dominating-file): Allow `name' to be a predicate.
11652 (find-file--read-only): New function.
11653 (find-file-read-only, find-file-read-only-other-window)
11654 (find-file-read-only-other-frame): Use it.
11655 (insert-file-contents-literally): Don't `fset'.
11656 (get-free-disk-space): Use locate-dominating-file.
11658 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
11659 function is already compiled.
11661 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
11663 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
11665 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
11666 files on the same host.
11668 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
11670 * help-fns.el (describe-function-1): Only call
11671 help-fns--autoloaded-p when we have a file name. (Bug#11848)
11673 2012-07-03 Chong Yidong <cyd@gnu.org>
11675 * xml.el: Protect parser against XML bombs.
11676 (xml-entity-expansion-limit): New variable.
11677 (xml-parse-string, xml-substitute-special): Use it.
11678 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
11680 2012-07-03 Glenn Morris <rgm@gnu.org>
11682 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11683 Allow linking to specific messages in debbugs reports (eg 123#5).
11685 2012-07-02 Chong Yidong <cyd@gnu.org>
11687 * xml.el: Fix entity and character reference expansion, allowing
11688 them to expand into markup as per XML spec.
11689 (xml-default-ns): New variable.
11690 (xml-entity-alist): Use XML spec definitions for lt and amp.
11691 (xml-parse-region): Make first two arguments optional.
11692 Discard text properties.
11693 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
11694 All callers changed.
11695 (xml-parse-tag): Call xml-parse-tag-1. For backward
11696 compatibility, this function should not modify buffer contents.
11697 (xml-parse-tag-1): Fix opening-tag regexp.
11698 (xml-parse-string): Rewrite, handling entity and character
11699 references properly.
11700 (xml--entity-replacement-text): Signal an error if a parameter
11701 entity is undefined.
11703 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11705 * comint.el (comint-output-filter): Filter out repeated prompts.
11707 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
11708 and file-name-absolute-p.
11709 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
11712 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
11715 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
11716 Rename from byte-compile--refiy-function. All uses changed.
11718 2012-07-01 Chong Yidong <cyd@gnu.org>
11720 * xml.el (xml--parse-buffer): New function. Move most of
11721 xml-parse-region here.
11722 (xml-parse-region): Copy region into a temporary buffer, since
11723 parameter entity substitution requires changing buffer contents.
11724 Use xml--parse-buffer.
11725 (xml-parse-file): Use xml--parse-buffer.
11726 (xml-parse-dtd): Make parameter entity substitution work right.
11727 Use proper regexps for ELEMENT declarations (Bug#7172).
11729 2012-06-30 Glenn Morris <rgm@gnu.org>
11731 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
11733 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
11734 Remove outdated and unnecessary dbus declarations.
11736 2012-06-30 Eli Zaretskii <eliz@gnu.org>
11738 * emacs-lisp/timer.el (timer-until): Subtract results of
11739 float-time, instead of taking float-time of the result of
11740 time-subtract, since float-time signals an error for negative time
11743 2012-06-30 Chong Yidong <cyd@gnu.org>
11745 * xml.el (xml-*-re): Convert defvars into defconsts, and
11746 eval-and-compile them so eval-and-compile works on derivatives.
11747 (xml--entity-replacement-text): Use eval-and-comple.
11749 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
11751 * vc/vc-git.el (vc-git-registered): Use cache property
11753 (vc-git-mode-line-string): Call `vc-working-revision' instead of
11754 `vc-git-working-revision' in order to benefit from the cache.
11755 (vc-git-root): Use cache property `git-root'. (Bug#11757)
11757 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
11759 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
11760 removed (likely outside Emacs). (Bug#11757)
11762 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11764 * emacs-lisp/cl-lib.el: Require macroexp.
11766 2012-06-30 Chong Yidong <cyd@gnu.org>
11768 * xml.el: Implement XML parameter entities.
11769 (xml-parameter-entity-alist): New variable.
11770 (xml-parse-region, xml-parse-fragment): Preserve previous values
11771 of xml-entity-alist and xml-parameter-entity-alist, so that
11772 repeated calls on different documents do not change them.
11773 (xml-parse-tag): Fix doctype regexp.
11774 (xml--entity-replacement-text): New function.
11775 (xml-parse-dtd): Use it. Don't handle system entities; doing that
11776 properly requires url retrieval which is unimplemented.
11777 (xml-escape-string): Doc fix.
11779 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11781 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
11783 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
11785 * fringe.el (fringe-mode): Doc fix.
11787 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
11789 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
11791 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
11792 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
11794 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
11796 * calendar/cal-dst.el (calendar-current-time-zone):
11797 Return calendar-current-time-zone-cache if non-nil.
11799 2012-06-29 Masatake YAMATO <yamato@redhat.com>
11801 * progmodes/which-func.el (which-func-format):
11802 Add mouse-face. (Bug#11698)
11804 2012-06-29 Leo Liu <sdl.web@gmail.com>
11806 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
11808 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11810 * minibuffer.el (minibuffer-confirm-exit-commands):
11811 Add completion-at-point (bug#11725).
11813 2012-06-29 Glenn Morris <rgm@gnu.org>
11815 * progmodes/f90.el (f90-font-lock-keywords-2):
11816 Add some preprocessor elements. (Bug#10499)
11818 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11820 * progmodes/cperl-mode.el (cperl-update-syntaxification):
11821 Use syntax-propertize (bug#11739).
11823 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
11825 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
11827 2012-06-28 Julien Danjou <julien@danjou.info>
11829 * term.el (term-handle-colors-array): Use a set of new faces to
11830 color the terminal. Also uses :inverse-video property.
11831 (term-default-fg-color): Set to nil by default, deprecate in favor
11833 (term-default-bg-color): Set to nil by default, deprecate in favor
11835 (term-current-face): Use `term-face' by default.
11836 (term-bold-attribute): Variable deleted.
11838 2012-06-28 Glenn Morris <rgm@gnu.org>
11840 * simple.el (completion-list-mode-finish):
11841 Don't use toggle-read-only. (Since completion-list-mode has
11842 a special mode-class, it wasn't doing anything extra anyway.)
11844 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
11846 Make inlining of other-mode interpreted functions work (bug#11799).
11847 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
11848 (byte-compile): Use it to fix compilation of lexical-binding closures.
11849 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
11850 function, if needed.
11852 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11854 * help-mode.el (help-make-xrefs): Don't just withstand
11855 cyclic-variable-indirection but any error in documentation-property.
11857 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
11859 * bindings.el (bindings--define-key): New function.
11860 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
11861 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
11862 * bindings.el: Use it to purecopy define-key bindings.
11864 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
11866 * emacs-lisp/cl.el (flet): Mark obsolete.
11867 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
11868 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
11869 * progmodes/js.el (js-c-fill-paragraph):
11870 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
11871 (ebrowse-switch-member-buffer-to-derived-class):
11872 * play/5x5.el (5x5-solver): Use cl-flet.
11874 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
11875 (cl--symbol-function): New macro.
11876 (cl--letf, cl--letf*): Use it.
11878 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
11879 Strip "toggle-" if any.
11881 2012-06-27 Glenn Morris <rgm@gnu.org>
11883 * info.el (Info-default-directory-list): Move here from paths.el.
11884 * paths.el: Remove file, which is now empty.
11885 * loadup.el: No longer load "paths".
11887 * custom.el (custom-initialize-delay): Doc fix.
11889 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11890 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
11891 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
11892 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
11893 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
11894 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
11895 * eshell/eshell.el (eshell-defgroup): Remove alias.
11897 2012-06-27 Chong Yidong <cyd@gnu.org>
11899 * help.el (help-enable-auto-load): New variable.
11901 * help-fns.el (help-fns--autoloaded-p): New function.
11902 (describe-function-1): Refer to a function as "autoloaded" if it
11903 was autoloaded at any time in the past. Perform autoloading if
11904 help-enable-auto-load is non-nil.
11906 2012-06-26 Eli Zaretskii <eliz@gnu.org>
11908 * makefile.w32-in (compile, compile-always): Depend on
11909 update-subdirs, not on subdirs.el. Otherwise, several different
11910 sub-targets of 'bootstrap' running in parallel could
11911 simultaneously write to subdirs.el, producing a garbled file.
11913 2012-06-26 Sam Steingold <sds@gnu.org>
11915 * files.el (file-name-base): New convenience function.
11916 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
11917 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
11918 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
11919 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
11920 * textmodes/ispell.el, textmodes/reftex-ref.el:
11921 * textmodes/tex-mode.el: Use it.
11922 Did not touch cedet and org because they are maintained elsewhere.
11924 2012-06-26 Martin Rudalics <rudalics@gmx.at>
11926 * calendar/calendar.el (calendar-exit): Don't try to delete or
11927 iconify last frame. See:
11928 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
11930 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
11932 * server.el (server-process-filter): Remember dir in the
11933 process's `server-client-directory' properties.
11935 2012-06-24 Chong Yidong <cyd@gnu.org>
11937 * xml.el (xml-parse-tag): Correctly handle comment embedded in
11940 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
11942 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
11944 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11946 * help-fns.el (describe-variable): Don't croak when doc is not found.
11947 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
11948 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
11949 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
11950 * emacs-lisp/smie.el (smie-next-sexp): CSE.
11951 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
11953 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
11955 2012-06-23 Chong Yidong <cyd@gnu.org>
11957 * info.el (Info-mouse-follow-link): Accept symbol values of
11958 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
11959 (Info-fontify-node): Use Info-link-keymap for all navigation
11960 buttons, with link-args property to perform the desired action.
11961 (Info-link-keymap): Doc fix.
11962 (Info-next-link-keymap, Info-prev-link-keymap)
11963 (Info-up-link-keymap): Delete now-unused keymaps.
11965 2012-06-23 Chong Yidong <cyd@gnu.org>
11967 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
11969 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
11972 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
11974 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11976 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
11979 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
11980 the requote function doesn't work properly (bug#11714).
11982 2012-06-23 Glenn Morris <rgm@gnu.org>
11984 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
11986 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11988 Further GV/CL cleanups.
11989 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
11991 (gv--defun-declaration): New function.
11992 (defun-declarations-alist): Use it.
11993 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
11994 (gv-place): Autoload.
11995 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
11996 original definition of dotimes and dolist.
11997 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
11998 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
11999 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
12000 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12001 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
12002 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
12003 to the function's definition.
12004 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
12008 * env.el: Don't use CL.
12010 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
12012 Support higher-resolution time stamps (Bug#9000).
12014 * calendar/time-date.el (with-decoded-time-value): New arg
12015 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
12016 (encode-time-value): New optional arg PICO. New type 3.
12017 (time-to-seconds) [!float-time]: Support the new picoseconds
12018 component if it's used.
12019 (seconds-to-time, time-subtract, time-add):
12020 Support ps-resolution time stamps as well.
12022 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
12023 (timerp): Timer vectors now have length 9, not 8.
12024 (timer--time): Support new-style (4-part) time stamps.
12025 (timer-next-integral-multiple-of-time): Time stamps now have
12026 picosecond resolution, so take a bit more care about rounding.
12027 (timer-relative-time, timer-inc-time): New optional arg psecs.
12028 (timer-set-time-with-usecs): Set psecs to 0.
12029 (timer--activate): Check psecs component, too.
12031 * proced.el (proced-time-lessp): Support ps-resolution stamps.
12033 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12035 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
12036 Move the non-essential binding to the post/pre-command-hook where it is
12037 more obviously correct.
12039 * subr.el (read-passwd): Don't use a history at all.
12040 * savehist.el (savehist-save): Remove password saved accidentally
12041 because of the above bug.
12043 2012-06-22 Bastien Guerry <bzg@gnu.org>
12045 * files.el (toggle-read-only): Display a message telling whether
12046 the buffer is read-only or not (bug#11726).
12048 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12050 * emacs-lisp/gv.el: New file.
12051 * subr.el (push, pop): Extend to generalized variables.
12052 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
12053 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
12054 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
12055 gv-define-simple-setter, and gv-define-expander.
12056 Remove setf-methods defined in gv. Rename cl-setf -> setf.
12057 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
12058 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
12059 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
12060 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
12062 (cl-defstruct): Don't define setf-method any more.
12063 * emacs-lisp/cl.el (flet): Don't autoload.
12064 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
12065 (define-setf-expander, defsetf, define-modify-macro)
12066 (cl-struct-setf-expander): Move from cl-lib.el.
12067 * emacs-lisp/syntax.el:
12068 * emacs-lisp/ewoc.el:
12069 * emacs-lisp/smie.el:
12070 * emacs-lisp/cconv.el:
12071 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
12072 (timer--time): Use gv-define-simple-setter.
12073 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
12074 to avoid coding-system problems in subr.el. Adjust all users.
12075 (macroexp--maxsize, macroexp-small-p): New functions.
12076 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
12077 * scroll-bar.el (scroll-bar-mode):
12078 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
12079 (normal-erase-is-backspace-mode): Don't use the `eq' place.
12080 * winner.el (winner-configuration, winner-make-point-alist)
12081 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
12082 * files.el (locate-file-completion-table): Avoid list*.
12084 2012-06-22 Chong Yidong <cyd@gnu.org>
12086 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
12087 (dired-create-files): Doc fix (Bug#11329).
12088 (dired-do-copy): Doc fix (Bug#11334).
12089 (dired-mark-read-string): Doc fix (Bug#11553).
12091 * dired.el (dired-recursive-copies, dired-recursive-deletes):
12092 Doc fix (Bug#11326).
12093 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
12094 (dired-dwim-target): Doc fix.
12096 * wdired.el (wdired-mode): Doc fix.
12098 2012-06-22 Glenn Morris <rgm@gnu.org>
12100 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
12101 (pcmpl-rpm-cache-stamp-file): New constant.
12102 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
12103 (pcmpl-rpm-packages): Optionally cache list of packages.
12105 * pcmpl-rpm.el (pcmpl-rpm): New group.
12106 (pcmpl-rpm-query-options): New option.
12107 (pcmpl-rpm-packages): No need to inline it.
12108 Use pcmpl-rpm-query-options.
12110 * calendar/calendar.el (calendar-in-read-only-buffer):
12111 Avoid some needless mode changes.
12113 2012-06-21 Chong Yidong <cyd@gnu.org>
12115 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
12116 (desktop-path): Remove . from the default value (Bug#10977).
12117 (desktop-read): Use user-emacs-directory if desktop-path is nil.
12119 2012-06-20 Chong Yidong <cyd@gnu.org>
12121 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
12123 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
12125 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
12128 2012-06-20 Chong Yidong <cyd@gnu.org>
12130 * term.el (term-window-width): Handle the case of a missing right
12132 (term-check-size): Use window-text-height (Bug#5445).
12133 (term-mode): Use define-derived-mode. Minor cleanups.
12134 Set font-lock-defaults (Bug#7692).
12135 (term-move-columns, term-insert-char, term-emulate-terminal)
12136 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
12138 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
12140 * net/ange-ftp.el (ange-ftp-get-passwd):
12141 Bind `enable-recursive-minibuffers'.
12142 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
12144 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
12146 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
12148 2012-06-19 Glenn Morris <rgm@gnu.org>
12150 * progmodes/python.el (python-mode): Derive from prog-mode.
12152 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
12154 * emulation/edt.el (edt-default-menu-bar-update-buffers)
12155 (edt-user-menu-bar-update-buffers): New functions.
12156 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
12158 2012-06-19 Chong Yidong <cyd@gnu.org>
12160 * subr.el (with-selected-window): Preserve the selected window's
12161 terminal's top-frame (Bug#4702).
12163 * window.el (save-selected-window): Likewise.
12165 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12167 * progmodes/python.el (python-rx-constituents): Move backquote.
12168 (python-skeleton-define, python-define-auxiliary-skeleton):
12171 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
12173 * minibuffer.el (read-file-name-default): Revert the patch from
12176 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12178 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
12179 (pcase--u1, pcase--q1): Don't use apply-partially.
12181 2012-06-18 Glenn Morris <rgm@gnu.org>
12183 * progmodes/python.el (python-proc, python-buffer)
12184 (python-send-receive, python-send-string): Fix obsolete versions.
12186 2012-06-18 Martin Rudalics <rudalics@gmx.at>
12188 * window.el (special-display-p): Completely remove stringp
12189 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
12191 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
12193 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
12195 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
12197 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
12198 * net/tramp-sh.el (tramp-maybe-open-connection):
12199 Throw if `non-essential' is non-nil.
12201 2012-06-17 Martin Rudalics <rudalics@gmx.at>
12203 * window.el (special-display-p): Signal an error if BUFFER-NAME
12204 is not a string (Bug#11713).
12206 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
12208 * progmodes/python.el (python-info-beginning-of-backslash):
12209 Rename from python-info-beginning-of-backlash, as a spelling fix.
12211 2012-06-17 Chong Yidong <cyd@gnu.org>
12213 * term.el (term-emulate-terminal): If term-check-size is called,
12214 move point to the process mark without resetting point (Bug#4635).
12216 2012-06-17 Glenn Morris <rgm@gnu.org>
12218 * international/mule-cmds.el (mule-menu-keymap)
12219 (set-language-environment, set-locale-environment): Doc tweaks.
12221 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
12223 * cus-face.el (custom-face-attributes): Add wave-style underline
12225 * faces.el (set-face-attribute): Update docstring to describe
12226 wave-style underline attribute.
12228 2012-06-16 Chong Yidong <cyd@gnu.org>
12230 * term/xterm.el (terminal-init-xterm): Discard input before
12231 querying background mode (Bug#10959).
12233 2012-06-16 Stefan Merten <smerten@oekonux.de>
12235 * textmodes/rst.el: Added and corrected some comments.
12236 (rst-re-alist-def): Improve symbol syntax.
12237 (rst-mode-syntax-table): Correct syntax entries.
12238 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
12239 (rst-official-version, rst-official-cvs-rev): Update version
12242 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
12244 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
12245 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
12247 2012-06-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
12249 * progmodes/python.el: New python.el merge.
12250 (python-guess-indent): Obsolete var.
12251 (python-indent-guess-indent-offset): New defcustom.
12252 (python-indent): Obsolete var.
12253 (python-indent-offset): New defcustom.
12254 (python-python-command, python-jython-command): Delete var.
12255 (python-shell-interpreter): New defcustom.
12256 (python-pdbtrack-do-tracking-p): Delete var.
12257 (python-pdbtrack-activate): New defcustom.
12258 (python-use-skeletons): Obsolete var.
12259 (python-skeleton-autoinsert): New defcustom.
12260 (inferior-python-filter-regexp, python-continuation-offset)
12261 (python-honour-comment-indentation, python-indent-string-contents)
12262 (python-jython-packages, python-mode-hook)
12263 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
12264 (python-shell-prompt-alist)
12265 (python-source-modes): Delete defcustoms.
12266 (python-check-buffer-name, python-eldoc-setup-code)
12267 (python-eldoc-string-code, python-ffap-setup-code)
12268 (python-ffap-string-code, python-fill-comment-function)
12269 (python-fill-decorator-function, python-fill-paren-function)
12270 (python-fill-string-function, python-imenu-include-defun-type)
12271 (python-imenu-make-tree, python-imenu-subtree-root-label)
12272 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
12273 (python-shell-compilation-regexp-alist)
12274 (python-shell-completion-module-string-code)
12275 (python-shell-completion-pdb-string-code)
12276 (python-shell-completion-setup-code)
12277 (python-shell-completion-string-code)
12278 (python-shell-enable-font-lock, python-shell-exec-path)
12279 (python-shell-extra-pythonpaths)
12280 (python-shell-internal-buffer-name, python-shell-interpreter-args)
12281 (python-shell-process-environment)
12282 (python-shell-prompt-block-regexp)
12283 (python-shell-prompt-output-regexp)
12284 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
12285 (python-shell-send-setup-max-wait, python-shell-setup-codes)
12286 (python-shell-virtualenv-path): New defcustoms.
12287 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
12288 (inferior-python-mode-syntax-table, python--prompt-regexp)
12289 (python-buffer, python-command python-python-command)
12290 (python-default-template, python-imports, python-indent-index)
12291 (python-indent-list, python-indent-list-length)
12292 (python-mode-running, python-pdbtrack-is-tracking-p)
12293 (python-preoutput-continuation, python-preoutput-leftover)
12294 (python-preoutput-result, python-preoutput-skip-next-prompt)
12295 (python-prev-dir/file, python-recursing)
12296 (python-saved-check-command, python-version-checked)
12297 (python-which-func-length-limit)
12298 (view-return-to-alist): Delete vars.
12299 (python-check-custom-command, python-dotty-syntax-table)
12300 (python-imenu-index-alist, python-indent-current-level)
12301 (python-indent-dedenters, python-indent-levels)
12302 (python-nav-beginning-of-defun-regexp)
12303 (python-nav-list-defun-positions-cache)
12304 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
12305 (python-shell-internal-buffer)
12306 (python-skeleton-available): New vars.
12307 (def-python-skeleton): Delete macro.
12308 (python-skeleton-define): New macro.
12309 (python-define-auxiliary-skeleton, python-rx): New macros.
12310 (python-insert-class): Delete command.
12311 (python-skeleton-class): New command.
12312 (python-insert-def): Delete command.
12313 (python-skeleton-def): New command.
12314 (python-insert-for): Delete command.
12315 (python-skeleton-for): New command.
12316 (python-insert-if): Delete command.
12317 (python-skeleton-if): New command.
12318 (python-insert-try/except, python-insert-try/finally): Delete commands.
12319 (python-skeleton-try): New command.
12320 (python-insert-while): Delete command.
12321 (python-skeleton-while): New command.
12322 (python-backspace): Delete command.
12323 (python-indent-dedent-line-backspace): New command.
12324 (python-electric-colon): Delete command.
12325 (python-indent-electric-colon): New command.
12326 (python-guess-indent): Delete command.
12327 (python-indent-guess-indent-offset): New command.
12328 (python-shift-left): Delete command.
12329 (python-indent-shift-left): New command.
12330 (python-shift-right): Delete command.
12331 (python-indent-shift-right): New command.
12332 (python-find-function): Delete command.
12333 (python-nav-jump-to-defun): New command.
12334 (python-next-statement): Delete command.
12335 (python-nav-forward-sentence): New command.
12336 (python-previous-statement): Delete command.
12337 (python-nav-backward-sentence): New command.
12338 (python-fill-paragraph): Delete command.
12339 (python-fill-paragraph-function): New command.
12340 (python-send-buffer): Delete command.
12341 (python-shell-send-buffer): New command.
12342 (python-send-defun): Delete command.
12343 (python-shell-send-defun): New command.
12344 (python-send-region, python-send-region-and-go): Delete commands.
12345 (python-shell-send-region)
12346 (python-shell-switch-to-shell): New commands.
12347 (python-send-string): Delete command.
12348 (python-shell-send-string): New command.
12349 (python-switch-to-python): Delete command.
12350 (python-shell-switch-to-shell): New command.
12351 (python-describe-symbol): Delete command.
12352 (python-eldoc-at-point): New command.
12353 (python--set-prompt-regexp, python-args-to-list)
12354 (python-after-info-look, python-check-version)
12355 (python-check-comint-prompt, python-find-imports)
12356 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
12357 (python-unload-function, python-expand-template)
12358 (python-maybe-jython, python-preoutput-filter)
12359 (python-pdbtrack-get-source-buffer)
12360 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
12361 (python-pdbtrack-toggle-stack-tracking)
12362 (python-pdbtrack-track-stack-file, python-initial-text)
12363 (python-first-word, python-comment-line-p, python-send-command)
12364 (python-setup-brm, python-sentinel, python-set-proc)
12365 (python-skip-out, python-input-filter, python-outdent-p)
12366 (python-outline-level, python-backslash-continuation-line-p)
12367 (python-end-of-block, python-end-of-statement, python-mark-block)
12368 (python-beginning-of-block, python-beginning-of-statement)
12369 (python-blank-line-p, python-beginning-of-string)
12370 (python-open-block-statement-p): Delete functions.
12371 (python-indent-line, python-indent-line-1): Delete functions.
12372 (python-indent-line): New function.
12373 (python-indentation-levels): Delete function.
12374 (python-indent-calculate-levels): New function.
12375 (python-proc): Delete function.
12376 (python-shell-get-process): New function.
12377 (python-send-receive): Delete function.
12378 (python-shell-send-string-no-output): New function.
12379 (python-module-path): Delete function.
12380 (python-ffap-module-path): New function.
12381 (python-completion-at-point)
12382 (python-symbol-completions): Delete functions.
12383 (python-completion-complete-at-point): New function.
12384 (python-load-file): Delete function.
12385 (python-shell-send-file): New function.
12386 (python-calculate-indentation): Delete function.
12387 (python-indent-calculate-indentation): New function.
12388 (python-skip-comments/blanks): Delete function.
12389 (python-util-forward-comment): New function.
12390 (python-continuation-line-p): Delete function.
12391 (python-info-continuation-line-p): New function.
12392 (python-which-func, python-current-defun): Delete function.
12393 (python-info-current-defun): New function.
12394 (python-beginning-of-defun): Delete function.
12395 (python-nav-beginning-of-defun): New function.
12396 (python-close-block-statement-p)
12397 (python-block-end-p): Delete function.
12398 (python-info-closing-block): New function.
12399 (python-comint-output-filter-function)
12400 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
12401 (python-fill-comment, python-fill-decorator, python-fill-paren)
12402 (python-fill-string, python-imenu-make-element-tree)
12403 (python-imenu-make-tree, python-imenu-tree-assoc)
12404 (python-indent-context, python-indent-dedent-line)
12405 (python-indent-line-function)
12406 (python-indent-post-self-insert-function)
12407 (python-indent-toggle-levels)
12408 (python-info-assignment-continuation-line-p)
12409 (python-info-beginning-of-backlash)
12410 (python-info-block-continuation-line-p)
12411 (python-info-closing-block-message)
12412 (python-info-line-ends-backslash-p)
12413 (python-info-looking-at-beginning-of-defun)
12414 (python-info-ppss-context, python-info-ppss-context-type)
12415 (python-nav-list-defun-positions, python-nav-read-defun)
12416 (python-nav-sentence-end, python-nav-sentence-start)
12417 (python-pdbtrack-comint-output-filter-function)
12418 (python-pdbtrack-set-tracked-buffer)
12419 (python-shell-calculate-exec-path)
12420 (python-shell-calculate-process-environment)
12421 (python-shell-completion--do-completion-at-point)
12422 (python-shell-completion--get-completions)
12423 (python-shell-completion-complete-at-point)
12424 (python-shell-completion-complete-or-indent)
12425 (python-shell-get-or-create-process)
12426 (python-shell-get-process-name)
12427 (python-shell-internal-get-or-create-process)
12428 (python-shell-internal-get-process-name)
12429 (python-shell-internal-send-string, python-shell-make-comint)
12430 (python-shell-parse-command, python-shell-send-setup-code)
12431 (python-skeleton-add-menu-items)
12432 (python-util-clone-local-variables, python-util-position)
12433 (run-python-internal, python-indentation-levels)
12434 (python-nav-beginning-of-defun)
12435 (python-completion-complete-at-point): New functions.
12436 (run-python): Change arguments. New API requirements.
12438 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12440 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
12443 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
12444 (macroexp--expand-all): Use it.
12446 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
12447 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
12448 Use `cl-function' instead.
12450 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
12452 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
12453 Suggested by Stefan Monnier while discussing bug#11657.
12455 2012-06-14 Sam Steingold <sds@gnu.org>
12457 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
12459 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
12461 * play/doctor.el (doctor-doc): Remove parameter and use
12462 doctor-sent instead of sent.
12463 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
12465 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12467 * files.el: Require cl-lib.
12468 (file-name-non-special): Replace case -> cl-case.
12470 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
12472 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
12473 mapping from #' to function*.
12475 2012-06-13 Chong Yidong <cyd@gnu.org>
12477 * mouse.el (mouse-drag-track): Do not set the mark if the user
12478 releases the mouse without selecting anything (Bug#11588).
12480 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12482 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
12483 as well (bug#11646).
12485 * loadup.el: Count byte-code functions as well.
12487 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
12488 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
12490 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
12491 (bug#11649). Add cl-defun and cl-defmacro.
12493 2012-06-13 Drew Adams <drew.adams@oracle.com>
12495 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12498 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
12500 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
12501 Otherwise, it blocks in batch mode.
12503 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
12505 * help-mode.el (bookmark-make-record-default): Declare.
12507 2012-06-13 Chong Yidong <cyd@gnu.org>
12509 * emacs-lisp/package.el (list-packages): Compute a list of
12510 packages that are newly-available since the last list-packages
12512 (package-menu--new-package-list): New var.
12513 (package-menu--generate, package-menu--print-info)
12514 (package-menu--status-predicate, package-menu-mark-install):
12515 Handle new status label "new".
12517 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12519 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
12520 conversion to backquotes.
12522 2012-06-12 Chong Yidong <cyd@gnu.org>
12524 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
12525 Rename from gud-inhibit-global-bindings.
12527 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
12529 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
12530 hook from nxml-glyph-set-hook.
12532 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
12535 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
12537 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
12538 Convert to defcustom.
12540 2012-06-12 Drew Adams <drew.adams@oracle.com>
12542 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12544 (help-mode): Use them.
12546 2012-06-11 Glenn Morris <rgm@gnu.org>
12548 * progmodes/fortran.el (fortran-font-lock-keywords-3):
12549 Use preprocessor face for directives.
12550 (fortran-directive-re): Doc fix.
12552 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12554 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
12555 conversion to backquotes (bug#11652).
12557 Fix compiler-expansion of CL's cXXr functions (bug#11673).
12558 * emacs-lisp/cl-lib.el (cl--defalias): New function.
12559 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
12560 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
12561 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12562 (cl-ninth, cl-tenth): Mark them as inlinable.
12563 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
12564 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
12565 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
12566 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
12567 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
12568 (cl-list*, cl-adjoin): Don't put an autoload manually.
12569 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
12570 (cl--compiler-macro-list*): Add autoload cookie.
12571 (cl--compiler-macro-cXXr): New function.
12573 * help-fns.el (help-fns--compiler-macro): New function extracted from
12574 describe-function-1; follow aliases and use `compiler-macro' property.
12575 (describe-function-1): Use it.
12577 2012-06-11 Chong Yidong <cyd@gnu.org>
12579 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
12580 is uninstalled, if imagemagick is installed.
12582 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12584 * emacs-lisp/cl-lib.el: Use lexical-binding.
12585 (cl-map-extents, cl-maclisp-member): Remove.
12586 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
12587 (cl--set-substring, cl--block-wrapper, cl--block-throw)
12588 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
12589 * emacs-lisp/cl-extra.el: Use lexical-binding.
12590 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
12591 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
12592 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
12593 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
12594 * emacs-lisp/cl-seq.el: Use lexical-binding.
12595 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
12596 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
12597 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
12598 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
12599 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
12602 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
12604 Sync with Tramp 2.2.6-pre.
12606 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
12607 `print-length' and `print-level' to nil, in order to avoid
12608 truncation. Reported by Christopher Schmidt
12609 <christopher@ristopher.com>.
12611 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
12613 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
12615 (tramp-compat-copy-directory): Add optional argument
12616 COPY-CONTENTS. It is not handled yet.
12618 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
12619 (tramp-ftp-file-name-p): Simplify.
12621 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
12622 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
12625 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
12626 (tramp-methods): Do not use `tramp-password-end-of-line'.
12627 (tramp-completion-function-alist-putty): Handle UNIX case.
12628 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
12629 (tramp-do-file-attributes-with-stat)
12630 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
12631 gid as real numbers. They could run out of integer range on cygwin.
12632 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
12633 (tramp-sh-handle-expand-file-name): Handle hops.
12634 (tramp-open-connection-setup-interactive-shell):
12635 Use `tramp-cleanup'. Move check for busyboxes ...
12636 (tramp-find-shell): ... here. Simplify implementation.
12637 Set "remote-shell" property also for alternative shells.
12638 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
12639 If failing, a regular file would be written otherwise.
12640 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
12641 (tramp-find-inline-encoding): Cache the coding commands in the
12642 process cache. Apply test command on the remote side, if defined.
12643 (tramp-find-inline-compress): Cache the compress commands in the
12645 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
12646 when requested. Handle hops.
12647 (tramp-current-connection): New defvar.
12648 (tramp-maybe-open-connection): Use `tramp-cleanup'.
12649 Throw `suppress', if there was a failed connection shortly before.
12650 Handle user interrupt. (Bug#10187)
12651 (tramp-get-inline-compress, tramp-get-inline-coding):
12652 Read connection properties from the process cache.
12654 * net/tramp-smb.el (tramp-smb-server-version)
12655 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
12657 (tramp-smb-prompt): Extend for powershell prompt.
12658 (tramp-smb-file-name-handler-alist): Add handlers for
12659 `process-file', `shell-command' and `start-file-process'.
12660 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
12661 (tramp-smb-winexe-shell-command-switch): New defcustoms.
12662 (tramp-smb-file-name-p): Simplify.
12663 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
12664 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
12665 (tramp-smb-shell-quote-argument): New defuns.
12666 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
12667 Implement using "tar". By this, time-stamps are preserved.
12668 (tramp-smb-handle-copy-file): Handle also the case of directories.
12669 (tramp-smb-do-file-attributes-with-stat)
12670 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
12671 Use `tramp-get-connection-buffer').
12672 (tramp-smb-handle-rename-file): Use "rename", when source and
12673 target are on the same share.
12674 (tramp-smb-maybe-open-connection): Handle wrong passwords.
12675 Use `tramp-smb-server-version'.
12676 (tramp-smb-wait-for-output): Remove prompt.
12678 * net/tramp.el (top): Require 'cl.
12679 (tramp-methods, tramp-rsh-end-of-line):
12680 Remove `tramp-password-end-of-line' from docstring.
12681 (tramp-save-ad-hoc-proxies): New defcustom.
12682 (tramp-completion-function-alist): Adapt docstring.
12683 (tramp-default-password-end-of-line): Remove defcustom.
12684 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
12685 (tramp-user-regexp, tramp-file-name-regexp-unified)
12686 (tramp-file-name-regexp-url): Extend regexp by hop separator.
12687 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
12688 (tramp-remote-file-name-spec-regexp): New defconst.
12689 (tramp-file-name-structure): Extend structure for hops.
12690 (tramp-get-method-parameter): Move up.
12691 (tramp-file-name-p, tramp-dissect-file-name)
12692 (with-parsed-tramp-file-name): Handle hops.
12693 (tramp-file-name-hop): New defun.
12694 (tramp-make-tramp-file-name): New optional arg HOP.
12695 (tramp-message-show-progress-reporter-message): New defvar.
12696 (tramp-with-progress-reporter): Use it. We cannot use
12697 `tramp-message-show-message' here, because this suppresses also
12699 (tramp-error-with-buffer): Suppress buffer view, if
12700 `tramp-message-show-message' is nil.
12701 Use `tramp-get-connection-buffer'.
12702 (tramp-cleanup): New defun.
12703 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
12704 (tramp-file-name-handler): If `debug-on-error' is set, propagate
12705 an error unchanged.
12706 (tramp-completion-handle-file-name-all-completions): Handle hops.
12707 Fix an error when called from ido.
12708 (tramp-completion-dissect-file-name): Use better local variable
12709 name. Add hop to the vector.
12710 (tramp-handle-insert-file-contents): Use progress-reporter for the
12712 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
12714 (tramp-check-for-regexp): Simplify search.
12715 (tramp-enter-password): Remove it. Move implementation ...
12716 (tramp-action-password): ... here.
12717 (tramp-mode-string-to-int, tramp-local-host-p)
12718 (tramp-make-tramp-temp-file, tramp-read-passwd)
12719 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
12720 Set tramp-autoload cookie.
12722 * net/trampver.el: Update release number.
12724 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12725 Michael Albinus <michael.albinus@gmx.de>
12727 * net/tramp.el (tramp-set-completion-function): Fix docstring.
12728 (tramp-parse-group, tramp-parse-file)
12729 (tramp-parse-shostkeys-sknownhosts): New defuns.
12730 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
12731 (tramp-parse-shosts-group, tramp-parse-sconfig)
12732 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
12733 (tramp-parse-sknownhosts, tramp-parse-hosts)
12734 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
12736 (tramp-parse-passwd-group, tramp-parse-netrc-group)
12737 (tramp-parse-putty-group): Don't narrow.
12738 (tramp-parse-putty): Make a loop.
12739 (tramp-file-name-handler): Catch the `suppress' signal.
12741 2012-06-11 Chong Yidong <cyd@gnu.org>
12743 * image.el (imagemagick-register-types): Put the ImageMagick entry
12744 at the end of image-type-file-name-regexps.
12746 2012-06-11 Johan BockgĂ¥rd <bojohan@gnu.org>
12748 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
12749 (pcase, pcase-let*, pcase-dolist): Use them.
12751 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12753 * emacs-lisp/pcase.el (pcase--let*): New function.
12754 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
12755 (pcase--expand): Use macroexp-let².
12757 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
12759 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
12760 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
12761 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
12762 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
12763 * emacs-lisp/derived.el: Use pcase instead of `cl'.
12764 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
12766 2012-06-10 Glenn Morris <rgm@gnu.org>
12768 * mail/rmail.el (rmail-yank-current-message): Leave point at
12769 correct position. (Bug#11660)
12771 2012-06-10 Chong Yidong <cyd@gnu.org>
12773 * allout-widgets.el: Fix code header.
12775 2012-06-10 Chong Yidong <cyd@gnu.org>
12777 * cus-edit.el (customize-changed-options-previous-release):
12780 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
12782 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
12784 2012-06-09 Chong Yidong <cyd@gnu.org>
12786 * ebuff-menu.el (electric-buffer-list): Preserve header line.
12788 2012-06-09 Martin Rudalics <rudalics@gmx.at>
12790 * window.el (special-display-popup-frame): Don't use
12791 window--display-buffer (Bug#11651).
12793 2012-06-09 Eli Zaretskii <eliz@gnu.org>
12795 Fix parallel builds: make sure loaddefs.el is not being written
12796 while Lisp files are compiled.
12797 (compile): Don't depend on 'mh-autoloads'.
12798 (compile-CMD, compile-SH): Depend on 'autoloads'.
12799 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
12801 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
12803 2012-06-09 Chong Yidong <cyd@gnu.org>
12805 * face-remap.el (face-remap-add-relative, face-remap-set-base)
12806 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
12807 Doc fixes (Bug#11225).
12809 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
12811 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
12812 a function if there's a clear indication that it has a compiler-macro.
12813 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
12814 (macro-declarations-alist): Add arglist to declaration functions.
12815 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
12816 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
12817 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
12818 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
12819 Also add autoload to find the compiler macro.
12820 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
12821 (cl--compiler-macro-member, cl--compiler-macro-assoc)
12822 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
12823 (cl--compiler-macro-get): New functions, replacing calls to
12824 cl-define-compiler-macro.
12825 (cl-typep) [compiler-macro]: Use macroexp-let².
12827 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
12829 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
12830 string properly, fixes Bug#11473.
12832 2012-06-08 Chong Yidong <cyd@gnu.org>
12834 * faces.el (set-face-attribute): Doc fix.
12835 (modify-face): Don't use :bold and :italic.
12836 (error, warning, success): Tweak definitions.
12838 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
12839 (custom-modified, custom-set, custom-changed, custom-themed)
12840 (custom-saved, custom-button, custom-button-mouse)
12841 (custom-button-pressed, custom-state, custom-comment-tag)
12842 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
12843 (custom-group-subtitle): Use new-style face specs.
12844 (custom-invalid-face, custom-rogue-face, custom-modified-face)
12845 (custom-set-face, custom-changed-face, custom-saved-face)
12846 (custom-button-face, custom-button-pressed-face)
12847 (custom-documentation-face, custom-state-face)
12848 (custom-comment-face, custom-comment-tag-face)
12849 (custom-variable-tag-face, custom-variable-button-face)
12850 (custom-face-tag-face, custom-group-tag-face-1)
12851 (custom-group-tag-face): Remove obsolete face alias.
12853 * epa.el (epa-validity-high, epa-validity-medium)
12854 (epa-validity-low, epa-mark, epa-field-name, epa-string)
12855 (epa-field-name, epa-field-body):
12856 * font-lock.el (font-lock-comment-face, font-lock-string-face)
12857 (font-lock-keyword-face, font-lock-builtin-face)
12858 (font-lock-function-name-face, font-lock-variable-name-face)
12859 (font-lock-type-face, font-lock-constant-face):
12860 * ido.el (ido-first-match, ido-only-match, ido-subdir)
12861 (ido-virtual, ido-indicator, ido-incomplete-regexp):
12862 * speedbar.el (speedbar-button-face, speedbar-file-face)
12863 (speedbar-directory-face, speedbar-tag-face)
12864 (speedbar-selected-face, speedbar-highlight-face)
12865 (speedbar-separator-face):
12866 * whitespace.el (whitespace-newline, whitespace-space)
12867 (whitespace-hspace, whitespace-tab, whitespace-trailing)
12868 (whitespace-line, whitespace-space-before-tab)
12869 (whitespace-space-after-tab, whitespace-indentation)
12870 (whitespace-empty):
12871 * emulation/cua-base.el (cua-global-mark):
12872 * eshell/em-prompt.el (eshell-prompt):
12873 * net/newst-plainview.el (newsticker-new-item-face)
12874 (newsticker-old-item-face, newsticker-immortal-item-face)
12875 (newsticker-obsolete-item-face, newsticker-date-face)
12876 (newsticker-statistics-face, newsticker-default-face):
12877 * net/newst-reader.el (newsticker-feed-face)
12878 (newsticker-extra-face, newsticker-enclosure-face):
12879 * net/newst-treeview.el (newsticker-treeview-face)
12880 (newsticker-treeview-new-face, newsticker-treeview-old-face)
12881 (newsticker-treeview-immortal-face)
12882 (newsticker-treeview-obsolete-face)
12883 (newsticker-treeview-selection-face):
12884 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
12885 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
12886 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
12887 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
12888 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
12889 (nxml-outline-active-indicator, nxml-outline-ellipsis):
12890 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
12892 * progmodes/vera-mode.el (vera-font-lock-number)
12893 (vera-font-lock-function, vera-font-lock-interface):
12894 * textmodes/table.el (table-cell): Use new-style face specs, and
12895 don't use the old :bold and :italic attributes.
12897 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
12898 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
12899 (ebrowse-member-class, ebrowse-progress): Likewise.
12900 (ebrowse-tree-mark-face, ebrowse-root-class-face)
12901 (ebrowse-file-name-face, ebrowse-default-face)
12902 (ebrowse-member-attribute-face, ebrowse-member-class-face)
12903 (ebrowse-progress-face): Remove obsolete faces.
12905 * progmodes/flymake.el (flymake-errline, flymake-warnline):
12906 Inherit from error and warning faces respectively.
12908 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
12910 (flyspell-incorrect-face, flyspell-duplicate-face):
12911 Remove obsolete aliases.
12913 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
12915 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12918 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12920 * startup.el (argv, argi): Make lexically scoped.
12921 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
12922 * emacs-lisp/cl-macs.el: Use lexical-binding.
12923 Rename cl-bind-* to cl--bind-*.
12924 * files.el: Don't require `cl' since it doesn't use it.
12925 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
12927 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
12929 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
12930 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
12931 instead of calling external sort utility.
12932 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
12934 2012-06-08 Eli Zaretskii <eliz@gnu.org>
12936 * descr-text.el (describe-char): Mention how to insert the
12937 character, if the current input method doesn't support it.
12938 See the discussion in this thread for the details:
12939 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
12941 2012-06-08 Sam Steingold <sds@gnu.org>
12943 * bindings.el (global-map): Bind XF86Forward to next-buffer and
12944 XF86Back to previous-buffer.
12945 (minibuffer-local-map): Bind them to next-history-element and
12946 previous-history-element respectively.
12947 * help-mode.el (help-mode-map): Bind them to help-go-forward and
12948 help-go-back respectively.
12949 * info.el (Info-mode-map): Bind them to Info-history-forward and
12950 Info-history-back respectively.
12951 These are the keys next to Up on the ThinkPad keyboard.
12953 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12955 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
12956 * emacs-lisp/cl-macs.el: Provide itself.
12957 (cl--labels-convert-cache): New var.
12958 (cl--labels-convert): New function.
12959 (cl-flet, cl-labels): New implementation with new semantics, relying on
12961 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
12962 (cl-closure-vars, cl--function-convert-cache)
12963 (cl--function-convert): Move from cl-macs.el.
12964 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
12965 rename by removing the "cl-" prefix.
12966 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
12968 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12970 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
12971 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
12972 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
12973 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
12974 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
12975 (cl-hash-table-count): Add old compatibility aliases.
12977 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
12978 Use macroexpand-all-environment instead.
12979 (cl--old-macroexpand): New var.
12980 (cl--sm-macroexpand): New function.
12981 (cl-symbol-macrolet): Use it during macro expansion.
12982 (cl--function-convert-cache): New var.
12983 (cl--function-convert): New function, extracted from
12984 cl-macroexpand-all.
12985 (cl-lexical-let): Use it.
12987 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
12988 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
12989 (cl-member): Remove old alias.
12991 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
12992 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
12993 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
12994 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
12995 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
12996 (cl-macroexpand-cmacs): Remove var.
12997 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
12998 Use macroexpand-all instead.
13000 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13002 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
13003 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
13004 (macroexp-copyable-p): New functions and macros.
13005 * emacs-lisp/edebug.el (edebug-unwrap):
13006 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
13007 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
13008 (pcase--let*): Remove.
13009 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
13010 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
13011 macroexp-const-p instead.
13012 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
13014 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
13015 instead of "cl-" for internal definitions. Use macroexp-const-p.
13016 (cl-old-bc-file-form): Remove var.
13017 (cl-const-exprs-p): Remove fun.
13018 (cl-labels, cl-macrolet): Use backquote.
13019 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
13020 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
13021 (cl-define-setf-expander): Rename from cl-define-setf-method.
13022 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
13024 * international/mule-cmds.el: Don't require CL.
13025 (view-hello-file): Don't use `letf'.
13027 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13029 * tmm.el (tmm-prompt): Use string-prefix-p.
13030 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
13031 (tmm-add-prompt): Use minibuffer-completion-help.
13032 (tmm-delete-map): Remove.
13034 * subr.el (kbd): Make it its own function.
13036 2012-06-07 Stefan Merten <smerten@oekonux.de>
13038 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
13039 Silence compiler warnings. Fix versions.
13040 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
13041 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
13042 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
13043 (rst-package-emacs-version-alist): Correct Emacs version to
13044 represent major merge with upstream.
13045 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
13047 2012-06-06 Glenn Morris <rgm@gnu.org>
13049 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
13050 Only print environment variables if set.
13052 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13054 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
13055 (macroexp--cons): Rename from maybe-cons.
13056 (macroexp--accumulate): Rename from macroexp-accumulate.
13057 (macroexp--all-forms): Rename from macroexpand-all-forms.
13058 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
13059 (macroexp--expand-all): Rename from macroexpand-all-1.
13061 2012-06-06 Sam Steingold <sds@gnu.org>
13063 * calendar/calendar.el (calendar-in-read-only-buffer):
13064 Call `special-mode' to enable the standard read-only keybindings.
13066 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13068 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
13069 with "loading" messages (bug#11635).
13071 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
13073 * files.el (enable-remote-dir-locals): New option.
13074 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
13076 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13077 Ensure, that the temp directory is local.
13079 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
13080 `temporary-file-directory'.
13082 * progmodes/python.el (python-send-region): Ensure, that the
13083 temporary file is created also in the remote case.
13085 2012-06-06 Glenn Morris <rgm@gnu.org>
13087 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
13088 (vc-rcs-update-changelog): Use it.
13090 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
13092 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
13093 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
13094 (vc-sccs-diff): Replace use of the external vcdiff script.
13096 2012-06-05 Glenn Morris <rgm@gnu.org>
13098 * ledit.el: Move to obsolete/.
13100 2012-06-05 Sam Steingold <sds@gnu.org>
13102 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
13105 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13107 * emacs-lisp/cust-print.el: Move to obsolete.
13109 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
13110 compiler-macro expansion.
13112 Add native compiler-macro support.
13113 * emacs-lisp/macroexp.el (macroexpand-all-1):
13114 Support compiler-macros directly. Properly follow aliases and apply
13115 the compiler macros more thoroughly.
13116 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
13117 macroexpand now properly follows aliases.
13118 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
13119 (cl-compiler-macroexpand): Use new prop.
13120 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
13122 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
13124 2012-06-05 Martin Rudalics <rudalics@gmx.at>
13126 * window.el (get-lru-window, get-mru-window, get-largest-window):
13127 New argument NOT-SELECTED to avoid picking the selected window.
13128 (window--display-buffer-1, window--display-buffer-2): Replace by
13129 new function window--display-buffer
13130 (display-buffer-same-window, display-buffer-reuse-window)
13131 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13132 Use window--display-buffer.
13133 (display-buffer-use-some-window): Remove temporary dedication
13134 hack by calling get-lru-window and get-largest-window with
13135 NOT-SELECTED argument non-nil. Call window--display-buffer.
13137 2012-06-05 Glenn Morris <rgm@gnu.org>
13139 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
13140 Replace external vcdiff script.
13142 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13144 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
13146 2012-06-04 Chong Yidong <cyd@gnu.org>
13148 * image.el (imagemagick-types-inhibit): Revert last change.
13150 (imagemagick-enabled-types): Remove CIN and EPS*.
13152 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13154 * emacs-lisp/cl-lib.el: Rename from cl.el.
13155 * emacs-lisp/cl.el: New compatibility file.
13156 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
13157 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
13158 to obey the "cl-" prefix.
13159 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
13161 2012-06-03 Glenn Morris <rgm@gnu.org>
13163 * emacs-lisp/authors.el (authors-aliases): Addition.
13165 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
13168 2012-06-03 Stefan Merten <smerten@oekonux.de>
13170 * textmodes/rst.el: Add comments.
13171 (rst-transition, rst-adornment): New faces.
13172 (rst-adornment-faces-alist): Make default safe to reevaluate.
13174 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
13175 Improve customization tags.
13176 (rst-define-level-faces): Clarify meaning.
13178 2012-06-03 Chong Yidong <cyd@gnu.org>
13180 * progmodes/compile.el (compilation-mode-line-fail)
13181 (compilation-mode-line-run, compilation-mode-line-exit):
13183 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
13185 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
13187 * progmodes/which-func.el (which-func-update-ediff-windows):
13188 New function. Use it in ediff-select-hook (Bug#11478).
13190 2012-06-03 Chong Yidong <cyd@gnu.org>
13192 * bindings.el: Remove explicit help text from format-mode-line.
13193 It is now supplied by mode-line-default-help-echo.
13194 (mode-line-front-space, mode-line-end-spaces)
13195 (mode-line-misc-info): New variables.
13196 (mode-line-modes, mode-line-position): Move the default value to
13197 the variable definition.
13198 (mode-line-default-help-echo): New defcustom.
13199 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
13200 (mode-line-modified-help-echo): New functions.
13201 (mode-line-mule-info, mode-line-modified): Use them.
13202 (mode-line-eol-desc, propertized-buffer-identification):
13203 Consistency fixes for help text.
13204 (mode-line-coding-system-map): Allow using mouse-3 to invoke
13205 set-buffer-file-coding-system (Bug#289).
13206 (mode-line-mule-info-help-echo): Update help text.
13208 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13210 * simple.el (execute-extended-command): Set real-this-command
13213 2012-06-02 Chong Yidong <cyd@gnu.org>
13215 Remove incorrect uses of "modeline" in comments, docstrings, and
13216 function/variable names (Bug#10329).
13218 * cus-edit.el (mode-line):
13219 * dframe.el (dframe-mouse-hscroll):
13220 * emacs-lisp/re-builder.el:
13221 * emacs-lisp/easy-mmode.el (define-minor-mode):
13222 * frame.el (set-frame-name):
13223 * help.el (lookup-minor-mode-from-indicator):
13224 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
13225 * progmodes/cc-cmds.el (c-toggle-auto-newline)
13226 (c-toggle-hungry-state):
13227 * progmodes/antlr-mode.el (antlr-language-alist):
13228 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
13229 * progmodes/vhdl-mode.el (vhdl-mode):
13230 * progmodes/which-func.el (which-func, which-func-cleanup-function):
13231 * term/ns-win.el (ns-face-at-pos):
13232 * term/sup-mouse.el (sup-mouse-report):
13233 * textmodes/flyspell.el (flyspell-mode-line-string):
13234 * textmodes/ispell.el (ispell-highlight-face):
13235 * textmodes/reftex-global.el:
13236 * vc/vc-arch.el (vc-arch-mode-line-string):
13237 * vc/vc-cvs.el (vc-cvs-mode-line-string):
13238 * vc/vc-git.el (vc-git-mode-line-string):
13239 * vc/vc-hooks.el (vc-display-status)
13240 (vc-default-mode-line-string):
13241 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
13243 * ansi-color.el (ansi-color-faces-vector): Change default faces.
13245 * dired.el (dired-sort-set-mode-line): Rename from
13246 dired-sort-set-modeline. All callers changed.
13248 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
13249 eshell-status-in-modeline.
13251 * foldout.el (foldout-mode-line-string): Rename from
13252 foldout-modeline-string. All callers changed.
13253 (foldout-update-mode-line): Rename from foldout-update-modeline.
13255 * subr.el (redraw-modeline): Make into obsolete alias.
13257 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
13258 timeclock-modeline-display. Make old name an alias.
13259 (timeclock-update-mode-line): Likewise. All callers changed.
13260 (timeclock-mode-line-display): No need to check before using
13262 (timeclock-relative, timeclock-day-over-hook)
13263 (timeclock-use-elapsed, timeclock-mode-string)
13264 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
13266 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
13267 crisp-mode-modeline-string.
13269 * play/solitaire.el (solitaire-build-mode-line): Rename from
13270 solitaire-build-modeline. All callers changed.
13272 * play/zone.el (zone-hiding-mode-line): Rename from
13273 zone-hiding-modeline. All callers changed.
13274 (zone): Remove unusued `modeline-hidden-level' property.
13276 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
13277 xscheme-modeline-initialize. All callers changed.
13279 * strokes.el (strokes-lighter): Rename from
13280 strokes-modeline-string.
13282 * textmodes/sgml-mode.el (html-face-tag-alist)
13283 (html-tag-face-alist): Use mode-line face instead of obsolete
13286 2012-06-02 Stefan Merten <smerten@oekonux.de>
13288 * textmodes/rst.el: Always require `cl'.
13289 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
13291 2012-06-02 Chong Yidong <cyd@gnu.org>
13293 * image.el (imagemagick-enabled-types): Rename from
13294 imagemagick-types-enable. Add many more types.
13295 (imagemagick-types-inhibit): Change default to nil.
13296 (imagemagick-filter-types): Caller changed.
13298 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13300 * emacs-lisp/cl-macs.el: Use backquotes.
13301 (cl-transform-function-property): Use eval-and-compile rather than
13303 (defstruct): Use declare-function instead of with-no-warnings.
13305 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
13306 (byte-compile-output-docform): Re-add the print-circle bindings.
13307 (byte-compile-fix-header): Use #$ just because it's shorter.
13308 (byte-compile-output-file-form): Remove defun/defmacro.
13310 2012-06-01 Martin Rudalics <rudalics@gmx.at>
13312 * simple.el (choose-completion): Remove now obsolete binding for
13315 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
13317 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
13318 in order to avoid "Stack overflow in regexp matcher".
13320 2012-05-31 Glenn Morris <rgm@gnu.org>
13322 * image.el: For clarity, call imagemagick-register-types at
13323 top-level, rather than relying on a custom :initialize.
13324 (imagemagick-types-enable): New option. (Bug#11557)
13325 (imagemagick-filter-types): New function. (Bug#7406)
13326 (imagemagick-register-types): Use imagemagick-filter-types.
13327 If disabling support, remove elements altogether rather
13328 than using an impossible regexp.
13329 (imagemagick-types-inhibit): Give it the default init function.
13331 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13333 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
13334 Handle arbitrary file name lengths (Bug#11585).
13336 2012-05-31 Martin Rudalics <rudalics@gmx.at>
13338 * desktop.el (desktop-read): Clear previous and next buffers for
13339 all windows and bury *Messages* buffer (bug#11556).
13341 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13343 Add `declare' for `defun'. Align `defmacro's with it.
13344 * emacs-lisp/easy-mmode.el (define-minor-mode)
13345 (define-globalized-minor-mode): Don't autoload the var definitions.
13346 * emacs-lisp/byte-run.el: Use lexical-binding.
13347 (defun-declarations-alist, macro-declarations-alist): New vars.
13348 (defmacro, defun): Use them.
13349 (make-obsolete, define-obsolete-function-alias)
13350 (make-obsolete-variable, define-obsolete-variable-alias):
13352 (macro-declaration-function): Mark obsolete.
13353 * emacs-lisp/autoload.el: Use lexical-binding.
13354 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
13356 2012-05-30 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
13358 * textmodes/ispell.el (ispell-with-no-warnings):
13360 (ispell-kill-ispell, ispell-change-dictionary):
13361 Use `called-interactively-p' for Emacs instead of obsolete
13364 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13366 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
13367 (macro-declaration-function): Move var from C code.
13368 (macro-declaration-function): Define function with defalias.
13369 * emacs-lisp/macroexp.el (macroexpand-all-1):
13370 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
13371 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
13372 defun/defmacro any more.
13373 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
13374 Provide fallback for unknown arglist.
13375 (byte-compile-arglist-warn): Change calling convention.
13376 (byte-compile-output-file-form): Move print-vars binding.
13377 (byte-compile-output-docform): Simplify accordingly.
13378 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
13379 (byte-compile-defmacro-declaration): Remove.
13380 (byte-compile-file-form-defmumble): Generalize to defalias.
13381 (byte-compile-output-as-comment): Return byte-positions.
13382 Simplify callers accordingly.
13383 (byte-compile-lambda): Use `assert'.
13384 (byte-compile-defun, byte-compile-defmacro): Remove.
13385 (byte-compile-file-form-defalias):
13386 Use byte-compile-file-form-defmumble.
13387 (byte-compile-defalias-warn): Remove.
13389 2012-05-29 Stefan Merten <smerten@oekonux.de>
13391 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
13392 possible. Fix authors. Improve comments. Improve loading of `cl'.
13394 (rst-mode-abbrev-table): Merge definition.
13395 (rst-mode): Make sure `font-lock-defaults' is buffer local.
13396 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
13398 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
13400 * calendar/icalendar.el
13401 (icalendar-export-region): Export UID properly.
13403 2012-05-29 Leo Liu <sdl.web@gmail.com>
13404 * calendar/icalendar.el (icalendar-import-format):
13405 Add `icalendar-import-format-uid' (Bug#11525).
13406 (icalendar-import-format-uid): New.
13407 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
13410 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13412 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
13413 different alternative patterns.
13414 (pcase-codegen): Be more careful to preserve identity.
13415 (pcase--u1): Don't forget to mark vars as used.
13417 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
13418 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
13419 (byte-compile-from-buffer): ...rather than here.
13421 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
13422 functions from byte-compile-function-environment.
13424 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
13426 * window.el (window-deletable-p): Avoid deleting the root window
13427 of a frame with an active minibuffer.
13429 2012-05-29 Martin Rudalics <rudalics@gmx.at>
13431 * simple.el (choose-completion): Use quit-window (Bug#11567).
13433 2012-05-29 Chong Yidong <cyd@gnu.org>
13435 * whitespace.el (whitespace-cleanup): Fix usage of
13436 whitespace-empty-at-bob-regexp (Bug#11492).
13438 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13440 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
13441 revert (Bug#11488).
13443 2012-05-29 Juri Linkov <juri@jurta.org>
13445 * isearch.el (isearch-mode-map): Bind `M-s _' to
13446 `isearch-toggle-symbol'. Bind `M-s c' to
13447 `isearch-toggle-case-fold'.
13448 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
13449 (isearch-forward): Add `M-s _' to the docstring.
13450 (isearch-forward-symbol, isearch-toggle-case-fold)
13451 (isearch-symbol-regexp): New functions. (Bug#11381)
13453 2012-05-29 Juri Linkov <juri@jurta.org>
13455 * isearch.el (isearch-word): Add docstring. (Bug#11381)
13456 (isearch-occur, isearch-search-and-update): If `isearch-word' is
13457 a function, call it to get the regexp.
13458 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
13459 property `isearch-message-prefix' instead of the string "word ".
13460 (isearch-search-fun-default): For the case of `isearch-word',
13461 return a lambda that calls re-search-forward/re-search-backward
13462 with a regexp returned by `word-search-regexp' or by the function
13465 2012-05-29 Juri Linkov <juri@jurta.org>
13467 * isearch.el (isearch-search-fun-default): New function.
13468 (isearch-search-fun): Move default part to the new function
13469 `isearch-search-fun-default'.
13470 (isearch-search-fun-function): Set the default value to
13471 `isearch-search-fun-default'. (Bug#11381)
13473 * comint.el (comint-history-isearch-end):
13474 Use `isearch-search-fun-default'.
13475 (comint-history-isearch-search): Use `isearch-search-fun-default'
13476 and remove spacial case for `isearch-word'.
13477 (comint-history-isearch-wrap): Remove spacial case for
13480 * hexl.el (hexl-isearch-search-function):
13481 Use `isearch-search-fun-default'.
13483 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
13484 Use `word-search-regexp' for `isearch-word'.
13486 * misearch.el (multi-isearch-search-fun):
13487 Use `isearch-search-fun-default'.
13489 * simple.el (minibuffer-history-isearch-search):
13490 Use `isearch-search-fun-default' and remove spacial case for
13492 (minibuffer-history-isearch-wrap): Remove spacial case for
13495 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
13496 Remove spacial case for `isearch-word'.
13497 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
13499 2012-05-28 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
13501 Decrease XEmacs incompatibilities.
13502 * textmodes/flyspell.el (flyspell-check-pre-word-p):
13503 Use `string-match'.
13504 (flyspell-delete-region-overlays): Use alternative definition for
13506 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
13507 (flyspell-word): Use `process-kill-without-query' if XEmacs.
13508 (flyspell-mode-on): Use `interactive-p' if XEmacs.
13509 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
13510 `define-obsolete-face-alias' under XEmacs, but old method.
13512 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
13513 `with-no-warnings' definition or Emacs alias.
13514 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
13515 (ispell-word): Do not use `region-p' if XEmacs.
13517 2012-05-28 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
13519 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
13520 Check for `ispell-dictionary-base-alist' instead of full
13521 `ispell-dictionary-alist'.
13522 (ispell-init-process): Show spellchecker when starting new Ispell
13525 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13527 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
13528 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
13530 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
13532 * version.el (motif-version-string, gtk-version-string)
13533 (ns-version-string): Declare.
13535 2012-05-27 Juri Linkov <juri@jurta.org>
13537 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
13538 after the `eval-defun-1' specialcaseing
13539 like in `edebug-eval-defun' (bug#10181).
13541 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
13542 like in `eval-defun-1'.
13544 2012-05-27 Eli Zaretskii <eliz@gnu.org>
13546 * mail/sendmail.el (mail-yank-region):
13547 Recognize rmail-yank-current-message in addition to insert-buffer.
13548 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
13549 a *mail* buffer created through rmail-start-mail with sendmail as
13552 2012-05-27 Chong Yidong <cyd@gnu.org>
13554 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
13555 Default to 256 (Bug#11267).
13557 * help.el (describe-mode): Doc fix.
13559 2012-05-26 Glenn Morris <rgm@gnu.org>
13561 * w32-fns.el (w32-init-info): Remove.
13562 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
13564 * info.el (info-initialize): For self-contained NS builds, put the
13565 included info/ directory at the front. (Bug#2791)
13567 * paths.el (Info-default-directory-list): Make it a defcustom,
13568 mainly so that we can use custom-initialize-delay.
13570 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
13572 * subr.el (buffer-has-markers-at): Mark obsolete.
13574 * subr.el (lambda): Use declare.
13576 * emacs-lisp/lisp-mode.el (lambda):
13577 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
13579 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13581 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
13583 2012-05-26 Glenn Morris <rgm@gnu.org>
13585 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
13587 2012-05-25 Glenn Morris <rgm@gnu.org>
13589 * paths.el: Remove no-byte-compile.
13590 * loadup.el: No need to load paths.el uncompiled.
13592 * image.el (imagemagick-types-inhibit): Doc fix.
13594 * version.el: Remove no-byte-compile and associated formatting.
13595 * loadup.el: No need to load version.el uncompiled. AFAICS, this
13596 is ancient code from when there was an "inc-vers.el".
13598 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13600 * progmodes/gdb-mi.el: Minor style changes.
13601 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
13602 Turn into minor modes.
13603 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
13604 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
13605 (gdb-shell): Remove unneeded let-binding.
13606 (gdb-get-many-fields): Eliminate O(n²) behavior.
13608 2012-05-25 Eli Zaretskii <eliz@gnu.org>
13610 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
13611 platforms that don't link in fontset.c.
13613 2012-05-25 Juri Linkov <juri@jurta.org>
13615 Use the same diff color scheme as in modern VCSes (bug#10181).
13617 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
13618 to avoid confusion with `diff-added' that now uses green colors.
13619 (diff-removed): Use shades of red.
13620 (diff-added): Use shades of green.
13621 (diff-changed): Leave just the yellow color.
13622 (diff-use-changed-face): New variable.
13623 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
13624 how to highlight context diff changes.
13625 (diff-refine-change): Use shades of yellow.
13626 (diff-refine-removed): New face that uses shades of red.
13627 (diff-refine-added): New face that uses shades of green.
13628 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
13629 `diff-refine-removed' in the call to `smerge-refine-subst'
13630 depending on the value of `diff-use-changed-face'.
13632 * vc/smerge-mode.el (smerge-mine): Use shades of red.
13633 (smerge-other): Use shades of green.
13634 (smerge-base): Use shades of yellow.
13635 (smerge-refined-change): Empty face.
13636 (smerge-refined-removed): New face that uses shades of red.
13637 (smerge-refined-added): New face that uses shades of green.
13638 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
13639 args `props-r' and `props-a', and use them. Doc fix.
13640 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
13641 on its value use different faces `smerge-refined-change',
13642 `smerge-refined-removed', `smerge-refined-added' in the call to
13643 `smerge-refine-subst'.
13645 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
13646 Add face condition `min-colors 88' with shades of red.
13647 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
13648 `min-colors 88' with shades of green.
13649 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
13650 `min-colors 88' with shades of yellow.
13652 2012-05-24 Glenn Morris <rgm@gnu.org>
13654 * paths.el (prune-directory-list, remote-shell-program): Move to...
13655 * files.el (prune-directory-list, remote-shell-program): ...here.
13656 For the latter, delay initialization, prefer ssh, just search PATH.
13658 * paths.el (term-file-prefix): Move to faces.el (the only user).
13659 * faces.el (term-file-prefix): Move here, make it a defcustom.
13661 * paths.el (news-directory, news-path, news-inews-program):
13662 Move to gnus/nnspool.el.
13664 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
13666 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
13667 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
13668 Make the latter a defcustom, with a delayed initialization.
13670 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
13671 These were deleted from Gnus itself late 2010.
13673 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
13675 * progmodes/which-func.el (which-func-ff-hook):
13676 Check against user-error, not error.
13678 * emacs-lisp/edebug.el (top): Do not load or set up loading of
13679 cl-specs.el, which no longer exists.
13681 2012-05-22 Glenn Morris <rgm@gnu.org>
13683 * info.el (info-emacs-bug): New command.
13684 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
13685 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
13687 2012-05-21 Glenn Morris <rgm@gnu.org>
13689 * makefile.w32-in (update-subdirs-SH):
13690 * Makefile.in (update-subdirs): Update for moved update-subdirs.
13692 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13694 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
13696 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13697 Simplify Maven regexp, and make sure the file can't start with a space
13700 2012-05-21 Glenn Morris <rgm@gnu.org>
13702 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
13703 Scrap superfluous subshells.
13705 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
13707 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
13708 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
13710 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
13712 * calc/calc.el (calc-ensure-consistent-units): New variable.
13714 * calc/calc-units.el (math-consistent-units-p)
13715 (math-check-unit-consistency): New functions.
13716 (calc-quick-units, calc-convert-units):
13717 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
13719 (calc-extract-units): Fix typo.
13721 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13723 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
13725 * textmodes/flyspell.el: Commenting style, plus code simplifications.
13726 (flyspell-default-deplacement-commands): Don't spell check after
13727 repeated window/frame switches (e.g. triggered by mouse-movement).
13728 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
13729 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
13730 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
13731 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
13732 Remove unused vars.
13733 (flyspell-get-casechars, flyspell-get-not-casechars):
13734 Simplify; Don't bother removing a ] just to add it back.
13735 * textmodes/ispell.el (ispell-program-name): Use executable-find.
13737 2012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
13739 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
13741 (math-function-table): Add support for more C functions.
13743 2012-05-18 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
13745 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13746 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13747 Protect delay handling for otherchars against empty otherchars.
13749 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13751 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
13752 their respective macro declarations.
13753 * skeleton.el (define-skeleton):
13754 * progmodes/compile.el (define-compilation-mode):
13755 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
13756 (define-ibuffer-filter):
13757 * emacs-lisp/generic.el (define-generic-mode):
13758 * emacs-lisp/easy-mmode.el (define-minor-mode)
13759 (define-globalized-minor-mode):
13760 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
13761 * emacs-lisp/byte-run.el (defsubst):
13762 * custom.el (deftheme): Add doc-string metadata.
13764 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13766 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
13768 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13770 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
13772 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
13773 * emacs-lisp/cl-macs.el: Idem.
13774 * emacs-lisp/cl-specs.el: Remove.
13776 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13778 Minor renaming of internal CL functions and variables.
13779 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
13780 (cl--position): Rename from cl-position.
13781 (cl--delete-duplicates): Rename from cl-delete-duplicates.
13782 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
13783 (cl--random-state): Rename from *random-state*.
13785 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13787 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
13788 parens around the arg list (bug#11499).
13790 2012-05-17 Juri Linkov <juri@jurta.org>
13792 * isearch.el (word-search-regexp, word-search-backward)
13793 (word-search-forward, word-search-backward-lax)
13794 (word-search-forward-lax): Move functions from search.c
13795 (bug#10145, bug#11381).
13797 2012-05-16 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
13799 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13800 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13801 Delay for otherchars as for normal word components.
13803 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13805 * minibuffer.el (completion--sifn-requote): Fix last change.
13806 (minibuffer-local-must-match-filename-map):
13807 Move define-obsolete-variable-alias before its var.
13809 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13811 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
13813 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
13815 (completion--string-equal-p): New function.
13816 (completion--twq-all): Use it to get better assertion failure data.
13818 Only handle ".." and '..' quoting in shell-mode (bug#11466).
13819 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
13820 (shell--requote-argument): New functions.
13821 (shell-completion-vars): Use them.
13822 (shell--parse-pcomplete-arguments): Rename from
13823 shell-parse-pcomplete-arguments.
13824 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
13825 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
13826 Obey comint-file-name-quote-list.
13828 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
13829 (smie-indent-keyword): Use it.
13831 2012-05-14 Stefan Merten <smerten@oekonux.de>
13833 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
13835 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13837 * net/rlogin.el (rlogin-mode-map): Fix last change.
13839 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
13841 * mail/smtpmail.el (smtpmail-send-command): Send the command and
13842 the following \r\n using a single `process-send-string', since the
13843 Lotus SMTP server refuses to accept any commands if they are sent
13844 with two `process-send-string's (Bug#11444).
13846 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13848 * shell.el (shell-parse-pcomplete-arguments):
13849 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
13851 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13853 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
13854 (image-transform-scale, image-transform-right-angle-fudge): New vars.
13855 (image-transform-width, image-transform-fit-width): New functions.
13856 (image-transform-properties): Use them.
13857 (image-transform-check-size): New function.
13858 (image-toggle-display-image): Use it (for testing).
13859 (image-transform-set-rotation): Reduce angle mod 360.
13860 Delete obsolete comment.
13862 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13864 * image-mode.el: Fix scaling (bug#11399).
13865 (image-transform-resize): Doc fix.
13866 (image-transform-properties): Default scale is 1 and height should
13869 2012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
13871 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
13872 than hard-coding `car', to fix misbehavior when moving forward.
13874 2012-05-13 Chong Yidong <cyd@gnu.org>
13876 * emacs-lisp/tabulated-list.el (tabulated-list-format)
13877 (tabulated-list-entries, tabulated-list-padding)
13878 (tabulated-list-sort-key): Make permanent-local.
13880 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
13881 (electric-buffer-list): Put electric buffer menu
13882 command descriptions in this docstring, instead of the docstring
13883 of electric-buffer-menu-mode. Code cleanups.
13884 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
13885 Electric-buffer-menu-mode.
13886 (electric-buffer-update-highlight): Minor code cleanup.
13888 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
13890 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
13893 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13895 Move define-obsolete-variable-alias before the var's definition.
13896 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
13897 * tooltip.el (tooltip-hook):
13898 * textmodes/reftex-toc.el (reftex-toc-map):
13899 * textmodes/reftex-sel.el (reftex-select-label-map)
13900 (reftex-select-bib-map):
13901 * textmodes/reftex-index.el (reftex-index-map)
13902 (reftex-index-phrases-map):
13903 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
13904 * progmodes/meta-mode.el (meta-mode-map):
13905 * novice.el (disabled-command-hook):
13906 * loadhist.el (unload-hook-features-list):
13907 * frame.el (blink-cursor):
13908 * files.el (find-file-not-found-hooks, write-file-hooks)
13909 (write-contents-hooks):
13910 * emulation/tpu-edt.el (GOLD-map):
13911 * emacs-lock.el (emacs-lock-from-exiting):
13912 * emacs-lisp/generic.el (generic-font-lock-defaults):
13913 * emacs-lisp/chart.el (chart-map):
13914 * dos-fns.el (register-name-alist):
13915 * dired-x.el (dired-omit-files-p):
13916 * desktop.el (desktop-enable):
13917 * cus-edit.el (custom-mode-hook):
13918 * buff-menu.el (buffer-menu-mode-hook):
13919 * bookmark.el (bookmark-read-annotation-text-func)
13920 (bookmark-exit-hooks):
13921 * allout.el (allout-mode-deactivate-hook)
13922 (allout-exposure-change-hook, allout-structure-added-hook)
13923 (allout-structure-deleted-hook, allout-structure-shifted-hook):
13924 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
13925 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
13926 comes before the corresponding variable's definition.
13928 2012-05-12 Chong Yidong <cyd@gnu.org>
13930 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
13931 (Buffer-menu-mouse-select): Restore function (Bug#11459).
13932 (Buffer-menu-mode-map): Bind it.
13933 (Buffer-menu--pretty-name): Add a mouse-face property.
13935 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
13937 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
13938 (prolog-upper-case-string, prolog-lower-case-string)
13939 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
13940 (prolog-use-smie, prolog-smie-grammar): New vars.
13941 (prolog-smie-forward-token, prolog-smie-backward-token)
13942 (prolog-smie-rules): New funs.
13943 (prolog-comment-indent): Remove.
13944 (prolog-mode-variables): Use default comment indentation instead.
13946 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
13947 (prolog-mode): Don't call them any more.
13948 (prolog-electric-colon, prolog-electric-dash)
13949 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
13951 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
13953 * minibuffer.el (completion--twq-all): Again, allow case differences.
13955 * term.el: Move keymap initialization code to be more idiomatic.
13956 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
13957 (term-terminal-menu): Move initialization into declaration.
13958 (term-escape-char): Let the user set it in her .emacs.
13960 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
13961 Provide SMIE-based indentation (not enabled by default yet).
13962 (sh-mode-map): Don't bind electric keys.
13963 Use electric-pair-mode instead of skeleton-pair.
13964 (sh-assignment-regexp): Fit within 80 columns.
13965 (sh-indent-supported): Specify actual shell name instead of boolean.
13966 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
13967 (sh-maybe-here-document): Use it. Make obsolete.
13968 (sh-electric-here-document-mode) New minor mode.
13969 (sh-mode): Use it. Don't set sh-indent-supported-here here.
13970 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
13971 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
13972 (sh-smie-rc-grammar, sh-use-smie): New vars.
13973 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
13974 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
13975 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
13976 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
13977 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
13978 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
13979 (sh-set-shell): Use smie-setup if requested.
13981 * term.el (term-set-escape-char): Properly set term-escape-char.
13982 See http://stackoverflow.com/questions/10524656.
13984 2012-05-10 Chong Yidong <cyd@gnu.org>
13986 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
13987 Use url-generic-parse-url, and handle host names and Windows
13988 filenames properly.
13989 (ffap-url-unwrap-remote): Use url-generic-parse-url.
13990 (ffap-url-unwrap-remote): Accept list values, specifying a list of
13991 URL schemes to work on.
13992 (ffap--toggle-read-only): New function.
13993 (ffap-read-only, ffap-read-only-other-window)
13994 (ffap-read-only-other-frame): Use it.
13995 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
13996 necessary for ffap-url-unwrap-remote.
13998 2012-05-10 Dave Abrahams <dave@boostpro.com>
14000 * cus-start.el (create-lockfiles): Add it.
14002 2012-05-09 Chong Yidong <cyd@gnu.org>
14004 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
14005 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
14007 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14009 * shell.el (shell-completion-vars): Fix last change (bug#11348).
14011 2012-05-09 Chong Yidong <cyd@gnu.org>
14013 * ansi-color.el (ansi-color-process-output): Check for validity of
14014 comint-last-output-start before using it. This avoids a bad
14015 interaction with gdb-mi's input/output buffer.
14017 2012-05-09 Glenn Morris <rgm@gnu.org>
14019 * files.el (dir-locals-read-from-file):
14020 Mention dir-locals in any error message.
14022 2012-05-09 Chong Yidong <cyd@gnu.org>
14024 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
14025 package (Bug#11410).
14027 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
14028 variables into description.
14030 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14032 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
14033 shell-delimiter-argument-list (bug#11348).
14034 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
14036 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
14038 * textmodes/rst.el: Silence byte-compiler warnings.
14039 (rst-re-alist, rst-reset-section-caches): Move around.
14040 (rst-re): Use `characterp', not `char-valid-p'.
14041 (font-lock-beg, font-lock-end): Declare.
14043 * progmodes/idlw-shell.el (specs): Remove reference to deleted
14044 variable `idlwave-shell-activate-alt-keybindings' and simplify.
14046 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
14048 2012-05-08 Glenn Morris <rgm@gnu.org>
14050 * files.el (auto-mode-alist): Treat ".make" like ".mk".
14052 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14054 * vc/log-edit.el: Add GNU coding standards highlighting.
14055 (log-edit-font-lock-gnu-style)
14056 (log-edit-font-lock-gnu-keywords): New vars.
14057 (log-edit-font-lock-keywords): New fun.
14058 (log-edit-mode): Don't fold case in font-lock.
14059 (log-edit-font-lock-keywords): Do not assume case-folding.
14061 * imenu.el: Misc cleanup. Make docstrings out of comments.
14062 Use lexical-binding.
14063 (imenu--index-alist, imenu--last-menubar-index-alist)
14064 (imenu-menubar-modified-tick): Use defvar-local.
14065 (imenu--split-menu): Remove unused var.
14066 (imenu--cleanup-seen): Declare as global.
14067 (imenu--cleanup): Use dolist.
14069 * subr.el (defvar-local): Add debug spec and doc-string position.
14071 2012-05-08 Glenn Morris <rgm@gnu.org>
14073 * language/burmese.el, language/cham.el, language/czech.el:
14074 * language/english.el, language/georgian.el, language/greek.el:
14075 * language/japanese.el, language/khmer.el, language/korean.el:
14076 * language/lao.el, language/misc-lang.el, language/romanian.el:
14077 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
14078 * language/thai.el, language/utf-8-lang.el:
14079 Remove no-byte-compile setting.
14081 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
14083 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14085 * progmodes/make-mode.el (makefile-browse):
14086 Remove unnecessary interactive. (Bug#11324)
14088 2012-05-07 Glenn Morris <rgm@gnu.org>
14090 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
14092 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
14094 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14096 * loadup.el: Preload newcomment.el.
14097 * newcomment.el: Move autoload-only code to toplevel.
14099 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
14100 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
14101 Handle new :right-align column property.
14102 (tabulated-list-print-col): Idem, plus use `display' text-property to
14103 try and preserve alignment for variable pitch fonts.
14105 2012-05-07 Chong Yidong <cyd@gnu.org>
14107 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
14108 (tabulated-list-use-header-line): New var.
14109 (tabulated-list-init-header): Use it.
14110 (tabulated-list-print-fake-header): New function.
14111 (tabulated-list-print): Use it.
14112 (tabulated-list-sort-button-map): Add non-header-line commands.
14113 (tabulated-list-init-header): Add column name property to basic
14115 (tabulated-list-col-sort): Handle non-header-line button case.
14116 (tabulated-list--sort-by-column-name): Fix a corner case.
14118 * buff-menu.el (list-buffers--refresh):
14119 Handle Buffer-menu-use-header-line.
14121 2012-05-06 Chong Yidong <cyd@gnu.org>
14123 * buff-menu.el: Convert to Tabulated List mode.
14124 (Buffer-menu-buffer+size-width): Make obsolete.
14125 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
14126 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
14127 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
14128 documentation into docstring of buffer-menu.
14129 (Buffer-menu-toggle-files-only): Add an informative message.
14130 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
14131 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
14132 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
14133 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
14134 (Buffer-menu-execute, Buffer-menu-select)
14135 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
14136 (Buffer-menu-bury): Use Tabulated List machinery.
14137 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
14138 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
14140 (list-buffers--refresh): New function.
14141 (list-buffers-noselect): Use it.
14142 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
14143 (Buffer-menu--pretty-file-name): New helper functions.
14145 * loadup.el: Preload tabulated-list.
14147 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
14148 tabulated-list-sort-column.
14149 (tabulated-list-init-header): Add the initial aligning space even
14150 if tabulated-list-padding is zero.
14152 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
14154 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
14155 whose cdr is not a cons cell correctly (bug#11038).
14157 2012-05-06 Chong Yidong <cyd@gnu.org>
14159 * emacs-lisp/tabulated-list.el (tabulated-list-format):
14160 Accept additional plist in column descriptors.
14161 (tabulated-list-init-header): Obey it.
14162 (tabulated-list-get-entry): New function.
14163 (tabulated-list-put-tag): Use it. Use string-width instead of
14165 (tabulated-list--column-number): New function.
14166 (tabulated-list-print): Use it.
14167 (tabulated-list-print-col): New function.
14168 Set `tabulated-list-column-name' property on each column's text.
14169 (tabulated-list-print-entry): Use it.
14170 (tabulated-list-delete-entry, tabulated-list-set-col):
14172 (tabulated-list-sort-column): New command (Bug#11337).
14174 * buff-menu.el (list-buffers): Move C-x C-b binding from
14175 buff-menu.el to bindings.el.
14177 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
14178 :advertised-binding feature.
14180 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
14182 * progmodes/compile.el (compilation-internal-error-properties):
14183 Calculate start position correctly when end-col is set but
14184 end-line is not (Bug#11382).
14186 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
14188 * man.el (Man-unindent): Use text-property-default-nonsticky to
14189 prevent untabify from inheriting face properties (Bug#11408).
14191 2012-05-05 Stefan Merten <smerten@oekonux.de>
14193 * textmodes/rst.el: Major merge with upstream development up to
14194 Docutils SVN r7399 / rst.el V1.2.1.
14196 Clarify maintainership and authors.
14198 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
14199 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
14200 (rst-official-version, rst-official-cvs-rev, rst-version)
14201 (rst-package-emacs-version-alist): New functions and variables
14202 for version information.
14204 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
14205 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
14206 (rst-mode-syntax-table, rst-mode): New and corrected functions
14207 and variables representing reStructuredText features.
14209 (rst-re): New function for reStructuredText regexes. Use in
14212 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
14213 (rst-mode-map): Rebind keys.
14215 (rst-mode-lazy, rst-font-lock-keywords)
14216 (rst-font-lock-extend-region)
14217 (rst-font-lock-extend-region-internal)
14218 (rst-font-lock-extend-region-extend)
14219 (rst-font-lock-find-unindented-line-limit)
14220 (rst-font-lock-find-unindented-line-match)
14221 (rst-adornment-level, rst-font-lock-adornment-level)
14222 (rst-font-lock-adornment-match)
14223 (rst-font-lock-handle-adornment-pre-match-form)
14224 (rst-font-lock-handle-adornment-matcher): Major revision of
14225 font-locking. Integrate with other code. Use `jit-lock-mode'.
14227 (rst-preferred-adornments, rst-adjust-hook)
14228 (rst-new-adornment-down, rst-preferred-bullets)
14229 (rst-preferred-bullets, rst-indent, rst-indent-width)
14230 (rst-indent-field, rst-indent-literal-normal)
14231 (rst-indent-literal-minimized, rst-indent-comment): Change,
14232 extend and improve customization.
14234 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
14235 (rst-normalize-cursor-position, rst-get-decoration)
14236 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
14237 (rst-rstrip, rst-toc-insert-find-delete-contents)
14238 (rst-shift-fill-region, rst-compute-bullet-tabs)
14239 (rst-debug-print-tabs, rst-debug-mark-found)
14240 (rst-shift-region-guts, rst-shift-region-right)
14241 (rst-shift-region-left, rst-use-char-classes)
14242 (rst-font-lock-keywords-function)
14243 (rst-font-lock-indentation-point)
14244 (rst-font-lock-find-unindented-line-begin)
14245 (rst-font-lock-find-unindented-line-end)
14246 (rst-font-lock-find-unindented-line)
14247 (rst-font-lock-adornment-point, rst-font-lock-level)
14248 (rst-adornment-level-alist): Remove functions and variables.
14250 (rst-compare-adornments, rst-get-adornment-match)
14251 (rst-suggest-new-adornment, rst-get-adornments-around)
14252 (rst-adornment-complete-p, rst-get-next-adornment)
14253 (rst-adjust-adornment, rst-display-adornments-hierarchy)
14254 (rst-straighten-adornments): Standardize function names to
14255 use "adornment" instead of "decoration". Correct callers.
14256 Similar standardizing in many places.
14258 (rst-update-section, rst-adjust, rst-promote-region)
14259 (rst-enumerate-region, rst-bullet-list-region)
14260 (rst-repeat-last-character): Correct use of `interactive'.
14262 (rst-classify-adornment, rst-find-all-adornments)
14263 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
14264 (rst-find-leftmost-column, rst-repeat-last-character):
14265 Refactor functions.
14267 (rst-find-title-line, rst-reset-section-caches)
14268 (rst-get-adornments-around, rst-adjust-adornment-work)
14269 (rst-arabic-to-roman, rst-roman-to-arabic)
14270 (rst-insert-list-pos, rst-insert-list-new-item)
14271 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
14274 (rst-all-sections, rst-section-hierarchy)
14275 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
14278 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
14279 configuration instead of only buffer. Change where necessary.
14281 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
14282 (rst-shift-region, rst-adaptive-fill): New functions for
14283 indentation and filling.
14285 (rst-comment-line-break, rst-comment-indent)
14286 (rst-comment-insert-comment, rst-comment-region)
14287 (rst-uncomment-region): New functions for handling comments.
14289 (rst-compile): Quote shell arguments.
14291 (rst-compile-pdf-preview, rst-compile-slides-preview):
14292 Delete temporary files after use.
14294 2012-05-05 Glenn Morris <rgm@gnu.org>
14296 * calendar/cal-html.el: Optionally include holidays in the output.
14297 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
14298 (cal-html-holidays): New option.
14299 (cal-html-css-default): Add holiday entry.
14300 (holiday-in-range): Autoload it.
14301 (cal-html-htmlify-entry): Add optional class argument.
14302 (cal-html-htmlify-list): Add optional holidays argument.
14303 (cal-html-insert-agenda-days): Include holidays in the output.
14304 (cal-html-one-month): Maybe include holidays.
14306 * calendar/holidays.el (holiday-in-range):
14307 Move here from cal-tex-list-holidays.
14308 * calendar/cal-tex.el (cal-tex-list-holidays):
14309 Make it an obsolete alias for holiday-in-range. Update all callers.
14311 2012-05-05 Chong Yidong <cyd@gnu.org>
14313 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
14316 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
14318 * files.el (file-auto-mode-skip): New var.
14319 (set-auto-mode-1): Use it.
14321 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14323 * repeat.el: Use lexical-binding.
14324 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
14325 (repeat-undo-count): Remove.
14327 * progmodes/octave-mod.el (octave-abbrev-start):
14328 * progmodes/f90.el (f90-abbrev-start):
14329 * face-remap.el (text-scale-adjust):
14330 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
14332 * emacs-lisp/pcase.el (pcase--let*): New function.
14333 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
14335 (pcase--split-pred): Be more clever about ruling out overlap between
14336 a predicate and some constant pattern.
14337 (pcase--q1): Use `null' instead of (eq foo nil).
14339 * subr.el (setq-local, defvar-local): New macros.
14340 (kbd): Redefine as an alias.
14341 (with-selected-window): Leave unrelated frames alone.
14342 (set-temporary-overlay-map): New function.
14344 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14346 * subr.el (user-error): New function.
14347 * window.el (switch-to-buffer):
14348 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
14349 (smerge-match-conflict):
14350 * simple.el (previous-matching-history-element)
14351 (next-matching-history-element, goto-history-element, undo-more)
14353 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
14354 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
14355 (next-file, tags-loop-scan, list-tags, complete-tag):
14356 * progmodes/compile.el (compilation-loop):
14357 * mouse.el (mouse-minibuffer-check):
14358 * man.el (Man-bgproc-sentinel, Man-goto-page):
14359 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
14360 (Info-history-forward, Info-follow-reference, Info-menu)
14361 (Info-extract-menu-item, Info-extract-menu-counting)
14362 (Info-forward-node, Info-backward-node, Info-next-menu-item)
14363 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
14364 (Info-next-reference, Info-prev-reference, Info-index)
14365 (Info-index-next, Info-follow-nearest-node)
14366 (Info-copy-current-node-name):
14367 * imenu.el (imenu--make-index-alist)
14368 (imenu-default-create-index-function, imenu-add-to-menubar):
14369 * files.el (basic-save-buffer, recover-file):
14370 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14371 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
14372 (checkdoc-message-text, checkdoc-defun):
14373 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
14374 * cus-edit.el (customize-changed-options, customize-rogue)
14375 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
14376 (custom-variable-mark-to-reset-standard)
14377 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
14379 * completion.el (check-completion-length):
14380 * comint.el (comint-search-arg)
14381 (comint-previous-matching-input-string-position)
14382 (comint-previous-matching-input)
14383 (comint-replace-by-expanded-history-before-point, comint-send-input)
14384 (comint-copy-old-input, comint-backward-matching-input)
14385 (comint-goto-process-mark, comint-set-process-mark):
14386 * calendar/calendar.el (calendar-cursor-to-date): Use it.
14387 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
14389 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14391 * dabbrev.el (dabbrev--ignore-case-p): New function.
14392 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
14395 * files.el (automount-dir-prefix): Mark as obsolete.
14397 2012-05-04 Glenn Morris <rgm@gnu.org>
14399 * patcomp.el, play/bruce.el: Move to obsolete/.
14401 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
14403 Fix minor Y10k bugs.
14404 * arc-mode.el (archive-unixdate):
14405 * autoinsert.el (auto-insert-alist):
14406 * calc/calc-forms.el (math-this-year):
14407 * emacs-lisp/copyright.el (copyright-current-year)
14408 (copyright-update-year, copyright):
14409 * tar-mode.el (tar-clip-time-string):
14410 * time.el (display-time-update):
14411 Don't assume years have 4 digits.
14413 2012-05-04 Chong Yidong <cyd@gnu.org>
14415 * dos-w32.el (file-name-buffer-file-type-alist)
14416 (direct-print-region-use-command-dot-com):
14417 * ffap.el (ffap-menu-regexp):
14418 * find-file.el (ff-special-constructs):
14419 * follow.el (follow-debug):
14420 * forms.el (forms--debug):
14421 * iswitchb.el (iswitchb-all-frames):
14422 * ido.el (ido-all-frames):
14423 * emacs-lisp/timer.el (timer-max-repeats):
14424 * mail/feedmail.el (feedmail-mail-send-hook)
14425 (feedmail-mail-send-hook-queued):
14426 * mail/footnote.el (footnote-signature-separator):
14427 * mail/mailabbrev.el (mail-alias-separator-string)
14428 (mail-abbrev-mode-regexp):
14429 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
14430 * progmodes/idlwave.el (idlwave-libinfo-file)
14431 (idlwave-default-completion-case-is-down)
14432 (idlwave-library-routines): Convert defvars to defcustoms.
14434 * mail/rmail.el (rmail-decode-mime-charset):
14435 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
14436 (idlwave-shell-fix-inserted-breaks)
14437 (idlwave-shell-activate-alt-keybindings)
14438 (idlwave-shell-use-breakpoint-glyph):
14439 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
14441 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14443 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
14445 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
14447 * progmodes/verilog-mode.el (font-lock-keywords):
14448 Fix mis-highligting auto. Reported by Craig Barner.
14449 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
14450 defines from global name space. Reported by Dan Dever.
14451 (verilog-auto-reset, verilog-auto-reset-widths)
14452 (verilog-auto-tieoff): Support using unbased numbers for
14453 AUTORESET and AUTOTIEOFF.
14454 (verilog-submit-bug-report): Update variable list.
14455 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
14456 parenthesis from not matching. Reported by Michael Rytting.
14457 (verilog-auto-template-lint): Fix hash error when linting modules
14458 with no used templates.
14459 (verilog-warn, verilog-warn-error)
14460 (verilog-warn-fatal): When non-interactive report multiple
14461 warnings before exiting. Suggested by Brad Dobbie.
14462 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
14463 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
14464 to report unused template errors. Reported by Brad Dobbie.
14465 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
14466 nets, bug438. Reported by Vns Blore.
14467 (verilog-auto-inout-module, verilog-auto-reg)
14468 (verilog-read-decls, verilog-read-sub-decls-sig)
14469 (verilog-signals-edit-wire-reg, verilog-signals-with):
14470 Fix passing of Verilog data types in ANSI input/output ports
14471 such as "output logic" into the AUTOs. Special case "wire" and
14472 "reg" for backwards compatibility presuming Verilog 2001.
14473 (verilog-auto-ascii-enum): Add "auto enum" as alias.
14474 (verilog-preprocess): Fix replication of preprocess output.
14475 Reported by Brad Dobbie.
14476 (verilog-auto-inst-interfaced-ports):
14477 Create verilog-auto-inst-interfaced-ports, bug429.
14478 Reported by Julian Gorfajn.
14479 (verilog-after-save-font-hook)
14480 (verilog-before-save-font-hook): New variable.
14481 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
14482 (verilog-save-font-mods): Wrap disabling fontification, reported
14484 (verilog-do-indent, verilog-pretty-declarations-auto)
14485 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
14486 Reported by Pierre-David Pfister.
14487 (verilog-set-auto-endcomments): Fix endtask auto comments outside
14488 of class declarations, bug292. Reported by Kevin Heilman.
14489 (verilog-read-decls): Fix 'parameter type' not appearing in
14490 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
14491 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
14492 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
14493 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
14494 Reported by David Kravitz.
14496 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
14498 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
14499 assignment with tests in ifs and for loops.
14500 (verilog-extended-complete-re, verilog-complete-reg): Change so
14501 that DPI inport functions don't look like fuction declarations.
14502 (verilog-pretty-expr): Don't line up assignment
14503 operations to the test and increment in if and for loops
14504 (verilog-extended-complete-re, verilog-complete-reg): Change so
14505 that DPI inport functions don't look like fuction declarations.
14507 2012-05-03 Kenichi Handa <handa@m17n.org>
14509 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
14510 decoding, and show a warning message without signaling an error
14513 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14515 * emacs-lisp/bytecomp.el
14516 (byte-compile-file-form-custom-declare-variable): Compile all elements,
14517 since cconv.el might have introduced :fun-body, internal-make-closure,
14518 and friends for bytecomp to handle (bug#11391).
14519 * custom.el (defcustom): Avoid ((λ ..) ..).
14521 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
14523 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
14525 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
14527 * notifications.el (dbus-debug):
14528 * term/linux.el (gpm-mouse-enable):
14529 * term/screen.el (xterm-register-default-colors): Declare.
14531 2012-05-02 Chong Yidong <cyd@gnu.org>
14533 * cus-start.el (gc-cons-percentage, exec-suffixes)
14534 (dos-display-scancodes, dos-hyper-key, dos-super-key)
14535 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
14536 (make-cursor-line-fully-visible, void-text-area-pointer)
14537 (font-list-limit): Add customization data.
14539 * allout.el (allout-exposure-change-functions)
14540 (allout-structure-added-functions)
14541 (allout-structure-deleted-functions)
14542 (allout-structure-shifted-functions): Rename abnormal hooks from
14543 *-hook, and convert to defcustoms.
14544 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
14545 Convert to defcustoms.
14546 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
14548 * allout-widgets.el: Hook callers changed.
14550 2012-05-02 Eli Zaretskii <eliz@gnu.org>
14552 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
14553 the yanked message in preference to the default value of
14554 buffer-file-coding-system.
14556 2012-05-02 Martin Rudalics <rudalics@gmx.at>
14558 * window.el (display-buffer--action-function-custom-type):
14561 2012-05-02 Alan Mackenzie <acm@muc.de>
14563 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
14565 2012-05-01 Glenn Morris <rgm@gnu.org>
14567 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
14569 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
14571 * cus-edit.el (custom-variable-documentation): Simplify with format.
14573 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14574 Stefan Monnier <monnier@iro.umontreal.ca>
14576 * simple.el (suggest-key-bindings, execute-extended-command):
14577 Move from keyboard.c.
14579 2012-05-01 Chong Yidong <cyd@gnu.org>
14581 * follow.el: Eliminate advice.
14582 (set-process-filter, process-filter, sit-for): Advice deleted.
14583 (follow-mode-off-hook): Obsolete hook removed.
14584 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
14586 (follow-auto): Use a :set function.
14587 (follow-mode): Rewritten. Don't advise process filters.
14588 (follow-switch-to-current-buffer-all, follow-scroll-up)
14589 (follow-scroll-down): Assume follow-mode is bound.
14590 (follow-comint-scroll-to-bottom)
14591 (follow-align-compilation-windows): New functions.
14592 (follow--window-sorter): New function.
14593 (follow-all-followers): Use it to explicitly sort windows by their
14594 positions; don't make assumptions about next-window order.
14595 (follow-windows-start-end, follow-delete-other-windows-and-split)
14596 (follow-calc-win-start): Doc fix.
14597 (follow-windows-aligned-p, follow-select-if-visible): Don't call
14598 vertical-motion unnecessarily.
14599 (follow-adjust-window): New function.
14600 (follow-post-command-hook): Use it.
14601 (follow-call-set-process-filter, follow-call-process-filter)
14602 (follow-intercept-process-output, follow-tidy-process-filter-alist)
14603 (follow-stop-intercept-process-output, follow-generic-filter):
14605 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
14606 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
14607 New functions, replacing advice on scroll-bar-* commands.
14608 (follow-mwheel-scroll): New function (Bug#4112).
14610 * comint.el (comint-adjust-point): New function.
14611 (comint-postoutput-scroll-to-bottom): Use it.
14612 Call follow-comint-scroll-to-bottom for Follow mode buffers.
14614 2012-05-01 Glenn Morris <rgm@gnu.org>
14616 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
14617 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
14618 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
14619 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
14620 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
14621 Remove no-byte-compile setting.
14623 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
14625 * minibuffer.el (completion-table-with-quoting): Fix compatibility
14626 all-completions code to not return a number in the last cdr.
14628 2012-04-30 Leo Liu <sdl.web@gmail.com>
14630 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
14633 2012-04-29 Chong Yidong <cyd@gnu.org>
14635 * follow.el (follow-calc-win-end): Rewrite to handle partial
14636 screen lines correctly (Bug#8390).
14637 (follow-avoid-tail-recenter): Minor cleanup.
14639 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14641 Avoid the obsolete `assoc' package.
14642 * speedbar.el (speedbar-refresh): Avoid adelete.
14643 (speedbar-file-lists): Simplify and avoid aput.
14644 * man.el (Man--sections, Man--refpages): New vars, replacing
14645 Man-sections-alist and Man-refpages-alist.
14646 (Man-build-section-alist, Man-build-references-alist):
14647 Use them; avoid aput.
14648 (Man--last-section, Man--last-refpage): New vars.
14649 (Man-follow-manual-reference): Use them.
14650 Use the `default' arg of completing-read.
14651 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
14653 2012-04-27 Chong Yidong <cyd@gnu.org>
14655 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
14657 * startup.el (x-apply-session-resources): New function.
14659 * term/ns-win.el (ns-initialize-window-system):
14660 * term/w32-win.el (w32-initialize-window-system):
14661 * term/x-win.el (x-initialize-window-system): Use it to properly
14662 set menu-bar-mode and other vars from X resources, even if the
14663 initial frame is not a window-system frame (Bug#2299).
14665 * subr.el (read-key): Avoid running filter function when setting
14666 up temporary tool bar entries (Bug#9922).
14668 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14670 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
14673 2012-04-27 Chong Yidong <cyd@gnu.org>
14675 * select.el (xselect--encode-string): New function, split from
14676 xselect-convert-to-string.
14677 (xselect-convert-to-string): Use it.
14678 (xselect-convert-to-filename, xselect-convert-to-os)
14679 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
14680 returned strings are properly encoded (Bug#11315).
14682 2012-04-27 Chong Yidong <cyd@gnu.org>
14684 * simple.el (delete-active-region): Move to killing custom group.
14686 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14688 * progmodes/which-func.el (which-func-current): Quote %
14689 characters for mode-line processing.
14691 2012-04-27 Chong Yidong <cyd@gnu.org>
14693 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
14694 reaching eob (Bug#11286).
14696 2012-04-27 Eli Zaretskii <eliz@gnu.org>
14698 * progmodes/gdb-mi.el (gdb-control-level): New variable.
14699 (gdb): Make it buffer-local and init to zero.
14700 (gdb-control-commands-regexp): New variable.
14701 (gdb-send): Don't wrap in "-interpreter-exec console" if
14702 gdb-control-level is positive. Increment gdb-control-level
14703 whenever the command matches gdb-control-commands-regexp, and
14704 decrement it each time the command is "end". (Bug#11279)
14706 2012-04-27 Martin Rudalics <rudalics@gmx.at>
14708 * window.el (adjust-window-trailing-edge, enlarge-window)
14709 (shrink-window, window-resize):
14710 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
14711 windows (Bug#11276).
14713 2012-04-27 Chong Yidong <cyd@gnu.org>
14715 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
14716 fix "missing prefix" warning. All callers changed.
14718 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14720 * emacs-lisp/assoc.el: Move to obsolete/.
14722 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14724 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
14726 * term/ns-win.el (ns-define-service):
14727 * progmodes/pascal.el (pascal-goto-defun):
14728 * progmodes/js.el (js--read-tab):
14729 * progmodes/etags.el (tags-lazy-completion-table):
14730 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
14731 * emacs-lisp/ewoc.el (ewoc--wrap):
14732 * emacs-lisp/assoc.el (aput, adelete, amake):
14733 * doc-view.el (doc-view-convert-current-doc):
14734 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
14736 2012-04-26 Chong Yidong <cyd@gnu.org>
14738 * image.el (image-type-from-buffer): Only return supported image
14741 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
14742 value, for symmetry with diff-end-of-hunk.
14743 (diff-split-hunk, diff-find-source-location)
14744 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
14745 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
14746 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
14747 compute the relevant hunk or file properly (Bug#6005).
14748 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
14750 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14759 * vc/vc.el: Replace lexical-let by lexical-binding.
14760 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
14761 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
14762 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
14764 2012-04-26 Chong Yidong <cyd@gnu.org>
14766 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
14767 (diff-mode-shared-map): Bind it to / and [remap undo].
14769 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
14770 (ediff-window-setup-function): Use it as the default, to set up
14771 windows based on whether the current frame is graphical (Bug#2138).
14772 (ediff-choose-window-setup-function-automatically): Make obsolete.
14774 * vc/ediff-init.el: Always define ediff-pixel-width/height.
14776 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14778 * ffap.el: Remove old code for obsolete package.
14779 (ffap-complete-as-file-p): Remove.
14781 Use completion-table-with-quoting for comint and pcomplete.
14782 * comint.el (comint--unquote&requote-argument)
14783 (comint--unquote-argument, comint--requote-argument): New functions.
14784 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
14785 (comint-quote-filename): Use regexp-opt-charset.
14786 (comint--common-suffix, comint--common-quoted-suffix)
14787 (comint--table-subvert): Remove.
14788 (comint-unquote-function, comint-requote-function): New vars.
14789 (comint--complete-file-name-data): Use them with
14790 completion-table-with-quoting.
14791 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
14792 * pcomplete.el (pcomplete-arg-quote-list)
14793 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
14794 (pcomplete-unquote-argument-function): Default to non-nil.
14795 (pcomplete-unquote-argument): Simplify.
14796 (pcomplete--common-quoted-suffix): Remove.
14797 (pcomplete-requote-argument-function): New var.
14798 (pcomplete--common-suffix): New function.
14799 (pcomplete-completions-at-point): Use completion-table-with-quoting
14800 and completion-table-subvert.
14802 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
14803 (minibuffer--double-dollars): Preserve properties.
14804 (completion--sifn-requote): New function.
14805 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
14807 * minibuffer.el: Add support for completion of quoted/escaped data.
14808 (completion-table-with-quoting, completion-table-subvert): New funs.
14809 (completion--twq-try, completion--twq-all): New functions.
14810 (completion--nth-completion): New function.
14811 (completion-try-completion, completion-all-completions): Use it.
14813 2012-04-25 Leo Liu <sdl.web@gmail.com>
14815 * progmodes/python.el (python-pdbtrack-get-source-buffer):
14816 Use compilation-message if available to find real filename.
14818 2012-04-25 Chong Yidong <cyd@gnu.org>
14820 * vc/diff-mode.el (diff-setup-whitespace): New function.
14821 (diff-mode): Use it.
14823 * vc/diff.el (diff-sentinel):
14824 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
14825 Whitespace mode variables based on diff style (Bug#8612).
14827 2012-04-25 Leo Liu <sdl.web@gmail.com>
14829 * progmodes/python.el (python-send-region): Add suffix .py to the
14832 * files.el (auto-mode-alist): Use javascript-mode instead.
14834 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
14836 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
14838 * net/soap-client.el (soap-resolve-references-for-sequence-type)
14839 (soap-resolve-references-for-array-type): Hack to prevent self
14840 references, see Bug#9.
14841 (soap-parse-envelope): Report the contents of the 'detail' node
14842 when receiving a fault reply.
14843 (soap-parse-envelope): Report the contents of the entire 'detail' node.
14845 * net/soap-inspect.el (soap-sample-value-for-simple-type)
14846 (soap-inspect-simple-type): New function.
14848 * net/soap-client.el (soap-simple-type): New struct.
14849 (soap-default-xsd-types, soap-default-soapenc-types)
14850 (soap-decode-basic-type, soap-encode-basic-type):
14851 support unsignedInt and double basic types.
14852 (soap-resolve-references-for-simple-type)
14853 (soap-parse-simple-type, soap-encode-simple-type): New function.
14854 (soap-parse-schema): Parse xsd:simpleType declarations.
14856 * net/soap-client.el (soap-default-xsd-types)
14857 (soap-default-soapenc-types): Add integer, byte and anyURI types.
14858 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
14859 the local name of "soapenc:Array".
14860 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
14861 decoding integer, byte and anyURI xsd types.
14863 2012-04-25 Chong Yidong <cyd@gnu.org>
14865 * cus-edit.el (custom-buffer-create-internal): Update header text.
14867 2012-04-25 Eli Zaretskii <eliz@gnu.org>
14869 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
14870 settings on 'system-type', not on 'window-system'. On MS-Windows,
14871 set interactive-mode on in GDB.
14873 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14875 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
14876 (ruby-syntax-propertize-regexp): Remove.
14877 (ruby-syntax-propertize-function): Split regexp into chunks.
14878 Match following code directly.
14880 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
14882 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
14883 (ruby-syntax-propertize-regexp): New function.
14884 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
14885 by a special keyword.
14887 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
14888 (ruby-syntax-general-delimiters-goto-beg)
14889 (ruby-syntax-propertize-general-delimiters): New functions.
14890 (ruby-syntax-propertize-function): Use them to handle GDL.
14891 (ruby-font-lock-keywords): Move old handling of GDL...
14892 (ruby-font-lock-syntactic-keywords): .. to here.
14893 (ruby-calculate-indent): Adjust indentation for GDL.
14895 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
14897 * notifications.el (top): Remove unneeded declarations.
14898 (notifications-specification-version): Change to "1.2".
14899 (notifications-interface, notifications-notify-method)
14900 (notifications-close-notification-method): Fix docstring.
14901 (notifications-get-capabilities-method): New defconst.
14902 (notifications-notify): Add :action-items, :resident and
14903 :transient hints. Change "image_data" to "image-data" and
14904 "image_path" to "image-path".
14905 (notifications-get-capabilities): New defun.
14907 2012-04-24 Leo Liu <sdl.web@gmail.com>
14909 * progmodes/python.el: Move hideshow setup to the end.
14911 2012-04-24 Martin Rudalics <rudalics@gmx.at>
14913 * window.el (handle-select-window): Clear echo area since this is
14914 no more done by read_char (Bug#11304).
14916 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14918 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
14919 and `/ M' to filter-derived-mode.
14920 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
14921 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
14922 (ibuffer-mark-by-mode): Use default rather than initial-input.
14923 (ibuffer-filter-by-derived-mode): Autoload and require-match.
14925 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
14927 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
14928 (ibuffer-filter-by-derived-mode): New filter.
14929 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
14931 2012-04-23 Andreas Politz <politza@fh-trier.de>
14933 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
14935 2012-04-23 Chong Yidong <cyd@gnu.org>
14937 * cus-edit.el (customize-apropos, customize-apropos-options):
14938 Disable matching of non-option variables (Bug#11176).
14939 (customize-option, customize-option-other-window)
14940 (customize-changed-options): Doc fix.
14941 (customize-apropos-options, customize-apropos-faces)
14942 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
14944 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
14945 Fix word list splitting (Bug#11132).
14946 (apropos-symbol, apropos-keybinding, apropos-label)
14947 (apropos-property, apropos-function-button)
14948 (apropos-variable-button, apropos-misc-button): New faces.
14949 (apropos-symbol-face, apropos-keybinding-face)
14950 (apropos-label-face, apropos-property-face, apropos-match-face):
14951 Variables removed (Bug#8396).
14952 (apropos-library-button, apropos-format-plist, apropos-print)
14953 (apropos-print-doc, apropos-describe-plist): Callers changed.
14955 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
14957 * net/xesam.el (xesam-mode-map): Use let-bound map in
14958 initialization. (Bug#11292)
14960 2012-04-23 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
14962 Preserve ispell session localwords when switching back to
14965 * textmodes/ispell.el (ispell-buffer-session-localwords):
14966 New buffer-local variable to hold buffer session localwords.
14967 (ispell-kill-ispell): Add option 'clear to delete session
14969 (ispell-command-loop, ispell-change-dictionary)
14970 (ispell-buffer-local-words): Preserve session localwords when
14973 * textmodes/flyspell.el (flyspell-process-localwords)
14974 (flyspell-do-correct): Preserve session localwords when needed.
14976 2012-04-23 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
14978 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
14979 using obsolete `translation-table-for-input'.
14980 (ispell-word, ispell-process-line, ispell-complete-word):
14981 Use plain `insert' instead of removed `ispell-insert-word'.
14983 2012-04-22 Chong Yidong <cyd@gnu.org>
14985 * cus-edit.el (custom-variable-menu)
14986 (custom-variable-reset-saved, custom-face-menu)
14987 (custom-face-reset-saved): If there is no saved value, make the
14988 "reset-saved" operation bring back the default (Bug#9509).
14989 (custom-face-state): Properly detect themed faces.
14991 * faces.el (face-spec-set): Stop supporting deprecated form of
14994 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
14996 Move functions from C to Lisp. Make non-blocking method calls
14997 the default. Implement further D-Bus standard interfaces.
14999 * net/dbus.el (dbus-message-internal): Declare function.
15000 Remove unneeded function declarations.
15001 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
15002 (dbus-message-type-method-return, dbus-message-type-error)
15003 (dbus-message-type-signal): Declare variables. Remove local
15005 (dbus-interface-dbus, dbus-interface-peer)
15006 (dbus-interface-introspectable, dbus-interface-properties)
15007 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
15009 (dbus-interface-objectmanager): New defconst.
15010 (dbus-call-method, dbus-call-method-asynchronously)
15011 (dbus-send-signal, dbus-method-return-internal)
15012 (dbus-method-error-internal, dbus-register-service)
15013 (dbus-register-signal, dbus-register-method): New defuns, moved
15015 (dbus-call-method-handler, dbus-setenv)
15016 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
15018 (dbus-call-method-non-blocking): Make it an obsolete function.
15019 (dbus-unregister-object, dbus-unregister-service)
15020 (dbus-handle-event, dbus-register-property)
15021 (dbus-property-handler): Obey the new structure of
15022 `bus-registered-objects'.
15023 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
15024 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15025 Use `dbus-call-method'.
15027 2012-04-22 Chong Yidong <cyd@gnu.org>
15029 * cus-edit.el (custom-commands, custom-reset-menu)
15030 (Custom-reset-standard): Tweak labels.
15031 (custom-reset-button-menu): Change default to t.
15032 (custom-buffer-create-internal): For the custom-reset-button-menu
15033 case, put the revert button first.
15034 (custom-group-subtitle): New face.
15035 (custom-group-value-create): Align docstring to a specific column.
15037 * wid-edit.el (widget-documentation-link-add): Don't handle
15038 indentation in this function.
15039 (widget-documentation-string-indent-to): New function.
15040 (widget-documentation-string-value-create): Use it.
15042 * autorevert.el (auto-revert):
15043 * epg-config.el (epg):
15044 * ibuffer.el (ibuffer):
15047 * eshell/eshell.el (eshell):
15048 * net/ange-ftp.el (ange-ftp):
15049 * progmodes/ebnf2ps.el (postscript):
15050 * progmodes/flymake.el (flymake):
15051 * progmodes/prolog.el (prolog):
15052 * progmodes/verilog-mode.el (verilog-mode):
15053 * progmodes/which-func.el (which-func):
15054 * term/xterm.el (xterm):
15055 * textmodes/picture.el (picture):
15056 * textmodes/tildify.el (tildify):
15057 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
15058 customization buffers.
15060 2012-04-22 Alan Mackenzie <acm@muc.de>
15062 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
15063 Adding a ) can hide the resulting (..) from searches. Fix it.
15064 Bound the backward search to the position of the existing (.
15066 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
15068 * progmodes/verilog-mode.el (verilog-mode): Check whether
15069 which-func-modes is t before adding verilog-mode.
15070 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
15072 2012-04-21 Leo Liu <sdl.web@gmail.com>
15074 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
15076 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
15078 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
15079 filling of the last column of a table (Bug#5635).
15080 (woman-find-next-control-line): New arg, specifying an additional
15081 regexp component for the control line.
15082 (woman2-roff-buffer): Use it.
15083 (woman-break-table): New function.
15084 (woman2-TS): Use it.
15086 2012-04-21 Chong Yidong <cyd@gnu.org>
15088 * woman.el (woman-set-buffer-display-table, woman-decode-region)
15089 (woman-horizontal-escapes, woman-negative-vertical-space)
15090 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
15091 (WoMan-warn-ignored): Use ?\s instead of ?\ .
15093 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15095 * minibuffer.el (completion-file-name-table): Complete user names.
15097 2012-04-20 Leo Liu <sdl.web@gmail.com>
15099 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
15102 2012-04-20 Chong Yidong <cyd@gnu.org>
15104 * server.el (server-execute): Respect initial-buffer-choice if it
15105 is a string and there are no files to open (Bug#2825).
15106 (server-create-window-system-frame, server-create-tty-frame):
15107 Don't switch buffers here.
15108 (server-process-filter): Only try to open a window system frame if
15109 compiled with graphical support (Bug#8314).
15111 2012-04-20 Dan Nicolaescu <dann@gnu.org>
15113 * battery.el (battery-echo-area-format): Display remaining time
15114 for sysfs backend too (Bug#11269).
15115 (battery-linux-sysfs): Fix conditional for the charge.
15117 2012-04-20 Chong Yidong <cyd@gnu.org>
15119 * progmodes/gdb-mi.el (gdb): Revert previous change.
15120 (gdb-inferior-io--init-proc): New function.
15121 (gdb-init-1): Use it.
15122 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
15123 responsible for allocating a new pty and hooking it to gdb when
15124 the old pty gets an EIO due to process exit.
15125 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
15126 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
15127 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
15129 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15131 * window.el (window-min-size, window-sizable, window-min-delta)
15132 (window-max-delta, window--resizable, window-resizable)
15133 (window-total-size, window-full-height-p, window-full-width-p)
15134 (window-in-direction, window--resize-mini-window, window-resize)
15135 (window--resize-child-windows-normal)
15136 (window--resize-child-windows, window--resize-siblings)
15137 (window--resize-this-window, adjust-window-trailing-edge)
15138 (enlarge-window, shrink-window): Doc fixes.
15140 2012-04-20 Chong Yidong <cyd@gnu.org>
15142 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
15143 New function to call delete-process on the gdb-inferior buffer's pty.
15144 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
15145 pty process (Bug#11273).
15146 (gdb-update): New arg to suppress talking to the gdb process.
15147 (gdb-done-or-error): Use it.
15148 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
15149 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
15150 sentinel not being called.
15152 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
15154 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
15156 2012-04-20 Glenn Morris <rgm@gnu.org>
15158 * net/network-stream.el (open-network-stream): Doc fix.
15160 2012-04-20 Chong Yidong <cyd@gnu.org>
15162 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
15164 2012-04-20 Alan Mackenzie <acm@muc.de>
15166 Ensure searching for keywords is case sensitive.
15168 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
15169 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
15170 (c-defun-name, c-mark-function, c-cpp-define-name)
15171 (c-comment-indent, c-scan-conditionals, c-indent-defun)
15172 (c-context-line-break): Bind case-fold-search to nil.
15174 * progmodes/cc-mode.el (c-font-lock-fontify-region):
15175 Bind case-fold-search to nil.
15177 2012-04-20 Chong Yidong <cyd@gnu.org>
15179 * mail/sendmail.el (mail-bury): Call return action with the right
15180 Rmail buffer (Bug#11242).
15182 * server.el (server-process-filter): Handle corner case where both
15183 tty and nowait options are present (Bug#11102).
15185 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15187 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
15188 (top level): Put into the executable the ident-style '$Id:' tag on
15189 windows-nt as well.
15191 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15193 * electric.el (electric-indent-post-self-insert-function): Check that
15194 electric-indent-mode is enabled in current buffer.
15196 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15198 * imenu.el (imenu-progress-message): Restore; it is "used" in
15199 erc/erc-imenu.el and net/snmp-mode.el.
15201 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15203 * avoid.el (mouse-avoidance-mode): Mark unused arg.
15204 (mouse-avoidance-nudge-mouse): Remove unused binding.
15206 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
15208 * descr-text.el (describe-char):
15209 * progmodes/python.el (python-describe-symbol):
15210 Don't call `toggle-read-only', set `buffer-read-only'.
15212 * imenu.el (imenu-default-goto-function): Mark unused args.
15213 (imenu-progress-message): Remove obsolete macro; all callers changed.
15215 * subr.el (keymap-canonicalize): Remove unused binding.
15216 (read-passwd): Mark unused arg.
15218 * tutorial.el (tutorial--display-changes): Remove unused binding.
15219 (tutorial--save-tutorial-to): Remove unused variable.
15221 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
15222 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
15223 (package-generate-autoloads, package-menu--generate)
15224 (package-menu--find-upgrades): Remove unused bindings.
15226 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
15227 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
15228 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
15229 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
15230 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
15231 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
15232 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
15233 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
15234 (cua-delete-char-rectangle): Mark unused args.
15235 (cua-align-rectangle): Remove unused binding.
15237 * mail/rmail.el (compilation--message->loc)
15238 (epa--find-coding-system-for-mime-charset): Declare.
15240 * net/dbus.el (dbus-register-service): Declare.
15241 (dbus-name-owner-changed-handler): Remove unused binding.
15243 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
15244 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
15245 (nxml-scan-backward-within): Mark unused arg.
15246 (nxml-dynamic-markup-word): Remove unused binding.
15248 * mouse.el (mouse-menu-major-mode-map):
15249 * emacs-lisp/authors.el (authors-scan-change-log)
15250 (authors-add-to-author-list):
15251 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
15252 * emacs-lisp/smie.el (smie-auto-fill):
15253 * mail/sendmail.el (mail-bury):
15254 * mail/unrmail.el (unrmail):
15255 * net/tls.el (open-tls-stream):
15256 * textmodes/picture.el (picture-mouse-set-point):
15257 Remove unused bindings.
15259 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
15261 * net/tramp.el (tramp-action-password): Let-bind
15262 `enable-recursive-minibuffers' to t.
15264 2012-04-18 Sam Steingold <sds@gnu.org>
15266 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
15267 instead of 'string to accommodate values like [f11].
15268 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
15269 * progmodes/gdb-mi.el: Likewise.
15271 2012-04-18 Leo Liu <sdl.web@gmail.com>
15273 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
15275 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
15278 2012-04-18 Chong Yidong <cyd@gnu.org>
15280 * simple.el (line-move): Use forward-line if in batch mode
15283 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
15285 * files.el (after-find-file): Do not try to add a final newline if
15286 the buffer is read-only (Bug#11156).
15288 2012-04-17 Richard Stallman <rms@gnu.org>
15290 * mail/rmail.el (rmail-start-mail):
15291 Pass (rmail-mail-return...) for the return-action.
15292 Pass (rmail-yank-current-message...) for the yank-action.
15293 (rmail-yank-current-message): New function.
15294 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
15295 (rmail-reply): Likewise.
15296 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
15298 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
15299 buffer, not the last. Reject temp buffers. Use the rmail-mode
15300 buffer, not newbuf.
15302 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
15304 * server.el (server-ensure-safe-dir): Simplify.
15306 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15308 * emacs-lisp/smie.el: Provide smarter auto-filling.
15309 (smie-auto-fill): New function.
15310 (smie-setup): Use it.
15312 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
15314 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
15316 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
15317 (comment-indent): Use it.
15319 2012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
15321 * ses.el: The overall change is to add cell renaming, that is
15322 setting fancy names for cell symbols other than name matching
15323 "\\`[A-Z]+[0-9]+\\'" regexp .
15324 (ses-localvars): Add ses--renamed-cell-symb-list.
15325 (ses-create-cell-variable): New defun.
15326 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
15327 (ses-relocate-formula): Relocate formulas only for cells the
15328 symbols of which are not renamed, i.e. symbols whose names do not
15329 match regexp "\\`[A-Z]+[0-9]+\\'".
15330 (ses-relocate-all): Relocate values only for cells the symbols of
15331 which are not renamed.
15332 (ses-load): Create cells variables as the (ses-cell ...) are read,
15333 in order to check row col consistency with cell symbol name only
15334 for cells that are not renamed.
15335 (ses-replace-name-in-formula): New defun.
15336 (ses-rename-cell): New defun.
15338 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
15340 * progmodes/perl-mode.el (perl-indent-parens-as-block):
15341 New option (bug#11118).
15342 (perl-calculate-indent): Respect it.
15344 2012-04-17 Glenn Morris <rgm@gnu.org>
15346 * dired-aux.el (dired-mark-read-string): Doc fix.
15348 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
15350 * dired-aux.el (dired-mark-read-string): Offer optional completion.
15351 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
15353 2012-04-17 Glenn Morris <rgm@gnu.org>
15355 * mouse.el (mouse-drag-track):
15356 * speedbar.el (speedbar-frame-mode):
15357 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
15359 2012-04-16 Leo Liu <sdl.web@gmail.com>
15361 * progmodes/python.el: Trivial cleanup.
15363 2012-04-16 Glenn Morris <rgm@gnu.org>
15365 * vc/vc.el (vc-string-prefix-p):
15366 * vc/pcvs-util.el (cvs-string-prefix-p):
15367 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
15368 * mpc.el (mpc-string-prefix-p):
15369 Make all of these into obsolete aliases for string-prefix-p.
15371 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
15373 * textmodes/two-column.el: Move custom options to the start.
15374 (frame-width): Remove compat definition.
15375 (2C-associate-buffer, 2C-dissociate):
15376 Use with-current-buffer rather than save-excursion.
15377 (2C-dissociate): Force a mode-line update.
15378 (2C-autoscroll): Use ignore-errors.
15380 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
15383 * emacs-lisp/cl-extra.el (*random-state*):
15384 Remove unnecessary declaration.
15386 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
15388 * play/cookie1.el (cookie-snarf):
15389 Give an explicit error if input file cannot be read.
15391 * play/yow.el (yow-file): Use expand-file-name rather than concat.
15393 * progmodes/perl-mode.el (c-macro-expand):
15394 Remove unnecessary autoload (it is in loaddefs.el).
15396 * textmodes/picture.el (picture-desired-column)
15397 (picture-update-desired-column): Convert comments to doc-strings.
15398 (picture-substitute): Remove function.
15399 (picture-mode-map): Initialize in the defvar.
15401 * woman.el: Remove eval-after-load for tar-mode.
15402 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
15403 (woman-tar-extract-file): Autoload it.
15405 * frame.el (automatic-hscrolling): Make this alias obsolete.
15407 2012-04-12 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
15409 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
15410 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
15411 (ispell-dictionary-base-alist): Revert to original XEmacs
15412 friendly version for default. [:alpha:] will be added in
15413 `ispell-set-spellchecker-params' if needed.
15415 2012-04-16 Chong Yidong <cyd@gnu.org>
15417 * image.el (imagemagick--file-regexp): New variable.
15418 (imagemagick-register-types): Use it.
15419 (imagemagick-types-inhibit): Add :set function. Allow new value
15420 of t to inhibit all types.
15422 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
15423 so we can preload it.
15425 * loadup.el (fboundp): Preload regexp-opt, needed by
15426 imagemagick-register-types.
15428 2012-04-15 Chong Yidong <cyd@gnu.org>
15430 * frame.el (scrolling): Remove nearly unused customization group.
15432 * scroll-all.el (scroll-all-mode): Move to windows group.
15434 2012-04-15 Chong Yidong <cyd@gnu.org>
15436 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
15438 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15440 Avoid the use of ((lambda ...) ...) in lexical-binding code.
15441 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
15443 2012-04-15 Glenn Morris <rgm@gnu.org>
15445 * simple.el (process-file-side-effects): Doc fix.
15447 2012-04-15 Glenn Morris <rgm@gnu.org>
15449 * international/mule-cmds.el (set-language-environment): Doc fix.
15451 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15453 * server.el (server-auth-key, server-generate-key): Doc fixes.
15454 (server-get-auth-key): Doc fix. Use `string-match-p'.
15455 (server-start): Reflow docstring.
15457 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
15459 * server.el (server-generate-key): `called-interactively-p'
15460 requires a parameter.
15462 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
15464 * server.el (server-auth-key): New variable.
15465 (server-generate-key, server-get-auth-key): New function.
15466 (server-start): Use the new variable and functions to allow
15467 setting a permanent server key (bug#9423).
15469 2012-04-14 Leo Liu <sdl.web@gmail.com>
15471 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
15473 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
15476 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
15477 Emacs uses American spelling.
15479 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15481 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
15482 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
15483 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
15484 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
15486 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15488 * progmodes/which-func.el (which-func-modes): Change default.
15490 2012-04-14 Kim F. Storm <storm@cua.dk>
15492 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
15493 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
15495 2012-04-14 Chong Yidong <cyd@gnu.org>
15497 * custom.el (custom-theme-set-variables): Doc fix.
15499 2012-04-14 Glenn Morris <rgm@gnu.org>
15501 * international/mule.el (set-auto-coding-for-load): Doc fix.
15503 2012-04-14 Alan Mackenzie <acm@muc.de>
15505 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
15506 imenu work again for Objective C Mode. Correct the *-index values,
15507 these having been disturbed by a previous change in 2011-08.
15509 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
15510 Correct two search limits.
15512 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15514 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
15516 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
15518 * international/characters.el: Fix sorting.
15520 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15522 * international/characters.el: Add more missing Latin case pairs.
15524 2012-04-14 Glenn Morris <rgm@gnu.org>
15526 * files.el (dir-locals-set-class-variables): Doc fix.
15528 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15530 * international/characters.el: Add set-case-syntax-pair call for
15531 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
15532 counterpart. (Bug#11209)
15534 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
15536 2012-04-14 Glenn Morris <rgm@gnu.org>
15538 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15540 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15542 * textmodes/ispell.el (ispell-dictionary-base-alist):
15543 Add data for Hebrew.
15545 2012-04-14 Chong Yidong <cyd@gnu.org>
15547 * net/rcirc.el (rcirc-cmd-quit):
15548 Revert 2012-03-18 change (Bug#11192).
15550 2012-04-14 Glenn Morris <rgm@gnu.org>
15552 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
15554 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15556 * minibuffer.el (completion-in-region-mode-map):
15557 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
15559 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
15561 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
15563 2012-04-13 Masatake YAMATO <yamato@redhat.com>
15565 * minibuffer.el (minibuffer-local-filename-syntax): New variable
15566 to allow `C-M-f' and `C-M-b' to move to the nearest path
15567 separator (bug#9511).
15569 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
15571 * avoid.el: Require cl when compiling. And also move the
15572 `provide' to the end.
15574 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15576 * avoid.el (mouse-avoidance-banish-position): New variable.
15577 (mouse-avoidance-banish-destination): Use it (bug#10165).
15579 2012-04-13 Leo Liu <sdl.web@gmail.com>
15581 * progmodes/which-func.el (which-func-modes): Add objc-mode.
15583 2012-04-13 Ken Brown <kbrown@cornell.edu>
15585 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
15586 this is no longer needed now that cygstart understands file:// URLs.
15587 (browse-url-filename-alist): For the same reason, don't modify
15588 file:// URLs on Cygwin.
15590 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
15592 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
15593 the region on shift if the binding is already shifted (bug#11221).
15595 2012-04-12 Glenn Morris <rgm@gnu.org>
15597 * mail/mailpost.el: Move to obsolete/.
15599 2012-04-12 Drew Adams <drew.adams@oracle.com>
15601 * imenu.el (imenu--generic-function): Ignore invisible definitions
15604 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
15606 * hexl.el (hexl-bits): New variable.
15607 (hexl-options): Mention the variable in the doc string.
15608 (hexl-rulerise, hexl-line-displen): New functions.
15609 (hexl-mode): Mention the new variable.
15610 (hexl-mode, hexl-current-address, hexl-current-address):
15612 (hexl-ascii-start-column): New function.
15613 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
15614 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
15616 2012-04-12 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
15618 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
15619 '("-i" ENCODING), in 2 separate command-line arguments, to specify
15620 the encoding, as expected by hunspell.
15622 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
15624 * battery.el (battery--linux-sysfs-regexp): New const.
15625 (battery-status-function): Use it. Remove yeeloong special case.
15626 (battery-yeeloong-sysfs): Remove.
15627 (battery-echo-area-format): Remove yeeloong special case.
15629 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15631 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
15632 Reported by Noah Friedman.
15634 * subr.el (read-passwd): Use read-string.
15636 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15638 * vcursor.el (vcursor-move): Increase the priority of the overlay
15641 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15643 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
15644 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
15646 2012-04-11 William Stevenson <yhvh2000@gmail.com>
15648 * textmodes/artist.el (artist-mode): Convert artist-mode to use
15649 define-minor-mode (bug#10760).
15651 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15653 * progmodes/grep.el (rgrep): Tweak the find command line so
15654 that directories matching `grep-find-ignored-files' won't be
15655 pruned (bug#10351).
15657 2012-04-11 Chong Yidong <cyd@gnu.org>
15659 * startup.el (command-line): Remove support for long-obsolete
15660 variable font-lock-face-attributes.
15662 2012-04-11 Glenn Morris <rgm@gnu.org>
15664 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
15666 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15668 * window.el (window--state-get-1): Obey window-point-insertion-type.
15670 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
15672 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
15673 to previous function when point is on the first character of a
15674 function. Take care of that in `narrow-to-defun' (bug#6157).
15676 2012-04-11 Glenn Morris <rgm@gnu.org>
15678 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
15679 not just file-errors.
15681 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
15682 (vc-bzr-sha1): Use internal sha1.
15684 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15686 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
15688 2012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
15690 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
15691 that start in the middle of the line (bug#10496).
15693 2012-04-10 Dan Nicolaescu <dann@gnu.org>
15695 * battery.el (battery-linux-proc-acpi): Only one battery is
15696 discharged at a time, but that seems to confuse battery.el when
15697 computing `rate-type' for the battery not being discharged
15700 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15702 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
15704 * international/quail.el: Use dolist and simplify.
15705 (quail-define-package, quail-update-keyboard-layout)
15706 (quail-define-rules): Use dolist.
15707 (quail-insert-kbd-layout, quail-get-translation): CSE.
15709 * tmm.el: Use dolist, remove left over hook.
15710 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
15712 (calendar-load-hook): Don't mess with it.
15714 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
15715 Use derived-mode-p. Run the diff asynchronously.
15717 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15719 * obsolete/mouse-sel.el: Add an Obsolete-since header.
15721 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
15723 * misc.el: Display absolute path of loaded DLLs (bug#10424).
15724 (list-dynamic-libraries--loaded): New function.
15725 (list-dynamic-libraries--refresh): Use it.
15727 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
15729 * progmodes/python.el (python-fill-paragraph):
15730 Make python-fill-region in a multiline string work when font-lock is
15731 disabled (bug#7018).
15733 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
15735 * language/european.el (cp775): Add oem/legacy (en)coding on
15736 DOS/MS Windows for the Baltic languages. There are still plenty
15737 of texts written in this encoding/codepage (bug#6519).
15739 2012-04-10 Glenn Morris <rgm@gnu.org>
15741 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
15742 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
15744 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
15746 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
15747 next-line "n" and previous-line "p" in order to make recentf more
15748 consistent with ibuffer, dired or org-mode (bug#9387).
15750 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15752 * image.el (put-image): Return the overlay created instead of the
15753 optional input string (bug#7834). Note that this may break code
15754 that is (for some reason or other) depending on `put-image'
15755 returning the string.
15757 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
15759 * simple.el (zap-to-char): Allow zapping using input methods
15762 * textmodes/fill.el (fill-region): Leave point and mark where they
15763 were before filling (bug#5399).
15765 2012-04-09 Glenn Morris <rgm@gnu.org>
15767 * version.el (emacs-bzr-get-version):
15768 Handle lightweight checkouts of local branches.
15770 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
15772 * international/characters.el: Recover lost case pairs. (Bug#11209)
15774 2012-04-09 Chong Yidong <cyd@gnu.org>
15776 * custom.el (custom-variable-p): Return nil for non-symbol
15777 arguments instead of signaling an error.
15778 (user-variable-p): Obsolete alias for custom-variable-p.
15780 * apropos.el (apropos-variable):
15781 * files-x.el (read-file-local-variable):
15782 * simple.el (set-variable):
15783 * woman.el (woman-mini-help):
15784 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
15786 2012-04-09 Glenn Morris <rgm@gnu.org>
15788 * startup.el (normal-top-level): Don't look for leim-list.el
15789 in places where it will not be found. (Bug#910)
15791 * international/mule-cmds.el (set-default-coding-systems):
15792 * files.el (normal-mode):
15793 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
15794 This function was removed with ucs-tables.el in 2008.
15796 2012-04-08 Eli Zaretskii <eliz@gnu.org>
15798 * textmodes/ispell.el (ispell-check-version): For hunspell, set
15799 ispell-encoding8-command to "-i", without a trailing space.
15800 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
15801 separate command-line arguments, to specify the encoding, since
15802 that's how hunspell expects it.
15804 2012-04-08 Glenn Morris <rgm@gnu.org>
15806 * loadup.el: Load bindings before cus-start.
15807 This reduces somewhat the number of "rogue" settings in emacs -Q.
15809 2012-04-07 Glenn Morris <rgm@gnu.org>
15811 * version.el (emacs-bzr-get-version): New function.
15812 (emacs-bzr-version): New variable.
15813 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
15814 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
15816 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15818 * international/uni-bidi.el, international/uni-category.el:
15819 * international/uni-combining.el, international/uni-decimal.el:
15820 * international/uni-decomposition.el, international/uni-digit.el:
15821 * international/uni-lowercase.el, international/uni-mirrored.el:
15822 * international/uni-name.el, international/uni-numeric.el:
15823 * international/uni-titlecase.el, international/uni-uppercase.el:
15824 Update for Unicode 6.1.
15826 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15828 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
15830 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
15832 * window.el (shrink-window): Mention the `window-min-height'
15833 variable in the doc string.
15835 2012-04-05 Bastien Guerry <bzg@altern.org>
15837 * color.el (color-lighten-name): Fix typo.
15839 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15841 * server.el (server--on-display-p): New function.
15842 (server--on-display-p): Use it.
15844 2012-04-04 GĂ¡bor Vida <vidagabor@gmail.com> (tiny change)
15846 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
15849 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15851 * comint.el (comint--common-quoted-suffix): Check string boundary
15852 before comparing (bug#11158).
15853 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
15855 2012-04-04 Chong Yidong <cyd@gnu.org>
15857 * minibuffer.el (completion-extra-properties): Doc fix.
15859 * subr.el (delayed-warnings-hook): Doc fix.
15861 2012-04-04 Daiki Ueno <ueno@unixuser.org>
15863 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
15864 selection (Bug#11159).
15865 (epa-insert-keys): Inform that the default public key will be
15866 exported if no key is selected.
15868 2012-04-04 Richard Stallman <rms@gnu.org>
15870 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
15872 2012-04-03 Chong Yidong <cyd@gnu.org>
15874 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
15875 mail-insert-file, not its obsolete alias mail-attach-file.
15877 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
15879 * notifications.el (notifications-notify): Fix docstring.
15881 2012-04-02 Glenn Morris <rgm@gnu.org>
15883 * emacs-lisp/authors.el (authors-aliases): Another addition.
15885 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
15887 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
15888 `tramp-compat-call-process' instead of `tramp-local-call-process'.
15889 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
15891 2012-04-01 Chong Yidong <cyd@gnu.org>
15893 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
15894 Handle root directory properly.
15895 (copy-directory): Caller changed.
15897 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15898 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
15900 2012-03-31 Glenn Morris <rgm@gnu.org>
15902 * term/xterm.el (xterm-extra-capabilities): Doc fix.
15904 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
15906 * calendar/calendar.el (calendar-window-list)
15907 (calendar-hide-window): Restore. (Bug#11140)
15908 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
15910 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
15912 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15914 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15915 Check if file is a symlink (Bug#10489).
15917 * files.el (copy-directory): Likewise.
15919 2012-03-30 Chong Yidong <cyd@gnu.org>
15921 * image.el (imagemagick-types-inhibit)
15922 (imagemagick-register-types): Doc fix.
15924 2012-03-30 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
15926 * textmodes/ispell.el (ispell-get-extended-character-mode):
15927 Disable extended-char-mode for hunspell. hunspell does not support it
15928 and treats ~word as ordinary words in pipe mode.
15930 2012-03-30 Glenn Morris <rgm@gnu.org>
15932 * tutorial.el (help-with-tutorial): Ensure local variables don't
15933 happen to make the buffer read-only. (Bug#11127)
15935 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15937 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
15938 (perl-calculate-indent): Return `noindent' in strings.
15940 2012-03-28 Sam Steingold <sds@gnu.org>
15942 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
15943 instead of the broken adhockery which does not prevent calendar
15944 buffers from being displayed at random after exit.
15945 (calendar-window-list, calendar-hide-window): Remove the broken
15948 2012-03-28 Glenn Morris <rgm@gnu.org>
15950 * replace.el (query-replace-map): Doc fix.
15952 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
15954 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
15955 contents. (Bug#11109)
15957 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15959 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
15961 (avl-tree--check, avl-tree--check-node): New funs.
15963 2012-03-27 Martin Rudalics <rudalics@gmx.at>
15965 * window.el (switch-to-visible-buffer): New option.
15966 (switch-to-prev-buffer, switch-to-next-buffer):
15967 Observe switch-to-visible-buffer. Make sure that checking for a window
15968 showing a buffer already is done on the same frame.
15970 2012-03-27 Glenn Morris <rgm@gnu.org>
15972 * startup.el (mail-host-address): Doc fix.
15974 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15976 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
15977 than 197 variables.
15979 2012-03-26 Ami Fischman <ami@fischman.org>
15981 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
15983 2012-03-26 Glenn Morris <rgm@gnu.org>
15985 * files.el (save-buffers-kill-emacs): Doc fix.
15987 * startup.el (normal-top-level, command-line, command-line-1):
15988 Give them doc strings.
15990 2012-03-25 Eli Zaretskii <eliz@gnu.org>
15992 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
15993 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
15995 2012-03-25 Chong Yidong <cyd@gnu.org>
15997 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
15998 theme if it was previously enabled before (Bug#11031).
16000 * cus-theme.el (custom-theme-write-faces): Retrieve current face
16001 spec with custom-face-get-current-spec if its :shown-value is not
16002 determined yet (Bug#9337).
16003 (customize-create-theme, custom-theme-revert): Doc fixes.
16005 * button.el (button-at): Minor addition to docstring.
16007 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
16009 * vc/vc.el (vc-merge): Fix a prompt.
16011 2012-03-24 Chong Yidong <cyd@gnu.org>
16013 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
16016 * button.el (button-at): Minor addition to docstring.
16018 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
16020 * newcomment.el (comment-choose-indent): No space after BOL.
16022 2012-03-22 Sam Steingold <sds@gnu.org>
16024 * window.el (switch-to-prev-buffer): Revert last patch because the
16025 bug turned out to be an advertised feature (Elisp manual 28.14).
16027 2012-03-22 Glenn Morris <rgm@gnu.org>
16029 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
16030 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
16032 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16034 * net/network-stream.el (network-stream-open-starttls): Make error
16035 message under Windows be less misleading.
16037 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
16039 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
16040 understands (bug#9942).
16042 2012-03-22 Chong Yidong <cyd@gnu.org>
16044 * simple.el (end-of-visible-line): Handle return value of
16045 next-single-property-change properly (Bug#9371).
16047 2012-03-22 Kenichi Handa <handa@m17n.org>
16049 * international/quail.el (quail-insert-kbd-layout): Fix previous
16050 change. To avoid unwanted bidi reordering, use
16051 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
16053 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
16055 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
16056 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
16057 (ruby-beginning-of-indent): Be more careful with the difference
16058 between word-boundary and symbol boundary.
16059 (ruby-mode-syntax-table): Make : a symbol constituent.
16061 2012-03-21 Andreas Politz <politza@fh-trier.de>
16063 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
16065 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16067 * progmodes/etags.el (tags-completion-at-point-function):
16070 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
16072 2012-03-21 Sam Steingold <sds@gnu.org>
16074 * progmodes/etags.el (tags-completion-at-point-function):
16075 Avoid the error when point is inside the pattern.
16077 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
16079 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
16082 2012-03-21 Drew Adams <drew.adams@oracle.com>
16084 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
16086 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
16088 * ido.el (ido-set-current-directory, ido-read-internal)
16089 (ido-choose-completion-string, ido-completion-help): Handle nil
16090 value of ido-completion-buffer (Bug#11008).
16092 2012-03-21 Sam Steingold <sds@gnu.org>
16094 * window.el (switch-to-prev-buffer): Do not switch to a visible
16095 window previous buffer, just like with the frame previous buffers.
16097 2012-03-21 Chong Yidong <cyd@gnu.org>
16099 * faces.el (make-face, make-empty-face, copy-face):
16100 * face-remap.el (face-remap-add-relative, face-remap-set-base):
16103 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16105 * wid-edit.el (widget-complete-field): Remove (bug#11051).
16106 (widget-complete): Remove broken use of it.
16108 2012-03-20 Chong Yidong <cyd@gnu.org>
16110 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16111 Use string-width and truncate-string-width to handle arbitrary
16114 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
16116 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
16117 to draw rectangles, not squares. (Regression introduced by revno
16118 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
16120 2012-03-18 Chong Yidong <cyd@gnu.org>
16122 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
16123 it is not yet defined (for temacs).
16125 2012-03-18 Leo Liu <sdl.web@gmail.com>
16127 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
16130 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16132 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
16133 (ispell-choices-win-default-height, ispell-silently-savep)
16134 (ispell-dictionary-alist, ispell-encoding8-command)
16135 (ispell-check-version, ispell-aspell-find-dictionary)
16136 (ispell-valid-dictionary-list, ispell-words-keyword)
16137 (ispell-get-word, ispell-internal-change-dictionary)
16138 (ispell-region, ispell-skip-region-list)
16139 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
16140 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
16141 (ispell-message-text-end, ispell-message)
16142 (ispell-buffer-local-parsing): Doc fix.
16144 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
16146 * htmlfontify.el: Add support for code block fontification for ODT
16147 export (Bug #9914).
16148 (hfy-optimisations): Define new option
16150 (hfy-fontify-buffer): Honor above setting.
16151 (hfy-begin-span, hfy-end-span): New routines factored out form
16152 `hfy-fontify-buffer'.
16153 (hfy-begin-span-handler, hfy-end-span-handler): New variables
16154 that permit insertion of custom tags.
16155 (hfy-fontify-buffer): Use above handlers.
16156 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
16157 (hfy-face-to-css): Re-defined to be a variable.
16158 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
16159 over multiple runs. This is made possible by having the caller let
16160 bind a special variable `hfy-user-sheet-assoc'.
16161 (htmlfontify-string): New defun.
16162 (hfy-compile-face-map): Make sure that the last char in the
16163 buffer is correctly fontified.
16164 (hfy-face-resolve-face): Whitespace only change.
16166 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16168 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
16169 message more clear.
16171 2012-03-16 Leo Liu <sdl.web@gmail.com>
16173 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
16175 2012-03-16 Alan Mackenzie <acm@muc.de>
16177 Further optimize the handling of large macros.
16179 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
16180 limit to a call of `c-literal-limits'.
16181 (c-determine-+ve-limit): New function.
16182 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
16183 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
16184 In CASE 5B, restrict a search limit to 500.
16185 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
16187 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
16188 Restrict macro bounds to +-500 from after-change's BEG END.
16190 2012-03-16 Leo Liu <sdl.web@gmail.com>
16192 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
16194 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
16196 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
16197 `special-mode' setting of `buffer-read-only'. (Bug#11010)
16199 2012-03-16 Glenn Morris <rgm@gnu.org>
16201 * view.el (view-buffer, view-buffer-other-window)
16202 (view-buffer-other-frame): Doc fixes re special mode-class.
16204 * subr.el (eval-after-load): If named feature is provided not from
16205 a file, run after-load forms. (Bug#10946)
16207 * calendar/calendar.el (calendar-insert-at-column):
16208 Handle non-unit-width characters a bit better. (Bug#10978)
16210 2012-03-15 Chong Yidong <cyd@gnu.org>
16212 * emacs-lisp/ring.el (ring-extend): New function.
16213 (ring-insert+extend): Extend the ring correctly (Bug#11019).
16215 * comint.el (comint-read-input-ring)
16216 (comint-add-to-input-history): Grow comint-input-ring lazily.
16218 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16220 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
16221 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
16223 * imenu.el: Fix multiple inheritance breakage (bug#9199).
16224 (imenu-add-to-menubar): Don't add a redundant index.
16225 (imenu-update-menubar): Handle a dynamically composed keymap.
16227 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
16229 * mail/sendmail.el (mail-encode-header):
16230 Bind rfc2047-encode-encoded-words to nil.
16232 2012-03-13 Glenn Morris <rgm@gnu.org>
16234 * calendar/calendar.el (calendar-string-spread):
16235 Handle non-unit-width characters a bit better. (Bug#10978)
16237 2012-03-13 Leo Liu <sdl.web@gmail.com>
16239 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
16240 directory and file as argument (Bug#10822).
16242 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16244 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
16245 For dynamically generated code, follow $PC.
16246 (gdb-disassembly-handler-custom): Handle no function name case.
16248 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
16250 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
16251 * emulation/ws-mode.el (ws-query-replace):
16252 * sort.el (sort-regexp-fields):
16253 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
16255 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16257 * dabbrev.el: Fix cycle completion order (bug#10963).
16258 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
16259 (dabbrev-completion): Don't use an obarray; provide
16260 a cycle-sort-function.
16262 2012-03-12 Leo Liu <sdl.web@gmail.com>
16264 * simple.el (kill-new): Use equal-including-properties for comparison.
16265 (kill-do-not-save-duplicates): Doc fix.
16267 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16269 * dabbrev.el: Fix cycle completion (bug#10963).
16270 Use lexical binding and wrap to 80 columns.
16271 (dabbrev-completion): Delay computing the list of completions.
16273 2012-03-12 Kenichi Handa <handa@m17n.org>
16275 * international/quail.el (quail-insert-kbd-layout): Surround each
16276 row by LRO and PDF instead of inserting many LRMs. Pad the left
16277 and right of each non-spacing marks. Insert invisible space
16278 between lower and upper characters to prevent composition.
16280 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16282 * minibuffer.el (minibuffer-complete): Don't get confused when the
16283 function is run twice via different commands (bug#10958).
16284 (complete-with-action): Fix docstring.
16286 2012-03-12 Chong Yidong <cyd@gnu.org>
16288 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
16289 (nxml-completion-at-point-function): New function.
16290 (nxml-mode): Use it.
16291 (nxml-bind-meta-tab-to-complete-flag): Default to t.
16293 * emacs-lisp/package.el (package-unpack, package-unpack-single):
16294 Load generated autoloads file before byte compiling (Bug#10970).
16295 (package--make-autoloads-and-compile): New helper fun.
16297 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
16299 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
16301 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
16303 * autorevert.el (auto-revert-handler): Ensure, that
16304 file-readable-p is applied only for local files or in
16305 auto-revert-tail-mode.
16307 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
16309 * server.el (server-eval-at): Handle non-tcp connections.
16310 Decode result string.
16312 * server.el (server-msg-size): New constant.
16313 (server-reply-print): New function.
16314 (server-eval-and-print): Use it.
16315 (server-eval-at): Use server-quote-arg and server-unquote-arg.
16316 Handle -print-nonl.
16318 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
16320 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
16323 2012-03-11 Chong Yidong <cyd@gnu.org>
16325 * simple.el (goto-line): Doc fix (Bug#9938).
16327 * subr.el (save-window-excursion): Doc fix (Bug#9979).
16329 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
16330 when finished (Bug#10963).
16332 2012-03-11 Martin Rudalics <rudalics@gmx.at>
16334 * window.el (split-window-below): Fix bug in case where
16335 split-window-keep-point is nil (Bug#10971).
16337 2012-03-11 Juri Linkov <juri@jurta.org>
16339 * replace.el (replace-highlight): Set isearch-word to nil
16340 unconditionally. (Bug#10887)
16342 2012-03-10 Eli Zaretskii <eliz@gnu.org>
16344 * net/mairix.el (mairix-replace-invalid-chars): Rename from
16345 mairix-replace-illegal-chars; all callers changed. Don't remove
16346 ^, ~, and = characters: they are meaningful in mairix search specs.
16347 (mairix-widget-create-query): Add usage information about mairix
16348 search forms: negating words, searching for substrings, etc.
16350 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
16352 * international/fontset.el (font-encoding-alist): Add an entry for
16353 ksx1001 (Bug#5667).
16355 2012-03-10 Richard Stallman <rms@gnu.org>
16357 * mail/sendmail.el (mail-encode-header):
16358 Set rfc2047-encode-encoded-words.
16360 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
16362 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
16363 view buffer means not swapped.
16364 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
16365 (rmail-write-region-annotate): Error if real text has disappeared.
16367 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
16369 2012-03-10 Chong Yidong <cyd@gnu.org>
16371 * emulation/cua-rect.el (cua--init-rectangles):
16372 * emulation/cua-base.el (cua--init-keymaps):
16373 Add delete-forward-char to remappings (Bug#9666).
16375 2012-03-10 Martin Rudalics <rudalics@gmx.at>
16377 * speedbar.el (speedbar-unhighlight-one-tag-line):
16378 Avoid unhighlighting due to frame switching (Bug#10275).
16380 2012-03-10 Chong Yidong <cyd@gnu.org>
16382 * minibuffer.el (completion-in-region, completion-help-at-point):
16383 Give the completion field overlay a high priority (Bug#6830).
16385 * dired.el (dired-goto-file): Recognize absolute file name
16386 listings (Bug#7126).
16387 (dired-goto-file-1): New helper function.
16388 (dired-toggle-read-only): Inhibit warnings.
16390 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
16392 * net/dbus.el (dbus-property-handler): Return empty array if
16393 there are no properties.
16395 2012-03-09 Leo Liu <sdl.web@gmail.com>
16397 * savehist.el (savehist-printable): Stricter check for string
16400 2012-03-09 Eli Zaretskii <eliz@gnu.org>
16402 * mail/smtpmail.el (smtpmail-send-it):
16403 Bind coding-system-for-write to *-unix, so that FCC files are kept in
16406 2012-03-09 Glenn Morris <rgm@gnu.org>
16408 * files.el (dir-locals-find-file):
16409 Don't check result is regular, readable.
16410 (dir-locals-read-from-file): Demote errors.
16412 2012-03-08 Eli Zaretskii <eliz@gnu.org>
16414 * international/quail.el (quail-insert-kbd-layout):
16415 Insert invisible LRM characters before each character in a keyboard
16416 layout cell, to prevent their reordering by bidi display engine.
16417 For details, see the discussion in
16418 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
16420 2012-03-08 Alan Mackenzie <acm@muc.de>
16422 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
16423 the starting position; make it extend the marked region when
16424 invoked repeatedly - all under appropriate circumstances.
16425 Fixes bugs #5525, #10906.
16427 2012-03-08 Glenn Morris <rgm@gnu.org>
16429 * files.el (locate-dominating-file, dir-locals-find-file):
16430 Undo 2012-03-06 change.
16432 2012-03-07 Eli Zaretskii <eliz@gnu.org>
16434 * international/quail.el (quail-help):
16435 Force bidi-paragraph-direction be left-to-right. See discussion in
16436 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
16439 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
16441 Avoid superfluous registering of signals. (Bug#10807)
16443 * notifications.el (notifications-on-action-object)
16444 (notifications-on-close-object): New defvars.
16445 (notifications-on-action-signal, notifications-on-closed-signal):
16446 Unregister the signal if not needed any longer.
16447 (notifications-notify): Register `notifications-action-signal' or
16448 `notifications-closed-signal', if :on-action or :on-close has been
16449 passed as argument.
16451 2012-03-07 Chong Yidong <cyd@gnu.org>
16453 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
16456 2012-03-06 Glenn Morris <rgm@gnu.org>
16458 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16459 (x-disown-selection-internal, x-get-selection-internal):
16460 Doc fix (add arglist signatures). (Bug#10783)
16462 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16464 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16465 Handle breakpoints with no "type".
16467 2012-03-06 Glenn Morris <rgm@gnu.org>
16469 * files.el (locate-dominating-file): Add optional predicate argument.
16470 (dir-locals-find-file): Make use of above change.
16472 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
16474 * info.el (Info-insert-dir): Also try "dir.gz".
16476 2012-03-06 Glenn Morris <rgm@gnu.org>
16478 * files.el (dir-locals-find-file):
16479 Ignore non-readable or non-regular files. (Bug#10928)
16481 * files.el (locate-dominating-file): Doc fix.
16483 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
16485 * calendar/calendar.el (calendar-set-mode-line):
16486 `getenv' returns a string. (Bug#10951)
16488 2012-03-05 Leo Liu <sdl.web@gmail.com>
16490 * simple.el (backward-delete-char-untabify): Constrain point to
16493 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
16495 2012-03-05 Chong Yidong <cyd@gnu.org>
16497 * simple.el (count-words): If called from Lisp, return the word
16498 count, for symmetry with `count-lines'. Arglist changed.
16499 (count-words--message): Args changed. Consolidate counting code
16500 from count-words and count-words-region.
16501 (count-words-region): Caller changed.
16502 (count-lines-region): Make it an obsolete alias.
16504 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
16506 * saveplace.el (save-place-to-alist)
16507 (save-place-ignore-files-regexp): Allow value nil to disable this
16510 2012-03-04 Chong Yidong <cyd@gnu.org>
16512 * faces.el (face-spec-reset-face): For the default face, reset the
16513 attributes to default values (Bug#10748).
16515 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16517 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
16518 previous patch: Check `message-send-mail-function', and not the
16519 default function (bug#10897).
16521 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
16523 * notifications.el (notifications-on-action-signal)
16524 (notifications-on-closed-signal): Check for unique service name of
16525 incoming event. Fix error in removing entry.
16526 (top): Register for signals with wildcard service name.
16527 (notifications-notify): Use daemon unique service name for map entries.
16529 2012-03-04 Chong Yidong <cyd@gnu.org>
16531 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
16533 2012-03-04 Glenn Morris <rgm@gnu.org>
16535 * abbrev.el (copy-abbrev-table, abbrev-table-p)
16536 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
16537 (expand-abbrev, define-abbrev-table): Doc fixes.
16539 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16541 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
16542 `message-default-send-mail-function' and not `send-mail-function'
16543 when doing the prompting for `sendmail-query-once' before sending
16544 in Message buffers (bug#10897).
16546 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
16547 This is inconsistent with all the other stream functions, which leave
16548 the setting up to the higher levels (if so wanted) (bug#10931).
16550 2012-03-02 Alan Mackenzie <acm@muc.de>
16552 Depessimize the handling of very large macros.
16554 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
16555 (c-macro-cache-syntactic): New variables to implement a one
16556 element macro cache.
16557 (c-invalidate-macro-cache): New function.
16558 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
16559 Adapt to use the new cache.
16560 (c-state-safe-place): Use better the cache of safe positions.
16561 (c-state-semi-nonlit-pos-cache)
16562 (c-state-semi-nonlit-pos-cache-limit):
16563 New variables for...
16564 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
16565 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
16566 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
16567 Use c-state-semi-safe-place.
16569 * progmodes/cc-langs.el (c-get-state-before-change-functions):
16570 Add c-invalidate-macro-cache to the C, C++, Obj entries.
16572 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
16574 * jka-compr.el (jka-compr-call-process):
16575 Apply `file-accessible-directory-p' only when the default directory is
16578 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
16580 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
16581 access of FILE2, if FILE1 does not exist.
16583 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
16584 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
16586 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
16587 Add "PAGER=" to `process-environment'.
16589 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
16591 * progmodes/sql.el: Bug fix
16592 (sql-get-login-ext): Save login values in globals.
16593 (sql-get-login): Use new version of `sql-get-login-ext'.
16594 (sql-interactive-mode): Set global `sql-connection' to nil.
16595 (sql-connect): Set global values for connection.
16596 (sql-product-interactive): Save global values as buffer local.
16598 2012-02-29 Leo Liu <sdl.web@gmail.com>
16600 * abbrev.el (define-abbrevs): Reset sys to nil.
16602 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16604 * files.el (file-equal-p): Rename from `files-equal-p'.
16605 Return nil when one or both files don't exist.
16606 (file-subdir-of-p): Now only top directory must exists,
16607 return nil if it doesn't.
16608 (copy-directory): No need to test with `file-subdir-of-p' after
16610 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
16613 2012-02-28 Glenn Morris <rgm@gnu.org>
16615 * shell.el (shell-mode):
16616 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
16617 * play/landmark.el (landmark-font-lock-face-O):
16618 * play/handwrite.el (handwrite):
16619 * play/gomoku.el (gomoku-O):
16620 * net/browse-url.el (browse-url-browser-display):
16621 * international/mule.el (define-charset):
16622 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
16623 * filesets.el (filesets-find-file-delay):
16624 * eshell/em-xtra.el (eshell-xtra):
16625 * eshell/em-unix.el (eshell-grep):
16626 * emulation/viper.el (viper-mode):
16627 * emacs-lisp/regexp-opt.el (regexp-opt-group):
16628 * emacs-lisp/easymenu.el (easy-menu-define):
16629 * calendar/timeclock.el (timeclock-use-display-time):
16631 * bookmark.el (bookmark-save-flag):
16632 Doc fix (standardize possessive apostrophe usage).
16634 2012-02-27 Chong Yidong <cyd@gnu.org>
16636 * emulation/viper-cmd.el (viper-intercept-ESC-key):
16637 Fix key-binding lookup for ESC key (Bug#9146).
16639 * font-lock.el (font-lock-specified-p): Rename from
16640 font-lock-spec-present. Callers changed.
16642 2012-02-27 Daniel Hackney <dan@haxney.org>
16644 * emacs-lisp/package.el (package-compute-transaction):
16645 Handle holding a package version to t in package-load-list.
16647 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
16649 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
16650 (tramp-get-inode, tramp-get-device): Use cached values.
16652 2012-02-26 Alan Mackenzie <acm@muc.de>
16654 Check there is a font-lock specification before doing initial
16657 * font-core.el (font-lock-mode): Move the conditional from
16658 :after-hook to font-lock-initial-fontify.
16659 (font-lock-default-function): Move the check for a specification
16660 to font-lock-spec-present.
16662 * font-lock.el (font-lock-initial-fontify): Call ...
16663 (font-lock-spec-present): New function.
16665 2012-02-26 Jim Blandy <jimb@red-bean.com>
16667 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
16668 (gdb-send): Apply it to the operand of the '-interpreter-exec
16669 console' command, so that we can pass arguments with (say) quotes
16670 in them. Store exact string sent in gdb-debug-log (Bug#10765).
16672 2012-02-26 Chong Yidong <cyd@gnu.org>
16674 * help-fns.el (describe-function-1): Clarify description of
16675 remapping (Bug#10844).
16677 * files.el (files-equal-p): Doc fix.
16678 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
16679 and quit the loop once a mismatch is found.
16681 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
16683 * bs.el (bs--show-with-configuration): Don't throw an error
16684 if the window cannot be split; otherwise, subsequent calls to
16685 bs-show fail, restoring a stale window config. (Bug#10882)
16687 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
16689 * term/ns-win.el (global-map): Bind ns-drag-file to
16690 ns-find-file (Bug#5855, Bug#10050).
16692 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
16694 * calendar/parse-time.el (parse-time-string): Allow extractor to
16697 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
16699 * net/tramp.el (tramp-file-name-for-operation):
16700 Add `files-equal-p' and `file-subdir-of-p'.
16702 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16703 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16704 Add COPY-CONTENTS argument.
16706 2012-02-25 Chong Yidong <cyd@gnu.org>
16708 Add custom groups for VC backends, for consistency with vc-bzr.
16710 * vc/vc-arch.el (vc-arch):
16711 * vc/vc-cvs.el (vc-cvs):
16712 * vc/vc-git.el (vc-git):
16713 * vc/vc-hg.el (vc-hg):
16714 * vc/vc-mtn.el (vc-mtn):
16715 * vc/vc-rcs.el (vc-rcs):
16716 * vc/vc-sccs.el (vc-sccs):
16717 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
16718 All relevant defcustoms reassigned.
16720 2012-02-25 Chong Yidong <cyd@gnu.org>
16722 * newcomment.el (comment-styles): Add autoload (Bug#10868).
16724 * term/x-win.el (x-initialize-window-system): Reduce default for
16725 x-selection-timeout to 5 seconds (Bug#8869).
16727 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16729 * files.el (files-equal-p, file-subdir-of-p): New functions.
16730 (copy-directory): Error when trying to copy a directory on itself.
16731 Add missing copy-contents arg to tramp handler.
16732 * dired-aux.el (dired-copy-file-recursive): Same.
16733 (dired-create-files): Modify destination when source is equal to
16734 dest when copying files.
16735 Return also when dest is a subdir of source. (Bug#10489)
16737 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
16739 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
16742 2012-02-23 Alan Mackenzie <acm@muc.de>
16744 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
16745 parameter "after-hook:" to allow the expansion to run code after
16746 the execution of the mode hooks.
16748 * font-lock.el (font-lock-initial-fontify): New function extracted
16749 from font-lock-mode-internal.
16751 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
16754 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16756 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
16757 (completion--cache-all-sorted-completions): New function.
16758 (completion-all-sorted-completions): Use it.
16759 (completion--do-completion, minibuffer-force-complete):
16760 Use it to re-instate the flush hook.
16762 * icomplete.el (icomplete-completions): Replace last fix with a better
16765 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
16767 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
16768 when it might call us back infinitely (bug#10797).
16770 2012-02-23 Glenn Morris <rgm@gnu.org>
16772 * minibuffer.el (completion-category-overrides): Doc fix.
16774 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16776 * minibuffer.el (completion-table-with-context): Fix inf-loop.
16777 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
16779 2012-02-23 Glenn Morris <rgm@gnu.org>
16781 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
16782 (authors-obsolete-files-regexps, authors-ignored-files)
16783 (authors-ambiguous-files, authors-renamed-files-alist):
16786 2012-02-23 Juri Linkov <juri@jurta.org>
16788 * isearch.el (isearch-occur): Sync interactive spec with occur's
16789 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
16791 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
16793 2012-02-22 Juri Linkov <juri@jurta.org>
16795 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
16796 (ucs-insert): Doc fix. Check for hex digits in the string.
16797 Don't display `nil' in the error message. (Bug#10857)
16799 2012-02-22 Alan Mackenzie <acm@muc.de>
16801 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
16803 2012-02-22 Glenn Morris <rgm@gnu.org>
16805 * ffap.el (ffap-c-path):
16806 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
16808 2012-02-22 Chong Yidong <cyd@gnu.org>
16810 * custom.el (load-theme): Doc fix.
16812 2012-02-22 Glenn Morris <rgm@gnu.org>
16814 * dired-x.el (dired-guess-shell-alist-default):
16815 Remove escape sequences from nroff output. (Bug#172)
16817 2012-02-21 Glenn Morris <rgm@gnu.org>
16819 * vc/emerge.el (emerge-defvar-local):
16820 Set `permanent-local' property rather than unused `preserved'.
16822 * textmodes/picture.el (picture-delete-char): New alias.
16823 (picture-mode-map): Use it. (Bug#10860)
16824 (picture-mode): Doc fix.
16826 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
16828 * newcomment.el (uncomment-region-default): Remove unused binding.
16830 2012-02-21 Glenn Morris <rgm@gnu.org>
16832 * textmodes/picture.el (picture-motion, picture-motion-reverse)
16833 (picture-self-insert, picture-tab-chars): Doc fix.
16834 (picture-mode-map): Fix C-a, C-e.
16836 2012-02-20 Glenn Morris <rgm@gnu.org>
16838 * emacs-lisp/authors.el (authors-aliases): Add another entry.
16840 2012-02-20 Leo Liu <sdl.web@gmail.com>
16842 * icomplete.el (icomplete-completions): Check FROM arg before
16843 passing to substring (Bug#10850).
16845 2012-02-19 Chong Yidong <cyd@gnu.org>
16847 * comint.el: Require ansi-color.
16848 (comint-output-filter-functions): Add ansi-color-process-output.
16850 * ansi-color.el: Don't set comint-output-filter-functions; it is
16851 now in the initial value defined in comint.el.
16852 (ansi-color-apply-face-function): New variable.
16853 (ansi-color-apply-on-region): Use it.
16854 (ansi-color-apply-overlay-face): New function.
16856 * shell.el (shell): No need to require ansi-color.
16857 (shell-mode): Use ansi-color-apply-face-function to highlight
16858 color escapes using font-lock-face property (Bug#10835).
16860 2012-02-19 Chong Yidong <cyd@gnu.org>
16862 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
16863 mode-line formats (Bug#10839).
16865 2012-02-18 Glenn Morris <rgm@gnu.org>
16867 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
16869 * mail/undigest.el (unforward-rmail-message): Doc fix.
16871 * saveplace.el (save-place-ignore-files-regexp): Add :version.
16873 2012-02-18 Eli Zaretskii <eliz@gnu.org>
16875 * international/characters.el (script-list): Sync with the latest
16876 Unicode Character Database.
16878 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
16880 * international/titdic-cnv.el: Remove duplicate coding tag.
16881 * language/cham.el: Likewise.
16882 * language/tai-viet.el: Likewise.
16884 2012-02-18 Glenn Morris <rgm@gnu.org>
16886 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
16887 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
16888 (calendar-bahai-all-holidays-flag, calendar-other-dates):
16889 * calendar/diary-lib.el (diary-abbreviated-year-flag):
16890 * calendar/holidays.el (holiday-bahai-holidays)
16891 (calendar-holidays, list-holidays):
16892 Use utf-8 BahĂ¡'Ă in doc-strings, menus, etc.
16894 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
16896 * saveplace.el (save-place-ignore-files-regexp): New variable
16897 allowing for excluding files from saving their location of point.
16898 The default value matches the temporary commit message editing
16899 files from Git, SVN, Bazaar, and Mercurial.
16900 (save-place-to-alist): Use it.
16902 2012-02-17 Lawrence Mitchell <wence@gmx.li>
16903 Stefan Monnier <monnier@iro.umontreal.ca>
16905 * newcomment.el (uncomment-region-default): Don't leave extra space
16906 when an arg is provided (bug#8150).
16908 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
16910 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
16912 2012-02-17 Glenn Morris <rgm@gnu.org>
16914 * net/socks.el: Require network-stream. (Bug#10599)
16916 2012-02-17 Kenichi Handa <handa@m17n.org>
16918 * international/charprop.el:
16919 * international/uni-name.el:
16920 * international/uni-old-name.el:
16921 * international/uni-comment.el: Regenerate.
16923 2012-02-16 Glenn Morris <rgm@gnu.org>
16925 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
16926 Interactively in calendar buffer, give an error if not on a date.
16928 2012-02-15 Glenn Morris <rgm@gnu.org>
16930 * shell.el (shell-delimiter-argument-list):
16931 Revert 2011-02-17 change. (Bug#8027)
16933 2012-02-15 Chong Yidong <cyd@gnu.org>
16935 * minibuffer.el (completion-at-point-functions): Doc fix.
16937 * custom.el (defcustom): Doc fix; note use of defvar.
16939 2012-02-15 Glenn Morris <rgm@gnu.org>
16941 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
16944 2012-02-14 Glenn Morris <rgm@gnu.org>
16946 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
16948 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
16950 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
16951 way the ports list is computed.
16952 (smtpmail-query-smtp-server): Prompt the user for a port number if
16953 we can't connect to any of the standard ports (bug#10810).
16955 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
16957 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
16959 2012-02-13 Glenn Morris <rgm@gnu.org>
16961 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
16963 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
16965 * net/gnutls.el (gnutls-trustfiles): New variable.
16966 (gnutls-negotiate): Use it.
16968 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
16970 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
16971 does its stuff if Gnus is running.
16973 2012-02-13 Alan Mackenzie <acm@muc.de>
16975 Fix a loop in c-set-fl-decl-start.
16977 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
16978 c-backward-syntactic-ws actually moves backwards.
16980 2012-02-13 Leo Liu <sdl.web@gmail.com>
16982 * net/rcirc.el (rcirc-markup-attributes): Move point to the
16983 beginning so that all \C-o chars are removed.
16985 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
16987 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
16989 2012-02-12 Alan Mackenzie <acm@muc.de>
16991 Fix infinite loop with long macros.
16992 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
16994 2012-02-12 Chong Yidong <cyd@gnu.org>
16996 * window.el (display-buffer): Doc fix (Bug#10785).
16998 2012-02-12 Glenn Morris <rgm@gnu.org>
17000 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17001 (x-disown-selection-internal, x-get-selection-internal):
17002 Sync docs with the xselect.c versions.
17004 * allout-widgets.el: Add missing license notice.
17006 2012-02-11 Glenn Morris <rgm@gnu.org>
17008 * select.el (x-get-selection-internal, x-own-selection-internal)
17009 (x-disown-selection-internal):
17010 * x-dnd.el (x-get-selection-internal): Update declarations.
17012 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
17014 * window.el (window-sides-slots):
17015 * tool-bar.el (tool-bar-position):
17016 * term/xterm.el (xterm-extra-capabilities):
17017 * ses.el (ses-self-reference-early-detection):
17018 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
17019 (verilog-auto-wire-type)
17020 (verilog-auto-delete-trailing-whitespace)
17021 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
17022 (verilog-auto-tieoff-declaration):
17023 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
17024 (sql-oracle-statement-starters, sql-oracle-scan-on):
17025 * progmodes/prolog.el (prolog-align-comments-flag)
17026 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
17027 (prolog-left-indent-regexp, prolog-paren-indent-p)
17028 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
17029 (prolog-types, prolog-mode-specificators)
17030 (prolog-determinism-specificators, prolog-directives)
17031 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
17032 (prolog-electric-dot-flag)
17033 (prolog-electric-dot-full-predicate-template)
17034 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
17035 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
17036 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
17037 (prolog-program-switches, prolog-prompt-regexp)
17038 (prolog-debug-on-string, prolog-debug-off-string)
17039 (prolog-trace-on-string, prolog-trace-off-string)
17040 (prolog-zip-on-string, prolog-zip-off-string)
17041 (prolog-use-standard-consult-compile-method-flag)
17042 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
17043 (prolog-imenu-max-lines, prolog-info-predicate-index)
17044 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
17045 (prolog-char-quote-workaround):
17046 * progmodes/cc-vars.el (c-defun-tactic):
17047 * net/tramp.el (tramp-encoding-command-interactive)
17048 (tramp-local-end-of-line):
17049 * net/soap-client.el (soap-client):
17050 * net/netrc.el (netrc-file):
17051 * net/gnutls.el (gnutls):
17052 * minibuffer.el (completion-category-overrides)
17053 (completion-cycle-threshold)
17054 (completion-pcm-complete-word-inserts-delimiters):
17055 * man.el (Man-name-local-regexp):
17056 * mail/feedmail.el (feedmail-display-full-frame):
17057 * international/characters.el (glyphless-char-display-control):
17058 * eshell/em-ls.el (eshell-ls-date-format):
17059 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
17060 (lisp-lambda-list-keyword-parameter-indentation)
17061 (lisp-lambda-list-keyword-parameter-alignment):
17062 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
17063 * dired-x.el (dired-omit-verbose):
17064 * cus-theme.el (custom-theme-allow-multiple-selections):
17065 * calc/calc.el (calc-highlight-selections-with-faces)
17066 (calc-lu-field-reference, calc-lu-power-reference)
17067 (calc-note-threshold):
17068 * battery.el (battery-mode-line-limit):
17069 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
17070 (archive-7z-update):
17071 * allout.el (allout-prefixed-keybindings)
17072 (allout-unprefixed-keybindings)
17073 (allout-inhibit-auto-fill-on-headline)
17074 (allout-flattened-numbering-abbreviation):
17075 * allout-widgets.el (allout-widgets-auto-activation)
17076 (allout-widgets-icons-dark-subdir)
17077 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
17078 (allout-widgets-theme-dark-background)
17079 (allout-widgets-theme-light-background)
17080 (allout-widgets-item-image-properties-emacs)
17081 (allout-widgets-item-image-properties-xemacs)
17082 (allout-widgets-run-unit-tests-on-load)
17083 (allout-widgets-time-decoration-activity)
17084 (allout-widgets-hook-error-post-time)
17085 (allout-widgets-track-decoration):
17086 Add missing :version tags to new defcustoms and defgroups.
17088 * progmodes/sql.el (sql-ansi-statement-starters)
17089 (sql-oracle-statement-starters): Add custom type.
17091 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
17092 (prolog-system-version): Give it a type.
17094 2012-02-11 Eli Zaretskii <eliz@gnu.org>
17096 * term/pc-win.el (x-select-text, x-selection-owner-p)
17097 (x-own-selection-internal, x-disown-selection-internal)
17098 (x-get-selection-internal): Sync doc strings and argument lists
17099 with xselect.c, common-win.el and x-win.el. (Bug#10783)
17101 2012-02-11 Leo Liu <sdl.web@gmail.com>
17103 * progmodes/python.el (python-end-of-statement): Fix infinite
17106 2012-02-10 Glenn Morris <rgm@gnu.org>
17108 * international/mule-cmds.el (unify-8859-on-encoding-mode)
17109 (unify-8859-on-decoding-mode): Properly mark as obsolete.
17111 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
17113 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
17114 about SMTP before checking the From header.
17116 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
17117 into own function for reuse by emacsbug.el.
17119 2012-02-10 Leo Liu <sdl.web@gmail.com>
17121 * subr.el (condition-case-unless-debug): Rename from
17122 condition-case-no-debug. All callers changed.
17123 (with-demoted-errors): Fix caller.
17125 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
17126 * nxml/rng-valid.el (rng-do-some-validation):
17127 * emacs-lisp/package.el (package-refresh-contents)
17128 (package-menu-execute):
17129 * desktop.el (desktop-create-buffer):
17130 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
17132 2012-02-10 Glenn Morris <rgm@gnu.org>
17134 * textmodes/bibtex.el:
17135 Add missing :version tags for new/changed defcustoms.
17137 * files.el (remote-file-name-inhibit-cache): Doc fixes.
17139 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
17141 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
17142 (smtpmail-via-smtp): Use it, or fall back on the From address.
17143 (smtpmail-send-it): Ditto.
17145 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
17147 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
17148 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
17149 (byte-compile-tmp-var): New const.
17150 (byte-compile-defvar): Use it to minimize .elc size.
17151 Just use `defvar' rather than simulate it (bug#10761).
17153 2012-02-09 Glenn Morris <rgm@gnu.org>
17155 * files.el (rename-uniquely): Doc fix. (Bug#3806)
17157 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
17160 * progmodes/compile.el (compilation-error-screen-columns)
17161 (compilation-first-column, compilation-filter-start): Doc fixes.
17163 * vc/log-view.el (log-view-toggle-entry-display):
17164 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
17166 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
17167 (report-emacs-bug-can-use-xdg-email):
17168 (report-emacs-bug-insert-to-mailer): Doc fixes.
17169 (report-emacs-bug): Message fix.
17171 * net/browse-url.el (browse-url-can-use-xdg-open)
17172 (browse-url-xdg-open): Doc fixes.
17174 * electric.el (electric-indent-mode, electric-pair-mode)
17175 (electric-layout-rules, electric-layout-mode): Doc fixes.
17176 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
17178 2012-02-08 Martin Rudalics <rudalics@gmx.at>
17180 * server.el (server-unselect-display): Don't inadvertently kill
17181 the current buffer. (Bug#10729)
17183 2012-02-08 Glenn Morris <rgm@gnu.org>
17185 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
17186 (sql-list-table): Doc fixes.
17188 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
17189 Comment out (does nothing).
17191 * completion.el (dynamic-completion-mode):
17192 * dirtrack.el (dirtrack-debug-mode):
17193 * electric.el (electric-layout-mode):
17194 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
17195 * face-remap.el (text-scale-mode, buffer-face-mode):
17196 * iimage.el (iimage-mode):
17197 * image-mode.el (image-transform-mode):
17198 * minibuffer.el (completion-in-region-mode):
17199 * scroll-lock.el (scroll-lock-mode):
17200 * simple.el (next-error-follow-minor-mode):
17201 * tar-mode.el (tar-subfile-mode):
17202 * tooltip.el (tooltip-mode):
17203 * vcursor.el (vcursor-use-vcursor-map):
17204 * wid-browse.el (widget-minor-mode):
17205 * emulation/tpu-edt.el (tpu-edt-mode):
17206 * emulation/tpu-extras.el (tpu-cursor-free-mode):
17207 * international/iso-ascii.el (iso-ascii-mode):
17208 * language/thai-util.el (thai-word-mode):
17209 * mail/supercite.el (sc-minor-mode):
17210 * net/goto-addr.el (goto-address-mode):
17211 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
17212 * progmodes/cwarn.el (cwarn-mode):
17213 * progmodes/flymake.el (flymake-mode):
17214 * progmodes/glasses.el (glasses-mode):
17215 * progmodes/hideshow.el (hs-minor-mode):
17216 * progmodes/pascal.el (pascal-outline-mode):
17217 * textmodes/enriched.el (enriched-mode):
17218 * vc/smerge-mode.el (smerge-mode):
17219 Doc fixes (minor mode argument).
17221 2012-02-07 Eli Zaretskii <eliz@gnu.org>
17223 * ls-lisp.el (ls-lisp-sanitize): New function.
17224 (ls-lisp-insert-directory): Use it to fix or remove any elements
17225 in file-alist with missing attributes. (Bug#4673)
17227 2012-02-07 Alan Mackenzie <acm@muc.de>
17229 Fix spurious recognition of c-in-knr-argdecl.
17231 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
17232 putative K&R region.
17234 2012-02-07 Alan Mackenzie <acm@muc.de>
17236 * progmodes/cc-engine.el (c-forward-objc-directive):
17237 Prevent looping in "#pragma mark @implementation".
17239 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
17241 * notifications.el (notifications-on-closed-signal): Make `reason'
17242 optional. (Bug#10744)
17244 2012-02-07 Glenn Morris <rgm@gnu.org>
17246 * emacs-lisp/easy-mmode.el (define-minor-mode):
17247 Doc fixes for the macro and the mode it defines.
17249 * image.el (imagemagick-types-inhibit): Doc fix.
17251 * cus-start.el (imagemagick-render-type): Add it.
17253 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
17255 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
17256 Set the default at load time, too, so that `font-lock-fontify-buffer'
17257 can be called without setting up the entire mode first. This fixes
17258 a bug in `mm-inline-text' with C MIME parts.
17260 2012-02-06 Chong Yidong <cyd@gnu.org>
17262 * simple.el (list-processes--refresh): Delete exited processes
17265 * comint.el (comint-next-prompt): next-single-char-property-change
17266 and prev-single-char-property-change never return nil (Bug#8657).
17268 * custom.el (defcustom): Doc fix (Bug#9711).
17270 2012-02-05 Chong Yidong <cyd@gnu.org>
17272 * cus-edit.el (custom-variable-reset-backup): Quote the value
17273 before storing it in the customized-value property (Bug#6712).
17274 (custom-display): Add a customization type tag.
17275 (custom-buffer-create-internal): Improve tooltip message.
17277 * wid-edit.el (widget-field-value-get): New optional arg to
17278 suppress trailing whitespace truncation.
17279 (character): Use it (Bug#2689).
17281 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
17283 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
17284 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
17286 2012-02-05 Chong Yidong <cyd@gnu.org>
17288 * cus-edit.el (custom-variable-value-create): For mismatched
17289 types, show the current value (Bug#7600).
17291 * custom.el (defcustom): Doc fix.
17293 2012-02-05 Glenn Morris <rgm@gnu.org>
17295 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
17297 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
17299 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
17300 (pp-buffer): Use `ignore-errors', `looking-at-p'.
17301 (pp-last-sexp): Use `looking-at-p'.
17303 2012-02-04 Glenn Morris <rgm@gnu.org>
17305 * files.el (revert-buffer):
17306 Doc fix (mention revert-buffer-in-progress-p).
17308 * emacs-lisp/ert-x.el (ert-simulate-command):
17309 Check deferred-action-list (which is obsolete) is bound.
17311 * subr.el (with-wrapper-hook): Doc fixes.
17313 * simple.el (filter-buffer-substring-functions)
17314 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
17316 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
17318 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
17319 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
17321 2012-02-04 Leo Liu <sdl.web@gmail.com>
17323 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
17325 2012-02-04 Glenn Morris <rgm@gnu.org>
17327 * image.el (image-extension-data): Add obsolete alias.
17329 * isearch.el (isearch-update): Doc fix.
17331 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
17333 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
17335 2012-02-03 Glenn Morris <rgm@gnu.org>
17337 * image.el (image-animated-p): Doc fix. Use image-animated-types.
17338 (image-animate-timeout): Doc fix.
17340 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
17342 2012-02-02 Glenn Morris <rgm@gnu.org>
17344 * server.el (server-auth-dir): Doc fix.
17345 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
17347 * subr.el (run-mode-hooks): Doc fix.
17349 2012-02-02 Juri Linkov <juri@jurta.org>
17351 * image-mode.el (image-toggle-display-image): Remove tautological
17352 `major-mode' from the `derived-mode-p' test.
17354 2012-02-02 Kenichi Handa <handa@m17n.org>
17356 * composite.el (compose-region): Cancel previous change.
17358 2012-02-02 Kenichi Handa <handa@m17n.org>
17360 * composite.el (compose-region, compose-string): Signal error for
17361 a null string component (Bug#6988).
17363 2012-02-01 Chong Yidong <cyd@gnu.org>
17365 * view.el (view-buffer-other-window, view-buffer-other-frame):
17366 Handle special modes like view-buffer (Bug#10650).
17367 (view-buffer): Simplify.
17369 * frame.el (set-frame-font): Tweak meaning of third argument.
17371 * dynamic-setting.el (font-setting-change-default-font):
17372 Use set-frame-font (Bug#9982).
17374 2012-02-01 Glenn Morris <rgm@gnu.org>
17376 * progmodes/compile.el (compilation-internal-error-properties):
17377 Respect compilation-first-column in the "*compilation*" buffer.
17379 * emacs-lisp/easy-mmode.el (define-minor-mode):
17380 Relax :variable's test for a named function.
17382 2012-01-31 Alan Mackenzie <acm@muc.de>
17384 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
17387 2012-01-31 Chong Yidong <cyd@gnu.org>
17389 * frame.el (set-frame-font): New arg ALL-FRAMES.
17391 * menu-bar.el (menu-set-font): Use set-frame-font.
17393 * faces.el (face-spec-reset-face): Don't apply unspecified
17394 attribute values to the default face.
17396 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
17398 * progmodes/cwarn.el (cwarn): Remove dead link.
17399 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
17400 Remove * from defcustom docstrings.
17401 (turn-on-cwarn-mode): Make obsolete.
17402 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
17403 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
17405 2012-01-31 Glenn Morris <rgm@gnu.org>
17407 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
17408 Fix :variable handling of mode a symbol not equal to modefun.
17409 Allow named functions to be used as the cdr of :variable.
17411 2012-01-30 Glenn Morris <rgm@gnu.org>
17413 * emacs-lisp/authors.el (authors-fixed-entries):
17414 Remove reference to deleted file rnewspost.el.
17416 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
17418 * window.el (window-with-parameter): Remove unused variable `windows'.
17419 (window--side-check): Remove unused variable `code'.
17420 (window--resize-siblings): Remove unused variable `first'.
17421 (adjust-window-trailing-edge): Remove unused variable `failed'.
17422 (window-deletable-p, window--delete): Remove unused variable `buffer'.
17423 Use `let', not `let*'.
17424 (balance-windows-2): Remove unused variable `found'.
17425 (window--state-put-2): Remove unused variable `splits'.
17426 (window-state-put): Remove unused variable `selected'.
17427 (same-window-p): Use `string-match-p'.
17428 (display-buffer-assq-regexp): Remove unused variable `value'.
17429 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17430 Mark argument ALIST as ignored.
17431 (pop-to-buffer): Remove unused variable `old-window'.
17433 2012-01-29 Eli Zaretskii <eliz@gnu.org>
17435 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
17436 and .lzma compressed files.
17438 2012-01-29 Chong Yidong <cyd@gnu.org>
17440 * frame.el (window-system-default-frame-alist): Doc fix.
17442 * dynamic-setting.el (font-setting-change-default-font): Don't
17443 change the default face if SET-FONT argument is non-nil (Bug#9982).
17445 2012-01-29 Samuel Bronson <naesten@gmail.com>
17447 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
17449 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
17451 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
17452 breakpoints in files outside current directory (Bug#6098).
17454 2012-01-29 Chong Yidong <cyd@gnu.org>
17456 * progmodes/python.el: Require ansi-color at top-level.
17458 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
17459 Define and use in Emacs Lisp mode (Bug#9360).
17460 (lisp-mode-abbrev-table): Add doc.
17461 (lisp-mode-variables): Don't set local-abbrev-table.
17462 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
17464 2012-01-28 Roland Winkler <winkler@gnu.org>
17466 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
17468 2012-01-28 Roland Winkler <winkler@gnu.org>
17470 * textmodes/bibtex.el (bibtex-entry-alist): New function.
17471 (bibtex-set-dialect): Use it. Either set global values of
17472 dialect-dependent variables or bind these variables buffer-locally
17474 (bibtex-mode): Call bibtex-set-dialect via
17475 hack-local-variables-hook.
17476 (bibtex-dialect): Update docstring.
17477 Add safe-local-variable predicate.
17478 (bibtex-entry-alist, bibtex-field-alist): Initialize via
17479 bibtex-set-dialect.
17480 (bibtex-mode-map): Define menu for each dialect.
17481 (bibtex-entry): Fix docstring.
17483 2012-01-28 Chong Yidong <cyd@gnu.org>
17485 * eshell/esh-arg.el (eshell-quote-argument): New function.
17487 * eshell/esh-ext.el (eshell-invoke-batch-file):
17488 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
17489 first arg to eshell-parse-command (Bug#10523).
17491 2012-01-28 Drew Adams <drew.adams@oracle.com>
17493 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
17494 `default-directory' is non-nil.
17496 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17498 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
17499 line that displays system-configuration-options. (Bug#9924)
17501 2012-01-28 Drew Adams <drew.adams@oracle.com>
17503 * descr-text.el (describe-char): Show information about POS, in
17504 addition to information about the character at POS. Improve and
17505 update the doc string. Change "code point" to "code point in
17506 charset", to avoid confusion with the character's Unicode code
17507 point shown above that. (Bug#10129)
17509 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17511 * descr-text.el (describe-char): Show the raw character, not only
17512 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
17513 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
17516 2012-01-28 Phil Hagelberg <phil@hagelb.org>
17518 * emacs-lisp/package.el (package-install):
17519 Run package-refresh-contents if there is no archive yet (Bug#9798).
17521 2012-01-28 Chong Yidong <cyd@gnu.org>
17523 * emacs-lisp/package.el (package-maybe-load-descriptor):
17524 New function, split from package-maybe-load-descriptor.
17525 (package-maybe-load-descriptor): Use it.
17526 (package-download-transaction): Fully load required packages
17527 inside the loop, so that `require' calls work (Bug#10593).
17528 (package-install): No need to call package-initialize now.
17530 2012-01-28 Chong Yidong <cyd@gnu.org>
17532 * simple.el (deactivate-mark): Doc fix (Bug#8614).
17534 * tooltip.el (tooltip-mode): Doc fix.
17535 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
17537 * frame.el (set-cursor-color): Doc fix (Bug#352).
17539 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
17540 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
17542 * cus-edit.el (custom-buffer-create-internal): Fix search button
17543 action (Bug#10542).
17544 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
17546 2012-01-27 Eduard Wiebe <usenet@pusto.de>
17548 * dired.el (dired-mark-files-regexp):
17549 Include any subdirectory components. (Bug#10445)
17551 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
17553 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
17554 Handle [host]:port syntax. (Bug#10533)
17556 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
17558 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
17560 2012-01-26 Glenn Morris <rgm@gnu.org>
17562 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
17563 * term.el (term-raw-escape-map): Use Control-X-prefix.
17564 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
17566 2012-01-25 Martin Rudalics <rudalics@gmx.at>
17568 * window.el (window-state-get, window--state-get-1): Don't deal
17569 with fixed-sizeness of windows. Simplify code.
17571 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
17573 * window.el (window--state-get-1, window--state-put-2):
17574 Don't save and restore the mark.
17576 2012-01-25 Chong Yidong <cyd@gnu.org>
17578 * custom.el (custom-variable-p): Doc fix.
17580 2012-01-25 Glenn Morris <rgm@gnu.org>
17582 * dired.el (dired-goto-file): Handle some of the more common
17583 characters that `ls -b' escapes. (Bug#10596)
17585 * progmodes/compile.el (compilation-next-error-function):
17586 Respect compilation-first-column in the "*compilation*" buffer.
17587 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
17589 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
17591 2012-01-24 Glenn Morris <rgm@gnu.org>
17593 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
17595 2012-01-24 Julien Danjou <julien@danjou.info>
17597 * color.el (color-rgb-to-hsl): Fix value computing.
17598 (color-hue-to-rgb): New function.
17599 (color-hsl-to-rgb): New function.
17600 (color-clamp, color-saturate-hsl, color-saturate-name)
17601 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
17602 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
17604 2012-01-24 Glenn Morris <rgm@gnu.org>
17606 * vc/vc-rcs.el (vc-rcs-create-tag):
17607 * vc/vc-sccs.el (vc-sccs-create-tag):
17608 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
17610 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
17612 * eshell/esh-util.el (eshell-read-hosts-file):
17613 Skip comment lines. (Bug#10549)
17615 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
17617 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
17619 * subr.el (display-delayed-warnings): Doc fix.
17620 (collapse-delayed-warnings): New function to collapse identical
17622 (delayed-warnings-hook): Add it.
17624 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
17626 * net/tramp.el (tramp-action-login): Set connection property "login-as".
17628 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
17629 (tramp-default-user-alist): Don't add "pscp".
17630 (tramp-do-copy-or-rename-file-out-of-band): Use connection
17631 property "login-as", if set. (Bug#10530)
17633 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
17635 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
17636 "plink1" and "psftp". (Bug#10530)
17638 2012-01-21 Kenichi Handa <handa@m17n.org>
17640 * international/mule-cmds.el (prefer-coding-system): Show a
17641 warning message if the default value of file-name-coding-system
17644 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17646 * windmove.el (windmove-reference-loc):
17647 Fix windmove-reference-loc miscalculation.
17649 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
17651 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
17654 2012-01-21 Glenn Morris <rgm@gnu.org>
17656 * international/mule.el (auto-coding-alist): Add .tbz.
17658 * files.el (local-enable-local-variables): Doc fix.
17659 (inhibit-local-variables-regexps): Rename from
17660 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
17661 Doc fix. Add some extensions from auto-coding-alist.
17662 (inhibit-local-variables-suffixes):
17663 Rename from inhibit-first-line-modes-suffixes. Doc fix.
17664 (inhibit-local-variables-p):
17665 New function, extracted from set-auto-mode-1.
17666 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
17667 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
17668 (hack-local-variables): Doc fix. Make the mode-only case
17669 respect enable-local-variables and friends.
17670 Respect inhibit-local-variables-regexps for file-locals, but
17671 not for directory-locals.
17672 (set-visited-file-name):
17673 Take account of inhibit-local-variables-regexps.
17674 Whether it applies may change as the file name is changed.
17675 * jka-cmpr-hook.el (jka-compr-install):
17676 * jka-compr.el (jka-compr-uninstall):
17677 Update for inhibit-first-line-modes-suffixes name change.
17679 2012-01-20 Martin Rudalics <rudalics@gmx.at>
17681 * help-macro.el (make-help-screen): Temporarily restore original
17682 binding for minor-mode-map-alist (Bug#10454).
17684 2012-01-19 Julien Danjou <julien@danjou.info>
17686 * color.el (color-name-to-rgb): Use the white color to find the max
17687 color component value and return correctly computed values.
17688 (color-name-to-rgb): Add missing float conversion for max value.
17690 2012-01-19 Martin Rudalics <rudalics@gmx.at>
17692 * window.el (window--state-get-1, window-state-get): Do not use
17693 special state value for window-persistent-parameters.
17694 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
17695 (window--state-put-2): Reset all window parameters to nil before
17696 assigning values of persistent parameters.
17698 2012-01-18 Alan Mackenzie <acm@muc.de>
17700 Eliminate sluggishness and hangs in fontification of "semicolon
17703 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
17704 Change value 10000 -> 3000.
17705 (c-state-safe-place): Reformulate so it doesn't stack up an
17706 infinite number of wrong entries in c-state-nonlit-pos-cache.
17707 (c-determine-limit-get-base, c-determine-limit): New functions to
17708 determine backward search limits disregarding literals.
17709 (c-find-decl-spots): Amend commenting.
17710 (c-cheap-inside-bracelist-p): New function which detects "={".
17712 * progmodes/cc-fonts.el
17713 (c-make-font-lock-BO-decl-search-function): Give a limit to a
17715 (c-font-lock-declarations): Fix an occurrence of point being
17716 undefined. Check additionally for point being in a bracelist or
17717 near a macro invocation without a semicolon so as to avoid a
17718 fruitless time consuming search for a declarator. Give a more
17719 precise search limit for declarators using the new
17722 2012-01-18 Glenn Morris <rgm@gnu.org>
17724 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
17725 (set-auto-mode): Doc fixes.
17727 2012-01-17 Glenn Morris <rgm@gnu.org>
17729 * isearch.el (search-nonincremental-instead): Fix doc typo.
17731 * dired.el (dired-insert-directory): Handle newlines in directory name.
17732 (dired-build-subdir-alist): Unescape newlines in directory name.
17734 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
17736 * net/tramp.el (tramp-local-end-of-line): New defcustom.
17737 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
17738 (tramp-action-terminal): Use it. (Bug#10530)
17740 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
17742 * minibuffer.el (completion--replace): Strip properties (bug#10062).
17744 2012-01-16 Martin Rudalics <rudalics@gmx.at>
17746 * window.el (window-state-ignored-parameters): Remove variable.
17747 (window--state-get-1): Rename argument MARKERS to IGNORE.
17748 Handle persistent window parameters. Make copy of clone-of
17749 parameter only if requested. (Bug#10348)
17750 (window--state-put-2): Install a window parameter only if it has
17751 a non-nil value or an existing parameter shall be overwritten.
17753 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
17755 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
17757 2012-01-14 Eli Zaretskii <eliz@gnu.org>
17759 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
17760 don't pass the (nil) value of `upnode' to string-match.
17762 2012-01-14 Chong Yidong <cyd@gnu.org>
17764 * startup.el (command-line): Fix X resource class for cursorColor.
17765 Fix values recognized by the cursorBlink resource.
17767 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
17769 * epg.el (epg--make-temp-file): Avoid permission race condition
17770 when running on old Emacs versions (bug#10403).
17772 2012-01-14 Glenn Morris <rgm@gnu.org>
17774 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
17776 2012-01-13 Alan Mackenzie <acm@muc.de>
17778 Fix filling for when filladapt mode is enabled.
17780 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
17781 c-mask-paragraph, pass in `fill-paragraph' rather than
17782 `fill-region-as-paragraph'. (This is a reversion of a previous
17784 * progmodes/cc-mode.el (c-basic-common-init):
17785 Make fill-paragraph-handle-comment buffer local and set it to nil.
17787 2012-01-13 Glenn Morris <rgm@gnu.org>
17789 * dired.el (dired-switches-escape-p): New function.
17790 (dired-insert-directory): Use dired-switches-escape-p.
17791 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
17793 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
17795 2012-01-12 Glenn Morris <rgm@gnu.org>
17797 * mail/sendmail.el (mail-mode): Update paragraph-separate for
17798 changes in adaptive-fill-regexp. (Bug#10276)
17800 2012-01-11 Alan Mackenzie <acm@muc.de>
17802 Fix Emacs bug #10463 - put `widen's around the critical spots.
17804 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
17805 widen around each invocation of c-state-pp-to-literal. Remove an
17806 unused let variable.
17808 2012-01-11 Glenn Morris <rgm@gnu.org>
17810 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
17813 2012-01-10 Chong Yidong <cyd@gnu.org>
17815 * net/network-stream.el (network-stream-open-starttls):
17816 Avoid emitting a confusing error message when the server gives a bad
17817 response to the capability command.
17819 2012-01-10 Glenn Morris <rgm@gnu.org>
17821 * mail/unrmail.el (unrmail): Tweak previous change.
17823 2012-01-09 Chong Yidong <cyd@gnu.org>
17825 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
17827 2012-01-08 Alan Mackenzie <acm@muc.de>
17829 Optimize font locking in long enum definitions.
17831 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
17832 arm to a cond form to handle enums.
17833 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
17834 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
17836 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
17838 * files.el (move-file-to-trash): Preserve default file modes on error.
17841 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17843 * faces.el (set-face-attribute): Clarify the meaning of the nil
17846 * subr.el (with-selected-frame): Mention that the selected frame
17847 is restored (bug#9980).
17849 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
17852 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
17853 (password-read): Don't autoload unused function.
17855 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
17857 * progmodes/which-func.el (which-func-mode): Turn into a
17858 non-interactive function and mark as obsolete (bug#10428).
17860 2012-01-06 Chong Yidong <cyd@gnu.org>
17862 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
17863 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
17864 functions, along with 1 and -1.
17866 2012-01-06 Eli Zaretskii <eliz@gnu.org>
17868 * time.el (display-time-load-average)
17869 (display-time-default-load-average): Doc fixes. See the thread
17871 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
17874 2012-01-06 Glenn Morris <rgm@gnu.org>
17876 * mail/unrmail.el (unrmail): Give an explicit error if the input file
17877 has no messages. (Bug#10377)
17879 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
17880 than Info-edit. (Bug#10385)
17882 * time.el (display-time-load-average, display-time-next-load-average):
17885 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
17886 local setting of buffer-read-only to the input buffer. (Bug#10419)
17888 * calendar/calendar.el (calendar-mode):
17889 Locally set scroll-margin to 0. (Bug#10379)
17891 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
17893 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
17895 2012-01-05 Glenn Morris <rgm@gnu.org>
17897 * eshell/em-unix.el (diff-no-select): Autoload it.
17898 (eshell/diff): Use diff-no-select. (Bug#10420)
17900 2012-01-05 Chong Yidong <cyd@gnu.org>
17902 * shell.el (shell-dynamic-complete-functions): Revert last change.
17903 (shell-command-completion-function): New function.
17904 (shell-completion-vars): Use it to implement
17905 shell-completion-execonly (Bug#10417).
17907 * custom.el (enable-theme): Don't set custom-safe-themes.
17909 * cus-theme.el (custom-theme-merge-theme):
17910 Ignore custom-enabled-themes and custom-safe-themes.
17912 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
17914 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
17915 first prompt in `sql-interacive-mode'.
17916 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
17918 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
17919 (sql-product-interactive): Bug fix: Set `sql-buffer' in
17920 context of original buffer. Invoke `sql-login-hook'.
17922 2012-01-04 Eli Zaretskii <eliz@gnu.org>
17924 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
17925 letters in cite-prefix.
17927 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17929 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
17931 2012-01-03 Chong Yidong <cyd@gnu.org>
17933 * shell.el (shell-dynamic-complete-functions):
17934 Put pcomplete-completions-at-point, so as to try
17935 comint-filename-completion first (Bug#10417).
17937 2012-01-02 Richard Stallman <rms@gnu.org>
17939 * battery.el (battery-status-function):
17940 Detect when to use battery-yeeloong-sysfs.
17941 (battery-echo-area-format): Add string for Yeeloong.
17942 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
17943 (battery-yeeloong-sysfs): New function.
17945 2012-01-02 Chong Yidong <cyd@gnu.org>
17947 * dirtrack.el (dirtrack-list): Eliminate unused third element.
17948 (dirtrack): Merge code for handling relative filenames in prompt
17949 from shell-dir-cookie-watcher.
17950 (dirtrack-debug-message): New arg to avoid excess format calls.
17952 * shell.el (shell-dir-cookie-re): Variable deleted.
17953 (shell-dir-cookie-watcher): Function deleted.
17954 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
17955 with dirtrack-mode.
17957 2012-01-01 Eli Zaretskii <eliz@gnu.org>
17959 * term/w32-win.el (dynamic-library-alist) <gnutls>:
17960 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
17963 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
17965 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
17967 2011-12-31 Eli Zaretskii <eliz@gnu.org>
17969 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
17970 headers of non-MIME messages, when rmail-enable-mime is non-nil.
17972 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
17974 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
17975 also for alternative shells.
17976 (tramp-open-connection-setup-interactive-shell): Check, whether
17977 the shell is a busybox.
17978 (tramp-send-command): Don't suppress multiple prompts for
17979 busyboxes, it hurts.
17981 2011-12-28 Chong Yidong <cyd@gnu.org>
17983 * progmodes/gdb-mi.el (gdb-get-source-file-list)
17984 (gdb-get-source-file): Move mode line update to
17985 gdb-get-source-file (Bug#10087).
17987 2011-12-25 Chong Yidong <cyd@gnu.org>
17989 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
17990 gud-gdb-marker-filter without taking it as an argument.
17991 (gud-gdb-run-command-fetch-lines): Caller changed.
17992 (gud-gdb-completion-function): New variable.
17993 (gud-gdb-completion-at-point): Use it.
17994 (gud-gdb-completions-1): Split from gud-gdb-completions.
17996 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
17997 function as separate arguments.
17998 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
17999 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
18000 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
18001 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
18002 (gdb-stopped, def-gdb-auto-update-trigger)
18003 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
18004 (gdb-get-changed-registers, gdb-get-main-selected-frame):
18006 (gud-gdbmi-completions): New function.
18007 (gdb): Use it for generating the completion table.
18009 2011-12-24 Alan Mackenzie <acm@muc.de>
18011 Introduce a mechanism to widen the region used in context font
18012 locking. Use this to protect declarations from losing their contexts.
18014 * progmodes/cc-langs.el (c-before-font-lock-functions):
18015 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
18016 (c-before-context-fontification-functions): New defvar, a list of
18017 functions to be run just before context (etc.) font locking.
18019 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
18020 New, functionality extracted from
18021 c-neutralize-syntax-in-and-mark-CPP.
18022 (c-in-after-change-fontification): New variable.
18023 (c-after-change): Set c-in-after-change-fontification.
18024 (c-set-fl-decl-start): Rejig its interface, so it can be called
18025 from both after-change and context fontifying.
18026 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
18028 (c-standard-font-lock-fontify-region-function): New variable.
18029 (c-font-lock-fontify-region): New function.
18031 2011-12-24 Juri Linkov <juri@jurta.org>
18033 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
18036 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
18038 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
18039 existence of source file. (Bug#10325)
18041 2011-12-23 Alan Mackenzie <acm@muc.de>
18043 Fix unstable fontification inside templates.
18045 * progmodes/cc-langs.el (c-before-font-lock-functions):
18046 Newly created from the singular version. The (c c++ objc) entry now
18047 additionally has c-set-fl-decl-start. The other languages (apart
18048 from AWK) have that as a single entry.
18050 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18051 The functionality for "local" declarations has been extracted to
18052 c-set-fl-decl-start.
18054 * progmodes/cc-mode.el (c-common-init, c-after-change):
18055 Changes due to pluralisation of c-before-font-lock-functions.
18056 (c-set-fl-decl-start): New function, extracted from
18057 c-font-lock-enclosing-decls and enhanced.
18059 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
18061 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
18063 2011-12-22 Juri Linkov <juri@jurta.org>
18065 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
18067 2011-12-22 Chong Yidong <cyd@gnu.org>
18069 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
18071 2011-12-21 Drew Adams <drew.adams@oracle.com>
18073 * files.el (file-remote-p): Fix docstring. (Bug#10319)
18075 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
18077 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
18079 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
18081 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
18082 highlighting and support. Fix up comments for capitalization.
18083 (cfengine-mode-debug): New var.
18084 (cfengine3-mode): Change the modeline indicator to "CFE3".
18085 (cfengine3-font-lock-keywords): Improve defun highlighting.
18086 (cfengine2-actions): Rename from `cfengine-actions'.
18087 (cfengine2-font-lock-keywords): Rename from
18088 `cfengine-font-lock-keywords'.
18089 (cfengine2-imenu-expression): Rename from
18090 `cfengine-imenu-expression'.
18091 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
18092 (cfengine2-beginning-of-defun): Rename from
18093 `cfengine-beginning-of-defun'.
18094 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
18095 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
18096 (cfengine2-mode): Rename from `cfengine-mode'. Change the
18097 modeline indicator to "CFE2".
18098 (cfengine-mode): Defalias to `cfengine-auto-mode'.
18099 (cfengine-mode-abbrevs): Mark obsolete.
18101 2011-12-21 Chong Yidong <cyd@gnu.org>
18103 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
18106 2011-12-20 Martin Rudalics <rudalics@gmx.at>
18108 * window.el (window-normalize-buffer-to-display): Remove.
18109 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
18111 2011-12-19 Chong Yidong <cyd@gnu.org>
18113 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
18114 Don't signal an error in a predicate function; return non-nil.
18115 (vc-dir-mark-file): Move the error here.
18116 (vc-dir-mark-unmark): If acting on the region, keep going if one
18117 of the entries cannot be marked/unmarked.
18118 (vc-dir-mark-all-files): If current entry is a directory, mark
18119 only child files, as documented.
18121 2011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
18123 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
18124 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
18127 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
18129 * term/ns-win.el (ns-get-selection-internal)
18130 (ns-store-selection-internal): Declare.
18131 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
18132 Declare as obsolete.
18133 (ns-get-pasteboard, ns-paste-secondary):
18134 Use ns-get-selection-internal.
18135 (ns-set-pasteboard, ns-copy-including-secondary):
18136 Use ns-store-selection-internal.
18138 2011-12-17 Chong Yidong <cyd@gnu.org>
18140 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
18141 (vc-deduce-fileset): Doc fix.
18143 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
18145 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
18147 2011-12-13 Sam Steingold <sds@gnu.org>
18149 * man.el (Man-getpage-in-background): When running under a
18150 window-system, ignore $MANWIDTH and $COLUMNS.
18152 2011-12-15 Kenichi Handa <handa@m17n.org>
18154 * language/ethio-util.el: Change coding tag to utf-8-emacs.
18155 (setup-ethiopic-environment-internal): Comment out key-binding for
18156 ethio-toggle-punctuation.
18158 2011-12-13 Alan Mackenzie <acm@muc.de>
18160 Add the switch statement to AWK Mode.
18162 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
18163 "default" to the keywords regexp.
18165 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
18166 expression as the rest.
18167 (c-nonlabel-token-key): Allow string literals for AWK.
18168 Refactor for the other modes.
18170 Large brace-block initialisation makes CC Mode slow: Fix.
18171 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
18172 routines. Limit backward searching in c-font-lock-enclosing.decl.
18174 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
18175 pp-state and literal type in addition to the limits.
18176 (c-state-safe-place): New defun, extracted from c-state-literal-at.
18177 (c-state-literal-at): Use the above new defun.
18178 (c-slow-in-literal, c-fast-in-literal): Remove.
18179 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
18181 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
18182 being in a literal. Add a limit for backward searching.
18184 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
18187 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
18189 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
18191 2011-12-13 Martin Rudalics <rudalics@gmx.at>
18193 * window.el (delete-other-windows): Use correct frame in call to
18194 window-with-parameter.
18196 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
18198 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
18199 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
18200 (makefile-gmake-statements, makefile-makepp-statements):
18201 Use it and add new makepp keywords.
18202 (makefile-makepp-font-lock-keywords): Add new patterns.
18203 (makefile-match-function-end): Match new [...] and [[...]].
18205 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
18207 * ses.el (ses-call-printer-return, ses-cell-property-get)
18208 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
18209 (ses-create-cell-variable, ses-reset-header-string)
18210 (ses-cell-set-formula, ses-repair-cell-reference-all)
18211 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
18212 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
18213 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
18214 (ses-aset-with-undo, ses-load, ses-truncate-cell)
18215 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
18216 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
18217 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
18218 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
18219 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
18220 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
18221 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
18222 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
18224 2011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
18226 * ses.el: The overall change is to add cell renaming, that is
18227 setting fancy names for cell symbols other than name matching
18228 "\\`[A-Z]+[0-9]+\\'" regexp .
18229 (ses-create-cell-variable): New defun.
18230 (ses-relocate-formula): Relocate formulas only for cells the
18231 symbols of which are not renamed, i.e. symbols whose names do not
18232 match regexp "\\`[A-Z]+[0-9]+\\'".
18233 (ses-relocate-all): Relocate values only for cells the symbols of
18234 which are not renamed.
18235 (ses-load): Create cells variables as the (ses-cell ...) are read,
18236 in order to check row col consistency with cell symbol name only
18237 for cells that are not renamed.
18238 (ses-replace-name-in-formula): New defun.
18239 (ses-rename-cell): New defun.
18241 2011-12-11 Chong Yidong <cyd@gnu.org>
18243 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
18244 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
18246 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
18248 * window.el (other-window): Fix docstring.
18250 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18252 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
18253 `from' or `to' address before taking its substring.
18254 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
18255 encoded name is chopped in the middle of the encoded string, and
18256 thus displayed encoded.
18258 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
18260 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
18262 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18264 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
18265 to use texinfo-update-node and commands that call it if the
18266 Texinfo file uses @node lines without next/prev/up pointers.
18267 Correct outdated description about texinfo-master-menu.
18268 (texinfo-all-menus-update, texinfo-master-menu)
18269 (texinfo-update-node, texinfo-every-node-update)
18270 (texinfo-multiple-files-update): Doc fix. Warn against updating
18271 all the @node lines.
18272 (texinfo-master-menu): Only call texinfo-update-node if the prefix
18273 argument is numeric. Explain better in the doc string what the
18274 function really does.
18275 (texinfo-insert-master-menu-list): Improve the error message
18276 displayed if there's no menu in the Top node.
18277 (Bug#2975) See also this thread:
18278 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
18280 2011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
18282 * speedbar.el (speedbar-supported-extension-expressions):
18283 Add .adb and .ads, commonly used for Ada source code (bug#10256).
18285 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
18287 * printing.el (pr-mode-alist):
18288 * simple.el (filter-buffer-substring-functions)
18289 (completion-list-insert-choice-function):
18290 * window.el (window-with-parameter, window-atom-root)
18291 (window-sides-slots, window-size-fixed, window-min-delta)
18292 (window-max-delta, window--resize-mini-window)
18293 (window--resize-child-windows-normal, window-tree)
18294 (delete-other-windows, quit-window, split-window)
18295 (display-buffer-record-window, special-display-buffer-names)
18296 (special-display-regexps, special-display-popup-frame)
18297 (same-window-p, split-window-sensibly)
18298 (display-buffer-overriding-action, display-buffer-alist)
18299 (display-buffer-base-action, display-buffer, switch-to-buffer)
18300 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
18301 (fit-window-to-buffer, recenter-positions)
18302 (mouse-autoselect-window-state, mouse-autoselect-window-select):
18303 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
18304 and remove unneeded backslashes in docstrings.
18306 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
18308 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
18310 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
18311 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
18313 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
18314 when reading the makefile (bug#10116).
18316 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
18318 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
18321 2011-12-06 Glenn Morris <rgm@gnu.org>
18323 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
18325 2011-12-06 Chong Yidong <cyd@gnu.org>
18327 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
18329 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
18331 * textmodes/table.el (table-shorten-cell): Fix typo.
18333 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
18335 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
18337 2011-12-05 Eli Zaretskii <eliz@gnu.org>
18339 * descr-text.el (describe-char): Fix display of strong
18340 right-to-left characters and directional embeddings and overrides.
18342 * simple.el (what-cursor-position): Fix display of codepoints of
18343 strong right-to-left characters.
18345 2011-12-05 Chong Yidong <cyd@gnu.org>
18347 * faces.el (read-color): Doc fix.
18349 2011-12-05 Glenn Morris <rgm@gnu.org>
18351 * align.el (align--set-marker): Add doc-string.
18352 Don't try to move something that is not a marker. (Bug#10216)
18354 2011-12-04 Glenn Morris <rgm@gnu.org>
18356 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
18357 overly zealous deletion of trailing whitespace.
18359 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
18361 * server.el (server-delete-client): On Windows, do not try to delete
18363 (server-process-filter): On Windows, treat requests for a tty frame as
18364 if they were for a GUI frame if the running server is in GUI mode.
18366 2011-12-03 Glenn Morris <rgm@gnu.org>
18368 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
18370 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
18372 * electric.el: Streamline electric-indent's hook.
18373 (electric-indent-chars): Revert to simple list.
18374 (electric-indent-functions): New var.
18375 (electric-indent-post-self-insert-function): Use it.
18377 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
18378 there's no inferior buffer (bug#10196).
18379 (prolog-consult-compile): Don't use toggle-read-only.
18381 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
18383 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
18384 interrupt. (Bug#10187)
18386 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
18388 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
18391 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
18394 2011-12-02 Juri Linkov <juri@jurta.org>
18396 * info.el (Info-search): Display "end of manual" when Isearch
18397 reaches the end of single-file Info manual. (Bug#9918)
18399 2011-12-02 Eli Zaretskii <eliz@gnu.org>
18401 * isearch.el (isearch-message-prefix): Run the input method part
18402 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
18404 2011-12-02 Juri Linkov <juri@jurta.org>
18406 * isearch.el (isearch-occur): Use `word-search-regexp' for
18408 (isearch-search-and-update): Add condition for `isearch-word' and
18409 call `word-search-regexp'. (Bug#10145)
18411 2011-12-01 Glenn Morris <rgm@gnu.org>
18413 * eshell/em-hist.el (eshell-hist-initialize):
18414 Handle eshell-history-size nil and HISTSIZE set or unset.
18415 (eshell-history-file-name, eshell-history-size): Fix custom type.
18417 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
18419 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
18421 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
18423 * progmodes/verilog-mode.el (verilog-pretty-expr):
18424 Rework verilog-pretty-expr to handle new assignment operators in system
18425 verilog, such as += *= and the like.
18426 (verilog-assignment-operator-re): Regular expression to find the
18427 assigment operator in a verilog assignment.
18428 (verilog-assignment-operation-re): Regular expression to find an
18429 assignment statement for pretty-expr.
18430 (verilog-in-attribute-p): Query returns true if point is in an
18431 attribute context; used to skip these for expression line up from
18433 (verilog-in-parameter-p): Query returns true if point is in an
18434 parameter definition context; used to skip these for expression
18435 line up from pretty-expr.
18436 (verilog-in-parenthesis-p): Query returns true if point is in a
18437 parenthetical expression, specifically ( ) but not [ ] or { };
18438 used by pretty-expr.
18439 (verilog-just-one-space): If there is no space, don't add one.
18440 (verilog-get-lineup-indent-2): Specifically skip just attribute
18441 contexts for expression lineup, rather than skipping all
18442 parenthetical expressions.
18443 (verilog-calculate-indent): Fix comment, and fix indent.
18444 (verilog-do-indent): Indent declarations in lists (suggested by
18446 (verilog-mode-abbrev-table): Populate abbrev mode with the various
18448 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
18451 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
18453 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
18454 parameters with embedded comments. Reported by Ray Stevens.
18455 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
18456 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
18457 Reported by Tim Holt.
18458 (verilog-auto): Fix AUTOing a upper module then AUTOing module
18459 instantiated by upper module causing wrong expansion until AUTOed a
18460 second time. Reported by K C Buckenmaier.
18461 (verilog-diff-auto): Fix showing .* as a difference when
18462 `verilog-auto-star-save' off. Reported by Dan Dever.
18463 (verilog-auto-reset, verilog-read-always-signals)
18464 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
18465 temporary signals in reset list if
18466 verilog-auto-reset-blocking-in-non is nil, and match assignment
18467 style to each signal's assignment type, bug381.
18468 Reported by Thomas Esposito.
18469 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
18470 (verilog-uvm-statement-re): Support UVM indentation and
18471 highlighting, with old OVM keywords only.
18472 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
18473 Support AUTOTIEOFF creating non-wire data types.
18474 Suggested by Jonathan Greenlaw.
18475 (verilog-auto-insert-lisp, verilog-delete-to-paren)
18476 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
18477 (verilog-inject-sense, verilog-read-inst-pins)
18478 (verilog-read-sub-decls, verilog-read-sub-decls-line):
18479 Fix mismatching parenthesis inside commented out code when deleting
18480 AUTOINST, bug383. Reported by Jonathan Greenlaw.
18481 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
18482 non-numeric vector width. Reported by Alex Reed.
18483 (verilog-auto-ascii-enum): Add "onehot" option to work around not
18484 detecting signals with parameter widths. Reported by Alex Reed.
18485 (verilog-auto-delete-trailing-whitespace):
18486 With `verilog-auto-delete-trailing-whitespace' remove trailing
18487 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
18488 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
18489 Fix verilog-scan-cache corruption when running user AUTO expansion
18490 hooks that call indentation routines.
18491 (verilog-simplify-range-expression): Fix typo ignoring lower case
18493 (verilog-delete-auto): Fix delete-autos to also remove user created
18494 automatics, as long as they start with AUTO.
18495 (verilog-batch-diff-auto, verilog-diff-auto)
18496 (verilog-diff-function): Add `verilog-diff-auto' and bind to
18497 "C-c?" to report differences in AUTO expansion, ignoring spaces.
18498 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
18499 (verilog-in-paren-quick, verilog-re-search-backward-quick)
18500 (verilog-re-search-forward-quick, verilog-syntax-ppss):
18501 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
18502 is disabled and its cache will get corrupt, causing AUTOS not to
18503 expand. Instead use only -quick functions.
18504 (verilog-scan-region): Fix scanning over escaped quotes.
18505 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
18506 (verilog-re-search-backward-quick)
18507 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
18508 related functions now ignore strings, to fix misparsing of strings
18509 with magic comments embedded in them.
18510 (verilog-read-auto-template):
18511 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
18512 Reported by Brad Dobbie.
18513 (verilog-read-auto-template):
18514 Fix 'verilog-auto-inst-template-numbers' with comments.
18515 Reported by Brad Dobbie.
18516 (verilog-auto-inst, verilog-auto-inst-param)
18517 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
18518 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
18519 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
18520 debugging templates without merge conflicts, bug357.
18521 Reported by Brad Dobbie.
18522 (verilog-read-auto-template):
18523 Fix verilog-auto-inst-template-numbers with multiple templates.
18524 Reported by Brad Dobbie.
18525 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
18526 abbrevs so user won't be asked to save.
18527 (verilog-read-auto-lisp-present): Fix to start at beginning of
18528 buffer in case called outside of verilog-auto.
18529 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
18530 to "X-2". Reported by Matthew Myers.
18531 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
18532 all inputs from module templates. Reported by Leith Johnson.
18533 (verilog-module-inside-filename-p): Fix locating programs as with
18535 (verilog-auto-inst-port): Fix vl-width expressions when using
18536 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
18537 (verilog-decls-get-regs, verilog-decls-get-signals,
18538 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
18539 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
18540 verilog-read-decls): Combine reg and wire structures into one var
18541 structure to represent SystemVerilog concepts.
18542 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
18543 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
18544 (verilog-auto-wire-type, verilog-insert-definition):
18545 Add verilog-auto-wire-type and AUTOLOGIC to support using
18546 SystemVerilog "logic" keyword instead of "wire"/"reg".
18547 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
18548 to declares outputs that also have assignments (presumably in an
18549 ifdef or generate if so there's not a driver conflict).
18550 Reported by Matthew Myers.
18551 (verilog-auto-declare-nettype, verilog-insert-definition):
18552 Add verilog-auto-declare-nettype to fix declarations using
18553 `default_nettype none. Reported by Julian Gorfajn.
18554 (verilog-read-always-signals-recurse, verilog-read-decls)
18555 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
18556 malformed end statement, bug325. Reported by Joshua Wise and
18558 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
18559 (verilog-inst-comment-re): Fix not deleting Interfaced comment
18560 when expanding .* in interfaces, bug320.
18561 Reported by Pierre-David Pfister.
18562 (verilog-read-module-name): Fix import statements between module
18563 name and open parenthesis, bug317.
18564 Reported by Pierre-David Pfister.
18565 (verilog-simplify-range-expression): Fix simplification of
18566 multiplications inside AUTOWIRE connections, bug303.
18567 (verilog-auto-inst-port): Support parameter expansion in
18568 multidimensional arrays.
18569 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
18570 after "assert property". Reported by Julian Gorfajn.
18571 (verilog-simplify-range-expression): Fix "couldn't merge" errors
18572 with multiplication, bug303.
18573 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
18574 Reported by Jan Frode Lonnum.
18576 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
18578 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
18579 (hfy-shell-file-name, hfy-shell):
18580 * international/fontset.el (x-decompose-font-name): Fix typos.
18582 2011-11-29 Ken Brown <kbrown@cornell.edu>
18584 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
18585 (gdb-version): Remove defvar.
18586 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
18587 (gdb-gud-context-command, gdb-non-stop-handler)
18588 (gdb-current-context-command, gdb-stopped): Use it.
18589 (gdb-init-1): Enable pretty printing here.
18590 (gdb-non-stop-handler): Don't enable pretty-printing here.
18591 Check to see if the target supports non-stop mode; if not, turn off
18592 non-stop mode. Use the following.
18593 (gdb-check-target-async): New defun.
18594 (gud-watch, gdb-stopped): Fix whitespace.
18595 (gdb-get-source-file): Don't try to display the source file if
18596 `gdb-main-file' is nil.
18598 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18600 * align.el: Try to generate fewer markers (bug#10047).
18601 (align--set-marker): New macro.
18602 (align-region): Use it.
18604 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18606 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
18608 2011-11-29 Chong Yidong <cyd@gnu.org>
18610 * indent.el (indent-for-tab-command, indent-according-to-mode):
18612 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
18614 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
18616 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
18617 aware of remote file names. (Bug#10124)
18619 2011-11-29 Chong Yidong <cyd@gnu.org>
18621 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
18623 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
18625 * files.el (find-file): Don't use force-same-window (bug#10144).
18626 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
18627 use pop-to-buffer if the selected window can't be used.
18628 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
18630 2011-11-28 Eli Zaretskii <eliz@gnu.org>
18632 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
18635 2011-11-28 Chong Yidong <cyd@gnu.org>
18637 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
18639 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
18641 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
18642 gdb-get-source-file-list on gdb-create-source-file-list.
18644 2011-11-26 Eli Zaretskii <eliz@gnu.org>
18646 * whitespace.el (whitespace-newline): Use a different foreground
18647 color for 16-color light-background displays.
18649 2011-11-24 Chong Yidong <cyd@gnu.org>
18651 * window.el (display-buffer--special-action): Doc fix.
18653 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
18655 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
18656 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
18657 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
18658 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
18659 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
18660 (avl-tree-stack-first):
18661 * emacs-lisp/cconv.el (cconv--analyse-use):
18662 * net/gnutls.el (gnutls-negotiate): Fix typos.
18664 2011-11-24 Glenn Morris <rgm@gnu.org>
18666 * lpr.el (lpr-windows-system, lpr-lp-system):
18667 * mail/binhex.el (binhex-begin-line):
18668 * progmodes/grep.el (grep-history, grep-find-history):
18669 * textmodes/flyspell.el:
18670 * vc/pcvs-defs.el (cvs-global-menu):
18671 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
18672 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
18673 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
18675 * net/tls.el: Fix case of "GnuTLS".
18677 * paths.el (rmail-file-name): Format doc-string for make-docfile.
18679 * version.el (emacs-build-system): Give it a doc-string.
18681 2011-11-24 Juri Linkov <juri@jurta.org>
18683 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
18685 2011-11-24 Glenn Morris <rgm@gnu.org>
18687 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
18688 if called on a non-mime message just toggle the headers. (Bug#8006)
18690 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
18692 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
18693 (allout-lead-with-comment-string, allout-structure-deleted-hook)
18694 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
18695 (allout-rebullet-heading, allout-open-sibtopic)
18696 (allout-toggle-current-subtree-encryption)
18697 (allout-toggle-subtree-encryption, allout-encrypt-string)
18698 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
18699 (allout-distinctive-bullets-string, allout-auto-activation):
18700 * window.el (window-normalize-buffer-to-display):
18701 * progmodes/verilog-mode.el (verilog-batch-indent):
18702 * textmodes/bibtex.el (bibtex-field-braces-opt)
18703 (bibtex-field-strings-opt):
18704 * vc/cvs-status.el (cvs-tree-merge):
18707 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
18709 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
18710 `non-essential' to t, in order to avoid remote connections.
18712 2011-11-23 Eli Zaretskii <eliz@gnu.org>
18714 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18715 On MS-DOS and MS-Windows, compare with loaddefs.el
18716 case-insensitively.
18718 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18720 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
18722 2011-11-23 Glenn Morris <rgm@gnu.org>
18724 * paths.el (rmail-file-name): Reformat the doc-string so that it
18727 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
18728 (rmail-auto-file): Ignore case in the "special" field names,
18729 as mail-fetch-field does for all others.
18731 * mail/rmail.el (rmail-forward):
18732 * mail/rmailkwd.el (rmail-set-label):
18733 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
18734 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
18736 * mail/rmail.el (rmail-current-message): Doc fix.
18738 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
18740 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
18742 * server.el (server-eval-and-print): Allow C-g (bug#6585).
18744 2011-11-22 Glenn Morris <rgm@gnu.org>
18746 * mail/rmailmm.el (test-rmail-mime-handler)
18747 (test-rmail-mime-bulk-handler)
18748 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
18750 2011-11-21 Juri Linkov <juri@jurta.org>
18752 * calc/calc.el (calc-read-key-sequence):
18753 Let-bind `input-method-function' to nil. (Bug#10018)
18755 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18757 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
18758 Tell the caller that the next line needs recomputation, even
18759 though it doesn't start a sexp (bug#10094).
18761 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
18763 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
18765 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18767 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18768 Use force-same-window.
18770 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18772 * descr-text.el (describe-char-unicode-data):
18773 * json.el (json-string-escape):
18774 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
18775 (Footnote-unicode, Footnote-style-p):
18776 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
18778 2011-11-20 Chong Yidong <cyd@gnu.org>
18780 * window.el (replace-buffer-in-windows): Restore interactive spec.
18782 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18784 * electric.el (electric-indent-mode): Fix last change (too optimistic).
18786 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
18787 (byte-compile-global-not-obsolete-vars): New var.
18788 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
18790 (byte-compile-warn-obsolete): Align text with the one in *Help*.
18792 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18794 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
18795 * progmodes/pascal.el (electric-pascal-equal):
18796 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
18797 * xml.el (xml-substitute-special): Fix typos.
18799 2011-11-20 Glenn Morris <rgm@gnu.org>
18801 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
18802 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
18804 (rmail-decode-mime-charset): Mark as obsolete.
18806 * mail/rmailsum.el (rmail-message-regexp-p-1):
18807 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
18808 Before using mime functions, check they are set. (Bug#10077)
18810 2011-11-19 Juri Linkov <juri@jurta.org>
18812 * info.el (Info-finder-find-node): Use `package--builtins' instead
18813 of `package-alist'. Use node names formed by the pattern "Keyword "
18814 and the keyword name.
18816 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18818 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
18820 2011-11-19 Juri Linkov <juri@jurta.org>
18822 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
18823 that calls `revert-buffer' on all Info buffers. (Bug#9915)
18824 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
18825 `old-history', `old-history-forward'. Add let-binding
18826 `window-selected'. Remove calls to `kill-buffer',
18827 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
18828 before calling `Info-find-node', so `Info-find-node-2' will reread
18829 the Info file. Restore window positions only when `window-selected'
18832 2011-11-19 Juri Linkov <juri@jurta.org>
18834 * isearch.el (isearch-lazy-highlight-new-loop):
18835 Remove condition `(not isearch-error)'. (Bug#9918)
18837 * misearch.el (multi-isearch-search-fun): Add condition
18838 `(not bound)' to ignore lazy-highlighting search.
18839 Add the search-failed message "end of multi" when the end of
18840 multi-sequence is reached. Uncapitalize the search-failed
18841 message "Repeat for next buffer".
18843 * info.el (Info-search): Add the search-failed message
18844 "end of the manual" when the end of the manual is reached
18847 2011-11-19 Juri Linkov <juri@jurta.org>
18849 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
18850 Use non-destructive `remove' instead of `delete' because
18851 `Info-history-list' stored to `Info-isearch-initial-history-list' in
18852 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
18854 2011-11-19 Juri Linkov <juri@jurta.org>
18856 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
18857 to nil instead of binding `search-ring' and `regexp-search-ring'.
18860 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18862 * simple.el (line-move): Force movement by logical lines for any
18863 hscrolled window, not only when auto-hscroll-mode is on.
18864 (line-move-visual): Update doc string to that effect. (Bug#10076)
18866 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18868 * language/european.el (macintosh): Define as alias for mac-roman.
18870 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18872 * mail/rmailmm.el (rmail-mime-display-header)
18873 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
18874 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
18875 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
18876 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
18877 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
18879 (rmail-mime-entity-segment): To get past the tagline, move forward
18880 2 more lines, to account for the 2 empty lines that precede and
18881 follow the line with the buttons.
18882 (rmail-mime-update-tagline): Move one more line, to get past the
18883 empty line that follows the buttons in the tagline. (Bug#9520)
18885 2011-11-19 Martin Rudalics <rudalics@gmx.at>
18887 * window.el (window-max-delta-1, window-min-delta-1)
18888 (window-min-size-1, window-state-get-1, window-state-put-1)
18889 (window-state-put-2): Use "window--" prefix.
18891 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
18893 * emacs-lisp/smie.el: Improve warnings and conflict detection.
18894 (smie-warning-count): New var.
18895 (smie-set-prec2tab): Use it.
18896 (smie-bnf->prec2): Improve warnings. Add docstring.
18897 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
18898 (smie-bnf--set-class): New function.
18899 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
18902 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
18903 (compilation-error-properties, compilation-move-to-column):
18904 Handle compilation-first-column while in the target buffer.
18906 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
18907 Don't hardcode point-min==1.
18909 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
18910 (eshell-rewrite-for-command): Remove workaround.
18911 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
18912 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
18913 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
18915 * files-x.el (modify-file-local-variable): Obey commenting conventions.
18917 2011-11-17 Glenn Morris <rgm@gnu.org>
18919 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18920 Ignore buffer-local generated-autoload-file if it is the same
18921 as the global value. (Bug#10049)
18923 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
18925 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
18926 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
18927 (reftex-toc-previous-heading, reftex-toc-max-level)
18928 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
18929 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
18930 (reftex-toc-do-promote, reftex-toc-promote-prepare)
18931 (reftex-toc-promote-action, reftex-toc-extract-section-number)
18932 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
18933 (reftex-toc-rename-label, reftex-toc-visit-location)
18934 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
18935 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
18936 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
18937 leaving "*toc*" only for references to the buffer.
18939 2011-11-17 Martin Rudalics <rudalics@gmx.at>
18941 * window.el (window-resize, delete-window, split-window):
18942 Replace window-splits by window-combination-resize.
18943 * cus-start.el (window-splits): Replace by window-combination-resize.
18945 2011-11-17 Glenn Morris <rgm@gnu.org>
18947 * progmodes/sh-script.el (sh-font-lock-keywords-var):
18948 Make bash entry derive from sh entry, not shell entry.
18950 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
18952 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
18955 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18957 * menu-bar.el (menu-bar-file-menu):
18958 * printing.el (pr-ps-utility):
18959 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
18960 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
18961 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
18962 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
18963 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
18964 (icalendar--convert-cyclic-to-ical)
18965 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
18966 (icalendar--convert-ical-to-diary)
18967 (icalendar--convert-recurring-to-diary)
18968 (icalendar--convert-non-recurring-all-day-to-diary)
18969 (icalendar-import-format-sample):
18970 * progmodes/idlw-shell.el (idlwave-shell-mode):
18971 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
18972 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
18973 (vhdl-ps-print-init): Fix typos.
18975 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
18977 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
18978 FSF and collapse date sequence, obscure author/maintainer email address
18979 better, remove extra version line, track relocation of author's webpage.
18981 * progmodes/python.el (python-pdbtrack-input-prompt)
18982 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
18983 regular python pdb prompts. Adjustments shamelessly taken exactly as
18984 suggested in EmacsWiki page (tiny change):
18985 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
18987 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18989 * expand.el (expand-pos, expand-index, expand-point):
18990 Remove redundant info from docstring.
18991 (expand-add-abbrevs): Doc fix.
18992 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
18993 (expand-sample-perl-mode-expand-list): Fix typos.
18995 * net/dbus.el (dbus-event-member-name):
18996 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
18997 * term/pc-win.el (msdos-create-frame-with-faces):
18998 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
19000 2011-11-16 Martin Rudalics <rudalics@gmx.at>
19002 * window.el (split-window, window-state-get-1)
19003 (window-state-put-1, window-state-put-2): Rename occurrences of
19004 window-nest to window-combination-limit.
19005 * cus-start.el (window-nest): Rename to window-combination-limit.
19007 2011-11-16 Chong Yidong <cyd@gnu.org>
19009 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
19010 regexp (Bug#10033).
19012 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
19014 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
19015 `completing-read' will remove *Completions* and will preserve
19016 current-buffer for us.
19017 (tmm-add-prompt): Users of *Completions* will always (re)set its
19019 (tmm-old-comp-map): Remove.
19021 2011-11-16 Glenn Morris <rgm@gnu.org>
19023 * mail/rmailedit.el: Require rmailmm when compiling.
19024 (rmail-old-mime-state): New declaration.
19025 (rmail-edit-current-message): If editing a mime message,
19026 edit the "raw" message from the mbox buffer.
19027 (rmail-cease-edit): Handle mime messages. (Bug#9840)
19029 2011-11-15 Glenn Morris <rgm@gnu.org>
19031 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
19032 which wasn't being used. Add optional arg to force given state.
19033 (rmail-mime): Add optional arg to force given state.
19035 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19037 * allout.el (allout-encryption-plaintext-sanitization-regexps):
19038 * frame.el (display-mm-dimensions-alist):
19039 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
19040 (outline-move-subtree-down):
19041 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
19042 (newsticker--treeview-do-get-node):
19043 * net/quickurl.el (quickurl-list-buffer-name):
19044 * progmodes/dcl-mode.el (dcl-mode):
19045 * progmodes/gdb-mi.el (gdb-mapcar*):
19046 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
19048 2011-11-15 Glenn Morris <rgm@gnu.org>
19050 * mail/rmail.el (rmail-file-coding-system): It's only ever used
19051 in a boolean sense, so just make it a boolean, and fix the doc.
19052 (rmail-show-mime-function, rmail-mime-feature)
19053 (rmail-require-mime-maybe): Doc fixes.
19054 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
19056 * mail/rmailmm.el (rmail-show-mime): Doc fix.
19058 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19060 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
19061 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
19062 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
19063 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
19065 2011-11-15 Glenn Morris <rgm@gnu.org>
19067 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
19068 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
19069 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
19070 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
19071 (rmail-mime, rmail-show-mime): Doc fixes.
19073 * term/ns-win.el (mode-line-frame-identification):
19074 Leave it alone. (Bug#10051)
19076 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
19078 * mail/rmailout.el (rmail-output-to-rmail-buffer):
19079 Handle empty buffers. (Bug#9978)
19081 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
19083 * international/mule.el (define-charset):
19084 * mail/rmailmm.el (rmail-mime-find-header-encoding):
19085 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
19086 * progmodes/verilog-mode.el (verilog-backward-token):
19087 * textmodes/ispell.el (lookup-words):
19088 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
19090 2011-11-14 Glenn Morris <rgm@gnu.org>
19092 * progmodes/executable.el
19093 (executable-make-buffer-file-executable-if-script-p):
19094 Handle file-modes returning nil.
19096 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
19097 message - not necessary, and causes problems. (Bug#9831)
19099 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
19101 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
19103 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
19104 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
19105 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
19107 2011-11-12 Martin Rudalics <rudalics@gmx.at>
19109 * window.el (window-resize, delete-window): Use window-splits
19110 variable instead of function.
19111 (window-state-get-1, window-state-put-2, window-state-put):
19112 Don't deal with windows' splits status.
19114 2011-11-12 Glenn Morris <rgm@gnu.org>
19116 * apropos.el (apropos-do-all, apropos-library, apropos-value)
19117 (apropos-documentation): Doc fixes.
19119 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
19121 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
19122 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
19124 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
19126 * electric.el (electric-indent-post-self-insert-function): Make it
19127 possible for a char to only indent in some circumstances.
19128 (electric-indent-mode): Simplify.
19130 2011-11-11 Martin Rudalics <rudalics@gmx.at>
19132 * window.el (windows-with-parameter): Remove unused function.
19133 (windows-at-side): Rename to window-at-side-list.
19134 (window-check, window-atom-check, window-atom-check-1)
19135 (window-side-check, window-size-ignore, window-size-fixed-1)
19136 (window-in-direction-2): Prefix with "window--".
19137 (window-tree-1): Rename to window--subtree, fix doc-string.
19139 2011-11-11 Glenn Morris <rgm@gnu.org>
19141 * subr.el (eval-after-load): If FILE is already loaded,
19142 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
19144 2011-11-10 Glenn Morris <rgm@gnu.org>
19146 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
19147 Call svn via vc-svn-command rather than vc-do-command.
19148 (vc-svn-command): Add --non-interactive. (Bug#9993)
19149 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
19151 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19152 Add toggle-read-only. (Bug#7292)
19153 * files.el (toggle-read-only): Mention that it should only
19154 be used interactively. (Bug#10006)
19156 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
19158 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19159 Adjust regexp for OCaml warnings.
19161 * electric.el (electric-pair-post-self-insert-function): Let user
19162 turn it off buffer-locally (bug#9932).
19164 * progmodes/python.el (python-beginning-of-statement):
19165 Rewrite (bug#2703).
19167 * progmodes/compile.el: Better handle TABs (bug#9749).
19168 (compilation-internal-error-properties)
19169 (compilation-next-error-function): Obey the target buffer's
19170 compilation-error-screen-columns.
19172 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
19174 * progmodes/meta-mode.el: Remove obsolete comments.
19175 (meta-right-comment-regexp, meta-ignore-comment-regexp):
19176 Fix typos in docstrings.
19178 2011-11-09 Martin Rudalics <rudalics@gmx.at>
19180 * window.el (window-size-fixed-p): Rewrite doc-string.
19181 (window-resizable-p): Rename to window--resizable-p. Update callers.
19182 (window--resizable): New function. Make all callers of
19183 window-resizable call window--resizable instead.
19184 (window-resizable): Rewrite in terms of window--resizable.
19186 2011-11-08 Glenn Morris <rgm@gnu.org>
19188 * progmodes/delphi.el (delphi-mode-syntax-table):
19189 Let define-derived-mode define a proper syntax table. (Bug#9994)
19191 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19193 * window.el: Stay away from defsubst.
19194 (window-list-no-nils): Remove.
19195 (window-state-get-1, window-state-get): Use backquote instead.
19197 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19199 * emacs-lisp/find-func.el (find-function-read):
19200 Fix incorrect use of default argument in `completing-read'.
19202 2011-11-08 Martin Rudalics <rudalics@gmx.at>
19204 * window.el (display-buffer-function, special-display-function):
19205 Mention display-buffer-record-window but do not mention
19206 help-setup parameter in doc-strings.
19207 (window-min-delta): Fix doc-string typo.
19209 2011-11-08 Chong Yidong <cyd@gnu.org>
19211 * window.el (window-total-height, window-total-width): Doc fix.
19212 (window-body-size): Move from C.
19213 (window-body-height, window-body-width): Move to C.
19215 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19217 * window.el: Make special-display like display-buffer-alist (bug#9532).
19218 (display-buffer--special-action): New function, morphed
19219 from display-buffer--special.
19220 (display-buffer): Use it to handle special-display-buffers at higher
19221 priority (just after display-buffer-alist).
19222 (display-buffer-fallback-action, display-buffer--other-frame-action)
19223 (pop-to-buffer-same-window): Remove display-buffer--special.
19225 2011-11-07 Glenn Morris <rgm@gnu.org>
19227 * calendar/cal-menu.el (cal-menu-set-date-title):
19228 Do nothing if not in a calendar. (Bug#9976)
19230 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
19232 * files.el (find-file): Always use selected-window.
19234 2011-11-07 Martin Rudalics <rudalics@gmx.at>
19236 * window.el (window-combinations): Make WINDOW argument
19237 mandatory. Rewrite doc-string.
19238 (walk-window-subtree, window-atom-check, window-min-delta)
19239 (window-max-delta, window--resize-this-window)
19240 (window--resize-root-window-vertically, window-tree)
19241 (balance-windows, window-state-put): Rewrite doc-strings as to
19242 not mention the term "subwindow".
19243 (window--resize-subwindows-skip-p): Rename to
19244 window--resize-child-windows-skip-p.
19245 (window--resize-subwindows-normal): Rename to
19246 window--resize-child-windows-normal.
19247 (window--resize-subwindows): Rename to
19248 window--resize-child-windows.
19249 (window-or-subwindow-p): Rename to window--in-subtree-p.
19251 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19253 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
19254 Ensure that mbox format messages end in two newlines (Bug#9974).
19256 2011-11-06 Chong Yidong <cyd@gnu.org>
19258 * window.el (window-combination-p): Function deleted; its
19259 side-effect is not used in any existing code.
19260 (window-combinations, window-combined-p): Call window-*-child
19263 2011-11-05 Chong Yidong <cyd@gnu.org>
19265 * window.el (window-valid-p): Rename from window-any-p.
19266 (window-size-ignore, window-state-get): Callers changed.
19267 (window-normalize-window): Rename from window-normalize-any-window.
19268 New arg LIVE-ONLY, replacing window-normalize-live-window.
19269 (window-normalize-live-window): Delete.
19270 (window-combination-p, window-combined-p, window-combinations)
19271 (walk-window-subtree, window-atom-root, window-min-size)
19272 (window-sizable, window-sizable-p, window-size-fixed-p)
19273 (window-min-delta, window-max-delta, window-resizable)
19274 (window-resizable-p, window-full-height-p, window-full-width-p)
19275 (window-current-scroll-bars, window-point-1, set-window-point-1)
19276 (window-at-side-p, window-in-direction, window-resize)
19277 (adjust-window-trailing-edge, maximize-window, minimize-window)
19278 (window-deletable-p, delete-window, delete-other-windows)
19279 (record-window-buffer, unrecord-window-buffer)
19280 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
19281 (quit-window, split-window, window-state-put)
19282 (set-window-text-height, fit-window-to-buffer)
19283 (shrink-window-if-larger-than-buffer): Callers changed.
19285 2011-11-04 Eli Zaretskii <eliz@gnu.org>
19287 * mail/rmail.el (rmail-simplified-subject): Decode subject with
19288 rfc2047-decode-string.
19289 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
19292 * window.el (window-body-height, window-body-width): Mention in
19293 the doc string that the return values are in frame's canonical
19296 2011-11-03 Alan Mackenzie <acm@muc.de>
19298 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
19299 change in cc-engine.el.
19301 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
19303 * window.el (switch-to-buffer): Use `force-same-window' interactively.
19305 2011-11-02 Martin Rudalics <rudalics@gmx.at>
19307 * window.el (quit-window): Call unrecord-window-buffer after
19308 showing another buffer in the window. (Bug#9937)
19309 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
19311 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
19313 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
19314 Accept status with more than 9 shelves. (Bug#9935)
19315 Reported by Colin D Bennett <colin@gibibit.com>.
19317 2011-11-01 Martin Rudalics <rudalics@gmx.at>
19319 * help.el (with-help-window): Don't reference
19320 temp-buffer-show-specifiers in doc-string.
19322 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
19324 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
19327 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19329 * whitespace.el: New version 13.2.2.
19330 (whitespace-newline-mode): Disable properly. Reported by Sarah
19333 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
19335 * net/newst-treeview.el: Remove "Time-stamp".
19336 (newsticker--group-manage-orphan-feeds): Do not call
19337 newsticker--treeview-tree-update.
19338 (newsticker-treeview-update, newsticker-treeview):
19339 Call newsticker--treeview-tree-update if necessary.
19341 2011-10-30 Martin Rudalics <rudalics@gmx.at>
19343 * window.el (window-iso-combination-p, window-iso-combined-p)
19344 (window-iso-combinations): Remove "iso-" infix.
19345 Suggested by Chong Yidong.
19346 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
19347 (window-max-delta-1, window-resize, window--resize-siblings)
19348 (window--resize-this-window, adjust-window-trailing-edge)
19349 (split-window, balance-windows-1)
19350 (shrink-window-if-larger-than-buffer):
19351 * calendar/calendar.el (calendar-generate-window):
19352 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
19354 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
19356 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
19357 in place (bug#9907).
19358 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
19359 (eshell-rewrite-if-command, eshell-rewrite-for-command)
19360 (eshell-structure-basic-command, eshell-rewrite-while-command)
19361 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
19362 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
19363 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
19364 (eshell-do-pipelines-synchronously, eshell-eval-command):
19365 Use backquotes and prefer setq to set.
19366 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
19367 (eshell-macrop): Use functionp.
19368 (eshell-do-eval): Handle multiple expressions in `while' body.
19370 2011-10-30 Chong Yidong <cyd@gnu.org>
19372 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
19373 instead of set-mark (Bug#9810).
19375 2011-10-30 Chong Yidong <cyd@gnu.org>
19377 * window.el (split-window-below, split-window-right): Rename from
19378 split-window-above-each-other and split-window-side-by-side
19379 respectively. All callers changed.
19380 (split-window-sensibly, split-window-sensibly): Use them.
19381 (split-window-keep-point): Doc fix.
19383 * isearch.el: Add isearch-scroll property to split-window-below
19384 and split-window-right.
19386 * follow.el (follow-mode):
19387 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19388 * progmodes/ada-xref.el (ada-gdb-application):
19389 * emulation/vip.el (vip-buffer-in-two-windows):
19390 * image-dired.el (image-dired-dired-with-window-configuration):
19391 * dired-x.el (dired-do-find-marked-files):
19392 * dired.el (dired-pop-to-buffer):
19393 * bs.el (bs--show-with-configuration):
19394 * vc/emerge.el (emerge-setup-windows):
19395 * textmodes/two-column.el (2C-two-columns):
19396 * textmodes/reftex-toc.el (reftex-toc):
19397 * progmodes/gdb-mi.el (gdb-setup-windows):
19398 * progmodes/fortran.el (fortran-window-create):
19399 * net/newst-treeview.el (newsticker--treeview-window-init):
19400 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
19401 * emulation/tpu-edt.el (tpu-gold-map):
19402 * emulation/crisp.el (crisp-mode-map):
19403 * calendar/calendar.el (calendar-basic-setup): Callers changed.
19405 2011-10-29 Chong Yidong <cyd@gnu.org>
19407 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
19409 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
19411 * textmodes/flyspell.el (flyspell-word): Fix char offset for
19412 forged Ispell output (Bug#7904).
19414 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
19416 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19418 * doc-view.el: Avoid ugly errors about not finding nil.
19419 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
19420 (doc-view-dvipdf-program, doc-view-unoconv-program)
19421 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
19422 Avoid nil or absolute file name as default value.
19423 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
19425 2011-10-28 Alan Mackenzie <acm@muc.de>
19427 * progmodes/cc-defs.el (c-version): -> 5.32.2.
19429 2011-10-28 Alan Mackenzie <acm@muc.de>
19431 Amend the handling of c-beginning/end-of-defun in nested declaration
19434 * progmodes/cc-vars.el (c-defun-tactic): Move here from
19435 cc-langs.el. Change it to a defcustom.
19437 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
19440 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19441 Prevent "class foo : bar" being spuriously recognized as a label.
19443 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
19444 Add parameter `inclusive' (to include enclosing braces in the region).
19445 (c-widen-to-enclosing-decl-scope): New function.
19446 (c-while-widening-to-decl-block): New macro.
19447 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
19448 outward for defun boundaries, and correspondingly change symbol
19449 `respect-enclosure' to `go-outward'.
19450 (c-declaration-limits): Change algorithm to report only the "innermost"
19451 defun's boundaries.
19453 2011-10-28 Deniz Dogan <deniz@dogan.se>
19455 * net/rcirc.el (rcirc-mode): Use hard newlines.
19457 2011-10-28 Alan Mackenzie <acm@muc.de>
19459 Amend to indent and fontify macros "which include their own semicolon"
19460 correctly, using the "virtual semicolon" mechanism.
19462 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
19464 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
19465 Recode to scan one line at a time rather than having \n and \r
19466 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
19467 (c-forward-label): Amend for virtual semicolons.
19468 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
19470 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
19471 of the new C macros.
19473 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
19474 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
19475 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
19476 (c-opt-cpp-macro-define): Make into a full language variable.
19477 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
19478 AWK Mode (including \n, \r) removed, no longer needed.
19480 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
19481 Invoke c-make-macro-with-semi-re.
19483 * progmodes/cc-vars.el (c-macro-with-semi-re):
19484 (c-macro-names-with-semicolon): New variables.
19485 (c-make-macro-with-semi-re): New function.
19487 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19489 * vc/log-edit.el: Fill empty field rather than adding new one.
19490 (log-edit-add-field): New function.
19491 (log-edit-insert-changelog): Use it.
19493 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19495 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
19497 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19499 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
19500 (gdb--check-interpreter): New function.
19503 2011-10-27 Glenn Morris <rgm@gnu.org>
19505 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
19506 (least-positive-float, least-negative-float)
19507 (least-positive-normalized-float, least-negative-normalized-float)
19508 (float-epsilon, float-negative-epsilon):
19509 Remove unnecessary declarations.
19511 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
19512 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
19513 (least-positive-float, least-negative-float)
19514 (least-positive-normalized-float, least-negative-normalized-float)
19515 (float-epsilon, float-negative-epsilon): Add doc-strings,
19516 based on those in cl.texi.
19518 * files.el (set-visited-file-name): If the major-mode changed,
19519 reload the local variables. (Bug#9796)
19521 2011-10-27 Chong Yidong <cyd@gnu.org>
19523 * subr.el (change-major-mode-after-body-hook): New hook.
19524 (run-mode-hooks): Run it.
19526 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19527 Use change-major-mode-before-body-hook.
19529 * simple.el (fundamental-mode):
19530 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
19531 change introducing fundamental-mode-hook.
19533 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
19535 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
19537 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
19539 * ido.el (ido-file-name-all-completions-1): Do not require
19540 tramp.el explicitly. (Bug#7583)
19542 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
19544 * progmodes/octave-mod.el:
19545 * progmodes/octave-inf.el: Update maintainer.
19547 2011-10-26 Chong Yidong <cyd@gnu.org>
19549 * subr.el (with-wrapper-hook): Rewrite doc.
19551 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
19553 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
19554 filenames "/method:foo:". (Bug#9793)
19556 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
19558 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
19561 2011-10-24 Glenn Morris <rgm@gnu.org>
19563 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
19565 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
19567 * notifications.el: Add the requirement of a running D-Bus session
19568 bus to the Commentary.
19570 2011-10-24 Juri Linkov <juri@jurta.org>
19572 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19573 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
19576 2011-10-24 Juri Linkov <juri@jurta.org>
19578 * info.el (Info-following-node-name-re): Add newline to the list
19579 of allowed characters for leading space. (Bug#9824)
19581 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
19583 * progmodes/octave-inf.el (inferior-octave-mode-map):
19584 Fix C-c C-h binding.
19585 * progmodes/octave-mod.el (octave-help): Remove.
19587 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
19589 Sync with Tramp 2.2.3.
19591 * net/tramp-cache.el (top): Pacify byte-compiler using
19592 `init-file-user' and `site-run-file'.
19594 * net/trampver.el: Update release number.
19596 2011-10-23 Chong Yidong <cyd@gnu.org>
19598 * files.el (toggle-read-only): Remove obsolete comment about
19601 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
19602 for toggle-read-only. Note that this hasn't called vc-next-action
19603 since 2008-05-02, though it wasn't documented at the time.
19605 * vc/ediff-init.el (ediff-toggle-read-only-function):
19606 Use toggle-read-only.
19608 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
19610 Fix bug #9560, sporadic wrong indentation; improve instrumentation
19613 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
19614 correct faulty logical expression.
19615 (c-parse-state-state, c-record-parse-state-state):
19616 (c-replay-parse-state-state): New defvar/defuns.
19617 (c-debug-parse-state): Use new functions.
19619 2011-10-22 Martin Rudalics <rudalics@gmx.at>
19621 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
19622 last fix. Use window-in-direction correctly.
19624 2011-10-21 Chong Yidong <cyd@gnu.org>
19626 * progmodes/idlwave.el (idlwave-mode):
19627 * progmodes/vera-mode.el (vera-mode): No need to set
19628 require-final-newline; that's done in prog-mode.
19629 Suggested by Stefan Monnier.
19631 2011-10-21 Martin Rudalics <rudalics@gmx.at>
19633 * mouse.el (mouse-drag-window-above)
19634 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
19635 (mouse-drag-mode-line-1, mouse-drag-header-line)
19636 (mouse-drag-vertical-line-rightward-window): Remove.
19637 (mouse-drag-line): New function.
19638 (mouse-drag-mode-line, mouse-drag-header-line)
19639 (mouse-drag-vertical-line): Call mouse-drag-line.
19640 * window.el (window-at-side-p, windows-at-side): New functions.
19642 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
19644 * tar-mode.el (tar-grind-file-mode):
19645 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
19647 2011-10-21 Chong Yidong <cyd@gnu.org>
19649 * progmodes/idlwave.el (idlwave-mode):
19650 * progmodes/vera-mode.el (vera-mode):
19651 Use mode-require-final-newline.
19653 2011-10-20 Glenn Morris <rgm@gnu.org>
19655 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
19657 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
19659 * emulation/cua-base.el (cua-set-mark): Fix case of string.
19661 2011-10-20 Chong Yidong <cyd@gnu.org>
19663 * emulation/cua-base.el (cua-mode):
19664 * mail/footnote.el (footnote-mode):
19665 * mail/mailabbrev.el (mail-abbrevs-mode):
19666 * net/xesam.el (xesam-minor-mode):
19667 * progmodes/bug-reference.el (bug-reference-mode):
19668 * progmodes/cap-words.el (capitalized-words-mode):
19669 * progmodes/compile.el (compilation-minor-mode)
19670 (compilation-shell-minor-mode):
19671 * progmodes/gud.el (gud-tooltip-mode):
19672 * progmodes/hideif.el (hide-ifdef-mode):
19673 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
19674 * progmodes/subword.el (subword-mode):
19675 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
19676 * progmodes/which-func.el (which-function-mode):
19677 * term/tvi970.el (tvi970-set-keypad-mode):
19678 * term/vt100.el (vt100-wide-mode):
19679 * textmodes/flyspell.el (flyspell-mode):
19680 * textmodes/ispell.el (ispell-minor-mode):
19681 * textmodes/nroff-mode.el (nroff-electric-mode):
19682 * textmodes/paragraphs.el (use-hard-newlines):
19683 * textmodes/refill.el (refill-mode):
19684 * textmodes/reftex.el (reftex-mode):
19685 * textmodes/rst.el (rst-minor-mode):
19686 * textmodes/sgml-mode.el (html-autoview-mode)
19687 (sgml-electric-tag-pair-mode):
19688 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
19689 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
19690 * emulation/crisp.el (crisp-mode):
19691 * emacs-lisp/eldoc.el (eldoc-mode):
19692 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
19693 minor mode behavior.
19695 2011-10-19 Juri Linkov <juri@jurta.org>
19697 * descr-text.el (describe-char): Add #x2010 and #x2011 to
19698 the list of hard-coded chars with escape-glyph face.
19700 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
19702 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
19704 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
19706 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
19709 2011-10-19 Glenn Morris <rgm@gnu.org>
19711 * vc/vc-bzr.el (vc-bzr-after-dir-status):
19712 Ignore ignored files. (Bug#9726)
19714 2011-10-19 Chong Yidong <cyd@gnu.org>
19716 Doc fix for minor modes, stating that an omitted argument enables
19717 the mode unconditionally when called from Lisp.
19719 * abbrev.el (abbrev-mode):
19720 * allout.el (allout-mode):
19721 * autoinsert.el (auto-insert-mode):
19722 * autoarg.el (autoarg-mode, autoarg-kp-mode):
19723 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
19724 (global-auto-revert-mode):
19725 * battery.el (display-battery-mode):
19726 * composite.el (global-auto-composition-mode)
19727 (auto-composition-mode):
19728 * delsel.el (delete-selection-mode):
19729 * desktop.el (desktop-save-mode):
19730 * dired-x.el (dired-omit-mode):
19731 * dirtrack.el (dirtrack-mode):
19732 * doc-view.el (doc-view-minor-mode):
19733 * double.el (double-mode):
19734 * electric.el (electric-indent-mode, electric-pair-mode):
19735 * emacs-lock.el (emacs-lock-mode):
19736 * epa-hook.el (auto-encryption-mode):
19737 * follow.el (follow-mode):
19738 * font-core.el (font-lock-mode):
19739 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
19740 * help.el (temp-buffer-resize-mode):
19741 * hilit-chg.el (highlight-changes-mode)
19742 (highlight-changes-visible-mode):
19743 * hi-lock.el (hi-lock-mode):
19744 * hl-line.el (hl-line-mode, global-hl-line-mode):
19745 * icomplete.el (icomplete-mode):
19746 * ido.el (ido-everywhere):
19747 * image-file.el (auto-image-file-mode):
19748 * image-mode.el (image-minor-mode):
19749 * iswitchb.el (iswitchb-mode):
19750 * jka-cmpr-hook.el (auto-compression-mode):
19751 * linum.el (linum-mode):
19752 * longlines.el (longlines-mode):
19753 * master.el (master-mode):
19754 * mb-depth.el (minibuffer-depth-indicate-mode):
19755 * menu-bar.el (menu-bar-mode):
19756 * minibuf-eldef.el (minibuffer-electric-default-mode):
19757 * mouse-sel.el (mouse-sel-mode):
19758 * msb.el (msb-mode):
19759 * mwheel.el (mouse-wheel-mode):
19760 * outline.el (outline-minor-mode):
19761 * paren.el (show-paren-mode):
19762 * recentf.el (recentf-mode):
19763 * reveal.el (reveal-mode, global-reveal-mode):
19764 * rfn-eshadow.el (file-name-shadow-mode):
19765 * ruler-mode.el (ruler-mode):
19766 * savehist.el (savehist-mode):
19767 * scroll-all.el (scroll-all-mode):
19768 * scroll-bar.el (scroll-bar-mode):
19769 * server.el (server-mode):
19770 * shell.el (shell-dirtrack-mode):
19771 * simple.el (auto-fill-mode, transient-mark-mode)
19772 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
19773 (line-number-mode, column-number-mode, size-indication-mode)
19774 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
19775 * strokes.el (strokes-mode):
19776 * time.el (display-time-mode):
19777 * t-mouse.el (gpm-mouse-mode):
19778 * tool-bar.el (tool-bar-mode):
19779 * tooltip.el (tooltip-mode):
19780 * type-break.el (type-break-mode-line-message-mode)
19781 (type-break-query-mode):
19782 * view.el (view-mode):
19783 * whitespace.el (whitespace-mode, whitespace-newline-mode)
19784 (global-whitespace-mode, global-whitespace-newline-mode):
19785 * xt-mouse.el (xterm-mouse-mode): Doc fix.
19787 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19788 Fix autogenerated docstring.
19790 2011-10-19 Juri Linkov <juri@jurta.org>
19792 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
19793 by checking environment variables "DESKTOP_SESSION" and
19794 "XDG_CURRENT_DESKTOP". (Bug#9779)
19796 2011-10-19 Juri Linkov <juri@jurta.org>
19798 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
19799 (browse-url-chromium-program, browse-url-chromium-arguments):
19801 (browse-url-default-browser): Check for `browse-url-chromium' and
19802 call `browse-url-chromium-program'.
19803 (browse-url-chromium): New command. (Bug#9779)
19805 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
19807 * facemenu.el (list-colors-duplicates): On Windows, detect more
19808 duplicates by assuming that only colors matching "^System" are
19809 special "system colors". (Bug#9722)
19811 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
19813 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
19814 to distinguish the author from the committer.
19816 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
19818 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
19820 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
19822 * international/mule.el (sgml-html-meta-auto-coding-function):
19823 Add support for detecting encoding in HTML5 specified only as
19824 <meta charset="UTF-8">. Implementation just makes http-equiv and
19825 content-type parts from HTML4 encoding string optional. (Bug#9716)
19827 2011-10-18 Glenn Morris <rgm@gnu.org>
19829 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
19831 2011-10-18 Chong Yidong <cyd@gnu.org>
19833 * faces.el (cursor): Doc fix.
19835 2011-10-17 Chong Yidong <cyd@gnu.org>
19837 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
19839 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
19841 * dirtrack.el (dirtrack): Support shell buffers with path
19842 prefixes, e.g. tramp-based remote shells. (Bug#9647)
19844 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
19846 * json.el: Bump version to 1.3 and note change in History.
19847 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
19849 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
19851 * comint.el (comint-insert-input, comint-send-input)
19852 (comint-get-old-input-default, comint-backward-matching-input)
19853 (comint-next-prompt): Use nil instead of `input' for field property of
19854 past user input (bug#114).
19856 * minibuffer.el (completion--replace): Inherit surrounding properties
19858 (minibuffer-complete-and-exit): Use it.
19860 * comint.el (comint--table-subvert): Quote the all-completions output
19863 2011-10-17 Martin Rudalics <rudalics@gmx.at>
19865 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
19867 * menu-bar.el (menu-bar-file-menu): Add entry for making new
19868 window on right of selected. (Bug#9350) Reword other window
19869 entries and separate them from frame entries.
19871 2011-10-15 Glenn Morris <rgm@gnu.org>
19873 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
19876 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
19878 * net/network-stream.el (network-stream-open-starttls):
19879 Improve detection of failure due to lack of TLS support.
19881 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
19882 putting the input text in front and in bold.
19884 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
19886 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
19888 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
19891 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
19892 unread-command-events rather than pushing yet-another event.
19894 2011-10-14 Eli Zaretskii <eliz@gnu.org>
19896 * mail/sendmail.el (sendmail-query-once): Improve the wording of
19897 the explanation of the possible choices. Make the options passed
19898 to completing-read shorter.
19900 2011-10-13 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
19902 * textmodes/flyspell.el (flyspell-large-region): Make sure
19903 extended character mode is used if defined (Bug#1339).
19905 2011-10-13 Eli Zaretskii <eliz@gnu.org>
19907 * simple.el (what-cursor-position): Fix the display of the
19908 character info for LRE, LRO, RLE, and RLO characters by appending
19911 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
19913 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
19914 even in case of error; add debug spec; simplify data flow.
19915 (with-timeout-handler): Remove.
19917 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
19919 Fix Bug#6019, Bug#9315.
19921 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
19922 complete `buffer-file-name', the local file name part could look
19923 remotely (for example on VMS).
19925 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
19926 `tramp-run-real-handler'.
19927 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
19928 already quoted by '"'.
19930 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
19931 Let `file-name-handler-alist' be nil, the local file name part
19932 could look remotely (for example on VMS).
19934 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
19936 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
19938 (flyspell-post-command-hook): ...to here.
19940 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19942 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
19944 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
19945 using completion. Protect against "slow" callers.
19946 Remove the "message hack".
19948 2011-10-11 Juri Linkov <juri@jurta.org>
19950 * isearch.el (isearch-lazy-highlight-word): New variable.
19951 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
19954 2011-10-11 Glenn Morris <rgm@gnu.org>
19956 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
19957 like f90-previous-statement does.
19959 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19961 * eshell/eshell.el (eshell-command): History should be saved
19962 only in interactive use, to avoid error.
19964 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19966 * minibuffer.el (completion-file-name-table): Fix last change,
19967 i.e. ignore normal errors but not the other ones.
19969 2011-10-10 Martin Rudalics <rudalics@gmx.at>
19971 * window.el (special-display-buffer-names)
19972 (special-display-regexps): Remove some remnants of earlier
19973 changes from doc-strings.
19974 (quit-windows-on): New function.
19976 * vc/vc.el (vc-revert, vc-rollback):
19977 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
19978 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
19979 (Bug#6183) (Bug#7074) (Bug#7447)
19981 2011-10-09 Martin Rudalics <rudalics@gmx.at>
19983 * window.el (frame-auto-hide-function): Add version tag.
19986 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
19988 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
19991 2011-10-09 Leo Liu <sdl.web@gmail.com>
19993 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
19996 2011-10-08 Glenn Morris <rgm@gnu.org>
19998 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
19999 before the first code statement zero indent. (Bug#9690)
20001 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
20003 * simple.el (count-words-region): Always count in the region.
20004 Report the number of lines and characters too.
20005 (count-words): New command, which counts in the buffer if the
20006 region is inactive, as count-words-region used to.
20007 (count-words--message): New function. Handle plurals.
20008 (count-lines-region): Make it an alias for count-words-region.
20010 * bindings.el (esc-map): Replace count-lines-region with
20011 count-words-region.
20013 2011-10-08 Martin Rudalics <rudalics@gmx.at>
20015 * window.el (window--delete): Delete dedicated frame
20016 unconditionally when argument KILL is non-nil. (Bug#9699)
20017 (switch-to-buffer): Fix doc-string typo.
20019 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20021 * eshell/eshell.el (eshell-command): Avoid using hooks.
20023 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
20025 * bindings.el ([M-left],[M-right]): Bind to left-word and
20026 right-word respectively.
20028 2011-10-07 Glenn Morris <rgm@gnu.org>
20030 * cus-start.el (debug-on-quit): Fix custom type.
20032 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20034 * subr.el (define-key-after): Clarify that the function is not
20035 useful for non-menu keymaps.
20037 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
20039 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20041 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
20042 in current minibuffer (Fix bug with recursive minibuffers).
20044 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
20046 * progmodes/gdb-mi.el (gdb): Doc fix.
20048 2011-10-05 Martin Rudalics <rudalics@gmx.at>
20050 * window.el (frame-auto-hide-function): New option replacing
20051 frame-auto-delete. Suggested by Stefan Monnier.
20052 (window--delete): Call frame-auto-hide-function instead of
20053 investigating frame-auto-delete.
20054 (window-point-1, set-window-point-1): New functions.
20055 (window-in-direction, record-window-buffer, window-state-get-1)
20056 (display-buffer-record-window): Use window-point-1 instead of
20058 (set-window-buffer-start-and-point): Use set-window-point-1.
20060 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20062 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
20064 2011-10-05 Glenn Morris <rgm@gnu.org>
20066 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
20067 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
20069 2011-10-05 Leo Liu <sdl.web@gmail.com>
20071 * subr.el (read-char-choice): Fix argument to buffer-live-p which
20072 works with buffer object.
20074 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20076 * mpc.el (mpc-tool-bar-map): Add labels.
20078 2011-10-04 Glenn Morris <rgm@gnu.org>
20080 * calendar/holidays.el (calendar-check-holidays): Doc fix.
20082 2011-10-04 Martin Rudalics <rudalics@gmx.at>
20084 * window.el (window--delete): New function.
20085 (frame-auto-delete): Resuscitate option.
20086 (bury-buffer, replace-buffer-in-windows)
20087 (quit-window): Rewrite using window--delete.
20088 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20089 Pass display-buffer-mark-dedicated to window--display-buffer-2
20092 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20094 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
20095 returns a list (bug#9554). Add remote file name completion.
20096 * comint.el (comint--table-subvert): Curry and get quote&unquote
20097 functions as arguments.
20098 (comint--complete-file-name-data): Adjust call accordingly.
20099 * pcomplete.el (pcomplete--table-subvert): Remove.
20100 (pcomplete-completions-at-point): Use comint--table-subvert instead.
20102 * minibuffer.el (completion-table-case-fold): Use currying.
20103 (completion--styles-type, completion--cycling-threshold-type):
20105 (completion-styles, completion-category-overrides)
20106 (completion-cycle-threshold): Use them.
20107 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
20108 completion-table-case-fold.
20110 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
20112 * minibuffer.el (completion-category-overrides): Fix type of styles
20113 and add more user friendly tags (bug#9660).
20115 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20117 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
20118 (mule-input-method-string): New widget.
20119 (default-input-method, language-info-custom-alist): Use it.
20121 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
20123 * pcomplete.el: Require comint.
20124 (pcomplete--common-suffix): Remove.
20125 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
20126 (pcomplete--table-subvert): Sync with comint--table-subvert.
20127 (pcomplete--entries): Use comint-completion-file-name-table.
20128 * comint.el (comint-unquote-filename): Simplify.
20129 (comint-completion-file-name-table): New function (bug#9616).
20130 (comint--complete-file-name-data): Use it.
20132 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
20133 (pcmpl-gnu-tar-buffer): Remove.
20134 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
20135 around. Make sure pcomplete-suffix-list is only changed temporarily.
20136 Don't look inside the tar's file if it's too large.
20138 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
20140 * cus-edit.el (custom-mode-map):
20141 * epa.el (epa-key-list-mode-map):
20142 * man.el (Man-mode-map):
20143 * startup.el (splash-screen-keymap):
20144 * simple.el (special-mode-map): Use scroll-up-command and
20145 scroll-down-command.
20147 * progmodes/idlw-help.el (idlwave-help-mode-map):
20148 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
20149 * net/newst-plainview.el (newsticker-mode-map):
20150 * emulation/ws-mode.el (wordstar-mode-map):
20151 * emulation/vi.el (vi-com-map):
20152 * calc/calc-graph.el (calc-graph-show-dumb):
20153 * term/sun.el (terminal-init-sun):
20154 * term/ns-win.el (global-map):
20155 * progmodes/grep.el (grep-mode-map):
20156 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
20157 * mail/rmail.el (rmail-mode-map):
20158 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
20160 * custom.el (custom-safe-themes, load-theme): Treat value of t for
20161 custom-safe-themes as special.
20163 2011-10-01 Julien Danjou <julien@danjou.info>
20165 * notifications.el (notifications-notify): Fix docstring.
20167 2011-10-01 Per Starbäck <per@starback.se>
20169 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
20171 2011-09-30 Martin Rudalics <rudalics@gmx.at>
20173 * startup.el (command-line-1): Fix last fix by inserting
20174 initial-scratch-message into *scratch* before displaying it.
20175 (Bug#9605) and (Bug#9636)
20177 2011-09-29 Eli Zaretskii <eliz@gnu.org>
20179 * simple.el (line-move): If auto-hscroll-mode is disabled and the
20180 window is hscrolled, move by logical lines. (Bug#9607)
20181 (line-move-visual): Update the doc string to the above effect.
20183 2011-09-29 Martin Rudalics <rudalics@gmx.at>
20185 * window.el (display-buffer-record-window): When WINDOW is the
20186 selected window use `point' instead of `window-point'. (Bug#9626)
20188 * startup.el (command-line-1): Use insert-before-markers when
20189 inserting initial-scratch-message. (Bug#9605)
20191 * help.el (help-window): Remove variable.
20193 2011-09-29 Glenn Morris <rgm@gnu.org>
20195 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
20197 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
20199 * descr-text.el (describe-char-categories): Accept category
20200 descriptions more than one line long.
20202 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
20204 * simple.el (delete-trailing-whitespace): Fix last change.
20206 * progmodes/perl-mode.el (perl-syntax-propertize-function):
20207 Don't confuse "y => 3" as the beginning of a `y' operation.
20209 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
20210 object has more than 4 slots (bug#9613).
20212 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
20214 * subr.el (with-output-to-temp-buffer):
20215 * net/quickurl.el (quickurl, quickurl-browse-url):
20216 Fix typos in docstrings.
20218 2011-09-27 Eli Zaretskii <eliz@gnu.org>
20220 * minibuffer.el (completion-styles)
20221 (completion-category-overrides): Cross reference each other in doc
20224 2011-09-27 Glenn Morris <rgm@gnu.org>
20226 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
20227 to split-string. (Bug#9606)
20229 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20231 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
20234 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
20236 * emacs-lisp/package.el (list-packages): Fix echo area message.
20238 2011-09-27 Leo Liu <sdl.web@gmail.com>
20240 * ido.el (ido-read-internal): Accept cons cell HIST arg.
20242 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
20244 * net/dbus.el (dbus-unregister-object): Don't release services for
20245 registered signals. (Bug#9581)
20247 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
20249 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
20250 function that picks between cfengine 2 and 3 support
20251 automatically. Update docs accordingly.
20253 2011-09-22 Kenichi Handa <handa@m17n.org>
20255 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
20257 (indian-itrans-v5-table-for-tamil): New variable.
20258 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
20260 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
20262 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
20263 that's true if the current command involved collapsing of text.
20264 It's reset to false at the beginning of the next command.
20265 (allout-post-command-business): Move the cursor to the beginning
20266 of entry if the cursor is hidden and collapsing activity just
20269 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
20271 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
20272 tracking (Bug#9541).
20274 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
20276 * net/newst-reader.el (newsticker-html-renderer)
20277 (newsticker-show-news): Automatically load html rendering package
20278 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
20279 because w3m-fill-column is let-bound" and the error "Symbol's value
20280 as variable is void: w3m-fill-column".
20282 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
20284 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
20285 Release services only if they are defined. (Bug#9581)
20287 2011-09-23 Richard Stallman <rms@gnu.org>
20289 * textmodes/paragraphs.el (forward-sentence): For backwards case,
20290 distinguish start of paragraph from start of its text.
20292 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
20294 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
20295 (rmail-generate-viewer-buffer): Put that hook on view buffer.
20296 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
20298 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
20300 * international/mule-diag.el (mule-diag): Insert a newline after
20301 each fontset description.
20303 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20305 * simple.el (delete-trailing-whitespace):
20306 Document last change; simplify.
20308 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
20310 * simple.el (delete-trailing-whitespace): Also delete
20311 extra newlines at the end of the buffer.
20313 * textmodes/picture.el: Make motion commands obey shift-select-mode.
20314 (picture-newline): Use forward-line so as to ignore fields.
20316 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20318 * subr.el (with-wrapper-hook): Fix edebug spec.
20320 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
20322 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
20325 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
20327 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
20328 Fix nasty bug using wrong cached values.
20330 2011-09-23 Alan Mackenzie <acm@muc.de>
20332 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
20334 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
20336 * window.el (pop-to-buffer): Ensure right window is selected if we
20337 chose another frame.
20339 2011-09-22 Eli Zaretskii <eliz@gnu.org>
20341 * simple.el (what-cursor-position): Use get-char-property-change
20342 and next-single-char-property-change, to be able to show display
20343 properties that come from overlays as well as text properties.
20345 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
20347 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
20349 * cmuscheme.el (run-scheme, switch-to-scheme):
20350 * cus-edit.el (customize-group, custom-buffer-create)
20351 (customize-browse):
20353 * shell.el (shell):
20354 * mail/sendmail.el (mail):
20355 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
20357 2011-09-22 Richard Stallman <rms@gnu.org>
20359 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
20360 move back only to line beg, don't move back over blank lines.
20362 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
20364 * files.el (copy-directory): Set directory attributes only in case
20365 they could be retrieved from the source directory. (Bug#9565)
20367 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
20369 * progmodes/hideshow.el (hs-looking-at-block-start-p)
20370 (hs-find-block-beginning, hs-hide-level-recursive):
20371 Ignore strings as well as comments. (Bug#9502)
20373 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
20375 * progmodes/sql.el (sql-comint-postgres):
20376 Convert port number to a string. (Bug#9566)
20378 2011-09-22 Martin Rudalics <rudalics@gmx.at>
20380 * window.el (quit-window): Undedicate window when switching to
20381 previous buffer. Reported by Thierry Volpiatto
20382 <thierry.volpiatto@gmail.com>.
20383 (special-display-popup-frame): When popping up a new frame reset
20384 its previous buffers to nil. Simplify code.
20386 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
20388 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
20389 and process filter, as done also in `shell-command'.
20391 2011-09-21 Martin Rudalics <rudalics@gmx.at>
20393 * window.el (set-window-buffer-start-and-point):
20394 Call set-window-start with NOFORCE argument t.
20395 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20396 (quit-window): Reword doc-string. Handle new format of
20397 quit-restore parameter. Don't delete window if it has a
20398 previous buffer we can show instead of the present one.
20399 (display-buffer-record-window): Rewrite using a new format for
20400 the quit-restore window parameter
20401 (special-display-popup-frame, display-buffer-same-window)
20402 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20403 (display-buffer-pop-up-window, display-buffer-use-some-window):
20404 Adapt symbol passed to display-buffer-record-window.
20405 * help.el (help-window-setup): Handle new format of quit-restore
20408 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
20410 * faces.el (face-list): Fix docstring (bug#9564).
20412 * window.el (display-buffer--action-function-custom-type):
20413 Don't include internal functions in the Custom interface.
20415 2011-09-20 Juri Linkov <juri@jurta.org>
20417 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
20418 (Info-forward-node, Info-backward-node, Info-next-preorder)
20419 (Info-last-preorder): Use it. (Bug#9528)
20421 2011-09-20 Juri Linkov <juri@jurta.org>
20423 * info.el (Info-last-preorder): Visit last menu item only when
20424 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
20426 2011-09-20 Julien Danjou <julien@danjou.info>
20428 * password-cache.el (password-cache-remove): Remove entries even if the
20429 value is nil, so that password with a nil value (negative caching) is
20430 possible to invalidate.
20432 2011-09-20 Lawrence Mitchell <wence@gmx.li>
20434 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
20435 all whitespace around breakpoint. (Bug#9553)
20436 (f90-find-breakpoint): Only break at whitespace inside a comment.
20438 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
20440 * minibuffer.el (completion-file-name-table): Keep track of errors.
20441 (completion-table-with-predicate): Handle the case where pred1 is nil.
20442 * pcomplete.el (pcomplete-completions-at-point): Simplify.
20444 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20446 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
20447 (debugger-return-value): Signal an error if the debugging context does
20448 not await any return value.
20450 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
20451 * image-mode.el (image-toggle-display-text)
20452 (image-toggle-display-image): Stay away from evil `intangible'.
20454 2011-09-19 Leo Liu <sdl.web@gmail.com>
20456 * replace.el (occur-revert-arguments): Make it permanent-local.
20457 (occur-mode): Don't call font-lock-defontify.
20459 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
20461 * net/ldap.el (ldap-search-internal): Don't push empty search
20464 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20466 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
20468 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
20470 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
20471 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
20473 2011-09-18 Juri Linkov <juri@jurta.org>
20475 * buff-menu.el (Buffer-menu-mode-map):
20476 * dired.el (dired-mode-map):
20477 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
20478 (lisp-interaction-mode-map):
20479 * emacs-lisp/package.el (package-menu-mode-map):
20480 * epa.el (epa-key-list-mode-map):
20481 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
20482 (menu-bar-options-menu):
20483 * outline.el (outline-mode-menu-bar-map):
20484 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
20485 * vc/vc-dir.el (vc-dir-menu-map):
20486 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
20487 Capitalize non-function content words in menu item strings.
20489 * dired.el (dired-mode-map): Add menu item for
20490 `image-dired-dired-toggle-marked-thumbs'.
20492 2011-09-18 Juri Linkov <juri@jurta.org>
20494 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
20495 to `isearch-case-fold-search' and restore its original value
20496 after the `isearch-mode' call.
20498 2011-09-18 Juri Linkov <juri@jurta.org>
20500 * progmodes/grep.el (grep-process-setup): Don't check code for 1
20501 because `zgrep' returns 1 for successful matches (bug#9226).
20503 2011-09-18 Juri Linkov <juri@jurta.org>
20505 * info.el (Info-extract-menu-node-name): Check the second match
20506 for empty string (second test-case of bug#9528).
20507 (Info-last-preorder): Let-bind `Info-history' to nil to not add
20508 intermediate nodes to the history (first test-case of bug#9528).
20510 2011-09-18 Juri Linkov <juri@jurta.org>
20512 * info.el (Info-mode-syntax-table): New variable.
20513 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
20515 2011-09-18 Juri Linkov <juri@jurta.org>
20517 * info.el (Info-file-supports-index-cookies):
20518 Increment line-beginning-position's arg from 3 to 4 because makeinfo
20519 outputs one more line for long file names (bug#4142).
20521 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20523 * newcomment.el (comment-normalize-vars): If prompting for
20524 comment-start, set comment-start-skip too (Bug#8424).
20526 2011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
20528 * icomplete.el: Fix previous fix of Bug#5849.
20529 (icomplete-mode): Don't set completion-show-inline-help.
20530 (icomplete-minibuffer-setup): Set completion-show-inline-help
20531 locally during icompletion.
20533 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20535 * woman.el (woman2-process-escapes): Don't delete unrecognized
20536 escapes (Bug#7843).
20538 * files.el (inhibit-first-line-modes-regexps): Add image files.
20539 (hack-local-variables-prop-line): Return nil for malformed
20540 prop-lines (Bug#9044).
20542 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
20544 * net/tramp.el (top): Don't require 'shell.
20545 (tramp-methods): Fix docstring.
20546 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
20547 Return complete remote file name. Handle "smb" case.
20548 Use `tramp-tmpdir', if defined for the respective method.
20549 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
20551 * net/tramp-compat.el (top): Require 'shell.
20553 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20554 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
20555 `tramp-current-host'.
20556 (tramp-get-remote-tmpdir): Remove.
20558 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
20559 `tramp-tmpdir' entries.
20560 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
20561 (tramp-smb-handle-file-attributes): Ignore errors.
20562 (tramp-smb-wait-for-output): Check also for process end.
20564 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
20566 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
20567 when sending QUIT (bug#9312).
20569 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
20571 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
20572 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
20573 occur-mode-display-occurrence.
20574 (occur-edit-mode): Add usage message.
20575 (occur-cease-edit): New command.
20576 (occur-after-change-function): Use text properties to find the
20577 position of the prefix text.
20578 (occur-engine): Set stickiness of prefix text properties.
20580 2011-09-17 Glenn Morris <rgm@gnu.org>
20582 * progmodes/etags.el (complete-tag):
20583 Fix call to completion-in-region. (Bug#9526)
20585 2011-09-17 Juri Linkov <juri@jurta.org>
20587 * textmodes/ispell.el (ispell-word): Add to the error message
20588 the word, ispell program name and current dictionary (bug#9121).
20589 (ispell-tex-arg-end): Capitalize "error" in the error message.
20591 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
20593 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
20596 2011-09-17 Juri Linkov <juri@jurta.org>
20598 * window.el (window-safe-min-height, window-safe-min-width):
20599 Fix typos (followup to bug#9522).
20601 2011-09-17 Sven Joachim <svenjoac@gmx.de>
20603 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
20605 2011-09-16 Eli Zaretskii <eliz@gnu.org>
20607 * simple.el (line-move): If goal-column is set, move by logical
20608 lines, not by display lines. (Bug#971)
20609 (next-line, previous-line, goal-column, line-move-visual): Doc fix
20610 to reflect the above change.
20612 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
20614 * image.el (imagemagick-register-types): Use regexp-opt.
20616 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20618 * window.el (display-buffer-base-action): Rename from
20619 display-buffer-default-action. Make default value empty.
20620 (display-buffer-overriding-action): Convert to defvar.
20621 (display-buffer-fallback-action): New var.
20623 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20625 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
20627 (package--add-to-archive-contents): If there is a duplicate entry
20628 with an older version, remove it.
20629 (package-menu-mark-delete, package-menu-mark-install)
20630 (package-menu-mark-unmark): Make unused args optional.
20631 (package-menu-mark-obsolete-for-deletion):
20632 Use package-menu-get-status instead of a regexp search.
20633 (package-menu-get-status): Use tabulated-list-entry.
20634 (package-menu-mark-upgrades): New command.
20635 (package-menu-mode-map): Bind it to U. Add it to menu bar.
20636 (package-menu-execute): Do installation before deletion.
20637 (package-menu-refresh, package-menu-execute): Use derived-mode-p
20638 instead of checking major-mode.
20639 (package-menu--find-upgrades): New function.
20641 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20643 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
20644 passwords in the log buffer.
20645 (smtpmail-process-filter): Update the process marker so that the
20646 "broken by peer" status message is inserted in the right place.
20648 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
20650 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
20651 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
20652 bibtex-completion-at-point-function.
20653 (bibtex-completion-at-point-function): Use them.
20655 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
20657 * mpc.el (mpc-constraints-tag-lookup): New function.
20658 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
20659 also to browser "album|playlist".
20661 2011-09-14 Juri Linkov <juri@jurta.org>
20663 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
20664 (isearch-edit-string): Use length of `isearch-string' when
20665 `isearch-fail-pos' returns nil.
20666 (isearch-message): Remove duplicate code and call
20667 `isearch-fail-pos' with arg `t'.
20669 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
20671 * replace.el (occur-mode-goto-occurrence): Don't force using other
20674 * dired-aux.el (dired-do-chmod): Don't provide initial input.
20676 2011-09-14 Martin Rudalics <rudalics@gmx.at>
20678 * window.el (display-buffer-window): Remove.
20679 (display-buffer-record-window): Use help-setup window parameter
20680 instead of variable display-buffer-window.
20681 (display-buffer-function, special-display-buffer-names)
20682 (special-display-function): Mention help-setup parameter instead
20683 of display-buffer-window in doc-string.
20684 * help.el (help-window-setup): New argument help-window.
20685 Use help-window-setup parameter instead of display-buffer-window.
20686 Reword some messages.
20687 (with-help-window): Pass window used for displaying the buffer
20688 to help-window-setup. Don't set display-buffer-window.
20690 2011-09-13 Glenn Morris <rgm@gnu.org>
20692 * emacs-lisp/debug.el (debugger-make-xrefs):
20693 Preserve point. (Bug#9462)
20695 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20697 * window.el (window-deletable-p): Use next-frame.
20699 2011-09-13 Martin Rudalics <rudalics@gmx.at>
20701 * window.el (window-auto-delete): Remove.
20702 (window-deletable-p): Remove argument FORCE. Don't deal with
20703 dedication and previous buffers.
20704 (switch-to-prev-buffer): Don't delete window.
20705 (delete-windows-on): Delete a window's frame if and only if the
20706 window is dedicated.
20707 (replace-buffer-in-windows): Delete buffer's window or frame if
20708 and only if window is dedicated.
20709 (quit-window): Handle quit-restore as before last change.
20710 (bury-buffer): Delete window only if window-deletable-p returns t.
20712 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20714 * window.el (window-deletable-p): Never delete the last frame on a
20717 2011-09-13 Glenn Morris <rgm@gnu.org>
20719 * help.el (describe-key-briefly): Copy previous standard-output change.
20721 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
20723 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
20725 2011-09-13 Glenn Morris <rgm@gnu.org>
20727 * emacs-lisp/lisp-mode.el (lisp-indent-function):
20728 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
20730 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
20732 * dired-aux.el (dired-mark-read-string): Don't return default
20733 value on empty input (Bug#9361).
20734 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
20735 Omit initial minibuffer contents.
20736 (dired-do-chmod): Signal an error on empty input.
20737 (dired-mark-read-string): Don't return default on empty input.
20739 * files.el (file-modes-symbolic-to-number): Doc fix.
20741 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20743 * international/mule-cmds.el (ucs-completions): Remove.
20744 (read-char-by-name): Use complete-with-action instead; add metadata.
20746 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20748 * window.el (display-buffer--action-function-custom-type)
20749 (display-buffer--action-custom-type): New vars.
20750 (display-buffer-alist, display-buffer-default-action)
20751 (display-buffer-overriding-action): Add defcustom types.
20753 * frame.el (delete-other-frames): Doc fix (Bug#276).
20755 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20757 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
20759 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20761 Change modes that used same-window-* vars to use switch-to-buffer.
20763 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
20764 Use switch-to-buffer.
20766 * cus-edit.el (customize-group, custom-buffer-create)
20767 (customize-browse, custom-buffer-create-other-window):
20768 Use switch-to-buffer or switch-to-buffer-other-window.
20770 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
20771 (Info-prev, Info-up, Info-speedbar-goto-node)
20772 (info-display-manual): Use switch-to-buffer.
20773 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
20775 * mail/sendmail.el (mail): Use switch-to-buffer.
20776 (mail-recover): Use switch-to-buffer-other-window.
20778 * cmuscheme.el (run-scheme, switch-to-scheme):
20780 * shell.el (shell):
20781 * net/rlogin.el (rlogin):
20782 * net/telnet.el (telnet, rsh):
20783 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
20785 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20787 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
20789 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20791 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
20792 so don't mention it (bug#9301).
20793 (dired-sort-toggle-or-edit): Clarify string further.
20795 * faces.el (face-spec-set-match-display): Make `(type graphic)'
20796 match `x', `w32' and `ns', like the manual says (bug#9029).
20798 * subr.el (eval-after-load): Doc string clarification (bug#9125).
20799 (process-kill-buffer-query-function): Mention the buffer name in
20802 * image-mode.el (image-next-line): The line parameter is mandatory
20805 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
20806 which can be useful (bug#9301).
20808 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
20810 * subr.el (match-string): Mention that the current buffer should
20811 be the same as the search was done in (bug#9282).
20813 * facemenu.el: Disable the remove-* commands if the mark isn't
20816 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20818 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
20820 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
20822 * replace.el (occur-mode-goto-occurrence)
20823 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
20824 and display-buffer.
20826 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
20829 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
20830 special-display and same-window variables.
20831 (mail-other-window): Use switch-to-buffer-other-window.
20832 (mail-other-frame): USe switch-to-buffer-other-frame.
20834 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
20835 Use display-buffer-other-frame.
20836 (gdb-display-gdb-buffer): Use pop-to-buffer.
20838 * progmodes/gud.el (gud-goto-info): Use info-other-window.
20840 * progmodes/python.el: Don't set same-window-buffer-names.
20842 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
20844 * window.el (display-buffer-alist): Add *Python*.
20846 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20848 * window.el (display-buffer-alist): Add entry for buffers
20849 previously handled same-window-*.
20850 (display-buffer-alist, display-buffer-default-action)
20851 (display-buffer-overriding-action): Mark as risky.
20852 (display-buffer-alist): Document action function changes.
20853 (display-buffer--same-window-action)
20854 (display-buffer--other-frame-action): New variables.
20855 (switch-to-buffer, display-buffer-other-frame): Use them.
20856 (display-buffer): Rename reuse-frame entry to reusable-frames.
20857 (display-buffer-reuse-selected-window): Function deleted.
20858 (display-buffer-reuse-window): Handle reusable-frames alist entry.
20859 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
20860 (display-buffer-special): New function.
20861 (display-buffer--maybe-pop-up-frame-or-window): Rename from
20862 display-buffer-reuse-or-pop-window. Split off special-display
20863 part into display-buffer-special.
20864 (display-buffer-use-some-window): Don't perform any special
20865 pop-up-frames handling.
20866 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
20867 (display-buffer--maybe-same-window): Rename from
20868 display-buffer-maybe-same-window.
20870 * info.el: Don't set same-window-regexps.
20871 (info-setup): New function.
20872 (info-other-window, info): Call it.
20874 * cus-edit.el: Don't set same-window-regexps.
20875 (customize-group): New argument.
20876 (customize-group-other-window): Use it.
20877 (customize-face, customize-face-other-window): Likewise.
20878 (custom-buffer-create-other-window): Use pop-to-buffer directly.
20882 * progmodes/gud.el: Don't set same-window-regexps.
20887 * mail/sendmail.el:
20888 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
20890 2011-09-10 Juri Linkov <juri@jurta.org>
20892 * isearch.el (isearch-edit-string): Remove obsolete mention of
20893 `C-w' (`isearch-yank-word-or-char') from docstring.
20894 (isearch-query-replace): Fix typo in docstring (bug#9466).
20896 2011-09-10 Juri Linkov <juri@jurta.org>
20898 * paren.el (show-paren-function): Don't show escaped parens.
20899 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
20901 2011-09-10 Eli Zaretskii <eliz@gnu.org>
20903 * mail/sendmail.el (mml-to-mime, mml-attach-file)
20904 (mm-default-file-encoding): Remove autoload forms, they are
20905 replaced with autoload cookies in mml.el and mm-encode.el.
20906 (mail-add-attachment): New command.
20907 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
20908 (mail-mode): Mention mail-insert-file and mail-add-attachment in
20910 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
20912 2011-09-10 Reuben Thomas <rrt@sc3d.org>
20914 * simple.el (count-words-region): Use buffer if there's no region
20917 2011-09-09 Juri Linkov <juri@jurta.org>
20919 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
20920 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
20921 (wdired-isearch-filter-read-only): New function. (Bug#6362)
20923 2011-09-09 Alan Mackenzie <acm@muc.de>
20925 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
20926 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
20928 2011-09-09 Eli Zaretskii <eliz@gnu.org>
20930 Fix for Savannah bug#9392.
20931 * simple.el (mail-encode-mml): New defvar.
20933 * mail/rmail.el (mail-encode-mml): Add a defvar.
20934 (rmail-enable-mime-composing): Default to t.
20935 (rmail-forward): Use MIME method of forwarding only if both
20936 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
20937 Set mail-encode-mml non-nil if the MIME method was used.
20939 * mail/sendmail.el (mml-to-mime): Add autoload form.
20940 (mail-encode-mml): Add a defvar.
20941 (mail-mode): Make mail-encode-mml buffer-local and initialize it
20943 (mail-send): If mail-encode-mml is non-nil, run the outgoing
20944 message through mml-to-mime, and reset mail-encode-mml to nil.
20946 2011-09-09 Glenn Morris <rgm@gnu.org>
20948 * woman.el (woman-if-body): When processing an .el block,
20949 do not delete the next .el block as well. (Bug#9447)
20950 (woman-special-characters): Add oq, cq, and hy characters.
20952 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20954 * window.el (window-deletable-p): Make sure window is live before
20955 invoking window-prev-buffers.
20957 2011-09-08 Leo Liu <sdl.web@gmail.com>
20959 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
20961 2011-09-08 Juri Linkov <juri@jurta.org>
20963 * progmodes/compile.el (compilation-environment): Make it
20964 a defcustom (bug#8340).
20966 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20968 * window.el (frame-auto-delete): Rename to window-auto-delete.
20969 Make it control auto-deletion of windows and/or frames.
20970 (window-deletable-p): New argument FORCE. Rewrite conditions
20971 for deleting window/frame. (Bug#9419)
20972 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
20973 Rewrite handling of case when window/frame can be deleted.
20974 (delete-windows-on): Call window-deletable-p with new FORCE
20975 argument t. (Bug#9456)
20977 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
20979 * help-mode.el (help-mode): Restore autoload.
20981 2011-09-07 Juri Linkov <juri@jurta.org>
20983 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
20984 `compilation-environment'. Set buffer-local
20985 `compilation-environment' to `thisenv' later after (funcall mode).
20988 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
20989 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
20990 instead of replacing its value. (Bug#8340)
20992 2011-09-07 Juri Linkov <juri@jurta.org>
20994 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
20995 based on text properties put by `grep-filter' instead of matching
20997 (grep-mode): Set buffer-local `compilation-error-screen-columns'
20998 to the value of `grep-error-screen-columns' (bug#9438).
21000 2011-09-07 Juri Linkov <juri@jurta.org>
21002 * simple.el (next-error-highlight, next-error-highlight-no-select):
21003 Doc fix (bug#9432).
21005 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
21007 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21008 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
21010 2011-09-07 Leo Liu <sdl.web@gmail.com>
21012 * net/rcirc.el (rcirc-mode): Conditionally initialize
21015 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
21017 * emacs-lisp/find-func.el (find-function-C-source): Only set
21018 find-function-C-source-directory after checking that we found a source
21019 file there (bug#9440).
21021 2011-09-06 Alan Mackenzie <acm@muc.de>
21023 * isearch.el (isearch-other-meta-char): Wherever a key list is
21024 unread, "unread" the prefix arg, too. This fixes bug #8901.
21026 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
21028 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
21030 2011-09-05 Juri Linkov <juri@jurta.org>
21032 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
21034 2011-09-05 Juri Linkov <juri@jurta.org>
21036 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
21037 keeping point where processing of grep matches begins, and
21038 continue to delete remaining escape sequences from the same point.
21039 (grep-filter): Make leading zero optional in "0?1;31m" because
21040 git-grep emits "\033[1;31m" escape sequences unlike expected
21041 "\033[01;31m" as GNU Grep does (bug#9408).
21042 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
21044 2011-09-05 Juri Linkov <juri@jurta.org>
21046 * subr.el (y-or-n-p): Capitalize "yes".
21048 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
21050 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
21051 `tramp-cache-unload-hook' where appropriate.
21052 (tramp-methods): Rename `tramp-remote-sh' to
21053 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
21054 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
21056 * net/tramp-sh.el (top): Don't require 'shell.
21057 (tramp-methods): Add `tramp-remote-shell' and
21058 `tramp-remote-shell-args' entries.
21059 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
21060 (tramp-sh-handle-shell-command): Remove.
21061 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21062 Use `tramp-remote-shell'.
21064 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
21066 * mail/sendmail.el (sendmail-query-once-function): Delete.
21067 (sendmail-query-once): Save directly to send-mail-function.
21068 Update message-send-mail-function too.
21070 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
21072 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21074 * progmodes/python.el (python-mode-map): Use correct function to
21075 start python interpreter from menu-bar (as reported by Geert
21077 (inferior-python-mode-map): Fix typo.
21078 (python-shell-map): Remove.
21080 2011-09-03 Deniz Dogan <deniz@dogan.se>
21082 * net/rcirc.el (rcirc-print): Simplify code for
21083 rcirc-scroll-show-maximum-output. There is no need to walk
21084 through all windows to find the right one.
21086 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21088 * help.el (help-return-method): Doc fix.
21090 2011-09-03 Martin Rudalics <rudalics@gmx.at>
21092 * window.el (window-deletable-p): Don't return a non-nil value
21093 when there's a buffer that was shown in the window before.
21095 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
21096 Set window's previous buffers to nil.
21098 2011-09-03 Eli Zaretskii <eliz@gnu.org>
21100 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
21101 newline before and after the tag line, so it doesn't interfere
21102 with determining the paragraph direction of bidirectional text.
21104 2011-09-03 Leo Liu <sdl.web@gmail.com>
21106 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
21108 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21110 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
21111 (pop-to-buffer): Change interactive spec. Pass second argument
21112 directly to display-buffer.
21113 (display-buffer): Fix interactive spec. Use functionp to
21114 distinguish between a function and a list of functions.
21116 * abbrev.el (edit-abbrevs):
21117 * arc-mode.el (archive-extract):
21118 * autoinsert.el (auto-insert):
21119 * bookmark.el (bookmark-bmenu-list):
21120 * files.el (find-file):
21121 * view.el (view-buffer):
21122 * progmodes/compile.el (compilation-goto-locus):
21123 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
21125 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21127 * window.el (display-buffer-alist): Doc fix.
21128 (display-buffer): Add docstring. Don't treat
21129 display-buffer-default specially.
21130 (display-buffer-reuse-selected-window)
21131 (display-buffer-same-window, display-buffer-maybe-same-window)
21132 (display-buffer-reuse-window, display-buffer-pop-up-frame)
21133 (display-buffer-pop-up-window)
21134 (display-buffer-reuse-or-pop-window)
21135 (display-buffer-use-some-window): New functions.
21136 (display-buffer-default-action): Use them.
21137 (display-buffer-default): Delete.
21138 (pop-to-buffer-1): Fix choice of actions.
21140 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
21142 * minibuffer.el (completion--insert-strings): Don't get confused by
21143 completion entries that end with an LF char.
21145 2011-09-01 Eli Zaretskii <eliz@gnu.org>
21147 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
21149 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
21151 * window.el (display-buffer): Restore interactive spec.
21152 (display-buffer-same-window, display-buffer-other-window):
21154 (pop-to-buffer-1): New function. Use the above.
21155 (pop-to-buffer, pop-to-buffer-same-window): Use it.
21156 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
21158 * view.el (view-buffer-other-window, view-buffer-other-frame):
21159 Just use pop-to-buffer.
21161 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
21163 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
21165 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
21167 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
21169 2011-08-31 Richard Stallman <rms@gnu.org>
21171 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
21172 of the separation of rmail-view-buffer from rmail-buffer.
21173 If you say no to "replace original", the decrypt is in the
21174 view buffer. If you say yes, the decrypt goes into the
21177 2011-08-31 Martin Rudalics <rudalics@gmx.at>
21179 * window.el (display-buffer-window): Rewrite doc-string.
21180 (display-buffer-record-window): New function.
21181 (display-buffer-macro-specifiers)
21182 (display-buffer-even-window-sizes, display-buffer-set-height)
21183 (display-buffer-set-width, display-buffer-in-window)
21184 (display-buffer-reuse-window, display-buffer-split-specifiers)
21185 (display-buffer-side-specifiers, display-buffer-split-window-1)
21186 (display-buffer-split-window, display-buffer-split-atom-window)
21187 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21188 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
21189 (display-buffer-other-window-means-other-frame)
21190 (display-buffer-normalize-special)
21191 (display-buffer-normalize-default)
21192 (display-buffer-normalize-argument)
21193 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
21194 (display-buffer-normalize-specifiers, display-buffer-frame)
21195 (display-buffer-same-window, display-buffer-same-frame)
21196 (display-buffer-other-window)
21197 (display-buffer-same-frame-other-window)
21198 (display-buffer-other-frame, pop-to-buffer-same-window)
21199 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
21200 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
21201 (switch-to-buffer-same-frame)
21202 (switch-to-buffer-other-window-same-frame)
21203 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
21204 (display-buffer-alist-set-1, display-buffer-alist-set-2)
21205 (display-buffer-alist-set): Remove.
21206 (display-buffer-function, special-display-buffer-names)
21207 (special-display-regexps, special-display-function):
21208 In doc-string refer to display-buffer-window and quit-restore
21210 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
21211 (special-display-frame-alist, special-display-popup-frame)
21212 (same-window-buffer-names, same-window-regexps, same-window-p)
21213 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21214 (split-window-preferred-function, split-height-threshold)
21215 (split-width-threshold, window-splittable-p)
21216 (split-window-sensibly, window--try-to-split-window)
21217 (window--frame-usable-p, even-window-heights)
21218 (window--even-window-heights, window--display-buffer-1)
21219 (window--display-buffer-2, display-buffer-other-frame):
21220 Restore old Emacs 23 code, order and doc-strings where applicable.
21221 (display-buffer-default, display-buffer-assq-regexp): New functions.
21222 (display-buffer-alist): Rewrite doc-string.
21223 (display-buffer-default-action)
21224 (display-buffer-overriding-action): New variables.
21225 (display-buffer, switch-to-buffer): Rewrite.
21226 (pop-to-buffer): Restore Emacs 23 behavior but use
21227 window-normalize-buffer-to-display.
21228 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
21229 Restore Emacs 23 behavior but use
21230 window-normalize-buffer-to-switch-to.
21231 (pop-to-buffer-same-window): Rewrite.
21232 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
21233 Rewrite using Emacs 23 options.
21235 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
21237 * net/tramp.el (tramp-root-regexp): Remove.
21238 (tramp-completion-file-name-regexp-unified)
21239 (tramp-completion-file-name-regexp-separate)
21240 (tramp-completion-file-name-regexp-url): Don't use leading volume
21241 letter on w32 systems. (Bug#5303, Bug#9311)
21242 (tramp-drop-volume-letter): Simplify definition.
21243 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
21245 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
21247 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
21250 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
21252 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
21254 2011-08-29 Juri Linkov <juri@jurta.org>
21256 * isearch.el (isearch-done): Don't display message "Mark saved"
21257 when arg `edit' is non-nil to prevent its flicker in the echo area.
21259 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21261 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
21262 obsolete packages for deletion.
21264 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
21266 * help-mode.el (help-mode-map): Add special-mode-map to parent.
21267 (help-mode): Derive help-mode from special-mode. Don't invoke
21268 view-mode from help-mode.
21269 (help-xref-override-view-map): Remove.
21270 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
21271 view-mode is not used anymore.
21273 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21275 * server.el (server-port): Doc fix.
21277 * cus-theme.el (custom-theme-choose-mode): Inherit from
21278 special-mode (Bug#9124).
21279 (custom-theme-choose-mode-map): Add special-mode to parent.
21281 2011-08-28 Alan Mackenzie <acm@muc.de>
21283 * progmodes/cc-fonts.el
21284 (c-make-font-lock-BO-decl-search-function): New function.
21285 (c-basic-matchers-after - "Fontify the clauses after various
21286 keywords"): Extract the three keyword lists for the 3 erroneous
21287 constructs from the list of four, and use the new function above
21288 in place of an old one.
21290 2011-08-28 Deniz Dogan <deniz@dogan.se>
21292 * net/rcirc.el (rcirc-insert-prev-input)
21293 (rcirc-insert-next-input): Remove unused argument.
21295 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21297 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
21299 2011-08-27 Alan Mackenzie <acm@muc.de>
21301 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
21302 handle function pointer parameters properly.
21304 2011-08-27 Martin Rudalics <rudalics@gmx.at>
21306 * window.el (display-buffer-reuse-window): Fix case where
21307 selected window was reused with non-nil OTHER-WINDOW argument.
21310 2011-08-27 Deniz Dogan <deniz@dogan.se>
21312 * net/rcirc.el (rcirc-check-auth-status): Adding support for
21313 oftc's NickServ messages.
21315 2011-08-27 Glenn Morris <rgm@gnu.org>
21317 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
21319 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
21321 * emacs-lisp/package.el (package-install): Call package-initialize
21322 if called interactively.
21324 2011-08-26 Leo Liu <sdl.web@gmail.com>
21326 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
21328 2011-08-25 Juri Linkov <juri@jurta.org>
21330 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
21331 `search-whitespace-regexp' (bug#9364).
21333 2011-08-25 Juri Linkov <juri@jurta.org>
21335 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
21336 `regexp-search-ring' to their global values to protect from
21337 updating by `read-from-minibuffer' (bug#9185).
21339 2011-08-25 Juri Linkov <juri@jurta.org>
21341 * textmodes/ispell.el (ispell-command-loop): Add newline
21342 at the end of the "Use option `i'..." line.
21344 2011-08-25 Juri Linkov <juri@jurta.org>
21346 * battery.el (display-battery-mode): If `battery-status-function'
21347 or `battery-mode-line-format' is nil, display the message and set
21348 `display-battery-mode' to nil (bug#9363).
21350 2011-08-25 Eli Zaretskii <eliz@gnu.org>
21352 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
21353 bidi-string-mark-left-to-right; they are unnecessary now.
21355 2011-08-25 Deniz Dogan <deniz@dogan.se>
21357 * net/quickurl.el: Documentation typo fixes.
21359 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
21361 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
21363 2011-08-25 Glenn Morris <rgm@gnu.org>
21365 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
21367 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
21368 (smtpmail-via-smtp): Handle nil response from smtp.
21370 2011-08-24 Juri Linkov <juri@jurta.org>
21372 * proced.el (proced-marked): Inherit from `error' instead of
21373 `font-lock-warning-face'.
21375 * ibuffer.el (ibuffer-marked-face): Change default face from
21376 `font-lock-warning-face' to `warning'.
21377 (ibuffer-deletion-face): Change default face from
21378 `font-lock-type-face' to `error'.
21380 * battery.el (battery-update): Use the face `error' instead of
21381 `font-lock-warning-face' (bug#6117).
21383 2011-08-24 Juri Linkov <juri@jurta.org>
21385 * faces.el (success): Change face color from "Green3" to
21386 "ForestGreen" on light background (bug#9353).
21388 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
21390 * window.el (quit-window): Rename from quit-restore-window.
21391 Use same arglist as old quit-window.
21392 (frame-auto-delete): Doc fix.
21394 * view.el (view-mode-exit): Use quit-window.
21396 2011-08-24 Juri Linkov <juri@jurta.org>
21398 * isearch.el (isearch-ring-adjust1): Start visiting previous
21399 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
21400 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
21401 for empty search string (when the last search string is reused
21402 automatically) to adjust the isearch ring to the last element and
21403 prepare the correct index for further M-p commands (bug#9185).
21405 2011-08-24 Kenichi Handa <handa@m17n.org>
21407 * international/ucs-normalize.el: If decomposition property of
21408 CHAR is the default one (i.e. a list of CHAR itself), treat it as
21410 (nfd, nfkd): Likewise.
21412 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21414 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
21415 from process filters aren't reliably transmitted to the surrounding
21416 accept-process-output.
21417 (mpc-proc-check): New function.
21418 (mpc-proc-sync): Use it (bug#8293)
21420 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21422 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
21423 Add compatibility functions (bug#9313).
21425 2011-08-23 Eli Zaretskii <eliz@gnu.org>
21427 * cus-start.el (all): Add entry for bidi-paragraph-direction.
21429 * international/uni-bidi.el: Regenerate.
21431 2011-08-23 Kenichi Handa <handa@m17n.org>
21433 * international/charprop.el:
21434 * international/uni-bidi.el:
21435 * international/uni-category.el:
21436 * international/uni-combining.el:
21437 * international/uni-comment.el:
21438 * international/uni-decimal.el:
21439 * international/uni-decomposition.el:
21440 * international/uni-digit.el:
21441 * international/uni-lowercase.el:
21442 * international/uni-mirrored.el:
21443 * international/uni-name.el:
21444 * international/uni-numeric.el:
21445 * international/uni-old-name.el:
21446 * international/uni-titlecase.el:
21447 * international/uni-uppercase.el: Regenerate.
21449 2011-08-23 Martin Rudalics <rudalics@gmx.at>
21451 * help.el (help-window-setup): Fix message displayed when other
21452 window is reused. (Bug#9341)
21454 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21456 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
21457 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
21459 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
21461 * shell.el (shell-parse-pcomplete-arguments): New function.
21462 (shell-completion-vars): Use it instead (bug#9160).
21464 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
21466 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
21467 strings and comments (bug#9333).
21469 * emacs-lisp/debug.el (debug-arglist): New function.
21470 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
21471 (debug-on-entry-1): Handle interpreted closures (bug#9120).
21473 2011-08-22 Juri Linkov <juri@jurta.org>
21475 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21476 Revert regexp that highlights output switches to its old
21477 pre-2010-10-28 value and remove one `?' from it (bug#9319).
21479 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
21480 to check for empty output (bug#9226).
21482 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
21484 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
21485 symbol-constituent as the default, as that stops font-lock from
21486 working properly (Bug#8843).
21488 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21490 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
21491 `coding-system-for-*' around the process open call to avoid
21492 auth-source side effects.
21493 (smtpmail-try-auth-methods): Expand the secret password.
21494 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
21497 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21499 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
21501 * emacs-lisp/find-func.el (find-function-noselect): New arg
21504 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
21505 signal an error for built-in functions (Bug#6664).
21507 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21509 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
21510 (smtpmail-try-auth-methods): Use it.
21512 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21514 * font-lock.el (font-lock-fontify-region)
21515 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
21516 (font-lock-default-unfontify-buffer)
21517 (font-lock-default-fontify-region)
21518 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
21520 * progmodes/compile.el (compilation-error-properties):
21521 Fix confusion between file struct and message struct (Bug#9319).
21522 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
21525 * net/browse-url.el (browse-url-firefox): Don't call
21526 browse-url-firefox-sentinel unless using -remote (Bug#9328).
21528 2011-08-20 Glenn Morris <rgm@gnu.org>
21530 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
21532 * tutorial.el (tutorial--default-keys): Update some default bindings.
21534 * files.el (hack-local-variables): Fully ignore case for "mode:".
21536 2011-08-20 Alan Mackenzie <acm@muc.de>
21538 Resolve invalid use of a regexp in regexp-opt.
21540 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
21541 detection for a java annotation.
21543 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
21544 detection for a java annotation.
21546 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
21548 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
21550 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
21552 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
21555 2011-08-20 Alan Mackenzie <acm@muc.de>
21557 Fontify CPP expressions correctly when starting in the middle of
21558 such a construct. Mainly for when jit-lock etc. starts a chunk
21561 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
21563 (c-make-font-lock-search-form): New function, extracted from
21564 c-make-font-lock-search-function.
21565 (c-make-font-lock-search-function): Use the above function.
21566 (c-make-font-lock-context-search-function): New function.
21567 (c-cpp-matchers): Enhance the preprocessor expression case with
21569 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
21570 which takes an expression.
21572 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
21574 2011-08-20 Martin Rudalics <rudalics@gmx.at>
21576 * window.el (display-buffer-reuse-window)
21577 (display-buffer-pop-up-window): Don't reuse or split a side
21580 2011-08-19 Glenn Morris <rgm@gnu.org>
21582 * files.el (hack-local-variables-prop-line, hack-local-variables):
21583 Downcase "Mode:". (Bug#9331)
21585 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
21587 * international/characters.el: Add L and R categories.
21589 * subr.el (bidi-string-mark-left-to-right): Rename from
21590 string-mark-left-to-right. Use category search.
21592 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
21594 2011-08-18 Juri Linkov <juri@jurta.org>
21596 * faces.el (error, warning, success): New faces with definitions
21597 copied from old default values of `font-lock-warning-face',
21598 `compilation-warning', `compilation-info' (bug#6117).
21600 * font-lock.el (font-lock-warning-face): Inherit from `error'.
21602 * progmodes/compile.el (compilation-error): Inherit from `error'.
21603 (compilation-warning): Inherit from `warning'.
21604 (compilation-info): Inherit from `success'.
21606 * dired.el (dired-marked): Inherit from `warning'.
21607 (dired-flagged): Inherit from `error'.
21609 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21611 * mail/smtpmail.el (auth-source): Require to avoid problems with
21612 binding variables (bug#9298). Also clean up some unused
21615 * net/network-stream.el (network-stream-open-starttls):
21616 Support using starttls.el without using gnutls-cli.
21618 2011-08-17 Juri Linkov <juri@jurta.org>
21620 * progmodes/grep.el (rgrep): Handle the case when
21621 `grep-find-command' is a cons cell (bug#9278).
21623 2011-08-17 Martin Rudalics <rudalics@gmx.at>
21625 * window.el (display-buffer-pop-up-frame): Run frame creation
21626 function with BUFFER current (as special-display-popup-frame
21627 does). Reported by Drew Adams.
21629 2011-08-17 Daiki Ueno <ueno@unixuser.org>
21631 * epa-mail.el: Simplify GnuPG group expansion using
21633 (epa-mail-group-alist, epa-mail-group-modtime)
21634 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
21635 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
21636 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
21639 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
21641 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
21643 2011-08-16 Alan Mackenzie <acm@muc.de>
21645 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
21646 Correct, to avoid the inside of macros.
21648 2011-08-16 Richard Stallman <rms@gnu.org>
21650 * epa-mail.el: Handle GnuPG group definitions.
21651 (epa-mail-group-alist, epa-mail-group-modtime)
21652 (epa-mail-gnupg-conf-file): New variables.
21653 (epa-mail-parse-groups, epa-mail-sync-groups)
21654 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
21655 (epa-mail-expand-recipients): New functions.
21656 (epa-mail-encrypt): Call epa-mail-expand-recipients.
21658 * mail/rmail.el (rmail-epa-decrypt): New command.
21660 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
21661 Don't bind buffer-read-only, just inhibit-read-only.
21662 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
21663 (epa-decrypt-armor-in-region): Make error message clearer.
21665 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
21667 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
21668 and "a2b" to "ab" for `prefix'.
21670 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
21672 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
21674 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
21675 Fourquet (Bug#8804).
21677 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
21679 * startup.el (argi): Declare as global variable (bug#9275).
21681 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
21683 * subr.el (string-mark-left-to-right): Search the entire string
21684 for RTL script, not just the terminating character. Doc fix.
21686 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
21688 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
21690 (js--regexp-literal, js-syntax-propertize-function): Remove.
21691 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
21692 (js-mode-map): Don't rebind electric keys.
21693 (js-insert-and-indent): Remove.
21694 (js-mode): Setup electric-layout and electric-indent instead.
21696 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
21698 2011-08-12 Daiki Ueno <ueno@unixuser.org>
21700 * epa.el (epa-progress-callback-function): Fix the logic of
21701 displaying progress.
21702 * epa-file.el (epa-file-insert-file-contents): Make progress
21703 display more user-friendly.
21704 (epa-file-write-region): Ditto.
21706 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
21708 * subr.el (string-mark-left-to-right): New function.
21710 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
21711 Use string-mark-left-to-right.
21712 (list-buffers-noselect): Caller changed.
21714 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21715 Use string-mark-left-to-right.
21716 (tabulated-list-print): Recenter after moving point.
21718 2011-08-10 Juri Linkov <juri@jurta.org>
21720 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
21721 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
21722 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
21724 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
21726 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
21729 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
21731 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
21732 character. (Bug#6594)
21734 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
21736 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
21737 (image-dired--with-db-file): New macro.
21738 (image-dired-write-tags, image-dired-remove-tag)
21739 (image-dired-create-gallery-lists, image-dired-write-comments)
21740 (image-dired-get-comment, image-dired-mark-tagged-files)
21741 (image-dired-list-tags, image-dired-gallery-generate): Use it.
21742 (image-dired-gallery-generate): Use insert-file-contents.
21744 * time.el (display-time-world-list, display-time-world-display):
21745 * time-stamp.el (time-stamp-string):
21746 * vc/add-log.el (add-change-log-entry): Use setenv instead of
21747 set-time-zone-rule (Bug#7337).
21749 2011-08-08 Daiki Ueno <ueno@unixuser.org>
21751 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
21752 (epg-error-to-string, epg-errors-to-string): New function.
21753 (epg-wait-for-completion): Reverse errors list.
21754 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
21755 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
21756 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
21757 (epg-sign-keys, epg-generate-key-from-file)
21758 (epg-generate-key-from-string): Format errors by using
21759 epg-errors-to-string (bug#9255).
21760 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
21762 2011-08-07 Juri Linkov <juri@jurta.org>
21764 * faces.el (list-faces-display): Remove extra angle bracket
21765 from `help-mode-map'.
21767 * info.el (Info-history-toc-nodes): Doc fix.
21769 * longlines.el (longlines-mode): Doc fix.
21771 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
21773 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
21774 of statements and in a few more cases (bug#9183).
21776 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
21778 (cl-transform-lambda): Use them (bug#9239).
21780 2011-08-05 Martin Rudalics <rudalics@gmx.at>
21782 * window.el (display-buffer-same-window)
21783 (display-buffer-same-frame, display-buffer-other-window)
21784 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21785 (pop-to-buffer-other-window)
21786 (pop-to-buffer-same-frame-other-window)
21787 (pop-to-buffer-other-frame): Make them defuns.
21788 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
21790 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21792 * subr.el (make-composed-keymap): Move from C. Change calling
21793 convention, and improve docstring to bring attention to a subtle point.
21794 * minibuffer.el (completing-read-default): Adjust accordingly.
21796 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
21798 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
21799 (tramp-open-shell): Use `tramp-shell-quote-argument'.
21801 * net/trampver.el: Update release number.
21803 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21805 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
21808 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21810 * mail/sendmail.el (sendmail-query-once): Restore the current
21811 buffer after querying (bug#9074).
21813 * dired.el (dired-flagged): Use different faces for marked and
21814 flagged files (bug#6117).
21816 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
21819 * ido.el (ido-mode): Switch off the message if called
21822 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
21823 before 587, since it appears that that's more likely to work for
21826 * cus-edit.el (custom-file): When running under emacs -q, always
21827 refuse to save the customizations, even if the .emacs file doesn't
21830 * info.el: Remove the `Info-beginning-of-buffer' function
21833 * net/network-stream.el (network-stream-open-starttls):
21834 Use `starttls-available-p' to see whether starttls.el can be used.
21836 2011-08-01 Martin Rudalics <rudalics@gmx.at>
21838 * window.el (display-buffer-in-window): Don't set dedicated status
21839 of window here (Bug#9215).
21840 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21841 (display-buffer-pop-up-side-window)
21842 (display-buffer-in-side-window): Set dedicated status of window here.
21844 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
21846 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
21847 before binding generated-autoload-file.
21849 2011-08-01 Deniz Dogan <deniz@dogan.se>
21851 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
21853 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
21855 Sync with Tramp 2.2.2.
21857 * net/trampver.el: Update release number.
21859 2011-07-30 Juri Linkov <juri@jurta.org>
21861 * dired-aux.el (dired-touch-initial): Remove function.
21862 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
21863 current time, and `default' to the last modification time of the
21864 current marked file (bug#6887).
21866 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
21868 * simple.el (goto-line): Use string-to-number to provide a
21869 numeric argument to read-number (bug#9163).
21871 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
21873 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
21874 connection process, it could be nil.
21876 2011-07-27 Leo Liu <sdl.web@gmail.com>
21878 Simplify url handling in rcirc-mode.
21880 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
21881 (rcirc-browse-url-at-mouse): Remove.
21882 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
21884 2011-07-26 Alan Mackenzie <acm@muc.de>
21886 Fontify bitfield declarations properly.
21888 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
21889 (c-symbol-chars): Now exported as a lang variable.
21890 (c-not-primitive-type-keywords): New lang variable.
21892 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
21893 QT keyword "more" to prevent "more slots: ...." being spuriously
21894 parsed as a bitfield declaration.
21896 * progmodes/cc-engine.el (c-beginning-of-statement-1):
21897 Refactor and enhance to handle bitfield declarations.
21898 (c-punctuation-in): New function.
21899 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
21900 declarations properly.
21902 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
21904 * calendar/icalendar.el (icalendar--all-events): Take care of
21905 multiple vcalendars in a single file.
21906 (icalendar--convert-float-to-ical): Checkdoc fixes.
21908 2011-07-25 Deniz Dogan <deniz@dogan.se>
21910 * image.el (insert-image): Clarifying docstring.
21912 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
21914 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
21915 `tramp-send-command-and-check' if there is no error.
21916 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
21918 2011-07-22 Alan Mackenzie <acm@muc.de>
21920 Prevent cc-langs.elc being loaded at run time.
21922 * progmodes/cc-mode.el: Remove two autoload forms which loaded
21925 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
21926 "(require 'cc-langs)". Quote a form so it will evaluate at
21927 (cc-mode's) compilation time.
21929 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
21931 * net/tramp.el (tramp-file-name-handler): Avoid recursive
21932 loading. (Bug#9114)
21934 2011-07-21 Martin Rudalics <rudalics@gmx.at>
21936 * window.el (display-buffer-pop-up-window)
21937 (display-buffer-pop-up-side-window)
21938 (display-buffer-in-side-window): Call display-buffer-set-height
21939 and display-buffer-set-width after setting the new window's
21940 buffer so `fit-window-to-buffer' and friends work on the right buffer.
21942 2011-07-20 Sam Steingold <sds@gnu.org>
21944 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
21945 (etags-tags-included-tables): Call `convert-standard-filename' on
21946 the file names contained in TAGS so that windows Emacs can handle
21947 TAGS files created by cygwin ctags.
21949 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
21951 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
21952 which apparently didn't work.
21954 2011-07-19 Roland Winkler <winkler@gnu.org>
21956 * proced.el (proced-send-signal): For *Marked Processes* buffer
21957 put point at beginning of buffer.
21959 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
21961 * proced.el (proced-format): Make header lines align with the text
21964 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21966 * view.el (view-buffer): Allow running in `special' modes if we're
21967 visiting a file (bug#8615).
21969 2011-07-19 Martin Rudalics <rudalics@gmx.at>
21971 * window.el (display-buffer-alist-of-strings-p)
21972 (display-buffer-alist-set-1, display-buffer-alist-set-2):
21974 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
21977 2011-07-18 Alan Mackenzie <acm@muc.de>
21979 Fontify declarators properly when, e.g., a jit-lock chunk begins
21980 inside a declaration.
21982 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
21984 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21986 (c-complex-decl-matchers): Insert reference to
21987 c-font-lock-enclosing-decls.
21989 * progmodes/cc-engine.el (c-backward-single-comment):
21990 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
21991 to nil around calls to (forward-comment -1).
21993 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21995 * image.el (put-image): Doc typo fix.
21997 * progmodes/etags.el (tags-search): Doc typo fix.
21999 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
22000 password if we get errors 550 to 554.
22002 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
22004 * net/gnutls.el (gnutls-log-level): Remove.
22006 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
22007 indentation character (bug#6380).
22009 * files.el (buffer-offer-save): Made permanently local (bug#6241).
22011 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
22012 to clarify what the problem is (bug#4291).
22014 * simple.el (current-kill): Clarify what
22015 `interprogram-paste-function' does (bug#7500).
22016 (auto-fill-mode): Document `auto-fill-function' in relation to
22017 `auto-fill-mode' (bug#2470).
22019 2011-07-16 Lawrence Mitchell <wence@gmx.li>
22021 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
22022 method if slot is read-only (bug#9035).
22024 2011-07-16 Martin Rudalics <rudalics@gmx.at>
22026 * frame.el (select-frame-set-input-focus): New argument NORECORD.
22027 * window.el (pop-to-buffer): Select window used even if it was
22028 selected before, see discussion of (Bug#8615), (Bug#6954).
22029 Pass argument NORECORD on to select-frame-set-input-focus.
22031 2011-07-15 Glenn Morris <rgm@gnu.org>
22033 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
22036 2011-07-09 Lawrence Mitchell <wence@gmx.li>
22038 * net/gnutls.el (gnutls-min-prime-bits): New variable.
22039 (gnutls-negotiate): Use it.
22041 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22043 * net/gnutls.el (gnutls-negotiate):
22044 Upcase `gnutls-algorithm-priority'.
22046 2011-07-15 Glenn Morris <rgm@gnu.org>
22048 * jka-compr.el (jka-compr-verbose): Move from here...
22049 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
22050 Add missing :version tag.
22051 * info.el: No need to require jka-compr when compiling.
22053 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22055 * net/gnutls.el (gnutls-algorithm-priority): New variable.
22056 (gnutls-negotiate): Use it.
22058 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
22060 * info.el (Info-beginning-of-buffer): New command.
22061 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
22062 announcing `b' as the key (bug#8325).
22063 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
22065 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
22067 * international/mule-cmds.el
22068 (describe-specified-language-support): Make the error message
22069 clearer (bug#8905).
22071 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
22073 * isearch.el (isearch-barrier): Add a doc string, since it's
22074 mentioned in a function doc string (bug#8678).
22076 2011-07-15 Martin Rudalics <rudalics@gmx.at>
22078 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
22079 buffer argument (Bug#9083) and self-identifying label argument.
22081 2011-07-15 Glenn Morris <rgm@gnu.org>
22083 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
22085 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22087 * man.el (Man-fontify-manpage): Fix message when formatting the
22088 man page (bug#7929).
22090 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22092 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
22093 argument LRM; if non-nil, append an invisible LRM character to the
22095 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
22096 last argument non-nil, when formatting buffer names.
22097 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
22098 paragraph direction.
22100 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22102 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
22103 the man page name (bug#7929).
22105 * image.el (put-image): Mention the `put-image' overlay property
22108 * scroll-bar.el (set-scroll-bar-mode): Mention that
22109 `scroll-bar-mode' lists the values (bug#7772).
22111 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
22112 command (bug#7729).
22114 * rect.el (apply-on-rectangle): Return the point after the last
22116 (string-rectangle): Go to the point after the last operation
22119 * printing.el (pr-toggle-region): Clarify the documentation
22120 slightly (bug#7493).
22122 * time.el (display-time-update):
22123 Allow `display-time-mail-function' to return nil (bug#7158).
22124 Fix suggested by Detlev Zundel.
22126 * vc/diff.el (diff): Clarify the order the file names are read
22129 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
22130 the doc string (bug#7015).
22132 * font-lock.el (font-lock-maximum-decoration): Mention what
22133 numeric levels mean (bug#6935).
22135 * startup.el (initial-buffer-choice): Don't mention the `none'
22136 selection, which is against policy.
22138 2011-07-14 Martin Rudalics <rudalics@gmx.at>
22140 * window.el (display-buffer-normalize-special):
22141 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
22143 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22145 * subr.el (version<, version<=, version=): Mention "-CVS" and
22146 "-12345" alpha version numbers.
22148 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22150 * bindings.el: Add advertised binding for set-mark-command
22153 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22155 * bindings.el (mode-line-other-buffer):
22156 * bookmark.el (bookmark-bmenu-2-window):
22157 * bs.el (bs-cycle-next, bs-cycle-previous):
22158 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
22161 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22164 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
22166 * follow.el (follow-debug-message, follow-redisplay):
22167 * jka-cmpr-hook.el (with-auto-compression-mode):
22168 Fix typos in docstrings.
22170 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22172 * subr.el (with-silent-modifications): Clarify somewhat what the
22173 macro inhibits (bug#6525).
22175 * simple.el (eval-expression): Note what it does if called
22176 interactively (bug#6495).
22178 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22180 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
22181 Use pop-to-buffer buffer-or-name if it is nil.
22183 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22184 Remove switch-to-buffer.
22186 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22188 * files.el (make-directory): Clarify that an error will be raised
22189 if there's an error (bug#6397).
22191 * startup.el (initial-buffer-choice): Add `none' as a choice
22194 * subr.el (add-hook): Clarify section about buffer-local hooks
22197 * dired.el (dired-flagged): Clarify doc string (bug#6117).
22199 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22201 * tabify.el (untabify): Preserve the current column so that point
22202 doesn't move (bug#6032).
22204 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22206 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
22207 Rewrite to avoid awkward possessive "s" (bug#5986).
22209 2011-07-13 Glenn Morris <rgm@gnu.org>
22211 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
22212 (dired-insert-directory): Give a message the first time
22213 if ls is found not to support --dired.
22215 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22217 * simple.el (toggle-truncate-lines): Clarify what is toggled
22218 (bug#5580). Text by Drew Adams.
22220 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22222 * simple.el (blink-matching-open): Make the error message from the
22223 last change less verbose.
22225 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
22227 * font-lock.el (font-lock-comment-face): Use the high contrast
22228 "yellow" color for font-lock-comment-face on low color terminals
22229 using a dark background color (bug#4221).
22231 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22233 * dired.el (dired-insert-set-properties): Make the doc string
22234 reflect what it does now (bug#5325).
22236 * simple.el (blink-matching-open): Say that we were unable to find
22237 the match within the limit, if we're limited (bug#5122).
22239 * international/mule-cmds.el (prefer-coding-system): Add an
22240 example (bug#4869).
22242 * progmodes/etags.el (tags-search): Document `file-list-form'
22245 2011-07-13 Lawrence Mitchell <wence@gmx.li>
22247 * net/browse-url.el (browse-url-default-browser)
22248 (browse-url-browser-function): Make the default browser choice a
22249 bit more logical (bug#4300). Also clean up the doc string.
22251 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22253 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
22254 binary endings (bug#4440).
22256 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22258 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
22259 which can be pretty annoying (bug#8971).
22261 * jka-compr.el (jka-compr-verbose): New variable, and use
22262 throughout (bug#8971).
22264 * info.el (Info-find-file): Fall back on the installation
22265 directory if we can't find the info node anywhere else.
22267 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
22269 * vc/vc.el (vc-revert-file):
22270 Don't set file time-stamp in the past. (Bug#5181)
22272 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22274 * files.el (after-find-file): Give a better error message when
22275 trying to find a symlink that points to a file that doesn't exist
22278 * progmodes/cc-vars.el: Remove (probably) misleading comment
22281 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
22283 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
22285 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22287 * mouse-sel.el: Hack restoring functionality, while keeping
22288 compatibility with 2010-07-03 changes to mouse selection.
22289 (mouse-sel-primary-overlay): New var.
22290 (mouse-sel-selection-alist): Use it.
22291 (mouse-sel-mode): Doc fix; remove points that are default features
22294 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
22296 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22297 Fix previous fix (bug#2490).
22299 2011-07-12 Roland Winkler <winkler@gnu.org>
22301 * textmodes/bibtex.el (bibtex-initialize):
22302 Use pop-to-buffer-same-window.
22303 (bibtex-search-entries): Fix interactive call.
22305 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22307 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22308 Fontise bytecomp Error lines more correctly (bug#2490).
22309 Fix suggested by Johan BockgĂ¥rd.
22311 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
22313 * dired-x.el (dired-guess-default): Use `delete-dups'.
22315 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22317 * dired.el (dired-mark-prompt):
22318 * dired-aux.el (dired-read-shell-command): Doc fix.
22320 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22322 * mail/sendmail.el (sendmail-query-once):
22323 Use `customize-save-variable' unconditionally, now that it works under
22326 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22328 * cus-edit.el (custom-file): Take an optional no-error variable.
22329 (customize-save-variable): Set the variable, and give a warning if
22330 running under "emacs -q".
22332 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
22334 * loadhist.el (unload-feature-special-hooks):
22335 Add `auto-coding-functions', `fill-nobreak-predicate' and
22336 `find-directory-functions' (bug#5327).
22338 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22340 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
22342 * cus-edit.el (custom-guess-name-alist): -alist variables should
22343 use the `alist' type (bug#3120). Suggested by Drew Adams.
22345 * printing.el: Add documentation to all the `pr-toggle-' commands.
22347 2011-07-11 Leo Liu <sdl.web@gmail.com>
22349 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
22350 backends where it makes sense (bug#2623).
22352 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22354 * dired-x.el (dired-guess-default): Remove duplicate shell command
22355 entries (bug#2028).
22356 (dired-guess-default): Fix grammar in doc string (bug#2028).
22357 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
22359 * subr.el (remove-duplicates): New conveniency function.
22361 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
22363 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
22366 2011-07-10 Martin Rudalics <rudalics@gmx.at>
22368 * window.el (display-buffer-normalize-default): Don't invert
22369 meaning of even-window-heights. Reported by Eli Zaretskii
22372 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
22374 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
22376 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
22378 * window.el (display-buffer): Fix arguments to
22379 display-buffer-reuse-window in last change.
22381 * faces.el (link): Use a less saturated blue on light backgrounds.
22383 * startup.el (fancy-startup-text, fancy-about-text)
22384 (fancy-startup-tail): Use font-lock faces, for background safety.
22386 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
22388 * emulation/viper-cmd.el (viper-change-state-to-vi):
22389 Limit triggering of abbrev expansion (Bug#9038).
22391 2011-07-09 Martin Rudalics <rudalics@gmx.at>
22393 * window.el (display-buffer-default-specifiers): Remove.
22394 (display-buffer-macro-specifiers): Remove default specifiers.
22395 (display-buffer-alist): Default to nil.
22396 (display-buffer-reuse-window): New optional argument other-window.
22397 (display-buffer-pop-up-window): Allow splitting internal
22398 windows. Check whether a live window was created.
22399 (display-buffer-other-window-means-other-frame)
22400 (display-buffer-normalize-arguments): Rename to
22401 display-buffer-normalize-argument and rewrite. Set the
22402 other-window specifier.
22403 (display-buffer-normalize-special): New function.
22404 (display-buffer-normalize-options): Rename to
22405 display-buffer-normalize-default and rewrite.
22406 (display-buffer-normalize-options-inhibit): Remove.
22407 (display-buffer-normalize-specifiers): Rewrite.
22408 (display-buffer): Process other-window specifier and call
22409 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
22411 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
22412 (display-buffer-alist-set): Don't handle 'unset default values.
22413 (display-buffer-in-window, display-buffer-alist-set):
22414 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
22415 <tassilo@member.fsf.org>.
22417 2011-07-09 Leo Liu <sdl.web@gmail.com>
22419 * register.el (insert-register): Restore accidental change on
22420 2011-06-26. (Bug#9028)
22422 2011-07-09 Glenn Morris <rgm@gnu.org>
22424 * subr.el (remq): Handle the empty list. (Bug#9024)
22426 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
22428 * mail/sendmail.el (send-mail-function): No longer delay custom
22430 * custom.el (custom-initialize-delay): Doc fix.
22432 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22434 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
22436 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
22438 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
22439 human-friendly prompt.
22441 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22443 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
22444 provided by a particular plugin.
22446 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
22448 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
22449 save customizations (with "emacs -Q"), just set the variable
22450 instead of erroring out.
22452 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22454 2011-07-08 Juri Linkov <juri@jurta.org>
22456 * arc-mode.el (archive-zip-expunge, archive-zip-update)
22457 (archive-zip-update-case): Use 7z if found by `executable-find'.
22458 The order of searching the available programs is the same as in
22459 `archive-zip-extract' (bug#8968).
22461 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22463 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
22464 (menu-bar-options-menu): Tweak descriptions.
22466 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22468 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
22469 menu items into verb phrases (bug#1421). Also refill to fit under
22472 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22474 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
22475 (Info-read-node-name): Doc fix (Bug#1084).
22477 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
22478 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
22479 (end-of-sexp, beginning-of-sexp)
22480 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
22481 (forward-symbol, forward-same-syntax, word-at-point)
22482 (sentence-at-point): Doc fix (Bug#1144).
22484 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22486 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
22487 should cover it (bug#1281).
22489 * cus-edit.el (custom-show): Mark as obsolete.
22491 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
22492 negotiation fails, then possibly try again with a non-encrypted
22493 connection (bug#9017).
22495 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
22498 2011-07-07 Richard Stallman <rms@gnu.org>
22500 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
22501 property, and handle its changed format.
22502 Look for the correct line number.
22503 Use file's line contents (but not past first =) to find
22504 correct line in message.
22506 2011-07-07 Kenichi Handa <handa@m17n.org>
22508 * international/characters.el (build-unicode-category-table):
22510 (unicode-category-table): Set it by unicode-property-table-internal.
22512 * international/mule-cmds.el (char-code-property-alist): Move to
22514 (get-char-code-property): Call unicode-property-table-internal to
22515 load a file. Call get-unicode-property-internal where necessary.
22516 (put-char-code-property): Call unicode-property-table-internal to
22517 load a file. Call put-unicode-property-internal where necessary.
22518 put-unicode-property-internal where necessary.
22519 (char-code-property-description):
22520 Call unicode-property-table-internal to load a file.
22522 * international/charprop.el:
22523 * international/uni-bidi.el:
22524 * international/uni-category.el:
22525 * international/uni-combining.el:
22526 * international/uni-comment.el:
22527 * international/uni-decimal.el:
22528 * international/uni-decomposition.el:
22529 * international/uni-digit.el:
22530 * international/uni-lowercase.el:
22531 * international/uni-mirrored.el:
22532 * international/uni-name.el:
22533 * international/uni-numeric.el:
22534 * international/uni-old-name.el:
22535 * international/uni-titlecase.el:
22536 * international/uni-uppercase.el: Regenerate.
22538 * loadup.el: Load international/charprop.el before
22539 international/characters.
22541 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22543 * window.el (next-buffer, previous-buffer): Signal an error if
22544 called from a minibuffer window.
22546 * bindings.el: Revert 2011-07-04 change.
22548 2011-07-06 Richard Stallman <rms@gnu.org>
22550 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
22551 (rmail-mime-insert-bulk, rmail-mime-insert-text):
22552 Treat markers like ints.
22553 (rmail-mime-entity): Doc fix.
22555 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22557 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
22558 defcustom again for backwards compatibility.
22560 * simple.el (shell-command-on-region): Fill.
22562 * dired-aux.el (dired-kill-line): Add a doc string.
22564 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
22565 to "\\sw\\|\\s_" (bug#358).
22567 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
22568 (dired-unmark-backward): Ditto.
22569 (dired-flag-backup-files): Ditto.
22571 * dired-x.el (dired-mark-sexp): Ditto.
22573 2011-07-06 Richard Stallman <rms@gnu.org>
22575 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
22576 (rmail-mime-entity): New arg TRUNCATED.
22577 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
22579 (rmail-mime-save): Warn if entity is truncated.
22580 (rmail-mime-toggle-hidden): Likewise, for showing.
22581 (rmail-mime-process-multipart): Record when an entity is truncated.
22583 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
22584 if ENTITY is a string.
22586 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22588 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
22589 of faces when `M-C-x'-ing their definitions (bug#8378).
22590 Also clean up the code slightly.
22592 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
22593 because that makes the colors go away.
22595 * mail/sendmail.el (send-mail-function): Change the default to
22596 `sendmail-query-once'.
22597 (sendmail-query-once): Add an autoload cookie.
22599 * net/network-stream.el (network-stream-open-starttls): Try using
22600 a plain connection even if the server offered STARTTLS, and we
22601 kinda wanted to use it, if Emacs doesn't have any STARTTLS
22602 capability. This should make smtpmail.el work in slightly more
22605 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
22607 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22609 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
22611 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
22613 * progmodes/sql.el: Version 3.0
22614 (sql-product-alist): Add product :completion-object,
22615 :completion-column, and :statement attributes.
22616 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
22617 (sql-mode-syntax-table): Mark all punctuation.
22618 (sql-font-lock-keywords-builder): Temporarily remove fallback on
22620 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
22621 (sql-mode-oracle-font-lock-keywords): Improve.
22622 (sql-oracle-show-reserved-words): New function for development.
22623 (sql-product-font-lock): Simplify for source code buffers.
22624 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
22626 (sql-highlight-product): Set product specific syntax table.
22627 (sql-mode-map): Add statement movement functions.
22628 (sql-ansi-statement-starters, sql-oracle-statement-starters):
22630 (sql-statement-regexp, sql-beginning-of-statement)
22631 (sql-end-of-statement, sql-signum): New functions.
22632 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
22633 (sql-show-sqli-buffer): Bug fix.
22634 (sql-interactive-mode): Store connection data as buffer local.
22635 (sql-connect): Add NEW-NAME parameter. Redesign interaction
22636 with sql-interactive-mode.
22637 (sql-save-connection): Save buffer local settings.
22638 (sql-connection-menu-filter): Change menu entry name.
22639 (sql-product-interactive): Bug fix.
22640 (sql-preoutput-hold): New variable.
22641 (sql-interactive-remove-continuation-prompt): Bug fixes.
22642 (sql-debug-redirect): New variable.
22643 (sql-str-literal): New function.
22644 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
22646 (sql-oracle-save-settings, sql-oracle-restore-settings)
22647 (sql-oracle-list-all, sql-oracle-list-table): New functions.
22648 (sql-completion-object, sql-completion-column)
22649 (sql-completion-sqlbuf): New variables.
22650 (sql-build-completions-1, sql-build-completions)
22651 (sql-try-completion): New functions.
22652 (sql-read-table-name): Use them.
22653 (sql-contains-names): New buffer local variable.
22654 (sql-list-all, sql-list-table): Use it.
22655 (sql-oracle-completion-types): New variable.
22656 (sql-oracle-completion-object, sql-sqlite-completion-object)
22657 (sql-postgres-completion-object): New functions.
22659 2011-07-06 Glenn Morris <rgm@gnu.org>
22661 * window.el (pop-to-buffer): Doc fix.
22663 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
22665 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
22667 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
22669 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
22671 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
22673 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
22675 * button.el (button): Inherit from link face. Suggested by Dan
22678 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22680 * progmodes/gdb-mi.el: Fit in 80 columns.
22681 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
22684 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
22685 if imenu is simply not configured (bug#8941).
22687 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
22689 * allout.el (allout-post-undo-hook): New allout outline-change
22690 event hook to signal undo activity.
22691 (allout-post-command-business): Run allout-post-undo-hook if an
22692 undo just occurred.
22693 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
22694 * allout-widgets.el (allout-widgets-after-undo-function):
22695 Ensure the integrity of the current item's decoration after it has been
22696 in the vicinity of an undo.
22697 (allout-widgets-mode): Include allout-widgets-after-undo-function
22698 on the new allout-post-undo-hook.
22700 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22702 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
22703 Let define-derived-mode define it.
22704 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
22705 cycles of abbrev-table inheritance (bug#8998).
22707 2011-07-05 Roland Winkler <winkler@gnu.org>
22709 * textmodes/bibtex.el: Add support for biblatex.
22710 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
22711 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
22712 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
22713 (bibtex-entry-alist, bibtex-field-alist): New variables.
22714 (bibtex-entry-field-alist): Obsolete alias for
22715 bibtex-BibTeX-entry-alist.
22716 (bibtex-entry-alist, bibtex-field-alist): New widgets.
22717 (bibtex-set-dialect): New command.
22718 (bibtex-entry-type, bibtex-entry-head)
22719 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
22720 Bind via bibtex-set-dialect.
22721 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
22722 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
22723 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
22724 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
22725 Define via bibtex-set-dialect.
22726 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
22727 Obey bibtex-no-opt-remove-re.
22728 (bibtex-vec-push, bibtex-vec-incr): New functions.
22729 (bibtex-format-entry, bibtex-field-list)
22730 (bibtex-print-help-message, bibtex-validate)
22731 (bibtex-search-entries): Use new format of bibtex-entry-alist.
22733 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22735 * progmodes/compile.el (compilation-goto-locus):
22736 * net/tramp-cmds.el (tramp-append-tramp-buffers):
22737 * bs.el (bs-cycle-next, bs-cycle-previous):
22738 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
22739 * bindings.el (mode-line-other-buffer):
22740 * autoinsert.el (auto-insert):
22741 * arc-mode.el (archive-extract):
22742 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
22744 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22746 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
22747 Fix check of `emacs-lock-unlockable-modes'.
22748 Coerce true values of `emacs-lock--try-unlocking' to t.
22750 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22752 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
22753 * emacs-lock.el: New file.
22755 2011-07-05 Julien Danjou <julien@danjou.info>
22757 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
22758 than `boundp' to check if face is set.
22760 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22762 * register.el (registerv-make):
22763 * window.el (window-min-height): Fix typos in docstrings.
22765 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
22767 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
22770 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22772 * server.el (server-execute): Catch quit and call
22773 `server-return-error' to pass the error back to emacsclient and
22774 close the connection (bug#8942).
22776 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
22778 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
22779 insecure exception for current topic. Also note that auto-saves
22780 are handled differently.
22782 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
22783 State variables for tracking auto-save inhibition situation.
22785 (allout-write-contents-hook-handler): Rename from
22786 'allout-write-file-hook-handler', and describe how it depends on
22787 write-contents-functions sensitivity to non-nil value to prevent
22790 (allout-auto-save-hook-handler): Remove. auto-save does not check
22791 this in individual buffers, only in the starting buffer, so this
22792 is not the right way for us to inhibit auto-save in a buffer
22793 according to its condition.
22795 (allout-mode): Use new allout-write-contents-hook-handler, and
22796 only with write-contents-functions. Remove auto-save provisions -
22797 they're implemented elsewhere.
22799 (allout-before-change-handler): If undo is in progress, note that
22800 for attention of allout-post-command-business.
22802 (allout-post-command-business): If the command we're following was
22803 an undo, check for change in the status of encrypted items and
22804 adjust auto-save inhibitions accordingly.
22806 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
22807 according to whether there are or aren't any plain-text topics
22808 pending encryption.
22810 (allout-inhibit-auto-save-info-for-decryption):
22811 Adjust buffer-saved-size and some allout state to inhibit auto-saves
22812 if there are plain-text topics pending encryption.
22814 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
22815 buffer-saved-size and some allout state to not inhibit auto-saves
22816 if there are no longer any plain-text topics pending encryption.
22818 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
22819 No longer provide for exemption of the current topic.
22821 2011-07-04 Juri Linkov <juri@jurta.org>
22823 Add 7z operations to delete and save changed members (bug#8968).
22824 * arc-mode.el (archive-7z-expunge, archive-7z-update):
22826 (archive-7z-write-file-member): New function.
22827 (archive-7z-summarize): Fix the number of dashes in the
22830 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22832 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
22835 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
22837 * bindings.el: Ignore next-buffer and previous-buffer in
22838 minibuffer-local-map.
22840 * font-lock.el (font-lock-builtin-face): Change light background
22841 color to dark slate blue (Bug#6693).
22843 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
22845 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
22847 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22849 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
22850 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22851 Add switch-to-buffer.
22853 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22855 * isearch.el (isearch-search-fun-function): Clarify further the
22856 meaning of the function returned.
22858 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
22860 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
22862 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
22863 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
22865 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
22866 `tramp-default-remote-path' does not exist.
22867 (tramp-send-command-and-read): New optional argument NOERROR.
22868 (tramp-open-connection-setup-interactive-shell)
22869 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
22870 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
22871 (tramp-process-sentinel): Flush also process' connection property.
22872 (tramp-sh-handle-start-file-process): Do not set process
22873 sentinel. It is done now ...
22874 (tramp-maybe-open-connection): ... here. (Bug#8929)
22876 2011-07-04 MON KEY <monkey@sandpframing.com>
22878 * play/animate.el (animate-string): Doc fixes and allow changing
22879 the buffer name (bug#5417).
22881 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22883 * play/animate.el (animation-buffer-name): Rename from *animate*.
22885 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
22887 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
22888 This is simpler and helps future-proof the code.
22889 (timer-until): Use time-subtract and float-time.
22890 (timer--time-less-p): Use time-less-p.
22892 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22894 * type-break.el (timep): Use the value of `float-time' to avoid a
22895 byte-compiler warning.
22897 * server.el (server-eval-and-print): Return any result, even nil.
22899 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
22901 * type-break.el: Accept time formats that the builtins accept.
22902 (timep, type-break-time-difference): Accept any format that
22903 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
22904 This is simpler and helps future-proof the code.
22905 (type-break-time-difference): Round rather than ignoring
22906 subseconds components.
22908 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22910 * info.el (Info-apropos-matches): Make non-interactive, since it
22911 doesn't seem to do anything useful as a command (bug#8829).
22913 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
22915 * frame.el (frame-background-mode, frame-set-background-mode):
22916 Move from faces.el.
22917 (frame-default-terminal-background): New function.
22919 * custom.el (custom-push-theme): Don't record faces in `changed'
22920 theme; this doesn't work correctly for per-frame face settings.
22921 (disable-theme): Use face-set-after-frame-default to reset faces.
22922 (custom--frame-color-default): New function.
22924 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22926 * dired.el (dired-flagging-regexp): Remove unused variable
22929 2011-03-29 Kevin Ryde <user42@zip.com.au>
22931 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22932 `perl-Test2' extend to match possible "fail #N" rep count
22935 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22937 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
22938 `smtpmail-via-smtp' now returns the error instead of nil.
22940 * isearch.el (isearch-search-fun-function): Clarify the doc string
22943 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
22945 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
22946 unnecessary spaces (bug#8987).
22948 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22950 * net/network-stream.el (open-network-stream): Use the
22951 :end-of-capability command thoughout.
22953 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
22955 * net/network-stream.el (open-network-stream): Add the
22956 :end-of-capability command parameter, used by pop3.el.
22958 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22960 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
22962 * fringe.el (fringe-query-style): Remove redundant text " (type ?
22963 for list)" (bug#6475).
22965 * files.el (file-expand-wildcards): Ignore non-readable
22966 sub-directories while trying to find matches instead of signaling
22967 an error (bug#6297).
22969 * man.el (Man-reference-regexp): Allow matching possible
22970 word-wrapped references (bug#6289).
22972 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
22973 for consistency with the other vc buffers (bug#6197).
22974 (vc-checkin): Ditto.
22976 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
22978 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
22980 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22982 * custom.el (defcustom): Clarify that :set is only used in the
22983 Customize user interface (bug#6089).
22985 * progmodes/flymake.el (flymake-mode): If the buffer isn't
22986 associated with a file, refuse to run instead of erroring out
22989 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
22990 the doc string, since it appears that using `fill-column' always
22991 controls the width (bug#7845).
22993 * simple.el (shell-command-on-region): Say where the error output
22994 went if `shell-command-default-error-buffer' is set (bug#6857).
22996 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
22998 * allout.el (allout-yank-processing): Adjust cursor position for
22999 backwards-deleted space.
23001 (allout-rebullet-heading): Register changes with
23002 allout-exposure-changed-hook, so the modified topic is properly
23005 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23007 * minibuffer.el (completion-in-region): Document PREDICATE
23010 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
23011 of keyword/argument pairs (bug#6904).
23013 * replace.el (multi-occur):
23014 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
23016 2011-07-02 Drew Adams <drew.adams@oracle.com>
23018 * dired.el (dired-mark-if): Make the message about whether it's
23019 marking or unmarking clearer (bug#8523).
23021 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23023 * disp-table.el (display-table-print-array): New function.
23024 (describe-display-table): Use it to print the vectors more pretty
23027 2011-07-02 Martin Rudalics <rudalics@gmx.at>
23029 * window.el (window-state-get-1): Don't assign clone numbers.
23030 Add clone-of item to list of window parameters.
23031 (window-state-put-2): Don't process clone numbers.
23032 (display-buffer-alist): Fix doc-string.
23034 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
23036 * subr.el (remq): Don't allocate if it's not needed.
23037 (keymap--menu-item-binding, keymap--menu-item-with-binding)
23038 (keymap--merge-bindings): New functions.
23039 (keymap-canonicalize): Use them to refine the canonicalization.
23040 * minibuffer.el (minibuffer-local-completion-map)
23041 (minibuffer-local-must-match-map): Move initialization from C.
23042 (minibuffer-local-filename-completion-map): Move initialization from C;
23043 don't inherit from anything here.
23044 (minibuffer-local-filename-must-match-map): Make obsolete.
23045 (completing-read-default): Use make-composed-keymap to combine
23046 minibuffer-local-filename-completion-map with either
23047 minibuffer-local-must-match-map or
23048 minibuffer-local-filename-completion-map.
23050 2011-07-01 Glenn Morris <rgm@gnu.org>
23052 * type-break.el (type-break-time-sum): Use dolist.
23054 * textmodes/flyspell.el (flyspell-word-search-backward):
23055 Replace CL function.
23057 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23059 * mouse.el (mouse--strip-first-event): New function.
23060 (function-key-map): Use it to map fringe clicks to normal clicks
23063 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
23064 (vc-bzr-revision-completion-table): Add support for annotate and date.
23066 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
23067 inherit from parent.
23069 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23071 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
23072 (dired-show-file-type): Doc fixup (bug#8818).
23074 * dired.el (dired-mode): Fix up the doc string as suggested by
23075 Drew Adams (bug#8817).
23077 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
23078 cookie, since the manual says that it should be possible to add
23079 this function to `find-file-hook' (bug#8709).
23081 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23083 * progmodes/cfengine.el: Moved all cfengine3.el functionality
23084 here. Noted Ted Zlatanov as the maintainer.
23085 (cfengine-common-settings, cfengine-common-syntax): New functions
23086 to set up common things between `cfengine-mode' and
23088 (cfengine3-mode): New mode.
23089 (cfengine3-defuns cfengine3-defuns-regex
23090 (cfengine3-class-selector-regex cfengine3-category-regex)
23091 (cfengine3-vartypes cfengine3-font-lock-keywords)
23092 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
23093 (cfengine3-indent-line): Add from cfengine3.el.
23095 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
23097 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
23099 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
23101 2011-07-01 Martin Rudalics <rudalics@gmx.at>
23103 * window.el (same-window-buffer-names, same-window-regexps)
23104 (same-window-p, special-display-frame-alist)
23105 (special-display-popup-frame, special-display-function)
23106 (special-display-buffer-names, special-display-regexps)
23107 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
23108 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23109 (split-window-preferred-function, split-height-threshold)
23110 (split-width-threshold, even-window-heights)
23111 (display-buffer-mark-dedicated, window-splittable-p)
23112 (split-window-sensibly, window-safely-shrinkable-p):
23114 (display-buffer): Don't spread args with function specifier
23115 because special-display-popup-frame won't like it.
23117 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
23119 Time-stamp simplifications and fixes.
23120 These improve accuracy slightly, and future-proof the code
23121 against some potential changes to current-time format.
23123 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
23124 by using time-since and float-time.
23126 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
23127 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
23128 + NNN microseconds".
23130 * type-break.el (type-break-time-sum): Rewrite using time-add.
23132 * play/hanoi.el (hanoi-current-time-float): Remove.
23133 All uses replaced by float-time.
23135 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
23136 This yields a more-accurate answer.
23137 (rng-time-to-float): Remove; no longer needed.
23139 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
23141 * calendar/timeclock.el (timeclock-seconds-to-time):
23142 Defalias to seconds-to-time, since they're the same thing.
23144 * emacs-lisp/elp.el (elp-elapsed-time):
23145 * emacs-lisp/benchmark.el (benchmark-elapse):
23146 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
23148 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23150 * window.el (bury-buffer): Don't iconify the only frame.
23151 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
23152 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
23154 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
23156 * eshell/em-smart.el (eshell-smart-display-navigate-list):
23157 Add mouse-yank-primary.
23159 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23161 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
23163 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23165 * emacs-lisp/find-func.el (find-library--load-name): New fun.
23166 (find-library-name): Use it to find relative load names when provided
23167 absolute file name (bug#8803).
23169 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23171 * textmodes/flyspell.el (flyspell-word): Consider words that
23172 differ only in case as potential doublons (bug#5687).
23174 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
23175 Remove two rather uninteresting debugging-like messages to make
23176 debbugs.el more silent.
23178 * comint.el (comint-password-prompt-regexp): Accept "Response" as
23179 a password-like phrase.
23181 2011-06-30 Masatake YAMATO <yamato@redhat.com>
23183 * progmodes/cc-guess.el: New file.
23185 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
23187 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
23188 derived from `c-basic-common-init'.
23190 * progmodes/cc-mode.el (top-level): Require cc-guess.
23191 (c-basic-common-init): Use `cc-choose-style-for-mode'.
23193 2011-06-30 Lawrence Mitchell <wence@gmx.li>
23195 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
23197 2011-06-30 Alan Mackenzie <acm@muc.de>
23199 * progmodes/cc-engine.el (c-guess-continued-construct):
23200 Correct the handling of template-args-cont, particularly for when font
23201 lock is disabled. Name this case as "CASE G".
23203 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
23205 * allout.el (allout-yank-processing): Fix injection of extra space
23206 between bullet and non-whitespace character in first topic when
23207 pasting, ensuring that the actual spacing in the pasted topic
23208 following the bullet char is preserved. This extra space was
23209 causing pasted encrypted topics to get a decrypted status even
23210 when the content was actually still encrypted. Now the decryption
23211 status from before the paste is preserved.
23213 (allout-flag-region): Set all allout overlays so they evaporate
23214 when reduced to zero length (evanescent), to prevent overlay
23217 2011-06-30 Glenn Morris <rgm@gnu.org>
23219 * w32-fns.el (w32-charset-info-alist): Declare.
23221 * find-dired.el (find-grep-options): Simplify.
23223 * term/ns-win.el (ns-set-resource): Declare.
23225 * ses.el (row, col): Declare dynamic variables honestly.
23227 * textmodes/reftex-parse.el (index-tags): Declare.
23229 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
23231 * cus-edit.el (customize-push-and-save): New function.
23233 * files.el (hack-local-variables-confirm): Use it.
23235 * custom.el (load-theme): New arg NO-CONFIRM.
23236 Use customize-push-and-save (Bug#8720).
23237 (custom-enabled-themes): Doc fix.
23239 * cus-theme.el (customize-create-theme)
23240 (custom-theme-merge-theme): Callers to load-theme changed.
23242 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23244 * thingatpt.el (thing-at-point-short-url-regexp): Require that
23245 short URLs have at least one dot in them (bug #7614).
23247 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
23248 nil, because using a pty is apparently too slow (bug #895).
23250 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
23252 * mail/sendmail.el (sendmail-query-once): New function.
23253 (sendmail-query-once-function): New variable.
23255 2011-06-29 Glenn Morris <rgm@gnu.org>
23257 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
23259 * ses.el (top-level): Require cl when compiling.
23260 (ses-set-localvars): Fix error statement.
23261 Call it at compile time to silence a storm of warnings.
23263 2011-06-29 Martin Rudalics <rudalics@gmx.at>
23265 * window.el (normalize-live-buffer): Rename to
23266 window-normalize-buffer.
23267 (normalize-live-frame): Rename to window-normalize-frame.
23268 (normalize-any-window): Rename to window-normalize-any-window.
23269 (normalize-live-window): Rename to window-normalize-live-window.
23270 (make-window-atom): Rename to window-make-atom.
23271 (window-resize-reset): Rename to window--resize-reset.
23272 (window-resize-reset-1): Rename to window--resize-reset-1.
23273 (resize-mini-window): Rename to window--resize-mini-window.
23274 (resize-subwindows-skip-p): Rename to
23275 window--resize-subwindows-skip-p.
23276 (resize-subwindows-normal): Rename to
23277 window--resize-subwindows-normal.
23278 (resize-subwindows): Rename to window--resize-subwindows.
23279 (resize-other-windows): Rename to window--resize-siblings.
23280 (resize-this-window): Rename to window--resize-this-window.
23281 (resize-root-window): Rename to window--resize-root-window.
23282 (resize-root-window-vertically): Rename to
23283 window--resize-root-window-vertically.
23284 (normalize-buffer-to-display): Rename to
23285 window-normalize-buffer-to-display.
23286 (normalize-buffer-to-switch-to): Rename to
23287 window-normalize-buffer-to-switch-to.
23288 Correspondingly update all callers of the functions listed
23290 (display-buffer-alist, display-buffer-normalize-arguments)
23291 (display-buffer-normalize-options, display-buffer)
23292 (display-buffer-alist-set): Use "function" instead of
23295 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
23297 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
23298 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
23299 debbugs.gnu.org. Mention acknowledgment email.
23301 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
23303 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
23304 buffer multibyteness, since it shouldn't matter.
23306 2011-06-28 Martin Rudalics <rudalics@gmx.at>
23308 * window.el (display-buffer-in-side-window): Handle dedicated
23309 windows as in display-buffer-reuse-window.
23310 (display-buffer-normalize-alist): Use value of override
23312 (display-buffer-normalize-specifiers): Use value of
23313 other-window-means-other-frame specifier.
23314 (display-buffer-alist): Rewrite some texts in widgets.
23315 (display-buffer): Spread arguments when calling function
23316 specified by fun-with-args.
23318 2011-06-28 Deniz Dogan <deniz@dogan.se>
23320 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
23323 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
23324 selectors (Bug#5732).
23325 (css-proprietary-nmstart-re): Use `regexp-opt'.
23327 2011-06-27 Jari Aalto <jari.aalto@cante.net>
23329 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
23330 (eshell-ls-date-format): New defcustom.
23331 (eshell-ls-file): Use it.
23333 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23335 * help-fns.el (describe-variable): Fix message for terminal-local vars.
23337 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
23339 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
23340 (ange-ftp-make-tmp-name): New arg.
23341 (ange-ftp-file-local-copy): Use it.
23343 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
23345 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
23346 no-conversion (Bug#8870).
23348 2011-06-27 Martin Rudalics <rudalics@gmx.at>
23350 * window.el (window-right, window-left, window-child)
23351 (window-child-count, window-last-child)
23352 (window-iso-combination-p, walk-window-tree-1)
23353 (window-atom-check-1, window-tree-1, delete-window)
23354 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
23355 new naming conventions - window-vchild, window-hchild,
23356 window-next and window-prev are now called window-top-child,
23357 window-left-child, window-next-sibling and window-prev-sibling
23359 (resize-window-reset): Rename to window-resize-reset.
23360 (resize-window-reset-1): Rename to window-resize-reset-1.
23361 (resize-window): Rename to window-resize.
23362 (window-min-height, window-min-width)
23363 (resize-mini-window, resize-this-window, resize-root-window)
23364 (resize-root-window-vertically, adjust-window-trailing-edge)
23365 (enlarge-window, shrink-window, maximize-window)
23366 (minimize-window, delete-window, quit-restore-window)
23367 (split-window, balance-windows, balance-windows-area-adjust)
23368 (balance-windows-area, window-state-put-2)
23369 (display-buffer-even-window-sizes, display-buffer-set-height)
23370 (display-buffer-set-width, set-window-text-height)
23371 (fit-window-to-buffer): Rename all "resize-window" prefixed
23372 calls to use the "window-resize" prefix convention.
23373 (display-buffer-alist): Fix symbol for label specifier.
23374 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
23375 corresponding specifier.
23376 Reported by Juanma Barranquero <lekktu@gmail.com>.
23378 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23380 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
23382 (ses-call-printer): Does not pass an empty string to formatter when the
23383 cell is empty to keep from barking printer Calc math-format-value.
23385 2011-06-27 Richard Stallman <rms@gnu.org>
23387 * battery.el (battery-mode-line-limit): New variable.
23388 (battery-update): Handle it.
23390 * mail/rmailmm.el (rmail-mime-process-multipart):
23391 Handle truncated messages.
23393 2011-06-27 Glenn Morris <rgm@gnu.org>
23395 * progmodes/flymake.el (flymake-err-line-patterns):
23396 Allow for column numbers in the ant/javac pattern. (Bug#8866)
23398 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23400 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
23401 (ses--clean-!, ses--clean-_): New functions.
23402 (ses-range): Add configurability of readout order, and conversion
23405 * ses.el (ses-repair-cell-reference-all): New function.
23406 (ses-cell-symbol): Set macro as safe, so that it can be used in
23409 * ses.el: Update cycle detection algorithm.
23410 (ses-localvars): Add ses--Dijkstra-attempt-nb and
23411 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
23412 (ses-set-localvars): New function.
23413 (ses-make-cell): Add property-list as a cell element.
23414 (ses-cell-property-get-fun, ses-cell-property-get)
23415 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
23416 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
23418 (ses-cell-property-set, ses-cell-property-pop)
23419 (ses-cell-property-get-handle): New macro.
23420 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
23421 New aliases, used for code readability.
23422 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
23424 (ses-self-reference-early-detection): New defcustom.
23425 (ses-formula-references): Robustify against self-referring cells.
23426 (ses-mode): Use ses-set-localvars.
23427 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
23428 before lauching the update processing.
23429 (ses-initialize-Dijkstra-attempt): New function.
23430 (ses-recalculate-cell): Update for cycle detection based on
23431 Dijkstra algorithm.
23433 * ses.el: Fix commenting and indenting convention.
23435 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23437 * bs.el (bs-cycle-next): Complete last change.
23439 2011-06-27 Drew Adams <drew.adams@oracle.com>
23441 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
23443 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
23445 * net/network-stream.el (network-stream-open-starttls):
23446 Don't re-get capabilities unless we've reestablished connection.
23447 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
23449 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
23450 to binary to possibly avoid line encoding issues on Windows (among
23453 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23455 * net/network-stream.el (open-network-stream): Return an :error
23456 saying what the problem was, if possible.
23458 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
23461 * net/network-stream.el (network-stream-open-starttls): If we
23462 wanted to use STARTTLS, and the server offered it, but we weren't
23463 able to because we had no STARTTLS support, then close the connection.
23464 (open-network-stream): Return an :error element, if present.
23466 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23468 * hl-line.el (hl-line-sticky-flag): Doc fix.
23469 (global-hl-line-sticky-flag): New option (Bug#8323).
23470 (global-hl-line-highlight): Obey it.
23472 * vc/vc.el (vc-revert-show-diff): Default to t.
23474 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
23476 * allout-widgets.el (allout-widgets-post-command-business):
23477 Stop decorating intermediate isearch matches. They're not being
23478 undecorated when an isearch is continued past, and isearch
23479 automatically collapses them. This leads to "widget leaks", where
23480 decorated items accumulate in collapsed areas. Lines with lots of
23481 hidden widgets can slow down cursor travel, substantially.
23482 Too much complicated machinery would be needed to ensure undecoration,
23483 so we're doing without this nicety.
23485 (allout-widgets-tally-string): Don't try to do a hash-table-count
23486 of allout-widgets-tally when it's nil. This eliminates spurious "Error
23487 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
23488 *Messages* when allout-widgets-maintain-tally is t.
23490 2011-06-26 Martin Rudalics <rudalics@gmx.at>
23492 * window.el (display-buffer-normalize-argument): Rename to
23493 display-buffer-normalize-arguments. Handle special meaning of
23494 LABEL argument. Respect special-display-function when popping up
23495 a new frame. Fix code searching for a window showing the buffer
23497 (display-buffer-normalize-specifiers):
23498 Call display-buffer-normalize-arguments.
23499 (display-buffer-in-window): Don't undedicate the window if its
23500 buffer remains the same.
23501 Reported by Drew Adams <drew.adams@oracle.com>.
23502 (display-buffer-alist): Add choice for same-window macro
23504 (display-buffer): Mention special meaning of LABEL argument in
23505 doc-string. Fix quoting. Don't pop up a new frame even as
23508 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
23510 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
23511 avoid deleting the current window in some cases (bug#8911).
23513 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
23515 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
23518 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23520 * net/network-stream.el (network-stream-open-starttls):
23521 Use built-in TLS support if `gnutls-available-p' is true.
23522 (network-stream-open-tls): Ditto.
23524 2011-06-26 Leo Liu <sdl.web@gmail.com>
23526 * register.el (registerv): New struct.
23527 (registerv-make): New function.
23528 (jump-to-register, describe-register-1, insert-register):
23529 Support the jump-func, print-func and insert-func slot of a registerv
23532 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23534 * vc/vc.el (vc-revert-show-diff): New defcustom.
23535 (vc-diff-internal): New arg specifying diff buffer.
23536 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
23537 reuse an existing *vc-diff* buffer (Bug#8927).
23539 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
23541 2011-06-26 Glenn Morris <rgm@gnu.org>
23543 * progmodes/f90.el (f90-critical-indent): New option.
23544 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
23545 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
23546 (f90-mode): Doc fix.
23547 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
23548 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
23549 (f90-beginning-of-block, f90-next-block, f90-indent-region)
23550 (f90-match-end): Handle block, critical.
23552 2011-06-25 Glenn Morris <rgm@gnu.org>
23554 * calendar/diary-lib.el (diary-included-files): Doc fix.
23555 (diary-include-files): New function, extracted from
23556 diary-include-other-diary-files and diary-mark-included-diary-files.
23557 (diary-include-other-diary-files, diary-mark-included-diary-files):
23558 Just call diary-include-files.
23559 (diary-mark-entries): Reset diary-included-files on first call.
23561 * calendar/diary-lib.el (diary-mark-entries)
23562 (diary-mark-included-diary-files):
23563 Visit included diary-files in temp buffers.
23565 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
23566 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
23567 (f90-start-block-re, f90-imenu-generic-expression)
23568 (f90-looking-at-program-block-start, f90-no-block-limit):
23569 Add support for submodules.
23571 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23572 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
23574 2011-06-25 Eli Zaretskii <eliz@gnu.org>
23576 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
23577 buffer-file-type before setting its value, to avoid disastrous
23578 global effects on decoding files for DOS/Windows systems. (Bug#8780)
23580 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23582 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
23584 * ses.el (ses-unload-function):
23585 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
23587 * proced.el (proced-unload-function):
23588 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
23590 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
23592 * server.el (server-create-window-system-frame): Add parameters arg.
23593 (server-process-filter): Doc fix. Handle frame-parameters.
23595 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23597 Fix bug#8730, bug#8781.
23599 * loadhist.el (unload--set-major-mode): New function.
23600 (unload-feature): Use it.
23602 * progmodes/python.el (python-after-info-look): Add autoload cookie.
23603 (python-unload-function): New function.
23605 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
23607 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
23609 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
23611 * net/browse-url.el (browse-url-firefox-program): Add icecat to
23612 the candidates list.
23614 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
23616 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
23618 2011-06-23 Richard Stallman <rms@gnu.org>
23620 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
23621 (rmail-variables): Set next-error-move-function.
23622 (rmail-what-message): Take argument POS.
23623 (rmail-next-error-move): New function.
23625 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
23627 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
23628 messages for adjacent non-terminals.
23630 2011-06-23 Richard Stallman <rms@gnu.org>
23632 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
23633 (rmail-show-message-1): Preserve buffer modified flag.
23634 (rmail-start-mail): Don't specify use of rmail-mail-return;
23635 that's done by mail-bury now.
23636 (rmail-mail-return): Handle arg NEWBUF.
23638 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
23640 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
23643 2011-06-23 Martin Rudalics <rudalics@gmx.at>
23645 * window.el (get-lru-window, get-mru-window)
23646 (get-largest-window): Never return a minibuffer window.
23647 (display-buffer-pop-up-window): Fix a bug that could lead to
23648 reusing the minibuffer window.
23649 (display-buffer): Pass original specifier argument to
23650 display-buffer-function instead of the normalized one.
23651 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
23653 2011-06-22 Leo Liu <sdl.web@gmail.com>
23655 * minibuffer.el (completing-read-function)
23656 (completing-read-default): Move from minibuf.c.
23658 2011-06-22 Richard Stallman <rms@gnu.org>
23660 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
23661 to Rmail even if not started by a special Rmail command.
23663 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
23664 Copy the buffer currently showing just one message.
23666 2011-06-22 Roland Winkler <winkler@gnu.org>
23668 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
23669 (bibtex-clean-entry): First delete the old key so that a
23670 customized algorithm for generating the new key does not get
23671 confused by the old key.
23672 (bibtex-url): Obey regexp of first step.
23673 (bibtex-search-entries): Do not use add-to-list with local
23676 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23678 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
23679 stored a user name, then query for the password first, instead of
23680 waiting for SMTP to give an error message and the trying again.
23682 2011-06-22 Lawrence Mitchell <wence@gmx.li>
23684 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
23685 BUFFER in call-process.
23687 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23689 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
23691 (smtpmail-try-auth-methods): Require user name and password from
23694 2011-06-22 Martin Rudalics <rudalics@gmx.at>
23696 * window.el (display-buffer-default-specifiers)
23697 (display-buffer-alist): Remove entries for pop-up-frame-alist.
23698 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
23699 (split-window): Normalize SIDE argument (Bug#8916).
23701 * frame.el (pop-up-frame-alist, pop-up-frame-function)
23702 (special-display-frame-alist, special-display-popup-frame):
23703 Remove duplicate declarations. These are now in window.el.
23705 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
23707 * mail/smtpmail.el (smtpmail-via-smtp):
23708 Set :use-starttls-if-possible so that we always use STARTTLS if the
23709 server supports it. SMTP servers that support STARTTLS commonly
23712 * net/network-stream.el (network-stream-open-starttls): Support
23713 upgrading to STARTTLS always, even if we don't have built-in support.
23714 (open-network-stream): Add the :always-query-capabilities keyword.
23716 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
23717 upgrades with `open-network-stream', and rely solely on
23718 auth-source for all credentials. Big changes throughout the file,
23720 (smtpmail-auth-credentials): Remove.
23721 (smtpmail-starttls-credentials): Remove.
23722 (smtpmail-via-smtp): Check for servers saying they want AUTH after
23725 * net/network-stream.el (network-stream-open-starttls):
23726 Provide support for client certificates both for external and built-in
23728 (auth-source): Require.
23729 (open-network-stream): Document the :client-certificate keyword.
23730 (network-stream-certificate): Change cert-cert to cert and
23733 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
23735 * net/tramp-cache.el (top): Don't load the persistency file when
23736 "emacs -Q" has been called.
23738 2011-06-21 Tim Harper <timcharper@gmail.com>
23740 * term/ns-win.el (ns-initialize-window-system):
23741 Set application-specific `ApplePressAndHoldEnabled' system
23742 resource to NO as it is not yet supported by the NS port.
23744 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
23746 * misc.el (list-dynamic-libraries--refresh): Compute header here...
23747 (list-dynamic-libraries): ...not here.
23749 2011-06-21 Leo Liu <sdl.web@gmail.com>
23751 * subr.el (sha1): Implement sha1 using secure-hash.
23753 2011-06-21 Martin Rudalics <rudalics@gmx.at>
23755 * window.el (display-buffer-alist): In default value do not
23756 enforce searching a window on any but the selected frame.
23757 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
23758 (display-buffer-select-window): Remove function.
23759 (display-buffer-in-window): When a window on another frame gets
23760 reused, do not select it any more but just raise its frame if
23761 necessary (Bug#8851) and (Bug#8856).
23762 (display-buffer-normalize-options): Handle pop-up-frames related
23763 options more faithfully.
23764 (pop-to-buffer): Don't rely on `display-buffer' selecting the
23765 window if it is on another frame.
23766 (display-buffer-alist, display-buffer-default-specifiers):
23767 Don't make new frame unsplittable by default.
23768 (display-buffer-normalize-argument): Fix doc-string typo and use
23769 'same-frame-other-window instead of 'other-window when associating
23770 with display-buffer-macro-specifiers.
23772 2011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
23774 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
23776 (5x5-mode-map, 5x5-mode-menu): Bind them.
23777 (5x5-draw-grid): Tweak the solver's rendering.
23779 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23781 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
23782 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
23784 2011-06-21 Drew Adams <drew.adams@oracle.com>
23786 * menu-bar.el: Use function variable instead of switch-to-buffer.
23787 (menu-bar-select-buffer-function): New variable.
23788 (menu-bar-update-buffers): Use it (bug#8876).
23790 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23792 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
23795 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
23797 * x-dnd.el (x-dnd-version-from-flags)
23798 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
23799 and long as number (Bug#8899).
23800 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
23802 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
23804 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
23805 (completion-try-completion, completion-all-completions): Compute the
23806 metadata argument if it's missing; make it optional (bug#8795).
23808 * wid-edit.el: Use lex-bind and move towards completion-at-point.
23809 (widget-complete): Use new :completion-function property.
23810 (widget-completions-at-point): New function.
23811 (default): Use :completion-function instead of :complete.
23812 (widget-default-completions): Rename from widget-default-complete;
23814 (widget-string-complete, widget-file-complete, widget-color-complete):
23816 (file, symbol, function, variable, coding-system, color):
23817 * international/mule-cmds.el (default-input-method, charset)
23818 (language-info-custom-alist):
23819 * cus-edit.el (face): Use new property :completions.
23821 * progmodes/pascal.el (pascal-completions-at-point): New function.
23822 (pascal-mode): Use it.
23823 (pascal-mode-map): Use completion-at-point.
23824 (pascal-toggle-completions): Make obsolete.
23825 (pascal-complete-word, pascal-show-completions):
23826 * progmodes/octave-mod.el (octave-complete-symbol):
23827 Redefine as obsolete alias.
23828 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
23829 Signal absence of completion info for old Octave,
23830 (inferior-octave-complete): Redefine as obsolete alias.
23831 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
23832 (meta-completions-at-point): Rename from meta-complete-symbol and
23833 adapt it for use on completion-at-point-functions.
23834 (meta-common-mode): Use it.
23835 (meta-looking-at-backward, meta-match-buffer): Remove.
23836 (meta-complete-symbol): Redefine as obsolete alias.
23837 (meta-common-mode-map): Use completion-at-point.
23838 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
23839 (makefile-mode-map): Use completion-at-point.
23840 (makefile-completions-at-point): Rename from makefile-complete and
23841 adapt it for use on completion-at-point-functions.
23842 (makefile-mode): Use it.
23843 (makefile-complete): Redefine as obsolete alias.
23845 2011-06-20 Deniz Dogan <deniz@dogan.se>
23847 * net/rcirc.el: Delete trailing whitespaces once and for all.
23849 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
23851 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
23853 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
23855 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
23857 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
23859 2011-06-19 Martin Rudalics <rudalics@gmx.at>
23861 * window.el (display-buffer-other-window-means-other-frame):
23862 Call display-buffer-normalize-alist.
23863 (display-buffer-normalize-specifiers-1): Rename to
23864 display-buffer-normalize-argument. New argument other-frame.
23866 (display-buffer-normalize-specifiers-2): Rename to
23867 display-buffer-normalize-options.
23868 (display-buffer-normalize-alist-1): New function.
23869 (display-buffer-normalize-specifiers-3): Rename to
23870 display-buffer-normalize-alist.
23871 Call display-buffer-normalize-alist-1.
23872 (display-buffer-normalize-options-inhibit): New variable.
23873 (display-buffer-normalize-specifiers): Rewrite calling
23874 display-buffer-normalize-alist,
23875 display-buffer-normalize-argument, and
23876 display-buffer-normalize-options. Don't call the latter if
23877 display-buffer-normalize-options-inhibit is non-nil.
23878 (frame-auto-delete): New option.
23879 (window-deletable-p): Use frame-auto-delete.
23880 (window-list-no-nils, window-state-ignored-parameters)
23881 (window-state-get-1, window-state-get, window-state-put-list)
23882 (window-state-put-1, window-state-put-2, window-state-put):
23884 (display-buffer-normalize-options): Move special-display-p group
23885 after pop-up-frame group (Bug#8851) and (Bug#8856).
23887 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
23889 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
23891 (rx-submatch-n): New function.
23894 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
23897 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
23899 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
23901 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
23902 anytime existing face settings are present (Bug#8889).
23904 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
23905 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
23906 Remove unused argument.
23908 2011-06-18 Martin Rudalics <rudalics@gmx.at>
23910 * window.el (display-buffer-default-specifiers):
23911 Remove pop-up-frame. Add pop-up-window-min-height,
23912 pop-up-window-min-width, and another reuse-window specifier
23913 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
23914 (display-buffer-normalize-specifiers-2):
23915 Handle split-height-threshold and split-width-threshold also when
23916 pop-up-windows is unset. Add a reuse-window specifier for the
23917 case popping up a new window fails.
23918 (special-display-popup-frame): Remove double quoting.
23919 (display-buffer-normalize-specifiers-1): Fix thinko.
23921 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
23923 * shell.el (shell-completion-vars): Set pcomplete-termination-string
23924 according to comint-completion-addsuffix.
23926 * pcomplete.el: Convert to lexical binding and fix bug#8819.
23927 (pcomplete-suffix-list): Mark as obsolete.
23928 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
23929 pcomplete-seen in the closure.
23930 (pcomplete-comint-setup): Setup completion-at-point as well.
23931 (pcomplete--entries): New function.
23932 (pcomplete--env-regexp): New var.
23933 (pcomplete-entries): Rewrite to work with partial-completion and
23934 without relying on pcomplete-suffix-list.
23935 (pcomplete-pare-list): Remove, unused.
23937 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23939 * window.el (display-buffer-alist): Set pop-up-window-min-height
23940 and pop-up-window-min-width in default value. Reported by
23941 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
23942 other-window-means-other-frame.
23943 (display-buffer-macro-specifiers): Comment out entry for
23944 other-window specifier.
23945 (display-buffer-other-window-means-other-frame): New function.
23946 (display-buffer-normalize-specifiers-1): New arguments
23947 buffer-name and label. Treat other-window case specially.
23948 (display-buffer-normalize-specifiers-2): Treat other-window case
23950 (display-buffer-normalize-specifiers-3): New function.
23951 (display-buffer-normalize-specifiers):
23952 Call display-buffer-normalize-specifiers-3.
23954 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23956 * window.el (same-window-p): Fix two typos introduced when
23957 adding with-no-warnings.
23958 (display-buffer-normalize-specifiers-1): Don't check
23959 pop-up-frames for 'unset initialization.
23960 (display-buffer-normalize-specifiers-2): Major rewrite using
23961 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
23962 (pop-up-frames, display-buffer-reuse-frames)
23963 (display-buffer-mark-dedicated): Don't initialize to 'unset.
23964 Suggested by David Engster <deng@randomsample.de>.
23965 (even-window-heights): Initialize to 'unset.
23966 (display-buffer-alist-set): Handle new 'unset initializations.
23967 (display-buffer-macro-specifiers): Don't pop up a new frame in the
23970 2011-06-16 Martin Rudalics <rudalics@gmx.at>
23972 * window.el (display-buffer-normalize-specifiers-1):
23973 Respect current value of pop-up-frames for most reasonable values of
23974 second argument of display-buffer (Bug#8865).
23975 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
23976 (switch-to-buffer-other-window-same-frame)
23977 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
23979 (display-buffer): Don't check noninteractive when calling
23980 display-buffer-pop-up-frame.
23981 (display-buffer-pop-up-frame): Never pop up a frame in
23982 noninteractive mode (Bug#8857).
23983 (enlarge-window, shrink-window): Don't report an error when the
23984 window can't be resized as requested (Bug#8862).
23986 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23988 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
23990 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
23992 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
23994 2011-06-15 Alan Mackenzie <acm@muc.de>
23996 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
23997 for declarators, disable knr checking to speed up for normal files.
23998 2: Refactor, replacing a sequence of nested if forms by a cond form.
24000 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
24002 * net/network-stream.el (open-network-stream): Add the keyword
24003 :always-query-capabilities for the case where you want to force a
24004 `plain' network connection, but the protocol still requires the
24005 capabilitiy command (i.e., SMTP and EHLO).
24007 * subr.el (process-live-p): Rename from `process-alive-p' for
24008 consistency with other `-live-p' functions.
24010 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24012 * window.el (same-window-buffer-names, same-window-regexps)
24013 (special-display-frame-alist, special-display-popup-frame)
24014 (special-display-function, special-display-buffer-names)
24015 (special-display-regexps, pop-up-frame-alist)
24016 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
24017 (pop-up-windows, split-window-preferred-function)
24018 (split-height-threshold, split-width-threshold, even-window-heights)
24019 (display-buffer-mark-dedicated): Don't encourage the use of
24020 display-buffer-alist from Elisp code.
24022 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
24024 * progmodes/python.el (python-mode): Derive from prog-mode.
24025 * progmodes/ps-mode.el (ps-mode):
24026 * progmodes/mixal-mode.el (mixal-mode):
24027 * progmodes/cfengine.el (cfengine-mode):
24028 * progmodes/ld-script.el (ld-script-mode): Likewise.
24030 2011-06-15 Martin Rudalics <rudalics@gmx.at>
24032 * window.el (display-buffer-alist): Trim default value to avoid
24033 popping up a new frame (Bug#8857) or reusing an arbitrary window
24035 (display-buffer): Do not fall back on popping up a new frame in
24036 batch mode (Bug#8857).
24038 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
24040 * cus-theme.el (describe-theme-1): Use custom-theme-p.
24041 (custom-theme-summary): New function.
24042 (customize-themes): Use it.
24044 2011-06-13 Glenn Morris <rgm@gnu.org>
24046 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
24048 2011-06-13 Martin Rudalics <rudalics@gmx.at>
24050 * help.el (help-window): Remove variable.
24051 (help-window-point-marker, temp-buffer-max-height)
24052 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
24053 (help-print-return-message): Don't set help-window.
24054 (resize-temp-buffer-window): Rewrite cod eand doc-string.
24055 (help-window-setup-finish): Remove.
24056 (help-window-display-message, help-window-setup)
24057 (with-help-window): Major rewrite based on new
24058 display-buffer-window variable.
24060 * help-mode.el (help-mode-finish): Remove help-window related
24063 * view.el (view-exits-all-viewing-windows): Remove reference to
24064 view-return-to-alist in doc-string.
24065 (view-return-to-alist): Make obsolete.
24066 (view-buffer): Call pop-to-buffer-same-window and remove
24068 (view-buffer-other-window): Call pop-to-buffer-other-window and
24069 simplify code. Ignore second argument.
24070 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
24071 simplify code. Ignore second argument.
24072 (view-return-to-alist-update): Make obsolete.
24073 (view-mode-enter): Rename second argument to QUIT-RESTORE.
24074 Rewrite using quit-restore window parameters.
24075 (view-mode-exit): Rename second argument to EXIT-ONLY.
24076 Rewrite using quit-restore-window.
24077 (View-exit, View-exit-and-edit, View-leave, View-quit)
24078 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
24079 appropriate arguments.
24080 (view-end-message): Use quit-restore window parameter.
24082 * window.el (display-buffer-function): Rewrite doc-string.
24083 (display-buffer-window, display-buffer-alist): New variables.
24084 (display-buffer-split-specifiers)
24085 (display-buffer-side-specifiers)
24086 (display-buffer-macro-specifiers): New constants.
24087 (display-buffer-even-window-sizes, display-buffer-set-height)
24088 (display-buffer-set-width, display-buffer-select-window)
24089 (display-buffer-in-window, display-buffer-reuse-window)
24090 (display-buffer-split-window-1, display-buffer-split-window)
24091 (display-buffer-split-atom-window, display-buffer-pop-up-window)
24092 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
24093 (display-buffer-in-side-window, normalize-buffer-to-display)
24094 (display-buffer-normalize-specifiers-1)
24095 (display-buffer-normalize-specifiers-2)
24096 (display-buffer-normalize-specifiers, display-buffer-frame):
24098 (display-buffer): Major rewrite.
24099 (display-buffer-other-window, display-buffer-other-frame)
24100 (pop-to-buffer, switch-to-buffer-other-window)
24101 (switch-to-buffer-other-frame): Rewrite.
24102 (display-buffer-same-window, display-buffer-same-frame)
24103 (display-buffer-same-frame-other-window)
24104 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
24105 (pop-to-buffer-other-window)
24106 (pop-to-buffer-same-frame-other-window)
24107 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
24108 (switch-to-buffer-other-window-same-frame): New functions.
24109 (same-window-p, special-display-p): Rewrite disabling warnings.
24111 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
24112 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
24114 (same-window-buffer-names, same-window-regexps)
24115 (special-display-frame-alist, special-display-popup-frame)
24116 (special-display-function, special-display-buffer-names)
24117 (special-display-regexps, pop-up-frame-alist)
24118 (pop-up-frame-function, split-window-preferred-function)
24119 (split-height-threshold, split-width-threshold)
24120 (even-window-heights): Make obsolete.
24122 2011-06-12 Glenn Morris <rgm@gnu.org>
24124 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
24125 Misc simplifications.
24127 2011-06-12 Martin Rudalics <rudalics@gmx.at>
24129 * window.el (window-safely-shrinkable-p): Restore function which
24130 was inadvertently removed in change from 2011-06-11. Declare as
24133 * calendar/calendar.el (calendar-generate-window):
24134 Use window-iso-combined-p instead of combination of one-window-p and
24135 window-safely-shrinkable-p.
24137 2011-06-12 Glenn Morris <rgm@gnu.org>
24139 * progmodes/fortran.el (fortran-mode-syntax-table):
24140 * progmodes/f90.el (f90-mode-syntax-table):
24141 Set % to punctuation. (Bug#8820)
24142 (f90-find-tag-default): Remove, no longer needed.
24144 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
24146 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
24148 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
24150 * image.el (image-animated-p): Return animation delay in seconds.
24151 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
24152 (image-animate-timeout): Remove DELAY argument. Don't assume
24153 every subimage has the same delay; get it from image-animated-p.
24154 (image-animate): Caller changed.
24156 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
24158 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
24159 to ignored backtrace functions.
24161 2011-06-11 Glenn Morris <rgm@gnu.org>
24163 * calendar/appt.el (appt-disp-window-function): Doc fix.
24164 (appt-check): Handle overlapping appointments. (Bug#8337)
24166 2011-06-11 Martin Rudalics <rudalics@gmx.at>
24168 * window.el (window-tree-1, window-tree): New functions, moving
24169 the latter to window.el.
24170 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
24171 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
24172 (bw-refresh-edges): Remove.
24173 (balance-windows-1, balance-windows-2): New functions.
24174 (balance-windows): Rewrite in terms of window tree functions,
24175 balance-windows-1 and balance-windows-2.
24176 (bw-adjust-window): Remove.
24177 (balance-windows-area-adjust): New function with functionality of
24178 bw-adjust-window but using resize-window.
24179 (set-window-text-height): Rewrite doc-string.
24180 Use normalize-live-window and resize-window.
24181 (enlarge-window-horizontally, shrink-window-horizontally):
24182 Rename argument to DELTA.
24183 (window-buffer-height): New function.
24184 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
24185 Rewrite using new window resize routines.
24186 (kill-buffer-and-window, mouse-autoselect-window-select):
24187 Use ignore-errors instead of condition-case.
24188 (quit-window): Call delete-frame instead of delete-windows-on
24189 for the only buffer on frame.
24191 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24193 * loadup.el (top-level): Load window before files for the sake
24194 of replace-buffer-in-windows.
24196 * files.el (read-buffer-to-switch)
24197 (switch-to-buffer-other-window)
24198 (switch-to-buffer-other-frame, display-buffer-other-frame):
24201 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
24202 (previous-buffer): Move to window.el.
24204 * bindings.el (unbury-buffer): Move to window.el.
24206 * window.el (delete-other-windows-vertically): Move after
24207 definition of delete-other-windows.
24208 (other-window, delete-windows-on, replace-buffer-in-windows):
24209 Move here from window.c.
24210 (record-window-buffer, unrecord-window-buffer)
24211 (set-window-buffer-start-and-point, switch-to-prev-buffer)
24212 (switch-to-next-buffer): New functions.
24213 (get-next-valid-buffer, last-buffer, next-buffer): Move here
24214 from simple.el. Call switch-to-next-buffer.
24215 (previous-buffer): Move here from simple.el.
24216 Call switch-to-prev-buffer.
24217 (bury-buffer): Move here from buffer.c. Switch to previous
24218 buffer when window cannot be deleted.
24219 (unbury-buffer): Move here from bindings.el.
24220 (ctl-x-map): Move binding for other-window from window.c to
24222 (read-buffer-to-switch, switch-to-buffer-other-window)
24223 (switch-to-buffer-other-frame): Move here from files.el.
24224 (normalize-buffer-to-switch-to): New functions.
24225 (switch-to-buffer): Move here from buffer.c.
24226 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
24228 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24230 * window.el (window-min-height, window-min-width): Move here
24231 from window.c. Add defcustoms and rewrite doc-strings.
24232 (resize-mini-window, resize-window): New functions.
24233 (adjust-window-trailing-edge, enlarge-window, shrink-window):
24234 Move here from window.c.
24235 (maximize-window, minimize-window): New functions.
24236 (delete-window, delete-other-windows, split-window): Move here
24238 (window-split-min-size): New function.
24239 (split-window-keep-point): Mention split-window-above-each-other
24240 instead of split-window-vertically.
24241 (split-window-above-each-other, split-window-vertically):
24242 Rename split-window-vertically to split-window-above-each-other
24243 and provide defalias for old definition.
24244 (split-window-side-by-side, split-window-horizontally):
24245 Rename split-window-horizontally to split-window-side-by-side
24246 and provide defalias for the old definition.
24247 (ctl-x-map): Move bindings for delete-window,
24248 delete-other-windows and enlarge-window here from window.c.
24249 Replace bindings for split-window-vertically and
24250 split-window-horizontally by bindings for
24251 split-window-above-each-other and split-window-side-by-side.
24253 * cus-start.el (all): Remove entries for window-min-height and
24254 window-min-width. Add entries for window-splits and
24257 2011-06-09 Glenn Morris <rgm@gnu.org>
24259 * calendar/appt.el (appt-mode-line): New function.
24260 (appt-check, appt-disp-window): Use it.
24262 * files.el (hack-one-local-variable-eval-safep):
24263 Allow minor-modes with explicit +/-1 arguments.
24265 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
24267 * term/xterm.el (xterm): Add defgroup.
24268 (xterm-extra-capabilities): Add defcustom to supply known xterm
24269 capabilities, skip querying them, or query them (default).
24270 (terminal-init-xterm): Use it.
24271 (terminal-init-xterm-modify-other-keys): New function to set up
24272 modifyOtherKeys support to simplify `terminal-init-xterm'.
24274 2011-06-09 Martin Rudalics <rudalics@gmx.at>
24276 * window.el (resize-window-reset, resize-window-reset-1)
24277 (resize-subwindows-skip-p, resize-subwindows-normal)
24278 (resize-subwindows, resize-other-windows, resize-this-window)
24279 (resize-root-window, resize-root-window-vertically)
24280 (window-deletable-p, window-or-subwindow-p)
24281 (frame-root-window-p): New functions.
24283 2011-06-09 Glenn Morris <rgm@gnu.org>
24285 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
24286 (ange-ftp-get-files): Use it.
24288 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
24290 * mail/sendmail.el (mail-recover-1, mail-recover):
24291 * files.el (recover-file, recover-session):
24292 Handle dired-listing-switches not being just a single short option.
24294 2011-06-09 Glenn Morris <rgm@gnu.org>
24296 * calendar/appt.el (appt-display-message, appt-disp-window):
24297 Handle lists of appointments.
24299 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24301 * window.el (one-window-p): Move down in code.
24302 Rewrite doc-string.
24303 (window-current-scroll-bars): Rewrite doc-string.
24304 Normalize live window argument.
24305 (walk-windows, get-window-with-predicate, count-windows):
24306 Rewrite doc-string. Use window-list-1.
24307 (window-in-direction-2, window-in-direction, get-mru-window):
24310 2011-06-08 Reuben Thomas <rrt@sc3d.org>
24312 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
24313 Doc fix (Bug#8713).
24315 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
24317 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
24319 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
24321 * loadhist.el (unload-feature-special-hooks):
24322 Add `comint-output-filter-functions'.
24324 2011-06-08 Ivan Kanis <gnu@kanis.fr>
24326 * calendar/appt.el (appt-check): Move some initializations into the let.
24328 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24330 * window.el (window-height): Defalias to window-total-height.
24331 (window-width): Defalias to window-body-width.
24333 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
24335 * image-mode.el (image-toggle-animation): New command.
24336 (image-mode-map): Bind it to RET.
24337 (image-mode): Update message.
24338 (image-toggle-display-image): Avoid a spurious cache flush.
24339 (image-transform-rotation): Doc fix.
24340 (image-transform-properties): Return quickly in the normal case.
24341 (image-animate-loop): Rename from image-animate-max-time.
24343 * image.el (image-animate-max-time): Move to image-mode.el.
24344 (create-animated-image): Remove unnecessary function.
24345 (image-animate): Rename from image-animate-start. New arg.
24346 (image-animate-stop): Remove; just use image-animate-timer.
24347 (image-animate-timer): Use car-safe.
24348 (image-animate-timeout): Rename argument.
24350 2011-06-07 Martin Rudalics <rudalics@gmx.at>
24352 * window.el (get-lru-window, get-largest-window): Move here from
24353 window.c. Rename first argument to ALL-FRAMES.
24354 Rephrase doc-strings.
24355 (get-buffer-window-list): Rewrite using window-list-1.
24356 Rephrase doc-string.
24357 (window-safe-min-height, window-safe-min-width): New constants.
24358 (window-size-ignore, window-min-size, window-min-size-1)
24359 (window-sizable, window-sizable-p, window-size-fixed-1)
24360 (window-size-fixed-p, window-min-delta-1, window-min-delta)
24361 (window-max-delta-1, window-max-delta, window-resizable)
24362 (window-resizable-p, window-total-height, window-total-width)
24363 (window-body-width): New functions.
24364 (window-full-height-p, window-full-width-p): Rewrite using
24366 (window-body-height): Rewrite using window-body-size.
24368 2011-06-06 Martin Rudalics <rudalics@gmx.at>
24370 * window.el (window-right, window-left, window-child)
24371 (window-child-count, window-last-child, window-any-p)
24372 (normalize-live-buffer, normalize-live-frame)
24373 (normalize-any-window, normalize-live-window)
24374 (window-iso-combination-p, window-iso-combined-p)
24375 (window-iso-combinations)
24376 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
24377 (windows-with-parameter, window-with-parameter)
24378 (window-atom-root, make-window-atom, window-atom-check-1)
24379 (window-atom-check, window-side-check, window-check):
24381 (ignore-window-parameters, window-sides, window-sides-vertical)
24382 (window-sides-slots): New variables.
24383 (window-size-fixed): Move down in code. Minor doc-string fix.
24385 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
24387 * comint.el (comint-dynamic-complete-as-filename)
24388 (comint-dynamic-complete-filename): Correctly call
24389 completion-in-region.
24391 2011-06-05 Deniz Dogan <deniz@dogan.se>
24393 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
24396 2011-06-05 Deniz Dogan <deniz@dogan.se>
24398 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
24399 (rcirc): Use it to prompt for encryption.
24401 2011-06-05 Roland Winkler <winkler@gnu.org>
24403 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
24404 (bibtex-search-entries): New command bound to C-c C-a.
24405 (bibtex-display-entries): New function.
24407 2011-06-05 Roland Winkler <winkler@gnu.org>
24409 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
24410 (bibtex-insert-kill): After yanking insert newline if necessary.
24411 (bibtex-initialize): Call bibtex-string-files-init only once.
24412 (bibtex-mode): Do not call easy-menu-add.
24413 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
24414 (bibtex-yank): Set arg properly if nil.
24416 2011-06-05 Roland Winkler <winkler@gnu.org>
24418 * textmodes/bibtex.el (bibtex-search-entry-globally):
24420 (bibtex-search-entry): Use it.
24422 2011-06-05 Roland Winkler <winkler@gnu.org>
24424 * textmodes/bibtex.el (bibtex-entry-format): New option
24426 (bibtex-format-entry, bibtex-reformat): Honor this option.
24427 (bibtex-parse-entry): Return fields in proper order.
24429 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
24431 * doc-view.el (doc-view-remove-if): Move computation of result out
24432 of `dolist' to silence misleading lexical-binding warning.
24434 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
24436 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
24437 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
24439 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24441 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
24444 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24446 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
24447 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
24448 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
24449 (tramp-parse-putty):
24450 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
24451 (tramp-completion-function-alist-ssh)
24452 (tramp-completion-function-alist-telnet)
24453 (tramp-completion-function-alist-su)
24454 (tramp-completion-function-alist-putty): Set `tramp-autoload'
24457 * net/tramp-ftp.el:
24459 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
24460 load "tramp.el" `tramp-set-completion-function'.
24462 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
24464 * shell.el: Require and use pcomplete.
24465 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
24466 (shell-completion-vars): Set pcomplete-default-completion-function.
24468 2011-06-04 Deniz Dogan <deniz@dogan.se>
24470 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
24473 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24475 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
24477 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
24479 * bs.el (bs--mark-unmark, bs--nth-wrapper):
24480 * mpc.el (mpc-select-extend, mpc-songpointer-context):
24481 * vc/log-view.el (log-view-beginning-of-defun):
24482 * vc/smerge-mode.el (smerge-apply-resolution-patch)
24483 (smerge-refine-forward, smerge-refine-chopup-region):
24484 Silence warning for unused `dotimes' counter variables.
24486 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24488 * net/tramp.el (tramp-with-progress-reporter): Rename from
24489 with-progress-reporter. Use `declare'.
24490 * net/tramp-smb.el:
24492 * net/tramp-gvfs.el: Update all uses.
24494 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
24496 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
24497 buffer isn't killed before making it current.
24499 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24501 Silence various byte-compiler warnings.
24502 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
24503 `access-type' and new obsolescence format.
24504 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
24506 (byte-compile-check-variable): New `access-type' argument.
24507 Only warn if the access-type is obsolete.
24508 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24509 (byte-compile-variable-set): Adjust callers.
24510 * help-fns.el (describe-variable): Adjust to new obsolescence format.
24511 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
24512 setting it as obsolete.
24513 * simple.el (minibuffer-completing-symbol):
24514 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
24515 access as obsolete.
24516 * minibuffer.el (minibuffer-completing-file-name): Don't make it
24518 * international/quail.el (quail-mouse-choose-completion): Remove unused
24519 code referring to obsolete var.
24520 (quail-choose-completion-string): Remove.
24521 * server.el (server-clients-with, server-kill-buffer-query-function)
24522 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
24523 * proced.el (proced-send-signal):
24524 * emacs-lisp/lisp.el (lisp-complete-symbol):
24525 Replace completion-annotate-function with completion-extra-properties.
24527 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24529 * simple.el (goto-line): Use read-number.
24530 (overriding-map-is-bound): Remove.
24531 (saved-overriding-map): Change default.
24532 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
24533 Take the map as argument.
24534 (universal-argument, negative-argument, digit-argument): Use it.
24535 (restore-overriding-map): Adjust.
24536 (do-auto-fill): Use fill-forward-paragraph.
24537 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
24539 * minibuffer.el (minibuffer-inactive-mode-map): New var.
24540 (minibuffer-inactive-mode): New major mode.
24541 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
24542 the *Messages* buffer" hack.
24543 (mouse-popup-menubar): Don't burp if the event is a normal key.
24545 Miscellaneous tweaks.
24546 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
24547 lexical scoping as in subr.el's dolist and dotimes.
24548 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
24549 Silence compiler warning.
24550 * thingatpt.el (forward-whitespace): Trivial coding style fix.
24551 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
24552 * international/ccl.el (ccl-compile): Trivial simplification.
24553 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
24554 * emacs-lisp/testcover.el (testcover-end): Remove spurious
24555 `printflag' argument.
24556 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
24557 Purecopy the whole obsolescence data.
24559 2011-06-01 Leo Liu <sdl.web@gmail.com>
24561 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
24562 improve doc-string as suggested by Marco Pessotto
24563 <melmothx@gmail.com>.
24564 (rcirc-print): Fix last change.
24566 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24568 * minibuffer.el (complete-with-action): Return nil for the metadata and
24569 boundaries of non-functional tables.
24570 (completion-table-dynamic): Return nil for the metadata.
24571 (completion-table-with-terminator): Add default case, using
24572 complete-with-action.
24573 (completion--metadata): New function.
24574 (completion-all-sorted-completions, minibuffer-completion-help): Use it
24575 to try and avoid pathological performance problems.
24576 (completion--embedded-envvar-table): Return `category' metadata.
24578 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
24580 * subr.el (process-alive-p): New tiny convenience function.
24582 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24584 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
24585 content but also its previous major mode.
24587 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
24589 * emacs-lisp/debug.el (debug): Restore the previous content of the
24590 *Backtrace* buffer when we exit with C-M-c.
24592 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24594 * minibuffer.el: Add metadata method to completion tables.
24595 (completion-category-overrides): New defcustom.
24596 (completion-metadata, completion--field-metadata)
24597 (completion-metadata-get, completion--styles)
24598 (completion--cycle-threshold): New functions.
24599 (completion-try-completion, completion-all-completions):
24600 Add `metadata' argument to choose completion-styles.
24601 (completion--do-completion): Use metadata to choose cycling.
24602 (completion-all-sorted-completions): Use metadata for sorting.
24603 Remove :completion-cycle-penalty which is not needed any more.
24604 (completion--try-word-completion): Add `metadata' argument.
24605 (minibuffer-completion-help): Check metadata for annotation function
24607 (completion-file-name-table): Return `category' metadata.
24608 (minibuffer-completing-file-name): Make obsolete.
24609 * simple.el (minibuffer-completing-symbol): Make obsolete.
24610 * icomplete.el (icomplete-completions): Pass new `metadata' param to
24611 completion-try-completion.
24613 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
24615 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
24617 2011-05-30 Leo Liu <sdl.web@gmail.com>
24619 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
24620 (rcirc-print): Decode all incoming messages (bug#8744).
24621 (rcirc-decode-coding-system): Allow value nil for automatic coding
24624 2011-06-01 Glenn Morris <rgm@gnu.org>
24626 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
24628 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24630 * image.el (image-animate-max-time): Allow nil and t values.
24632 (create-animated-image): Doc fix.
24633 (image-animate-start): Remove second arg; just use
24634 image-animate-max-time.
24635 (image-animate-timeout): Doc fix. Args changed.
24637 * image-mode.el (image-toggle-display-image): Ensure that the
24638 image spec passed to the animate timer is the same object as in
24639 the buffer's display property (Bug#6981).
24640 (image-transform-properties): Doc fix.
24642 * image.el (image-animate-max-time): Default to nil.
24644 2011-05-29 Martin Rudalics <rudalics@gmx.at>
24646 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
24647 entire buffer list (Bug#8184).
24649 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24651 * image.el (imagemagick-types-inhibit)
24652 (imagemagick-register-types): Doc fix.
24654 2011-05-29 Deniz Dogan <deniz@dogan.se>
24656 * net/rcirc.el (rcirc): Use the user's stored encryption method by
24659 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24661 * select.el: Don't perform clipboard-manager saving in hooks;
24662 leave the hooks empty.
24664 2011-05-28 Leo Liu <sdl.web@gmail.com>
24666 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
24667 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
24668 (occur-edit-mode): New major mode (Bug#8463).
24669 (occur-after-change-function): New function.
24670 (occur-engine): Give Occur tags a read-only property.
24672 2011-05-28 Kevin Ryde <user42@zip.com.au>
24674 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
24676 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24678 * bindings.el (help-echo): Make the initial non-indicator dash
24679 empty on graphical terminals (Bug#7295).
24681 * files.el (auto-mode-alist): Move config rule after the
24682 in-stripping one (Bug#8547).
24684 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
24686 * startup.el (normal-splash-screen): Remove gratuitous mode-line
24687 setting (Bug#8740).
24689 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
24691 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
24692 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
24695 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24697 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
24699 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
24701 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
24702 (hs-hide-block-at-point, hs-find-block-beginning)
24703 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
24706 2011-05-28 Glenn Morris <rgm@gnu.org>
24708 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
24710 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24712 * help-fns.el (describe-function-1): If the function is a derived
24713 major mode, print the parent mode.
24715 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
24716 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
24718 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
24720 * minibuffer.el (completion--capf-wrapper): Check applicability before
24721 returning non-nil for non-exclusive completion data.
24722 * progmodes/etags.el (tags-completion-at-point-function):
24723 * info-look.el (info-lookup-completions-at-point): Mark as
24725 (info-complete): Adjust accordingly.
24727 * info-look.el: Convert to lexical-binding and completion-at-point.
24728 (info-lookup-completions-at-point): New function.
24729 (info-complete): Use it and completion-in-region.
24731 2011-05-28 Drew Adams <drew.adams@oracle.com>
24733 * isearch.el: Let M-e start with point at the first mismatched char.
24734 (isearch-fail-pos): New function.
24735 (isearch-edit-string): Use it.
24737 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24739 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24741 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
24743 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
24744 traversal functions for avl-trees.
24745 (avl-tree--stack): New struct.
24746 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
24747 (avl-tree-enter): Add optional `updatefun' arg.
24748 (avl-tree--do-enter): Add optional `updatefun' arg.
24749 Change return value.
24750 (avl-tree-delete): Add optional `test' and `nilflag' args.
24751 (avl-tree--do-delete): Add `test' and `nilflag' args.
24752 Change return value.
24753 (avl-tree-member): Add optional `nilflag'
24754 (avl-tree-member-p): New function.
24755 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
24756 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
24757 (avl-tree-stack-empty-p): New functions.
24759 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
24760 avl-tree--del-balance1 and make it work both ways.
24761 (avl-tree--del-balance2): Remove.
24762 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
24763 make it work both ways.
24764 (avl-tree--enter-balance2): Remove.
24765 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
24767 (avl-tree--mapc, avl-tree-map): Add direction argument.
24769 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
24771 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
24773 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
24775 * select.el: Support clipboard managers with built-in function
24776 x-clipboard-manager-save, via delete-frame-functions and
24778 (xselect-convert-to-targets): Add MULTIPLE target to list.
24779 (xselect-convert-to-save-targets): New function.
24781 2011-05-27 Kenichi Handa <handa@m17n.org>
24783 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
24784 let-binding rfc2047-encode-encoded-words to nil.
24786 2011-05-27 Glenn Morris <rgm@gnu.org>
24788 * mail/emacsbug.el: Don't require url-util.
24790 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
24792 * files.el (set-auto-mode):
24793 Also respect mode: entries at the end of the file. (Bug#8586)
24795 2011-05-26 Glenn Morris <rgm@gnu.org>
24797 * files.el (hack-local-variables-prop-line, hack-local-variables):
24798 Downcase mode names, as seems to be traditional.
24799 (hack-local-variables, hack-local-variables-apply): Doc fixes.
24801 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
24802 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
24804 2011-05-25 Julien Danjou <julien@danjou.info>
24806 * textmodes/rst.el (rst-define-level-faces): Do not define face
24807 symbol if it is already defined.
24809 2011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
24811 * play/5x5.el (5x5-new-game, 5x5-randomize):
24812 Reset 5x5-solver-output to nil when a new grid is cast.
24813 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
24814 these debugging traces, as defmacro breaks the compiled code.
24816 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24818 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24820 2011-05-24 Leo Liu <sdl.web@gmail.com>
24822 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
24823 (vc-bzr-sha1): Adapt.
24825 * sha1.el: Remove. Function `sha1' is now builtin.
24827 * bindings.el: Provide sha1 feature.
24829 2011-05-24 Kenichi Handa <handa@m17n.org>
24831 * mail/sendmail.el: Require `rfc2047'.
24832 (mail-insert-from-field): Do not perform RFC2047 encoding.
24833 (mail-encode-header): New function.
24834 (sendmail-send-it): Set buffer-file-coding-system of the work
24835 buffer to the return value of select-message-coding-system.
24836 Call mail-encode-header.
24838 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
24840 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
24842 * mail/supercite.el (sc-default-cite-frame):
24843 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
24845 2011-05-24 Glenn Morris <rgm@gnu.org>
24847 * progmodes/python.el (brm-menu): Declare.
24849 * emulation/viper.el (viper-set-hooks): Declare.
24851 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
24852 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
24853 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
24854 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
24855 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
24856 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
24858 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
24860 Add an :exit-function for completion-at-point.
24862 * minibuffer.el (completion--done): New fun.
24863 (completion--do-completion): Use it. New arg `expect-exact'.
24864 (minibuffer-complete, minibuffer-complete-word): Don't output message,
24865 since completion--do-completion does it for us now.
24866 (minibuffer-force-complete): Use completion--done and
24867 completion--replace. Handle sole-completion case with more care.
24868 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
24869 (completion-extra-properties): New var.
24870 (completion-annotate-function): Make obsolete.
24871 (minibuffer-completion-help): Adjust accordingly.
24872 Use completion-list-insert-choice-function.
24873 (completion-at-point, completion-help-at-point):
24874 Bind completion-extra-properties.
24875 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
24876 * simple.el (completion-list-insert-choice-function): New var.
24877 (completion-setup-function): Preserve it.
24878 (choose-completion): Pay attention to it, shuffle the code a bit.
24879 (choose-completion-string): New arg `insert-function'.
24881 * textmodes/bibtex.el: Convert to lexical binding.
24882 (bibtex-mode-map): Use completion-at-point.
24883 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
24884 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
24885 (bibtex-complete): Define as obsolete alias.
24886 (bibtex-complete-internal): Remove.
24887 (bibtex-format-entry): Remove unused sub-group in regexp.
24888 * shell.el (shell--command-completion-data)
24889 (shell-environment-variable-completion):
24890 * pcomplete.el (pcomplete-completions-at-point):
24891 * comint.el (comint--complete-file-name-data): Use :exit-function
24892 instead of completion-table-with-terminator so it also works for
24895 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24897 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
24899 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
24902 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
24904 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
24906 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
24907 customization variable and implement: If non-nil, auto-fill will
24908 be inhibited while on topic's header line.
24910 2011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
24912 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
24913 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
24914 always have a solution in grid size = 5 cases.
24915 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
24916 (5x5-solver-output, 5x5-log-buffer): New vars.
24917 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
24918 Make these variables buffer local to achieve 5x5 multi-session-ness.
24919 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
24920 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
24921 (5x5-solve-suggest): New funs.
24922 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
24923 randomize a grid so that we ensure that there is always a solution.
24924 (5x5-make-random-grid): Allow other movement than flipping.
24926 2011-05-23 Kevin Ryde <user42@zip.com.au>
24928 * emacs-lisp/advice.el (ad-read-advised-function):
24929 Use `function-called-at-point' as the default, if it has
24930 advice and passes PREDICATE.
24932 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24934 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
24935 byte-compile-lambda if it's actually a lambda.
24937 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
24938 Fix function quoting. Use backquote better.
24940 2011-05-22 Yuanle Song <sylecn@gmail.com>
24942 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
24943 matching (Bug#8516).
24945 2011-05-22 Jari Aalto <jari.aalto@cante.net>
24947 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
24948 different face (Bug#8178).
24950 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
24952 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
24953 defface (Bug#8144).
24955 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
24957 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
24958 funcall as well (bug#8712). Warn when performing those conversions.
24959 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
24961 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
24963 2011-05-22 Glenn Morris <rgm@gnu.org>
24965 * files.el (hack-local-variables-prop-line): Small simplifications.
24966 (hack-local-variables, hack-local-variables-prop-line):
24967 If MODE-ONLY, return the mode, rather than just `t'.
24969 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
24971 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
24973 2011-05-21 Glenn Morris <rgm@gnu.org>
24975 * files.el (hack-local-variables-prop-line, hack-local-variables):
24976 If only interested in the mode, don't bother doing the other stuff.
24978 * image-mode.el (image-after-revert-hook):
24979 Redraw all frames on which the image is visible. (Bug#8567)
24981 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
24983 * wid-edit.el (widget-checklist-match-inline):
24984 Fix 2011-04-19 change. (Bug#8649)
24986 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
24988 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
24989 Also allow singlespace after single-letter capitals followed by a dot.
24991 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
24992 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
24994 2011-05-20 Nix <nix@esperi.org.uk>
24996 * files.el (basic-save-buffer-2):
24997 Fix handling of break-hardlink-on-save with non-existent files.
24999 2011-05-19 Deniz Dogan <deniz@dogan.se>
25001 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
25002 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
25004 2011-05-19 Glenn Morris <rgm@gnu.org>
25006 * progmodes/f90.el (f90-type-def-re):
25007 Handle "type, bind(c)". (Bug#8691)
25009 * emacs-lisp/autoload.el (batch-update-autoloads):
25010 Set autoload-excludes by parsing loadup.el rather than Makefiles.
25012 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
25014 * net/tramp.el (tramp-process-actions): Set "first-password-request"
25015 property for the correct connection in case of multihops.
25017 2011-05-18 Glenn Morris <rgm@gnu.org>
25019 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
25020 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
25022 Rationalize calendar handling of day and month abbrev-arrays.
25023 * calendar/calendar.el (calendar-customized-p): New function.
25024 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
25025 (calendar-day-name-array, calendar-month-name-array): Doc fix.
25027 (calendar-abbrev-length, calendar-day-abbrev-array)
25028 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
25029 (calendar-day-abbrev-array, calendar-month-abbrev-array):
25030 Elements may no longer be nil.
25031 (calendar-day-name, calendar-month-name):
25032 Update for changed nature of abbrev arrays.
25033 * calendar/diary-lib.el (diary-name-pattern):
25034 Update for changed nature of abbrev arrays.
25035 (diary-mark-entries-1): Update calendar-make-alist calls.
25036 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
25037 * calendar/cal-html.el (cal-html-day-abbrev-array):
25038 Simply inherit from calendar-day-abbrev-array.
25040 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
25042 * progmodes/grep.el (grep-mode): Disable default
25043 compilation-directory-matcher setting (bug#8684).
25045 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
25047 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
25048 instead of "head" and "tail". There were problems with SunOS 5.9,
25049 and it performs better.
25051 2011-05-17 Glenn Morris <rgm@gnu.org>
25053 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
25055 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
25056 Replace obsolete function.
25058 * shell.el (pcomplete-parse-arguments-function): Declare.
25060 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
25061 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
25062 (appt-check): Doc fixes.
25063 (appt-disp-window-function, appt-delete-window-function):
25064 Remove needless special case in custom :type.
25065 (appt-display-count): Default to 0, not nil.
25066 (appt-check): Reset appt-display-count to 0, not nil.
25068 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
25070 * progmodes/python.el (python-font-lock-keywords):
25071 Add the Python 3.X keyword "nonlocal" (bug#8639).
25073 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
25075 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
25077 2011-05-16 Kevin Ryde <user42@zip.com.au>
25079 * info-look.el (makefile-automake-mode): New setups, looking in
25080 automake manual, then makefile-mode.
25081 (makefile-mode): Remove automake manual, have it just in
25082 makefile-automake-mode since there's various things different or
25083 not relevant to plain make.
25084 (makefile-mode): Remove "other-modes" non-existent automake-mode,
25085 believe a hypothetical automake-mode would go to makefile-mode,
25086 not the other way around.
25088 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
25090 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
25091 hunk-end tags (Bug#8672).
25093 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
25094 vc-annotate-show-diff-revision-at-line (Bug#8671).
25096 2011-05-14 Glenn Morris <rgm@gnu.org>
25098 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
25099 in the middle of an existing one with multiple authors. (Bug#8645)
25100 (change-log-font-lock-keywords): Also handle multiple author lines
25101 with leading tabs. (Bug#8644)
25103 * calendar/appt.el (appt-check): Rename some local variables.
25104 Some simplification/reordering.
25106 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
25107 (feedmail-sendmail-f-doesnt-sell-me-out)
25108 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25109 (feedmail-debug-sit-for, feedmail-queue-express-hook)
25110 (feedmail-queue-runner-message-sender): Set :version.
25111 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
25112 (bbdb-dwim-net-address, vm-mail): Declare.
25113 (feedmail-binmail-gnulinuxish-template):
25114 Rename from feedmail-binmail-linuxish-template.
25115 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
25116 Use insert-buffer-substring.
25118 2011-05-14 Bill Carpenter <bill@carpenter.org>
25120 * mail/feedmail.el (feedmail-patch-level): Increase.
25121 (feedmail-debug): New custom group.
25122 (feedmail-confirm-outgoing-timeout)
25123 (feedmail-sendmail-f-doesnt-sell-me-out)
25124 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25125 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
25126 (feedmail-sender-line, feedmail-from-line)
25127 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
25128 (feedmail-spray-this-address)
25129 (feedmail-spray-address-fiddle-plex-list)
25130 (feedmail-queue-use-send-time-for-date)
25131 (feedmail-queue-use-send-time-for-message-id)
25132 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
25133 (feedmail-buffer-eating-function):
25135 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
25136 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
25137 (feedmail-message-action-scroll-down): New functions.
25138 (feedmail-queue-directory, feedmail-queue-draft-directory):
25139 Use expand-file-name.
25140 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
25141 Remove C-v help entry.
25142 (feedmail-queue-buffer-file-name): New variable.
25143 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
25144 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
25145 (feedmail-message-action-send-strong, feedmail-message-action-edit)
25146 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
25147 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
25148 (feedmail-message-action-toggle-spray)
25149 (feedmail-run-the-queue-no-prompts)
25150 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
25151 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
25152 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
25153 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
25154 (feedmail-envelope-deducer, feedmail-fiddle-from)
25155 (feedmail-fiddle-sender, feedmail-default-date-generator)
25156 (feedmail-fiddle-date, feedmail-fiddle-message-id)
25157 (feedmail-fiddle-spray-address)
25158 (feedmail-fiddle-list-of-spray-fiddle-plexes)
25159 (feedmail-fiddle-list-of-fiddle-plexes)
25160 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
25161 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
25162 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
25163 Change default. Doc fix.
25164 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
25165 (feedmail-binmail-linuxish-template): New constant.
25166 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
25167 Respect feedmail-sendmail-f-doesnt-sell-me-out.
25168 (feedmail-send-it): Add debug call.
25169 Use feedmail-queue-buffer-file-name, and
25170 feedmail-send-it-immediately-wrapper.
25171 (feedmail-message-action-send): Add debug call.
25172 Use feedmail-send-it-immediately-wrapper.
25173 (feedmail-queue-express-to-queue): Add debug call.
25174 Run feedmail-queue-express-hook.
25175 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
25176 (feedmail-message-action-help-blat):
25177 Rename from feedmail-queue-send-edit-prompt-help-first.
25178 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
25179 Check line-endings. Handle errors better.
25180 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
25181 Doc fix. Add debug call.
25182 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
25183 Use feedmail-queue-send-edit-prompt-inner.
25184 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
25185 (feedmail-queue-send-edit-prompt-inner): New function, extracted
25186 from feedmail-queue-send-edit-prompt.
25187 (feedmail-queue-send-edit-prompt-help)
25188 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
25189 (feedmail-tidy-up-slug): Add debug call.
25190 Respect feedmail-queue-slug-suspect-regexp.
25191 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
25192 (feedmail-dump-message-to-queue): Add debug call.
25193 Expand queue-directory.
25194 (feedmail-dump-message-to-queue): Change message slightly.
25195 Use feedmail-say-chatter.
25196 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
25197 (feedmail-send-it-immediately-wrapper): New function.
25198 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
25199 Insert empty string rather than newline. Handle full-frame case.
25200 Use catch/throw. Use feedmail-say-chatter.
25201 (feedmail-fiddle-from): Try mail-host-address.
25202 (feedmail-default-message-id-generator): Doc fix.
25203 Bind system-time-locale. Handle missing end.
25204 (feedmail-fiddle-x-mailer): Add debug call.
25205 Handle feedmail-x-mailer-line being nil.
25206 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
25207 Add debug call. Use buffer-substring-no-properties.
25208 (feedmail-say-debug, feedmail-say-chatter): New functions.
25209 (feedmail-find-eoh): Give an explicit error.
25211 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
25213 * net/newst-treeview.el (newsticker-treeview-face): Change default
25214 family from helvetica to sans.
25215 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
25216 etc/images/newsticker.
25218 * net/newst-reader.el (newsticker-feed-face): Change default
25219 family from helvetica to sans.
25221 * net/newst-plainview.el (newsticker-new-item-face)
25222 (newsticker-old-item-face, newsticker-immortal-item-face)
25223 (newsticker-obsolete-item-face, newsticker-date-face)
25224 (newsticker-statistics-face): Change default family from
25226 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
25227 etc/images/newsticker.
25229 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
25230 (newsticker--process-auto-mark-filter-match): Tell user about
25233 2011-05-13 Didier Verna <didier@xemacs.org>
25235 Common Lisp indentation improvements on defmethod and lambda-lists.
25236 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
25238 (lisp-lambda-list-keyword-parameter-indentation)
25239 (lisp-lambda-list-keyword-parameter-alignment)
25240 (lisp-lambda-list-keyword-alignment): New customizable user options.
25241 (lisp-indent-defun-method): Improve docstring.
25242 (extended-loop-p): Fix comment.
25243 (lisp-indent-lambda-list-keywords-regexp): New variable.
25244 (lisp-indent-lambda-list): New function.
25245 (lisp-indent-259): Use it.
25246 (lisp-indent-defmethod): Support for more than one
25247 method qualifier and properly indent methods lambda-lists.
25248 (defgeneric): Provide a missing common-lisp-indent-function property.
25250 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
25252 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
25253 bounds for the empty string (bug#8667).
25255 2011-05-13 Glenn Morris <rgm@gnu.org>
25257 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
25259 * mail/sendmail.el (sendmail-program): Try executable-find first.
25260 (sendmail-send-it): `sendmail-program' cannot be unbound.
25262 * calendar/appt.el (appt-make-list): Simplify.
25263 (appt-time-msg-list): Doc fix.
25264 (appt-check): Change mode-line message at the time of the appointment.
25266 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
25268 * progmodes/ld-script.el (ld-script-keywords)
25269 (ld-script-builtins): Update keywords list.
25271 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25273 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
25275 * shell.el (shell-completion-vars): New function.
25277 * simple.el (read-shell-command): Use it.
25278 (blink-matching-open): No need for " [...]" in minibuffer-message.
25280 2011-05-12 Glenn Morris <rgm@gnu.org>
25282 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
25283 (appt-check): Simplify.
25285 2011-05-12 Eli Zaretskii <eliz@gnu.org>
25287 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
25288 literal "/dev/null".
25290 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25292 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
25295 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
25297 * progmodes/which-func.el (which-function):
25298 Use add-log-current-defun instead of add-log-current-defun-function,
25299 which might not be defined (Bug#8260).
25301 2011-05-12 Glenn Morris <rgm@gnu.org>
25303 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
25304 Let byte-compile-initial-macro-environment always take precedence.
25306 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25308 * net/rcirc.el: Add support for SSL/TLS connections.
25309 (rcirc-server-alist): New field `encryption'.
25310 (rcirc): Check `encryption' settings.
25311 (rcirc-connect): New arg `encryption'. Use open-network-stream.
25312 Merge make-local-variable into `set'.
25313 (rcirc--connection-open-p): New function.
25314 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
25315 the process is not a network process (e.g. running gnutls-cli).
25316 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
25317 Make rcirc-(en|de)code-coding-system local here.
25318 (rcirc-mode): Merge make-local-variable into `set'.
25319 (rcirc-parent-buffer): Make permanent buffer-local.
25320 (rcirc-multiline-minor-mode): Don't do it here.
25321 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
25322 there's no server buffer.
25324 2011-05-11 Glenn Morris <rgm@gnu.org>
25326 * newcomment.el (comment-kill): Prefix "unused" local.
25328 * term/w32console.el (get-screen-color): Declare.
25330 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
25331 Handle symbol elements of byte-compile-initial-macro-environment.
25333 2011-05-10 Leo Liu <sdl.web@gmail.com>
25335 * bookmark.el (bookmark-bmenu-mode-map):
25336 Bind bookmark-bmenu-search to `/'.
25338 * mail/footnote.el: Convert to utf-8 encoding.
25339 (footnote-unicode-string, footnote-unicode-regexp): New variable.
25340 (Footnote-unicode): New function.
25341 (footnote-style-alist): Add unicode style to the list.
25342 (footnote-style): Doc fix.
25344 2011-05-10 Jim Meyering <meyering@redhat.com>
25346 Fix doubled-word typos.
25347 * international/quail.el (quail-insert-kbd-layout): and and -> and
25348 * kermit.el: and and -> and
25349 * net/ldap.el (ldap-search-internal): to to -> to
25350 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
25351 * progmodes/js.el (js-mode): and and -> and
25352 * textmodes/artist.el (artist-move-to-xy): at at -> at
25353 (artist-draw-region-trim-line-endings): if if -> if
25354 And Safetyc -> Safety.
25355 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
25357 2011-05-10 Glenn Morris <rgm@gnu.org>
25358 Stefan Monnier <monnier@iro.umontreal.ca>
25360 * files.el (hack-one-local-variable-eval-safep):
25361 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
25363 2011-05-10 Glenn Morris <rgm@gnu.org>
25365 * calendar/diary-lib.el (diary-list-entries-hook)
25366 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
25367 (diary-nongregorian-marking-hook, diary-list-entries)
25368 (diary-include-other-diary-files, diary-mark-entries)
25369 (diary-mark-included-diary-files): Doc fixes.
25371 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25373 * misc.el: Require tabulated-list.el during compilation.
25375 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25377 * progmodes/compile.el (compilation-start):
25378 Run compilation-filter-hook for the async case too.
25379 (compilation-filter-hook): Doc fix.
25381 2011-05-09 Deniz Dogan <deniz@dogan.se>
25383 * wdired.el: Remove outdated installation comment. Fix usage
25386 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25388 * misc.el: Implement new command `list-dynamic-libraries'.
25389 (list-dynamic-libraries--loaded-only-p): New variable.
25390 (list-dynamic-libraries--refresh): New function.
25391 (list-dynamic-libraries): New command.
25393 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25395 * progmodes/compile.el (compilation-error-regexp-alist-alist):
25396 Fix the ant regexp to handle end-line and end-column info from jikes.
25397 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
25398 higher priority to avoid clobbering by gnu.
25400 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25402 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
25403 if the face has existing theme settings (Bug#8454).
25405 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
25407 * progmodes/perl-mode.el (perl-imenu-generic-expression):
25408 Only match variables declared via `my' or `our' (Bug#8261).
25410 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
25411 special file names `.' and `..' (Bug#8259).
25413 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25415 * progmodes/grep.el (grep-mode-font-lock-keywords):
25416 Remove buffer-changing entries.
25417 (grep-filter): New function.
25418 (grep-mode): Add it to compilation-filter-hook.
25420 * progmodes/compile.el (compilation-filter-hook)
25421 (compilation-filter-start): New defvars.
25422 (compilation-filter): Call compilation-filter-hook prior to
25423 updating the process mark.
25425 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
25427 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
25429 2011-05-07 Eli Zaretskii <eliz@gnu.org>
25431 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
25432 mailclient-send-it even if window-system is nil. (Bug#8595)
25434 * term/w32console.el (terminal-init-w32console):
25435 Call get-screen-color and use its output to set the frame
25436 background-mode. (Bug#8597)
25438 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
25440 Make bytecomp.el understand that defmethod defines funs (bug#8631).
25441 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
25443 (defgeneric, eieio--defmethod): Use them.
25444 (eieio-defgeneric): Remove.
25445 (defmethod): Call defgeneric in a way visible to the byte-compiler.
25447 2011-05-07 Glenn Morris <rgm@gnu.org>
25449 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
25450 Use let rather than let*.
25451 (timeclock-find-discrep): Remove unused local.
25453 * calendar/diary-lib.el (diary-comment-start): Doc fix.
25455 * calendar/appt.el (appt-time-msg-list): Doc fix.
25457 2011-05-06 Noah Friedman <friedman@splode.com>
25459 * apropos.el (apropos-print-doc): Only use
25460 emacs-lisp-docstring-fill-column when it is bound to an integer,
25461 per that variable's documentation.
25463 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
25465 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
25466 and warnings are not silently discarded (e.g. use -d instead of -P).
25468 2011-05-06 Glenn Morris <rgm@gnu.org>
25470 * calendar/appt.el (appt-message-warning-time): Doc fix.
25471 (appt-warning-time-regexp): New option.
25472 (appt-make-list): Respect appt-message-warning-time.
25474 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
25476 (diary-add-to-list): Strip comments from the displayed string.
25477 (diary-mode): Set comment-start and comment-end.
25479 * vc/diff-mode.el (smerge-refine-subst): Declare.
25480 (diff-refine-hunk): Don't require smerge-mode when compiling.
25482 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
25484 * simple.el (list-processes): Return nil as the docstring says.
25486 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25488 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
25490 (ange-ftp-write-region, ange-ftp-insert-file-contents)
25491 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
25492 determining of binary transfer. (Bug#7383)
25494 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25496 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25497 Fix port computation bug. (Bug#8618)
25499 2011-05-05 Glenn Morris <rgm@gnu.org>
25501 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
25503 * simple.el (shell-dynamic-complete-functions)
25504 (comint-dynamic-complete-functions): Declare.
25506 * net/network-stream.el (gnutls-negotiate):
25507 * simple.el (tabulated-list-print): Fix declarations.
25509 * progmodes/gud.el (syntax-symbol, syntax-point):
25510 Remove unnecessary and incorrect declarations.
25512 * emacs-lisp/check-declare.el (check-declare-scan):
25513 Handle byte-compile-initial-macro-environment in bytecomp.el.
25515 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
25517 Fix earlier half-done eieio-defmethod change (bug#8338).
25518 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
25519 Streamline and change calling convention.
25520 (defmethod): Adjust accordingly and simplify.
25521 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
25522 new eieio--defmethod.
25523 (slot-boundp): Minor CSE simplification.
25525 2011-05-05 Milan Zamazal <pdm@zamazal.org>
25527 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
25528 (glasses-make-readable): Use glasses-separate-capital-groups.
25530 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
25532 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
25533 (warning-series): Doc fix.
25534 (display-warning): Don't try to create the buffer if we just found it.
25536 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
25538 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
25539 (autoload-find-generated-file): New function.
25540 (generate-file-autoloads): Bind generated-autoload-file to
25542 (update-file-autoloads, update-directory-autoloads):
25543 Use autoload-find-generated-file. If called interactively, prompt for
25544 output file (Bug#7989).
25545 (batch-update-autoloads): Doc fix.
25547 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
25549 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
25551 2011-05-04 Glenn Morris <rgm@gnu.org>
25553 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
25554 function, so it follows changes in calendar-date-style.
25555 (diary-fancy-date-matcher): New function.
25556 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
25557 (diary-fancy-font-lock-fontify-region-function):
25558 Use diary-fancy-date-pattern as a function.
25560 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
25561 non-numbers for `year' etc pseudo-variables. (Bug#8583)
25563 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
25565 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
25566 instead of positional arguments. Allow :keylist and :crlfiles
25568 (open-gnutls-stream): Call it.
25570 * net/network-stream.el (network-stream-open-starttls): Adjust to
25571 call `gnutls-negotiate' with :process and :hostname arguments.
25573 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
25575 * minibuffer.el (completion--message): New function.
25576 (completion--do-completion, minibuffer-complete)
25577 (minibuffer-force-complete, minibuffer-complete-word): Use it.
25578 (completion--do-completion): Don't ignore completion-auto-help when in
25581 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
25582 internal encoding (e.g. tibetan zero is not whitespace).
25583 (global-whitespace-mode): Prefer save-current-buffer.
25584 (whitespace-trailing-regexp): Remove useless save-match-data.
25585 (whitespace-empty-at-bob-regexp): Minor simplification.
25587 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
25589 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
25591 2011-05-03 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
25593 * textmodes/ispell.el (ispell-add-per-file-word-list):
25594 Use `concat' to create string for insertion.
25596 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25598 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
25599 Avoid open-line which runs post-self-insert-hook.
25600 (bibtex-fill-entry): Remove unused `end' var.
25602 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
25604 * textmodes/ispell.el (ispell-add-per-file-word-list):
25605 Protect against `nil' value of `comment-start' (Bug#8579).
25607 2011-05-03 Leo Liu <sdl.web@gmail.com>
25609 * isearch.el (isearch-yank-pop): New command.
25610 (isearch-mode-map): Bind it to `M-y'.
25611 (isearch-forward): Mention it.
25613 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25615 * simple.el (minibuffer-complete-shell-command): Remove.
25616 (minibuffer-local-shell-command-map): Use completion-at-point.
25617 (read-shell-command): Setup completion vars here instead.
25618 (read-expression-map): Bind TAB to symbol completion.
25620 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
25621 error directly rather via storing it into `results'.
25623 2011-05-02 Leo Liu <sdl.web@gmail.com>
25625 * vc/diff.el: Fix description.
25627 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
25629 * server.el (server-eval-at): New function.
25631 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
25633 * net/network-stream.el (open-network-stream): Take a :nowait
25634 parameter and pass it on to `make-network-process'.
25635 (network-stream-open-plain): Ditto.
25637 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
25639 * faces.el (face-spec-set-match-display): Don't match toolkit
25640 options on terminal frames.
25642 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
25644 * progmodes/pascal.el: Use lexical binding.
25645 (pascal-mode-map): Remove author preferences.
25647 * pcomplete.el (pcomplete-std-complete): Don't abuse
25648 completion-at-point.
25650 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25652 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
25653 removing code that has been dead since 1991 or so.
25655 * startup.el (command-line): When warning about "_emacs", use a
25656 delayed warning to allow the user to filter it out.
25658 2011-04-28 Deniz Dogan <deniz@dogan.se>
25660 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
25661 user has not joined.
25663 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25665 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
25666 aren't any completions at point.
25668 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25670 * subr.el (display-delayed-warnings): New function.
25671 (delayed-warnings-hook): New variable.
25673 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25675 * minibuffer.el (completion-at-point, completion-help-at-point):
25676 Don't presume that a given completion-at-point-function will always
25677 use the same calling convention.
25679 * pcomplete.el (pcomplete-completions-at-point):
25680 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
25681 pcomplete-seen is non-nil.
25682 (pcomplete-comint-setup): Also recognize the new comint/shell
25683 completion functions.
25684 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
25685 pcomplete-seen is non-nil.
25687 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
25689 * calendar/icalendar.el (diary-lib): Add require statement.
25690 (icalendar--create-uid): Read out a uid from a text-property on
25691 the first character in the entry. This allows for code to add its
25692 own uid to the entry.
25693 (icalendar--convert-float-to-ical): Add export of
25694 `diary-float'-entries save for those with the optional DAY
25697 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
25699 * subr.el (shell-quote-argument): Use alternate escaping strategy
25700 when we spot a variable reference in a string.
25702 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25704 * cus-start.el (all): Define customization for debug-on-event.
25706 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25708 * subr.el (shell-quote-argument): Escape correctly under Windows.
25710 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25712 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
25714 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
25716 * net/tramp.el (tramp-process-actions): Add POS argument.
25717 Delete region between POS and (pos).
25719 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25720 Use `nil' position in `tramp-process-actions' call.
25721 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
25723 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
25724 position in `tramp-process-actions' call.
25726 * net/trampver.el: Update release number.
25728 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25730 * custom.el (defcustom): Obey lexical-binding.
25732 Fix octave-inf completion problems reported by Alexander Klimov.
25733 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
25734 Inherit from octave-mode-syntax-table.
25735 (inferior-octave-mode): Set info-lookup-mode.
25736 (inferior-octave-completion-at-point): New function.
25737 (inferior-octave-complete): Use it and completion-in-region.
25738 (inferior-octave-dynamic-complete-functions): Use it as well, and use
25739 comint-filename-completion.
25740 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
25741 symbol elements which shouldn't be word elements.
25742 (octave-font-lock-keywords, octave-beginning-of-defun)
25743 (octave-function-header-regexp): Adjust regexps accordingly.
25744 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
25746 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
25748 * net/gnutls.el (gnutls-errorp): Declare before first use.
25750 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
25752 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
25753 verify-error, and verify-hostname-error parameters. Check whether
25754 default trustfile exists before going to use it. Add missing
25755 argument to gnutls-message-maybe call. Return value.
25756 Reported by Claudio Bley <claudio.bley@gmail.com>.
25757 (open-gnutls-stream): Add usage example.
25759 * net/network-stream.el (network-stream-open-starttls): Give host
25760 parameter to `gnutls-negotiate'.
25761 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
25762 * subr.el (shell-quote-argument): Escape correctly under Windows.
25764 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
25766 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
25767 Use correct match group (bug#8438).
25769 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25771 * emacs-lisp/package.el (package-built-in-p): Fix typo.
25772 (package-menu--generate): New arg specifying packages to show.
25773 (package-menu-refresh, package-menu-execute, list-packages):
25775 (package-show-package-list): New function, replacing deleted
25776 package--list-packages (renamed because it is non-internal).
25778 * finder.el (finder-list-matches): Use package-show-package-list
25779 instead of deleted package--list-packages.
25781 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
25782 Based on a previous implementation by Juanma Barranquero (Bug#8366).
25783 (vc-annotate-mode-map): Bind it to RET.
25785 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
25787 * progmodes/etags.el (next-file): Don't use set-buffer to change
25788 buffers (Bug#8478).
25790 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25792 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
25794 * apropos.el (apropos-label-face): Avoid variable-pitch face.
25795 (apropos-accumulator): Doc fix.
25796 (apropos-function, apropos-macro, apropos-command)
25797 (apropos-variable, apropos-face, apropos-group, apropos-widget)
25798 (apropos-plist): Add face property.
25799 (apropos-symbols-internal): Fix indentation.
25800 (apropos-print): Simplify help, and recognize apropos-multi-type.
25801 (apropos-print-doc): Use button-type-get to extract the button's
25802 face property. Fill docstring (Bug#8352).
25804 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
25806 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
25808 * play/mpuz.el (mpuz-silent): Doc fix.
25809 (mpuz-mode-map): Use mapc.
25810 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
25811 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
25812 Fix typos in docstrings.
25814 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
25815 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
25817 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
25819 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
25821 * minibuffer.el (completion--do-completion): Avoid the "Next char
25822 not unique" prompt if icomplete-mode is enabled (Bug#5849).
25824 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
25825 mouse-2 into unread-command-events, it is interpreted correctly.
25827 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
25828 (image-toggle-display): Doc fix.
25830 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
25832 * textmodes/page.el (what-page): Use line-number-at-pos to
25833 calculate line number (Bug#6825).
25835 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25837 * eshell/esh-mode.el (find-tag-interactive): Declare function.
25838 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
25839 Pass argument NO-DEFAULT to `find-tag-interactive'.
25841 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25843 Lexical-binding cleanup.
25845 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
25846 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
25847 * progmodes/ada-prj.el (ada-prj-initialize-values)
25848 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
25849 (ada-prj-show-value):
25850 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
25851 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
25852 (antlr-invalidate-context-cache, antlr-options-menu-filter)
25853 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
25854 * progmodes/bug-reference.el (bug-reference-push-button):
25855 * progmodes/fortran.el (fortran-line-length):
25856 * progmodes/glasses.el (glasses-change):
25857 * progmodes/octave-mod.el (octave-fill-paragraph):
25858 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
25859 (python-pdbtrack-grub-for-buffer, python-sentinel):
25860 * progmodes/sql.el (sql-save-connection):
25861 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
25862 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
25863 Mark unused parameters.
25865 * progmodes/compile.el (compilation--flush-directory-cache)
25866 (compilation--flush-parse, compile-internal): Mark unused parameters.
25867 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
25868 (compilation-next-error-function): Remove unused variable `timestamp'.
25870 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
25871 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
25873 * progmodes/dcl-mode.el (dcl-end-of-command):
25874 Remove unused variable `start'.
25875 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
25876 (dcl-option-value-basic, dcl-option-value-offset)
25877 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
25878 Mark unused parameters.
25879 (dcl-save-local-variable): Remove unused variable `val'.
25882 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
25883 Mark unused parameters.
25884 (delphi-ignore-changes): Move before first use.
25885 (delphi-charset-token-at): Remove unused variable `start'.
25886 (delphi-else-start): Remove unused variable `if-count'.
25887 (delphi-comment-block-start, delphi-comment-block-end):
25888 Remove unused variable `kind'.
25889 (delphi-indent-line): Remove unused variable `new-point'.
25891 * progmodes/ebrowse.el (ebrowse-files-list)
25892 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
25893 Mark unused parameters. Don't quote `lambda'.
25894 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
25895 Don't quote `lambda'.
25896 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
25897 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
25898 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
25899 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
25900 Use `ignore-errors'.
25901 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
25902 (ebrowse-view/find-file-and-search-pattern)
25903 (ebrowse-view/find-member-declaration/definition):
25904 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
25905 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
25906 Rename parameter PREFIX-ARG to PREFIX.
25907 (ebrowse-tags-read-name): Remove unused variables `start' and
25909 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
25912 * progmodes/etags.el (local-find-tag-hook): Declare.
25913 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
25914 Mark unused parameters.
25916 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
25917 (executable-interpret): Mark unused parameter.
25919 * progmodes/flymake.el (flymake-process-sentinel)
25920 (flymake-after-change-function)
25921 (flymake-create-temp-with-folder-structure)
25922 (flymake-get-include-dirs-dot): Mark unused parameters.
25923 (flymake-safe-delete-directory): Remove unused variable `err'.
25925 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
25926 (speedbar-timer-fn, speedbar-line-text)
25927 (speedbar-change-expand-button-char, speedbar-delete-subblock)
25928 (speedbar-center-buffer-smartly): Declare functions.
25929 (gdb-find-watch-expression): Remove unused variable `array'.
25930 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
25931 (gdb-starting): Mark unused parameters.
25932 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
25933 (gdb-table-string): Remove unused variable `res'.
25934 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
25935 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
25936 (gdb-display-buffer): Remove unused variable `cur-size'.
25938 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
25939 allow lexical-binding compilation.
25940 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
25941 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
25942 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
25943 Mark unused parameters.
25944 (gud-gdb-marker-filter): Remove unused variable `match'.
25945 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
25946 lambda expressions and funcall them, instead of using `fset'.
25948 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
25949 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
25951 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
25952 variable `header-beg'; use `let'.
25954 * progmodes/icon.el (indent-icon-exp): Remove unused variables
25955 `restart', `last-sexp' and `at-do'.
25957 * progmodes/js.el (js--debug): Mark unused parameter.
25958 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
25959 (js--splice-into-items): Remove unused variable `item'.
25960 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
25962 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
25963 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
25964 (makefile-complete): Remove unused variable `try'.
25965 (makefile-fill-paragraph, makefile-match-function-end):
25966 Mark unused parameters.
25968 * progmodes/octave-inf.el (inferior-octave-complete):
25969 Remove unused variable `proc'.
25970 (inferior-octave-output-digest): Mark unused parameter.
25972 * progmodes/perl-mode.el (perl-calculate-indent):
25973 Remove unused variable `err'.
25975 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
25976 (prolog-indent-line): Mark unused parameters.
25977 (prolog-indent-line): Remove unused variable `beg'.
25979 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
25980 (reporter-dont-compact-list): Declare.
25982 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
25983 Remove unused variable `char'.
25984 (sh-debug): Mark unused parameter.
25985 (sh-get-indent-info): Remove unused variable `start'.
25986 (sh-calculate-indent): Remove unused variable `var'.
25988 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
25989 (simula-electric-keyword): Remove unused variable `null'.
25990 (simula-search-backward, simula-search-forward): Remove unused
25991 variables `begin' and `end'.
25993 * progmodes/vera-mode.el (vera-guess-basic-syntax):
25994 Remove unused variable `pos'.
25995 (vera-electric-tab, vera-comment-uncomment-region):
25996 Mark unused parameters.
25997 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
25999 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
26001 * emacs-lisp/package.el (package--builtins, package-alist)
26002 (package-load-descriptor, package-built-in-p, package-activate)
26003 (define-package, package-installed-p)
26004 (package-compute-transaction, package-buffer-info)
26005 (package--push): Doc fix. Distinguish more clearly between
26006 version strings and version lists.
26008 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
26010 Lexical-binding cleanup.
26012 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
26013 (5x5-make-mutate-best):
26014 * play/fortune.el (fortune-in-buffer):
26015 * play/gomoku.el (gomoku-init-display):
26016 * play/solitaire.el (solitaire, solitaire-do-check):
26017 * play/tetris.el (tetris-default-update-speed-function):
26018 Mark unused parameters.
26020 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
26021 (bubbles--shift): Remove unused variable `char-org'.
26022 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
26023 (bubbles--show-images): Remove unused variable `char'.
26025 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
26026 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
26027 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
26028 (decipher-analyze-buffer): Use ?\s.
26029 (decipher-make-checkpoint): Remove unused variable `mapping'.
26031 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
26033 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
26034 Remove unused variable `result'; use `let'.
26036 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
26037 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
26038 (gametree-children-shown-p, gametree-compute-reduced-score):
26039 Use `ignore-errors'.
26041 * play/handwrite.el (ps-lpr-switches): Declare.
26042 (handwrite): Remove unused variables `pmin' and `lastp'.
26044 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
26046 * play/landmark.el (landmark-init-display)
26047 (landmark-update-naught-weights): Mark unused parameters.
26048 (landmark-y): Remove unused variable `noise'. Simplify.
26049 (landmark-human-plays): Remove unused variable `score'.
26051 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
26052 (mpuz-try-proposal): Remove unused variable `game'.
26054 * play/zone.el (life-patterns): Declare.
26056 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
26058 * vc/vc.el (ediff-vc-internal): Declare function.
26060 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26062 * shell.el: Use lexical-binding and std completion UI.
26063 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
26064 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
26065 comint-preoutput-filter-functions rather than on
26066 comint-output-filter-functions.
26067 (shell-command-completion, shell--command-completion-data)
26068 (shell-filename-completion, shell-environment-variable-completion)
26069 (shell-c-a-p-replace-by-expanded-directory): New functions.
26070 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
26071 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
26072 (shell-dynamic-complete-environment-variable): Use them.
26073 (shell-dynamic-complete-as-environment-variable)
26074 (shell-dynamic-complete-as-command): Remove.
26075 (shell-match-partial-variable): Match past point.
26076 * comint.el: Clean up use of completion-at-point-functions.
26077 (comint-completion-at-point): New function.
26078 (comint-mode): Use it completion-at-point-functions.
26079 (comint-dynamic-complete): Make it obsolete.
26080 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
26081 (comint-c-a-p-replace-by-expanded-history): New function.
26082 (comint-dynamic-complete-functions)
26083 (comint-replace-by-expanded-history): Use it.
26084 * minibuffer.el (completion-table-with-terminator): Allow dynamic
26085 termination strings. Try harder to avoid second try-completion.
26086 (completion-in-region-mode-map): Disable bindings that don't work yet.
26088 * comint.el: Use lexical-binding. Require CL.
26089 (comint-dynamic-complete-functions): Use comint-filename-completion.
26090 (comint-completion-addsuffix): Tweak custom type.
26091 (comint-filename-completion, comint--common-suffix)
26092 (comint--common-quoted-suffix, comint--table-subvert)
26093 (comint--complete-file-name-data): New functions.
26094 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
26095 (comint-dynamic-list-filename-completions): Use them.
26096 (comint-dynamic-simple-complete): Make obsolete.
26098 * minibuffer.el (completion-in-region-mode):
26099 Keep completion-in-region-mode--predicate global.
26100 (completion-in-region--postch):
26101 Assume completion-in-region-mode--predicate is not null.
26103 * progmodes/flymake.el (flymake-start-syntax-check-process):
26104 Obey `dir'. Simplify.
26106 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
26107 we're in VC after all.
26109 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
26111 * vc/vc.el (vc-diff-build-argument-list-internal)
26112 (vc-version-ediff, vc-ediff): New commands.
26113 (vc-version-diff): Use vc-diff-build-argument-list-internal.
26115 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26117 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
26120 * obsolete/erc-hecomplete.el: Make obsolete.
26121 * obsolete/: Standardize obsolescence info in the header.
26123 2011-04-20 Glenn Morris <rgm@gnu.org>
26125 * calendar/solar.el (solar-horizontal-coordinates):
26126 Use the longitude argument rather than `calendar-longitude'.
26127 (solar-date-next-longitude): Remove unused locals.
26129 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
26131 * whitespace.el: New version 13.2.1.
26133 2011-04-20 felix <EmacsWiki> (tiny change)
26135 * whitespace.el (global-whitespace-mode): Keep highlight when
26136 switching between major modes on a file.
26138 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
26140 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
26141 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
26142 multi-line comments as well.
26144 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
26146 Lexical-binding cleanup.
26148 * arc-mode.el (archive-mode-revert):
26149 * cmuscheme.el (scheme-interactively-start-process):
26150 * custom.el (custom-initialize-delay):
26151 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
26152 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
26153 * emacs-lock.el (emacs-lock-clear-sentinel):
26154 * ezimage.el (defezimage):
26155 * follow.el (follow-avoid-tail-recenter):
26156 * fringe.el (set-fringe-mode-1):
26157 * generic-x.el (bat-generic-mode-compile):
26158 * help-mode.el (help-info-variable, help-do-xref)
26159 (help-mode-revert-buffer):
26160 * help.el (view-emacs-todo):
26161 * iswitchb.el (iswitchb-completion-help):
26162 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
26163 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
26164 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
26165 * locate.el (locate-update):
26166 * longlines.el (longlines-encode-region)
26167 (longlines-after-change-function):
26168 * outline.el (outline-isearch-open-invisible):
26169 * ps-def.el (declare-function, charset-dimension, char-width)
26171 * ps-mule.el (ps-mule-plot-string):
26172 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
26173 (recentf-edit-list-select, recentf-edit-list-validate)
26174 (recentf-open-files-action):
26175 * rect.el (delete-whitespace-rectangle-line)
26176 (rectangle-number-line-callback):
26177 * register.el (window-configuration-to-register)
26178 (frame-configuration-to-register):
26179 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
26180 * select.el (xselect-convert-to-string, xselect-convert-to-length)
26181 (xselect-convert-to-targets, xselect-convert-to-delete)
26182 (xselect-convert-to-filename, xselect-convert-to-charpos)
26183 (xselect-convert-to-lineno, xselect-convert-to-colno)
26184 (xselect-convert-to-os, xselect-convert-to-host)
26185 (xselect-convert-to-user, xselect-convert-to-class)
26186 (xselect-convert-to-name, xselect-convert-to-integer)
26187 (xselect-convert-to-atom, xselect-convert-to-identity):
26188 * subr.el (declare, ignore, process-kill-without-query)
26189 (text-clone-maintain):
26190 * terminal.el (te-get-char, te-tic-sentinel):
26191 * tool-bar.el (tool-bar-make-keymap):
26192 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
26193 * type-break.el (type-break-mode, type-break-noninteractive-query):
26194 * view.el (View-back-to-mark):
26195 * wid-browse.el (widget-browse-action, widget-browse-widget)
26196 (widget-browse-widgets, widget-browse-sexp):
26197 * widget.el (define-widget-keywords):
26198 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
26199 Mark unused parameters.
26201 * align.el (align-adjust-col-for-rule): Mark unused parameter.
26202 (align-areas): Remove unused variable `look'.
26203 (align-region): Remove unused variables `real-end' and `pos-list'.
26205 * apropos.el (apropos-score-doc): Remove unused variable `i'.
26207 * bindings.el (mode-line-modified, mode-line-remote):
26208 Mark unused parameters.
26209 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
26211 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
26212 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
26214 * comint.el (comint-history-isearch-pop-state)
26215 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
26216 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
26217 (comint-substitute-in-file-name): Doc fix.
26219 * completion.el (cmpl-statistics-block): Mark unused parameter.
26220 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
26221 (save-completions-to-file, load-completions-from-file):
26222 Remove unused local variable `e'.
26224 * composite.el (compose-chars): Remove unused variable `len'.
26225 (lgstring-insert-glyph): Remove unused variable `g'.
26226 (compose-glyph-string): Remove unused variables `ascent',
26227 `descent', `lbearing' and `rbearing'.
26228 (compose-glyph-string-relative): Remove unused variables
26229 `lbearing', `rbearing' and `wadjust'.
26230 (compose-gstring-for-graphic): Remove unused variables `header',
26231 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
26232 (compose-gstring-for-terminal): Remove unused variables `header'
26233 and `nchars'. Use `let', not `let*'.
26235 * cus-edit.el (Custom-set, Custom-save, custom-reset)
26236 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
26237 (Custom-buffer-done, custom-buffer-create-internal)
26238 (custom-browse-visibility-action, custom-browse-group-tag-action)
26239 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
26240 (widget-magic-mouse-down-action, custom-toggle-parent)
26241 (custom-add-parent-links, custom-toggle-hide-variable)
26242 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
26243 (custom-toggle-hide-face, face, hook, custom-group-link-action)
26244 (custom-face-menu-create, custom-variable-menu-create, get)
26245 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
26246 (custom-reset-standard-save-and-update): Remove unused variable `value'.
26247 (customize-apropos): Remove unused variable `tests'.
26248 (custom-group-value-create): Remove unused variable `hidden-p'.
26249 (sort-fold-case): Declare.
26251 * cus-theme.el (custom-reset-standard-faces-list)
26252 (custom-reset-standard-variables-list): Declare.
26253 (customize-create-theme, custom-theme-revert, custom-theme-write)
26254 (custom-theme-choose-mode, customize-themes, custom-theme-save):
26255 Mark unused parameters.
26257 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
26259 * delim-col.el (delimit-columns-max): Move defvar before first use.
26261 * descr-text.el (describe-char-categories): Don't quote `lambda'.
26262 (describe-char): Don't quote `lambda'. Mark unused parameter.
26264 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
26265 (auto-insert): Declare.
26266 (desktop-restore-file-buffer): Rename desktop-* parameters;
26268 (desktop-create-buffer): Rename desktop-* parameters and bind them.
26269 (desktop-buffer): Rename desktop-* parameters.
26271 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
26272 (dframe-reposition-frame-xemacs, dframe-help-echo)
26273 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
26274 Mark unused parameters.
26276 * dired-aux.el (backup-extract-version-start, overwrite-query)
26277 (overwrite-backup-query, rename-regexp-query)
26278 (rename-non-directory-query): Declare.
26279 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
26280 (dired-add-entry): Remove unused variable `orig-file-name'.
26281 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
26282 Use parameter PRESERVE-TIME instead of accessing dynamic variable
26283 `dired-copy-preserve-time' directly.
26284 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
26285 (dired-insert-subdir-newpos): Rename unused variable `pos'.
26287 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
26288 (dired-virtual-revert, dired-make-relative-symlink):
26289 Mark unused parameters.
26290 (manual-program): Declare.
26291 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
26292 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
26293 wrapped in `with-no-warnings' to avoid replacing one warning by another.
26295 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
26297 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
26299 * echistory.el (electric-history-in-progress, Helper-return-blurb):
26302 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
26304 * electric.el (Electric-command-loop): Rename parameter
26305 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
26307 * expand.el (expand-in-literal): Remove unused variable `here'.
26309 * facemenu.el (facemenu-add-new-color):
26310 Remove unused variable `docstring'.
26312 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
26313 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
26314 (face-attr-construct): Mark unused parameter. Doc fix.
26315 (read-color): Remove unused variable `hex-string'.
26317 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
26318 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
26319 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
26320 (display-buffer-other-frame): Remove unused variable `old-window'.
26321 (kill-buffer-hook): Declare.
26322 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
26323 Mark unused parameters.
26324 (after-find-file): Pass 1 to `auto-save-mode', not t.
26326 * files-x.el (auto-insert): Declare.
26327 (modify-file-local-variable-prop-line): Remove unused variable `val'.
26329 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
26330 variable `buf'. Mark unused parameter.
26331 (find-lisp-insert-directory): Mark unused parameter.
26333 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
26334 (format-encode-region): Remove unused variables `cur-buf' and `result'.
26335 (format-common-tail): Remove, unused.
26336 (format-deannotate-region): Remove unused variable `loc'.
26337 (format-annotate-region): Remove unused variable `p'.
26338 (format-annotate-single-property-change): Remove unused variables
26339 `default' and `tail'.
26341 * forms.el (read-file-filter): Declare.
26342 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
26344 * frame.el (frame-creation-function-alist): Mark unused parameter.
26345 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
26347 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
26348 Remove unused parameters.
26349 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
26350 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
26352 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
26353 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
26354 (hfy-prepare-tag-map): Mark unused parameters.
26355 (htmlfontify-buffer): Use `called-interactively-p'.
26357 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
26358 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
26359 (ibuffer-do-occur): Mark unused parameters.
26360 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
26361 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
26363 * ibuffer.el: Don't quote `lambda'.
26364 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
26365 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
26366 Mark unused parameters.
26368 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
26369 (ido-completing-read): Mark unused parameters.
26370 (ido-copy-current-word): Mark unused parameters;
26371 remove unused variable `name'.
26372 (ido-sort-merged-list): Remove unused parameter `dirs'.
26374 * ielm.el (ielm-input-sender): Mark unused parameter.
26375 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
26376 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
26377 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
26378 `ielm-string' as a dynamic variable accessible from the IELM prompt.
26379 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
26381 * image-dired.el (image-dired-display-thumbs): Remove unused
26382 variables `curr-file' and `count'.
26383 (image-dired-remove-tag): Remove unused variable `start'.
26384 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
26385 variable `curr-file'
26386 (image-dired-rotate-original): Remove unused variable `temp-file'.
26387 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
26388 Remove unused variable `file'.
26389 (image-dired-gallery-generate): Remove unused variable `curr'.
26390 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
26392 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
26394 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
26396 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
26398 * isearch.el (minibuffer-history-symbol): Declare.
26399 (isearch-edit-string): Remove unused variable `err'.
26400 (isearch-message-prefix, isearch-message-suffix):
26401 Mark unused parameters.
26403 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
26405 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
26407 * makesum.el (double-column): Remove unused variable `cnt'.
26409 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
26410 (ido-ignore-item-temp-list): Declare.
26412 * mouse-drag.el (mouse-drag-throw): Remove unused variables
26413 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
26414 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
26415 (mouse-drag-drag): Remove unused variables `mouse-delta' and
26418 * mouse-sel.el (mouse-extend-internal):
26419 Remove unused variable `orig-window-frame'.
26421 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
26422 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
26423 Move declarations before first use.
26424 (pcomplete-opt): Mark unused parameters; doc fix.
26426 * proced.el (proced-revert): Mark unused parameter.
26427 (proced-send-signal): Remove unused variable `err'.
26429 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
26430 Rename parameter PREFIX-ARG to ARG.
26431 (ps-basic-plot-string, ps-basic-plot-whitespace):
26432 Mark unused parameters.
26434 * replace.el (replace-count): Define.
26435 (occur-revert-function): Mark unused parameters.
26436 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
26437 (isearch-case-fold-search, isearch-string): Declare.
26438 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
26439 bind `case-fold-search'. Remove unused variables `beg' and `end',
26441 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
26442 COUNT and bind `replace-count'.
26443 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
26446 * savehist.el (print-readably, print-string-length): Declare.
26448 * shadowfile.el (shadow-expand-cluster-in-file-name):
26449 Remove unused variable `cluster'.
26450 (shadow-copy-file): Remove unused variable `i'.
26451 (shadow-noquery, shadow-clusters, shadow-site-cluster)
26452 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
26453 (shadow-define-literal-group, shadow-define-regexp-group)
26454 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
26456 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
26457 (shell): Use `called-interactively-p'.
26458 (shell-directory-tracker): Remove unused variable `chdir-failure'.
26460 * simple.el (compilation-context-lines, comint-file-name-quote-list)
26461 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
26462 (delete-backward-char): Remove unused variable `ocol'.
26463 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
26464 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
26465 (event-apply-hyper-modifier, event-apply-shift-modifier)
26466 (event-apply-control-modifier, event-apply-meta-modifier):
26467 Mark unused parameters.
26468 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
26469 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
26471 * speedbar.el (speedbar-ignored-directory-expressions)
26472 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
26473 (speedbar-find-file, speedbar-dir-follow)
26474 (speedbar-directory-buttons-follow, speedbar-tag-find)
26475 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
26476 (speedbar-buffers-line-directory, speedbar-buffer-click):
26477 Mark unused parameters.
26478 (speedbar-tag-file): Remove unused variable `mode'.
26479 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
26481 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
26483 * talk.el (talk): Remove unused variable `display'.
26485 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
26486 (tar-write-region-annotate): Mark unused parameter.
26488 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
26489 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
26490 Declare them, wrapped in `with-no-warnings' to avoid replacing one
26491 warning by another.
26493 * time-stamp.el (time-stamp-string-preprocess):
26494 Remove unused variable `require-padding'.
26496 * tree-widget.el (widget-glyph-enable): Declare.
26497 (tree-widget-action): Mark unused parameter.
26499 * w32-fns.el (x-get-selection): Mark unused parameter.
26500 (autoload-make-program, generated-autoload-file): Declare.
26502 * wdired.el (wdired-revert): Mark unused parameters.
26503 (wdired-xcase-word): Remove unused variable `err'.
26505 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
26506 (whitespace-help-scroll): Remove unused variable `data-help'.
26508 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
26509 (widget-image-insert, widget-after-change, default)
26510 (widget-default-format-handler, widget-default-notify)
26511 (widget-default-prompt-value, widget-info-link-action)
26512 (widget-url-link-action, widget-function-link-action)
26513 (widget-variable-link-action, widget-file-link-action)
26514 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
26515 (widget-field-prompt-internal, widget-field-action, widget-field-match)
26516 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
26517 (widget-insert-button-action, widget-delete-button-action, visibility)
26518 (widget-documentation-link-action, widget-documentation-string-action)
26519 (widget-const-prompt-value, widget-regexp-match, symbol)
26520 (widget-coding-system-prompt-value)
26521 (widget-key-sequence-value-to-external, sexp)
26522 (widget-sexp-value-to-internal, character, vector, cons)
26523 (widget-choice-prompt-value, widget-boolean-prompt-value)
26524 (widget-color--choose-action): Mark unused parameters.
26525 (widget-item-match-inline, widget-choice-match-inline)
26526 (widget-checklist-match, widget-checklist-match-inline)
26527 (widget-group-match): Rename parameter VALUES to VALS.
26528 (widget-field-value-set): Remove unused variable `size'.
26529 (widget-color-action): Remove unused variables `value' and `start'.
26531 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
26532 variable `dir'. Doc fix.
26533 (windmove-find-other-window): Don't pass it.
26535 * window.el (count-windows): Mark unused parameter.
26536 (bw-adjust-window): Remove unused variable `err'.
26538 * woman.el (woman-file-name): Remove unused variable `default'.
26539 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
26540 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
26541 (global-font-lock-mode): Declare.
26542 (woman-decode-region): Mark unused parameter.
26543 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
26545 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
26546 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
26547 (x-dnd-handle-moz-url): Remove unused variable `title'.
26548 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
26550 * xml.el (xml-parse-tag, xml-parse-attlist):
26551 Remove unused variable `pos'.
26553 2011-04-19 Glenn Morris <rgm@gnu.org>
26555 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
26556 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
26557 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
26558 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
26559 * calendar/cal-html.el (cal-html-insert-minical):
26560 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
26561 (calendar-mark-date-pattern):
26562 Prefix "unused" locals.
26564 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
26565 optional argument `style'.
26567 * calendar/appt.el (appt-make-list):
26568 * calendar/cal-china.el (calendar-chinese-date-string):
26569 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
26570 (diary-hebrew-yahrzeit):
26571 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
26572 * calendar/calendar.el (calendar-generate-window):
26573 * calendar/time-date.el (time-to-days):
26574 Remove unused local variables.
26576 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
26578 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
26579 glyphless-char-display table.
26580 (tabulated-list-glyphless-char-display): New var.
26582 2011-04-18 Sam Steingold <sds@gnu.org>
26584 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
26585 to acknowledgments.
26587 2011-04-17 Glenn Morris <rgm@gnu.org>
26589 * calendar/diary-lib.el (diary-sexp-entry):
26590 * calendar/holidays.el (holiday-sexp):
26591 Set debug-on-error rather than the removed stack-trace-on-error.
26593 2011-04-16 Glenn Morris <rgm@gnu.org>
26595 * progmodes/f90.el: Use lexical-binding.
26596 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
26598 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26600 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
26601 (mail-mode): Setup mailalias completion here instead.
26602 * mail/mailalias.el: Use lexical-binding.
26603 (pattern, mailalias-done): Declare dynamic.
26604 (mail-completion-at-point-function): New function, from mail-complete.
26605 (mail-complete): Use it.
26606 (mail-completion-expand): New function.
26607 (mail-get-names): Use it.
26608 (mail-directory, mail-directory-process, mail-directory-stream):
26609 Don't use `pattern' for lexically bound arg.
26611 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
26613 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
26614 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
26615 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
26617 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
26618 (byte-save-window-excursion, byte-temp-output-buffer-setup)
26619 (byte-interactive-p): Define them again, for use when inlining
26622 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
26624 * loadup.el: Use `string-to-number', not `string-to-int'.
26626 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26628 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
26629 gud-gdb-complete-command.
26630 (gud-gdb-completions): New function, from gud-gdb-complete-command.
26631 (gud-gdb-completion-at-point): New function.
26632 (gud-gdb-completions): Remove.
26634 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
26636 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
26637 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
26638 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
26639 whether `executable-find' is bound.
26641 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
26643 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
26645 * minibuffer.el (completion-in-region-mode-predicate)
26646 (completion-in-region-mode--predicate): New vars.
26647 (completion-in-region, completion-in-region--postch)
26648 (completion-in-region-mode): Use them.
26649 (completion--capf-wrapper): Also return the hook function.
26650 (completion-at-point, completion-help-at-point):
26651 Adjust and provide a predicate.
26653 Preserve arg names for advice of subr and lexical functions (bug#8457).
26654 * help-fns.el (help-function-arglist): Consolidate the subr and
26655 new-byte-code cases. Add argument `preserve-names' to extract names
26656 from the docstring when needed.
26657 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
26658 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
26659 (ad-arglist): Use help-function-arglist's new arg.
26660 (ad-definition-type): Use cond.
26662 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
26664 * autorevert.el (auto-revert-handler):
26665 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
26666 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
26667 Don't quote lambda.
26669 * image-mode.el (image-transform-set-scale):
26670 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
26672 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
26674 * net/network-stream.el (network-stream-open-starttls): Only do
26675 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
26676 Upgrades via gnutls-cli are too slow to be done opportunistically.
26678 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
26680 * dframe.el (dframe-current-frame): Remove spurious quote.
26682 2011-04-12 Glenn Morris <rgm@gnu.org>
26684 * calendar/cal-tex.el (cal-tex-end-document):
26685 Try to automatically use latin1 input if needed.
26687 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
26688 Don't try to cons a mark onto an empty element.
26690 2011-04-11 Leo Liu <sdl.web@gmail.com>
26692 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
26694 (ido-kill-buffer-at-head): Support killing virtual buffers.
26696 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
26698 * minibuffer.el (completion-show-inline-help): New var.
26699 (completion--do-completion, minibuffer-complete)
26700 (minibuffer-force-complete, minibuffer-complete-word):
26701 Inhibit minibuffer messages if completion-show-inline-help is nil.
26703 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
26704 to avoid interference from inline help (Bug#5849).
26706 2011-04-10 Leo Liu <sdl.web@gmail.com>
26708 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
26711 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
26713 * image-mode.el (image-toggle-display-image): Signal an error if
26715 (image-transform-mode, image-transform-resize)
26716 (image-transform-set-rotation): Doc fix.
26717 (image-transform-set-resize): Delete.
26718 (image-transform-set-scale, image-transform-fit-to-height)
26719 (image-transform-fit-to-width): Handle image-toggle-display-image
26720 and image-transform-resize directly.
26722 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
26724 * doc-view.el (doc-view-fit-width-to-window)
26725 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
26726 New functions for fitting the shown image to the Emacs window size.
26727 (doc-view-mode-map): Add bindings for the new functions.
26729 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
26731 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
26732 Fix typo in docstring.
26734 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26736 * files.el (file-size-human-readable): Produce one digit after
26737 decimal, like "ls -lh" does.
26739 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
26740 the file size representation.
26742 * simple.el (list-processes): If async subprocesses are not
26743 available, error out with a clear error message.
26745 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
26747 * help.el (help-form-show): New function, to be called from C.
26748 Put help-form output in a buffer named differently than *Help*.
26750 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26752 * files.el (file-size-human-readable): New function.
26754 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
26755 computing the representation inline. Don't require `cl'.
26757 2011-04-08 Glenn Morris <rgm@gnu.org>
26759 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
26761 * net/browse-url.el (browse-url-firefox):
26762 Test system-type, not system-configuration.
26764 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
26765 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
26766 Use log-edit-empty-buffer-p. (Bug#7598)
26768 * net/rlogin.el (rlogin-process-connection-type): Simplify.
26769 (rlogin-mode-map): Initialize in the defvar.
26770 (rlogin): Use ignore-errors.
26772 * replace.el (occur-mode-map): Some fixes for menu items.
26774 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
26776 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
26778 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26780 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
26781 issuing unused warnings.
26783 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
26786 * simple.el: Lisp reimplement of list-processes. Based on an
26787 earlier reimplementation by Leo Liu, but using tabulated-list.el.
26788 (process-menu-mode): New major mode.
26789 (list-processes--refresh, list-processes):
26790 (process-menu-visit-buffer): New functions.
26792 * files.el (save-buffers-kill-emacs): Don't assume any return
26793 value of list-processes, which is undocumented anyway.
26795 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26797 * emacs-lisp/tabulated-list.el: New file.
26799 * emacs-lisp/package.el: Use Tabulated List mode.
26800 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
26801 (package-menu-mode): Derive from tabulated-list-mode. Set up the
26802 table format using Tabulated List mode variables.
26803 (package--push): New macro, replacing package-list-maybe-add.
26804 (package-menu--generate): Use package--push. Renamed from
26805 package--generate-package-list.
26806 (package-menu-refresh, list-packages): Use it.
26807 (package-menu--print-info): Rename from package-print-package.
26808 Return insertion data instead of inserting it directly.
26809 (package-menu-describe-package, package-menu-execute):
26810 Use tabulated-list-get-id.
26811 (package-menu-mark-delete, package-menu-mark-install)
26812 (package-menu-mark-unmark, package-menu-backup-unmark)
26813 (package-menu-mark-obsolete-for-deletion):
26814 Use tabulated-list-put-tag.
26815 (package--list-packages, package-menu-revert)
26816 (package-menu-get-package, package-menu-get-version)
26817 (package-menu-sort-by-column): Functions deleted.
26818 (package-menu-package-list, package-menu-sort-key): Vars deleted.
26819 (package-menu--status-predicate, package-menu--version-predicate)
26820 (package-menu--name-predicate)
26821 (package-menu--description-predicate): Handle arguments in the
26822 Tabulated List format.
26823 (package-list-packages-no-fetch): Call list-packages.
26825 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
26827 * files.el (after-find-file-from-revert-buffer): Remove variable.
26828 (after-find-file): Don't bind it.
26829 (revert-buffer-in-progress-p): New variable.
26830 (revert-buffer): Bind it.
26831 Pass nil for `after-find-file-from-revert-buffer'.
26833 * saveplace.el (save-place-find-file-hook): Use new variable
26834 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
26836 2011-04-06 Glenn Morris <rgm@gnu.org>
26838 * Makefile.in (AUTOGEN_VCS): New variable.
26839 (autoloads): Use $AUTOGEN_VCS.
26841 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
26842 * calendar/calendar.el (calendar-mode-map):
26843 Check for toolkit scroll bars. (Bug#8305)
26845 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26847 * minibuffer.el (completion-in-region--postch)
26848 (completion-in-region-mode): Remove unnecessary messages.
26850 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
26852 * font-lock.el (font-lock-refresh-defaults):
26853 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
26854 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
26856 * info.el (Info-directory-list, Info-read-node-name-2)
26857 (Info-split-parameter-string): Doc fixes.
26858 (Info-virtual-nodes): Reflow docstring.
26859 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
26860 (Info-apropos-toc-nodes, info-finder, Info-get-token)
26861 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
26862 Fix typos in docstrings.
26863 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
26864 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
26865 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
26866 (Info-restore-desktop-buffer): Mark unused parameters.
26867 (Info-directory-find-file, Info-directory-find-node)
26868 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
26869 (Info-virtual-index-find-node, Info-apropos-find-file)
26870 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
26871 Mark unused parameters; fix typos in docstrings.
26872 (Info-virtual-index): Remove unused local variable `nodename'.
26874 2011-04-05 Deniz Dogan <deniz@dogan.se>
26876 * net/rcirc.el: Update my e-mail address.
26877 (rcirc-mode-map): Remove M-o binding.
26879 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26881 * startup.el (command-line): Save the cursor's theme-face
26882 directly, instead of using face-override-spec.
26884 * custom.el (load-theme): Minor optimization in assigning faces.
26886 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26888 * help-fns.el (describe-variable): Complete all variables having
26889 documentation, including keywords.
26890 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
26892 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26894 Convert to lexical-binding.
26896 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
26897 (bs--get-marked-string, bs--get-modified-string)
26898 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
26899 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
26900 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
26902 * ehelp.el (electric-help-execute-extended)
26903 (electric-help-ctrl-x-prefix):
26904 * hexl.el (hexl-revert-buffer-function):
26905 * linum.el (linum-after-change, linum-after-scroll):
26906 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
26908 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
26910 2011-04-04 Daiki Ueno <ueno@unixuser.org>
26917 * epg.el: Use lexical binding.
26919 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
26921 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
26923 * textmodes/flyspell.el (flyspell-word): Recognize default
26924 dictionary case for flyspell-mark-duplications-exceptions.
26925 Use regexp matching for languages.
26926 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
26927 default dictionary (Bug#7926).
26929 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
26931 * emacs-lisp/package.el (package--with-work-buffer):
26932 Recognize https URLs.
26934 * net/network-stream.el: Move from gnus/proto-stream.el.
26935 Change prefix to network-stream throughout.
26936 (open-protocol-stream): Merge into open-network-stream, leaving
26937 open-protocol-stream as an alias. Handle nil BUFFER args.
26939 * subr.el (open-network-stream): Move to net/network-stream.el.
26941 2011-04-02 Glenn Morris <rgm@gnu.org>
26943 * find-dired.el (find-exec-terminator): New option.
26944 (find-ls-option): Test for -ls support.
26945 (find-ls-subdir-switches): Test for -b in find-ls-option.
26946 (find-dired, find-grep-dired): Doc fixes.
26947 (find-dired): Use find-exec-terminator.
26949 * find-dired.el (find-ls-option, find-ls-subdir-switches)
26950 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
26951 (find-name-arg): Remove purecopy.
26953 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
26954 (grep-compute-defaults): Check for `-exec COMMAND +' support.
26955 Set grep-find-use-xargs, grep-find-command, and grep-find-template
26956 accordingly. Don't add the null-device if not needed.
26958 * files.el (save-some-buffers): Doc fix.
26960 2011-04-02 Eli Zaretskii <eliz@gnu.org>
26962 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
26964 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
26966 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
26967 Use `dolist' rather than `mapcar'.
26969 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
26971 Add lexical binding.
26973 * subr.el (apply-partially): Use new closures rather than CL.
26974 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
26975 (dolist, dotimes): Use slightly different expansion for lexical code.
26976 (functionp): Move to C.
26977 (letrec): New macro.
26978 (with-wrapper-hook): Use it and apply-partially instead of CL.
26979 (eval-after-load): Preserve lexical-binding.
26980 (save-window-excursion, with-output-to-temp-buffer): Turn them
26983 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
26985 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
26987 (help-add-fundoc-usage): Don't add `Not documented'.
26988 (help-function-arglist): Handle closures, subroutines, and new
26989 byte-code-functions.
26990 (help-make-usage): Remove leading underscores.
26991 (describe-function-1): Handle closures.
26992 (describe-variable): Use special-variable-p for completion.
26994 * files.el (lexical-binding): Declare safe.
26996 * emacs-lisp/pcase.el: Don't use destructuring-bind.
26997 (pcase--memoize): Rename from pcase-memoize. Change weakness.
26998 (pcase): Add `let' pattern.
26999 Change memoization so it actually works.
27000 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
27001 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
27004 * emacs-lisp/macroexp.el: Use lexical binding.
27005 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
27006 Don't convert ' to #' without checking that it's indeed quoting
27009 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
27010 Use eval-sexp-add-defvars.
27011 (eval-sexp-add-defvars): New fun.
27013 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
27015 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
27017 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
27018 than the internal `byte-compile-lambda'.
27019 (defmethod): Don't hide code under quotes.
27020 (eieio-defmethod): New `code' argument.
27022 * emacs-lisp/eieio-comp.el: Remove.
27024 * emacs-lisp/edebug.el (edebug-eval-defun)
27025 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
27026 (edebug-toggle): Avoid `eval'.
27028 * emacs-lisp/disass.el (disassemble-internal): Handle new
27030 (disassemble-1): Handle new byte codes.
27032 * emacs-lisp/cl.el (pushnew): Silence warning.
27034 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
27035 (cl-byte-compile-throw): Remove.
27036 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
27038 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
27041 * emacs-lisp/cconv.el: New file.
27043 * emacs-lisp/bytecomp.el: Use lexical binding instead of
27044 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
27045 (byte-compile-initial-macro-environment):
27046 Handle declare-function here.
27047 (byte-compile--lexical-environment): New var.
27048 (byte-stack-ref, byte-stack-set, byte-discardN)
27049 (byte-discardN-preserve-tos): New lap codes.
27050 (byte-interactive-p): Don't use any more.
27051 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
27053 (byte-compile-lapcode): Use them and handle new lap codes.
27054 (byte-compile-obsolete): Remove.
27055 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
27056 (byte-compile-arglist-warn): Check late def of inlinable funs.
27057 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
27058 since they should have been expanded by now.
27059 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
27060 (byte-compile-from-buffer): Remove unused second arg.
27061 (byte-compile-preprocess): New function.
27062 (byte-compile-toplevel-file-form): New function to distinguish
27063 file-form calls from outside from file-form calls from hunk-handlers.
27064 (byte-compile-file-form): Simplify.
27065 (byte-compile-file-form-defsubst): Remove.
27066 (byte-compile-file-form-defmumble): Simplify now that
27067 byte-compile-lambda always returns a byte-code-function.
27068 (byte-compile): Preprocess.
27069 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
27070 Remove, not used any more.
27071 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
27072 (byte-compile-make-args-desc): New funs.
27073 (byte-compile-lambda): Handle lexical functions. Always return
27074 a byte-code-function.
27075 (byte-compile-reserved-constants): New var, to make up room for
27076 closed-over variables.
27077 (byte-compile-constants-vector): Obey it.
27078 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
27079 (byte-compile-macroexpand-declare-function): New function.
27080 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
27081 byte-code-functions.
27082 (byte-compile-form): Check obsolescence here.
27083 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
27084 (byte-compile-variable-ref): Remove.
27085 (byte-compile-dynamic-variable-op): New fun.
27086 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
27087 (byte-compile-variable-set): New funs.
27088 (byte-compile-discard): Add 2 args.
27089 (byte-compile-stack-ref, byte-compile-stack-set)
27090 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
27091 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
27092 macroexpand-all instead.
27093 (byte-compile-quote-form): Remove.
27094 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
27095 (byte-compile-bind, byte-compile-unbind): New funs.
27096 (byte-compile-let): Handle let* and lexical binding.
27097 (byte-compile-let*): Remove.
27098 (byte-compile-catch, byte-compile-unwind-protect)
27099 (byte-compile-track-mouse, byte-compile-condition-case):
27100 Handle a new :fun-body form, used for lexical scoping.
27101 (byte-compile-save-window-excursion)
27102 (byte-compile-with-output-to-temp-buffer): Remove.
27103 (byte-compile-defun): Simplify.
27104 (byte-compile-stack-adjustment): New fun.
27105 (byte-compile-out): Use it.
27106 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
27108 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
27111 * emacs-lisp/byte-opt.el: Use lexical binding.
27112 (byte-inline-lapcode): Remove (to bytecomp).
27113 (byte-compile-inline-expand): Pay attention to inlining to/from
27114 lexically bound code.
27115 (byte-compile-unfold-lambda): Don't handle byte-code-functions
27117 (byte-optimize-form-code-walker): Don't handle save-window-excursion
27118 any more and don't call compiler-macros.
27119 (byte-compile-splice-in-already-compiled-code): Remove.
27120 (byte-code): Don't inline any more.
27121 (disassemble-offset): Receive `bytes' as argument rather than via
27123 (byte-compile-tag-number): Declare before first use.
27124 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
27125 `return' even if make-spliceable.
27126 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
27127 obsolete interactive-p.
27128 (byte-optimize-lapcode): Optimize new lap-codes.
27129 Don't trip up on new form of `byte-constant' lap code.
27131 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
27133 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
27135 * custom.el (custom-initialize-default, custom-declare-variable):
27138 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
27140 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
27141 (COMPILE_FIRST): Add macroexp and cconv.
27142 * makefile.w32-in: Mirror changes in Makefile.in.
27144 * vc/cvs-status.el:
27148 * vc/smerge-mode.el:
27149 * textmodes/bibtex-style.el:
27150 * textmodes/css-mode.el:
27158 * emacs-lisp/smie.el:
27161 * abbrev.el: Use lexical binding.
27163 2011-04-01 Eli Zaretskii <eliz@gnu.org>
27165 * info.el (info-display-manual): New function.
27167 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
27169 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
27171 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
27173 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
27174 an entry for that server in rcirc-authinfo. (Bug#8385)
27176 2011-03-31 Glenn Morris <rgm@gnu.org>
27178 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
27180 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
27182 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
27184 * progmodes/python.el (python-default-interpreter)
27185 (python-python-command-args, python-jython-command-args)
27186 (python-which-shell, python-which-args, python-which-bufname)
27187 (python-file-queue, python-comint-output-filter-function)
27188 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
27189 variables and functions.
27191 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
27193 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
27194 (completion-in-region-mode): New minor mode.
27195 (completion-in-region): Use it.
27196 (completion-in-region--data, completion-in-region-mode-map): New vars.
27197 (completion-in-region--postch): New function.
27198 (completion--capf-misbehave-funs, completion--capf-safe-funs):
27200 (completion--capf-wrapper): New function.
27201 (completion-at-point): Use it to track well-behavedness of
27203 (completion-help-at-point): New command.
27205 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
27207 * vc/add-log.el (add-change-log-entry): Don't use whitespace
27208 syntax class to search for whitespace on a single line
27209 (Message-ID: <4D938140.4030905@redhat.com>).
27211 2011-03-30 Leo Liu <sdl.web@gmail.com>
27213 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
27215 (edit-abbrevs-map): Bind them here.
27216 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
27218 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
27220 * allout.el (allout-hide-by-annotation, allout-flag-region):
27221 Reduce possibility of overlay leakage by making them volatile.
27223 * allout-widgets.el (allout-widgets-tally): Define as nil so the
27224 hash is not shared between buffers. Mode initialization is
27225 responsible for giving it a useful starting value.
27226 (allout-item-span): Reduce possibility of overlay leakage by
27227 making them volatile.
27228 (allout-widgets-count-buttons-in-region): Add diagnostic function
27229 for tracking down button overlay leaks.
27231 2011-03-29 Leo Liu <sdl.web@gmail.com>
27233 * ido.el (ido-read-internal): Use the default history var
27234 minibuffer-history if no HISTORY is specified.
27236 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
27238 * net/imap.el (imap-shell-open, imap-process-connection-type):
27239 Use imap-process-connection-type for 'shell' streams as well as
27240 Kerberos, SSL, other subprocesses.
27242 2011-03-28 Leo Liu <sdl.web@gmail.com>
27244 * abbrev.el (abbrev-table-empty-p): New function.
27245 (prepare-abbrev-list-buffer): Place empty abbrev tables after
27246 nonempty ones. (Bug#5937)
27248 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
27250 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
27252 2011-03-27 Leo Liu <sdl.web@gmail.com>
27254 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
27255 for foreground and background colors.
27256 (ansi-color-make-color-map): Adapt.
27258 2011-03-25 Leo Liu <sdl.web@gmail.com>
27260 * midnight.el (midnight-time-float): Remove. Note it calculates
27261 the microsecond component incorrectly and seconds-to-time does the
27263 Remove redundant (require 'timer).
27265 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
27266 (ido-completions): Remove unused arguments. (Bug#8329)
27268 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
27270 * minibuffer.el (completion--flush-all-sorted-completions):
27271 Remove itself from hook.
27272 (completion-at-point): Let the functions perform the completion
27273 immediately and return nil or t.
27274 * comint.el (comint-dynamic-complete-functions): Now identical to
27275 completion-at-point-functions.
27276 (comint-dynamic-list-input-ring): Remove unused var `index'.
27277 (comint--match-partial-filename, comint--unquote&expand-filename):
27278 New funs, split from comint-match-partial-filename.
27279 (comint-dynamic-complete): Use completion-at-point.
27280 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
27282 2011-03-24 Drew Adams <drew.adams@oracle.com>
27284 * thingatpt.el: Support `defun'.
27286 2011-03-23 Leo Liu <sdl.web@gmail.com>
27288 * abbrevlist.el: Move to obsolete/abbrevlist.el.
27290 * help-mode.el (help-mode-finish): Tweak regexp.
27292 2011-03-23 Glenn Morris <rgm@gnu.org>
27294 * eshell/esh-opt.el (eshell-eval-using-options):
27295 Do not bind unused local variable `eshell-option-stub'.
27297 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
27299 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27301 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
27302 keymap variable in `with-no-warnings' to avoid a warning when the
27303 keymap has been already `defconst'ed.
27305 2011-03-22 Leo Liu <sdl.web@gmail.com>
27307 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
27308 encode all chars in abbrevs; otherwise use emacs-mule or
27309 utf-8-emacs. (Bug#8308)
27311 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27313 * simple.el (backward-delete-char-untabify):
27314 Avoid warning about using `delete-backward-char'.
27316 * image.el (image-type-file-name-regexps): Make it variable.
27317 `imagemagick-register-types' modifies it, and the user may want
27318 to add new extensions for known image types.
27319 (imagemagick-register-types): Throw error if not using ImageMagick.
27321 2011-03-22 Leo Liu <sdl.web@gmail.com>
27323 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
27324 located before rcirc-prompt-end-marker.
27325 (rcirc-complete): Error if point is not after rcirc prompt.
27326 Handle the case when table is nil.
27327 (rcirc-user-authenticated): Define to fix compiler warning.
27329 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
27331 * custom.el (custom--inhibit-theme-enable): Make it affect only
27332 custom-theme-set-variables and custom-theme-set-faces.
27333 (provide-theme): Ignore custom--inhibit-theme-enable.
27334 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
27335 (custom-enabling-themes): Delete variable.
27336 (enable-theme): Accept only loaded themes as arguments.
27337 Ignore the special custom-enabled-themes variable.
27338 (custom-enabled-themes): Forbid themes from setting this.
27339 Eliminate use of custom-enabling-themes.
27340 (custom-push-theme): Quote "changed" custom var entry.
27342 2011-03-21 Leo Liu <sdl.web@gmail.com>
27344 * ido.el (ido-read-internal): Add ido-selected to history instead
27347 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
27349 * subr.el (deferred-action-list, deferred-action-function):
27352 2011-03-21 Leo Liu <sdl.web@gmail.com>
27354 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
27355 change on 2011-02-13 (bug#8309).
27357 * minibuffer.el (read-file-name-function): Change default value.
27358 (read-file-name--defaults): Rename from read-file-name-defaults.
27359 (read-file-name-default): Rename from read-file-name.
27360 (read-file-name): Call read-file-name-function.
27362 2011-03-21 Glenn Morris <rgm@gnu.org>
27364 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
27367 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
27369 * cus-theme.el: Add missing provide statement.
27370 (customize-create-theme): Extract theme value correctly.
27371 (custom-theme-visit-theme): Autoload.
27372 (customize-create-theme): Prompt before inserting default faces.
27374 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
27376 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
27377 units and musical notes.
27379 2011-03-20 Leo Liu <sdl.web@gmail.com>
27381 * ido.el (ido-read-internal): Use completing-read-default.
27382 (ido-completing-read): Fix compatibility with completing-read.
27384 2011-03-20 Christian Ohler <ohler@gnu.org>
27386 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
27387 (ert-delete-all-tests): Use `called-interactively-p' rather than
27389 (ert--make-xrefs-region): Respect END.
27391 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27393 * dired-aux.el (dired-create-directory): Signal an error if the
27394 directory already exists (Bug#8246).
27396 * facemenu.el (list-colors-display): Call list-faces-display
27397 inside with-help-window.
27398 (list-colors-print): Use display property to align the final
27399 column, instead of checking window-width.
27401 2011-03-19 Eli Zaretskii <eliz@gnu.org>
27403 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
27404 windows-nt systems.
27405 (emerge-protect-metachars): Quote correctly for ms-dos and
27406 windows-nt systems.
27408 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
27410 * info.el (info-initialize): Replace all uses of `:' with
27411 path-separator for compatibility with non-Unix systems.
27412 Cache quoting of path-separator. (Bug#8258)
27414 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
27416 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
27417 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
27418 (mouse-avoidance-mode): Fix typos in docstrings.
27420 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27422 * startup.el (package-subdirectory-regexp): Move from package.el.
27423 Omit \\` and \\', and let callers add them.
27425 * emacs-lisp/package.el (package-strip-version)
27426 (package-load-all-descriptors): Add \\` and \\' to
27427 package-subdirectory-regexp before using it.
27428 (package-untar-buffer): New arg DIR; ensure that file untars only
27429 into this expected directory. Remove superfluous delete-region.
27430 (package-unpack): Caller changed.
27431 (package-tar-file-info): Use package-subdirectory-regexp.
27433 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
27435 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
27436 diff-mode-shared-map (bug#8284).
27437 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
27439 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
27441 * calendar/time-date.el (format-seconds): Use assoc instead of
27442 assoc-string, since assoc-string doesn't exist in XEmacs.
27444 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
27446 * custom.el (custom-known-themes): Reflow docstring.
27447 (custom-theme-load-path): Fix typo in docstring.
27448 (load-theme): Fix typo in error message.
27449 (custom-available-themes, custom-variable-theme-value):
27450 Use `let', not `let*'.
27452 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
27454 * calc/README: Mention inclusion of musical notes.
27456 * calc/calc-units.el (calc-lu-quant): Rename from
27457 `calc-logunits-quantity'.
27458 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
27459 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
27460 (calc-db): Rename from `calc-dblevel'.
27461 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
27462 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
27463 (calc-np): Rename from `calc-nplevel'.
27464 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
27465 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
27466 (calc-lu-plus): Rename from `calc-logunits-add'.
27467 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
27468 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
27469 (calc-lu-minus): Rename from `calc-logunits-sub'.
27470 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
27471 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
27472 (calc-lu-times): Rename from `calc-logunits-mul'.
27473 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
27474 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
27475 (calc-lu-divide): Rename from `calc-logunits-div'.
27476 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
27477 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
27479 * calc/calc-ext.el (calc-init-extensions): Update the names of the
27480 functions being autoloaded.
27482 * calc/calc.el (calc-lu-power-reference): Rename from
27483 `calc-logunits-power-reference'.
27484 (calc-lu-field-reference): Rename from
27485 `calc-logunits-field-reference'.
27487 * calc/calc-help.el (calc-l-prefix-help):
27488 Mention musical note functions.
27490 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
27492 * minibuffer.el (completion-all-sorted-completions):
27493 Use :completion-cycle-penalty text property if present.
27495 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
27497 * allout.el (allout-yank-processing): Adjust for new rebulleting
27498 regime so bullet being yanked is used without prompting the user
27501 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27503 * startup.el (command-line): Warn the user that _emacs is deprecated.
27505 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27507 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
27508 (delphi-verbose, delphi-comment-face, delphi-string-face)
27509 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
27510 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
27511 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
27512 (delphi-new-comment-line, delphi-font-lock-defaults)
27513 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
27514 Fix typos in docstrings.
27516 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
27518 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
27519 Invert the roles of character and string values for INSTEAD, so a
27520 string is used for the more common case of a defaulting prompt.
27522 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27524 * progmodes/ruby-mode.el (ruby-backward-sexp):
27525 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
27526 * play/gamegrid.el (gamegrid-make-face):
27527 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
27528 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
27529 * notifications.el (notifications-notify):
27530 * net/xesam.el (xesam-search-engines):
27531 * net/quickurl.el (quickurl-list-insert):
27532 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
27534 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
27536 * startup.el (command-line): Update package subdirectory regexp.
27538 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27540 * allout.el (allout-abbreviate-flattened-numbering)
27541 (allout-mode-deactivate-hook): Fix up obsolescence "date".
27543 * subr.el (read-char-choice): Only show the cursor after the prompt,
27544 not after the answer.
27546 2011-03-15 Kevin Ryde <user42@zip.com.au>
27548 * help-fns.el (variable-at-point): Skip leading quotes, if any
27551 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27553 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
27556 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
27558 * shell.el (shell): When called interactively, offer to change the
27559 shell file name on remote hosts.
27561 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
27563 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
27564 integration for LDAP parameters. The host, base, user or binddn,
27565 and secret tokens can be specified in a netrc file, for instance.
27566 This is optional because an `auth-source' parameter must be
27567 specified in the search attributes.
27569 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
27571 * help.el (describe-mode): Link to the mode's definition (bug#8185).
27573 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27575 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
27576 into declaration. Remove redundant and harmful binding.
27578 2011-03-12 Eli Zaretskii <eliz@gnu.org>
27580 * files.el (file-ownership-preserved-p): Pass `integer' as an
27581 explicit 2nd argument to `file-attributes'. If the file's owner
27582 is the Administrators group on Windows, and the current user is
27583 Administrator, consider that a match.
27585 * server.el (server-ensure-safe-dir): Consider server directory
27586 safe on MS-Windows if its owner is the Administrators group while
27587 the current Emacs user is Administrator. Use `=' to compare
27588 numerical UIDs, since they could be integers or floats.
27590 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
27592 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
27594 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
27596 Sync with Tramp 2.2.1.
27598 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
27600 * net/trampver.el: Update release number.
27602 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27604 * progmodes/compile.el (compilation--previous-directory): Fix up
27605 various nil/dead-marker mismatches (bug#8014).
27606 (compilation-directory-properties, compilation-error-properties):
27607 Don't call it at a position past the one we're about to change.
27609 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
27610 Disable obsolescence warnings in the file that declares it.
27612 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
27614 * allout-widgets.el (allout-widgets-tally):
27615 Initialize allout-widgets-tally as a hash table rather than nil to
27616 prevent mode-line redisplay warnings. Also, clarify the module
27617 description and fix a comment typo.
27619 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
27621 * help-fns.el (describe-variable): Don't complete keywords.
27622 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
27624 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
27626 * emacs-lisp/package.el (package-version-join): Impose a standard
27627 string representation for pre/alpha/beta version lists.
27628 (package-unpack-single): Standardize the directory name by passing
27629 it through package-version-join.
27630 (package-strip-rcs-id): Accept any version string that does not
27631 signal an error in version-to-list.
27633 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
27635 * simple.el (delete-trailing-whitespace): Return nil for the
27636 benefit of `write-file-functions'.
27638 2011-03-10 Glenn Morris <rgm@gnu.org>
27640 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
27642 * vc/vc-git.el (vc-git-program): New option.
27643 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
27644 (vc-git--call): Use it.
27646 * eshell/esh-util.el (eshell-condition-case): Doc fix.
27648 * cus-edit.el (Custom-newline): If no button at point, look
27649 for a subgroup button at start-of-line. (Bug#2298)
27651 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
27653 2011-03-10 Julien Danjou <julien@danjou.info>
27655 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
27656 `cursor-type' is nil.
27658 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
27660 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
27662 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
27664 * allout.el: Change so yank of distinctive-bullet items
27665 preserves the existing header prefix, rebulleting it if necessary,
27666 rather than replacing it. This is necessary for proper operation
27667 of cooperative addons like allout-widgets.
27668 (allout-make-topic-prefix, allout-rebullet-heading):
27669 Change SOLICIT arg to INSTEAD, and interpret additionally a string
27670 value as alternate bullet to be used, instead of prompting the user
27671 for a bullet character.
27673 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
27675 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
27676 Do not use `tramp-file-name-port', because this returns also
27677 `tramp-default-port'.
27679 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
27681 * net/rcirc.el (rcirc-handler-001): Remove useless
27682 with-rcirc-process-buffer.
27683 (rcirc-check-auth-status): Swap arguments to string-match.
27685 2011-03-09 Glenn Morris <rgm@gnu.org>
27687 * shell.el (shell-mode):
27688 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
27690 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
27691 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
27693 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27695 * emacs-lisp/package.el (package-refresh-contents)
27696 (package-menu-execute): Use condition-case-no-debug.
27698 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
27700 * simple.el (shell-command-to-string): Use `process-file'.
27702 * emacs-lisp/package.el (package-tar-file-info): Handle also
27705 * emacs-lisp/package-x.el (package-upload-buffer-internal):
27706 Use `equal' for upload base check.
27708 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
27710 * textmodes/texinfo.el (texinfo-environments):
27711 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
27713 2011-03-08 Glenn Morris <rgm@gnu.org>
27715 * cus-start.el (cursor-in-non-selected-windows):
27716 Fix :set quoting oddness. (Bug#8192)
27718 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
27719 in some setf expressions. (Bug#2159)
27721 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27723 * custom.el (custom-available-themes): Return themes in
27724 alphabetical order.
27726 See ChangeLog.15 for earlier changes.
27728 ;; Local Variables:
27732 Copyright (C) 2011-2013 Free Software Foundation, Inc.
27734 This file is part of GNU Emacs.
27736 GNU Emacs is free software: you can redistribute it and/or modify
27737 it under the terms of the GNU General Public License as published by
27738 the Free Software Foundation, either version 3 of the License, or
27739 (at your option) any later version.
27741 GNU Emacs is distributed in the hope that it will be useful,
27742 but WITHOUT ANY WARRANTY; without even the implied warranty of
27743 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27744 GNU General Public License for more details.
27746 You should have received a copy of the GNU General Public License
27747 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.