1 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
4 error-completion on the first 2 args of condition-case (bug#14446).
7 2013-05-25 Leo Liu <sdl.web@gmail.com>
9 * comint.el (comint-previous-matching-input): Do not flood the
10 *Messages* buffer with trivial messages.
12 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14 * progmodes/flymake.el (flymake-nop): Don't return a string.
15 (flymake-set-at): Fix typo.
17 * simple.el (read--expression): New function, extracted from
18 eval-expression. Set completion-at-point-functions (bug#14465).
19 (eval-expression, eval-minibuffer): Use it.
21 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
23 * progmodes/flymake.el (flymake-save-buffer-in-file)
24 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
25 (flymake-selected-frame, flymake-log, flymake-ins-after)
26 (flymake-set-at, flymake-get-buildfile-from-cache)
27 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
28 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
29 Refine the doc string.
30 (flymake-get-file-name-mode-and-masks): Reformat.
31 (flymake-get-real-file-name-function): Fix a minor bug.
33 2013-05-24 Juri Linkov <juri@jurta.org>
35 * progmodes/grep.el (grep-mode-font-lock-keywords):
36 Support =linenumber= format used by git-grep for lines with
37 function names. (Bug#13549)
39 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
41 * progmodes/octave.el (octave-smie-rules): Return nil rather than
42 0 after a semi-colon; it works better for smie-auto-fill.
43 (octave--indent-new-comment-line): New function.
44 (octave-indent-new-comment-line): Use it (indirectly).
45 (octave-mode): Don't disable smie-auto-fill. Use add-function to
46 modify comment-line-break-function.
48 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
49 (smie-setup): Use add-function to set it.
51 2013-05-24 Sam Steingold <sds@gnu.org>
53 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
54 argument (before the `interactive' argument).
56 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
58 * image-mode.el (image-mode-winprops): Add winprops to
59 image-mode-winprops-alist before running
60 image-mode-new-window-functions.
61 * doc-view.el (doc-view-new-window-function): Don't delay
62 doc-view-goto-page via timers (bug#14435).
64 2013-05-24 Tassilo Horn <tsdh@gnu.org>
66 * doc-view.el: Integrate with desktop.el. (Bug#14435)
67 (doc-view-desktop-save-buffer): New function.
68 (doc-view-restore-desktop-buffer): New function.
69 (desktop-buffer-mode-handlers):
70 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
72 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
73 `desktop-save-buffer' function.
75 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
77 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
78 (tramp-gvfs-file-name-handler): Raise a user error when
79 `tramp-gvfs-enabled' is nil.
80 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
81 Do not raise a user error when loading package. (Bug#14447)
83 * net/xesam.el: Move to obsolete/.
85 2013-05-24 Glenn Morris <rgm@gnu.org>
87 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
89 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
91 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
92 (Info-find-node, Man-getpage-in-background): Declare.
94 * mail/unrmail.el (unrmail):
95 Replace obsolete detect-coding-with-priority.
97 * net/socks.el (socks-split-string): Use this rather than split-string.
98 (socks-nslookup-host): Update for above change.
99 (dynamic-choice, s5-dynamic-choice-match)
100 (s5-dynamic-choice-match-inline, s5-widget-value-create):
101 Comment out unused code.
103 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
104 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
105 (gud-tooltip-echo-area): Make obsolete.
106 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
108 * progmodes/js.el (js--optimize-arglist): Declare.
110 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
112 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
113 (ediff-window-C): Declare.
115 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
116 Tweak requires to silence compiler.
118 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
119 (he-search-string, he-tried-table, he-expand-list)
120 (he-init-string, he-string-member, he-substitute-string)
121 (he-reset-string): Declare.
123 * obsolete/options.el (list-options): Use custom-variable-p,
124 rather than obsolete alias.
126 2013-05-23 Sam Steingold <sds@gnu.org>
128 * simple.el (shell-command-on-region): Pass the `replace' argument
129 down to `call-process-region' to comply with the doc as reported on
130 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
132 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
134 * emacs-lisp/smie.el (smie-indent-forward-token)
135 (smie-indent-backward-token): Handle string tokens (bug#14381).
137 2013-05-23 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
139 * ielm.el (ielm-menu): New menu.
140 (inferior-emacs-lisp-mode): Set comment-start.
142 2013-05-23 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
144 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
145 Fix deactivate action.
147 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
150 * lisp/textmodes/reftex-parse.el
151 (reftex-locate-bibliography-files): Accept options for
152 bibliography commands.
153 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
154 Add addbibresource. Basic Biblatex support.
156 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
158 * net/tramp-gvfs.el (top):
159 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
160 when loading package. (Bug#14447)
162 2013-05-23 Glenn Morris <rgm@gnu.org>
164 * progmodes/js.el: No need to load comint when compiling.
165 (ring-insert, comint-send-string, comint-send-input)
166 (comint-last-input-end, ido-chop): Declare.
168 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
169 * vc/ediff-mult.el: Adjust requires.
170 (ediff-directories-internal, ediff-directory-revisions-internal)
171 (ediff-patch-file-internal): Declare.
172 * vc/ediff-ptch.el: Adjust requires.
173 (ediff-use-last-dir, ediff-buffers-internal): Declare.
174 (ediff-find-file): Autoload.
175 * vc/ediff-util.el: No need to load ediff when compiling.
176 (ediff-regions-internal): Declare.
177 * vc/ediff-wind.el: Adjust requires.
178 (ediff-compute-toolbar-width): Define when compiling.
179 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
180 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
181 (dired-get-filename, dired-get-marked-files)
182 (ediff-last-dir-patch, ediff-patch-default-directory)
183 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
184 (ediff-patch-buffer-internal): Declare.
186 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
187 (ispell-process, ispell-buffer-local-words, lm-summary)
188 (lm-section-start, lm-section-end): Declare.
189 (checkdoc-ispell-init): Simplify.
191 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
192 (he-string-member, he-reset-string, he-substitute-string): Declare.
194 * eshell/em-ls.el: Adjust requires.
195 (eshell-glob-regexp): Declare.
196 * eshell/em-tramp.el: Adjust requires.
197 (eshell-parse-command): Autoload.
198 * eshell/em-xtra.el: Adjust requires.
199 (eshell-parse-command): Autoload.
200 * eshell/esh-ext.el: Adjust requires.
201 (eshell-parse-command, eshell-close-handles): Autoload.
202 * eshell/esh-io.el: Adjust requires.
203 (eshell-output-filter): Autoload.
204 * eshell/esh-util.el: No need to load tramp when compiling.
205 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
207 (eshell-parse-ange-ls): Require ange-ftp and tramp.
208 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
209 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
210 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
211 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
212 * eshell/esh-opt.el, eshell/esh-proc.el:
213 * eshell/esh-var.el: Adjust requires.
214 * eshell/eshell.el: Do not require esh-util twice.
215 (eshell-add-input-to-history): Declare.
216 (eshell-command): Check history module is active before using it.
218 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
220 2013-05-22 Leo Liu <sdl.web@gmail.com>
222 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
224 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
226 * autorevert.el (auto-revert-notify-add-watch)
227 (auto-revert-notify-handler): Add `attrib' for the inotify case,
228 it indicates changes in file modification time.
230 2013-05-22 Glenn Morris <rgm@gnu.org>
232 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
233 Always delete the autoloaded function from the noruntime and
234 unresolved functions lists.
236 * allout.el: No need to load epa, epg, overlay when compiling.
237 (epg-context-set-passphrase-callback, epg-list-keys)
238 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
239 (epg-key-user-id-list): Declare.
241 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
242 (viper-set-parsing-style-toggling-macro)
243 (viper-set-emacs-state-searchstyle-macros):
244 Use called-interactively-p on Emacs.
245 (viper-looking-back): Make it an obsolete alias. Update callers.
246 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
247 Use looking-back rather than viper-looking-back.
248 (viper-tmp-insert-at-eob, viper-enlarge-region)
249 (viper-read-string-with-history, viper-register-to-point)
250 (viper-append-to-register, viper-change-state-to-vi)
251 (viper-backward-char-carefully, viper-forward-char-carefully)
252 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
253 (viper-change-state-to-emacs): Declare.
254 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
255 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
256 * emulation/viper-mous.el: Do not load viper-cmd.
257 (viper-backward-char-carefully, viper-forward-char-carefully)
258 (viper-forward-word, viper-adjust-window): Declare.
260 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
262 * progmodes/idlw-help.el (idlwave-help-fontify):
263 Use called-interactively-p.
265 * term/w32console.el (w32-get-console-codepage)
266 (w32-get-console-output-codepage): Declare.
268 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
269 Remove unnecessary declarations.
270 (dframe-message): Doc fix.
272 * info.el (dframe-select-attached-frame, dframe-current-frame):
275 * speedbar.el (speedbar-message): Make it an obsolete alias.
277 (speedbar-with-attached-buffer)
278 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
279 (speedbar-with-writable): Use backquote.
280 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
281 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
282 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
283 rather than speedbar- aliases.
284 * mail/rmail.el: Load dframe rather than speedbar when compiling.
285 (speedbar-make-specialized-keymap, speedbar-insert-button)
286 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
287 (speedbar-do-function-pointer): Declare.
288 (rmail-speedbar-button, rmail-speedbar-find-file)
289 (rmail-speedbar-move-message):
290 Use dframe-with-attached-buffer rather than speedbar- alias.
291 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
292 (dframe-message, speedbar-make-specialized-keymap)
293 (speedbar-add-expansion-list, speedbar-mode-functions-list)
294 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
295 (speedbar-insert-button, dframe-select-attached-frame)
296 (dframe-maybee-jump-to-attached-frame)
297 (speedbar-change-initial-expansion-list)
298 (speedbar-previously-used-expansion-list-name): Declare.
299 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
300 Use dframe-message, dframe-with-attached-buffer rather than
302 (gud-sentinel): Silence compiler.
303 * progmodes/vhdl-mode.el (speedbar-refresh)
304 (speedbar-do-function-pointer, speedbar-add-supported-extension)
305 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
306 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
307 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
308 (speedbar-file-lists, speedbar-make-tag-line)
309 (speedbar-line-directory, speedbar-goto-this-file)
310 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
311 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
312 (speedbar-make-button, speedbar-reset-scanners)
313 (speedbar-files-item-info, speedbar-line-text)
314 (speedbar-find-file-in-frame, speedbar-set-timer)
315 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
316 (speedbar-with-writable): Do not (re)define it.
317 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
318 rather than speedbar- alias.
320 2013-05-21 Leo Liu <sdl.web@gmail.com>
322 * progmodes/octave.el (octave-mode-menu): Update and re-organize
324 (octave-mode): Tweak fill-nobreak-predicate.
325 (inferior-octave-startup): Check process to avoid infinite loop.
326 (inferior-octave): Pop to buffer first to show abornmal process
329 2013-05-21 Glenn Morris <rgm@gnu.org>
331 * printing.el (pr-menu-bar): Define when compiling.
333 2013-05-21 Leo Liu <sdl.web@gmail.com>
335 * progmodes/octave.el (octave-auto-fill): Remove.
336 (octave-indent-new-comment-line): Improve.
337 (octave-mode): Use auto fill mode through
338 comment-line-break-function and fill-nobreak-predicate
339 (octave-goto-function-definition): Support DEFUN_DLD.
340 (octave-beginning-of-defun): Small Tweak
341 (octave-help): Show parent directory.
343 2013-05-21 Glenn Morris <rgm@gnu.org>
345 * files.el (dired-unmark):
346 * progmodes/gud.el (gdb-input): Update declarations.
348 * calculator.el (electric, ehelp): No need to load when compiling.
349 (Electric-command-loop, electric-describe-mode): Declare.
351 * doc-view.el (doc-view-current-converter-processes): Move before use.
353 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
354 Move MODE-set-explicitly definition before use.
356 * international/mule-diag.el (mule-diag):
357 Don't use obsolete window-system-version.
359 * mail/feedmail.el (smtpmail): No need to load when compiling.
360 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
362 * mail/mail-utils.el (rfc822): No need to load when compiling.
363 (rfc822-addresses): Autoload it.
364 (mail-strip-quoted-names): Trivial simplification.
366 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
367 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
369 * net/snmp-mode.el (tempo): Don't duplicate requires.
371 * progmodes/prolog.el (info): No need to load when compiling.
372 (comint): Require before shell requires it.
373 (Info-goto-node): Autoload it.
374 (Info-follow-nearest-node): Declare.
375 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
377 * textmodes/artist.el (picture-mode-exit): Declare.
379 * textmodes/reftex-parse.el (reftex-parse-from-file):
380 Trivial rewrite so the compiler can parse it better.
382 2013-05-20 Leo Liu <sdl.web@gmail.com>
384 * progmodes/octave.el (octave-help-mode-map)
385 (octave-help-mode-finish-hook): New variables.
386 (octave-help-mode, octave-help-mode-finish): New functions.
387 (octave-help): Use octave-help-mode.
389 2013-05-20 Glenn Morris <rgm@gnu.org>
391 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
393 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
395 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
396 start at point, so that expansion starting right after opening
397 slash in a regexp is recognized.
398 (ruby-syntax-before-regexp-re): New defvar, extracted from
399 ruby-syntax-propertize-function. Since the value of this regexp
400 is looked up at runtime now, we should be able to turn
401 `ruby-syntax-methods-before-regexp' into a defcustom later.
402 (ruby-syntax-propertize-function): Split regexp matching into two
403 parts, for opening and closing slashes. That allows us to skip
404 over string interpolations and support multiline regexps.
405 Don't call `ruby-syntax-propertize-expansions', instead use another rule
406 for them, which calls `ruby-syntax-propertize-expansion'.
407 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
408 call to `ruby-syntax-propertize-function'.
409 (ruby-syntax-propertize-expansion): Extracted from
410 `ruby-syntax-propertize-expansions'. Handles one expansion.
411 (ruby-syntax-propertize-percent-literal): Leave point right after
412 the percent symbol, so that the expression expansion rule can
413 propertize the contents.
414 (ruby-syntax-propertize-heredoc): Leave point at bol following the
416 (ruby-syntax-propertize-expansions): Remove.
418 2013-05-18 Juri Linkov <juri@jurta.org>
420 * man.el (Man-default-man-entry): Remove `-' from the end
421 of the default value. (Bug#14400)
423 2013-05-18 Glenn Morris <rgm@gnu.org>
425 * comint.el (comint-password-prompt-regexp):
426 Allow "password for XXX" where XXX contains colons (eg https://...).
428 2013-05-18 Leo Liu <sdl.web@gmail.com>
430 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
431 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
432 (octave-source-directories): Don't check process.
433 (octave-source-directories, octave-find-definition): Doc fix.
435 2013-05-18 Glenn Morris <rgm@gnu.org>
437 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
438 Remove backspace/delete bindings. (Bug#14392)
440 * cus-dep.el (custom-make-dependencies): Sort the output.
441 (custom-versions-load-alist): Convert comment to doc.
443 2013-05-17 Leo Liu <sdl.web@gmail.com>
445 * newcomment.el (comment-search-backward): Stricter in finding
446 comment start. (Bug#14303)
448 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
449 (octave-comment-start-skip): Properly anchored.
451 2013-05-17 Leo Liu <sdl.web@gmail.com>
453 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
454 Clean up when turned off. (Bug#14395)
455 (smie--highlight-matching-block-overlay): No longer buffer-local.
456 (smie-highlight-matching-block): Adjust.
458 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
460 Doc string fix for "nanoseconds" (Bug#14406).
461 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
462 Fix doc string typo that had "nanoseconds" instead of "microseconds".
464 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
466 * calc/calc-units.el (math-extract-units): Preserve powers
469 2013-05-17 Leo Liu <sdl.web@gmail.com>
471 * subr.el (delete-consecutive-dups): New function.
472 * ido.el (ido-set-matches-1): Use it.
473 * progmodes/octave.el (inferior-octave-completion-table): Use it.
474 * ido.el (ido-remove-consecutive-dups): Remove.
476 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
478 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
479 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
480 regexp-opt's `words'.
482 2013-05-16 Leo Liu <sdl.web@gmail.com>
484 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
485 (smie--highlight-matching-block-overlay)
486 (smie--highlight-matching-block-lastpos)
487 (smie--highlight-matching-block-timer): New variables.
488 (smie-highlight-matching-block): New function.
489 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
490 (smie-setup): Conditionally enable smie-blink-matching-open.
492 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
494 Sync with upstream verilog-mode r840.
495 * progmodes/verilog-mode.el (verilog-mode-version)
496 (verilog-mode-release-date): Update.
497 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
498 (verilog-sig-tieoff): Fix string error on
499 AUTORESET with colon define, bug594. Reported by Andrew Hou.
500 (verilog-read-decls): Fix parameters confusing
501 AUTOINST interfaces, bug565. Reported by Leith Johnson.
503 2013-05-16 Eli Zaretskii <eliz@gnu.org>
505 * subr.el (reveal-filename): New function.
507 * loadup.el: Compute Emacs executable versions on MS-Windows,
508 where executables have the .exe extension. Add a hard link
509 emacs-XX.YY.ZZ.exe on MS-Windows.
511 * Makefile.in (XARGS_LIMIT): New variable.
512 (custom-deps, finder-data, autoloads)
513 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
514 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
515 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
516 (compile-main): Limit xargs according to $(XARGS_LIMIT).
518 2013-05-16 Leo Liu <sdl.web@gmail.com>
520 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
521 (octave-mode-menu, octave-mode-map): Remove its uses.
523 2013-05-16 Reto Zimmermann <reto@gnu.org>
525 Sync with upstream vhdl mode v3.34.2.
526 * progmodes/vhdl-mode.el: Use `push' throughout.
527 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
528 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
529 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
530 (vhdl-actual-generic-name): New option to derive actual generic name.
531 (vhdl-port-paste-signals): Replace formal by actual generics.
532 (vhdl-beautify): New name for old group vhdl-align. Update users.
533 (vhdl-beautify-options): New option.
534 (vhdl-last-input-event): New compat alias. Use throughout.
535 (vhdl-goto-line): Replace user level function `goto-line'.
536 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
537 vhdl-fix-statement-buffer.
538 (vhdl-create-mode-menu): Add some entries.
539 (vhdl-align-region-groups): Respect vhdl-beautify-options.
540 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
541 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
542 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
543 to force statements on one line.
544 (vhdl-remove-trailing-spaces-region):
545 New, split from vhdl-remove-trailing-spaces.
546 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
547 Respect vhdl-beautify-options.
548 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
549 (vhdl-update-sensitivity-list): Not add with index if exists without.
550 Not include array index with signal. Ignore keywords in comments.
551 (vhdl-get-visible-signals): Regexp tweaks.
552 (vhdl-template-component-inst): Handle empty library.
553 (vhdl-template-type): Add template for 'enum' type.
554 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
555 Use vhdl-replace-string.
556 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
557 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
558 (vhdl-speedbar-initialize): Update for above name change.
559 (vhdl-compose-wire-components): Fix in handling of constants.
560 (vhdl-error-regexp-emacs-alist): New variable.
561 (vhdl-error-regexp-add-emacs): New function;
562 adds support for new compile.el (Emacs 22+)
563 (vhdl-generate-makefile-1): Change target order for single lib. units.
564 Allow use of absolute file names.
566 2013-05-16 Leo Liu <sdl.web@gmail.com>
568 * simple.el (prog-indent-sexp): Indent enclosing defun.
570 2013-05-15 Glenn Morris <rgm@gnu.org>
572 * cus-start.el (show-trailing-whitespace): Move to editing basics.
573 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
574 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
575 (whitespace-highlight): Move to whitespace group.
577 * comint.el (comint-source):
578 * pcmpl-linux.el (pcmpl-linux):
579 * shell.el (shell-faces):
580 * eshell/esh-opt.el (eshell-opt):
581 * international/ccl.el (ccl): Remove empty custom groups.
583 * completion.el (dynamic-completion-mode):
584 * jit-lock.el (jit-lock-debug-mode):
585 * minibuffer.el (completion-in-region-mode):
586 * type-break.el (type-break-mode-line-message-mode)
587 (type-break-query-mode):
588 * emulation/tpu-edt.el (tpu-edt-mode):
589 * progmodes/subword.el (global-subword-mode, global-superword-mode):
590 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
591 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
593 * term/xterm.el (xterm): Change parent group to terminals.
595 * master.el (master): Remove empty custom group.
596 (master-mode): Remove unused :group argument.
597 * textmodes/refill.el (refill): Remove empty custom group.
598 (refill-mode): Remove unused :group argument.
600 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
602 * cus-dep.el: Provide a feature.
603 (custom-make-dependencies): Ignore dotfiles (dir-locals).
604 Don't mistakenly ignore files whose basenames match a basename
605 from preloaded-file-list (eg cedet/ede/simple.el).
606 Add a fallback method for getting :group.
608 2013-05-15 Juri Linkov <juri@jurta.org>
610 * isearch.el (isearch-char-by-name): Rename from
611 `isearch-insert-char-by-name'. Doc fix.
612 (isearch-forward): Mention `isearch-char-by-name' in
613 the docstring. (Bug#13348)
615 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
616 `exit-minibuffer' instead of
617 `isearch-nonincremental-exit-minibuffer'.
618 (isearch-edit-string): Remove mention of
619 `isearch-nonincremental-exit-minibuffer' from docstring.
620 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
621 (isearch-forward-exit-minibuffer)
622 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
624 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
626 * loadup.el: Just use unversioned DOC.
628 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
629 literals as extending to EOB.
630 (nxml-last-fontify-end): Remove unused variable.
631 (nxml-after-change1): Use with-silent-modifications.
632 (nxml-extend-after-change-region): Simplify.
633 (nxml-extend-after-change-region1): Remove function.
634 (nxml-after-change1): Don't adjust for dependent regions.
635 (nxml-fontify-matcher): Simplify.
636 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
637 (xmltok-add-dependent): Remove function.
638 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
639 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
640 (xmltok-scan-prolog-after-processing-instruction-open): Treat
641 unclosed <[[, <?, comment, and other literals as extending to EOB.
642 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
643 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
645 (rng-do-some-validation-1): Don't mark dependent regions.
646 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
647 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
648 (nxml-clear-dependent-regions): Remove functions.
649 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
650 (nxml-ensure-scan-up-to-date):
651 Don't clear&mark dependent regions.
653 2013-05-15 Leo Liu <sdl.web@gmail.com>
655 * progmodes/octave.el (octave-goto-function-definition):
656 Improve and fix callers.
658 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
660 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
661 the setter (bug#14387).
663 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
664 surrounding group (bug#14402).
666 2013-05-14 Juri Linkov <juri@jurta.org>
668 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
671 2013-05-14 Glenn Morris <rgm@gnu.org>
673 * progmodes/f90.el (f90-imenu-generic-expression):
674 Fix typo in 2013-05-08 change. (Bug#14402)
676 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
678 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
679 Remove signals for which replies are never received.
681 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
683 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
684 (gdb-handler-alist, gdb-handler-number): Remove variables.
685 (gdb-handler-list): New variable.
686 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
687 (gdb-pending-handler-p, gdb-handle-reply)
688 (gdb-remove-all-pending-triggers): New functions.
689 (gdb-discard-unordered-replies): New defcustom.
690 (gdb-handler): New defstruct.
691 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
692 instead of gdb-pending-triggers. Update docstring.
693 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
694 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
695 (gdb-var-update-handler, def-gdb-auto-update-trigger)
696 (def-gdb-auto-update-handler, gdb-get-changed-registers)
697 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
698 (gdb-frame-handler): Pending triggers are now automatically managed.
699 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
701 (gdb-input): Automatically handles pending triggers. Update docstring.
702 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
703 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
705 (gdb-done-or-error): Now use gdb-handle-reply.
707 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
709 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
712 2013-05-14 Glenn Morris <rgm@gnu.org>
714 * subr.el (user-emacs-directory-warning): New option.
715 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
717 2013-05-14 Leo Liu <sdl.web@gmail.com>
719 * progmodes/octave.el (octave-font-lock-keywords): Fix error
721 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
722 (octave-font-lock-texinfo-comment): Fix invalid search bound
723 error: wrong side of point.
725 2013-05-14 Glenn Morris <rgm@gnu.org>
727 * progmodes/flymake.el (flymake-xml-program): New option.
728 (flymake-xml-init): Use it.
730 * term/xterm.el: Provide a feature.
732 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
734 2013-05-13 Glenn Morris <rgm@gnu.org>
736 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
737 Add compat aliases as a hack workaround. (Bug#14384)
739 2013-05-13 Leo Liu <sdl.web@gmail.com>
741 * progmodes/octave.el (octave-indent-comment): Fix indentation for
743 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
745 (octave-comment-start-skip): Include %!.
746 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
748 2013-05-12 Leo Liu <sdl.web@gmail.com>
750 * progmodes/octave.el (inferior-octave-startup): Store the value
751 of __octave_srcdir__ for octave-source-directories.
752 (inferior-octave-check-process): New function refactored out of
753 inferior-octave-send-list-and-digest.
754 (octave-source-directories)
755 (octave-find-definition-filename-function): New variables.
756 (octave-source-directories)
757 (octave-find-definition-default-filename): New functions.
758 (octave-find-definition): Improve to find functions implemented in C++.
760 2013-05-12 Glenn Morris <rgm@gnu.org>
762 * calendar/diary-lib.el (diary-outlook-format-1):
763 Don't include dayname in the output. (Bug#14349)
765 2013-05-11 Glenn Morris <rgm@gnu.org>
767 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
769 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
770 Treat cc-provide like provide.
772 2013-05-11 Kevin Ryde <user42@zip.com.au>
774 * cus-dep.el (custom-make-dependencies):
775 Use generated-autoload-load-name for the sake of files such
776 such cedet/semantic/bovine/c.el, where the base file name
777 is not in load-path. (Bug#5277)
779 2013-05-11 Glenn Morris <rgm@gnu.org>
781 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
784 2013-05-11 Leo Liu <sdl.web@gmail.com>
786 * progmodes/octave.el (octave-indent-comment): Improve.
787 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
788 (octave-eldoc-function-signatures, octave-eldoc-function):
790 (octave-mode, inferior-octave-mode): Add eldoc support.
792 2013-05-11 Richard Stallman <rms@gnu.org>
794 * epa.el (epa-decrypt-file): Take output file name as argument
795 and read it using `interactive'.
797 2013-05-11 Leo Liu <sdl.web@gmail.com>
799 * progmodes/octave.el (octave-beginning-of-line)
800 (octave-end-of-line): Check before using up-list because it jumps
801 out of more syntactic contructs since moving to smie.
802 (octave-indent-comment): New function.
803 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
804 (octave-begin-keywords, octave-end-keywords)
805 (octave-reserved-words, octave-smie-bnf-table)
806 (octave-smie-rules): Add new keywords from Octave 3.6.4.
808 2013-05-11 Glenn Morris <rgm@gnu.org>
810 * faces.el (internal-face-x-get-resource):
811 * frame.el (ns-display-monitor-attributes-list):
812 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
814 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
816 * calc/calc-menu.el: Make it loadable in isolation.
818 * net/eudcb-bbdb.el: Make it loadable without bbdb.
819 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
820 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
821 (eudc-bbdb-query-internal): Require 'bbdb.
823 * lpr.el (lpr-headers-switches):
824 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
826 * progmodes/sql.el (sql-login-params): Fix and improve :type.
828 * emulation/edt-mapper.el: In batch mode, error rather than hang.
830 * term.el (term-set-escape-char): Make it idempotent.
832 2013-05-10 Leo Liu <sdl.web@gmail.com>
834 * progmodes/octave.el (inferior-octave-completion-table):
835 No longer a function and all uses changed. Use cache to speed up
836 completion due to bug#11906.
837 (octave-beginning-of-defun): Re-write to be more general.
839 2013-05-10 Glenn Morris <rgm@gnu.org>
841 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
843 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
845 * comint.el (comint-redirect-send-command-to-process): Use :around
846 rather than :override for comint-redirect-filter.
847 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
848 Call it instead of comint-redirect-original-filter-function (which
849 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
851 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
853 * frame.el (display-monitor-attributes-list): Add NS case.
854 (ns-display-monitor-attributes-list): Declare.
856 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
858 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
860 2013-05-09 Glenn Morris <rgm@gnu.org>
862 * international/fontset.el (vertical-centering-font-regexp):
865 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
867 * bookmark.el (bookmark-search-delay):
868 * cus-start.el (vertical-centering-font-regexp):
869 * ps-mule.el (ps-mule-font-info-database-default):
870 * ps-print.el (ps-default-fg, ps-default-bg):
871 * type-break.el (type-break-good-break-interval):
872 * whitespace.el (whitespace-indentation-regexp)
873 (whitespace-space-after-tab-regexp):
874 * emacs-lisp/testcover.el (testcover-1value-functions)
875 (testcover-noreturn-functions, testcover-progn-functions)
876 (testcover-prog1-functions):
877 * emulation/viper-init.el (viper-emacs-state-cursor-color):
878 * eshell/em-glob.el (eshell-glob-translate-alist):
879 * play/tetris.el (tetris-tty-colors):
880 * progmodes/cpp.el (cpp-face-default-list):
881 * progmodes/flymake.el (flymake-allowed-file-name-masks):
882 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
883 (idlwave-help-browser-generic-args):
884 * progmodes/make-mode.el (makefile-special-targets-list):
885 * progmodes/python.el (python-shell-virtualenv-path):
886 * progmodes/verilog-mode.el (verilog-active-low-regexp)
887 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
888 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
889 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
890 * textmodes/reftex-vars.el (reftex-format-label-function):
891 * textmodes/remember.el (remember-diary-file): Fix custom types.
893 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
896 2013-05-09 Leo Liu <sdl.web@gmail.com>
898 * progmodes/octave.el (inferior-octave-completion-at-point):
899 Restore file completion. (Bug#14300)
900 (inferior-octave-startup): Fix incorrect highlighting for the
903 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
905 * progmodes/ruby-mode.el: First cut at SMIE support.
906 (ruby-use-smie): New var.
907 (ruby-smie-grammar): New constant.
908 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
909 (ruby-smie--forward-token, ruby-smie--backward-token)
910 (ruby-smie-rules): New functions.
911 (ruby-mode-variables): Setup SMIE if applicable.
913 2013-05-08 Eli Zaretskii <eliz@gnu.org>
915 * simple.el (line-move-visual): Signal beginning/end of buffer
916 only if vertical-motion moved less than it was requested. Avoids
917 silly incorrect error messages when there are display strings with
918 multiple newlines at EOL.
920 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
922 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
923 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
924 (prolog-char-quote-workaround):
925 * progmodes/cperl-mode.el (cperl-under-as-char):
926 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
928 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
930 (vhdl-mode-syntax-table-init): Remove.
932 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
935 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
937 (ld-script-font-lock-keywords):
938 Change regexps to use things like \_< and \_>.
940 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
941 Change all regexps to use things like \_< and \_>.
943 * progmodes/autoconf.el (autoconf-definition-regexp)
944 (autoconf-font-lock-keywords, autoconf-current-defun-function):
945 Handle a _ with symbol syntax.
946 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
948 * progmodes/ada-mode.el (ada-mode-abbrev-table):
949 Consolidate declaration.
950 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
952 (ada-create-syntax-table): Remove.
953 (ada-capitalize-word): Don't mess with the syntax of "_" since it
954 already has the right syntax nowadays.
955 (ada-goto-next-word): Don't change the syntax of "_".
957 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
960 2013-05-08 Sam Steingold <sds@gnu.org>
962 * thingatpt.el (thing-at-point): Accept optional second argument
963 NO-PROPERTIES to strip the text properties from the return value.
964 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
965 to `thing-at-point' instead of stripping the properties ourselves.
966 Also, when `thing-at-point' fails to find a url, prepend "http://"
967 to the filename at point on the assumption that the user is
968 pointing at something like gnu.org/gnu.
970 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
972 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
973 * faces.el (crm-separator):
974 Silence byte-compiler.
976 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
977 (tool-bar-map): Remove unneeded defvars.
979 2013-05-08 Leo Liu <sdl.web@gmail.com>
981 Re-work a fix for bug#10994 based on Le Wang's patch.
982 * ido.el (ido-remove-consecutive-dups): New helper.
983 (ido-completing-read): Use it.
984 (ido-chop): Revert fix for bug#10994.
986 2013-05-08 Adam Spiers <emacs@adamspiers.org>
988 * cus-edit.el (custom-save-variables):
989 Pretty-print long values. (Bug#14187)
991 2013-05-08 Glenn Morris <rgm@gnu.org>
993 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
994 (m4-mode-syntax-table): Init in the defvar.
995 (m4-mode-abbrev-table): Let define-derived-mode define it.
997 2013-05-08 Tom Tromey <tromey@redhat.com>
999 * progmodes/m4-mode.el (m4-mode-syntax-table):
1000 Do not treat "_" as word constituent. (Bug#14167)
1002 2013-05-07 Glenn Morris <rgm@gnu.org>
1004 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
1005 Remove explicit eshell-isearch-cancel-map.
1007 * progmodes/f90.el (f90-smart-end-names): New option.
1008 (f90-smart-end): Doc fix.
1009 (f90-end-block-optional-name): New constant.
1010 (f90-block-match): Respect f90-smart-end-names.
1012 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1014 * progmodes/octave.el (octave-smie-forward-token): Be more careful
1015 about implicit semi-colons (bug#14218).
1017 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1019 * frame.el (display-monitor-attributes-list)
1020 (frame-monitor-attributes): New functions.
1022 2013-05-06 Leo Liu <sdl.web@gmail.com>
1024 * progmodes/octave.el (octave-syntax-propertize-function): Change
1025 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
1026 (octave-font-lock-keywords): Use octave-operator-regexp.
1027 (octave-completion-at-point): Rename from
1028 octave-completion-at-point-function.
1029 (inferior-octave-directory-tracker): Robustify.
1030 (octave-text-functions): Remove and fix its uses. No such things
1033 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1035 * emacs-lisp/trace.el (trace--display-buffer): New function.
1036 (trace-make-advice): Use it.
1038 2013-05-06 Juri Linkov <juri@jurta.org>
1040 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
1041 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
1043 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
1044 in the help string. (Bug#12985)
1046 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1048 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
1050 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1052 * progmodes/perl-mode.el: Add support for here documents.
1053 (perl-syntax-propertize-function): Match here-doc markers.
1054 (perl-syntax-propertize-special-constructs): Find their end.
1055 (perl-imenu-generic-expression): Use [:alnum:].
1057 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
1058 (advice--add-function): Refresh the advice if already present
1061 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
1063 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
1065 2013-05-06 Glenn Morris <rgm@gnu.org>
1067 * w32-fns.el (w32-charset-info-alist): Declare.
1069 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
1070 of its defcustom properties.
1071 (eshell-cmpl-initialize): No need to load pcomplete.
1073 * generic-x.el: No need to require comint when compiling.
1075 * net/eudc-export.el: Make it loadable without bbdb.
1076 (top-level): Use require rather than load-library.
1077 (eudc-create-bbdb-record, eudc-bbdbify-phone)
1078 (eudc-batch-export-records-to-bbdb)
1079 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
1082 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1084 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
1085 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
1086 some tweaks, instead.
1088 2013-05-05 Leo Liu <sdl.web@gmail.com>
1090 * progmodes/octave.el (octave-font-lock-keywords)
1091 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
1092 (inferior-octave-send-list-and-digest): Improve error message.
1093 (octave-mode, inferior-octave-mode): Use setq-local.
1094 (octave-help): Set info-lookup-mode.
1096 2013-05-05 Richard Stallman <rms@gnu.org>
1098 * vc/compare-w.el (compare-windows-whitespace):
1099 Treat no-break space as whitespace.
1101 * mail/rmailsum.el (rmail-summary-rmail-update):
1102 Detect empty summary and don't change selected message.
1103 (rmail-summary-goto-msg): Likewise.
1105 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
1106 Doc fixes, rename args.
1108 2013-05-05 Alan Mackenzie <acm@muc.de>
1110 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
1112 2013-05-05 Juri Linkov <juri@jurta.org>
1114 * info.el (Info-read-subfile): Use (point-min) instead of (point)
1115 to not add the length of the summary segment to the return value.
1118 2013-05-05 Leo Liu <sdl.web@gmail.com>
1120 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
1121 (inferior-octave-output-filter): Remove.
1122 (octave-send-region, inferior-octave-startup): Fix callers.
1123 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
1124 (octave-binary-file-extensions): New user variable.
1125 (octave-find-definition): Confirm if opening binary files.
1126 (octave-help-file): Use octave-find-definition to get the binary
1128 (octave-help): Adjust for octave-help-file change.
1130 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1132 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
1133 Merge the two entries that handle function definitions.
1134 (pascal--syntax-propertize): New const.
1135 (pascal-mode): Use it. Use setq-local.
1137 2013-05-04 Glenn Morris <rgm@gnu.org>
1139 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
1140 (diary-from-outlook): Respect diary-from-outlook-function.
1142 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1144 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
1145 Move the declaration from C.
1146 (read-minibuffer, eval-minibuffer): Move from C.
1147 (completion-setup-function): Avoid minibuffer-completion-contents.
1149 2013-05-03 Leo Liu <sdl.web@gmail.com>
1151 * progmodes/octave.el (octave-font-lock-keywords): Do not
1152 dehighlight 'end' in comments or strings.
1153 (octave-completing-read, octave-goto-function-definition):
1155 (octave-help-buffer): New user variable.
1156 (octave-help-file, octave-help-function): New button types.
1157 (octave-help): New command and bind it to C-h ;.
1158 (octave-find-definition): New command and bind it to M-.
1159 (user-error): Alias to error if not defined.
1161 2013-05-02 Leo Liu <sdl.web@gmail.com>
1163 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
1165 (octave-font-lock-keywords): Include [ and {.
1167 2013-05-02 Leo Liu <sdl.web@gmail.com>
1169 * progmodes/octave.el (inferior-octave-startup-file): Change default.
1170 (inferior-octave): Remove calling comint-mode and return the buffer.
1171 (inferior-octave-startup): Cosmetic changes.
1173 2013-05-02 Leo Liu <sdl.web@gmail.com>
1175 * progmodes/octave.el (octave-syntax-propertize-function):
1176 Include the case when ' is at line beginning. (Bug#14336)
1178 2013-05-02 Glenn Morris <rgm@gnu.org>
1180 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
1181 * desktop.el (vc-dir-mode): Just autoload it here.
1183 2013-05-02 Alan Mackenzie <acm@muc.de>
1185 Eliminate variable c-standard-font-lock-fontify-region-function.
1186 * progmodes/cc-mode.el
1187 (c-standard-font-lock-fontify-region-function): Remove.
1188 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
1190 2013-05-01 Leo Liu <sdl.web@gmail.com>
1192 * progmodes/octave.el: Compatible with older emacs-24 releases.
1193 (inferior-octave-has-built-in-variables): Remove. Built-in
1194 variables were removed from Octave in 2007.
1195 (inferior-octave-startup): Fix uses.
1196 (comint-line-beginning-position): Remove compatibility code for
1199 2013-05-01 Juri Linkov <juri@jurta.org>
1201 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
1203 2013-05-01 Juri Linkov <juri@jurta.org>
1205 * comint.el (comint-previous-matching-input): Don't print message
1206 "History item: %d" when `isearch-mode' is active.
1207 (comint-history-isearch-message): Print message "History item: %d"
1208 when `comint-input-ring-index' is not empty and this function is
1209 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
1211 2013-05-01 Leo Liu <sdl.web@gmail.com>
1213 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
1214 definitions. Use completion-at-point to insert keywords.
1215 (octave-abbrev-start): Remove.
1216 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
1218 2013-04-30 Leo Liu <sdl.web@gmail.com>
1220 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
1223 2013-04-30 Alan Mackenzie <acm@muc.de>
1225 Handle arbitrarily long C++ member initialisation lists.
1226 * progmodes/cc-engine.el (c-back-over-member-initializers):
1228 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
1229 (most) member init lists.
1231 2013-04-30 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
1233 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
1236 2013-04-30 Leo Liu <sdl.web@gmail.com>
1238 * progmodes/octave.el (octave-variables): Remove. No builtin
1239 variables any more. All converted to functions.
1240 (octave-font-lock-keywords, octave-completion-at-point-function):
1242 (octave-font-lock-texinfo-comment): New user variable.
1243 (octave-texinfo-font-lock-keywords): New variable for texinfo
1245 (octave-function-comment-block): New face.
1246 (octave-font-lock-texinfo-comment): New function.
1247 (octave-mode): Font lock texinfo comment block.
1249 2013-04-29 Leo Liu <sdl.web@gmail.com>
1251 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
1252 indexing expression.
1253 (octave-continuation-string): Do not use \.
1254 (inferior-octave-complete-impossible): Remove.
1255 (inferior-octave-completion-table)
1256 (inferior-octave-completion-at-point): Remove its uses.
1257 (inferior-octave-startup): completion_matches was introduced to
1258 Octave in 1996 so safe to assume it.
1259 (octave-function-file-comment): Improve to follow how Octave does it.
1260 (octave-update-function-file-comment): Tweak.
1262 2013-04-29 Leo Liu <sdl.web@gmail.com>
1264 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
1265 (inferior-octave-startup): Remove inferior-octave-startup-hook.
1266 (octave-function-file-comment): Fix typo.
1267 (octave-sync-function-file-names): Use read-char-choice.
1269 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
1271 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
1272 to t for the less important warnings.
1274 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1276 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
1278 2013-04-27 Glenn Morris <rgm@gnu.org>
1280 * vc/log-view.el (log-view-current-entry):
1281 Treat "---" separator lines as part of the following rev. (Bug#14169)
1283 2013-04-27 Juri Linkov <juri@jurta.org>
1285 * subr.el (read-number): Doc fix about using it by interactive
1286 code letter `n'. (Bug#14254)
1288 2013-04-27 Juri Linkov <juri@jurta.org>
1290 * desktop.el (desktop-auto-save-timeout): New option.
1291 (desktop-file-checksum): New variable.
1292 (desktop-save): Add optional arg `auto-save' and don't auto-save
1294 (desktop-auto-save-timer): New variable.
1295 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
1296 (after-init-hook): Call `desktop-auto-save-set-timer'.
1297 Suggested by Reuben Thomas <rrt@sc3d.org> in
1298 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
1300 2013-04-27 Leo Liu <sdl.web@gmail.com>
1302 * progmodes/octave.el (octave-function-file-p)
1303 (octave-skip-comment-forward, octave-function-file-comment)
1304 (octave-update-function-file-comment): New functions.
1305 (octave-mode-map): Bind C-c ; to
1306 octave-update-function-file-comment.
1307 (octave-mode-menu): Add octave-update-function-file-comment.
1308 (octave-mode, inferior-octave-mode): Fix doc-string.
1309 (octave-insert-defun): Conform to Octave's coding convention.
1312 * files.el (basic-save-buffer): Don't let errors in
1313 before-save-hook prevent saving buffer.
1315 2013-04-20 Roland Winkler <winkler@gnu.org>
1317 * faces.el (read-face-name): Use completing-read if arg multiple
1320 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
1322 * ls-lisp.el (ls-lisp-insert-directory): If no files are
1323 displayed, move point to after the totals line.
1324 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
1327 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1329 * emacs-lisp/package.el (package-autoload-ensure-default-file):
1330 Add current dir to the load-path.
1331 (package-generate-autoloads): Don't rely on
1332 autoload-ensure-default-file.
1334 2013-04-26 Reuben Thomas <rrt@sc3d.org>
1336 * textmodes/remember.el (remember-store-in-files): Document that
1337 the file name format is passed to `format-time-string'.
1339 2013-04-26 Leo Liu <sdl.web@gmail.com>
1341 * progmodes/octave.el (octave-sync-function-file-names): New function.
1342 (octave-mode): Use it in before-save-hook.
1344 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1346 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
1349 * progmodes/octave.el (octave-smie-forward-token): Properly skip
1350 \n and comment, even if it's not an implicit ; (bug#14218).
1352 2013-04-26 Glenn Morris <rgm@gnu.org>
1354 * subr.el (read-number): Once more use `read' rather than
1355 `string-to-number', to trap non-numeric input. (Bug#14254)
1357 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
1359 * emacs-lisp/syntax.el (syntax-propertize-multiline):
1360 Use `syntax-multiline' text property consistently instead of
1361 `font-lock-multiline'. (bug#14237).
1363 2013-04-26 Glenn Morris <rgm@gnu.org>
1365 * emacs-lisp/shadow.el (list-load-path-shadows):
1366 No longer necessary to check for duplicate simple.el, since
1367 2012-07-07 change to init_lread to not include installation lisp
1368 directories in load-path when running uninstalled. (Bug#14270)
1370 2013-04-26 Leo Liu <sdl.web@gmail.com>
1372 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
1373 (octave-mode, inferior-octave-mode): Use setq-local.
1374 (octave-not-in-string-or-comment-p): Rename to
1375 octave-in-string-or-comment-p.
1376 (octave-in-comment-p, octave-in-string-p)
1377 (octave-in-string-or-comment-p): Replace defsubst with defun.
1379 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
1381 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
1383 2013-04-25 Bastien Guerry <bzg@gnu.org>
1385 * textmodes/remember.el (remember-data-directory)
1386 (remember-directory-file-name-format): Fix custom types.
1388 2013-04-25 Leo Liu <sdl.web@gmail.com>
1390 * progmodes/octave.el (octave-completion-at-point-function):
1391 Make use of inferior octave process.
1392 (octave-initialize-completions): Remove.
1393 (inferior-octave-completion-table): New function.
1394 (inferior-octave-completion-at-point): Use it.
1395 (octave-completion-alist): Remove.
1397 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1399 * progmodes/opascal.el: Use font-lock and syntax-propertize.
1400 (opascal-mode-syntax-table): New var.
1401 (opascal-literal-kind, opascal-is-literal-end)
1402 (opascal-literal-token-at): Rewrite.
1403 (opascal--literal-start-re, opascal-font-lock-keywords)
1404 (opascal--syntax-propertize): New constants.
1405 (opascal-font-lock-defaults): Adjust.
1406 (opascal-mode): Use them. Set comment-<foo> variables as well.
1407 (delphi-comment-face, opascal-comment-face, delphi-string-face)
1408 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
1409 (delphi-other-face, opascal-other-face): Remove face variables.
1410 (opascal-save-state): Remove macro.
1411 (opascal-fontifying-progress-step): Remove constant.
1412 (opascal--ignore-changes): Remove var.
1413 (opascal-set-token-property, opascal-parse-next-literal)
1414 (opascal-is-stable-literal, opascal-complete-literal)
1415 (opascal-is-literal-start, opascal-face-of)
1416 (opascal-parse-region, opascal-parse-region-until-stable)
1417 (opascal-fontify-region, opascal-after-change)
1418 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
1419 (opascal-debug-parse-region, opascal-debug-parse-window)
1420 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
1421 (opascal-debug-fontify-buffer): Remove.
1422 (opascal-debug-mode-map): Adjust accordingly.
1424 2013-04-25 Leo Liu <sdl.web@gmail.com>
1426 Merge octave-mod.el and octave-inf.el into octave.el with some
1428 * progmodes/octave.el: New file renamed from octave-mod.el.
1429 * progmodes/octave-inf.el: Merged into octave.el.
1430 * progmodes/octave-mod.el: Renamed to octave.el.
1432 2013-04-25 Tassilo Horn <tsdh@gnu.org>
1434 * textmodes/reftex-vars.el
1435 (reftex-label-ignored-macros-and-environments): New defcustom.
1437 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
1439 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1441 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
1442 (smie-indent-keyword): Improve the check to ensure that the next
1443 comment is really on the same line.
1444 (smie-indent-comment): Don't align with a subsequent closer (or eob).
1446 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
1447 semi-colons if the line is not otherwise empty (bug#14218).
1449 2013-04-25 Glenn Morris <rgm@gnu.org>
1451 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
1453 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1455 * progmodes/opascal.el (opascal-set-token-property): Rename from
1456 opascal-set-text-properties and only set `token' (bug#14134).
1457 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
1458 (opascal-literal-text-properties): Remove.
1459 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
1462 2013-04-24 Reuben Thomas <rrt@sc3d.org>
1464 * textmodes/remember.el (remember-handler-functions): Add an
1465 option for a new handler `remember-store-in-files'.
1466 (remember-data-directory, remember-directory-file-name-format):
1468 (remember-store-in-files): New function to store remember notes
1469 as separate files within a directory.
1471 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
1473 * progmodes/compile.el (compilation-next-error-function):
1474 Pass "formats" to compilation-find-file (bug#11777).
1476 2013-04-24 Glenn Morris <rgm@gnu.org>
1478 * vc/vc-bzr.el (vc-bzr-print-log):
1479 * vc/vc-hg.el (vc-hg-print-log):
1480 * vc/vc-svn.el (vc-svn-print-log):
1481 Fix START-REVISION with LIMIT != 1. (Bug#14168)
1483 * vc/vc-bzr.el (vc-bzr-print-log):
1484 * vc/vc-cvs.el (vc-cvs-print-log):
1485 * vc/vc-git.el (vc-git-print-log):
1486 * vc/vc-hg.el (vc-hg-print-log):
1487 * vc/vc-mtn.el (vc-mtn-print-log):
1488 * vc/vc-rcs.el (vc-rcs-print-log):
1489 * vc/vc-sccs.el (vc-sccs-print-log):
1490 * vc/vc-svn.el (vc-svn-print-log):
1491 * vc/vc.el (vc-print-log-internal): Doc fixes.
1493 2013-04-23 Glenn Morris <rgm@gnu.org>
1495 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
1496 Remove venerable code attempting to avoid substitute-command-keys.
1498 2013-04-23 Tassilo Horn <tsdh@gnu.org>
1500 * textmodes/reftex-vars.el (reftex-label-regexps):
1501 Call `reftex-compile-variables' after changes to this variable.
1503 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1505 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
1506 Use lexical-binding.
1507 (jit-lock-force-redisplay): Use markers, check buffer's continued
1508 existence and beware narrowed buffers.
1509 (jit-lock-fontify-now): Adjust call accordingly.
1511 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1513 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
1514 to avoid misleading the user.
1516 2013-04-22 Leo Liu <sdl.web@gmail.com>
1518 * info-look.el: Prefer latex2e.info. (Bug#14240)
1520 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
1522 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
1524 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
1525 * net/tramp.el (tramp-call-process): ... here
1526 (tramp-set-completion-function, tramp-parse-putty):
1527 * net/tramp-adb.el (tramp-adb-execute-adb-command):
1528 * net/tramp-gvfs.el (tramp-gvfs-send-command):
1529 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1530 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
1531 (tramp-call-local-coding-command): Use `tramp-call-process'
1532 instead of `tramp-compat-call-process'.
1534 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
1535 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
1536 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
1537 (tramp-find-inline-compress): Improve traces.
1538 (tramp-maybe-send-script): Check for Perl binary.
1539 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
1541 2013-04-22 Daiki Ueno <ueno@gnu.org>
1543 * epg.el (epg-context-pinentry-mode): New function.
1544 (epg-context-set-pinentry-mode): New function.
1545 (epg--start): Pass --pinentry-mode option to gpg command.
1547 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
1549 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
1550 `comint-dynamic-complete' is obsolete since 24.1, replaced by
1551 `completion-at-point'. (Bug#13774)
1553 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
1554 default key binding for `describe-distribution' has been moved to
1555 `C-h C-o'. (Bug#13970)
1557 2013-04-21 Glenn Morris <rgm@gnu.org>
1559 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
1561 (vc-print-log): Clarify interactive prompt.
1563 2013-04-20 Glenn Morris <rgm@gnu.org>
1565 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1566 No longer include timestamp etc information.
1568 2013-04-20 Roland Winkler <winkler@gnu.org>
1570 * faces.el (read-face-name): Bug fix, return just one face if arg
1571 multiple is nil. (Bug#14209)
1573 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1575 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
1576 (remove-function): Autoload.
1578 * comint.el (comint-redirect-original-filter-function): Remove.
1579 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
1580 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
1581 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
1582 * progmodes/prolog.el (prolog-consult-compile):
1583 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
1584 Use add/remove-function instead.
1585 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
1586 (gud-tooltip-process-output, gud-tooltip-tips):
1587 Use add/remove-function instead.
1588 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
1589 (scheme-interaction-mode, exit-scheme-interaction-mode):
1590 Use add/remove-function instead.
1592 * vc/vc-dispatcher.el: Use lexical-binding.
1593 (vc--process-sentinel): Rename from vc-process-sentinel.
1594 Change last arg to be the code to run. Don't use vc-previous-sentinel
1595 and vc-sentinel-commands any more.
1596 (vc-exec-after): Allow code to be a function. Use add/remove-function.
1597 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
1599 2013-04-19 Masatake YAMATO <yamato@redhat.com>
1601 * progmodes/sh-script.el (sh-imenu-generic-expression):
1602 Handle function names with a single character. (Bug#14111)
1604 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
1606 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
1607 for subroutines defined in an eval (bug#14182).
1609 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1611 * bookmark.el (bookmark-completing-read): Improve handling of empty
1614 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1616 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
1618 2013-04-19 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1620 New faster Imenu implementation (bug#14058).
1621 * progmodes/python.el:
1622 (python-imenu-prev-index-position):
1623 (python-imenu-format-item-label-function)
1624 (python-imenu-format-parent-item-label-function)
1625 (python-imenu-format-parent-item-jump-label-function):
1627 (python-imenu-format-item-label)
1628 (python-imenu-format-parent-item-label)
1629 (python-imenu-format-parent-item-jump-label)
1630 (python-imenu--put-parent, python-imenu--build-tree)
1631 (python-imenu-create-index, python-imenu-create-flat-index)
1632 (python-util-popn): New functions.
1633 (python-mode): Set imenu-create-index-function to
1634 python-imenu-create-index.
1636 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1638 * winner.el (winner-active-region): Use region-active-p, activate-mark
1639 and deactivate-mark (bug#14225).
1641 * simple.el (deactivate-mark): Don't inline it.
1643 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
1645 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
1647 2013-04-18 Tassilo Horn <tsdh@gnu.org>
1649 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
1650 file extensions from the archive-mode entry in order to prefer
1651 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
1653 2013-04-18 Leo Liu <sdl.web@gmail.com>
1655 * bindings.el (help-event-list): Add ?\?.
1657 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1659 * subr.el (with-wrapper-hook): Declare obsolete.
1660 * simple.el (filter-buffer-substring-function): New hook.
1661 (filter-buffer-substring): Use it.
1662 (filter-buffer-substring-functions): Mark obsolete.
1663 * minibuffer.el (completion-in-region-function): New hook.
1664 (completion-in-region): Use it.
1665 (completion-in-region-functions): Mark obsolete.
1666 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
1667 * abbrev.el (abbrev-expand-function): New hook.
1668 (expand-abbrev): Use it.
1669 (abbrev-expand-functions): Mark obsolete.
1670 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
1673 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1675 * progmodes/python.el (python-nav--syntactically): Fix cornercases
1676 and do not care about match data.
1678 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1680 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
1681 completion tables when completing error conditions and
1682 `declare' arguments.
1683 (lisp-complete-symbol, field-complete): Mark as obsolete.
1684 (check-parens): Unmatched parens are user errors.
1685 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
1687 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
1689 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
1690 command changed buffer (ie. `flyspell-pre-buffer' is not current
1691 buffer), which prevents making decisions based on invalid value of
1692 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
1693 cause an error when `flyspell-pre-point' was nil after switching
1695 (flyspell-post-command-hook): No longer needs to change buffers when
1696 checking pre-word. While at it remove unnecessary progn.
1698 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1700 * textmodes/ispell.el (ispell-add-per-file-word-list):
1701 Fix `flyspell-correct-word-before-point' error when accepting
1702 words and `coment-padding' is an integer by using
1703 `comment-normalize-vars' (Bug #14214).
1705 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1707 New defun movement commands.
1708 * progmodes/python.el (python-nav--syntactically)
1709 (python-nav--forward-defun, python-nav-backward-defun)
1710 (python-nav-forward-defun): New functions.
1712 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1714 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
1715 (python-syntax-context): Use named compiler-macro for backwards
1716 compatibility with Emacs 24.x.
1718 2013-04-17 Leo Liu <sdl.web@gmail.com>
1720 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
1721 octave-hide-process-buffer.
1723 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1725 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
1728 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
1730 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
1731 Fix adjustment of offset when receiving incomplete responses from GDB
1734 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1736 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
1737 python-mode-abbrev-table.
1738 (python-skeleton-define): Adjust accordingly.
1739 (python-mode-abbrev-table): New table that inherits from it so that
1740 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
1742 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
1743 (abbrev-symbol): Use it.
1744 (abbrev--before-point): Use it since we already handle inheritance.
1746 2013-04-16 Leo Liu <sdl.web@gmail.com>
1748 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
1749 binding to info-lookup-symbol.
1751 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
1753 * minibuffer.el (completion--twq-all):
1754 * term/ns-win.el (ns-initialize-window-system):
1755 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
1757 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1759 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
1762 * doc-view.el (doc-view-start-process): Handle url-handler directories.
1764 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
1766 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
1767 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
1769 (ruby-end-of-defun): Remove the unused arg, change the docstring
1770 to reflect that this function is only used as the value of
1771 `end-of-defun-function'.
1772 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
1773 to reflect an earlier change that beginning/end-of-defun functions
1774 jump between methods in a class definition, as well as top-level
1777 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1779 * minibuffer.el (minibuffer-complete): Don't just scroll
1780 a *Completions* that's been iconified.
1781 (minibuffer-force-complete): Make sure repetitions do cycle when going
1782 through completion-in-region -> minibuffer-complete.
1784 2013-04-15 Alan Mackenzie <acm@muc.de>
1786 Correct the placement of c-cpp-delimiters when there're #s not at
1789 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
1790 place a submatch around the #.
1791 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
1792 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
1795 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1797 * emacs-lisp/nadvice.el: Properly test names when adding advice.
1798 (advice--member-p): New arg `name'.
1799 (advice--add-function, advice-member-p): Use it (bug#14202).
1801 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
1803 Reformulate java imenu-generic-expression.
1804 The old expression contained ill formed regexps.
1806 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
1807 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
1808 (cc-imenu-java-method-arg-regexp): New defconsts.
1809 (cc-imenu-java-build-type-args-regex): New defun.
1810 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
1811 handling of spaces in the regexp.
1813 2013-03-15 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
1815 * textmodes/ispell.el (ispell-command-loop): Remove
1816 flyspell highlight of a word when ispell accepts it (bug #14178).
1818 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
1820 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
1821 uses code from the previous `ange-ftp-run-real-handler'.
1822 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
1823 only in case that function exist. This is needed for proper
1826 2013-04-15 Tassilo Horn <tsdh@gnu.org>
1828 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
1830 * textmodes/reftex.el (reftex-compile-variables): Use it.
1832 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1834 * files.el (normal-mode): Only use default major-mode if no other mode
1837 * emacs-lisp/trace.el (trace-values): New function.
1839 * files.el: Allow : in local variables (bug#14089).
1840 (hack-local-variable-regexp): New var.
1841 (hack-local-variables-prop-line, hack-local-variables): Use it.
1843 2013-04-13 Roland Winkler <winkler@gnu.org>
1845 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
1846 data before it gets modified by bibtex-beginning-of-entry.
1848 2013-04-13 Roland Winkler <winkler@gnu.org>
1850 * textmodes/bibtex.el (bibtex-url): Doc fix.
1852 2013-04-13 Roland Winkler <winkler@gnu.org>
1854 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
1855 does not visit a BibTeX file, exclude it from the list of buffers
1856 returned by bibtex-initialize.
1858 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
1860 * window.el (split-window): Remove interactive form, since as a
1861 command this function is a special case of split-window-below.
1864 2013-04-12 Roland Winkler <winkler@gnu.org>
1866 * faces.el (read-face-name): Do not override value of arg default.
1867 Allow single faces and strings as default values. Remove those
1868 elements from return value that are not faces.
1869 (describe-face): Simplify.
1870 (face-at-point): New optional args thing and multiple so that this
1871 function can provide the same functionality previously provided by
1873 (make-face-bold, make-face-unbold, make-face-italic)
1874 (make-face-unitalic, make-face-bold-italic, invert-face)
1875 (modify-face, read-face-and-attribute): Use face-at-point.
1877 * cus-edit.el (customize-face, customize-face-other-window)
1878 * cus-theme.el (custom-theme-add-face)
1879 * face-remap.el (buffer-face-set)
1880 * facemenu.el (facemenu-set-face): Use face-at-point.
1882 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
1884 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
1886 2013-04-10 Tassilo Horn <tsdh@gnu.org>
1888 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
1889 off leading { and trailing } from field values.
1891 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1893 * emacs-lisp/timer.el (timer--check): New function.
1894 (timer--time, timer-set-function, timer-event-handler): Use it.
1895 (timer-set-idle-time): Simplify.
1896 (timer--activate): CSE.
1897 (timer-event-handler): Give more info in error message.
1898 (internal-timer-start-idle): New function, moved from C.
1900 * mpc.el (mpc-proc): Add `restart' argument.
1901 (mpc-proc-cmd): Use it.
1902 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
1903 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
1906 2013-04-10 Masatake YAMATO <yamato@redhat.com>
1908 * progmodes/sh-script.el: Implement `sh-mode' own
1909 `add-log-current-defun-function' (bug#14112).
1910 (sh-current-defun-name): New function.
1911 (sh-mode): Use the function.
1913 2013-04-09 Bastien Guerry <bzg@gnu.org>
1915 * simple.el (choose-completion-string): Fix docstring (bug#14163).
1917 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1919 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
1921 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
1924 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
1926 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
1929 2013-04-07 Leo Liu <sdl.web@gmail.com>
1931 * pcmpl-x.el: New file.
1933 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
1935 Do not set x-display-name until X connection is established.
1936 This is needed to prevent from weird situation described at
1937 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
1938 * frame.el (make-frame): Set x-display-name after call to
1939 window system initialization function, not before.
1940 * term/x-win.el (x-initialize-window-system): Add optional
1941 display argument and use it.
1942 * term/w32-win.el (w32-initialize-window-system):
1943 * term/ns-win.el (ns-initialize-window-system):
1944 * term/pc-win.el (msdos-initialize-window-system):
1945 Add compatible optional display argument.
1947 2013-04-06 Eli Zaretskii <eliz@gnu.org>
1949 * files.el (normal-backup-enable-predicate): On MS-Windows and
1950 MS-DOS compare truenames of temporary-file-directory and of the
1951 file, so that 8+3 aliases (usually found in $TEMP on Windows)
1952 don't fail comparison by compare-strings. Also, compare file
1953 names case-insensitively on MS-Windows and MS-DOS.
1955 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1957 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
1958 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
1960 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
1962 * whitespace.el (whitespace-color-on, whitespace-color-off):
1963 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
1965 2013-04-05 Jacek ChrzÄ…szcz <chrzaszcz@mimuw.edu.pl> (tiny change)
1967 * ispell.el (ispell-set-spellchecker-params):
1968 Really set `ispell-args' for all equivs.
1970 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1972 * ido.el (ido-completions): Use extra elements of ido-decorations
1974 (ido-decorations): Update docstring.
1976 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
1978 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1979 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
1980 nil during initialization, in order not to miss changes since the
1981 file was opened. (Bug#14140)
1983 2013-04-05 Leo Liu <sdl.web@gmail.com>
1985 * kmacro.el (kmacro-call-macro): Fix bug#14135.
1987 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
1989 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
1991 2013-04-04 Glenn Morris <rgm@gnu.org>
1993 * electric.el (electric-pair-inhibit-predicate): Add :version.
1995 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1997 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
1998 when a package is required several times (bug#14082).
2000 2013-04-04 Roland Winkler <winkler@gnu.org>
2002 * faces.el (read-face-name): Behave as promised by the docstring.
2003 Assume that arg default is a list of faces.
2004 (describe-face): Call read-face-name with list of default faces.
2006 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2008 * bookmark.el: Fix deletion of bookmarks (bug#13972).
2009 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
2010 (bookmark-bmenu-execute-deletions): Only skip first line if it's
2012 (bookmark-exit-hook-internal): Save even if list is empty.
2014 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
2016 * emacs-lisp/package.el (package-pinned-packages): New var.
2017 (package--add-to-archive-contents): Obey it (bug#14118).
2019 2013-04-03 Alan Mackenzie <acm@muc.de>
2021 Handle `parse-partial-sexp' landing inside a comment opener
2022 (Bug#13244). Also adapt to the new values of element 7 of a parse
2025 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
2026 parameter `not-in-delimiter'. Handle being inside comment opener.
2027 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
2028 character in case we're typing a '*' after a '/'.
2029 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
2030 instead by passing the parameter to c-state-pp-to-literal.
2032 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
2033 for elt. 7 of a parse state.
2035 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
2037 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
2038 * international/latin1-disp.el, international/mule-util.el:
2039 * language/cyril-util.el, language/european.el, language/ind-util.el:
2040 * language/lao-util.el, language/thai.el, language/tibet-util.el:
2041 * language/tibetan.el, language/viet-util.el:
2042 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
2044 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
2046 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
2047 (electric-pair-post-self-insert-function): Use it.
2048 (electric-pair-default-inhibit): New function, extracted from
2049 electric-pair-post-self-insert-function.
2051 2013-03-31 Roland Winkler <winkler@gnu.org>
2053 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
2055 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
2057 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
2059 2013-03-30 FabiĂ¡n Ezequiel Gallina <fabian@anue.biz>
2061 Un-indent after "pass" and "return" statements (Bug#13888)
2062 * progmodes/python.el (python-indent-block-enders): New var.
2063 (python-indent-calculate-indentation): Use it.
2065 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
2067 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
2068 defun. Defining it as defalias could introduce too eager
2069 byte-compiler optimization. (Bug#14030)
2071 2013-03-30 Chong Yidong <cyd@gnu.org>
2073 * iswitchb.el (iswitchb-read-buffer): Fix typo.
2075 2013-03-30 Leo Liu <sdl.web@gmail.com>
2077 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
2078 (kmacro-execute-from-register): Pass the keyboard macro to
2079 kmacro-call-macro or repeating won't work correctly.
2081 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
2083 * progmodes/subword.el: Back to using `forward-symbol'.
2085 * subr.el (forward-whitespace, forward-symbol)
2086 (forward-same-syntax): Move from thingatpt.el.
2088 2013-03-29 Leo Liu <sdl.web@gmail.com>
2090 * kmacro.el (kmacro-to-register): New command.
2091 (kmacro-execute-from-register): New function.
2092 (kmacro-keymap): Bind to 'x'. (Bug#14071)
2094 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
2096 * mpc.el: Use defvar-local and setq-local.
2097 (mpc--proc-connect): Connection failures are not bugs.
2098 (mpc-mode-map): `follow-link' only applies to the buffer's content.
2099 (mpc-volume-map): Bind to the up-events.
2101 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
2103 * progmodes/subword.el (superword-mode): Use `forward-sexp'
2104 instead of `forward-symbol'.
2106 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2108 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
2109 (edebug--recursive-edit): Use it.
2110 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
2111 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
2113 2013-03-28 Leo Liu <sdl.web@gmail.com>
2115 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
2117 2013-03-27 Eli Zaretskii <eliz@gnu.org>
2119 * facemenu.el (list-colors-callback): New defvar.
2120 (list-colors-redisplay): New function.
2121 (list-colors-display): Install list-colors-redisplay as the
2122 revert-buffer-function. (Bug#14063)
2124 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2126 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
2127 and suffixes don't overlap (bug#14061).
2129 * case-table.el: Use lexical-binding.
2130 (case-table-get-table): New function.
2131 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
2133 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
2135 * progmodes/subword.el: Add `superword-mode' to do word motion
2136 over symbol_words (parallels and leverages `subword-mode' which
2137 does word motion inside MixedCaseWords).
2139 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
2141 * eshell/em-unix.el: Move su and sudo to...
2142 * eshell/em-tramp.el: ...Eshell tramp module.
2144 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2146 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
2147 Change return value to be a sexp. Delay `get-buffer' to after
2148 restoring the desktop (bug#13951).
2150 2013-03-26 Leo Liu <sdl.web@gmail.com>
2152 * register.el: Move semantic tag handling back to
2153 cedet/semantic/senator.el. (Bug#14052)
2155 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2157 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
2158 into the prompt either (bug#13963).
2160 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
2162 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
2163 part of "(error-foo)".
2165 2013-03-24 Juri Linkov <juri@jurta.org>
2167 * replace.el (list-matching-lines-prefix-face): New defcustom.
2168 (occur-1): Pass `list-matching-lines-prefix-face' to the function
2169 `occur-engine' if `face-differs-from-default-p' returns t.
2170 (occur-engine): Add `,' inside backquote construct to evaluate
2171 `prefix-face'. Propertize the prefix with the `prefix-face' face.
2172 Pass `prefix-face' to the functions `occur-context-lines' and
2173 `occur-engine-add-prefix'.
2174 (occur-engine-add-prefix, occur-context-lines): Add optional arg
2175 `prefix-face' and propertize the prefix with `prefix-face'.
2178 2013-03-24 Leo Liu <sdl.web@gmail.com>
2180 * nxml/rng-valid.el (rng-validate-while-idle)
2181 (rng-validate-quick-while-idle): Guard against deleted buffer.
2184 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
2185 is the last entry in kill-buffer-hook.
2187 * files.el (kill-buffer-hook): Doc fix.
2189 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
2191 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
2194 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
2196 2013-03-23 Leo Liu <sdl.web@gmail.com>
2198 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
2201 * nxml/rng-valid.el (rng-validate-mode)
2202 (rng-after-change-function, rng-do-some-validation):
2203 * nxml/rng-maint.el (rng-validate-buffer):
2204 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
2205 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
2206 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
2207 (nxml-extend-after-change-region): Use with-silent-modifications.
2209 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
2212 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
2213 (rng-next-error-1, rng-previous-error-1): Do not let-bind
2214 timer-idle-list. (Bug#13999)
2216 2013-03-23 Juri Linkov <juri@jurta.org>
2218 * info.el (info-index-match): New face.
2219 (Info-index, Info-apropos-matches): Add a nested subgroup to the
2220 main pattern and add text properties with the new face to matches
2221 in index entries relative to the beginning of the index entry.
2224 2013-03-21 Eric Ludlam <zappo@gnu.org>
2226 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
2227 Inhibit read only while inserting objects.
2229 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
2231 * progmodes/cfengine.el: Update docs to mention
2232 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
2233 symbol motion. Remove "_" from the word syntax.
2235 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
2237 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
2238 syntax for both `cfengine2-mode' and `cfengine3-mode'.
2240 2013-03-20 Juri Linkov <juri@jurta.org>
2242 * info.el (Info-next-reference-or-link)
2243 (Info-prev-reference-or-link): New functions.
2244 (Info-next-reference, Info-prev-reference): Use them.
2245 (Info-try-follow-nearest-node): Handle footnote navigation.
2246 (Info-fontify-node): Fontify footnotes. (Bug#13989)
2248 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2250 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
2251 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
2253 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
2255 Suppress unnecessary non-ASCII chatter during build process.
2256 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
2257 (batch-skkdic-convert): Suppress most of the chatter.
2258 It's not needed so much now that machines are faster,
2259 and its non-ASCII component was confusing; see Dmitry Gutov in
2260 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
2262 2013-03-20 Leo Liu <sdl.web@gmail.com>
2264 * ido.el (ido-chop): Fix bug#10994.
2266 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2268 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
2270 (whitespace-color-on, whitespace-color-off):
2271 Use `font-lock-fontify-buffer' (Bug#13817).
2273 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
2275 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
2276 remapping in mode-line.
2277 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
2279 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2281 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
2282 value for `whitespace-line' face (Bug#13875).
2283 (whitespace-font-lock-keywords): Change description.
2284 (whitespace-color-on): Don't save `font-lock-keywords' value, save
2285 the constructed keywords instead.
2286 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
2288 2013-03-19 Leo Liu <sdl.web@gmail.com>
2290 * progmodes/compile.el (compilation-display-error): New command.
2291 (compilation-mode-map, compilation-minor-mode-map): Bind it to
2294 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2296 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
2298 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
2300 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
2302 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
2304 * net/tramp-compat.el (tramp-compat-user-error): New defun.
2306 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2307 * net/tramp-gvfs.el (top):
2308 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
2309 (tramp-handle-shell-command): Use it.
2310 (tramp-dissect-file-name): Raise an error when hostname is a
2311 method name, and neither method nor user is specified.
2313 * net/trampver.el: Update release number.
2315 2013-03-18 Leo Liu <sdl.web@gmail.com>
2317 Make sure eldoc can be turned off properly.
2318 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
2320 (eldoc-display-message-p): Revert last change.
2321 (eldoc-display-message-no-interference-p)
2322 (eldoc-print-current-symbol-info): Tweak.
2324 2013-03-18 Tassilo Horn <tsdh@gnu.org>
2326 * doc-view.el (doc-view-new-window-function): Check the new window
2327 overlay's display property instead the char property of the
2328 buffer's first char. Use `with-selected-window' instead of
2329 `save-window-excursion' with `select-window'.
2330 (doc-view-document->bitmap): Check the current doc-view overlay's
2331 display property instead the char property of the buffer's first char.
2333 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2335 Automate the build of ja-dic.el (Bug#13984).
2336 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
2337 from the input, rather than assume that it's been done for us by the
2338 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
2339 the current date into a ja-dic.el comment, as that complicates
2342 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2344 * whitespace.el: Fix double evaluation.
2345 (whitespace-space, whitespace-hspace, whitespace-tab)
2346 (whitespace-newline, whitespace-trailing, whitespace-line)
2347 (whitespace-space-before-tab, whitespace-indentation)
2348 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
2350 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
2351 (whitespace-color-on): Use a single font-lock-add-keywords call.
2352 Fix double-evaluation of face variables.
2354 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
2356 * net/tramp-adb.el (tramp-adb-parse-device-names):
2357 Use `start-process' instead of `call-process'. Otherwise, the
2358 function might be blocked under MS Windows. (Bug#13299)
2360 2013-03-17 Leo Liu <sdl.web@gmail.com>
2362 Extend eldoc to display info in the mode-line. (Bug#13978)
2363 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
2364 (eldoc-mode-line-string): New variable.
2365 (eldoc-minibuffer-message): New function.
2366 (eldoc-message-function): New variable.
2367 (eldoc-message): Use it.
2368 (eldoc-display-message-p)
2369 (eldoc-display-message-no-interference-p):
2370 Support eldoc-post-insert-mode.
2372 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
2373 (eval-expression): Run it.
2375 2013-03-17 Roland Winkler <winkler@gnu.org>
2377 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
2378 strings in the list of return values.
2380 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2382 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
2383 radix before checking for HMS forms.
2385 2013-03-16 Leo Liu <sdl.web@gmail.com>
2387 * progmodes/scheme.el: Add indentation and font-locking for λ.
2390 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
2392 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
2393 token before point (bug#13942).
2395 2013-03-16 Leo Liu <sdl.web@gmail.com>
2397 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
2399 2013-03-16 Eli Zaretskii <eliz@gnu.org>
2401 * startup.el (command-line-normalize-file-name): Fix handling of
2402 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
2403 <xfq.free@gmail.com> in
2404 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
2406 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
2408 Sync with Tramp 2.2.7.
2410 * net/trampver.el: Update release number.
2412 2013-03-14 Tassilo Horn <tsdh@gnu.org>
2414 * doc-view.el Fix bug#13887.
2415 (doc-view-insert-image): Don't modify overlay associated to
2416 non-live windows, and implement horizontal centering of image in
2417 case it's smaller than the window.
2418 (doc-view-new-window-function): Force redisplay of new windows on
2421 2013-03-13 Karl Fogel <kfogel@red-bean.com>
2423 * saveplace.el (save-place-alist-to-file): Don't sort
2424 `save-place-alist', just pretty-print it (bug#13882).
2426 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
2428 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
2429 whether `default-file-name-coding-system' is bound. It isn't in
2432 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
2434 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
2435 backquotes for `obsolete' (bug#13929).
2437 * international/mule.el (find-auto-coding): Include file name in
2438 obsolescence warning (bug#13922).
2440 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
2442 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
2443 for CFEngine 3-specific indentation.
2444 (cfengine3-indent-line): Use it. Fix up category regex.
2445 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
2447 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2449 * type-break.el (type-break-file-name):
2450 * textmodes/remember.el (remember-data-file):
2451 * strokes.el (strokes-file):
2452 * shadowfile.el (shadow-initialize):
2453 * saveplace.el (save-place-file):
2454 * ps-bdf.el (bdf-cache-file):
2455 * progmodes/idlwave.el (idlwave-config-directory):
2456 * net/quickurl.el (quickurl-url-file):
2457 * international/kkc.el (kkc-init-file-name):
2458 * ido.el (ido-save-directory-list-file):
2459 * emulation/viper.el (viper-custom-file-name):
2460 * emulation/vip.el (vip-startup-file):
2461 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2462 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
2464 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
2466 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
2467 * language/thai-word.el: Switch to UTF-8.
2469 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2471 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
2473 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2475 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
2476 Use with-current-buffer and don't move point.
2477 (net-utils-run-simple): Remove useless code.
2478 (net-utils-remove-ctl-m): Remove unused custom.
2480 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
2482 * international/characters.el (glyphless-set-char-table-range): New fun.
2483 (update-glyphless-char-display): Use it (bug#13744).
2485 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
2487 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
2488 namespaces in the syntax, indent closer for hanging brace
2489 correctly, allow single-quote delimited 'strings', and make
2490 `cfengine3-mode' the default.
2492 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
2494 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
2495 Use lexical-binding. Fix up docstring according to conventions.
2496 (gdbmi-debug-mode): New var.
2497 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
2498 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
2499 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
2500 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
2501 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
2502 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
2503 (gdbmi-bnf-incomplete-record-result): New functions.
2504 (gdb-car<): Remove function.
2505 (gdbmi-record-list): Remove variable.
2506 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
2507 (gdbmi-bnf-result-state-configs): New const.
2508 (gud-gdbmi-marker-filter): Rewrite.
2509 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
2510 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
2511 Add `token' argument.
2512 (gdb-done, gdb-error): New functions.
2513 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
2515 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2517 * term/xterm.el (xterm--report-background-handler): Don't burp
2519 (xterm--version-handler): Extract from terminal-init-xterm.
2520 (xterm--query): Don't mishandle timeout. Remove debugging messages.
2521 Allow multiple handlers.
2522 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
2524 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
2525 (xterm--report-background-handler, xterm--query): New functions.
2526 (terminal-init-xterm): Use them.
2528 2013-03-11 Michael R. Mauger <michael@mauger.com>
2530 * progmodes/sql.el Version 3.2
2531 Please note that my address changed to <michael@mauger.com>;
2532 the <mmaug@yahoo.com> address remains active.
2533 (sql-connection-alist): Updates documentation to fix bug#13715.
2534 (sql-connect): Handle missing `sql-connection-alist' correctly.
2535 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
2536 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
2538 (sql-default-value): New function.
2539 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
2540 values were not used.
2541 (sql-rename-buffer): Make sure alternate buffer name has no text
2543 (sql-input-sender, sql-execute-feature): Fetch variable with
2544 `buffer-local-value' rather than `with-current-buffer'.
2545 (sql-*): Use #' function syntax consistently.
2546 (sql-*): Use message/error/user-error consistently.
2548 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2550 * xt-mouse.el (xterm-mouse-event-read): Remove.
2551 (xterm-mouse--read-event-sequence-1000)
2552 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
2554 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2556 * term/xterm.el (xterm-function-map): Support format used with
2557 formatOtherKeys=1 (bug#13839).
2559 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
2560 (with-no-warnings): Use `declare'.
2562 * whitespace.el (whitespace-enable-predicate): New variable.
2563 (whitespace-enable-predicate): Use it.
2565 * comint.el (comint-send-input, comint-snapshot-last-prompt)
2566 (comint-output-filter, comint-update-fence):
2567 Use with-silent-modifications.
2569 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
2571 * replace.el (occur-read-regexp-defaults-function): New var.
2572 (occur-read-regexp-defaults): New defun.
2573 (occur-read-primary-args): Propagate above change (bug#13892).
2575 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2577 * mouse.el (mouse-drag-track): Remove left-over debugging code.
2579 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
2581 Major rewrite due to changed D-Bus interface of GVFS 1.14.
2583 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
2584 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
2585 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
2587 (tramp-gvfs-file-name-handler-alist) [directory-files]
2588 [directory-files-and-attributes, file-exists-p, file-modes]:
2589 Use Tramp default handler.
2590 [file-acl, file-selinux-context, process-file, set-file-acl]:
2591 [set-file-modes, set-file-selinux-context, shell-command]:
2592 [start-file-process]: Remove handler.
2593 [verify-visited-file-modtime]: New handler.
2594 (tramp-gvfs-dbus-string-to-byte-array)
2595 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
2596 calls of `dbus-string-to-byte-array' and
2597 `tramp-gvfs-dbus-byte-array-to-string'.
2598 (tramp-gvfs-handle-copy-file)
2599 (tramp-gvfs-handle-delete-directory)
2600 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
2601 (tramp-gvfs-handle-file-directory-p)
2602 (tramp-gvfs-handle-file-executable-p)
2603 (tramp-gvfs-handle-file-name-all-completions)
2604 (tramp-gvfs-handle-file-readable-p)
2605 (tramp-gvfs-handle-file-writable-p)
2606 (tramp-gvfs-handle-insert-directory)
2607 (tramp-gvfs-handle-insert-file-contents)
2608 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
2609 (tramp-gvfs-handle-set-visited-file-modtime)
2610 (tramp-gvfs-handle-write-region): Rewrite.
2611 (tramp-gvfs-handle-file-acl)
2612 (tramp-gvfs-handle-file-selinux-context)
2613 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
2614 (tramp-gvfs-handle-set-file-modes)
2615 (tramp-gvfs-handle-set-file-selinux-context)
2616 (tramp-gvfs-handle-shell-command)
2617 (tramp-gvfs-handle-start-file-process)
2618 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
2619 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
2620 over the symlinks. Fix user handling.
2621 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
2622 of the D-Bus signals.
2623 (tramp-gvfs-connection-mounted-p): Handle different names of the
2625 (tramp-gvfs-mount-spec-entry): New defun.
2626 (tramp-gvfs-mount-spec): Use it.
2627 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
2628 there is a share name. Handle different names of the D-Bus
2629 signals and methods. Set connection properties needed for
2630 `tramp-check-cached-permissions'.
2631 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
2634 * net/tramp.el (tramp-backtrace): Move up.
2635 (tramp-error): Dump a backtrace into the debug buffer when
2637 (tramp-file-mode-type-map, tramp-file-mode-from-int)
2638 (tramp-file-mode-permissions, tramp-get-local-uid)
2639 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
2642 * net/tramp-sh.el (tramp-file-mode-type-map)
2643 (tramp-check-cached-permissions, tramp-file-mode-from-int)
2644 (tramp-file-mode-permissions, tramp-get-local-uid)
2645 (tramp-get-local-gid): Move to tramp.el.
2647 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2649 Separate mouse-1-click-follows-link from mouse-drag-region.
2650 * mouse.el (mouse--down-1-maybe-follows-link): New function.
2651 (key-translation-map): Use it to implement mouse-1-click-follows-link.
2652 (mouse-drag-line, mouse-drag-track):
2653 Remove mouse-1-click-follows-link code.
2654 (mouse--remap-link-click-p): Remove.
2656 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
2658 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
2659 (hi-lock-read-regexp-defaults): New defun.
2660 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2661 (hi-lock-face-phrase-buffer): Propagate above change.
2662 Update docstring (bug#13892).
2664 * subr.el (find-tag-default-as-regexp): New defun.
2665 * replace.el (read-regexp): Propagate above change.
2667 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
2669 * calc/calc-units.el (calc-convert-units): Fix the way that default
2670 new units are stored.
2672 2013-03-07 Matthias Meulien <orontee@gmail.com>
2674 * bookmark.el: Define a face to highlight bookmark names in
2675 bookmark menu buffers, where the default is a bold face similarly
2676 to buffer names in buffer menu buffers.
2677 (bookmark-menu-bookmark): New face to highlight bookmark names.
2678 (bookmark-insert-location): Remove duplicated text property to
2679 conform to buffer list (see `list-buffers').
2680 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
2681 `bookmark-menu-bookmark' to bookmark names.
2683 2013-03-07 Matthias Meulien <orontee@gmail.com>
2684 Karl Fogel <kfogel@red-bean.com>
2686 * bookmark.el: Display the bookmark list header similarly to the
2687 buffer list header (see `list-buffers'), where the default is now
2688 an immovable/immutable header line.
2689 (bookmark-bmenu-use-header-line): New variable.
2690 (bookmark-bmenu-inline-header-height): New name for
2691 `bookmark-bmenu-header-height', to avoid confusion with the code
2692 for the new immovable header. All references changed.
2693 (bookmark-bmenu-set-header): New function.
2694 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
2695 Conditionalize header construction accordingly.
2696 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
2697 the inline header height.
2698 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
2699 Conditionalize the skipping of the inline header height.
2701 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
2703 * progmodes/js.el (js--multi-line-declaration-indentation):
2704 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
2706 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
2708 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2709 Only propertize regexp when not inside a string (Bug#13885).
2711 2013-03-06 Alan Mackenzie <acm@muc.de>
2713 Correct the position of point in some line-up functions.
2714 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
2715 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
2716 point at column 0 rather than at a random place in the line.
2718 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
2720 * net/tramp-compat.el (tramp-compat-delete-directory):
2721 Implement TRASH argument.
2723 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
2725 Keep pre-existing highlighting in completion candidates (Bug#13250).
2726 * minibuffer.el (completions-first-difference): State that the
2727 face is "added" in the docstring.
2728 (completions-common-part): Same. And don't inherit from default.
2729 (completion-hilit-commonality): Prepend 'completions-common-part
2730 and 'completion-first-difference faces to the 'face property,
2731 instead of replacing the value(s).
2732 (completion--insert-strings): Same with 'completions-annotations face.
2733 (completion-hilit-commonality): Use 'face instead of
2734 'font-lock-face, because it gets priority if the completion
2735 strings already have 'face set.
2737 2013-03-04 Alan Mackenzie <acm@muc.de>
2739 Replace `last-command-event' by `last-command-char' in XEmacs.
2740 * progmodes/cc-defs.el (c-last-command-char): New macro.
2741 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
2742 (c-semi&comma-no-newlines-before-nonblanks)
2743 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
2744 in place of `last-command-event'.
2745 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
2746 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
2747 (c-electric-paren, c-electric-continued-statement): Use the new
2748 macro in place of `last-command-event'.
2750 2013-03-04 Glenn Morris <rgm@gnu.org>
2752 * files.el (inhibit-local-variables-regexps):
2753 Add .diff and .patch. (Bug#13862)
2755 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
2757 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
2758 whether the "su" command is available on the device.
2760 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2762 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
2763 (tramp-adb-handle-process-file): Remove superfluous setting.
2764 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
2765 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
2766 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
2768 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
2770 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
2771 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
2772 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
2773 Use dict-key rather than dict-name for the error message.
2775 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2777 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
2778 when reverting (bug#13831).
2780 2013-03-01 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
2782 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2783 Always expand affix-file before storing to protect against changed
2784 `default-directory'.
2785 (ispell-print-if-debug): Make sure message is printed at the end
2786 of the debug buffer.
2788 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2790 * net/tramp.el (tramp-obsolete-methods): New defconst.
2791 (tramp-warned-obsolete-methods): New defvar.
2792 (tramp-find-method): Check for obsolete methods. Map them to a
2793 replacement method if appropriate.
2795 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
2797 (top): Remove completion functions for "scp1", "scp2", "ssh1",
2798 "ssh2" and "plink1".
2800 2013-02-28 Dale Sedivec <dale@codefu.org>
2802 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
2803 Return valid syntax-table property value when converting
2804 quotes within text from string syntax to punctuation syntax (bug#13844).
2806 2013-02-28 Juri Linkov <juri@jurta.org>
2808 * dired-aux.el (dired-diff): If file at point is a backup file,
2809 use its original as the default value, and reverse the order
2810 of arguments to the `diff' call. Doc fix. (Bug#13772)
2812 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
2814 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
2815 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
2817 2013-02-28 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
2819 Initial support for hunspell dictionaries auto-detection (Bug#13639)
2821 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2822 Ask hunspell about available and default dictionaries.
2823 (ispell-parse-hunspell-affix-file): Extract relevant info from
2824 hunspell affix file.
2825 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
2826 `ispell-dictionary-alist' entry for given dictionary after info
2827 provided by `ispell-parse-hunspell-affix-file'.
2828 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
2829 of parsed hunspell dicts and associated affix files.
2830 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
2831 of parsed hunspell dicts and associated parameters.
2832 (ispell-set-spellchecker-params):
2833 Call `ispell-find-hunspell-dictionaries' if hunspell and not
2835 (ispell-start-process):
2836 Call `ispell-hunspell-fill-dictionary-entry' for current
2837 dictionary if it is not initialized.
2839 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2841 * imenu.el: Comment nitpicks.
2843 2013-02-28 Sam Steingold <sds@gnu.org>
2845 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
2846 See <http://stackoverflow.com/questions/14720205>.
2848 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2850 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
2851 (net-utils-mode): Use it.
2852 (net-utils--revert-cmd): New var.
2853 (net-utils-run-simple): Set it, and remove bogus interactive spec.
2854 (traceroute): Use net-utils-run-simple.
2856 2013-02-28 Glenn Morris <rgm@gnu.org>
2858 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
2860 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2862 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
2863 (doc-view-fallback-mode): Remove overlays here.
2864 (doc-view-toggle-display): Instead of here. Don't throw away
2865 image-mode-winprops-alist.
2866 (doc-view-goto-page): Don't mess with hscroll.
2868 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2870 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
2871 &optional (bug#13819).
2873 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
2875 * net/tramp-adb.el (tramp-adb-parse-device-names)
2876 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
2878 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
2880 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2881 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
2882 defined. POSIX environments fall back to the "C" locale then and
2883 emit a warning, which shall be suppressed.
2885 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
2887 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
2888 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
2890 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2892 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
2894 2013-02-25 Juri Linkov <juri@jurta.org>
2896 * replace.el (read-regexp): Let-bind `default' to the first
2897 element of `defaults' if it's a list, otherwise it should be
2898 a string or nil. Let-bind `suggestions' to `defaults' if it's
2899 a list, otherwise make a list with the string value. Doc fix.
2902 2013-02-25 Eli Zaretskii <eliz@gnu.org>
2904 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
2905 that match "\`\.#", to avoid compiling lock files, even if they
2906 are readable (as they are on MS-Windows).
2908 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2910 * files.el (basic-save-buffer): Remove redundant directory-creation.
2912 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
2914 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
2915 Add option to force `pi' to remain symbolic.
2916 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
2917 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
2918 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
2919 derivatives, when necessary.
2921 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
2923 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
2924 (ps-mode-octal-region): Use string-make-unibyte.
2926 2013-02-23 Glenn Morris <rgm@gnu.org>
2928 * emulation/viper-cmd.el (viper-submit-report):
2929 * progmodes/ps-mode.el (ps-mode-maintainer-address):
2930 * progmodes/vera-mode.el (vera-mode-help-address):
2931 * textmodes/artist.el (artist-maintainer-address):
2932 * textmodes/reftex.el (reftex-report-bug):
2933 * vc/ediff-util.el (ediff-submit-report):
2934 Add bug-gnu-emacs to bug report address.
2936 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
2937 Remove bug report entries.
2938 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
2940 * emacs-lisp/bytecomp.el (byte-compile-level): New.
2941 (byte-compile-file, byte-compile-from-buffer):
2942 Use separate input/output buffers for each level of recursive
2943 byte-compile-file calls. (Bug#13787)
2945 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
2947 * net/tramp.el (tramp-methods): Fix docstring.
2948 (tramp-ssh-controlmaster-options): Rename it from
2949 `tramp-ssh-controlmaster-template'. Return a string.
2950 (tramp-default-method): Adapt check for
2951 `tramp-ssh-controlmaster-options'.
2953 * net/tramp-sh.el (tramp-methods):
2954 Replace `tramp-ssh-controlmaster-template' by "%c".
2955 (tramp-do-copy-or-rename-file-out-of-band)
2956 (tramp-maybe-open-connection): Use it in format spec. Ensure,
2957 that it is applied for the first hop only.
2959 2013-02-22 Juri Linkov <juri@jurta.org>
2961 * isearch.el (isearch-lazy-highlight-new-loop):
2962 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
2963 to `isearch-other-end' if it is not nil. (Bug#13402)
2965 * replace.el (replace-highlight): Let-bind `isearch-other-end'
2968 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
2969 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
2970 and `isearch-error' to nil.
2972 2013-03-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2974 * progmodes/python.el (python-info-current-defun):
2975 Enhance match-data cluttering prevention.
2977 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
2979 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
2981 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2982 Handle multibyte file names.
2984 2013-02-22 Glenn Morris <rgm@gnu.org>
2986 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
2987 (sgml-transformation-function): Give it a :set function.
2988 (sgml-tag): Doc fix.
2990 * cmuscheme.el (scheme-buffer):
2991 * progmodes/inf-lisp.el (inferior-lisp-buffer):
2992 * progmodes/tcl.el (inferior-tcl-buffer):
2993 * textmodes/tex-mode.el (tex-command): Doc fixes.
2995 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
2997 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
2999 2013-02-21 Bastien Guerry <bzg@gnu.org>
3001 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
3003 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3005 * progmodes/python.el (python-info-current-defun):
3006 Enhance match-data cluttering prevention.
3008 2013-02-21 Glenn Morris <rgm@gnu.org>
3010 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
3011 loaded while outline-regexp is let bound. (Bug#9584)
3013 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3015 * progmodes/python.el (python-info-current-defun): Fix failed
3016 defun name retrieval because of unwanted match-data cluttering.
3018 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
3020 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
3021 defconst. Apply independent check for ControlPersist.
3023 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
3024 temporarily, via "env".
3026 2013-02-21 Glenn Morris <rgm@gnu.org>
3028 * info.el (Info-enable-edit): Remove.
3029 (Info-edit): Disable it rather than using Info-enable.
3030 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
3031 (Info-cease-edit): Make editing of Info files obsolete.
3033 * informat.el (Info-tagify):
3034 Handle buffers not visiting files. (Bug#13763)
3036 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
3038 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
3040 2013-02-21 Glenn Morris <rgm@gnu.org>
3042 * files.el (basic-save-buffer): Move check for existing parent
3043 directory after hooks. (Bug#13773)
3045 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
3047 * simple.el (command-execute): Move from C. Add obsolete check.
3048 (extended-command-history): Move from C.
3050 2013-02-20 Ulrich MĂ¼ller <ulm@gentoo.org>
3052 * jka-cmpr-hook.el (jka-compr-compression-info-list)
3053 (jka-compr-mode-alist-additions): Handle .txz suffix for
3054 XZ-compressed tar archives (bug#13770).
3056 2013-02-20 Bastien Guerry <bzg@gnu.org>
3058 * outline.el (outline-regexp, outline-heading-end-regexp):
3059 Make variables, not options (bug#13731).
3061 2013-02-20 Glenn Morris <rgm@gnu.org>
3063 * image.el (image-current-frame): Change from variable to function.
3064 (image-show-frame): Rename from image-nth-frame. Update callers.
3065 * image-mode.el (image-multi-frame): New variable.
3066 (image-mode-map, image-mode, image-goto-frame):
3067 Use image-multi-frame rather than image-current-frame.
3068 (image-mode, image-goto-frame): Use image-current-frame as
3069 function rather than as variable.
3071 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
3072 * emacs-lisp/cl-macs.el (cl--make-type-test)
3073 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
3075 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3077 * net/tramp-cache.el (tramp-get-hash-table): New defun.
3078 (tramp-get-file-property, tramp-set-file-property)
3079 (tramp-get-connection-property, tramp-set-connection-property): Use it.
3080 (tramp-flush-file-property, tramp-flush-directory-property):
3081 Rename argument to KEY.
3082 (tramp-flush-connection-property): Simplify a little bit.
3083 (tramp-connection-property-p): New defun.
3084 (top): Reapply saved values only if there isn't a corresponding
3085 entry in `tramp-connection-properties'.
3087 2013-02-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3089 * progmodes/python.el (python-indent-context):
3090 Fix python-info-line-ends-backslash-p call.
3091 (python-info-line-ends-backslash-p)
3092 (python-info-beginning-of-backslash): Respect line-number argument.
3093 (python-info-current-line-comment-p):
3094 Fix behavior when not at beginning-of-line.
3095 (python-util-position): Remove function.
3096 (python-util-goto-line): New function.
3098 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3100 * eshell/em-unix.el (eshell/su): Require tramp.
3101 (eshell/sudo): Require tramp. Remove now unnecessary check.
3103 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
3104 `tramp-current-connection' in order to avoid an error when several
3105 commands are invoked in a short time in eshell and friends.
3107 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
3109 Cleanup some of EIEIO's namespace.
3110 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
3111 Use it to define all the class-* and object-* field accessors (renamed
3112 to eieio--class-* and eieio--object-*). Update all uses.
3113 (eieio--class-num-slots, eieio--object-num-slots): Rename from
3114 class-num-slots and object-num-slots.
3115 (eieio--check-type): New macro.
3116 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
3117 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
3118 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
3119 (object-assoc-list-safe): Use it.
3120 (eieio-defclass): Tighten regexp.
3121 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
3122 Remove unreachable code.
3123 (object-class-fast): Declare obsolete.
3124 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
3125 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
3126 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
3127 Rename from class-name, object-name, object-set-name-string,
3128 object-class, object-class-name, class-parents, class-children,
3129 class-precedence-list, class-parent; with obsolete alias.
3130 (class-of, class-direct-superclasses, class-direct-subclasses):
3132 (eieio-defmethod): Use `memq'; remove unreachable code.
3133 * emacs-lisp/eieio-base.el (eieio-persistent-read):
3134 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
3135 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
3137 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
3139 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
3142 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
3144 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
3145 Use font-lock-keyword-face for macros and special forms (bug#8345).
3147 2013-02-17 Didier Verna <didier@didierverna.net>
3149 * net/network-stream.el (network-stream-open-starttls):
3150 Check that response to the starttls-command is non-nil. (Bug#13706)
3152 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3154 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
3155 Don't assume all identifier chars have syntax word.
3156 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3157 Remove bar-not-symbol. Adjust callers.
3158 (lisp-mode-variables): Don't set a font-lock-syntax-table.
3160 2013-02-17 Leo Liu <sdl.web@gmail.com>
3162 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
3164 2013-02-17 Glenn Morris <rgm@gnu.org>
3166 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
3168 * image-mode.el (image-mode-map): Add image-dired menu entry.
3170 * image-dired.el (tumme): Make this alias obsolete.
3172 2013-02-16 Glenn Morris <rgm@gnu.org>
3174 * image.el (image-animated-types): Remove.
3175 (image-multi-frame-p): Rename from image-animated-p, and generalize.
3176 (image-animated-p): Make obsolete alias.
3177 (image-animate, image-nth-frame, image-animate-timeout):
3178 Use image-multi-frame-p.
3179 (image-animate-timeout): If no delay, use image-default-frame-delay.
3180 * image-mode.el (image-mode, image-toggle-animation):
3181 Use image-multi-frame-p. (Bug#763, bug#10739)
3182 (image-mode): Adjust startup message for a multi-frame image.
3184 * image-mode.el (image-mode-map): Give it a menu.
3186 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
3188 * net/tramp-cache.el (tramp-connection-properties): New customer
3190 (tramp-get-connection-property): Use it.
3192 * net/tramp-compat.el (top): Require 'trampver.
3194 * net/tramp-sh.el (tramp-remote-process-environment):
3195 Set tramp-autoload cookie.
3197 2013-02-16 Kevin Ryde <user42@zip.com.au>
3199 * info-look.el (info-lookup-select-mode): If major-mode has no
3200 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
3202 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
3204 * replace.el (read-regexp): Tighten the regexp that matches tag.
3205 When tag is retrieved with `find-tag-default', use regexp that
3206 matches tag at point. Also update docstring (Bug#13687).
3208 2013-02-16 Eli Zaretskii <eliz@gnu.org>
3210 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
3211 add watch for the file, not its parent directory, since w32notify
3212 sets up the watch for the directory internally. (Bug#13725)
3214 2013-02-16 Glenn Morris <rgm@gnu.org>
3216 * image.el (image-default-frame-delay): New variable.
3217 (image-animated-p): Use image-default-frame-delay.
3218 (image-minimum-frame-delay): New constant.
3219 (image-animate-timeout): Use image-minimum-frame-delay.
3221 * image.el (image-nth-frame): New, split from image-animate-timeout.
3222 (image-animate-timeout): Use image-nth-frame.
3223 * image-mode.el (image-goto-frame, image-next-frame)
3224 (image-previous-frame): New commands.
3225 (image-mode-map): Add new frame commands.
3227 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
3229 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
3230 If col-desc already has help-echo, use it. (Bug#13563)
3232 2013-02-16 Glenn Morris <rgm@gnu.org>
3234 * image.el (image-current-frame): New variable.
3235 (image-animate-timeout): Set image-current-frame.
3236 * image-mode.el (image-mode): For animated images,
3237 display a frame counter via mode-line-process.
3239 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
3241 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3243 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
3245 2013-02-15 Alan Mackenzie <acm@muc.de>
3247 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
3248 global minor mode has been enabled, call the minor mode function
3249 for a new buffer once only, after the major mode hook, whilst
3250 allowing that hook explicitly to disable the minor mode.
3251 (MODE-disable-in-buffer): New (generated) function.
3252 (disable-MODE): New (generated) buffer local variable.
3254 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
3256 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
3257 `iswitchb-next-match' and `iswitchb-prev-match' resply.
3258 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
3259 `ido-next-match' and `ido-prev-match' resply.
3260 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
3261 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
3262 `icomplete-backward-completions' (Bug#13708).
3264 2013-02-15 Glenn Morris <rgm@gnu.org>
3266 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3268 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3270 * net/goto-addr.el (goto-address-fontify): Add start and end args.
3271 (goto-address-fontify-region): Use them instead of narrowing, so
3272 syntax-ppss has access to the whole buffer.
3274 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3276 * progmodes/python.el: Explain how to restore "cc-mode"-like
3277 forward-sexp movement in header documentation (Bug#13642).
3278 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
3279 comments and strings (GH bug 114).
3281 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3283 * progmodes/python.el (python-info-current-defun): Fix current
3284 defun detection (Bug#13618).
3286 2013-02-15 Chong Yidong <cyd@gnu.org>
3288 * xml.el (xml-parse-string): Fix typo in handling of bad character
3291 2013-02-15 Glenn Morris <rgm@gnu.org>
3293 * play/fortune.el (fortune-compile): Simplify and fix previous change.
3295 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
3297 * net/tramp.el (tramp-debug-message):
3298 Add `tramp-condition-case-unless-debug'.
3299 (tramp-debug-on-error): New defvar.
3300 (tramp-condition-case-unless-debug): New defun.
3301 (tramp-file-name-handler): Use it.
3303 2013-02-14 Juri Linkov <juri@jurta.org>
3305 * info.el (Info-isearch-filter): Treat non-nil values of
3306 `search-invisible' including its default value `open'
3307 like the value `t' to match hidden text. (Bug#13402)
3309 2013-02-14 Glenn Morris <rgm@gnu.org>
3311 * help-fns.el (find-lisp-object-file-name): Give special treatment
3312 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
3314 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
3316 * net/quickurl.el (quickurl-save-urls):
3317 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
3319 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
3321 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
3322 depth for unfinished percent literal. Not using it in the caller.
3323 (ruby-move-to-block): Jump over multiline literals of all types,
3324 ignoring code-looking contents inside them.
3325 (ruby-add-log-current-method): Improve performance at the expense
3326 of accuracy. `ruby-block-contains-point' is relatively slow, so
3327 only use it for method and singleton class blocks.
3329 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3331 Use ControlMaster where applicable. (Bug#13677)
3333 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
3334 replacing `tramp-detect-ssh-controlmaster'.
3335 (tramp-default-method): Use it.
3337 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
3338 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
3340 [scpc, rsyncc]: Remove methods.
3341 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
3343 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
3344 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
3346 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3348 * emacs-lisp/package.el (package--initialized): Move before first use.
3350 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
3352 * icomplete.el (icomplete-hide-common-prefix): New user option.
3353 (icomplete-first-match): New face.
3354 (icomplete-completions): Correct handling of "complete but not
3355 unique" (Bug#12638).
3357 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
3359 * descr-text.el (describe-char): Display the script (bug#13698).
3361 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3363 * tmm.el: Use lexical-binding and current-active-maps.
3364 (tmm-menubar): Use map-keymap and pcase.
3365 (tmm--completion-table): New function.
3366 (tmm-prompt): Use it to fix the menu order.
3367 (tmm-get-keybind): Use current-active-maps.
3369 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
3371 Add dired-hide-details-mode. (Bug#6799)
3373 * locate.el (locate-mode): Set parent mode property to dired-mode.
3375 * find-dired.el (find-dired): Call dired-insert-set-properties on
3376 initial information line. Set process mark on end of buffer.
3377 (find-dired-sentinel):
3378 Call dired-insert-set-properties on summary.
3380 * dired.el (dired-hide-details-hide-symlink-targets)
3381 (dired-hide-details-hide-information-lines): New options.
3382 (dired-insert-directory):
3383 Set properties after final treatment of output.
3384 (dired-insert-set-properties):
3385 Set dired-hide-details-* properties.
3386 (dired-mode-map): Bind dired-hide-details-mode.
3387 (dired-mode): Set buffer-invisibility-spec to a list.
3388 (dired-next-line): Skip hidden lines.
3389 (dired-previous-line): Use dired-next-line.
3390 (dired-hide-details-mode): New minor mode.
3391 (dired-hide-details-update-invisibility-spec): New function.
3393 2013-02-13 Glenn Morris <rgm@gnu.org>
3395 * play/yow.el: Move to obsolete/. (Bug#9384)
3397 2013-02-13 Juri Linkov <juri@jurta.org>
3399 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
3400 to select `ediff-control-frame' and set input focus correctly on Xfce.
3403 2013-02-13 Juri Linkov <juri@jurta.org>
3405 * image-mode.el (image-mode-map):
3406 * doc-view.el (doc-view-mode-map):
3407 * vc/ediff-util.el (ediff-setup-keymap):
3408 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3410 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
3412 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
3413 performance. Instead of recalculating indentation fully for each
3414 line, sum up indentation depth based only on visited lines.
3415 (ruby-parse-partial): Increase the depth after "do" even when END
3417 (ruby-parse-partial): When END is in the middle of a percent
3418 literal, increase the depth if the delimiter chars belong to the
3421 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
3423 * play/fortune.el (fortune-compile): Also make the compiled file
3424 if it does not exist at all, not just if it is old. (Bug#5338)
3426 2013-02-13 Glenn Morris <rgm@gnu.org>
3428 * emacs-lisp/package.el (package-menu-execute): Doc fix.
3430 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
3432 * lisp/emacs-lisp/package.el (package-menu-execute):
3433 Add optional noquery argument. (Bug#13625)
3435 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3437 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
3438 if DIR exists and PARENTS is non-nil.
3440 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
3442 * progmodes/js.el (js--multi-line-declaration-indentation):
3443 Silence byte-compiler warning.
3445 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
3447 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
3449 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
3450 only if it doesn't exist.
3452 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3455 2013-02-12 Tassilo Horn <tsdh@gnu.org>
3457 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
3458 UserInstallation when calling soffice to work around LibreOffice
3461 2013-02-12 Glenn Morris <rgm@gnu.org>
3463 * files.el (basic-save-buffer):
3464 Offer to create a non-existing directory. (Bug#3016)
3466 * calc/calc-graph.el (calc-graph-show-dumb):
3467 * calendar/calendar.el (calendar-mode-map):
3468 * cus-edit.el (custom-mode-map):
3469 * ehelp.el (electric-help-map):
3470 * emulation/vip.el (vip-mode-map):
3471 * epa.el (epa-key-list-mode-map):
3472 * info.el (Info-mode-map):
3473 * mail/rmail.el (rmail-mode-map):
3474 * mail/rmailsum.el (rmail-summary-mode-map):
3475 * man.el (Man-mode-map):
3476 * net/newst-plainview.el (newsticker-mode-map):
3477 * progmodes/cpp.el (cpp-edit-mode-map):
3478 * progmodes/grep.el (grep-mode-map):
3479 * progmodes/idlw-help.el (idlwave-help-mode-map):
3480 * simple.el (special-mode-map):
3481 * startup.el (splash-screen-keymap):
3482 * view.el (view-mode-map):
3483 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3485 2013-02-11 Elias Pipping <pipping@lavabit.com>
3487 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
3490 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
3492 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
3494 2013-02-11 Glenn Morris <rgm@gnu.org>
3496 * vc/diff.el (diff-use-labels): New variable.
3497 (diff-no-select): Use --label rather than -L, and first
3498 check that it is supported. (Bug#11067)
3500 * files.el (enable-dir-local-variables): New variable.
3501 (hack-dir-local-variables): Respect enable-dir-local-variables.
3502 * tutorial.el (help-with-tutorial):
3503 Ignore directory-local variables. (Bug#11127)
3505 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
3506 (vc-svn-global-switches): ... to here. (Bug#13513)
3508 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
3510 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
3511 Handle "foo (bar, default: xxx): " prompts.
3513 2013-02-10 Chong Yidong <cyd@gnu.org>
3515 * files.el (basic-save-buffer-1): Do not set
3516 buffer-file-coding-system-explicit (Bug#4533).
3518 * mail/emacsbug.el (report-emacs-bug): Change binding of
3519 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
3521 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
3523 * calc/calc.el (calc-allow-units-as-numbers): New variable.
3524 * calc/calc-units.el (calc-convert-units): Use new variable.
3526 2013-02-09 Eli Zaretskii <eliz@gnu.org>
3528 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
3530 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
3533 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
3534 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
3535 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
3536 coding-system-for-write instead.
3538 * jka-compr.el (jka-compr-write-region): Don't bind
3541 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
3544 * files.el (file-name-buffer-file-type-alist): Remove defvar.
3545 (insert-file-contents-literally): Remove reference to
3546 file-name-buffer-file-type-alist.
3548 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
3550 (find-buffer-file-type-match, find-buffer-file-type): Remove.
3551 (find-buffer-file-type-coding-system): Remove references to
3552 find-buffer-file-type-match, find-buffer-file-type, and
3554 Don't put find-buffer-file-type-coding-system into
3555 file-coding-system-alist.
3556 (find-file-binary, find-file-text): Bind coding-system-for-read
3557 instead of file-name-buffer-file-type-alist.
3559 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
3561 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
3562 converter (Bug#13622).
3563 (doc-view-unoconv-program): Make obsolete alias.
3564 (doc-view-odf->pdf-converter-program): New variable.
3565 (doc-view-odf->pdf-converter-function): New variable.
3566 (doc-view-mode-p): Use it.
3567 (doc-view-odf->pdf-converter-unoconv):
3568 Rename from `doc-view-odf->pdf-converter-unoconv'.
3569 (doc-view-odf->pdf-converter-soffice): New function.
3570 (doc-view-convert-current-doc):
3571 Use `doc-view-odf->pdf-converter-function'.
3573 2013-02-09 Chong Yidong <cyd@gnu.org>
3575 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
3576 view-echo-area-messages (Bug#13340).
3578 * help.el (view-echo-area-messages): Use display-buffer.
3580 * dired-x.el (dired-do-run-mail): Prompt for confirmation
3583 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
3585 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
3586 Eval body right away, now that we do eager macroexpansion (bug#13605).
3588 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
3589 (fundamental-mode): Use run-mode-hooks.
3591 * eshell/esh-proc.el (eshell/kill): Fix last change.
3592 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
3594 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
3596 * eshell/esh-proc.el (eshell/kill): Rewrite.
3598 * eshell/em-ls.el (show-almost-all): Declare.
3599 (eshell-do-ls): Add support for -A argument.
3601 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
3603 * icomplete.el (icomplete-forward-completions)
3604 (icomplete-backward-completions): Handle corner case (bug#13602).
3606 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
3608 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
3609 be nil. Handle this. (Bug#13636)
3611 2013-02-07 Richard Stallman <rms@gnu.org>
3613 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
3614 `save-buffer-coding-system'.
3616 2013-02-07 Alan Mackenzie <acm@muc.de>
3618 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
3619 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
3620 (c-parse-state-get-strategy): Don't return 'BOD any more.
3621 (c-append-lower-brace-pair-to-state-cache):
3622 Extra parameter HERE instead of narrowing.
3623 Widen to top of buffer before searching backwards for a brace pair.
3624 (c-state-push-any-brace-pair): Add HERE parameter to function call.
3625 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
3626 Narrow to parameter HERE, in place of being called narrowed.
3627 (c-remove-stale-state-cache): Extra parameter HERE in place of
3628 narrowing. Check there's an open brace in the cache before
3629 searching for its match.
3630 (c-invalidate-state-cache-1): Add HERE parameter to function call.
3631 (c-parse-state-1): Don't narrow here for 'forward strategy,
3632 instead passing extra parameter HERE to several functions.
3633 Remove 'BOD strategy.
3635 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
3637 * emacs-lisp/package.el (describe-package-1): Tell what archive is
3638 used to install the package.
3640 2013-02-06 Glenn Morris <rgm@gnu.org>
3642 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
3643 if we can't get user input. (Bug#6567)
3645 * startup.el (command-line): If simple.el is missing,
3646 test and warn about for some possible causes.
3648 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
3650 * cus-start.el (all): Add ns-use-native-fullscreen.
3652 2013-02-05 Glenn Morris <rgm@gnu.org>
3654 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
3656 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3657 Fix directory creation in fallback case.
3659 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3661 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
3662 (vc-update-change-log): Use dolist.
3664 2013-02-04 Chong Yidong <cyd@gnu.org>
3666 * thingatpt.el: Rewrite the URL detection routines, absorbing some
3668 (thing-at-point-beginning-of-url-regexp): New var.
3669 (thing-at-point-uri-schemes): Update list of URI schemes.
3670 (thing-at-point-url-regexp): Variable deleted.
3671 (thing-at-point-markedup-url-regexp): Disallow newlines.
3672 (thing-at-point-newsgroup-regexp)
3673 (thing-at-point-newsgroup-heads)
3674 (thing-at-point-default-mail-uri-scheme): New variables.
3675 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
3676 method to find the possible bounds of the URI at point.
3677 New optional argument to find ill-formed URIs.
3678 (thing-at-point-url-at-point): Rewrite. New arguments for finding
3679 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
3680 the scheme-adding heuristics from ffap-url-at-point.
3681 (thing-at-point--bounds-of-well-formed-url): New function.
3682 Do parens matching to decide whether to include parens in the URI
3685 * ffap.el: Require thingatpt.
3686 (ffap-url-at-point): Delegate URI detection to thing-at-point.
3687 All URI-valid characters are now recognized (Bug#5673).
3688 (ffap-string-at-point): Use use-region-p.
3689 (ffap-url-regexp): Extra character is handled by thing-at-point.
3690 (ffap-string-at-point-mode-alist): Allow parentheses.
3691 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
3692 Convert to aliases; code moved to thingatpt.el.
3693 (ffap-gnus-hook): Use setq-local.
3695 2013-02-04 Glenn Morris <rgm@gnu.org>
3697 * emacs-lisp/ert.el (ert--explain-format-atom):
3698 Don't try to print non-characters as characters. (Bug#13543)
3700 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
3702 * net/tramp.el (tramp-debug-message): Extend function exclude list.
3703 (tramp-backtrace): New defun.
3704 (tramp-handle-insert-file-contents): Use `visit' when inserting
3707 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
3708 Use `remote-file-name-inhibit-cache'.
3710 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
3712 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
3715 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
3716 current-load-list (bug#13366).
3718 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
3720 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3721 Identify g++ template instantiation trace. (Bug#12287)
3722 (compilation-mode-hook, compilation-start-hook)
3723 (compilation-window-height): Simplify docstrings. (Bug#13379)
3725 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3727 * mouse.el (mouse-drag-track): Always deactivate the mark before
3728 running the final event's command since that command is in charge of
3729 activating the mark if needed (bug#13523).
3731 2013-02-02 Juri Linkov <juri@jurta.org>
3733 * replace.el (perform-replace): Move let-bindings of isearch-*
3734 variables deeper to the loop that searches for the next match.
3735 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
3736 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
3739 * isearch.el (isearch-search-fun-default): Check for null
3740 first element of isearch-cmds as a precaution when it's used
3741 with inactive isearch.
3743 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
3745 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
3746 error when buffer in question is narrowed so position 1 is out of
3749 2013-02-02 Glenn Morris <rgm@gnu.org>
3751 * textmodes/remember.el (remember-clipboard): Doc fix.
3753 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3755 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
3756 properties (bug#13179).
3758 2013-02-02 Juri Linkov <juri@jurta.org>
3760 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
3761 instead of hard-coded default face `match'. (Bug#9438)
3763 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
3765 * vc/vc-arch.el (vc-arch-registered):
3766 * vc/vc-bzr.el (vc-bzr-registered):
3767 * vc/vc-cvs.el (vc-cvs-registered):
3768 * vc/vc-git.el (vc-git-registered):
3769 * vc/vc-hg.el (vc-hg-registered):
3770 * vc/vc-mtn.el (vc-mtn-registered):
3771 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
3774 * info.el (Info-next-reference, Info-prev-reference): Add numeric
3775 prefix argument. (Bug#11656)
3777 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
3779 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
3781 2013-02-01 Glenn Morris <rgm@gnu.org>
3783 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
3784 if the backend is known not to support it.
3786 * imenu.el (imenu-default-create-index-function):
3787 Tweak infinite loop test to check for forward motion as well as none.
3789 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
3791 * net/soap-client.el (soap-invoke): Encode the string for
3792 `url-request-data' as UTF-8.
3793 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
3795 2013-02-01 Glenn Morris <rgm@gnu.org>
3797 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
3799 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
3801 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
3803 * net/tramp.el (tramp-tramp-file-p): Comment check for
3804 `string-as-unibyte'. The function does not exist on XEmacs, and
3805 likely we need another approach.
3807 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
3808 `tramp-gw-*' variables are bound.
3810 2013-01-31 Glenn Morris <rgm@gnu.org>
3812 * files.el (basic-save-buffer-2): Choose coding system for
3813 writing the file before backing it up, to reduce delay between
3814 backing up and writing the new version. (Bug#13522)
3816 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
3818 * simple.el (cycle-spacing): New command.
3819 (just-one-space): Use it.
3821 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
3823 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
3824 (opascal-newline-always-indents): Remove custom.
3825 (opascal-tab, opascal-newline): Remove commands.
3826 (opascal-new-comment-line): Insert "\n" instead of calling newline.
3827 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
3828 (opascal-save-match-data): Remove, use save-match-data instead.
3829 (opascal-save-state): Use with-silent-modifications.
3831 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
3834 2013-01-30 Juri Linkov <juri@jurta.org>
3836 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
3837 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
3838 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
3840 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3842 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
3843 column if we're just deleting the backslashes.
3844 (makefile-fill-paragraph): Use eolp.
3846 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3848 * autorevert.el (auto-revert-use-notify): Fix docstring.
3850 2013-01-30 Leo Liu <sdl.web@gmail.com>
3852 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
3854 2013-01-30 Glenn Morris <rgm@gnu.org>
3856 * mouse.el (mouse-drag-line): Avoid pushing same event onto
3857 unread-command-events twice in some cases. This tries to implement
3858 the 2012-07-26 changes in a different way. (Bug#13560)
3860 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3862 * progmodes/python.el
3863 (python-pdbtrack-comint-output-filter-function): Enhancements on
3864 stacktrace detection. (thanks @gnovak)
3866 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3868 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
3869 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
3871 (jit-lock-register): Use setq-local.
3873 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
3875 * calc-units.el (math-default-units-table): Remove initial value.
3876 (calc-convert-units): Treat expressions where all the units cancel as
3877 if they didn't have units.
3879 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3881 * net/tramp.el (tramp-process-connection-type): Fix docstring.
3882 (tramp-completion-reread-directory-timeout): Fix type.
3883 (tramp-connection-min-time-diff): New defcustom.
3885 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3887 2013-01-30 Glenn Morris <rgm@gnu.org>
3889 * imenu.el (imenu-default-create-index-function):
3890 Put back a version of the infinite loop test removed 2013-01-23.
3892 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3894 * progmodes/python.el (python-shell-parse-command):
3895 Find python-shell-interpreter with modified environment.
3897 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3899 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
3901 2013-01-29 Alan Mackenzie <acm@muc.de>
3903 Amend to fontify /regexp/s in actions correctly.
3904 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
3905 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
3906 are no longer included.
3907 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
3908 What used to be these variables without "-line" in the name.
3909 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
3910 (c-awk-non-arith-op-bra-re): Now also matches {.
3911 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
3912 "return", and "case".
3913 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
3915 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
3916 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
3918 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
3920 * autorevert.el (auto-revert-use-notify):
3921 Use `custom-initialize-default' for initialization. (Bug#13583)
3923 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
3925 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3926 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
3927 in `tramp-file-name-handler'.
3928 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
3930 (tramp-compute-multi-hops): Check, whether
3931 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
3933 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
3935 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
3938 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
3940 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
3941 checks made superfluous by the \_< operator.
3942 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
3943 temporarily) broken indentation.
3944 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3945 Highlight nested constants, too. \_< broke that.
3947 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
3949 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
3952 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
3954 * autorevert.el (auto-revert-handler): Notifications which result
3955 from a saved file shall not be taken into account. (Bug#13557)
3957 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
3959 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
3960 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
3961 (lisp-mode): Pass t for it. (Bug#13556)
3963 2013-01-25 Alan Mackenzie <acm@muc.de>
3965 AWK Mode: Fix indentation bug at top level. Bug #12274.
3967 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
3968 just before CASE 5D.
3970 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
3972 * net/socks.el (socks-nslookup-host): Use string-to-number.
3974 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
3976 * autorevert.el (auto-revert-remote-files)
3977 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
3978 (auto-revert-notify-enabled, auto-revert-use-notify)
3979 (auto-revert-notify-watch-descriptor-hash-list)
3980 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
3981 (auto-revert-notify-event-descriptor)
3982 (auto-revert-notify-event-action)
3983 (auto-revert-notify-event-file-name): Doc fix.
3984 (global-auto-revert-mode): Reorder checks.
3985 (auto-revert-notify-rm-watch): Respect changed values of
3986 `auto-revert-notify-watch-descriptor-hash-list'.
3987 (auto-revert-notify-add-watch): Check for
3988 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
3989 `inotify-add-watch'. Watch `default-directory' instead of
3990 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
3991 has a changed meaning now. (Bug#13540)
3992 (auto-revert-notify-handler): Change implementation wrt events
3993 returning from a directory.
3994 (auto-revert-handler): Reorder implementation for checks of remote
3996 (auto-revert-buffers): Fix parentheses error.
3998 2013-01-25 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4000 * progmodes/python.el: Enhancements to header documentation about
4001 skeletons. (Bug#5716)
4003 * imenu.el (imenu-default-create-index-function): Remove useless
4004 infinite loop check. (Bug#13438)
4006 2013-01-25 Alan Mackenzie <acm@muc.de>
4008 Fix a bug in the state cache mechanism. Refactor this a bit.
4010 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
4011 `cache-pos' element from the return value.
4012 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
4013 buffer to enable proper searching from beyond HERE. Amend the
4014 test for detecting the sought brace pair. Amend the value written
4015 to the "brace desert cache" when the brace isn't found.
4016 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
4017 and several other variables analogously.
4018 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
4019 parameter to a locally calculated variable.
4020 (c-parse-state-1): Change the calling conventions to the two
4021 defuns involving `cache-pos'.
4023 2013-01-25 Chong Yidong <cyd@gnu.org>
4025 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
4027 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
4029 * paren.el (show-paren-function): Make sure to set 'priority and
4030 'face only if the overlay does exist.
4032 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
4034 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
4036 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
4038 (tramp-sh-handle-set-file-acl): Improve error checking.
4040 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
4042 * doc-view.el (doc-view-display): Force mode line update until all
4043 document is converted. Suggested by Stefan Monnier (Bug#13164).
4045 2013-01-23 Bastien Guerry <bzg@gnu.org>
4047 * paren.el (show-paren-function): Make sure an overlay exists
4048 before trying to delete it. Also use `pos' as a position only
4049 when it is an integer.
4051 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
4053 * play/gametree.el (gametree-break-line-here): Use point-marker.
4055 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
4057 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4058 Mark descriptive parts with `display' property.
4060 2013-01-21 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
4062 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
4063 New variable to map standard dict names to hunspell ones.
4064 (ispell-set-spellchecker-params): Make sure specific dict names
4065 are used for standard dicts with hunspell.
4067 2013-01-21 Tassilo Horn <tsdh@gnu.org>
4069 * textmodes/reftex-cite.el (reftex-format-citation): Add format
4070 chars for note (%N) and url (%U).
4071 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
4073 2013-01-21 Juri Linkov <juri@jurta.org>
4075 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
4076 in addition to existing separate binding `meta f10' in `global-map'.
4079 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
4081 Improve XEmacs compatibility.
4083 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
4085 * net/tramp-adb.el (top): Require `time-date'.
4086 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
4087 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
4088 Use `tramp-file-name-handler'.
4089 (tramp-adb-maybe-open-connection):
4090 Use `tramp-compat-set-process-query-on-exit-flag'.
4092 * net/tramp-sh.el (tramp-sh-handle-file-acl):
4093 Use `tramp-compat-funcall'.
4095 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
4096 `tramp-compat-funcall'.
4098 2013-01-21 JĂ¼rgen Hötzel <juergen@archlinux.org>
4100 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
4101 reimplementation using "adb shell command ..." instead of running
4102 remote shell interactively.
4104 2013-01-20 Glenn Morris <rgm@gnu.org>
4106 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
4107 Add native profiler menu entries.
4109 * profiler.el (profiler-running-p): New function.
4110 (profiler-cpu-profile): Use profiler-running-p.
4111 (profiler-report-mode-map): Add some more menu entries.
4113 2013-01-19 Glenn Morris <rgm@gnu.org>
4115 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
4116 fixes 2012-12-07 change. (Bug#13499)
4118 2013-01-19 Leo Liu <sdl.web@gmail.com>
4120 * dired.el (dired-get-marked-files): Prune erroneous values due to
4121 last change. (Bug#13152)
4123 2013-01-19 Glenn Morris <rgm@gnu.org>
4125 * progmodes/etags.el (tags-table-check-computed-list):
4126 Preserve point in tags buffer. (Bug#13412)
4128 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
4130 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
4131 Chong Yidong <cyd@gnu.org>
4133 * image-mode.el (image-next-file, image-previous-file):
4134 New commands (Bug#8453).
4135 (image-mode-map): Bind them to n and p.
4136 (image-mode--images-in-directory): New helper function.
4138 2013-01-19 Chong Yidong <cyd@gnu.org>
4140 * image-mode.el (image-mode-fit-frame): Add a frame argument.
4141 Suggested by Drew Adams (Bug#7730). Handle window decorations;
4142 save and restore the old window configuration.
4144 2013-01-18 Leo Liu <sdl.web@gmail.com>
4146 * progmodes/js.el: Tweak autoload cookie for alias.
4148 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4150 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
4151 buffer local, again. This was lost with the fix on 2013-01-12.
4153 2013-01-17 JĂ¼rgen Hötzel <juergen@archlinux.org>
4155 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
4156 order to support several eshell buffers in parallel.
4158 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4160 * autorevert.el (auto-revert-use-notify): In the :set function, do
4161 not modify `kill-buffer-hook'.
4162 (auto-revert-notify-rm-watch):
4163 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
4164 (auto-revert-notify-add-watch): Do not call
4165 `auto-revert-notify-rm-watch', but add it to a buffer local
4168 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4170 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
4171 call to `eval' rather than a backquoted lambda.
4173 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
4175 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
4176 to return an explicit nil.
4177 (advice--remove-function): Change accordingly.
4179 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
4180 the use of nadvice.el.
4182 * progmodes/which-func.el (which-function): Silence imenu errors
4185 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4187 * progmodes/sql.el (sql-imenu-generic-expression):
4188 (sql-mode-font-lock-object-name): Match schema qualified names.
4189 (sql-connect): Use string keys.
4190 (sql-product-interactive): Wait for interpreter prompt.
4191 (sql-comint-oracle): Set process coding based on NLS_LANG.
4193 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4195 * progmodes/sql.el (sql-output-to-send): Remove, unused.
4196 (sql-interactive-remove-continuation-prompt):
4197 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
4199 2013-01-14 Leo Liu <sdl.web@gmail.com>
4201 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
4204 2013-01-14 Glenn Morris <rgm@gnu.org>
4206 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4207 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
4209 2013-01-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4211 * progmodes/python.el (python-nav-end-of-statement):
4212 Fix cornercase when handling multiline strings.
4214 2013-01-13 Richard Stallman <rms@gnu.org>
4216 * mail/sendmail.el (mail-position-on-field): Add doc string.
4218 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4219 Get current message boundaries and pass them to
4220 message-forward-make-body-mime. Minor style changes.
4222 2013-01-13 Eli Zaretskii <eliz@gnu.org>
4224 * cus-start.el (all): Avoid warnings about
4225 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
4227 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
4229 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
4231 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4233 * jit-lock.el (jit-lock-debug-mode): New minor mode.
4234 (jit-lock--debug-fontifying): New var.
4235 (jit-lock--debug-fontify): New function.
4236 * subr.el (condition-case-unless-debug): Don't prevent catching the
4237 error, just let the debbugger run.
4238 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
4239 timer code and don't drop errors silently.
4241 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
4243 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
4244 `permanent-local' property.
4245 (auto-revert-notify-handler): Use `file-equal-p'.
4247 2013-01-12 Eli Zaretskii <eliz@gnu.org>
4249 * autorevert.el (auto-revert-notify-handler): Fix filtering of
4250 file notification by ACTION. For filtering by file name, compare
4251 only the non-directory part of the file name.
4253 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4255 * autorevert.el: Use cl-lib instead of cl.
4257 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
4258 (vc-bzr-checkin): Use it.
4259 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
4260 will preserve match-data.
4262 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
4264 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
4265 (js--declaration-keyword-re): New var.
4266 (js--multi-line-declaration-indentation): New function.
4267 (js--proper-indentation): Use it.
4269 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
4271 * calc/calc.el (calc-highlight-selections-with-faces)
4273 * comint.el (comint-history-isearch-message):
4274 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
4275 * ffap.el (ffap-string-at-point-region, ffap-next)
4276 (ffap-string-at-point, ffap-string-around)
4277 (ffap-copy-string-as-kill, ffap-highlight-overlay)
4279 * font-lock.el (font-lock-keywords-alist)
4280 (font-lock-removed-keywords-alist):
4281 * help-mode.el (help-xref-symbol-regexp):
4282 * info.el (Info-find-emacs-command-nodes):
4283 * international/mule.el (add-to-coding-system-list):
4284 * isearch.el (isearch-message-function, isearch-fail-pos):
4285 * misearch.el (multi-isearch-next-buffer-function):
4286 * newcomment.el (comment-box):
4287 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
4288 (pr-setting-database):
4289 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
4290 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
4291 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
4292 (pike-font-lock-keywords-3):
4293 * progmodes/compile.el (compile):
4294 * progmodes/etags.el (tags-table-files)
4295 (tags-table-files-function, tags-included-tables-function):
4296 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
4297 (gdb-restore-windows):
4298 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
4299 (ps-n-up-filling-database):
4300 * server.el (server-buffer, server-log):
4301 * simple.el (newline, delete-backward-char, delete-forward-char)
4302 (minibuffer-history-isearch-message, kill-line, track-eol)
4303 (temporary-goal-column):
4304 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
4305 (flyspell-default-deplacement-commands):
4306 * textmodes/ispell.el (ispell-accept-output):
4307 * textmodes/sgml-mode.el (html-tag-help):
4308 * vc/compare-w.el (compare-ignore-whitespace)
4309 (compare-ignore-case, compare-windows-dehighlight):
4310 * vc/diff.el (diff):
4311 * whitespace.el (whitespace-point)
4312 (whitespace-font-lock-refontify, whitespace-bob-marker)
4313 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
4315 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
4317 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
4318 (auto-revert-notify-rm-watch): Ignore errors.
4319 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
4320 inotify, and '(size last-write-time) for w32notify.
4321 Set buffer-local `auto-revert-use-notify' to nil when adding a file
4322 watch fails - this is a fallback to the file modification check.
4323 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
4324 (auto-revert-notify-event-action)
4325 (auto-revert-notify-event-file-name): New defuns.
4326 (auto-revert-notify-handler): Use them. Implement first
4327 plausibility checks.
4328 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
4330 2013-01-11 Julien Danjou <julien@danjou.info>
4332 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
4333 max are almost equal. Also return the correct value for V which is
4334 already between 0 and 1.
4336 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
4338 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
4340 2013-01-11 Eli Zaretskii <eliz@gnu.org>
4342 * autorevert.el (auto-revert-notify-rm-watch)
4343 (auto-revert-notify-add-watch): Fix typos in w32notify function
4346 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4348 * autorevert.el (auto-revert-notify-enabled): Move up.
4349 (auto-revert-use-notify): New defcustom.
4350 (auto-revert-mode, global-auto-revert-mode)
4351 (auto-revert-notify-add-watch, auto-revert-handler)
4352 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
4353 `auto-revert-notify-enabled'.
4355 2013-01-10 Elias Pipping <pipping@exherbo.org>
4357 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
4358 * doc-view.el (doc-view-document->bitmap):
4359 Use doc-view-single-page-converter-function instead of
4360 single-page-converter arg; adjust callers.
4362 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
4364 * progmodes/which-func.el (which-function): Understand Semantic's use
4365 of overlays in imenu--index-alist.
4367 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
4369 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
4370 (Man-man-k-use-anchor): New var.
4371 (Man-parse-man-k): New function.
4372 (Man-completion-table): Use it.
4373 (man): Flush the completion cache between uses.
4375 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4377 * autorevert.el: Add file watch support.
4378 (auto-revert-notify-enabled): New defconst.
4379 (auto-revert-notify-watch-descriptor-hash-list)
4380 (auto-revert-notify-watch-descriptor)
4381 (auto-revert-notify-modified-p): New defvars.
4382 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4383 (auto-revert-notify-handler): New defuns.
4384 (auto-revert-mode, global-auto-revert-mode): Remove file watches
4385 when mode is disabled.
4386 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
4387 (auto-revert-buffers): Add file watches for active buffers.
4389 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
4391 * cus-start.el (toplevel): Only allow float values for
4392 scroll-up-aggressively and scroll-down-aggressively.
4393 Allow any number for line-spacing.
4395 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4397 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
4398 (doc-view-pdf->png-converter-function): Use mupdf if available.
4399 (doc-view-djvu->png-converter-function)
4400 (doc-view-ps->png-converter-function): Remove.
4401 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
4402 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
4403 (doc-view-already-converted-p): Adjust accordingly.
4404 (doc-view-mode-p): Simplify.
4405 (doc-view-enlarge): Use setq-local.
4406 (doc-view-pdf->png-converter-ghostscript)
4407 (doc-view-djvu->png-converter-ddjvu)
4408 (doc-view-pdf->png-converter-mupdf): Rework to call
4409 doc-view-start-process directly.
4410 (doc-view-pdf/ps->png): Simplify accordingly.
4411 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
4412 (doc-view-document->bitmap): Rename from doc-view-document->png.
4413 (doc-view-convert-current-doc): Merge pdf and djvu cases.
4414 (doc-view-set-slice-from-bounding-box): Fix completion table.
4415 (doc-view-mode): Use add-hook for after-revert-hook.
4417 2013-01-10 Glenn Morris <rgm@gnu.org>
4419 * emacs-lisp/authors.el (authors-ignored-files)
4420 (authors-valid-file-names, authors-renamed-files-alist):
4421 Add some more entries.
4423 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4425 * image-mode.el (image-mode-winprops): Don't throw away the fallback
4426 `t' pseudo-window entry.
4428 2013-01-10 Alan Mackenzie <acm@muc.de>
4430 Fix bugs in the c-parse-state mechanism. Reuse some markers
4431 instead of continually generating new ones.
4433 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
4434 (c-state-old-cpp-end-marker): New variables.
4435 (c-append-lower-brace-pair-to-state-cache): Start a backward
4436 search for "}" definitively outside CPP constructs.
4437 (c-remove-stale-state-cache): Inform the caller of a need to
4438 search back for a brace pair in certain circumstances.
4439 (c-state-maybe-marker): New macro.
4440 (c-parse-state): Reuse markers when appropriate.
4442 2013-01-10 Glenn Morris <rgm@gnu.org>
4444 * simple.el (execute-extended-command): Doc fix.
4445 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
4447 2013-01-10 Chong Yidong <cyd@gnu.org>
4449 * faces.el (read-face-name): Doc fix.
4451 2013-01-10 Roland Winkler <winkler@gnu.org>
4453 * emacs-lisp/crm.el: Allow any regexp for separators.
4454 (crm-default-separator): All spaces around the default comma separator.
4455 (crm--completion-command): New macro.
4456 (crm-completion-help, crm-complete, crm-complete-word): Use it.
4457 (crm-complete-and-exit): Handle non-single-char separators.
4459 2013-01-09 Elias Pipping <pipping@lavabit.com>
4461 * doc-view.el: Add support for DjVu (bug#13164).
4462 (doc-view-djvu->png-converter-function): New config var.
4463 (doc-view-single-page-converter-function, doc-view--image-type)
4464 (doc-view--image-file-extension): New vars.
4465 (doc-view-mode): Initialize them.
4466 (doc-view-goto-page): Use them.
4467 (doc-view-mode-p): Add support for ddjvu.
4468 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
4469 (doc-view-set-up-single-converter): New funs.
4470 (doc-view-pdf/ps->png): Extend for djvu.
4471 (doc-view-document->png): Rename from doc-view-pdf->png.
4472 (doc-view-convert-current-doc): Handle djvu.
4473 (doc-view-insert-image, doc-view-display)
4474 (doc-view-already-converted-p): Don't hardcode png.
4475 (doc-view-set-doc-type): Recognize djvu docs.
4477 2013-01-09 Elias Pipping <pipping@lavabit.com>
4479 * doc-view.el: Add support for mupdf converter (bug#13164).
4480 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
4481 (doc-view-ps->png-converter-function): New config vars.
4482 (doc-view-pdf->png-converter-ghostscript)
4483 (doc-view-ps->png-converter-ghostscript)
4484 (doc-view-pdf->png-converter-mupdf): New functions.
4485 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
4487 2013-01-09 JĂ¼rgen Hötzel <juergen@archlinux.org>
4489 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
4490 first in session cache: When `tramp-own-remote-path' is in
4491 `tramp-remote-path', the remote path is only set in the session
4494 2013-01-09 Glenn Morris <rgm@gnu.org>
4496 * emacs-lisp/trace.el (trace-function-foreground)
4497 (trace-function-background): Doc fix.
4499 2013-01-09 Juri Linkov <juri@jurta.org>
4501 * international/mule-cmds.el (read-char-by-name): Move let-binding
4502 of completion-ignore-case around completing-read to fix regression
4503 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
4504 `string-match-p' using the nil value of `case-fold-search' and
4505 `completion-ignore-case' in `completion-pcm--all-completions'.
4508 2013-01-09 Glenn Morris <rgm@gnu.org>
4510 * progmodes/compile.el (compilation-parse-errors):
4511 Fix typo. (Bug#13369)
4513 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4515 * comint.el (comint-send-input): Check size of buffer before
4516 waiting for process output, in case already accepted. (Bug#13290)
4518 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
4521 * net/tramp-adb.el (tramp-adb-get-toolbox):
4522 Fix misspelling of 'unknown'.
4524 2013-01-08 Juri Linkov <juri@jurta.org>
4526 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4527 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4528 Use underline style wave on terminals that support it. (Bug#13000)
4530 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4532 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
4533 the predicate returns nil.
4535 * simple.el: Use lexical-binding.
4536 (primitive-undo): Use pcase.
4537 (minibuffer-history-isearch-push-state): Use a closure.
4539 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4541 * simple.el (primitive-undo): Move from undo.c.
4543 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4545 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
4546 (cvs-mode-remove-handled): Use it (bug#13380).
4548 * emacs-lisp/nadvice.el (advice--tweak): New function.
4549 (advice--remove-function, advice--subst-main): Use it.
4551 * emacs-lisp/advice.el: Update commentary.
4553 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
4555 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4556 Remove spurious entry.
4558 2013-01-08 Glenn Morris <rgm@gnu.org>
4560 * net/tramp.el (tramp-default-host-alist): Add :version.
4562 2013-01-08 Juri Linkov <juri@jurta.org>
4564 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
4565 single completion. (Bug#12456)
4566 (info--manual-names): Expand node completions into an explicit list
4567 before appending it to another list. Filter out internal buffers
4568 with the leading space in the buffer name. (Bug#10771)
4570 2013-01-08 Juri Linkov <juri@jurta.org>
4572 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
4573 that defaults to the Top node.
4574 (Info-goto-node, Info-read-node-name): Doc fix to mention that
4575 the short format (FILENAME) goes to the Top node.
4576 (Info-build-node-completions): Rename arg `file' to `filename'.
4579 2013-01-07 Bastien Guerry <bzg@gnu.org>
4581 * menu-bar.el (menu-bar-search-documentation-menu):
4582 Use `apropos-user-option' and fix the help message.
4584 2013-01-07 Bastien Guerry <bzg@gnu.org>
4586 * apropos.el (apropos-do-all): Update docstring.
4587 (apropos-user-option-button): New face.
4588 (apropos-user-option): Rename from `apropos-variable' and update
4590 (apropos-variable): Rewrite, now show all variables by default.
4591 (apropos-print): Mention "User option" instead of "Variable" when
4592 printing doc for user options. (Bug#13276)
4594 2013-01-07 JĂ¼rgen Hötzel <juergen@archlinux.org>
4596 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4597 Handle filename correctly, when parsing "source -> target" symlink
4599 (tramp-adb-handle-set-file-times): New defun.
4601 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
4603 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
4604 advice list when the interactive-spec of ad-Advice-* changes.
4606 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
4608 * wid-edit.el (widget-default-get): Work for inlined elements.
4611 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
4613 * net/tramp.el (tramp-default-host-alist): New defcustom.
4614 (tramp-find-host): Use it.
4615 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
4616 `eshell-directory-change-hook'.
4618 * net/tramp-adb.el (top): Add adb specific entry in
4619 `tramp-default-host-alist'.
4620 (tramp-adb-file-name-host): Remove function.
4621 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4622 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
4624 * net/tramp-sh.el: Move eshell integration code to tramp.el.
4626 2013-01-06 JĂ¼rgen Hötzel <juergen@archlinux.org>
4628 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
4630 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
4632 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
4633 consist of more than one digit.
4634 (tramp-adb-file-name-handler-alist):
4635 Use `tramp-handle-file-exists-p' consistently.
4636 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
4637 (tramp-adb-handle-file-exists-p): Remove function.
4638 (tramp-adb-file-name-host): New defun.
4639 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4641 (tramp-adb-maybe-open-connection): Set "remote-path" property.
4643 2013-01-06 Chong Yidong <cyd@gnu.org>
4645 * vc/vc.el (vc-next-action): Detect buffer modifications
4646 conflicting with locking VCS operation (Bug#11490).
4648 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
4650 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
4652 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4653 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
4655 2013-01-05 JĂ¼rgen Hötzel <juergen@archlinux.org>
4657 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
4658 parsing of ls output using regular expression (handle filenames
4659 with spaces). Use virtual device number.
4660 (tramp-do-parse-file-attributes-with-ls): New defun (Code
4663 2013-01-04 Daiki Ueno <ueno@gnu.org>
4665 * epg.el: Silence byte-compiler warnings.
4666 (epg--start): Use delete-char instead of delete-backward-char.
4667 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
4669 2013-01-04 Daiki Ueno <ueno@gnu.org>
4671 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
4672 Suggested by Eli Zaretskii <eliz@gnu.org>.
4674 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
4676 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
4677 non-negative integers. Otherwise, the default values are used.
4678 (tramp-convert-file-attributes): Convert uid and gid to integers.
4680 2013-01-04 Glenn Morris <rgm@gnu.org>
4682 * term.el (term-handle-colors-array): Ensure face attributes
4683 are fully specified, not nil. (Bug#13337)
4685 * term.el (term-default-fg-color, term-default-bg-color):
4688 * progmodes/etags.el (tags-compression-info-list): Doc fix.
4689 (tag-find-file-of-tag-noselect): Check auto-compression-mode
4690 rather than 'jka-compr being loaded. (Bug#13338)
4692 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
4694 * icomplete.el (icomplete-completions):
4695 Honor icomplete-prospects-height once more following
4696 2012-11-29 changes. (Bug#13224)
4698 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
4700 * subr.el (internal--called-interactively-p--get-frame): Find aliases
4701 of called-interactively-p as well (bug#13237).
4703 * view.el (view--enable, view--disable): Rename from view-mode-enable
4704 and view-mode-disable and assume it's called from view-mode.
4705 (view-mode-enable, view-mode-disable): Redefine as obsolete
4706 compatibility layer above view-mode.
4707 (view-mode-enter): Call `view-mode'.
4709 * files.el (after-find-file): Call `view-mode'.
4711 * doc-view.el (doc-view-scale-internally): New var.
4712 (doc-view-enlarge, doc-view-insert-image): Obey it.
4714 2013-01-03 Daiki Ueno <ueno@gnu.org>
4716 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
4719 2013-01-03 Glenn Morris <rgm@gnu.org>
4721 * mail/rmail.el (rmail-set-header-1): Ignore case.
4722 Handle multi-line headers. (Bug#13330)
4724 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
4725 Handle paragraph starting at beginning of buffer.
4727 * subr.el (eval-after-load): Don't purecopy the form, so that it
4728 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
4730 * emacs-lisp/byte-run.el (defun): Place cl declarations
4731 after any interactive spec. (Bug#13265)
4733 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4735 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
4736 defun. Don't check for DECL if DOCSTRING isn't a string.
4739 2013-01-02 Glenn Morris <rgm@gnu.org>
4741 * eshell/em-cmpl.el (eshell-pcomplete):
4742 More thoroughly imitate pcomplete. (Bug#13293)
4744 * files.el (parse-colon-path): Doc fix. (Bug#12351)
4745 Return nil for empty path elements. (Bug#13296)
4747 2013-01-02 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4749 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
4750 order to improve efficiency (Based on Daniel Colascione's
4751 <dancol@dancol.org> patch). (Bug#13182)
4753 2013-01-02 Glenn Morris <rgm@gnu.org>
4755 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
4757 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4759 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
4760 neither DOCSTRING nor DECL was given. (Bug#13316)
4762 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
4764 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
4766 (tramp-do-copy-or-rename-file): Ignore errors when calling
4767 `set-file-extended-attributes'.
4769 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4770 Add handler for `file-acl'.
4771 (tramp-smb-handle-file-acl): New defun.
4773 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
4775 * calc/README: Mention ISO 8601 week-numbering dates.
4777 2013-01-01 Martin Rudalics <rudalics@gmx.at>
4779 * view.el (view-mode-enable): New argument run-view-mode-hook.
4780 Run view-mode-hook only when it's non-nil (Bug#13315).
4781 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
4784 2012-12-31 JĂ¼rgen Hötzel <juergen@archlinux.org>
4786 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
4787 (No device connected, invalid device name). (Bug #13299)
4789 2012-12-31 Martin Rudalics <rudalics@gmx.at>
4791 * window.el (window-resizable--p): Rename to window-resizable-p.
4792 (window-resize-no-error): New function.
4794 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
4795 broken in fix from 2012-12-28.
4797 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
4799 * subr.el (special-form-p): Don't signal errors on undef aliases.
4801 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
4803 * calc/calc-forms.el (math-parse-date): Try using
4804 `math-parse-iso-date' when it looks like it might be needed.
4805 Allow times of 24:00.
4806 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
4809 2012-12-30 Glenn Morris <rgm@gnu.org>
4811 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
4812 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
4813 (rmail-summary-displayed, rmail-summary): Declare.
4814 (mairix-rmail-display): Just require rmail.
4816 2012-12-30 Chong Yidong <cyd@gnu.org>
4818 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
4819 check for the tarball contents.
4821 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
4823 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
4824 tarfile content listings (Bug#13136).
4826 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
4828 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4829 Insert the undecoded text of the message being forwarded. (Bug#9521)
4831 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
4833 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
4834 integers, if they are real numbers. (Bug#13282)
4836 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
4837 Return `t' on success.
4839 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4840 Add handler for `set-file-selinux-context'.
4842 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
4844 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
4845 (tramp-sh-handle-set-file-acl): Return `t' on success.
4847 2012-12-29 Eli Zaretskii <eliz@gnu.org>
4849 * files.el (backup-buffer-copy, basic-save-buffer-2):
4850 If set-file-extended-attributes fails, fall back on set-file-modes
4851 instead of signaling an error. (Bug#13298)
4852 (basic-save-buffer): Likewise.
4854 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4856 * progmodes/python.el: Support other commands triggering
4857 python-indent-line so indentation cycling continues to work.
4858 (python-indent-trigger-commands): New defcustom.
4859 (python-indent-line): Use it.
4861 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4863 * progmodes/python.el (python-shell-send-region): Add blank lines
4864 for non sent code so backtraces remain correct.
4866 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4868 * progmodes/python.el: Remove cl dependency.
4869 (python-syntax-count-quotes): Replace incf call.
4870 (python-fill-string): Replace setf call.
4872 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
4874 * info.el (info-other-window): New arg, for consistency with info.
4876 2012-12-28 Martin Rudalics <rudalics@gmx.at>
4878 * mail/rmail.el (rmail-maybe-display-summary):
4879 Rewrite (Bug#13066).
4881 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
4883 * epg.el (epg--start): Modify process-environment locally.
4885 2012-12-28 Daiki Ueno <ueno@gnu.org>
4887 * epg.el: Support pinentry-curses.
4888 Suggested by Werner Koch in
4889 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
4890 (epg-agent-file, epg-agent-mtime): New variable.
4891 (epg--start): Record the modified time of gpg-agent socket file,
4892 to restore Emacs frame after pinentry-curses termination.
4893 (epg-wait-for-completion): Restore Emacs frame here.
4895 2012-12-27 Juri Linkov <juri@jurta.org>
4897 * info.el (Info-file-completions): New variable.
4898 (Info-read-node-name-1): Complete node names in the Info file
4899 when a file name is given. Call `Info-build-node-completions'
4901 (Info-build-node-completions): Add new arg `file'. When it is
4902 non-nil, visit it in a temporary buffer and cache its completions in
4903 `Info-current-file-completions'. Move most of the function body to
4904 `Info-build-node-completions-1'.
4905 (Info-build-node-completions-1): New function with the body from
4906 `Info-build-node-completions'. (Bug#12456)
4908 2012-12-27 Juri Linkov <juri@jurta.org>
4910 * frame.el (frame-maximization-style): Remove user option.
4911 (cycle-frame-maximized): Remove function.
4912 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
4913 (toggle-frame-fullscreen): New command bound to <f11> instead of
4914 `toggle-frame-maximized'.
4915 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
4917 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
4919 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
4921 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4922 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4923 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4924 for `file-accessible-directory-p'. (Bug#13275)
4926 2012-12-27 Sam Steingold <sds@gnu.org>
4928 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
4929 continuations, see <http://stackoverflow.com/questions/3582436>.
4931 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
4933 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
4934 "module" and "def" to have indentation before them.
4935 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
4937 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
4939 2012-12-27 Alan Mackenzie <acm@muc.de>
4941 Speed up fontification where there's large brace blocks.
4942 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
4943 to a call of c-beginning-of-decl-1.
4945 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4947 * comint.el (comint-adjust-window-point): New function.
4948 (comint-postoutput-scroll-to-bottom):
4949 Call comint-adjust-window-point (Bug#13248).
4951 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
4953 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
4955 (auto-mode-alist): Associate .gemspec files with ruby-mode
4956 (https://bugs.ruby-lang.org/issues/5453).
4958 2012-12-26 JĂ¼rgen Hötzel <juergen@archlinux.org>
4960 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
4961 Suppress coloring, if possible (required for BusyBox based systems like
4963 (tramp-adb-handle-file-attributes)
4964 (tramp-adb-handle-insert-directory)
4965 (tramp-adb-handle-file-name-all-completions): Use it.
4966 (tramp-adb-get-toolbox): New defun. Check for remote shell
4967 implementation (BusyBox or Toolbox).
4969 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
4971 * startup.el (initial-buffer-choice): Allow function as value
4973 (command-line-1): Handle case where initial-buffer-choice
4974 specifies a function.
4975 * server.el (server-execute): Handle case where
4976 initial-buffer-choice specifies a function.
4978 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4980 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
4982 (smtpmail-try-auth-methods): Forget the user name/password if the
4983 login is unsuccessful (bug#12424).
4985 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
4987 * notifications.el (notifications-notify): Protect body with
4988 `with-demoted-errors'.
4990 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4991 Check properties of remote device. Restart connection, if there is a
4994 2012-12-21 Chong Yidong <cyd@gnu.org>
4996 * sort.el (sort-subr): Doc fix (Bug#13056).
4998 2012-12-21 Bastien Guerry <bzg@gnu.org>
5000 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
5002 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
5004 * simple.el (process-file): Overwrite stderr file, if exists.
5006 2012-12-21 Daiki Ueno <ueno@gnu.org>
5008 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
5009 (epg-error): Set `error-message' property.
5011 2012-12-21 Chong Yidong <cyd@gnu.org>
5013 * international/mule-cmds.el (read-char-by-name): Signal an error
5014 if the user does not supply a valid character (Bug#13177).
5016 * simple.el (transpose-subr-1): Preserve marker positions by
5017 changing the insertion sequence (Bug#13122).
5019 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5021 * simple.el (kill-region): Deactivate mark even for empty regions
5024 2012-12-21 Chong Yidong <cyd@gnu.org>
5026 * help-fns.el (describe-variable): Make sure we get the right
5027 buffer name (Bug#13105). Suggested by Kelly Dean.
5029 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
5031 * comint.el (comint-redirect-previous-input-string): New variable.
5032 (comint-redirect-setup, comint-redirect-cleanup)
5033 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
5034 (comint-redirect-preoutput-filter): Fix verbose message.
5036 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
5038 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
5039 is too long for Tramp. See discussion in
5040 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
5042 * progmodes/compile.el (compilation-start): Remove line escape
5045 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
5047 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
5050 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
5052 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
5053 following non-comment text (bug#13207).
5054 (lm-header-multiline): Continuation lines need to be indented more than
5056 (lm-homepage): New function.
5057 (lm-with-file): Don't be confused if narrowing is in effect.
5059 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5061 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
5062 very beginning of a hunk (e.g. killing the first line).
5064 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
5066 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
5067 and text properties from returned ACL string.
5068 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
5069 for "setfacl" command.
5071 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
5073 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
5074 `tramp-cleanup-this-connection', when the process has died.
5077 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5079 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
5081 2012-12-17 Kevin Ryde <user42@zip.com.au>
5083 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
5085 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
5087 Add support for preserving ACL entries of files.
5089 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
5090 `set-file-acl' handlers.
5092 * net/tramp-adb.el (tramp-adb-handle-copy-file):
5093 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5095 * net/tramp-compat.el (tramp-compat-copy-file):
5096 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5098 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5099 Add `file-acl' and `set-file-acl' handlers.
5100 (tramp-gvfs-handle-copy-file):
5101 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5102 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
5105 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5106 Add `file-acl' and `set-file-acl' handlers.
5107 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
5108 (tramp-sh-handle-set-file-acl): New defuns.
5109 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
5110 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5112 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5113 Add `file-acl' and `set-file-acl' handlers.
5114 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
5116 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5118 * help-macro.el (make-help-screen): Instead of switch-to-buffer
5119 use pop-to-buffer with NORECORD argument t. As buffer name, use
5120 *Metahelp* with a leading space (Bug#13190).
5122 2012-12-16 Romain Francoise <romain@orebokech.com>
5124 * files.el (file-extended-attributes)
5125 (set-file-extended-attributes): New functions.
5126 (backup-buffer): Use them to handle both SELinux context and ACL
5128 (backup-buffer-copy): Work with an alist of extended attributes,
5129 rather than an SELinux context.
5130 (basic-save-buffer-2): Ditto.
5132 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
5134 * battery.el (battery-bsd-apm): New function.
5136 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
5138 * calc/calc.el (calc-standard-date-formats): Adjust one of the
5139 standard date formats.
5141 2012-12-15 Juri Linkov <juri@jurta.org>
5143 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
5144 `isearch-insert-char-by-name'.
5145 (with-isearch-suspended): New defmacro with body mostly from
5146 `isearch-edit-string' except the part that sets
5147 `isearch-new-string' and `isearch-new-message'.
5148 (isearch-edit-string): Use new macro `with-isearch-suspended' with
5149 body that sets `isearch-new-string' and `isearch-new-message'.
5150 (isearch-insert-char-by-name): New command.
5151 * international/mule-cmds.el (read-char-by-name): Let-bind
5152 `enable-recursive-minibuffers' to t.
5153 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
5155 2012-12-15 Juri Linkov <juri@jurta.org>
5157 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
5160 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
5162 * dired-x.el (dired-guess-shell-command): Put colon at the end of
5163 the prompt. (Bug#13045)
5165 2012-12-14 Glenn Morris <rgm@gnu.org>
5167 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
5168 Try to include filename in non-bytecomp warning. (Bug#13132)
5170 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
5172 Fix permissions bugs with setgid directories etc. (Bug#13125)
5173 * files.el (backup-buffer): Don't rely on 9th output of
5174 file-attributes, as it's now a placeholder. Instead, use the new
5175 optional arg of file-ownership-preserved-p.
5176 (file-ownership-preserved-p): New optional arg GROUP.
5177 Fix mishandling of setuid directories that would cause this
5178 function to return t when it should have returned nil.
5179 Document what happens if the file does not exist, and when
5180 it's not known whether the ownership will be preserved.
5181 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
5183 (tramp-get-local-gid): Use group-gid for integer, as that's
5184 faster and more reliable.
5186 2012-12-14 Julien Danjou <julien@danjou.info>
5188 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
5189 Update keywords list, data type and PL/pgSQL.
5191 2012-12-14 Dave Abrahams <dave@boostpro.com>
5193 * vc/ediff-util.el (ediff-buffer-type): New function.
5194 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
5195 rather than taking it as as argument.
5196 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
5198 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
5200 * json.el: Add pretty-print option (bug#12634).
5201 (json-encoding-separator, json-encoding-default-indentation)
5202 (json--encoding-current-indentation, json-encoding-pretty-print)
5203 (json-encoding-lisp-style-closings): New vars.
5204 (json--with-indentation): New macro.
5205 (json-encode-hash-table, json-encode-alist, json-encode-plist)
5206 (json-encode-array): Use it to obey json-encoding-pretty-print.
5207 (json-pretty-print-buffer, json-pretty-print): New commands.
5209 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
5211 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5212 Extract `ruby-syntax-propertize-expansions'.
5213 (ruby-syntax-propertize-expansions): Only change syntax on
5214 certain string delimiters, to punctuation. This way the common
5215 functions like forward-word and thing-at-point still work.
5216 (ruby-match-expression-expansion): Improve readability.
5217 (ruby-block-contains-point): New function.
5218 (ruby-add-log-current-method): Handle several edge cases.
5220 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5222 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
5223 unload-feature finishes even when aborting an ongoing edebug session.
5224 Also, do not worry about edebug-mode, unload-feature takes care of it.
5226 2012-12-13 Andreas Schwab <schwab@suse.de>
5228 * net/tls.el (tls-program): Update customize type.
5230 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5232 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
5233 (edebug-setup-hook, cl-read-load-hooks): Use it.
5234 (edebug-unload-function): New function. (Bug#13163)
5236 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
5238 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
5239 Otherwise, there could be errors in autoloading. (Bug#13151)
5241 2012-12-13 JĂ¼rgen Hötzel <juergen@archlinux.org>
5243 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
5246 2012-12-13 Alan Mackenzie <acm@muc.de>
5248 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
5249 * progmodes/cc-engine.el (c-backward-comments): Add code to work
5250 around `forward-comment' not recognizing ^M as whitespace.
5252 2012-12-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5254 * progmodes/python.el (python-skeleton-class)
5255 (python-skeleton-def): Do not add space after defun name.
5257 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5259 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
5260 (cl--symbol-function): Remove (now that funbound is like nil).
5262 2012-12-12 Glenn Morris <rgm@gnu.org>
5264 * button.el (button--area-button-p): Fix typo.
5266 2012-12-12 Sam Steingold <sds@gnu.org>
5268 * frame.el (frame-maximization-style): New user option.
5269 (toggle-frame-maximized): Toggle frame maximization according to
5270 `frame-maximization-style', bound to <f11>.
5271 (cycle-frame-maximized): Cycle between all maximization styles and
5272 non-maximized frame, bound to shift-<f11>.
5274 2012-12-12 David Cadé <codename68@gmail.com>
5276 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
5278 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
5280 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
5281 (eieio-override-prin1): Don't quote kewords and booleans.
5282 (object-write) <eieio-default-superclass>: Don't put closing parens
5283 on new line, avoid needless empty lines, align values that are objects
5284 with the slot keyword (instead of beginning on the same line).
5285 (eieio-list-prin1): Align value with slot keyword; increase
5286 eieio-print-depth before printing members of the list.
5288 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5290 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
5291 a display text-property.
5292 (report-emacs-bug-hook): Don't bother deleting it any more.
5294 * hilit-chg.el (highlight-save-buffer-state): Delete.
5295 Use with-silent-modifications instead.
5296 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
5298 * button.el: Handle buttons in display text-properties.
5299 (button--area-button-p, button--area-button-string):
5300 Use (STRING . STRING-POS) representation instead of just STRING.
5302 2012-12-11 Eli Zaretskii <eliz@gnu.org>
5304 * makefile.w32-in (compile4-SH): Fix a typo that caused term
5305 subdirectory be skipped.
5307 2012-12-11 Glenn Morris <rgm@gnu.org>
5309 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
5311 * progmodes/f90.el (f90-line-continued, f90-indent-region):
5312 Treat preprocessor lines embedded in continuations like comments.
5313 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
5315 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
5317 * calc/calc.el (calc-standard-date-formats): Add more date
5319 * calc/calc-forms.el (math-parse-iso-date): New function.
5320 (math-parse-date): Use `math-parse-iso-date' when appropriate.
5321 (math-parse-iso-date-validate): Add extra error checking.
5322 (calc-date-notation): Add ability to access new date formats.
5324 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5326 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
5327 font-lock as well as when there's no text-property.
5329 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
5331 * hi-lock.el: Refine the choice of default face.
5332 (hi-lock-keyword->face): New function. Use it wherever we used
5334 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
5335 (hi-lock--last-face): Remove var.
5336 (hi-lock--unused-faces): New var to replace it.
5337 (hi-lock-read-face-name): Use/maintain it.
5338 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
5339 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
5340 if it has another face.
5342 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5344 * subr.el (w32notify-handle-event): New function.
5345 (inotify-handle-event): Doc fix.
5347 2012-12-10 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
5349 * subr.el (inotify-event-p, inotify-handle-event): New functions.
5351 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
5353 * simple.el (just-one-space): Doc fix.
5355 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5357 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
5359 2012-12-10 Le Wang <l26wang@gmail.com>
5361 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
5362 narrowed buffer (bug#12361).
5364 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
5366 * vc/vc-hooks.el (vc-state): Doc fix.
5368 2012-12-10 Glenn Morris <rgm@gnu.org>
5370 * mail/rmail.el (rmail-maybe-display-summary):
5371 Preserve buffer, in case select-window changes it. (Bug#13066)
5373 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5375 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
5376 cl-load-hook where they belong.
5378 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5380 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
5382 2012-12-09 Eli Zaretskii <eliz@gnu.org>
5384 Parallelize byte compilation on MS-Windows.
5385 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
5386 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
5387 (WINS_BASIC): Define as concatenation of the above.
5388 (compile): Subdivide into 4 separate and independent jobs that can
5390 (compile0-CMD, compile0-SH): New targets for compiling
5391 COMPILE_FIRST files, which are prerequisites for the rest of the
5393 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
5394 New targets for parallel compilation with cmd.exe.
5395 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
5396 compiling under a Unixy shell.
5398 2012-12-09 Chong Yidong <cyd@gnu.org>
5400 * simple.el (set-mark-default-inactive): Delete this
5401 accidentally-introduced option.
5402 (set-mark-command, exchange-point-and-mark): Remove calls.
5404 2012-12-09 Glenn Morris <rgm@gnu.org>
5406 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
5407 Respect a defcustom's :set function, if appropriate. (Bug#109)
5408 (eval-defun): Doc fix.
5410 2012-12-08 Juri Linkov <juri@jurta.org>
5412 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
5413 (Info-fontify-node, Info-bookmark-make-record): Remove the
5414 file extension from Info-current-file (Bug#13016).
5416 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5418 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
5419 point, still provide some default.
5420 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
5421 names, since we don't use it right now. Actually return the list.
5422 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
5424 2012-12-07 Chong Yidong <cyd@gnu.org>
5426 * novice.el (disabled-command-function): Remove a spurious help
5427 xref (Bug#13043). Suggested by Kelly Dean.
5429 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
5430 syntax is specified (Bug#13025).
5432 * info.el (Info-set-mode-line): Remove the file extension from
5433 Info-current-file if there is one (Bug#13016).
5435 2012-12-07 Glenn Morris <rgm@gnu.org>
5437 * mail/rmail.el (rmail-mime-decoded): New permanent local.
5438 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
5439 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
5440 and rmail-mime-decoded. (Bug#9841)
5442 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
5443 (batch-unrmail, unrmail): Doc fixes.
5444 (unrmail): Respect unrmail-mbox-format.
5445 * mail/rmail.el (rmail-mbox-format): New option.
5446 (rmail-show-message-1): Respect rmail-mbox-format.
5448 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5450 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
5452 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5454 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
5455 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
5456 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
5457 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
5458 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
5459 (cl-progv): Don't rely on dynamic scoping to find the body.
5460 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
5461 (cl--proclaims-deferred): Rename from the "cl-" prefix.
5462 (cl-declaim): Use backquotes.
5463 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
5464 Use "cl--" prefix for the object's tag.
5466 * ses.el: Use advice-add/remove.
5467 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
5468 (copy-region-as-kill, yank): Use advice-add.
5469 (ses-unload-function): Use advice-remove.
5471 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
5473 * button.el: Make them work in header-lines (bug#12817).
5474 (button-map): Add bindings for header-line and mode-line use.
5475 (button-get, button-put, button-label): `button' may now be a string.
5476 (button-activate): Don't make it a defsubst.
5477 (button--area-button-p, button--area-button-string): New functions.
5478 (make-text-button): Fix the return value when `beg' was a string.
5479 (push-button): Handle the mode-line case.
5481 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5483 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
5484 (sql-signum): Remove. Use `cl-signum' instead.
5485 (sql-read-passwd): Remove; use read-passwd instread.
5486 (sql-get-login-ext): Use read-string.
5487 (sql-get-login): Use dolist and pcase.
5488 (sql--completion-table): Rename from sql-try-completion.
5489 Use complete-with-action.
5490 (sql-mode): Don't change abbrev-all-caps globally.
5491 (sql-connect): Don't rely on dynamic scoping for `new-name'.
5492 (sql-postgres-completion-object): Initialize vars in their `let'.
5493 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
5494 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
5495 (sql-comint-interbase): Use a single append, without setq.
5496 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
5498 * hi-lock.el: Rework the default face and the serialize regexp code.
5499 (hi-lock--auto-select-face-defaults): Remove.
5500 (hi-lock-string-serialize-serial): Remove.
5501 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
5503 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
5505 (hi-lock-set-pattern): Adjust accordingly.
5506 (hi-lock--regexps-at-point): Simplify accordingly.
5507 (hi-lock--auto-select-face-defaults): Remove.
5508 (hi-lock--last-face): New var to replace it.
5509 (hi-lock-read-face-name): Rewrite (bug#11095).
5510 (hi-lock-unface-buffer): Arrange for the face to be the next default.
5512 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
5514 * net/tramp.el (tramp-replace-environment-variables):
5515 Hide compiler warning.
5516 (tramp-file-name-for-operation): Remove `executable-find',
5517 `start-process', `call-process' and `call-process-region'.
5519 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5521 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
5524 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
5526 2012-12-06 Chong Yidong <cyd@gnu.org>
5528 * ffap.el (ffap-replace-file-component): Fix typo.
5530 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5532 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
5533 fix open-paren-like token test (bug#12785).
5535 2012-12-06 Glenn Morris <rgm@gnu.org>
5537 * mail/rmailsum.el (rmail-new-summary): Tweak for
5538 rmail-maybe-display-summary changing buffer. (Bug#13066)
5540 2012-12-06 Juri Linkov <juri@jurta.org>
5542 * info.el (Info-fontify-node): Don't hide the last newline.
5545 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
5547 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
5548 so as to enable message-read-from-minibuffer to expand mail aliases.
5550 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5552 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
5553 the `intangible' property.
5554 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
5556 2012-12-05 Deniz Dogan <deniz@dogan.se>
5558 * net/rcirc.el (rcirc-urls): Update documentation.
5559 (rcirc-condition-filter): New function.
5560 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
5561 and exclude consecutive duplicate URLs (Bug#6082).
5563 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
5565 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5566 Check return code of copy command.
5568 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
5569 Use group `tramp'. Add version.
5571 2012-12-05 Chong Yidong <cyd@gnu.org>
5573 * ffap.el (ffap-url-regexp): Don't require matching at front of
5575 (ffap-url-p): If only a substring matches, return that.
5576 (ffap-url-at-point): Use the return value of ffap-url-p.
5577 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
5578 (find-file-at-point, dired-at-point, dired-at-point-prompter)
5579 (ffap-guess-file-name-at-point): Likewise.
5580 (ffap-replace-file-component): Fix typo.
5582 * info.el (info-display-manual): Add existing Info buffers, whose
5583 files may not be in Info-directory-list, to the completion.
5584 (info--manual-names): New helper function.
5586 2012-12-05 Glenn Morris <rgm@gnu.org>
5588 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
5589 New functions, for detecting and resolving conflicts. (Bug#10709)
5591 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
5593 * hi-lock.el (hi-lock-auto-select-face): New user variable.
5594 (hi-lock-auto-select-face-defaults): New buffer local variable.
5595 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
5596 (hi-lock-unface-buffer): Prompt user with useful defaults.
5597 With prefix arg, unhighlight all hi-lock patterns in buffer.
5599 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5601 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
5603 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
5605 * Makefile.in (TRAMP_SRC):
5606 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
5608 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
5610 * net/tramp-adb.el: New package.
5612 2012-12-04 Chong Yidong <cyd@gnu.org>
5614 * terminal.el: Move to obsolete/.
5616 * longlines.el: Move to obsolete/.
5618 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
5619 Remove code referring to longlines mode.
5621 2012-12-03 Juri Linkov <juri@jurta.org>
5623 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
5625 2012-12-03 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
5627 * textmodes/ispell.el (ispell-init-process)
5628 (ispell-start-process, ispell-internal-change-dictionary):
5629 Make sure personal dictionary name is expanded after initial
5630 `default-directory' value. Use expanded strings for
5631 keep/restart checks and for value (Bug#13019).
5633 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5635 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
5637 2012-12-03 Leo Liu <sdl.web@gmail.com>
5639 * files.el (dir-locals-read-from-file): Check file non-empty
5640 before reading. (Bug#13038)
5642 2012-12-03 Glenn Morris <rgm@gnu.org>
5644 * jka-cmpr-hook.el (jka-compr-get-compression-info):
5645 Remove any version extension before checking filename. (Bug#13006)
5646 (jka-compr-compression-info-list): Belated :version bump.
5648 2012-12-03 Chong Yidong <cyd@gnu.org>
5650 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
5652 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
5653 (buffer-menu): Doc fix (Bug#12294).
5655 2012-12-03 Roland Winkler <winkler@gnu.org>
5657 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
5658 of diary-show-all-entries in the diary buffer (Bug#12994).
5660 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
5662 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
5663 "<STDIN>". This is binary safe.
5665 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5667 * calc/calc-forms.el (math-absolute-from-iso-dt)
5668 (math-date-to-iso-dt, math-parse-iso-date-validate)
5669 (math-iso-dt-to-date): New functions.
5670 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
5671 (math-fd-isoweekday): New variables.
5672 (calc-date-notation, math-parse-standard-date, math-format-date)
5673 (math-format-date-part): Add support for more formatting codes.
5675 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
5677 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
5678 current buffer's file name when called interactively (Bug#12488).
5680 2012-12-02 Juri Linkov <juri@jurta.org>
5682 * info.el (info-display-manual): Don't clobber an existing Info
5683 buffer (Bug#10770). Add completion (Bug#10771).
5685 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
5687 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
5688 before using it for comparison (Bug#5297).
5690 2012-12-01 Jari Aalto <jari.aalto@cante.net>
5692 * textmodes/css-mode.el (css-current-defun-name): New function.
5695 * textmodes/sgml-mode.el (html-current-defun-name): New function.
5696 (html-mode): Use it.
5698 2012-12-01 Chong Yidong <cyd@gnu.org>
5700 Modularize add-log-current-defun (Bug#2224).
5701 Suggested by Jari Aalto.
5703 * vc/add-log.el (add-log-current-defun-function): Doc fix.
5704 (add-log-current-defun): Move mode-specific code to other files.
5705 (add-log-lisp-like-modes, add-log-c-like-modes)
5706 (add-log-tex-like-modes): Variables deleted.
5708 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
5709 (lisp-mode-variables): Use it.
5711 * progmodes/cc-mode.el (c-common-init):
5712 * progmodes/cperl-mode.el (cperl-mode): Set a value for
5713 add-log-current-defun-function.
5715 * progmodes/m4-mode.el (m4-current-defun-name): New function.
5718 * progmodes/perl-mode.el (perl-current-defun-name): New.
5719 (perl-mode): Use it.
5721 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
5722 Use lisp-current-defun-name.
5724 * textmodes/tex-mode.el (tex-current-defun-name): New.
5725 (tex-common-initialization): Use it.
5727 * textmodes/texinfo.el (texinfo-current-defun-name): New.
5728 (texinfo-mode): Use it.
5730 2012-12-01 Chong Yidong <cyd@gnu.org>
5732 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
5733 * progmodes/autoconf.el (autoconf-mode):
5734 * progmodes/js.el (js-mode):
5735 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
5736 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
5737 * progmodes/perl-mode.el (perl-mode):
5738 * progmodes/sh-script.el (sh-mode, sh-set-shell):
5739 * textmodes/css-mode.el (css-mode):
5740 * textmodes/sgml-mode.el (html-mode, sgml-mode)
5741 (sgml-tags-invisible, sgml-guess-indent):
5742 * textmodes/tex-mode.el (tex-common-initialization)
5743 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
5744 (doctex-mode, plain-tex-mode, latex-mode):
5745 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
5747 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
5749 * vc/vc-hg.el (vc-hg-next-revision):
5750 Ensure use of default "tip" output format. (Bug#6968)
5752 2012-12-01 Kim F. Storm <storm@cua.dk>
5754 * startup.el (fancy-startup-tail): Add a clickable link
5757 2012-12-01 Chong Yidong <cyd@gnu.org>
5759 * startup.el (fancy-startup-tail): Improve the message about
5760 auto-save files (Bug#2176).
5762 * files.el (recover-session): Improve the descriptive message, and
5763 use substitute-command-keys.
5765 2012-12-01 Glenn Morris <rgm@gnu.org>
5767 * ido.el (ido-file-internal):
5768 Handle other-window, other-frame for dired. (Bug#13036)
5770 2012-11-30 Glenn Morris <rgm@gnu.org>
5772 * icomplete.el (icomplete-separator): Fix :version.
5774 2012-11-30 Chong Yidong <cyd@gnu.org>
5776 * shell.el (shell): For C-u M-x shell, use an inactive shell
5777 buffer as the default (Bug#1975).
5778 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
5779 (shell-mode): Use them to reapply ansi colorization if Shell mode
5782 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
5784 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
5786 2012-11-30 Samuel Bronson <naesten@gmail.com>
5788 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
5789 flag to xargs, for compatibility with BSD xargs (Bug#11703).
5791 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5793 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
5794 by move-to-column (Bug#3234).
5796 2012-11-30 Chong Yidong <cyd@gnu.org>
5798 * longlines.el (longlines-wrap-line, longlines-encode-region):
5799 Preserve text properties (Bug#1425).
5801 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5803 * vc/vc.el (vc-register): Allow registering a file which is
5804 already registered with a different backend (Bug#10589).
5806 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
5807 Stefan Monnier <monnier@iro.umontreal.ca>
5809 * icomplete.el: Change separator; add ido-style commands.
5810 (icomplete-show-key-bindings): Remove custom var.
5811 (icomplete-get-keys): Remove function.
5812 (icomplete-forward-completions, icomplete-backward-completions):
5814 (icomplete-minibuffer-map): New var.
5815 (icomplete-minibuffer-setup): Use it.
5816 (icomplete-exhibit): Don't delay if the list of completions is known.
5817 (icomplete-separator): New custom.
5818 (icomplete-completions): Use it.
5819 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
5820 (minibuffer-force-complete-and-exit): New command.
5821 (minibuffer--complete-and-exit): New function extracted from
5822 minibuffer-complete-and-exit.
5823 (minibuffer-complete-and-exit): Use it.
5825 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
5826 error message when the file doesn't exist (bug#12974).
5828 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5830 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
5832 2012-11-29 Glenn Morris <rgm@gnu.org>
5834 * files.el (hack-dir-local-variables): Warn if try to set
5835 coding via dir-locals, since it doesn't work. (Bug#7169)
5837 Add desktop support for restoring vc-dir buffers. (Bug#10606)
5838 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
5839 Set buffer-local value of desktop-save-buffer.
5840 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
5842 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
5843 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
5845 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
5846 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
5848 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
5851 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
5853 * calc/calc-forms.el (calc-date-notation): Fix regexp
5854 used to find time codes. Fix symbol for seconds.
5856 2012-11-27 Glenn Morris <rgm@gnu.org>
5858 * emacs-lisp/derived.el (derived-mode-make-docstring):
5859 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
5861 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5863 * textmodes/table.el (table-insert): Don't use `symbol-name' on
5864 lexically scoped variables (bug#13005).
5866 2012-11-27 Glenn Morris <rgm@gnu.org>
5868 * vc/vc-hooks.el (vc-mistrust-permissions):
5869 Default to t, to avoid data-loss. (Bug#11490)
5871 2012-11-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5873 * progmodes/python.el (python-indent-guess-indent-offset):
5874 If indentation is guessed make python-indent-offset buffer-local.
5876 Fix Imenu regression.
5877 * progmodes/python.el (python-nav-beginning-of-defun):
5878 Fix forward movement when statement(s) separates point from defun.
5879 (python-imenu-prev-index-position): New function.
5881 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5883 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
5885 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
5886 Don't set buffer-file-type. Return nil. (Bug#12989)
5888 2012-11-27 Glenn Morris <rgm@gnu.org>
5890 * hippie-exp.el (hippie-expand-try-functions-list):
5891 Re-autoload it. (Bug#12982)
5893 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5895 * descr-text.el (describe-char-padded-string):
5896 Call internal-char-font only on GUI frames. (Bug#11964)
5898 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
5900 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
5901 and obsoletion message.
5903 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5905 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
5906 the constructs to keep outside of the `cl-block' (bug#12977).
5908 2012-11-27 Chong Yidong <cyd@gnu.org>
5910 * mouse.el (mouse-drag-line): Even if the line is not draggable,
5911 keep reading until we get the up-event anyway, in order to process
5912 the up-event for mouse-1-click-follows-link (Bug#12971).
5914 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
5916 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
5917 base function is not yet defined (bug#12965).
5918 (ad-activate-advised-definition): Use ad-compile-function.
5919 (ad-activate): Use cond.
5921 2012-11-25 Leo Liu <sdl.web@gmail.com>
5923 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
5926 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5928 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
5929 reftex-section-info-function in order to be compatible with
5930 Texinfo integration.
5932 * textmodes/reftex.el (reftex-section-pre-regexp)
5933 (reftex-section-post-regexp, reftex-section-info-function):
5935 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
5936 reftex-section-post-regexp, and reftex-section-info-function in order
5937 to be compatible with Texinfo integration.
5939 * textmodes/reftex-toc.el (reftex-toc-promote-action):
5940 use reftex-section-pre-regexp variable in order to be compatible with
5941 Texinfo integration.
5943 2012-11-25 Chong Yidong <cyd@gnu.org>
5945 * faces.el: Make face-spec-set more analogous to setq.
5946 (face-spec-set): Change the third arg to specify whether this
5947 function is being called via defface, customize, or a third party.
5948 Set the appropriate symbol properties. Clear the override spec if
5949 setting via Custom. Initialize face if necessary. (Bug#4988)
5950 (face-spec-recalc): Allow theme faces to completely replace the
5951 defface spec, in the same way as custom faces (Bug#8454).
5953 * cus-face.el (custom-declare-face): Move face initialization to
5955 (custom-theme-set-faces): Don't initialize the face name here, as
5956 that is now done in face-spec-set.
5958 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
5959 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
5960 Simplify by using the new arg to face-spec-set.
5962 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
5963 reset face-override-spec too, and use custom-declare-face.
5965 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
5967 * term/ns-win.el (ns-initialize-window-system): Move creation of
5968 fontsets here (Bug#11964).
5970 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5972 * ses.el (ses-rename-cell): Correct bug on mode-line update after
5975 2012-11-24 Chong Yidong <cyd@gnu.org>
5977 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
5980 * custom.el (custom-theme-set-variables): Use a topological sort
5981 for ordering by custom dependencies (Bug#12952).
5982 (custom--sort-vars, custom--sort-vars-1): New functions.
5984 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
5986 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
5987 lexical-binding (bug#12938).
5989 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
5991 * image-mode.el (image-transform-check-size): Use assertions only
5992 for images of type imagemagick.
5994 Otherwise no error, image-transform-fit-to-{width,height} is
5995 silently ignored, as before. Doc fix.
5997 2012-11-24 Chong Yidong <cyd@gnu.org>
5999 * faces.el (color-defined-p): Doc fix (Bug#12853).
6001 2012-11-24 Juri Linkov <juri@jurta.org>
6003 * dired.el (dired-mark): Add optional arg `interactive'.
6004 Check for `use-region-p' if `interactive' is non-nil.
6005 (dired-unmark, dired-flag-file-deletion): Add optional arg
6006 `interactive'. Call `dired-mark' with the arg `interactive'.
6009 * wdired.el: Revert 2012-10-17 change partly and replace it with
6010 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
6011 (wdired-finish-edit): Add marks for new file names to
6012 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
6013 after `revert-buffer'.
6014 (wdired-do-renames): Remove calls to `dired-remove-file',
6015 `dired-add-file', `dired-add-entry'. (Bug#11795)
6017 2012-11-24 Alan Mackenzie <acm@muc.de>
6019 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
6021 Fix bugs in the state cache. Enhance a debugging mechanism.
6022 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
6023 "brace at column zero" strategy for C++.
6024 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
6025 (c-parse-state-point): New variable.
6026 (c-record-parse-state-state): Record old parse state with
6027 `copy-tree'. Record previous value of point.
6028 (c-debug-parse-state-double-cons): New debugging function.
6029 (c-debug-parse-state): Call the above new function.
6030 (c-toggle-parse-state-debug): Output a confirmatory message.
6032 * progmodes/cc-mode.el (c-before-change, c-after-change):
6033 Call c-invalidate-state-cache from `c-before-change' instead of
6036 2012-11-23 Chong Yidong <cyd@gnu.org>
6038 * find-cmd.el (find-constituents): Add executable, ipath,
6039 readable, samefile, writable, daystart, regextype (Bug#12856).
6041 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
6043 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
6045 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
6047 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
6048 definition. This fixes a bootstrap failure.
6049 (calc-gregorian-switch): In menu, put dates before regions.
6050 This is easier to follow, lines up better in the menu, and lets us
6051 coalesce regions that switch at the same time. Give country
6052 names, not "Vatican", as that's better for non-expert users.
6053 Use names that are stable between the date of switch and now, e.g.,
6054 Bohemia and Moravia (which existed then and now) and not
6055 Czechoslovakia (which didn't exist then and doesn't exist now).
6056 What is now the U.S. mostly did not switch at the same time as
6057 Britain, so omit the U.S. Correct spelling of "Britain".
6058 Catholic Switzerland was too much of a mess, so omit it.
6060 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
6062 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
6063 after the variable is changed.
6065 2012-11-21 Daniel Colascione <dancol@dancol.org>
6067 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
6068 in SQL declarations for font-lock.
6069 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
6071 2012-11-21 Glenn Morris <rgm@gnu.org>
6073 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
6074 (face-italic-p): Add optional argument "inherit".
6076 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
6077 Remove -p suffix from names, for consistency with other set-face-*.
6078 (set-face-inverse-video): Fix interactive spec.
6079 * play/gamegrid.el (gamegrid-make-mono-tty-face):
6080 * textmodes/table.el (table--update-cell-face):
6081 Use set-face-inverse-video rather than now obsolete alias.
6083 2012-11-21 Eli Zaretskii <eliz@gnu.org>
6085 * simple.el (line-move): Don't call line-move-partial if
6086 scroll-conservatively is in effect. (Bug#12927)
6088 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6090 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
6091 Fallback on completion-at-point rather than
6092 pcomplete-expand-and-complete, and only if pcomplete actually failed.
6093 (eshell-cmpl-initialize): Setup completion-at-point.
6095 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
6097 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
6099 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
6101 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
6102 are remote, check out-of-band property for both.
6104 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6106 * window.el (switch-to-buffer): Re-add the warning that was lost in the
6109 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
6111 More minor time fixes.
6112 * calendar/time-date.el: Commentary fix.
6113 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
6114 too much other code depends on (0 0) time stamps.
6115 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
6116 Add a couple of FIXME comments.
6118 Minor cleanup for times as lists of four integers.
6119 * files.el (dir-locals-directory-cache):
6120 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
6122 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
6123 * ps-bdf.el (bdf-file-newer-than-time):
6124 Process four-integers time stamps, not two. Doc fixes.
6126 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6128 * uniquify.el (uniquify-managed): Use defvar-local.
6129 (rename-buffer, create-file-buffer): Advise with advice-add.
6130 (uniquify-unload-function): Unadvise accordingly.
6132 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
6133 (trace-buffer): Don't purecopy.
6134 (trace-entry-message, trace-exit-message): Add `context' arg.
6135 (trace--timer): New var.
6136 (trace-make-advice): Adjust for use in nadvice.
6137 Add `context' argument. Delay `display-buffer' via a timer.
6138 (trace-function-internal): Use advice-add.
6139 (trace--read-args): New function.
6140 (trace-function-foreground, trace-function-background): Use it.
6141 (trace-function): Rename to trace-function-foreground and redefine as
6142 an alias to that new name.
6143 (untrace-function, untrace-all): Adjust to the use of nadvice.
6145 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
6147 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
6149 * subr.el (called-interactively-p-functions): New var.
6150 (internal--called-interactively-p--get-frame): New macro.
6151 (called-interactively-p, interactive-p): Rewrite in Lisp.
6152 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
6153 (called-interactively-p-functions): Use it.
6154 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
6155 (called-interactively-p-functions): Use it.
6156 * allout.el (allout-called-interactively-p): Don't assume
6157 called-interactively-p is a subr.
6159 2012-11-20 Glenn Morris <rgm@gnu.org>
6161 * profiler.el (profiler-report-mode-map): Add a menu.
6162 No need to bind `q' because we derive from special-mode.
6163 (profiler-report-find-entry): Handle calls from the menu-bar.
6165 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
6167 * emacs-lisp/byte-run.el (defun-declarations-alist):
6168 Allow a compiler-macro to be a lambda expression.
6170 * progmodes/python.el: Use cl-lib. Move var declarations outside of
6172 (python-syntax-context): Add compiler-macro.
6173 (python-font-lock-keywords): Simplify with De Morgan.
6175 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
6177 * files.el (load-file): Require match in minibuffer selection, as was
6178 the case in Emacs-20 before we changed the spec to allow .elc files
6181 * json.el: Don't require cl since we don't use it.
6182 * color.el: Don't require cl.
6183 (color-complement): `caddr' -> `nth 2'.
6185 * calendar/time-date.el (time-to-seconds): De-obsolete.
6187 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
6189 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
6191 (math-date-to-julian-dt): Adjust the initial approximation for the
6192 year to deal with the new definition of the DATE.
6194 2012-11-19 Daniel Colascione <dancol@dancol.org>
6196 * term/w32-win.el (cygwin-convert-path-from-windows):
6197 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6199 2012-11-18 Chong Yidong <cyd@gnu.org>
6201 * filecache.el (file-cache--read-list): New function.
6202 (file-cache-add-directory-list, file-cache-add-file-list)
6203 (file-cache-delete-file-list, file-cache-delete-directory-list):
6204 Use it to read a list of files or directories (Bug#12846).
6205 (file-cache-add-file, file-cache-add-directory)
6206 (file-cache-delete-file-list, file-cache-delete-file-regexp)
6207 (file-cache-delete-directory): Print an message.
6209 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
6211 * calc/calc-forms.el (math-date-to-dt): Use integer date when
6212 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
6214 2012-11-18 Glenn Morris <rgm@gnu.org>
6216 * image.el (insert-image, insert-sliced-image): Doc fix.
6218 2012-11-18 Chong Yidong <cyd@gnu.org>
6220 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
6223 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6225 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
6226 response when the target file is in a subdirectory (Bug#12757).
6228 2012-11-18 Chong Yidong <cyd@gnu.org>
6230 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
6232 2012-11-18 Glenn Morris <rgm@gnu.org>
6234 * emacs-lisp/cl-lib.el (face-underline-p):
6235 Use set-face-underline rather than the alias set-face-underline-p.
6237 * window.el (with-temp-buffer-window): Doc fix.
6238 * subr.el (with-output-to-temp-buffer):
6239 Add doc xref to with-temp-buffer-window.
6241 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
6243 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
6244 * calc/calc.el (math-format-date-cache): Declare.
6246 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
6248 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
6249 It also uses January 1, 1 AD as its day number 1.
6250 * calc/calc-forms.el (math-julian-date-beginning)
6251 (math-julian-date-beginning-int): Implement this.
6253 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
6255 * descr-text.el (quail-find-key):
6256 * dired.el (desktop-file-name):
6257 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
6258 * generic-x.el (comint-mode, comint-exec):
6259 * image-dired.el (widget-forward):
6260 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
6261 (speedbar-change-expand-button-char)
6262 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
6263 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
6264 * printing.el (easy-menu-add-item, easy-menu-remove-item)
6265 (widget-field-action, widget-value-set):
6266 * speedbar.el (imenu--make-index-alist):
6267 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
6268 (ring-length, ring-insert):
6269 * vcursor.el (compare-windows-skip-whitespace):
6270 * woman.el (dired-get-filename):
6273 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
6275 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6277 * calc/calc.el (calc-gregorian-switch): New variable.
6279 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
6280 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
6281 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
6282 (math-leap-year-p): Add option to distinguish between Julian
6283 and Gregorian calendars.
6284 (math-day-number): Use `math-day-in-year' to do the computations.
6285 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
6286 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
6287 to do the computations.
6288 (math-date-to-dt): Use `math-date-to-julian-dt' and
6289 `math-date-to-gregorian-dt' to do the computations.
6290 (calcFunc-weekday, math-format-date-part): Use the new version of
6291 the DATE to determine the weekday.
6292 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
6295 2012-11-17 Eli Zaretskii <eliz@gnu.org>
6297 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
6298 Cygwin; otherwise use 'file:'. (Bug#12914)
6299 (cygwin-convert-path-from-windows): Declare, to avoid
6300 byte-compiler warnings.
6302 2012-11-17 Andreas Politz <politza@fh-trier.de>
6304 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
6305 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
6306 prefix and negative numeric prefix args (Bug#12795).
6308 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
6310 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
6311 Don't signal an error with a score that is too low to add to the
6312 list of top scores. (Bug#12779)
6314 2012-11-17 Chong Yidong <cyd@gnu.org>
6316 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
6318 * filecache.el (file-cache-add-file): Handle relative file name in
6319 the argument (Bug#12694).
6321 2012-11-16 JĂ¼rgen Hötzel <juergen@archlinux.org> (tiny change)
6323 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
6325 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6327 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
6329 * emacs-lisp/cl-lib.el: Set more meaningful version number.
6331 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6333 * window.el (enlarge-window, shrink-window): Don't mention return
6334 value in doc-string (Bug#12896).
6335 (window--display-buffer): Don't resize frames - it won't work
6336 with all window managers and defeat pop-up-frame-alist.
6337 (display-buffer-alist): In doc-string explain that CONDITION can
6338 be a function and which arguments are passed to it (Bug#12854).
6339 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
6340 expressions (Bug#12854).
6341 (display-buffer): Pass ACTION argument to
6342 display-buffer-assq-regexp.
6344 2012-11-16 Glenn Morris <rgm@gnu.org>
6346 * window.el (fit-frame-to-buffer-bottom-margin)
6347 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
6349 * faces.el (face-underline-p): Use face-attribute-specified-or.
6351 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
6353 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
6355 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6357 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
6359 2012-11-16 Glenn Morris <rgm@gnu.org>
6361 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
6362 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
6364 * faces.el (face-underline-p): Doc fix. Handle :underline being
6365 things other than `t' (a string, a list).
6366 (face-inverse-video-p): Doc fix.
6367 (set-face-underline): Rename it back from set-face-underline-p.
6368 Doc fix. Allow interactive input of values other than t.
6369 (read-face-attribute): Apply formatting to :underline,
6370 since like :box and :stipple it can take list values.
6372 * term.el (ansi-term): Don't let C-x escape-char binding
6373 clobber the more standard C-c binding. (Bug#12842)
6375 * subr.el (set-temporary-overlay-map): Doc fix.
6377 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6379 * window.el (record-window-buffer)
6380 (display-buffer-record-window): When copying the markers to
6381 window-point preserve window-point-insertion-type. (Bug#12588)
6383 2012-11-16 Glenn Morris <rgm@gnu.org>
6385 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
6386 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
6387 Use new names for hooks rather than obsolete aliases.
6389 2012-11-15 Daniel Colascione <dancol@dancol.org>
6391 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
6392 prefix instead of "file:" so that when FILE-NAME begins with "//",
6393 as it does when the target file is on a network share, url-handler
6396 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6398 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
6399 a preactivated advice from an old advice.el; they're not compatible!
6401 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
6403 * emacs-lisp/nadvice.el (advice--make-interactive-form):
6404 Fix string-spec case.
6406 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
6408 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6410 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
6411 (advice--buffer-local-function-sample): New var.
6412 (advice--set-buffer-local, advice--buffer-local): New functions.
6413 (add-function, remove-function): Use them.
6415 2012-11-15 Drew Adams <drew.adams@oracle.com>
6417 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
6419 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6421 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
6422 potential binding of print-gensym to t, and prettify (back)quotes in
6423 case they appear in args's default values (bug#12884).
6425 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6427 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
6428 (advice-eval-interactive-spec): New function.
6429 (advice--make-interactive-form): Support around advice (bug#12844).
6431 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
6433 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
6434 more strict. Add docstring.
6435 (ruby-expression-expansion-re): Extract from
6436 `ruby-match-expression-expansion'.
6437 (ruby-syntax-propertize-function): After everything else, search
6438 for expansions in string literals, mark their insides as
6439 whitespace syntax and save match data for font-lock.
6440 (ruby-font-lock-keywords): Use the 2nd group from expression
6442 (ruby-match-expression-expansion): Use the match data saved to the
6443 text property in ruby-syntax-propertize-function.
6445 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6447 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
6450 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6452 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
6453 start/end keyword a bit harder. Works with different values of N.
6455 (ruby-end-of-block): Update accordingly.
6457 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6459 * woman.el (woman-file-name): Don't mess with unread-command-events
6462 * emacs-lisp/advice.el: Layer on top of nadvice.el.
6463 Remove out of date self-require hack.
6464 (ad-do-advised-functions): Use simple `dolist'.
6465 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
6466 (ad-advice-definition): Redefine as functions.
6467 (ad-advice-classes): Move before first use.
6468 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
6469 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
6470 (ad--defalias-fset): Remove functions.
6471 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
6472 (ad-get-orig-definition): Rewrite.
6473 (ad-make-advised-definition-docstring): Change base docstring.
6474 (ad-real-orig-definition): Rewrite.
6475 (ad-map-arglists): Change name of called function.
6476 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
6477 (ad-make-advised-definition): Simplify.
6478 (ad-assemble-advised-definition): Tweak for new calling context.
6479 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
6480 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
6481 function and call ad-activate if needed.
6482 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
6483 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
6484 (ad-compile-function): Compile ad-Advice-*.
6485 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
6486 (ad-start-advice, ad-stop-advice): Remove.
6488 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6490 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
6491 period before class method names, not after. Remove handling of
6492 one impossible case. Add comments.
6494 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6496 * emacs-lisp/advice.el: Remove support for freezing.
6497 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
6498 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
6499 Remove support for `freeze'.
6501 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
6502 override the default.
6503 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
6505 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
6508 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
6510 (advice--strip-macro): New function.
6511 (advice--defalias-fset): Use them to handle macros.
6512 (advice-add): Use them.
6513 (advice-member-p): Correctly handle macros.
6515 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6517 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6518 Never font-lock the beginning of singleton class as heredoc.
6520 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6522 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
6524 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
6526 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
6527 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
6528 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
6530 2012-11-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6532 Fix end-of-defun misbehavior.
6533 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
6534 python-beginning-of-defun-function. Handle nested defuns
6536 (python-nav-end-of-defun): Rename from
6537 python-end-of-defun-function. Ensure forward movement.
6538 (python-info-current-defun): Reimplement to work as intended
6539 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
6540 parent defuns as soon as possible.
6542 2012-11-13 Glenn Morris <rgm@gnu.org>
6544 * progmodes/flymake.el (flymake-error-bitmap)
6545 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
6546 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
6548 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6550 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
6551 backward, always stop at indentation. Reverts the change from
6552 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
6554 2012-11-13 Glenn Morris <rgm@gnu.org>
6556 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
6557 Add ibuffer-filter-by-derived-mode.
6559 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
6560 the same name shadowing each other.
6562 * window.el (with-temp-buffer-window): Doc tweak.
6564 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
6566 * help.el (temp-buffer-max-height):
6567 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
6568 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
6570 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
6572 * emacs-lisp/nadvice.el: New package.
6573 * subr.el (special-form-p): New function.
6574 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
6575 (elp-all-instrumented-list): Remove var.
6576 (elp-not-profilable): Remove elp-wrapper.
6577 (elp-profilable-p): Use autoloadp and special-form-p.
6578 (elp--advice-name): New const.
6579 (elp-instrument-function): Use advice-add.
6580 (elp--instrumented-p): New predicate.
6581 (elp-restore-function): Use advice-remove.
6582 (elp-restore-all, elp-reset-all): Use mapatoms.
6583 (elp-set-master): Use elp--instrumented-p.
6584 (elp--make-wrapper): Rename from elp-wrapper, return a function
6585 suitable for advice-add. Use cl-inf.
6586 (elp-results): Use mapatoms+elp--instrumented-p.
6587 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
6588 (debug-function-list): Remove var.
6589 (debug): Rename arg, and then let-bind it explicitly inside.
6590 (debugger-setup-buffer): Rename arg.
6591 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
6592 (debugger-frame-number): Adjust to new debug-on-entry setup.
6593 (debug--implement-debug-on-entry): Rename from
6594 implement-debug-on-entry, add argument.
6595 (debugger-special-form-p): Remove, use special-form-p instead.
6596 (debug-on-entry): Use advice-add.
6597 (debug--function-list): New function.
6598 (cancel-debug-on-entry): Use it, along with advice-remove.
6599 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
6600 (debugger-list-functions): Use debug--function-list instead of
6601 debug-function-list.
6602 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
6603 (ad-special-form-p): Remove, use special-form-p instead.
6604 (ad-set-advice-info): Use add-function and remove-function.
6605 (ad--defalias-fset): Adjust accordingly.
6607 2012-11-10 Glenn Morris <rgm@gnu.org>
6609 * mail/emacsbug.el (report-emacs-bug-tracker-url)
6610 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
6611 (report-emacs-bug-create-existing-bugs-buffer)
6612 (report-emacs-bug-parse-query-results)
6613 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
6615 * term.el (term-default-fg-color, term-default-bg-color):
6616 Make obsolete, rather than just saying "deprecated" in the doc.
6618 * term.el (term): Rename from `term-face'.
6619 (term-current-face, ansi-term-color-vector)
6620 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
6623 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
6625 * server.el (server-create-window-system-frame): Handle Nextstep
6626 specially (Bug#12780).
6628 2012-11-10 Glenn Morris <rgm@gnu.org>
6630 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
6631 Unautoload, and make obsolete. (Bug#7449)
6633 2012-11-10 Chong Yidong <cyd@gnu.org>
6635 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
6636 rename from diff-remove-trailing-whitespace (Bug#12831).
6638 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6640 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
6641 miscompilation of trace.el.
6643 2012-11-10 Glenn Morris <rgm@gnu.org>
6645 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
6647 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6649 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
6652 2012-11-10 Chong Yidong <cyd@gnu.org>
6654 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
6655 a defcustom with an appropriate :set function.
6656 (minibuffer-default--in-prompt-regexps): New function.
6658 2012-11-10 Glenn Morris <rgm@gnu.org>
6660 * emacs-lisp/cl.el (define-setf-expander, defsetf)
6661 (define-modify-macro): Doc fixes.
6663 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
6664 (gv-define-simple-setter): Update doc of `fix-return'.
6666 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6668 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
6669 twice when `fix-return' is set (bug#12813).
6671 * emacs-lisp/cl.el (defsetf): Pass the third arg to
6672 gv-define-simple-setter (bug#12812).
6674 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
6677 2012-11-10 Glenn Morris <rgm@gnu.org>
6679 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
6681 * emacs-lisp/cl-extra.el (cl-prettyexpand):
6682 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
6683 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
6684 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
6686 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
6688 2012-11-10 Leo Liu <sdl.web@gmail.com>
6690 * ido.el (ido-set-matches-1): Improve flex matching performance by
6691 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
6693 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6695 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
6696 (ad--defalias-fset): New function.
6697 (ad-safe-fset): Remove.
6698 (ad-make-freeze-definition): Use cl-letf*.
6700 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6702 * subr.el (dolist): Don't bind VAR in RESULT.
6704 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
6705 (fset, documentation): Don't save real def since we don't advise.
6706 (ad-do-advised-functions): Remove problematic `result-form'.
6707 (ad-safe-fset): `ad-real-fset' => `fset'.
6708 (ad-read-advised-function): Don't assume that ad-do-advised-functions
6709 uses CL's dolist internally.
6710 (ad-arglist): Remove unused arg `name'.
6711 (ad-docstring, ad-make-advised-docstring):
6712 `ad-real-documentation' => `documentation'.
6713 (warning-suppress-types): Declare.
6714 (ad-set-arguments): Simple CSE.
6715 (ad-recover-normality): Sanity check.
6717 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
6718 (funcall '(lambda ..) ..) into ((lambda ..) ..).
6720 2012-11-09 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6722 * ses.el: symbol to coordinate mapping is made by symbol property
6723 `ses-cell'. This means that the same mapping is done for all SES
6724 sheets. That is good enough for cells with standard A1 names, but
6725 not for named cell. So a hash map is added for the latter.
6726 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
6727 (ses-sym-rowcol): Use hashmap for named cell.
6728 (ses-is-cell-sym-p): New defun.
6729 (ses-decode-cell-symbol): New defun.
6730 (ses-create-cell-variable): Add cell to hashmap when name is not
6732 (ses-rename-cell): Check that cell new name is not already in
6733 spreadsheet with the use of ses-is-cell-sym-p
6734 (ses-rename-cell): Use hash map for named cells, but accept also
6735 renaming back to A1-like.
6737 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6739 * emacs-lisp/advice.el: Use new dynamic docstrings.
6740 (ad-make-advised-definition-docstring, ad-advised-definition-p):
6741 Use dynamic-docstring-function instead of ad-advice-info.
6742 (ad--make-advised-docstring): New function extracted from
6743 ad-make-advised-docstring.
6744 (ad-make-advised-docstring): Use it.
6745 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
6747 (sql-help): Use it with dynamic-docstring-function.
6749 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
6751 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6753 * files.el (hack-one-local-variable--obsolete): New function.
6754 (hack-one-local-variable): Use it for obsolete settings.
6756 * subr.el (locate-user-emacs-file): If both old and new name exist, use
6759 * progmodes/js.el (js--filling-paragraph): New var.
6760 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
6761 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
6764 2012-11-08 Julien Danjou <julien@danjou.info>
6766 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
6767 `auto-mode-alist' (Bug#12835).
6769 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6771 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
6772 (perl--prettify-symbols-alist): New const.
6773 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
6775 (perl-font-lock-keywords-2): Use them.
6776 (perl-electric-noindent-p): New function.
6777 (perl-mode): Use it to set up electric-indent-mode.
6778 (perl-electric-terminator, perl-indent-command): Mark obsolete.
6779 (perl-mode-map): Remove bindings for them.
6780 (perl-imenu-generic-expression, perl-outline-level):
6781 Match functions&packages in column>0.
6783 * env.el (env--substitute-vars-regexp): New const.
6784 (substitute-env-vars): Use it. Add `only-defined' arg.
6785 * net/tramp.el (tramp-replace-environment-variables): Use it.
6787 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
6788 Byte-compile *before* eval in eval-and-compile.
6789 (byte-compile-log-warning): Remove redundant inhibit-read-only.
6790 (byte-compile-file-form-autoload): Don't hide actual definition.
6791 (byte-compile-maybe-guarded): Accept `functionp' as well.
6793 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
6795 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
6797 * notifications.el (notifications-get-server-information-method):
6799 (notifications-get-capabilities): Fix docstring.
6800 (notifications-get-server-information): New defun.
6802 2012-11-06 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
6804 * textmodes/ispell.el (ispell-region): Standard re-indent for better
6807 * textmodes/ispell.el: Experimental support for support debugging.
6808 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
6810 (ispell-print-if-debug): New function to print stuff to
6811 `ispell-debug-buffer' if debugging is enabled.
6812 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
6813 show some debugging info.
6814 (ispell-buffer-with-debug): New function that creates a debugging
6815 buffer and calls `ispell-buffer' with debugging enabled.
6817 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
6818 comment in autoconf mode. (Bug#12768)
6820 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
6822 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
6823 frame-first-window, frame-root-window, frame-selected-window,
6824 minibuffer-selected-window, minibuffer-window,
6825 window-absolute-pixel-edges, window-at, window-body-height,
6826 window-body-width, window-display-table, window-combination-limit,
6827 window-frame, window-fringes, window-inside-absolute-pixel-edges,
6828 window-inside-edges, window-inside-pixel-edges, window-left-child,
6829 window-left-column, window-margins, window-next-buffers,
6830 window-next-sibling, window-new-normal, window-new-total,
6831 window-normal-size, window-parameter, window-parameters, window-parent,
6832 window-pixel-edges, window-point, window-prev-buffers,
6833 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
6834 window-start, window-text-height, window-top-child, window-top-line,
6835 window-total-height, window-total-width and window-use-time to the list
6836 of functions without side-effects.
6837 (toplevel): Add window-valid-p to the list of error-free functions
6838 without side-effects.
6840 2012-11-05 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
6842 * textmodes/ispell.el (ispell-program-name):
6843 Update spellchecker parameters when customized.
6845 2012-11-04 Glenn Morris <rgm@gnu.org>
6847 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
6849 2012-11-04 Chong Yidong <cyd@gnu.org>
6851 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
6852 same-window-* variables.
6854 2012-11-04 Juri Linkov <juri@jurta.org>
6856 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
6857 (isearch-describe-key, isearch-describe-mode): Use a display
6858 action instead of binding same-window-* variables (Bug#10040).
6860 2012-11-03 Glenn Morris <rgm@gnu.org>
6862 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
6863 Rename handler properties back from cl-- to cl-. (Bug#12788)
6865 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
6867 2012-11-03 Eli Zaretskii <eliz@gnu.org>
6869 * term/pc-win.el: Don't load term/internal from here.
6871 * loadup.el: Load term/internal from here.
6873 2012-11-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6875 * progmodes/python.el (inferior-python-mode): Fix hang in
6876 jit-lock (Bug#12645).
6878 2012-11-03 Martin Rudalics <rudalics@gmx.at>
6880 * window.el (switch-to-visible-buffer)
6881 (switch-to-buffer-preserve-window-point): Fix doc-strings.
6883 2012-11-03 Glenn Morris <rgm@gnu.org>
6885 * emacs-lisp/cl-lib.el (cl--random-time):
6886 Rename from cl-random-time. (Bug#12773)
6887 (cl--gensym-counter, cl--random-state): Update callers.
6888 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
6890 2012-11-03 Chong Yidong <cyd@gnu.org>
6892 * cus-start.el: Make cursor-type customizable (Bug#11633).
6894 2012-11-02 Glenn Morris <rgm@gnu.org>
6896 * filecache.el: No need to load find-lisp when compiling.
6897 (find-lisp-find-files): Autoload it.
6898 (file-cache-add-directory-recursively): Don't require find-lisp.
6900 * image.el (image-type-from-file-name): Trivial simplification.
6902 * emacs-lisp/bytecomp.el (byte-compile-eval):
6903 Decouple "noruntime" and "cl-functions" warnings.
6905 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
6907 * play/gomoku.el (gomoku-display-statistics): Update mode line
6908 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
6910 2012-10-31 Martin Rudalics <rudalics@gmx.at>
6912 * window.el (quit-restore-window): If the window has been
6913 created on an existing frame and ended up as the sole window on
6914 that frame, do not delete it (Bug#12764).
6916 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
6918 * progmodes/sh-script.el (sh--inside-noncommand-expression):
6919 Rename from sh--inside-arithmetic-expression, handle more cases
6922 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
6923 (sh-font-lock-open-heredoc): Use it (bug#12770).
6925 2012-10-30 Glenn Morris <rgm@gnu.org>
6927 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
6929 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
6931 2012-10-29 Chong Yidong <cyd@gnu.org>
6933 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
6934 function key is stored in a keyboard macro (Bug#4894).
6936 * thingatpt.el (number-at-point): Apply a thing-at-point property.
6938 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6940 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
6942 (diff-unified->context, diff-context->unified)
6943 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
6945 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
6947 * files.el (find-alternate-file): Only ask one question (bug#12487).
6949 2012-10-29 Chong Yidong <cyd@gnu.org>
6951 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
6952 Suggested by Dan Nicolaescu (Bug#6326).
6954 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
6956 * startup.el (fancy-about-screen): Don't message (Bug#12680).
6958 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
6960 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
6962 * face-remap.el (face-remap-add-relative): Handle the case where a
6963 face-remapping-alist entry is a cons cell (Bug#12762).
6965 2012-10-29 Kevin Ryde <user42@zip.com.au>
6967 * woman.el (woman-parse-numeric-value): Handle picas correctly
6970 2012-10-29 Glenn Morris <rgm@gnu.org>
6972 * emacs-lisp/cl.el (defsetf): Doc fix.
6974 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6976 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
6977 syntax to the matching opener, if any (bug#12547).
6978 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
6979 matching open as a "case-(".
6980 (sh-smie-rc-grammar): Add a corresponding rule for it.
6982 2012-10-28 Daniel Hackney <dan@haxney.org>
6984 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
6985 "PKGNAME-autoloads.el" in case we created it.
6987 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6989 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
6990 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
6991 (completion--twq-all): Disable too-strict assertions.
6993 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
6995 2012-10-27 Eli Zaretskii <eliz@gnu.org>
6997 * profiler.el (profiler-report-make-entry-part): Fix help-echo
6998 text to match the real keybindings.
7000 2012-10-27 Juri Linkov <juri@jurta.org>
7002 * wdired.el (wdired-keep-marker-rename): New defcustom.
7003 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
7006 * dired.el (dired-keep-marker-rename): Add reference to
7007 `wdired-keep-marker-rename' in the docstring.
7008 Add default character value ?R to display initially in
7009 Customization UI instead of ?@.
7011 2012-10-27 Martin Rudalics <rudalics@gmx.at>
7013 * window.el (display-buffer): In doc-string describe
7014 window-height and window-width alist entries.
7016 * time.el (display-time-world): Restore fit-window-to-buffer
7019 2012-10-27 Chong Yidong <cyd@gnu.org>
7021 * subr.el (insert-buffer-substring-as-yank): Doc fix.
7023 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
7025 * minibuffer.el (completion-category-overrides): New completion
7026 category `bookmark' (bug#11131).
7028 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7030 * emacs-lisp/advice.el (ad-assemble-advised-definition):
7031 Silence bogus compiler warnings for ad-do-it.
7033 * bookmark.el (bookmark-completing-read): Set the completion category
7034 to `bookmark' (bug#11131).
7036 2012-10-26 Bastien <bzg@altern.org>
7037 Stefan Monnier <monnier@iro.umontreal.ca>
7039 * face-remap.el: Use lexical-binding.
7040 (text-scale-adjust): Improve docstring. Use itself for the temporary
7041 overlay-map bindings, so as to repeat the "Use..." message each time.
7043 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7045 * emacs-lisp/macroexp.el (macroexp--expand-all):
7046 Obey byte-compile-warning-enabled-p (bug#12486).
7048 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
7049 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
7051 2012-10-26 Martin Rudalics <rudalics@gmx.at>
7053 * mouse.el (mouse-drag-line): Move last form into preceding when
7056 * help.el (resize-temp-buffer-window): Fix doc-string.
7058 2012-10-25 David Engster <deng@randomsample.de>
7060 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
7061 Remove. This feature is already integrated in imenu.
7063 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
7064 always loaded. Require `speedbar' unconditionally.
7066 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7068 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
7070 * minibuffer.el (minibuffer-force-complete): Fix thinko.
7072 * net/ldap.el (ldap-search-internal): The official ldif format starts
7073 with a "version: 1" header (bug#12724).
7075 * emacs-lisp/package.el (package-installed-p): Warn if not ready
7078 2012-10-25 Glenn Morris <rgm@gnu.org>
7080 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
7082 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7084 * minibuffer.el (minibuffer-force-complete): Use one more marker
7085 for the temporary-overlay-map command (bug#12619).
7087 2012-10-24 Chong Yidong <cyd@gnu.org>
7089 * time.el (display-time-world-mode): Derive from special-mode.
7090 (display-time-world): Use display-buffer (Bug#12708).
7091 (display-time-world-mode-map): Variable deleted.
7092 (display-time-world-display): Wrap the final delete-char inside
7095 2012-10-24 Chong Yidong <cyd@gnu.org>
7097 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
7100 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
7102 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7104 * minibuffer.el (completion--all-sorted-completions-location): New var.
7105 (completion--cache-all-sorted-completions)
7106 (completion--flush-all-sorted-completions): Use it.
7107 (completion-in-region, completion-in-region--postch)
7108 (completion-at-point, completion-help-at-point): Use markers in
7109 completion-in-region--data (bug#12619).
7111 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7113 * progmodes/compile.el (compilation-start): Try to handle common
7114 quoting of `cd' argument (bug#12640).
7116 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
7119 2012-10-23 Glenn Morris <rgm@gnu.org>
7121 * progmodes/gud.el (gud-menu-map):
7122 Check gdb-active-process is bound. (Bug#12358)
7124 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7126 * repeat.el (repeat): Set real-this-command (bug#12232).
7128 * htmlfontify.el (hfy-post-html-hook):
7129 * filesets.el (filesets-cache-fill-content-hook):
7130 * arc-mode.el (archive-extract-hook):
7131 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
7132 * net/rcirc.el (rcirc-sentinel-functions)
7133 (rcirc-receive-message-functions, rcirc-activity-functions)
7134 (rcirc-print-functions):
7135 * net/dbus.el (dbus-event-error-functions):
7136 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
7137 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
7138 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
7139 * term/sun.el (sun-raw-prefix-hooks):
7140 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
7142 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
7144 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7145 Set `tramp-chunksize' to 1. This improves the performance.
7146 (tramp-smb-wait-for-output): Add timeout to
7147 `tramp-accept-process-output' calls.
7149 2012-10-23 Chong Yidong <cyd@gnu.org>
7151 * faces.el (font-list-limit): Define as an obsolete variable.
7153 * startup.el (command-line):
7154 * cus-start.el: Don't refer to font-list-limit.
7156 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
7158 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7160 * subr.el (internal-temp-output-buffer-show): Rename from
7161 temp-output-buffer-show, since previously compiled files expect this name.
7163 2012-10-23 Glenn Morris <rgm@gnu.org>
7165 * image.el (image-type-from-file-name): If multiple types match,
7166 return the first one that is supported. (Bug#9045)
7168 2012-10-22 Glenn Morris <rgm@gnu.org>
7170 * image.el (imagemagick-enabled-types): Doc fix.
7172 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
7174 * progmodes/which-func.el (which-func-current): The hash-table may have
7175 an explicit nil (bug#12338).
7177 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7179 * electric.el (electric-pair-delete-selection-self-insert-function):
7180 Rename to electric-pair-will-use-region, return a boolean.
7181 (electric-pair-mode): Adjust accordingly. Don't require delsel.
7183 * delsel.el (delete-selection-helper): Use a function instead of a hook.
7184 (delete-selection-pre-hook): Use use-region-p.
7185 (delete-selection-self-insert-function): Remove.
7186 (self-insert-command): Obey self-insert-uses-region-functions.
7187 (self-insert-iso): Revert to previous setting, since we don't actually
7188 know what that command does.
7189 (delete-selection-self-insert-hooks): Remove.
7191 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
7193 * delsel.el (delete-selection-helper): New function, extracted from
7194 delete-selection-pre-hook.
7195 (delete-selection-pre-hook): Use it.
7196 (delete-selection-self-insert-function): New function.
7197 (delete-selection-self-insert-hooks): New hook.
7198 (self-insert-command, self-insert-iso): Use it.
7199 * electric.el (electric-pair-syntax): New function, extracted from
7200 electric-pair-post-self-insert-function.
7201 (electric-pair-post-self-insert-function): Use it.
7202 (electric-pair-delete-selection-self-insert-function): New function.
7203 (electric-pair-mode): Require delsel and setup
7204 delete-selection-self-insert-hooks (bug#11520).
7206 2012-10-20 Chong Yidong <cyd@gnu.org>
7208 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
7209 no changes to show (Bug#12586).
7211 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
7212 list explicitly (Bug#12571).
7214 2012-10-20 Arne Jørgensen <arne@arnested.dk>
7216 * progmodes/flymake.el (flymake-create-temp-inplace):
7219 2012-10-20 Eli Zaretskii <eliz@gnu.org>
7221 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
7223 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
7225 * calc/calc-units.el (math-extract-units): Properly extract powers
7228 2012-10-20 Daniel Colascione <dancol@dancol.org>
7230 * frame.el (make-frame): Set x-display-name as we used to in order
7231 to unbreak creating an X11 frame from an Emacs daemon started
7234 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7236 * minibuffer.el (minibuffer-force-complete): Make the next completion use
7237 the same completion-field (bug#12221).
7239 2012-10-19 Martin Rudalics <rudalics@gmx.at>
7241 * emacs-lisp/debug.el (debug): Record height of debugger window
7242 also when debugger will be back (Bug#8789).
7244 2012-10-18 Chong Yidong <cyd@gnu.org>
7246 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7247 Convert to defcustom.
7248 (gdb-get-source-file): Don't bind pop-up-windows.
7250 * progmodes/gud.el (gud-display-line): Don't specially re-use
7251 other frames for the gdb-mi case (Bug#12648).
7253 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7255 * emacs-lisp/advice.el: Clean up commentary a bit.
7256 (ad-do-advised-functions, ad-with-originals): Use `declare'.
7257 (byte-code-function-p): Never redefine.
7259 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
7261 2012-10-18 Glenn Morris <rgm@gnu.org>
7263 * dired.el (dired-sort-toggle): Some ls implementations only allow
7264 a single option string. (Bug#12666)
7266 * minibuffer.el (completion-cycle-threshold): Doc fix.
7268 2012-10-17 Kenichi Handa <handa@gnu.org>
7270 * international/mule.el (set-keyboard-coding-system):
7271 Recover input meta mode when the new coding system doesn not use 8-bit.
7272 Supply TERMINAL arg to set-input-meta-mode.
7274 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7276 * wdired.el (wdired-old-marks): New variable.
7277 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
7278 (wdired-do-renames): Move point with renamed file and don't lose
7279 mark status (Bug#11795).
7281 2012-10-16 Juri Linkov <juri@jurta.org>
7283 * replace.el (query-replace-help): Mention multi-buffer replacement
7284 keys in the Help message. (Bug#12655)
7286 2012-10-15 Chong Yidong <cyd@gnu.org>
7288 * emacs-lisp/byte-run.el (defsubst): Doc fix.
7290 2012-10-14 Eli Zaretskii <eliz@gnu.org>
7292 * window.el (display-buffer): Doc fix.
7294 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7295 Adjust the msft regexp to the output of Studio 2010, and move msft
7296 before edg-1. See the discussion on emacs-devel,
7297 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
7300 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7302 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
7303 (oset): Move uses of object-class-fast macro after its definition.
7305 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
7307 2012-10-13 Chong Yidong <cyd@gnu.org>
7309 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
7310 enabled, re-enable it (Bug#11963).
7312 2012-10-13 Martin Rudalics <rudalics@gmx.at>
7314 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
7315 non-nil, restore window configuration (Bug#12623).
7317 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7319 * help-fns.el (describe-variable, describe-function-1):
7320 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
7322 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
7324 2012-10-12 Glenn Morris <rgm@gnu.org>
7326 * mail/rmailsum.el (rmail-header-summary):
7327 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
7329 2012-10-12 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7331 * progmodes/python.el (python-mode-map):
7332 Replace subtitute-key-definition with proper command remapping.
7333 (python-nav--up-list): Fix behavior for blocks on the same level.
7335 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7337 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
7339 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
7340 changes to the format of load-history.
7342 * international/mule-cmds.el (read-char-by-name): Move let-binding of
7343 completion-ignore-case in case that var is buffer-local (bug#12615).
7345 2012-10-11 Kenichi Handa <handa@gnu.org>
7347 * international/eucjp-ms.el: Re-generated.
7349 2012-10-10 Kenichi Handa <handa@gnu.org>
7351 * select.el (xselect--encode-string): If a coding is specified for
7352 selection, and that is compatible with COMPOUND_TEXT, use it.
7354 2012-10-10 Martin Rudalics <rudalics@gmx.at>
7356 * window.el (switch-to-buffer-preserve-window-point): New option.
7358 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
7360 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7362 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
7363 Don't document nil as a useful value (bug#12583).
7365 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
7367 * net/tramp.el (tramp-debug-message):
7368 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
7369 (with-tramp-progress-reporter): Rename from
7370 `tramp-with-progress-reporter'.
7371 (with-tramp-file-property, with-tramp-connection-property):
7372 Move from tramp-cache.el, rename from `with-file-property' and
7373 `with-connection-property', respectively.
7375 * net/tramp-cache.el: Remove `with-file-property' and
7376 `with-connection-property'.
7379 * net/tramp-gvfs.el:
7381 * net/tramp-smb.el: Adapt callees.
7383 * net/trampver.el: Update release number.
7385 2012-10-09 Glenn Morris <rgm@gnu.org>
7387 * w32-fns.el (set-message-beep):
7388 * term/w32-win.el (set-message-beep): Update declarations.
7390 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7392 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
7393 (mode-line-widen, mode-line-input-method-map)
7394 (mode-line-coding-system-map, mode-line-remote)
7395 (mode-line-unbury-buffer, mode-line-bury-buffer)
7396 (mode-line-next-buffer, mode-line-previous-buffer):
7397 Replace save-selected-window+select-window => with-selected-window.
7399 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
7400 * progmodes/cc-vars.el (bq-process): Remove, unused.
7402 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
7404 2012-10-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7406 Implemented `backward-up-list'-like navigation.
7407 * progmodes/python.el (python-nav-up-list)
7408 (python-nav-backward-up-list): New functions.
7409 (python-mode-map): Define substitute key for backward-up-list to
7410 python-nav-backward-up-list.
7412 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7414 * progmodes/python.el (python-fill-paragraph): Rename from
7415 python-fill-paragraph-function. Fixed fill-paragraph for
7416 decorators (Bug#12605).
7418 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7420 * progmodes/python.el (python-shell-output-filter): Handle extra
7421 carriage return in OSX (Bug#12409).
7423 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7425 Fix shell handling of unbalanced quotes and parens in output.
7426 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
7427 (python-syntax-propertize-function): Use it.
7428 (python-shell-output-syntax-table): New var.
7429 (inferior-python-mode): Prevent unbalanced parens/quotes from
7430 previous output mess with current input context.
7432 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
7434 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
7435 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
7437 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
7439 * ffap.el (ffap-replace-file-component): Support Tramp file name
7440 syntax, not only ange-ftp's one.
7442 2012-10-08 Glenn Morris <rgm@gnu.org>
7444 * cus-start.el (message-log-max): Set :version.
7446 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
7448 2012-10-08 Martin Rudalics <rudalics@gmx.at>
7450 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
7451 the minibuffer window (Bug#10851).
7453 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7455 Enhancements on forward-sexp movement.
7456 * progmodes/python.el (python-nav-beginning-of-statement)
7457 (python-nav-end-of-statement): Return point-marker.
7458 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
7459 (python-info-current-symbol)
7460 (python-info-statement-starts-block-p): Rename from
7461 python-info-beginning-of-block-p.
7462 (python-info-statement-ends-block-p): Rename from
7463 python-info-end-of-block-p.
7464 (python-info-beginning-of-statement-p)
7465 (python-info-end-of-statement-p)
7466 (python-info-beginning-of-block-p, python-info-end-of-block-p):
7469 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7471 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
7472 frame-selected-windows.
7474 2012-10-08 Daniel Colascione <dancol@dancol.org>
7476 * battery.el (battery-status-function): Check for
7477 w32-battery-status itself, not system-time windows-nt.
7479 * frame.el: Require cl-lib.
7480 (display-format-alist): New variable mapping frame types to
7481 functions that initialize them.
7482 (window-system-for-display): New function: interprets
7483 display-format-alist.
7484 (make-frame-on-display): Remove existing display-selection logic
7485 and just forward to make-frame, which will now DTRT.
7486 (make-frame): Restructure to use window-system-for-display to
7487 figure out how to create a frame on a given display.
7488 (display-mouse-p): Look for frame-type w32, not a particular
7491 * loadup.el: Load w32 lisp code when we have the w32 feature.
7493 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
7494 system-type windows-nt.
7496 * server.el (server-create-window-system-frame): Look for window
7498 (server-proces-filter): Only force a window system when windows-nt
7499 _and_ w32. Explain why.
7501 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
7502 of window systems we configure for the mode.
7504 * startup.el (command-line): Mark window system is initialized
7505 after we've done it.
7507 * common-win.el (x-select-text): Look for w32, not windows-nt.
7509 * ns-win.el: Require cl-lib. Add ourselves to
7510 display-format-alist.
7511 (ns-initialize-window-system): Assert we're not initialized twice.
7513 * w32-win.el: Enable lexical binding; require cl-lib; add
7514 ourselves to display-format-alist.
7515 (w32-handle-dropped-file): Convert incoming dropped files from
7516 Windows paths to Cygwin ones before passing them on to the rest of
7518 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
7519 (w32-initialize-window-system): Assert we're not initialized twice.
7521 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
7522 (x-initialize-window-system): Assert we're not initialized twice.
7524 * w32-common-fns.el: New File.
7525 (w32-version, w32-using-nt, w32-get-clipboard-data)
7526 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7527 (w32-charset-info-alist, x-last-selected, text)
7528 (x-get-selection-value, x-selection-value): Move here.
7530 * w32-fns.el: Require w32-common-fns.
7531 (w32-version, w32-using-nt, w32-get-clipboard-data)
7532 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7533 (w32-charset-info-alist, x-last-selected, text)
7534 (x-get-selection-value, x-selection-value): Move to
7538 (w32-allow-system-shell, w32-system-shells): Define only in
7541 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7543 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
7544 (read-passwd): Remove a few more potential sources of leaks.
7546 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7548 * progmodes/python.el (inferior-python-mode)
7549 (python-shell-make-comint): Fix initialization of local
7550 variables copied from parent buffer.
7552 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
7554 * term/ns-win.el (ns-read-file-name): Update declaration to match
7556 (ns-respond-to-change-font): Change fontsize separately so we are sure
7557 it is set when font is acted upon.
7559 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7561 Enhancements to indentation.
7562 * progmodes/python.el (python-indent-context): Give priority to
7563 inside-string context. Make comments indentation markers.
7564 (python-indent-region): Do not mess with strings, unless it's the
7565 enclosing set of quotes.
7567 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7569 * window.el (internal--before-save-selected-window)
7570 (internal--after-save-selected-window): New functions extracted from
7571 save-selected-window. Make sure we return the `alist' we construct.
7572 (save-selected-window): Use them.
7574 * textmodes/tex-mode.el (tex-recenter-output-buffer):
7575 Use with-selected-window.
7577 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
7578 forms that define macros (bug#12593).
7580 2012-10-07 Kenichi Handa <handa@gnu.org>
7582 * international/mule-conf.el (compound-text-with-extensions):
7583 Add :mime-charset property as x-ctext.
7585 2012-10-07 Stefan Merten <smerten@oekonux.de>
7587 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7588 (rst-indent-literal-normal, rst-indent-literal-minimized)
7589 (rst-indent-comment): Correct :version tag.
7590 (rst-official-cvs-rev): Correct version string.
7592 2012-10-07 Glenn Morris <rgm@gnu.org>
7594 * mail/rmailmm.el (rmail-mime-process-multipart):
7595 Do not confuse a multipart message with an epilogue
7596 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
7598 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7600 Fix shell output retrieval and comint-prompt-regexp init.
7601 * progmodes/python.el (inferior-python-mode):
7602 (python-shell-make-comint): Fix initialization of
7603 comint-prompt-regexp from copied file local variables.
7604 (python-shell-fetched-lines): Remove var.
7605 (python-shell-output-filter-in-progress): Rename from
7606 python-shell-fetch-lines-in-progress.
7607 (python-shell-output-filter-buffer): Rename from
7608 python-shell-fetch-lines-string.
7609 (python-shell-fetch-lines-filter): Delete function.
7610 (python-shell-output-filter): New function.
7611 (python-shell-send-string-no-output): Use them.
7613 2012-10-07 Glenn Morris <rgm@gnu.org>
7615 * hi-lock.el (hi-lock-process-phrase):
7616 Try to make it less fragile. (Bug#7161)
7618 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
7620 2012-10-06 Glenn Morris <rgm@gnu.org>
7622 * ehelp.el (electric-help-mode): Use help-mode rather than
7623 non-existent mode `help'.
7624 (electric-help-map): Use button-buffer-map. (Bug#10917)
7626 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
7627 (reftex-create-bibtex-footer): Fix custom types.
7629 * progmodes/sh-script.el (sh-indent-after-continuation):
7630 Add explicit :group.
7632 * textmodes/rst.el (rst-preferred-decorations)
7633 (rst-shift-basic-offset): Clarify obsolescence versions.
7635 * profiler.el (profiler): Add missing group :version tag.
7636 * avoid.el (mouse-avoidance-banish-position):
7637 * proced.el (proced-renice-command):
7638 * calc/calc.el (calc-ensure-consistent-units):
7639 * calendar/icalendar.el (icalendar-import-format-uid):
7640 * net/tramp.el (tramp-save-ad-hoc-proxies):
7641 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7642 * progmodes/flymake.el (flymake-error-bitmap)
7643 (flymake-warning-bitmap, flymake-fringe-indicator-position):
7644 * progmodes/sh-script.el (sh-indent-after-continuation):
7645 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
7646 (verilog-before-save-font-hook, verilog-after-save-font-hook):
7647 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
7648 (vhdl-array-index-record-field-in-sensitivity-list)
7649 (vhdl-indent-comment-like-next-code-line):
7650 * textmodes/reftex-vars.el (reftex-ref-style-alist)
7651 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
7652 (reftex-cite-key-separator, reftex-create-bibtex-header)
7653 (reftex-create-bibtex-footer):
7654 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7655 (rst-indent-literal-normal, rst-indent-literal-minimized)
7656 (rst-indent-comment): Add missing custom :version tags.
7658 * calendar/timeclock.el (timeclock-modeline-display):
7659 Add missing obsolete alias for renamed user option.
7661 * strokes.el (strokes-modeline-string):
7662 * emulation/crisp.el (crisp-mode-modeline-string):
7663 * eshell/esh-mode.el (eshell-status-in-modeline):
7664 Aliases to defcustoms must come before the defcustom.
7666 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
7667 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7668 (cal-tex-cursor-week-monday): Doc fixes.
7669 (cal-tex-cursor-week2-summary): Doc fix.
7670 Rename from cal-tex-cursor-week-at-a-glance.
7672 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
7673 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
7675 * calendar/calendar.el (calendar-mode-map):
7676 Add cal-tex-cursor-week2-summary.
7678 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
7680 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
7682 * subr.el (read-passwd-map): New var.
7683 (read-passwd): Use `read-string' again.
7684 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
7686 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
7688 * register.el (append-to-register, prepend-to-register):
7689 Deactivate mark, as does `copy-to-register' (bug#12389).
7691 2012-10-06 Chong Yidong <cyd@gnu.org>
7693 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
7695 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
7697 * international/characters.el: Fix simple mistake ((car chars) ->
7698 elt), delete duplicated code.
7700 2012-10-06 Glenn Morris <rgm@gnu.org>
7702 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
7704 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
7706 * color.el (color-hsl-to-rgb): Fix incorrect results for
7707 small and large hue values. (Bug#12559)
7709 2012-10-05 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7711 Enhancements to docstring formatting when filling paragraphs.
7712 * progmodes/python.el (python-fill-docstring-style): Rename from
7713 python-fill-string-style. Added new style.
7714 (python-fill-string): Use new style. Better checks for
7717 2012-10-05 Glenn Morris <rgm@gnu.org>
7719 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
7721 * color.el (color-name-to-rgb, color-rgb-to-hex)
7722 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
7723 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
7724 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7725 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
7727 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
7729 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
7731 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
7732 to get the correct size across symlinks.
7734 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
7736 2012-10-04 Juri Linkov <juri@jurta.org>
7738 * replace.el (query-replace-interactive): Declare obsolete.
7739 (query-replace-read-from): Add the last incremental search string
7740 to the list of default values accessible via M-n.
7741 (map-query-replace-regexp): Use `read-regexp'.
7742 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7743 (map-query-replace-regexp, replace-string, replace-regexp):
7744 Fix docstrings to replace mentions of `query-replace-interactive'
7745 with alternatives. (Bug#12526)
7747 2012-10-04 Juri Linkov <juri@jurta.org>
7749 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
7750 (dired-pop-to-buffer): Declare obsolete.
7751 (dired-mark-pop-up): Doc fix.
7753 2012-10-04 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7755 Allow user to set docstring style for fill-paragraph.
7756 * progmodes/python.el
7757 (python-fill-comment-function, python-fill-string-function)
7758 (python-fill-decorator-function, python-fill-paren-function):
7759 Remove :safe for defcustoms.
7760 (python-fill-string-style): New defcustom
7761 (python-fill-paragraph-function): Enhance context detection.
7762 (python-fill-string): Honor python-fill-string-style settings.
7764 2012-10-04 Martin Rudalics <rudalics@gmx.at>
7766 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
7767 after setting its buffer (Bug#10805).
7769 2012-10-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7771 Fix cornercase for string syntax.
7772 * progmodes/python.el (python-syntax-propertize-function):
7773 Simplify and enhance the regexp for unescaped quotes. Now it also
7774 matches quotes in weird situations like the single quote in
7776 (python-syntax-stringify): Simplify num-quotes detecting code.
7778 2012-10-03 Glenn Morris <rgm@gnu.org>
7780 * help-macro.el (three-step-help):
7781 Revert 2012-09-29 change. (Bug#12567)
7783 2012-10-03 Martin Rudalics <rudalics@gmx.at>
7785 * menu-bar.el (kill-this-buffer): Don't do anything when
7786 `menu-frame' is not alive or visible (Bug#8184).
7788 * emacs-lisp/debug.el (debug): When quitting the debugger window
7789 restore current buffer (Bug#12502).
7791 2012-10-02 Chong Yidong <cyd@gnu.org>
7793 * progmodes/hideif.el (hif-lookup, hif-defined):
7794 Handle semantic-c-takeover-hideif.
7796 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
7798 Change sampling interval units from ms to ns.
7799 * profiler.el (profiler-sampling-interval): Change units
7800 from ms to ns, multiplying the default by 1000000 so that
7802 (profiler-report-cpu-line-format): Give enough room for
7803 the maximum counters on 64-bit hosts.
7804 (profiler-report-render-calltree-1): Call them "CPU samples",
7805 not "Time (ms)", since they are not milliseconds now (and
7808 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7810 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
7811 Fix querying BBDB for entries without a last name (Bug#11580).
7813 2012-10-02 Chong Yidong <cyd@gnu.org>
7815 * emacs-lisp/eieio.el: Restore Version header.
7817 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7819 * vc/diff-mode.el (diff--auto-refine-data): New var.
7820 (diff-hunk): Use it to delay refinement.
7821 (diff-mode): Remove overlays when we turn off font-lock.
7823 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
7824 (table-initialize-table-fixed-width-mode)
7825 (table-set-table-fixed-width-mode): Remove functions.
7826 (table-command-list): Move initialization into declaration.
7827 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
7828 (table-with-cache-buffer): Use `declare'.
7829 (table-span-cell): Simplify via CSE.
7830 (table-fixed-width-mode): Use define-minor-mode.
7831 (table-call-interactively, table-funcall, table-apply): Remove.
7832 (table-function): New function, to replace them.
7834 * bookmark.el (bookmark-search-pattern): Remove var.
7835 (bookmark-read-search-input): Remove function.
7836 (bookmark-bmenu-search): Reimplement using a minibuffer.
7838 * faces.el (modeline): Remove obsolete face name.
7840 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
7841 and give a non-nil default value.
7842 (add-change-log-entry): Simplify accordingly.
7844 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
7846 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
7847 (vc-git-log-edit-toggle-amend): New function.
7848 (vc-git-log-edit-toggle-signoff): New function.
7849 (vc-git-log-edit-mode): New major mode.
7850 (vc-git-log-edit-mode-map): Keymap for it.
7851 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
7853 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
7855 (log-edit-toggle-header): New function.
7856 (log-edit-extract-headers): Accept function values in HEADERS alist.
7858 2012-10-01 David Engster <deng@randomsample.de>
7860 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
7861 from symbol property and change message to be more consistent with
7863 (eieio-describe-generic): Add filename for each implementation.
7864 Fix indices for generic and normal methods.
7865 (eieio-method-def, eieio-class-def): New buttons.
7866 (eieio-help-find-method-definition)
7867 (eieio-help-find-class-definition): New functions.
7868 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
7869 class, constructor and method definitions.
7871 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
7872 information in symbol property.
7873 (scoped-class): Remove.
7874 (eieio-slot-name-index, call-next-method): Check if it is bound.
7876 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
7878 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
7879 (eieio-custom-mode): New major mode.
7880 (eieio-customize-object): Use it.
7882 2012-10-01 Eric Ludlam <zappo@gnu.org>
7884 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
7885 specifying the expected class, and whether subclassing is allowed.
7886 (eieio-persistent-convert-list-to-object):
7887 (eieio-persistent-validate/fix-slot-value)
7888 (eieio-persistent-slot-type-is-class-p): New functions.
7889 (eieio-named::slot-missing): Doc fix.
7891 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
7892 Stop using unused publd variable.
7894 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7895 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
7896 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
7897 (eieio-speedbar-handle-click): Do not specify a class for the
7898 method. Fixes method invocation order problems with EDE.
7900 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7902 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
7903 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
7905 2012-10-01 Karl Fogel <kfogel@red-bean.com>
7907 * bookmark.el (bookmark-version-control): Give tags in the
7908 :type choices (Bug#12309), and improve doc string.
7909 (bookmark-write-file): Bind `print-circle' to `t' to allow
7910 circular custom bookmark types. (Bug#12503)
7912 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
7914 Revert the FOLLOW-SYMLINKS change for file-attributes.
7915 * files.el (remote-file-name-inhibit-cache, after-find-file):
7916 * time.el (display-time-file-nonempty-p): Undo last change.
7918 * profiler.el (profiler-sampling-interval): Change default back to 1.
7919 See Stefan Monnier in
7920 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
7922 2012-10-01 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7924 Shell output catching a la gud-gdb.
7925 * progmodes/python.el (python-shell-fetch-lines-in-progress)
7926 (python-shell-fetch-lines-string, python-shell-fetched-lines):
7928 (python-shell-fetch-lines-filter): New function.
7929 (python-shell-send-string-no-output): Use them.
7931 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
7933 * profiler.el (profiler-sampling-interval): Rename from
7934 profiler-sample-interval.
7935 (profiler-sampling-interval): Default to 10.
7936 (profiler-find-profile): New command (was profiler-find-log).
7937 (profiler-find-profile-other-window): New command.
7938 (profiler-find-profile-other-frame): New command.
7939 (profiler-profile): Introduce API-level data structure.
7941 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
7943 file-attributes has a new optional arg FOLLOW-SYMLINKS.
7944 * files.el (remote-file-name-inhibit-cache):
7945 * time.el (display-time-file-nonempty-p): Use it.
7946 * files.el (after-find-file): Don't chase links before calling
7947 file-exists-p, as file-exists-p already does the right thing.
7949 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
7951 Merge from standalone RefTeX repository.
7953 The following ChangeLog entries are shortened versions of the
7954 original ones with file paths adapted. A not so strongly edited
7955 version of the original ChangeLog can be found in the commit log.
7957 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
7958 (reftex-arg-cite): Use `reftex-cite-key-separator'.
7959 Correctly handle new value type returned by `reftex-citation'.
7961 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
7962 that entries with whitespace at various places are found.
7963 Doc fix. Include entries that are cross-referenced from cited entries.
7964 Include @String definitions in the resulting bib file. Add header
7965 and footer defined in `reftex-create-bibtex-header' and
7966 `reftex-create-bibtex-footer'.
7967 (reftex-do-citation): Make it possible again to insert
7968 non-existent entries. Save match data when asking for optional
7969 arguments. Return all keys, not just the first one.
7970 (reftex-all-used-citation-keys): Fix regexp to correctly extract
7971 all citations in the same line.
7972 (reftex-parse-bibtex-entry): Accept additional optional argument
7973 `raw' and keep quotes or braces if it is non-nil. Match fields
7974 containing hyphens besides word constituents.
7975 (reftex-get-string-refs): New function.
7976 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
7977 and ask if it should be reread in case it did.
7978 (reftex-pop-to-bibtex-entry)
7979 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
7980 entries with spaces or tabs in front of arguments.
7981 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7982 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
7983 Match entries containing numbers and symbol constituents.
7984 (reftex-do-citation, reftex-figure-out-cite-format):
7985 Use `reftex-cite-key-separator'.
7987 * textmodes/reftex-dcr.el: Move provide statement to end of file.
7988 (reftex-mouse-view-crossref): Explain why point is set.
7990 * textmodes/reftex-global.el: Whitespace changes.
7992 * textmodes/reftex-index.el: Move provide statement to end of
7994 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
7995 (reftex-index-visit-phrases-buffer): Set marker when visiting
7996 buffer. This allows for returning from the phrases file to the
7997 file one was just editing instead of the file where the last
7998 phrases was added from.
7999 (reftex-index-phrases-syntax-table): New variable. Give ?\"
8000 punctuation syntax as it usually is not used as string quote in
8001 TeX-related modes and may occur unmatched. The change also
8002 prevents fontification of quoted content.
8003 (reftex-index-phrases-mode): Use it.
8005 * textmodes/reftex-parse.el (reftex-parse-from-file):
8006 Move backward one char if a `\' was matched after a section macro.
8007 (reftex-parse-from-file): Use beginning of match instead of end as
8010 * textmodes/reftex-ref.el: Adapt creation of
8011 `reftex-<package>-<macro>' functions to new structure of
8012 `reftex-ref-style-alist'.
8013 (reftex-reference): Use `reftex-ref-style-list' function.
8014 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
8015 reference macro if `reftex-ref-macro-prompt' is non-nil.
8016 (reftex-reference): Pass refstyle to `reftex-format-special'.
8017 Determine reference macro by looking at
8018 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
8019 Use only one special format function.
8020 (reftex-varioref-vref, reftex-fancyref-fref)
8021 (reftex-fancyref-Fref): Remove definitions. The functions are now
8022 generated from `reftex-ref-style-alist'.
8023 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
8025 (reftex-format-special): New function.
8027 * textmodes/reftex-sel.el
8028 (reftex-select-cycle-ref-style-internal): Adapt to new structure
8029 of `reftex-ref-style-alist'. Remove code for testing macro type.
8030 (reftex-select-toggle-varioref)
8031 (reftex-select-toggle-fancyref): Remove.
8032 (reftex-select-cycle-ref-style-internal)
8033 (reftex-select-cycle-ref-style-forward)
8034 (reftex-select-cycle-ref-style-backward): New functions.
8035 (reftex-select-label-map): Use `v' and `V' for general cycling
8036 through reference styles. Add `p' for switching between number
8037 and page reference types.
8039 * textmodes/reftex-toc.el (reftex-re-enlarge):
8040 Call `enlarge-window' only if there is something to do because in Emacs
8041 the horizontal version throws an error even if the parameter is 0.
8043 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
8044 (reftex-plug-into-AUCTeX): Doc fix.
8045 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
8046 string. Adapt to new name.
8047 (reftex-ref-style-alist): Change structure so that it is not
8048 possible to use multiple different package names within a style.
8049 Remove the symbols for symbols for macro type distinction.
8050 Add characters for macro selection.
8051 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
8052 (reftex-create-bibtex-footer): New variables.
8053 (reftex-format-ref-function): Mention third argument of special
8055 (reftex-ref-style-alist, reftex-ref-style-default-list):
8057 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
8058 to new implementation. Mark as obsolete. Add compatibility code
8059 for honoring the variable values in case they are set.
8060 (reftex-cite-format-builtin, reftex-bibliography-commands):
8061 Add support for ConTeXt.
8062 (reftex-format-ref-function, reftex-format-cite-function):
8064 (reftex-cite-key-separator): New variable.
8066 * textmodes/reftex.el (reftex-syntax-table-for-bib)
8067 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
8068 `reftex-syntax-table' because parens have to retain their paren
8069 syntax in order for parsing of BibTeX entries like @book(...) to
8071 (reftex-in-comment): Do not error out if `comment-start-skip' is
8072 not set. Deal correctly with escaped comment characters.
8073 (reftex-tie-multifile-symbols): Add doc string.
8074 Initialize `reftex-ref-style-list'.
8075 (reftex-untie-multifile-symbols): Add doc string.
8076 (reftex-add-index-macros): Doc fix.
8077 (reftex-ref-style-activate, reftex-ref-style-toggle)
8078 (reftex-ref-style-list): New functions.
8079 (reftex-mode-menu): Use them. Adapt to new structure of
8080 `reftex-ref-style-alist'.
8081 (reftex-select-with-char): Kill the RefTeX Select buffer when
8083 (reftex-remove-if): New function.
8084 (reftex-erase-all-selection-and-index-buffers)
8085 (reftex-mode-menu): Reference styles are now computed from
8086 `reftex-ref-style-alist'. Fix typo.
8087 (reftex-report-bug): New function.
8088 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
8089 algorithms with O(n log n). Introduce optional argument SORT (not
8092 2012-09-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8094 Enhancements for triple-quote string syntax.
8095 * progmodes/python.el (python-syntax-propertize-function):
8096 Match both quote cases in one regexp.
8097 (python-syntax-stringify): Handle matches properly.
8099 2012-09-30 Juri Linkov <juri@jurta.org>
8101 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
8102 to nil around the call to `insert' to prevent
8103 directory time modification by lock_file. (Bug#2295)
8104 * tar-mode.el (tar-summarize-buffer): Idem.
8106 2012-09-30 Juri Linkov <juri@jurta.org>
8108 * facemenu.el (list-colors-sort): Add option "Luminance".
8109 (list-colors-sort-key): Implement it.
8111 * vc/diff-mode.el (diff-refine-removed):
8112 * vc/ediff-init.el (ediff-fine-diff-A):
8113 * vc/smerge-mode.el (smerge-refined-removed):
8114 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
8116 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
8118 * term/ns-win.el (x-file-dialog): New function.
8120 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
8122 * ido.el (ido-max-directory-size): Default to nil; the current
8123 default is small for POSIX systems, and impractical on Windows 7
8124 now that lstat returns directory sizes for NTFS.
8126 2012-09-30 Martin Rudalics <rudalics@gmx.at>
8128 In buffer display functions handle window-height/window-width
8129 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
8130 * window.el (window--display-buffer): New argument ALIST.
8131 Obey window-height and window-width alist entries.
8132 (window--try-to-split-window): New argument ALIST.
8133 Bind window-combination-limit to t when the window's size shall be
8134 changed and window-combination-limit equals `window-size'.
8135 (display-buffer-in-atom-window)
8136 (display-buffer-in-major-side-window)
8137 (display-buffer-in-side-window, display-buffer-same-window)
8138 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8139 (display-buffer-pop-up-window, display-buffer-below-selected)
8140 (display-buffer-at-bottom, display-buffer-in-previous-window)
8141 (display-buffer-use-some-window): Adjust all callers of
8142 window--display-buffer and window--try-to-split-window.
8143 (fit-frame-to-buffer): New option.
8144 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
8146 (display-buffer-in-major-side-window): Evaluate window-height /
8147 window-width alist entries.
8149 * help.el (temp-buffer-resize-frames)
8150 (temp-buffer-resize-regexps): Remove options.
8151 (temp-buffer-resize-mode): Adjust doc-string.
8152 (resize-temp-buffer-window): Don't consult
8153 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
8154 temp-buffer-resize-frames.
8156 * dired.el (dired-mark-pop-up):
8157 Call display-buffer-below-selected with a fit-window-to-buffer alist
8160 2012-09-30 Chong Yidong <cyd@gnu.org>
8162 * server.el (server-host): Document the security implications.
8163 (server-auth-key): Doc fix.
8165 * startup.el (initial-buffer-choice): Doc fix.
8167 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
8169 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
8172 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
8174 * help-fns.el (help-fns--obsolete): Fix last change.
8176 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
8178 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
8179 (minor-mode-map-alist): Remove redundant code.
8181 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
8182 visited in a buffer.
8183 (cvs-insert-visited-file): New function.
8184 (find-file-hook): Use it.
8186 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
8188 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
8190 (log-edit-empty-buffer-p): Don't require a space after a header.
8192 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
8194 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
8196 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
8197 a proper minor-mode.
8199 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
8201 2012-09-29 Glenn Morris <rgm@gnu.org>
8203 * winner.el (winner-mode): Remove variable (let define-minor-mode
8205 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
8207 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
8208 (winner-mode): Use define-minor-mode.
8210 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
8211 the full definition in loaddefs, rather than duplicating it.
8213 * help-macro.el (three-step-help): No need to autoload defcustom.
8215 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
8216 (inferior-lisp-program, inferior-lisp-load-command)
8217 (inferior-lisp-prompt, inferior-lisp-mode-hook):
8218 No need to autoload defcustoms.
8220 * hippie-exp.el (hippie-expand-try-functions-list)
8221 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
8222 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
8223 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
8224 (hippie-expand-only-buffers): No need to autoload defcustoms.
8225 * progmodes/vhdl-mode.el (vhdl-line-expand):
8226 Explicitly load hippie-exp, so it does not get autoloaded
8227 while hippie-expand-try-functions-list is let-bound.
8229 2012-09-28 Glenn Morris <rgm@gnu.org>
8231 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
8233 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
8234 Only "cl.el" counts as cl these days.
8236 2012-09-28 Juri Linkov <juri@jurta.org>
8238 Display archive errors in the echo area instead of inserting
8241 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
8242 to STDERR-TEST that can be a regexp matching a successful output.
8243 Create a temporary file and redirect stderr to it. Search for
8244 STDERR-TEST in the stderr output and display it in the echo area
8245 if no match is found.
8246 (archive-extract-by-file): New function like
8247 `archive-extract-by-stdout' but extracting archives to files
8248 and looking for successful matches in stdout. Function body is
8249 mostly copied from `archive-rar-extract'.
8250 (archive-rar-extract): Use `archive-extract-by-file'.
8251 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
8253 2012-09-28 Leo Liu <sdl.web@gmail.com>
8255 * pcomplete.el (pcomplete-show-completions):
8256 Use minibuffer-message to make pcomplete usable in minibuffer.
8258 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
8260 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8262 * type-break.el: Use lexical-binding.
8263 (type-break-mode): Use define-minor-mode.
8265 * emacs-lisp/pcase.el (pcase--mark-used): New.
8266 (pcase--u1): Use it (bug#12512).
8268 * custom.el (load-theme): Set buffer-file-name so the load is recorded
8269 in load-history with the right file name.
8271 2012-09-28 Tassilo Horn <tsdh@gnu.org>
8273 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
8274 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
8275 (doc-view-get-bounding-box): Make bounding box slicing work for
8276 ODF and DVI documents.
8278 2012-09-28 Glenn Morris <rgm@gnu.org>
8280 * type-break.el (type-break-mode, type-break-interval)
8281 (type-break-good-rest-interval, type-break-keystroke-threshold):
8282 No need to autoload.
8283 (type-break-good-rest-interval, type-break-keystroke-threshold):
8286 2012-09-28 Chong Yidong <cyd@gnu.org>
8288 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
8291 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8293 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
8295 2012-09-27 Glenn Morris <rgm@gnu.org>
8297 * faces.el (x-display-name): Declare (for without-x builds).
8299 * linum.el (linum-format): Don't autoload it. Improve :type.
8301 * progmodes/tcl.el: Don't require outline when compiling.
8302 (outline-regexp, outline-level): Declare.
8303 * textmodes/sgml-mode.el: Don't require outline when compiling.
8304 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
8306 * term.el (term-ansi-reset):
8307 Try setting term-ansi-face-already-done to nil. (Bug#11785)
8309 * vc/vc.el (vc-next-action): Only gripe about committing read-only
8310 files for RCS and SCCS. (Bug#9781)
8312 2012-09-27 Chong Yidong <cyd@gnu.org>
8314 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
8315 change; value should be t.
8317 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8319 * image-mode.el: Use lexical-binding.
8320 (image-mode-winprops): Use t to stand for the window of
8321 a buffer that's not displayed.
8322 * doc-view.el (doc-view-new-window-function): Handle the new
8324 (doc-view-enlarge): Make it a real nop if the size is not changed.
8325 (doc-view-display): Handle the case where the buffer is not (yet?)
8326 displayed in any window.
8327 (doc-view-saved-settings): New var.
8328 (doc-view-mode): Use it.
8329 (doc-view-fallback-mode): Set it.
8331 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
8332 Set lexical-binding.
8333 (minibuffer-eldef-shorten-default): New var.
8334 (minibuffer-default-in-prompt-regexps): Use it for new default.
8335 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
8337 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8339 * international/uni-bidi.el:
8340 * international/uni-category.el:
8341 * international/uni-name.el:
8342 * international/uni-numeric.el: Regenerate.
8344 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
8345 Stefan Monnier <monnier@iro.umontreal.ca>
8347 * profiler.el: New file.
8349 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
8351 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
8352 (testcover-reinstrument): Simplify with CSE.
8354 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8356 * window.el (temp-buffer-window-setup): Fix typo in docstring.
8358 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
8360 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
8361 (verilog-auto-input, verilog-auto-insert-lisp)
8362 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
8363 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
8364 (verilog-auto-unused, verilog-auto-wire)
8365 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
8366 newline. Reported by Andrew Jones.
8367 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
8368 Reported by Brad Dobbie.
8369 (verilog-batch-delete-trailing-whitespace):
8370 Create verilog-batch-delete-trailing-whitespace.
8371 Reported by Brad Dobbie.
8372 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
8373 parameters from another module. Reported by Dan Katz.
8374 (verilog-auto, verilog-auto-assign-modport)
8375 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
8376 AUTOINOUTMODPORT for UVM interface module shell generation.
8377 Reported by Brad Dobbie.
8378 (verilog-auto-inst-interfaced-ports): Make default nil, as more
8380 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
8381 Reported by Matt Martin.
8383 2012-09-25 Martin Rudalics <rudalics@gmx.at>
8385 * window.el (window--resize-child-windows): When resizing child
8386 windows proportionally, process them in reverse order to
8387 preserve the "when splitting a window the new one gets the odd
8389 (window--resize-root-window-vertically): When resizing the
8390 minibuffer window try to affect only windows at the bottom of the
8393 2012-09-25 Chong Yidong <cyd@gnu.org>
8395 * subr.el (declare): Doc fix.
8397 * help-fns.el (help-fns--obsolete): Handle macros properly.
8399 2012-09-25 Chong Yidong <cyd@gnu.org>
8401 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
8402 this function obsolete.
8404 * calendar/cal-x.el (calendar-two-frame-setup)
8405 (calendar-only-one-frame-setup, calendar-one-frame-setup):
8406 * calendar/calendar.el (american-calendar, european-calendar)
8407 (calendar-for-loop):
8408 * comint.el (comint-dynamic-simple-complete)
8409 (comint-dynamic-complete-as-filename, comint-unquote-filename):
8410 * desktop.el (desktop-load-default):
8411 * dired-x.el (dired-omit-here-always)
8412 (dired-hack-local-variables, dired-default-directory):
8413 * emacs-lisp/derived.el (derived-mode-class):
8414 * emacs-lisp/timer.el (timer-set-time-with-usecs):
8415 * emacs-lock.el (toggle-emacs-lock):
8416 * epa.el (epa-display-verify-result):
8417 * epg.el (epg-sign-keys, epg-start-sign-keys)
8418 (epg-passphrase-callback-function):
8419 * eshell/esh-util.el (eshell-for):
8420 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
8421 (eshell-add-to-window-buffer-names):
8422 * files.el (locate-file-completion):
8423 * imenu.el (imenu-example--create-c-index)
8424 (imenu-example--create-lisp-index)
8425 (imenu-example--lisp-extract-index-name)
8426 (imenu-example--name-and-position):
8427 * international/mule-cmds.el (princ-list):
8428 * international/mule-diag.el (decode-codepage-char):
8429 * international/mule-util.el (detect-coding-with-priority):
8430 * iswitchb.el (iswitchb-read-buffer):
8431 * mail/mailalias.el (mail-complete):
8432 * mail/sendmail.el (mail-sent-via):
8433 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
8434 (mouse-major-mode-menu):
8435 * password-cache.el (password-read-and-add):
8436 * pcomplete.el (pcomplete-parse-comint-arguments):
8437 * progmodes/sh-script.el (sh-maybe-here-document):
8438 * replace.el (query-replace-regexp-eval):
8439 * savehist.el (savehist-load):
8440 * simple.el (choose-completion-delete-max-match):
8441 * term.el (term-dynamic-simple-complete):
8442 * vc/ediff-init.el (ediff-check-version):
8443 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
8444 * vc/vc.el (vc-diff-switches-list):
8445 * view.el (view-return-to-alist-update): Likewise.
8447 * subr.el (eval-next-after-load, makehash, insert-string)
8448 (assoc-ignore-representation, assoc-ignore-case): Use declare to
8450 (mode-line-inverse-video): Variable deleted.
8452 * international/mule-util.el (string-to-sequence): Remove.
8454 * calendar/calendar.el (calendar-version):
8455 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
8456 (icalendar-convert-diary-to-ical):
8457 * cus-edit.el (custom-mode):
8458 * ansi-color.el (ansi-color-unfontify-region):
8459 * international/latin1-disp.el (latin1-char-displayable-p):
8460 * progmodes/cwarn.el (turn-on-cwarn-mode):
8461 * progmodes/which-func.el (which-func-update-1):
8462 Use define-obsolete-function-alias.
8464 * net/newst-backend.el (newsticker-cache-filename):
8465 * net/newst-treeview.el (newsticker-groups-filename):
8466 Fix incorrect obsolescence declaration.
8468 * allout.el (allout-passphrase-hint-string): Likewise.
8469 (allout-init): Use a declare form to mark obsolete.
8471 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
8472 this applies to functions.
8474 * iswitchb.el (iswitchb-read-buffer): Move code of
8475 iswitchb-define-mode-map here, and delete that obsolete function.
8477 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
8478 font-lock-reference-face.
8480 2012-09-25 Glenn Morris <rgm@gnu.org>
8482 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
8485 * eshell/em-term.el (eshell-term-name):
8486 Default to term-term-name. (Bug#12485)
8488 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8490 * progmodes/python.el (python-shell-send-buffer): Better handling
8491 of "if __name__ == '__main__':" conditionals when sending the buffer.
8493 2012-09-24 Glenn Morris <rgm@gnu.org>
8495 * eshell/esh-cmd.el (eshell-find-alias-function):
8496 Tighten up file-name regexp. (Bug#12499)
8498 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8500 Enhancements for triple-quote string syntax.
8501 * progmodes/python.el (python-quote-syntax): Remove.
8502 (python-syntax-propertize-function): New value.
8503 (python-syntax-count-quotes, python-syntax-stringify):
8506 2012-09-24 Chong Yidong <cyd@gnu.org>
8508 * mail/supercite.el (sc-version): Remove obsolete function.
8509 (sc-describe): Don't mark as obsolete, since it is bound.
8510 (sc-submit-bug-report): Remove.
8512 * vc/log-edit.el (cvs-changelog-full-paragraphs)
8513 (cvs-commit-buffer-require-final-newline): Remove.
8514 (log-edit-require-final-newline)
8515 (log-edit-changelog-full-paragraphs): Default to t.
8517 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
8518 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
8519 * vc/vc.el (vc-checkout-carefully): Likewise.
8521 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
8522 (emerge-version): Remove.
8524 * progmodes/compile.el (compile-internal): Remove.
8525 (compilation-parse-errors-function): Fix typo.
8527 * international/mule.el (set-char-table-default): Remove.
8528 (set-coding-priority, make-coding-system, generic-char-p)
8529 (charset-list, charset-bytes, charset-id): Use declare to mark
8530 functions as obsolete.
8532 * vc/pcvs-defs.el (cvs-buffer-name-alist)
8533 (cvs-invert-ignore-marks): Remove references to obsolete vars.
8534 * vc/vc-hooks.el (vc-default-registered): Don't use
8535 vc-master-templates.
8537 * font-lock.el (font-lock-reference-face):
8538 Use define-obsolete-variable-alias.
8540 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
8541 * calendar/calendar.el (calendar-font-lock-keywords):
8542 * calendar/diary-lib.el (diary-font-lock-keywords)
8543 (diary-fancy-font-lock-keywords):
8544 * textmodes/reftex-sel.el (reftex-insert-docstruct):
8545 * textmodes/reftex-index.el (reftex-insert-index):
8546 * textmodes/reftex-cite.el (reftex-format-bib-entry):
8547 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8548 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
8549 * progmodes/prolog.el (prolog-font-lock-keywords):
8550 * progmodes/idlwave.el (idlwave-idl-keywords):
8551 * progmodes/ada-mode.el (ada-font-lock-keywords):
8552 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
8554 2012-09-24 Glenn Morris <rgm@gnu.org>
8556 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
8558 2012-09-23 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8560 * progmodes/python.el (python-indent-line): More consistent cursor
8563 2012-09-23 Stefan Merten <smerten@oekonux.de>
8565 * textmodes/rst.el: Fix compiler warning.
8567 2012-09-23 Roland Winkler <winkler@gnu.org>
8569 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
8570 Transcribe also LaTeX hyphenation.
8571 (bibtex-reformat): Bug fix. Do not quote twice the elements of
8572 bibtex-reformat-previous-options.
8574 2012-09-23 Roland Winkler <winkler@gnu.org>
8576 * proced.el (proced-renice-command): New variable.
8577 (proced-marked-processes): New function.
8578 (proced-with-processes-buffer): New macro.
8579 (proced-send-signal): Use them.
8580 (proced-renice): New command bound to r.
8582 2012-09-23 Roland Winkler <winkler@gnu.org>
8584 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
8585 ibuffer-saved-filter-groups has one element, shortcut the call of
8586 completing-read. (Bug#12331)
8588 2012-09-23 Chong Yidong <cyd@gnu.org>
8590 * bindings.el (mode-line-toggle-read-only):
8591 * bs.el (bs-toggle-readonly):
8592 * buff-menu.el (Buffer-menu-toggle-read-only):
8593 * dired.el (dired-toggle-read-only):
8594 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
8596 2012-09-23 Chong Yidong <cyd@gnu.org>
8598 * image.el (image-type-available-p): Adapt to init-image-library
8601 2012-09-22 Juri Linkov <juri@jurta.org>
8603 * dired.el (dired-mode-map): Add [remap read-only-mode] for
8604 `dired-toggle-read-only'. (Bug#12462)
8606 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8608 * subr.el (temp-output-buffer-show): New function.
8609 (with-output-to-temp-buffer): Call temp-output-buffer-show
8610 instead of internal-temp-output-buffer-show.
8612 2012-09-22 Chong Yidong <cyd@gnu.org>
8614 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
8617 * repeat.el (repeat): Doc fix (Bug#12348).
8619 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
8622 * simple.el (shell-command-on-region): Doc fix.
8623 (read-only-mode): Doc fix.
8625 2012-09-22 Eli Zaretskii <eliz@gnu.org>
8627 * emacs-lisp/timer.el (run-with-idle-timer)
8628 (timer-activate-when-idle): Warn against reinvoking an idle timer
8629 from within its own timer action. (Bug#12447)
8631 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8633 * cus-start.el (window-combination-limit): Add new optional
8635 * window.el (temp-buffer-window-show)
8636 (window--try-to-split-window): Handle new values of
8637 window-combination-limit (Bug#1806).
8638 (split-window): Test window-combination-limit for t instead of
8640 (display-buffer-at-bottom): New buffer display action function.
8641 * help.el (temp-buffer-resize-regexps): New option.
8642 (temp-buffer-resize-mode): Rewrite doc-string.
8643 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
8644 Don't resize reused window. Suggested by Glenn Morris.
8646 2012-09-22 Stefan Merten <smerten@oekonux.de>
8648 * textmodes/rst.el: Revamp section title faces.
8649 (rst-official-version)
8650 (rst-package-emacs-version-alist): Sync with official version
8652 (rst-faces-defaults, rst-set-level-default)
8653 (rst-level-face-max, rst-level-face-base-color)
8654 (rst-level-face-base-light, rst-level-face-format-light)
8655 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
8656 (rst-adornment-faces-alist): Match new setup.
8657 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
8658 (rst-level-5, rst-level-6): New faces.
8660 2012-09-22 Chong Yidong <cyd@gnu.org>
8662 * simple.el (undo): Handle indirect buffers (Bug#8207).
8664 2012-09-21 Leo Liu <sdl.web@gmail.com>
8666 IDO: Disable match re-ordering for buffer switching.
8667 * ido.el (ido-buffer-disable-smart-matches): New variable.
8668 (ido-set-matches-1): Use it. (Bug#2042)
8670 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
8672 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8673 Fix 2011-05-17 change. (Bug#12418)
8675 2012-09-21 Leo Liu <sdl.web@gmail.com>
8677 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
8679 2012-09-21 Glenn Morris <rgm@gnu.org>
8681 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
8682 Be more robust about locating simple.el.
8684 2012-09-21 Glenn Morris <rgm@gnu.org>
8686 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
8688 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
8690 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
8692 2012-09-20 Juri Linkov <juri@jurta.org>
8694 * replace.el (query-replace-read-from): Use `read-regexp' instead
8695 of `read-from-minibuffer' when `regexp-flag' is non-nil.
8696 (occur-read-primary-args): Use `read-regexp' instead of
8698 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
8699 `read-from-minibuffer'.
8700 * isearch.el (isearch-occur): Use `read-regexp' instead of
8702 * dired.el (dired-read-regexp): Use `read-regexp' instead of
8703 `read-from-minibuffer'.
8704 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
8705 of `read-string'. (Bug#7567)
8707 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
8708 and allow accepting a list of strings prepended to a list of
8709 standard default values. Doc fix. (Bug#12321)
8711 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
8713 * replace.el (read-regexp): Don't add ": " when PROMPT already
8714 ends with a colon and space. (Bug#12321)
8716 2012-09-20 Tassilo Horn <tsdh@gnu.org>
8718 * doc-view.el (doc-view-display): Better fix for the cl-assertion
8721 2012-09-20 Stefan Merten <smerten@oekonux.de>
8723 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
8724 Fixes feature request bug#11711.
8725 (rst-mode): Create `imenu-create-index-function'.
8726 (rst-get-stripped-line): Delete after refactoring.
8727 (rst-section-tree, rst-section-tree-rec)
8728 (rst-section-tree-point): Refactor and document properly.
8729 (rst-imenu-find-adornments-for-position)
8730 (rst-imenu-convert-cell, rst-imenu-create-index):
8733 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8735 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
8736 (macroexp--expand-all): Use it.
8737 (macroexp--funcall-and-return): Remove by folding it into its sole
8738 caller (macroexp--warn-and-return).
8739 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
8740 Use macroexp--obsolete-warning.
8742 * calc/calc.el: Fix last change by removing the whole chunk, since it
8743 was only needed back when Calc was not bundled.
8745 2012-09-20 Martin Rudalics <rudalics@gmx.at>
8747 * emacs-lisp/debug.el (debug): Restore assignment to
8748 debugger-old-buffer removed on 2012-09-08.
8750 2012-09-20 Juri Linkov <juri@jurta.org>
8752 * dired-aux.el (dired-diff): Remove (require 'diff) since
8753 `diff-latest-backup-file' is now autoloaded.
8755 2012-09-20 Chong Yidong <cyd@gnu.org>
8757 * vc/diff.el (diff-latest-backup-file): Autoload.
8759 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8761 * calc/calc.el: Remove redundant autoload shape check.
8762 (sel-mode): Don't defvar.
8763 (calc-get-stack-element): Add `sel-mode' arg instead.
8764 (calc-top, calc-top-list): Pass it this additional argument.
8765 * calc/calc-store.el (calc-store-map):
8766 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
8767 (calc-map-equation, calc-outer-product, calc-inner-product):
8768 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
8770 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
8772 2012-09-19 Juri Linkov <juri@jurta.org>
8774 * dired-aux.el (dired-diff): Add (require 'diff) because
8775 `diff-latest-backup-file' is not autoloaded.
8776 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
8777 of `dired-get-filename' to t to not report error when there is
8778 no default file on the current line.
8780 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8782 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
8783 macroexp--eval-if-compile.
8784 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
8785 (macroexp--expand-all): Use them (bug#12371).
8787 * doc-view.el (doc-view-guess-paper-size)
8788 (doc-view-scale-bounding-box): Fix unbound `caddr'.
8790 2012-09-19 Tassilo Horn <tsdh@gnu.org>
8792 New feature: set optimal slice from BoundingBox information.
8793 * doc-view.el (doc-view-mode-map): Add keybinding.
8794 (doc-view-menu): Add menu entry.
8795 (doc-view-set-slice): Adapt docstring.
8796 (doc-view-get-bounding-box, doc-view-guess-paper-size)
8797 (doc-view-scale-bounding-box)
8798 (doc-view-set-slice-from-bounding-box): New functions.
8799 (doc-view-paper-sizes): New defvar.
8801 2012-09-19 Glenn Morris <rgm@gnu.org>
8803 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
8804 (byte-compile-log-warning): Autoload. (Bug#12371)
8806 * calendar/calendar.el (calendar-american-month-header)
8807 (calendar-european-month-header, calendar-iso-month-header)
8808 (calendar-month-header): New options.
8809 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
8810 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
8812 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
8814 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
8816 2012-09-18 Juri Linkov <juri@jurta.org>
8818 * dired-aux.el (dired-diff): Restore original functionality of
8819 getting the default value, but keep new feature of using the
8820 latest existing backup file (`diff-latest-backup-file').
8822 2012-09-18 Juri Linkov <juri@jurta.org>
8824 * dired.el (dired-mark): If the region is active in Transient Mark
8825 mode, mark all files in the active region. Doc fix.
8826 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
8827 Doc fix. (Bug#10624)
8829 2012-09-18 Juri Linkov <juri@jurta.org>
8831 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
8832 attributes for M-n are pulled from the file at point.
8833 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
8834 Suggested by Drew Adams. (Bug#10624)
8836 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
8838 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
8839 whitespace after "end".
8840 (ruby-do-end-to-brace): Collapse block to one line if it fits
8843 2012-09-18 Martin Rudalics <rudalics@gmx.at>
8845 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
8847 (debug): Don't remove debugger window when debugger is expected
8850 2012-09-18 Chong Yidong <cyd@gnu.org>
8852 * custom.el (defface): Doc fix.
8854 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
8856 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
8858 * progmodes/compile.el (compilation-start): Use compilation-always-kill
8859 to initialize query-on-exit; then test that instead (bug#12288).
8861 2012-09-17 Stefan Merten <smerten@oekonux.de>
8863 * textmodes/rst.el: Add support for `testcover'.
8864 (rst-defcustom-testcover, rst-testcover-add-compose)
8865 (rst-testcover-add-1value): New functions.
8866 (rst-portable-mark-active-p): Replace by `use-region-p'.
8867 (rst-update-section, rst-classify-adornment)
8868 (rst-find-title-line): Mark `1value' forms.
8869 (rst-classify-adornment): Remove superfluous form.
8870 (rst-update-section, rst-get-adornments-around)
8871 (rst-adornment-complete-p, rst-get-next-adornment)
8872 (rst-adjust, rst-promote-region)
8873 (rst-display-adornments-hierarchy, rst-straighten-adornments)
8874 (rst-find-pfx-in-region, rst-section-tree-rec)
8875 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
8876 (rst-toc-node, rst-toc, rst-forward-section)
8877 (rst-iterate-leftmost-paragraphs)
8878 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
8879 (rst-bullet-list-region)
8880 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
8881 (rst-compile-find-conf, rst-compile)
8882 (rst-repeat-last-character): Fix style.
8884 2012-09-17 Chong Yidong <cyd@gnu.org>
8886 * comint.el (comint--complete-file-name-data): Don't add a space
8887 if the status is `sole'; that adds a gratuitous space in the
8888 completion-cycling case (Bug#12092).
8890 * pcomplete.el (pcomplete-completions-at-point): Likewise.
8892 2012-09-17 Richard Stallman <rms@gnu.org>
8894 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
8895 only in the mime-shown mode, not in raw mode.
8896 (rmail-mime): Toggle off mime by displaying the message without
8897 mime processing. (Bug#12305)
8899 * mail/rmail.el (rmail-retry-failure):
8900 Turn off mime processing first. (Bug#12037)
8902 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
8904 2012-09-17 Chong Yidong <cyd@gnu.org>
8906 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
8907 (shell-dynamic-complete-functions): Convert to defcustom.
8908 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
8910 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
8911 * comint.el (comint-prompt-read-only):
8912 * custom.el (defcustom):
8913 * hi-lock.el (hi-lock-mode):
8914 * ibuffer.el (ibuffer-formats):
8915 * ielm.el (ielm-prompt-read-only):
8916 * novice.el (disable-command):
8917 * saveplace.el (toggle-save-place):
8918 * speedbar.el (speedbar-supported-extension-expressions):
8919 * startup.el (auto-save-list-file-prefix, init-file-user)
8920 (after-init-hook, inhibit-startup-echo-area-message):
8921 * strokes.el (strokes-help):
8922 * time-stamp.el (time-stamp):
8923 * calendar/calendar.el (calendar, diary-file):
8924 * calendar/diary-lib.el (diary-mail-entries, diary)
8925 (diary-list-entries-hook):
8926 * calendar/holidays.el (holidays, calendar-holidays):
8927 * calendar/lunar.el (lunar-phases):
8928 * calendar/solar.el (sunrise-sunset):
8929 * emulation/edt.el (edt-load-keys):
8930 * emulation/viper.el (viper-mode):
8931 * eshell/em-alias.el (eshell-command-aliases-list):
8932 * eshell/esh-util.el (eshell-convert-numeric-arguments):
8933 * international/ogonek.el (ogonek-information):
8934 * net/tramp-cmds.el (tramp-bug):
8935 * net/quickurl.el (quickurl-reread-hook-postfix):
8936 * play/decipher.el (decipher-font-lock-keywords):
8937 * progmodes/cc-styles.el (c-set-style):
8938 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
8939 * progmodes/inf-lisp.el (inferior-lisp-prompt):
8940 * progmodes/octave-mod.el (octave-mode):
8941 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
8942 * progmodes/verilog-mode.el (verilog-read-defines):
8943 * textmodes/two-column.el (2C-mode): Likewise.
8945 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
8947 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
8948 that holds many addresses.
8950 2012-09-16 Chong Yidong <cyd@gnu.org>
8952 * align.el (align-areas): Call the indication function with
8953 positions instead of markers for arguments (Bug#12343).
8955 * files.el (parse-colon-path): Use split-string (Bug#12351).
8957 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8958 (display-buffer-function): Mark as obsolete.
8960 * progmodes/compile.el (compilation-parse-errors): Accept list
8961 values similar to font-lock-keywords (Bug#12136).
8962 Suggested by Oleksandr Manzyuk.
8963 (compilation-error-regexp-alist): Doc fix.
8965 2012-09-15 Glenn Morris <rgm@gnu.org>
8967 * version.el (emacs-bzr-version-bzr): New function.
8968 (emacs-bzr-get-version): Add optional EXTERNAL argument.
8970 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
8971 checkouts, check the parent dirstate matches the branch.
8972 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
8975 * version.el (emacs-bzr-version): Doc fix.
8976 (emacs-bzr-version-dirstate): New function.
8977 (emacs-bzr-get-version): For lightweight checkouts, if the parent
8978 is local try and check that it matches the branch. If not, just
8979 use dirstate information. (Bug#12441)
8981 2012-09-14 Juri Linkov <juri@jurta.org>
8983 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
8986 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8988 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
8990 * emacs-lisp/edebug.el: Miscellaneous cleanup.
8991 Remove obsolete byte-compiler hack that tried to silence some warnings.
8992 (edebug-submit-bug-report): Remove.
8993 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
8994 Remove aliases, use the un-prefixed name instead.
8995 (edebug-pop-to-buffer): Consider other frames.
8996 (edebug-original-read):: Make it more obvious that it's always defined.
8997 (edebug--make-form-data-entry, edebug--form-data-name)
8998 (edebug--form-data-begin, edebug--form-data-end): Rename from the
8999 single-dashed name, and implement with cl-defstruct.
9000 (edebug-set-form-data-entry): Use the standard accessors.
9001 (edebug-make-top-form-data-entry): Use push.
9002 (edebug-no-match): Drop useless `funcall'.
9003 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
9005 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
9006 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
9007 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
9008 (easy-menu-define, with-custom-print): Remove redundant specs.
9009 (edebug-outside-overriding-local-map)
9010 (edebug-outside-overriding-terminal-local-map): Remove, unused.
9011 (edebug--display): Bind unread-command-events directly to nil rather
9012 than binding it to unread-command-events and later setting it to nil.
9013 (edebug--display): Kill edebug-eval-buffer here...
9014 (edebug--recursive-edit): ...rather than here.
9015 Bind standard-output and standard-input.
9016 (edebug-eval): Check cl-macroexpand-all is fboundp.
9017 (edebug-temp-display-freq-count): Fix last change.
9019 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
9020 * subr.el (noreturn, 1value): Add `debug' spec.
9021 * emacs-lisp/advice.el: Require cl-lib.
9022 (ad-copy-tree): Remove, use copy-tree instead.
9023 (ad-dolist): Remove use dolist or cl-dolist instead.
9024 (ad-do-return): Remove, use cl-return instead.
9025 (defadvice): Add `debug' spec.
9027 2012-09-13 Juri Linkov <juri@jurta.org>
9029 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
9032 2012-09-13 Glenn Morris <rgm@gnu.org>
9034 * calc/calc.el (math-compose-expr):
9035 * calc/calc-ext.el (math-compose-expr):
9036 * progmodes/cc-defs.el (cl-macroexpand-all):
9037 * progmodes/cc-langs.el (delete-duplicates, mapcan)
9038 (cl-macroexpand-all): Update declarations.
9040 * vc/vc.el: No need to require ediff.
9041 (ediff-load-version-control): Declare.
9042 (ediff-vc-internal): Fix declaration.
9043 (vc-version-ediff): Require ediff.
9045 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9047 Use a more backwards-compatible timer format (Bug#12430).
9048 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
9049 being right after USECS, as that better supports old code that
9050 inadvisedly looked directly at the timer vector.
9052 2012-09-13 Kenichi Handa <handa@gnu.org>
9054 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
9055 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
9056 `coding-priority' property of these language environment.
9058 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9060 Fix glitches caused by addition of psec to timers (Bug#12430).
9061 * image.el (image-animate-timer):
9062 * time.el (display-time-world-timer):
9063 Use timer--function and timer--args rather than raw access to
9066 2012-09-13 Glenn Morris <rgm@gnu.org>
9068 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
9069 If not compiling a file, try using load-file-name.
9071 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9073 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
9075 (edebug-update-eval-list): Use `push'.
9077 * emacs-lisp/edebug.el: Use lexical-binding.
9078 Remove the "edebug-" prefix from non-dynamically-scoped variables.
9079 Mark unused args with underscore.
9080 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
9081 (edebug-form-data): Use defvar-local.
9082 (edebug-make-before-and-after-form, edebug-make-after-form):
9084 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
9085 Not dynamically scoped any more.
9086 (edebug--enter-trace): Add arguments `function' and `args'.
9087 Rename from edebug-enter-trace.
9088 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
9089 (edebug--update-coverage): Add `after-index' and `value' args.
9090 Rename from edebug-update-coverage.
9091 (edebug-slow-after): Call it accordingly.
9092 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
9093 edebug-recursive-edit.
9094 (edebug--display): Call it accordingly. Add args `value',
9095 `offset-index', and `arg-mode'. Rename from edebug-display.
9096 (edebug-debugger, edebug): Call it accordingly.
9097 (edebug-eval-display-list): Use dolist.
9099 2012-09-12 Juri Linkov <juri@jurta.org>
9101 * info.el (Info-search): Don't check for isearch-mode and
9102 isearch-regexp before let-binding search-spaces-regexp to
9103 Info-search-whitespace-regexp.
9104 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
9105 search-whitespace-regexp if isearch-lax-whitespace or
9106 isearch-regexp-lax-whitespace is non-nil.
9107 (Info-mode): Don't set local variable search-whitespace-regexp.
9108 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
9110 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9112 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
9113 (debugger-env-macro): Remove support for unread-command-char.
9115 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
9116 the temporary map re-appearing on emulation-mode-map-alists.
9118 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
9121 * ehelp.el (with-electric-help): Accept functions in
9122 electric-help-form-to-execute.
9123 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
9124 And replace unread-command-char -> unread-command-events.
9126 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
9128 Sync with Tramp 2.2.6.
9130 * net/tramp.el (tramp-accept-process-output): Don't use
9131 JUST-THIS-ONE in the XEmacs case.
9133 * net/trampver.el: Update release number.
9135 2012-09-12 Martin Rudalics <rudalics@gmx.at>
9137 * emacs-lisp/debug.el (debugger-previous-window-height):
9139 (debug): When debugger-jumping-flag is non-nil try to restore
9140 height of debugger window. (Bug#8789)
9142 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9144 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
9145 overriding-local-map and pre/post-command-hook here.
9146 (edebug-recursive-edit): Do it here instead (bug#12345).
9147 (edebug-outside-unread-command-char): Remove all uses of
9148 unread-command-char.
9150 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
9151 inhibit-debugger is bound instead.
9153 2012-09-11 Bastien Guerry <bzg@gnu.org>
9155 * subr.el (set-temporary-overlay-map): Add a docstring.
9158 2012-09-11 Bastien Guerry <bzg@gnu.org>
9160 * minibuffer.el (completion-table-subvert): Fix docstring.
9163 2012-09-11 Bastien Guerry <bzg@gnu.org>
9165 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
9167 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
9169 * progmodes/sql.el: Version 3.1
9170 (sql-db2-escape-newlines): New variable.
9171 (sql-escape-newlines-filter): Use it.
9173 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
9175 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
9177 2012-09-10 Dan Nicolaescu <dann@gnu.org>
9179 * vc/diff-mode.el (diff-mode-menu):
9180 Bind diff-remove-trailing-whitespace.
9182 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9184 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
9185 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
9186 (emacs-lisp-byte-code-mode): New functions.
9187 (eval-sexp-add-defvars): Don't skip defvars in column >0.
9188 (eval-defun-2): Remove bogus interactive spec.
9189 (lisp-indent-line): Remove redundant whole-exp code, now done in
9190 indent-according-to-mode.
9191 (save-match-data): Remove redundant indent data.
9193 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
9196 2012-09-09 Juri Linkov <juri@jurta.org>
9198 * replace.el (replace-regexp-lax-whitespace): New defcustom.
9199 (replace-lax-whitespace, query-replace-regexp)
9200 (query-replace-regexp-eval, replace-regexp): Doc fix.
9201 (perform-replace, replace-highlight): Let-bind
9202 isearch-lax-whitespace to replace-lax-whitespace and
9203 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
9205 * isearch.el (isearch-query-replace): Let-bind
9206 replace-lax-whitespace to isearch-lax-whitespace and
9207 replace-regexp-lax-whitespace to
9208 isearch-regexp-lax-whitespace. (Bug#10885)
9210 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
9212 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
9214 2012-09-09 Alan Mackenzie <acm@muc.de>
9216 * progmodes/cc-engine.el (c-state-cache-init):
9217 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
9218 (c-record-parse-state-state):
9219 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
9221 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
9223 * register.el (register-separator): Rename from
9224 separator-register. All uses changed. Doc fix.
9225 (register): Fix version.
9227 2012-09-09 Chong Yidong <cyd@gnu.org>
9229 * replace.el (query-replace-map): Bind four new symbols for
9230 requesting window scrolling.
9232 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
9233 query-replace-map (Bug#8948).
9235 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
9237 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
9238 since they are now in query-replace-map.
9240 * window.el (scroll-other-window-down): Make the arg optional.
9242 2012-09-09 Chong Yidong <cyd@gnu.org>
9244 * files.el (hack-local-variables-confirm): Use quit-window to kill
9245 the *Local Variables* buffer.
9247 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9249 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
9250 not just expect to be at its beginning. Adjust callees.
9251 Succeed when do-end block has no space before the pipe character.
9252 (ruby-brace-to-do-end): When the original block is one-liner,
9253 convert to multiline. Reindent the result.
9255 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
9257 * register.el (register): New group.
9258 (separator-register): New user option.
9259 (increment-register): Route it to `append-to-register', if
9260 register contains text. Implication is that `C-x r +' can now be
9261 used for appending to a text register (bug#12217).
9262 (append-to-register, prepend-to-register): Add separator based on
9263 `separator-register'.
9265 2012-09-08 Alan Mackenzie <acm@muc.de>
9267 AWK Mode: make auto-newline work when there's "==" in the pattern.
9268 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
9270 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
9271 Test more rigorously for "=" token.
9273 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9275 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
9276 Only fail when reached LIMIT.
9278 2012-09-08 Chong Yidong <cyd@gnu.org>
9280 * dired.el (dired-mode-map): Don't bind M-=.
9282 * dired-aux.el (dired-diff): Use backup file as default.
9284 2012-09-08 Drew Adams <drew.adams@oracle.com>
9286 * subr.el (add-to-history): Fix delete usage (Bug#12314).
9288 2012-09-08 Chong Yidong <cyd@gnu.org>
9290 * subr.el (syntax-after, syntax-class): Doc fix.
9292 2012-09-08 Martin Rudalics <rudalics@gmx.at>
9294 * window.el (display-buffer-in-previous-window): New buffer
9295 display action function.
9297 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
9298 (debugger-previous-window): New variable.
9299 (debug): Rewrite using display-buffer-in-previous-window,
9300 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
9302 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9304 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
9306 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
9308 * progmodes/python.el (python-shell-send-string):
9309 When default-directory is remote, create temp file on remote
9311 (python-shell-send-file): When file is remote, pass local view of
9312 file paths to remote Python interpreter. (Bug#12340)
9314 2012-09-07 Chong Yidong <cyd@gnu.org>
9316 * window.el (switch-to-buffer): Doc fix (Bug#12181).
9318 * files.el (after-find-file): Don't fail on a read-only buffer if
9319 require-final-newline is `visit' or `visit-save' (Bug#11156).
9321 * subr.el (read-char-choice): Allow quitting via ESC ESC.
9323 * userlock.el (ask-user-about-supersession-threat):
9324 Use read-char-choice (Bug#12093).
9326 2012-09-07 Chong Yidong <cyd@gnu.org>
9328 * subr.el (buffer-narrowed-p): New function.
9330 * ses.el (ses-widen):
9331 * simple.el (count-words--buffer-message):
9332 * net/browse-url.el (browse-url-of-buffer): Use it.
9334 * simple.el (count-words-region): Don't signal an error if there
9335 is a non-nil prefix arg and the mark is not set.
9337 * help.el (describe-key-briefly): Allow the message to be seen
9338 when invoked from the minibuffer (Bug#7014).
9340 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9342 * progmodes/ruby-mode.el (ruby-end-of-defun)
9343 (ruby-beginning-of-defun): Simplify, allow indentation before
9344 block beginning and end keywords.
9345 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
9346 (ruby-end-of-defun): Expect that the point is at the beginning of
9349 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9351 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
9353 (cl--make-usage-args): Strip _ from argument names.
9355 2012-09-06 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
9357 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
9358 obsolete alias speedbar-key-map.
9359 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
9360 (vhdl-index-menu-init): Don't use obsolete variable
9361 font-lock-maximum-size.
9363 2012-09-06 Chong Yidong <cyd@gnu.org>
9365 * frame.el (window-system-version): Mark as obsolete.
9367 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
9368 of obsolete variable speedbar-key-map.
9370 2012-09-06 Juri Linkov <juri@jurta.org>
9372 * replace.el (replace-lax-whitespace): New defcustom.
9373 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9374 (replace-string, replace-regexp): Mention it in docstrings.
9375 (perform-replace, replace-highlight): Let-bind
9376 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
9377 to the values of replace-lax-whitespace and regexp-flag.
9378 Don't let-bind search-whitespace-regexp. (Bug#10885)
9380 * isearch.el (isearch-query-replace): Let-bind
9381 replace-lax-whitespace instead of let-binding
9382 replace-search-function and replace-re-search-function.
9383 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
9384 and isearch-regexp-lax-whitespace to lazy-highlight variables.
9385 (isearch-toggle-symbol): Set isearch-regexp to nil
9386 in isearch-word mode (like in isearch-toggle-word).
9388 2012-09-06 Juri Linkov <juri@jurta.org>
9390 * replace.el (replace-search-function)
9391 (replace-re-search-function): Set default values to nil.
9392 (perform-replace): Let-bind isearch-related variables based on
9393 replace-related values, call `isearch-search-fun' and let-bind
9394 the result to `search-function'. Remove code that sets
9395 `search-function' and `search-string' separately for
9397 (replace-highlight): Add new argument `delimited-flag' and
9398 rename other arguments to the names used in `perform-replace'.
9399 Let-bind `isearch-word' to the argument `delimited-flag'.
9400 (Bug#10885, bug#10887)
9402 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9404 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
9405 ruby-beginning-of-indent, simplify, allow all keywords to have
9406 indentation before them.
9407 (ruby-beginning-of-indent): Adjust for above. Search until the
9408 found point is not inside a string or comment.
9409 (ruby-font-lock-keywords): Allow symbols to start with "@"
9410 character, give them higher priority than variables.
9411 (ruby-syntax-propertize-function)
9412 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
9413 matchers. Expression expansions are not comments when inside a
9414 string, and there comment syntax status is irrelevant.
9415 (ruby-match-expression-expansion): New function. Check that
9416 expression expansion is inside a string, and it's not escaped.
9417 (ruby-font-lock-keywords): Use it.
9419 2012-09-05 Martin Rudalics <rudalics@gmx.at>
9421 * help.el (temp-buffer-max-height): New default value.
9422 (temp-buffer-resize-frames): New option.
9423 (resize-temp-buffer-window): Optionally resize frame.
9425 * window.el (fit-frame-to-buffer-bottom-margin): New option.
9426 (fit-frame-to-buffer): New function.
9428 2012-09-05 Glenn Morris <rgm@gnu.org>
9430 * emulation/cua-rect.el (cua--init-rectangles):
9431 * textmodes/picture.el (picture-mode-map):
9432 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
9433 like forward-char and backward-char. (Bug#12317)
9435 2012-09-05 Leo Liu <sdl.web@gmail.com>
9437 * progmodes/flymake.el (flymake-warning-re): New variable.
9438 (flymake-parse-line): Use it.
9440 2012-09-05 Glenn Morris <rgm@gnu.org>
9442 * calendar/holidays.el (holiday-christian-holidays):
9443 Rename an entry. (Bug#12289)
9445 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9447 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
9450 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9452 * loadup.el: Load macroexp. Remove hack.
9453 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
9454 (macroexp--expand-all): Use it to get better warnings.
9455 (macroexp--backtrace, macroexp--trim-backtrace-frame)
9456 (internal-macroexpand-for-load): New functions.
9457 (macroexp--pending-eager-loads): New var.
9458 (emacs-startup-hook): New hack to replace one in loadup.el.
9459 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
9460 (cl--compiler-macro-cXXr): Move to top, before they can be used.
9461 (cl-psetf): Simplify.
9462 (cl-defstruct): Add indent rule.
9464 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
9466 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
9467 over `user-mail-address' for the SMTP MAIL FROM envelope.
9468 (smtpmail-via-smtp): Ditto.
9470 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
9472 * progmodes/ruby-mode.el: Clean up keybindings.
9473 (ruby-mode-map): Don't bind ruby-electric-brace,
9474 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
9475 backward-kill-word, reindent-then-newline-and-indent.
9476 (ruby-mark-defun): Remove.
9477 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
9478 (ruby-mode): Set local beginning-of-defun-function and
9479 end-of-defun-function values.
9481 2012-09-03 Martin Rudalics <rudalics@gmx.at>
9483 * window.el (temp-buffer-window-setup-hook)
9484 (temp-buffer-window-show-hook): New hooks.
9485 (temp-buffer-window-setup, temp-buffer-window-show)
9486 (with-temp-buffer-window): New functions.
9487 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
9488 (special-display-popup-frame): Make sure the window used shows BUFFER.
9490 * help.el (temp-buffer-resize-mode): Fix doc-string.
9491 (resize-temp-buffer-window): New optional argument WINDOW.
9493 * files.el (recover-file, save-buffers-kill-emacs):
9494 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
9496 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
9498 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
9499 remote definition of `default-directory', ensure we can connect.
9501 2012-09-02 Juri Linkov <juri@jurta.org>
9503 Toggle whitespace matching mode with M-s SPC.
9504 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
9506 * isearch.el (search-whitespace-regexp): Doc fix.
9507 Remove cons cell customization.
9508 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
9509 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
9511 (isearch-forward, isearch-forward-regexp): Doc fix.
9512 (isearch-toggle-lax-whitespace): New command.
9513 (search-forward-lax-whitespace, search-backward-lax-whitespace)
9514 (re-search-forward-lax-whitespace)
9515 (re-search-backward-lax-whitespace): New functions.
9516 (isearch-whitespace-regexp): Remove function.
9517 (isearch-query-replace): Let-bind replace-search-function and
9518 replace-re-search-function.
9519 (isearch-occur): Let-bind search-spaces-regexp according to the
9520 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
9521 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
9522 condition for C-q SPC.
9523 (isearch-search-fun-default): Use new functions mentioned above.
9524 (isearch-search-forward, isearch-search-backward): Remove functions.
9525 (isearch-search): Don't let-bind search-spaces-regexp.
9526 (isearch-lazy-highlight-space-regexp): Remove variable.
9527 (isearch-lazy-highlight-lax-whitespace)
9528 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
9529 (isearch-lazy-highlight-new-loop): Use them.
9530 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
9532 2012-09-02 Chong Yidong <cyd@gnu.org>
9534 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
9536 2012-09-02 Glenn Morris <rgm@gnu.org>
9538 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
9540 2012-09-01 Glenn Morris <rgm@gnu.org>
9542 * term.el: Tidy up menu definitions.
9543 (term-mode-map): Use easymenu for In/Out, Complete menus.
9544 (term-pager-break-map): Initialize in the defvar.
9545 (term-terminal-menu, term-signals-menu): Define with easymenu.
9546 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
9547 (term-pager-menu): New, extracted from term-process-pager.
9548 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
9549 (term-update-mode-line): Propertize line/char and page items.
9550 (term-process-pager): Move keymap initialization elsewhere.
9552 2012-09-01 Martin Rudalics <rudalics@gmx.at>
9554 * window.el (switch-to-prev-buffer): Handle additional values of
9555 BURY-OR-KILL argument. Don't switch in minibuffer window.
9556 (switch-to-next-buffer): Don't switch in minibuffer window.
9557 (quit-restore-window): New function based on quit-window.
9558 Handle additional values of former KILL argument.
9559 (quit-window): Call quit-restore-window with appropriate
9560 interpretation of KILL argument.
9561 (display-buffer-below-selected): New buffer display action
9564 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
9566 * minibuffer.el (completion-at-point-functions): Complete docstring
9569 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
9571 Better seed support for (random).
9572 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
9573 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
9574 * play/mpuz.el, play/tetris.el, play/zone.el:
9575 * calc/calc-comb.el (math-init-random-base):
9576 * play/blackbox.el (bb-init-board):
9577 * play/life.el (life):
9578 * server.el (server-use-tcp):
9579 * type-break.el (type-break):
9580 Remove unnecessary call to (random t).
9581 * net/sasl.el (sasl-unique-id-function):
9582 Change (random t) to (random), now that the latter is more random.
9583 * play/life.el (life-initialized): Remove no-longer-needed var.
9585 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
9587 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9588 Consider frame's buffer predicate when choosing the buffer.
9591 2012-08-30 Richard Stallman <rms@gnu.org>
9593 * simple.el (special-mode-map): Delete binding for `z'.
9595 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
9597 * progmodes/compile.el (compilation-always-kill): Doc fix.
9599 2012-08-30 Chong Yidong <cyd@gnu.org>
9601 * window.el (display-buffer-reuse-frames): Make the obsolescence
9602 message more informative.
9604 2012-08-30 Glenn Morris <rgm@gnu.org>
9606 * paren.el (show-paren-delay):
9607 Add a :set function. Doc fix. (Bug#12297)
9609 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
9611 * progmodes/compile.el (compilation-always-kill): New var.
9612 (compilation-start): Use it.
9614 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9616 * simple.el (read-only-mode): Move from files.el for bootstrapping.
9617 * files.el (read-only-mode): Move to simple.el.
9619 * files.el (read-only-mode): New minor mode.
9620 (toggle-read-only): Use it and mark obsolete.
9621 (find-file--read-only):
9622 * vc/vc.el (vc-next-action, vc-checkout):
9623 * vc/vc-cvs.el (vc-cvs-checkout):
9624 * obsolete/vc-mcvs.el (vc-mcvs-update):
9625 * ffap.el (ffap--toggle-read-only): Update callers.
9627 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
9629 * eshell/esh-ext.el (eshell-external-command): Do not examine
9630 remote shell scripts.
9631 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
9633 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
9636 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9638 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
9640 2012-08-28 Leo Liu <sdl.web@gmail.com>
9642 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
9643 completion-at-point. (Bug#12220)
9645 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
9647 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
9649 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9651 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
9652 be buffer-local; add delete-trailing-whitespace (bug#12259).
9654 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
9656 * progmodes/hideif.el (hif-compress-define-list):
9657 Fix typo. (Bug#11951)
9659 2012-08-28 Dan Nicolaescu <dann@gnu.org>
9661 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
9662 buffer local setting.
9664 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
9665 rcirc-encode-coding-system.
9667 2012-08-28 Leo Liu <sdl.web@gmail.com>
9669 * net/rcirc.el (rcirc-split-message): New function.
9670 (rcirc-send-message): Use it. (Bug#12051)
9672 2012-08-28 Juri Linkov <juri@jurta.org>
9674 * info.el (Info-fontify-node): Hide empty lines at the end of
9675 the node. (Bug#12272)
9677 2012-08-27 Drew Adams <drew.adams@oracle.com>
9679 * dired.el (dired-pop-to-buffer): Make window start at beginning
9680 of buffer (Bug#12281).
9682 2012-08-26 Chong Yidong <cyd@gnu.org>
9684 * window.el (special-display-regexps, special-display-frame-alist)
9685 (special-display-buffer-names, special-display-function)
9686 (display-buffer-reuse-frames): Mark as obsolete.
9688 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
9690 * help.el (help-print-return-message): Don't treat
9691 display-buffer-reuse-frames specially.
9693 2012-08-26 Chong Yidong <cyd@gnu.org>
9695 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
9696 New variable, replacing gdb-frame-parameters.
9697 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
9698 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
9699 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
9700 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
9701 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
9702 the functions directly with gdb-display-buffer-other-frame-action.
9703 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
9704 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
9705 (gdb-display-stack-buffer, gdb-display-locals-buffer)
9706 (gdb-display-registers-buffer): Define directly.
9707 (def-gdb-display-buffer): Macro deleted.
9708 (gdb-display-buffer): Remove second and third args, callers don't
9709 use them. Defer to the default display-buffer behavior, apart
9710 from making windows dedicated.
9711 (gdb-setup-windows): Don't call display-buffer unnecessarily.
9713 * progmodes/gud.el (gud-display-line): Just use display-buffer.
9715 * window.el (display-buffer-pop-up-frame): Handle a
9716 pop-up-frame-parameters alist entry.
9717 (display-buffer): Document it.
9719 2012-08-26 Chong Yidong <cyd@gnu.org>
9721 * isearch.el (search-whitespace-regexp): Make string and nil
9722 values apply to both ordinary and regexp search. Allow a cons
9723 cell value to distinguish between the two.
9724 (isearch-whitespace-regexp, isearch-search-forward)
9725 (isearch-search-backward): New functions.
9726 (isearch-occur, isearch-search-fun-default, isearch-search)
9727 (isearch-lazy-highlight-new-loop): Use them.
9728 (isearch-forward, isearch-forward-regexp): Doc fix.
9730 2012-08-26 Chong Yidong <cyd@gnu.org>
9732 * faces.el (help-argument-name): Always inherit from italic
9735 2012-08-25 Martin Rudalics <rudalics@gmx.at>
9737 * window.el (window--even-window-heights): Even heights when
9738 WINDOW and the selected window form a vertical combination.
9739 (display-buffer-use-some-window): Provide that window used gets
9740 sized back by quit-window. (Bug#11880) and (Bug#12091)
9742 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
9744 Fix file time stamp problem with bzr and CVS (Bug#12001).
9745 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
9746 in the file's time stamp, since the version control system loses
9749 2012-08-22 Juri Linkov <juri@jurta.org>
9751 * info.el (Info-fontify-node): Hide the suffix of the
9752 Info file name in the header line. (Bug#12187)
9754 2012-08-22 Glenn Morris <rgm@gnu.org>
9756 * calendar/cal-tex.el (cal-tex-weekly-common):
9757 Restore leading blank page.
9759 2012-08-22 Le Wang <l26wang@gmail.com>
9761 * misc.el (forward-to-word, backward-to-word): Activate or extend
9762 the region under `shift-select-mode'. (Bug#12231)
9764 2012-08-22 Bastien Guerry <bzg@gnu.org>
9766 * progmodes/executable.el (executable-prefix): Set to "#!" instead
9767 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
9768 gives details on why the space is never needed.
9770 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9772 * window.el (walk-window-tree, window-with-parameter):
9773 New optional argument MINIBUF to control whether these functions
9774 should run on the minibuffer window.
9775 (window-at-side-list): Don't operate on minibuffer window.
9776 (window-in-direction): Simplify and rewrite doc-string.
9777 (window--size-ignore): Rename to window--size-ignore-p.
9779 (display-buffer-in-atom-window, window--major-non-side-window)
9780 (window--major-side-window, display-buffer-in-major-side-window)
9781 (delete-side-window, display-buffer-in-side-window):
9783 (window--side-check, window-deletable-p, delete-window)
9784 (delete-other-windows, split-window): Handle side windows and
9785 atomic windows appropriately.
9786 (window--display-buffer): Call display-buffer-record-window also
9787 when the window buffer did not change.
9789 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
9791 * help-fns.el (help-fns--key-bindings):
9792 Abbreviate non-symbol remap targets. (Bug#12174)
9794 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9796 * dired.el (dired-mark-remembered): Don't clobber point.
9799 2012-08-22 Glenn Morris <rgm@gnu.org>
9801 * progmodes/bug-reference.el (bug-reference): New custom group.
9802 (bug-reference-bug-regexp): Make it a defcustom.
9804 2012-08-22 Daiki Ueno <ueno@unixuser.org>
9806 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
9807 (js-paren-indent-offset, js-square-indent-offset)
9808 (js-curly-indent-offset): Add :safe (Bug#12257).
9810 2012-08-22 Edward O'Connor <hober0@gmail.com>
9812 * json.el (json-key-format): Add error properties.
9813 (json-encode-key): New function.
9814 (json-encode-hash-table, json-encode-alist, json-encode-plist):
9815 Use json-encode-key.
9817 2012-08-22 Glenn Morris <rgm@gnu.org>
9819 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
9820 (cal-tex-leftday, cal-tex-rightday): Remove functions.
9821 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
9822 Update for above change.
9824 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
9826 * cus-face.el (custom-face-attributes): Fix customize type for the
9827 :underline attribute. (Bug#11805)
9829 2012-08-21 Martin Rudalics <rudalics@gmx.at>
9831 * window.el (window-point-1, set-window-point-1): Remove.
9832 (window-in-direction, record-window-buffer)
9833 (set-window-buffer-start-and-point, split-window-below)
9834 (window--state-get-1, display-buffer-record-window):
9835 Replace calls to window-point-1 and set-window-point-1 by calls to
9836 window-point and set-window-point respectively.
9838 2012-08-21 Glenn Morris <rgm@gnu.org>
9840 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
9841 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
9844 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
9845 (cal-tex-shortday): New function.
9846 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
9847 (cal-tex-cursor-filofax-daily): Use the above.
9849 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
9851 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9852 (cal-tex-cursor-filofax-week): Use them.
9854 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
9856 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9857 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
9859 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
9860 (cal-tex-end-document): Don't rely on buffer name.
9862 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
9864 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
9865 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
9866 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
9869 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
9870 (cal-tex-cursor-week, cal-tex-cursor-week2)
9871 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
9872 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9873 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
9874 (cal-tex-insert-preamble, cal-tex-b-document)
9875 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
9876 Improve cal-tex-cmd usage.
9878 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
9879 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
9880 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
9881 (cal-tex-weekly-paper): New function.
9882 (cal-tex-cursor-week, cal-tex-cursor-week2)
9883 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
9884 (cal-tex-cursor-day): Use it.
9886 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
9887 (cal-tex-cursor-filofax-week): Remove leading blank page.
9889 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9890 Add autoload cookie. For now at least, don't use color, since
9891 no other cal-tex function does.
9893 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
9894 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9895 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
9897 2012-08-21 Juri Linkov <juri@jurta.org>
9899 * info.el (Info-file-attributes): New variable.
9900 (info-insert-file-contents): Add file attributes to
9901 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
9902 `Info-toc-nodes' when previous modtime of the Info file is less
9904 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
9905 of info.el. (Bug#12230)
9907 2012-08-20 Glenn Morris <rgm@gnu.org>
9909 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
9910 * calendar/holidays.el (calendar-holiday-list):
9911 Report errors with display-warning rather than beep'n'sleep.
9913 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
9915 * net/tramp.el (tramp-accept-process-output): Accept only output
9916 from PROC. Otherwise, process filters and sentinels might be
9917 confused. (Bug#12145)
9919 2012-08-20 Chong Yidong <cyd@gnu.org>
9921 * descr-text.el (describe-text-properties-1): Use overlays-in to
9922 report on empty overlays (Bug#3322).
9924 2012-08-20 Glenn Morris <rgm@gnu.org>
9926 * mail/rmailout.el (rmail-output-read-file-name):
9927 Trap and report errors in rmail-output-file-alist elements.
9929 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
9930 since most non-font-lock faces are not also variables).
9932 2012-08-20 Edward Reingold <reingold@iit.edu>
9934 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9935 New function. (Bug12160)
9937 2012-08-19 Glenn Morris <rgm@gnu.org>
9939 * mail/rmailout.el (rmail-output-read-file-name):
9940 Fix previous change (when the alist is nil or does not match).
9942 2012-08-19 Chong Yidong <cyd@gnu.org>
9944 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
9947 2012-08-18 Chong Yidong <cyd@gnu.org>
9949 * simple.el (yank-handled-properties): New defcustom.
9950 (yank-excluded-properties): Add font-lock-face and category.
9953 * subr.el (remove-yank-excluded-properties):
9954 Obey yank-handled-properties. The special handling of font-lock-face
9955 and category is now done this way, instead of being hard-coded.
9956 (insert-for-yank-1): Remove font-lock-face handling.
9957 (yank-handle-font-lock-face-property)
9958 (yank-handle-category-property): New function.
9960 2012-08-17 Glenn Morris <rgm@gnu.org>
9962 * mail/rmailout.el (rmail-output-read-file-name):
9963 Check rmail-output-file-alist against the full message body
9964 in the correct rmail buffer. (Bug#12214)
9966 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
9968 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
9969 Eliminate superfluous prompt. (Bug#12203)
9971 2012-08-17 Chong Yidong <cyd@gnu.org>
9973 * mouse.el (mouse-appearance-menu): If x-select-font returns a
9974 font spec, set the font directly (Bug#3228).
9976 2012-08-17 Martin Rudalics <rudalics@gmx.at>
9978 * window.el (delete-window): Fix last fix.
9980 2012-08-16 Martin Rudalics <rudalics@gmx.at>
9982 * window.el (window-valid-p): Move to window.c.
9983 (window-child, window-child-count, window-last-child)
9984 (window-normalize-window, window-combined-p)
9985 (window-combinations, window-atom-root, window-min-size)
9986 (window-sizable, window-sizable-p, window-size-fixed-p)
9987 (window-min-delta, window-max-delta, window--resizable)
9988 (window--resizable-p, window-resizable, window-total-size)
9989 (window-full-height-p, window-full-width-p, window-body-size)
9990 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
9991 (minimize-window, window-deletable-p, delete-window)
9992 (delete-other-windows, set-window-buffer-start-and-point)
9993 (next-buffer, previous-buffer, split-window, balance-windows-2)
9994 (set-window-text-height, window-buffer-height)
9995 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9996 (truncated-partial-width-window-p): Minor code adjustments.
9997 In doc-strings state whether the argument window has to denote a
9998 live, valid or any window.
10000 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
10002 * progmodes/subword.el (subword-forward-function)
10003 (subword-backward-function, subword-forward-regexp)
10004 (subword-backward-regexp): New variables.
10005 (subword-forward, subword-forward-internal, subword-backward-internal):
10006 Use new variables, eg so that different "word" definitions
10007 can be easily used. (Bug#11411)
10009 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10011 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
10012 for composite selectors.
10013 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
10014 operation just because we can't find a previous revision.
10016 2012-08-15 Chong Yidong <cyd@gnu.org>
10018 * frame.el (set-frame-font): Accept font objects.
10020 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10022 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
10024 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
10026 * man.el (Man-overstrike-face, Man-underline-face)
10027 (Man-reverse-face): Remove variables.
10028 (Man-overstrike, Man-underline, Man-reverse): New faces.
10029 (Man-fontify-manpage): Use them instead of the variables.
10030 (Man-cleanup-manpage): Comment change.
10031 (Man-ansi-color-map): New variable.
10032 (Man-fontify-manpage): Use it.
10033 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
10035 Implement ANSI SGR parameters 22-27 (bug#12146).
10036 * ansi-color.el (ansi-colors): Doc fix.
10037 (ansi-color-context, ansi-color-context-region): Doc fix.
10038 (ansi-color--find-face): New function.
10039 (ansi-color-apply, ansi-color-apply-on-region): Use it.
10040 Rename the local variable `face' to `codes' since it is now a list of
10041 ansi codes. Doc fix.
10042 (ansi-color-get-face): Remove.
10043 (ansi-color-parse-sequence): New function, derived from
10044 ansi-color-get-face.
10045 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
10048 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
10050 * subr.el (read-passwd): Allow use from a minibuffer.
10052 2012-08-14 Eli Zaretskii <eliz@gnu.org>
10054 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
10055 inside comments and strings as identifiers.
10057 * progmodes/gud.el (gud-tooltip-print-command): Quote the
10058 expression to evaluate. This allows to evaluate expressions with
10059 embedded whitespace.
10060 (gud-tooltip-tips): Add a blank before the newline in the
10061 message-box text, for the benefit of message-box emulation on
10064 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
10065 messages from GDB, pop them up in a tooltip to give feedback to
10067 (gdb-tooltip-print-1): Quote the expression to evaluate.
10068 This allows to evaluate expressions with embedded whitespace.
10069 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
10070 if the TTY name is nil or empty (which happens when communicating
10071 with the inferior via pipes, e.g. on MS-Windows).
10072 (gdb-internals): If GDB sends a "&\n" empty debugging message,
10073 don't send that to the GUD buffer.
10075 2012-08-14 Glenn Morris <rgm@gnu.org>
10077 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
10078 Optimize away setq-default with no args, as for setq. (Bug#12195)
10080 2012-08-14 Chong Yidong <cyd@gnu.org>
10082 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
10084 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
10087 2012-08-14 Glenn Morris <rgm@gnu.org>
10089 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
10091 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
10093 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
10094 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10095 Use cached shell name.
10097 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10099 * progmodes/python.el (python-shell-send-string):
10100 (python-shell-send-setup-code): Do not use `format' with `message'.
10102 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
10104 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
10105 (ruby-percent-literal-beg-re): New constant.
10106 (ruby-syntax-general-delimiters-goto-beg): Rename to
10107 `ruby-syntax-enclosing-percent-literal', improve literal type check.
10108 (ruby-syntax-propertize-general-delimiters): Rename to
10109 `ruby-syntax-propertize-percent-literal', it's a shorter and more
10110 popular term. Adjust comments everywhere.
10111 (ruby-syntax-propertize-percent-literal): Only propertize when not
10112 inside a simple string or comment. When the literal is unclosed,
10113 leave the text after it unpropertized.
10114 (ruby-syntax-methods-before-regexp): New constant.
10115 (ruby-syntax-propertize-function): Use it to recognize regexps.
10116 Don't look at the text after regexp, just use the whitelist.
10118 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
10120 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
10121 non-nil always load the compiled file if it exists. (Bug#12197)
10123 2012-08-14 Chong Yidong <cyd@gnu.org>
10125 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
10126 (hi-lock-set-pattern): When deciding whether to use font lock or
10127 overlays, look at font-lock-mode instead of font-lock-fontified
10129 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
10130 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
10132 2012-08-14 Daiki Ueno <ueno@unixuser.org>
10134 * subr.el (internal--after-with-selected-window): Fix typo
10137 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10139 Use `completion-table-dynamic' for completion functions.
10140 * progmodes/python.el
10141 (python-shell-completion--do-completion-at-point)
10142 (python-shell-completion--get-completions):
10144 (python-shell-completion-complete-at-point): New function.
10145 (python-completion-complete-at-point): Use it.
10147 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
10149 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
10150 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
10152 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10154 * subr.el (function-get): Refine `autoload' arg so it can also
10155 autoload functions for gv.el (bug#12191).
10156 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
10159 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
10160 Prefer pcase-let over destructuring-bind.
10161 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
10162 Also, remove whitespace as we go, rather than after accumulating the
10165 * subr.el (internal--before-with-selected-window)
10166 (internal--after-with-selected-window): Fix typo seleted->selected.
10167 (with-selected-window): Adjust callers.
10168 Reported by Dmitry Gutov <dgutov@yandex.ru>.
10170 2012-08-13 Bastien Guerry <bzg@gnu.org>
10172 * window.el (special-display-popup-frame): Minor docstring
10173 enhancement. (Bug#12172)
10175 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
10177 * tar-mode.el (tar-header-data-end): Only ignore size for files of
10179 (tar-header-block-summarize, tar-get-descriptor): Handle pax
10182 * files.el (hack-local-variables-filter): Remove useless eval.
10184 2012-08-13 Martin Rudalics <rudalics@gmx.at>
10186 * subr.el (with-selected-window): Fix last change.
10188 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10190 * subr.el (internal--before-with-seleted-window)
10191 (internal--after-with-seleted-window): New functions.
10192 (with-selected-window): Use them, to replace dependency on
10195 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
10197 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
10198 binding for `newline'.
10199 (ruby-move-to-block): When moving backward, stop at block opening,
10201 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
10202 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
10203 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
10204 `ruby-toggle-block'.
10206 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10208 * ibuffer.el (ibuffer-do-toggle-read-only):
10209 * dired.el (dired-toggle-read-only):
10210 * buff-menu.el (Buffer-menu-toggle-read-only):
10211 * bindings.el (mode-line-toggle-read-only):
10212 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
10214 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
10216 * descr-text.el (describe-char): Put the overlays over the
10217 "displayed as" character.
10219 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
10221 * calc/calc-units.el (math-default-units-table): Give an
10223 (math-put-default-units): Add options to put composite units and
10224 unit systems in the default units table.
10225 (calc-convert-units): Send composite units to
10226 `math-put-default-units' when appropriate.
10228 2012-08-11 Glenn Morris <rgm@gnu.org>
10230 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
10232 * tutorial.el (help-with-tutorial):
10233 * emacs-lisp/copyright.el (copyright-update-directory):
10234 * emacs-lisp/autoload.el (autoload-find-generated-file)
10235 (autoload-find-file): Disable local eval: (for insurance).
10237 * files.el (hack-local-variables-filter): If an eval: form is not
10238 known to be safe, and enable-local-variables is :safe, then ignore
10239 the form totally, as is done for non-eval forms. (Bug#12155)
10240 This is CVE-2012-3479.
10242 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10244 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
10245 (rx-form): Simplify.
10247 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
10249 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
10250 ?, _, and : are symbol constituents, ! is not (but kinda should be).
10251 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
10252 (ruby-syntax-propertize-function): Adjust for changes in
10253 `ruby-syntax-propertize-heredoc'.
10255 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
10257 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
10258 binding (use `M-;' instead).
10259 (ruby-singleton-class-p): New function.
10260 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
10262 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10264 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
10266 2012-08-10 Chong Yidong <cyd@gnu.org>
10268 * progmodes/python.el (python-shell-get-process-name): Don't mess
10269 with same-window-buffer-names.
10271 * eshell/eshell.el (eshell-add-to-window-buffer-names)
10272 (eshell-remove-from-window-buffer-names): Make obsolete.
10273 (eshell-buffer-name, eshell-unload-hook): Don't use them.
10274 (eshell): Just use pop-to-buffer-same-window instead.
10276 2012-08-10 Chong Yidong <cyd@gnu.org>
10278 * bindings.el: Bind M-= back to count-words-region.
10280 * simple.el (count-words-region): Accept a prefix arg for acting
10281 on the entire buffer.
10282 (count-words--buffer-message): New helper function.
10284 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10286 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
10287 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
10288 (event-start, event-end): Use posn-at-point to return a more
10290 (posnp): New function.
10291 * mouse.el (popup-menu-normalize-position): Use it.
10293 2012-08-10 Masatake YAMATO <yamato@redhat.com>
10295 * mouse.el (popup-menu-normalize-position): New function.
10296 (popup-menu): Use `popup-menu-normalize-position' to normalize
10297 the form for POSITION argument.
10299 * term/x-win.el (x-menu-bar-open):
10300 Use the value returend from (posn-at-point) as position
10301 passed to `popup-menu'.
10303 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10305 * calc/calccomp.el (math-compose-expr): Add extra argument
10306 indicating that parentheses should be put around products in
10307 denominators. Give multiplication precedence over division during
10310 2012-08-09 Chong Yidong <cyd@gnu.org>
10312 * man.el (Man-switches, Man-sed-command, Man-awk-command)
10313 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
10314 (Man-untabify-command, manual-program): Convert to defcustom
10317 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
10319 * descr-text.el (describe-char): Don't insert extra newlines
10322 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
10323 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
10325 * align.el (align-region): Delete temporary markers (Bug#10047).
10326 Plus some code cleanups.
10328 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10330 * progmodes/python.el (python-pdbtrack-tracked-buffer)
10331 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
10332 (python-shell-internal-last-output): Use make-local-variable
10333 instead of make-variable-buffer-local.
10335 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10337 * progmodes/python.el: Enhancements to forward-sexp.
10338 (python-nav-forward-sexp): Rename from
10339 python-nav-forward-sexp-function.
10340 (python-nav--forward-sexp, python-nav--backward-sexp):
10343 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10345 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
10346 modes and simplification modes.
10348 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10350 * delsel.el (delete-selection-pre-hook): Don't propagate the
10351 file-supersession signals (bug#12161).
10353 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10355 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
10356 (cl-map-extents): Add compatibility aliases (bug#12135).
10358 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
10360 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
10361 tests by `ignore-error'.
10362 (tramp-find-shell): Open also a new shell, when cache is already
10363 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
10365 2012-08-08 Juri Linkov <juri@jurta.org>
10367 * bookmark.el: Add `defaults' property to the bookmark record.
10368 (bookmark-current-buffer): Doc fix.
10369 (bookmark-make-record): Add `defaults' property with default values
10370 to the bookmark record.
10371 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
10372 with `bookmark-insert-current-bookmark'.
10373 (bookmark-set): Get `defaults' property from the bookmark record
10374 and use it in `read-from-minibuffer'.
10375 (bookmark-insert-current-bookmark): Remove function.
10377 * info.el (Info-bookmark-make-record): Add `defaults' property
10378 with values of canonical Info node name, the current Info file
10379 name and the current Info node name. (Bug#12107)
10381 2012-08-08 Juri Linkov <juri@jurta.org>
10383 * files.el (basic-save-buffer): Use `buffer-name' as the default
10384 of `read-file-name' when buffer is not visiting a file (bug#12128).
10386 2012-08-08 Juri Linkov <juri@jurta.org>
10388 * info.el (Info-isearch-search): Doc fix.
10389 (Info-search): Change search-failed message from "initial node" to
10390 "end of node" (bug#12078).
10391 (Info-isearch-search): Change `isearch-string-state' to
10392 `isearch--state-string'.
10394 2012-08-08 Glenn Morris <rgm@gnu.org>
10396 * language/persian.el: Remove file.
10397 * language/misc-lang.el: Move unique part of persian.el here.
10398 * loadup.el: Remove language/persian.
10400 2012-08-08 Ă“scar Fuentes <ofv@wanadoo.es>
10402 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
10404 2012-08-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10406 * progmodes/python.el: Fix defsubst warning.
10407 (python-syntax-context) Rename from python-info-ppss-context.
10408 (python-syntax-context-type): Rename from
10409 python-info-ppss-context-type.
10410 (python-syntax-comment-or-string-p): Rename from
10411 python-info-ppss-comment-or-string-p.
10413 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
10415 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
10417 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
10419 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
10420 a defcustom that is quoted with backquote.
10422 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
10423 Fix handling of interactive spec when the body uses return.
10424 (math-do-arg-check, math-define-function-body): Use backquote forms.
10425 * calc/calc-ext.el (math-defcache): Likewise.
10426 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
10427 * allout.el (allout-new-exposure): Likewise.
10428 * calc/calcalg2.el (math-tracing-integral): Likewise.
10429 * info.el (Info-last-menu-item): Likewise.
10430 * emulation/vip.el (vip-loop): Likewise.
10431 * textmodes/artist.el (artist-funcall): Likewise.
10432 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
10433 Construct menu-item directly.
10435 * progmodes/autoconf.el (font-lock-syntactic-keywords):
10438 2012-08-07 Chong Yidong <cyd@gnu.org>
10440 * simple.el (deactivate-mark): Preserve text properties when
10441 saving the primary selection (Bug#8384).
10443 2012-08-07 Kevin Ryde <user42@zip.com.au>
10445 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
10446 (woman-parse-numeric-value): On a bad .IP line, issue a warning
10447 and continue processing (Bug#12110).
10449 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10451 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
10452 syntax-propertize-function (bug#10095).
10454 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10456 * help-fns.el (help-fns--key-bindings, help-fns--signature)
10457 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
10458 describe-function-1.
10459 (describe-function-1): Use them. Move compiler macro after sig.
10460 (help-fns--compiler-macro): Use function-get. Assume we're already in
10461 standard-output. Adjust layout to new call order.
10463 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
10464 re-binding a symbol that has a symbol-macro (bug#12119).
10466 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
10468 * language/persian.el: New file. (Bug#11812)
10469 * loadup.el: Add language/persian.el.
10471 2012-08-06 Chong Yidong <cyd@gnu.org>
10473 * window.el (window--maybe-raise-frame): New function.
10474 (window--display-buffer): Split off from here.
10475 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10476 (display-buffer-pop-up-window, display-buffer-use-some-window):
10477 Obey an inhibit-switch-frame action alist entry.
10478 (display-buffer): Update doc.
10480 * replace.el (occur-after-change-function): Avoid losing focus by
10481 using the inhibit-switch-frame display parameter (Bug#12139).
10483 2012-08-06 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10485 Make internal shell process buffer names start with space.
10486 * progmodes/python.el (python-shell-make-comint): Add optional
10488 (run-python-internal): Use it.
10489 (python-shell-internal-get-or-create-process): Check for new
10490 internal buffer names.
10492 2012-08-06 Glenn Morris <rgm@gnu.org>
10494 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
10495 Do less getting and setting of environment variables.
10497 2012-08-05 Chong Yidong <cyd@gnu.org>
10499 * proced.el (proced): Add substitution string to docstring to
10500 trigger autoloading of the proced library on C-h f (Bug#1768).
10502 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10503 Don't show defvars which have no second argument (Bug#8638).
10505 * imenu.el (imenu-generic-expression): Move documentation here
10506 from imenu--generic-function.
10507 (imenu--generic-function): Refer to imenu-generic-expression.
10509 2012-08-05 Vegard Ă˜ye <vegard_oye@hotmail.com> (tiny change)
10511 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
10512 indentation declaration.
10513 (viper-loop): Add indentation declaration (Bug#7025).
10515 2012-08-05 Chong Yidong <cyd@gnu.org>
10517 * help-fns.el (describe-variable): Add hyperlink for
10518 directory-local variables files. Improve buffer-local and
10519 permanent-local reporting; suggested by MON KEY (Bug#6644).
10521 * help-mode.el (help-dir-local-var-def): New button type.
10523 * files.el (kill-buffer-hook): Provide a defvar.
10525 2012-08-05 Glenn Morris <rgm@gnu.org>
10527 * eshell/esh-ext.el (eshell/addpath):
10528 Also update eshell-path-env. (Bug#12013)
10530 2012-08-05 Chong Yidong <cyd@gnu.org>
10532 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
10534 * fringe.el (fringe-styles): Add docstring.
10535 (fringe--check-mode): New function.
10536 (set-fringe-mode, set-fringe-style): Use it.
10537 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
10539 * files.el (set-auto-mode): Fix invalid setq call.
10541 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10543 * isearch.el: Misc simplification; use defstruct.
10544 (isearch-mode-map): Dense maps now work like sparse ones.
10545 (isearch--state): New defstruct.
10546 (isearch-string-state, isearch-message-state, isearch-point-state)
10547 (isearch-success-state, isearch-forward-state)
10548 (isearch-other-end-state, isearch-word-state, isearch-error-state)
10549 (isearch-wrapped-state, isearch-barrier-state)
10550 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
10551 replaced by defstruct's accessors.
10552 (isearch--set-state): Rename from isearch-top-state and change
10553 calling convention.
10554 (isearch-push-state): Use new isearch--get-state.
10555 (isearch-toggle-word): Disable regexp when enabling word.
10556 (isearch-message-prefix): Remove unused arg _c-q-hack.
10557 (isearch-message-suffix): Remove unused arg _ellipsis.
10559 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
10561 * simple.el (list-processes--refresh): For a server use :host or
10562 :local as the address.
10563 (list-processes): Doc fix.
10565 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
10567 * lisp/mpc.el: Support password in host argument.
10568 (mpc--proc-connect): Parse and use new password element.
10569 Set mpc-proc variable instead of returning process.
10570 (mpc-proc): Adjust accordingly.
10572 2012-08-03 Eli Zaretskii <eliz@gnu.org>
10574 * whitespace.el (whitespace-display-mappings): Use Unicode
10575 codepoints, instead of emacs-mule codepoints. See
10576 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
10579 * files.el (file-truename): Don't skip symlink-chasing part on
10580 windows-nt. Incorporate the resolution of 8+3 short aliases on
10581 Windows into the loop that recursively chases symlinks.
10582 Compare directory and its parent case-insensitively on MS-Windows and
10585 2012-08-03 Chong Yidong <cyd@gnu.org>
10587 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
10589 * sort.el (sort-regexp-fields): Doc fix.
10591 2012-08-03 Tassilo Horn <tsdh@gnu.org>
10593 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
10594 labels regex position point at the expected place.
10596 2012-08-03 MON KEY <monkey@sandpframing.com>
10598 * net/imap.el (imap-interactive-login, imap-authenticate)
10599 (imap-mailbox-lsub, imap-mailbox-list)
10600 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
10601 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
10602 (imap-parse-response): Doc fix.
10604 2012-08-03 JoĂ£o TĂ¡vora <joaotavora@gmail.com>
10606 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
10607 if sexp scanning does not move point (Bug#5734).
10609 2012-08-02 Tassilo Horn <tsdh@gnu.org>
10611 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
10612 Add listings, minted, and ctable packages.
10613 (reftex-label-alist-builtin): Move listings, minted, and ctable
10614 entries before LaTeX.
10615 (reftex-label-alist): Docfix.
10617 2012-08-02 Bastien Guerry <bzg@gnu.org>
10619 * replace.el (occur): Fix docstring (bug#12122).
10621 2012-08-02 Glenn Morris <rgm@gnu.org>
10623 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
10625 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
10627 Obsolete alias inactivate-current-input-method-function (Bug#10150).
10628 * international/mule-cmds.el: Create
10629 inactivate-current-input-method-function as an obsolete alias for
10630 deactivate-current-input-method-function. See Katsumi Yamaoka in
10631 <http://bugs.gnu.org/10150#46>.
10633 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
10635 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
10638 2012-08-01 Glenn Morris <rgm@gnu.org>
10640 * progmodes/autoconf.el (autoconf-definition-regexp):
10641 Add AH_TEMPLATE, adjust submatch numbering.
10642 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
10643 (autoconf-current-defun-function): Update for above change.
10644 (autoconf-current-defun-function): First skip to end of current word.
10646 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
10648 * calendar/cal-html.el (cal-html-insert-agenda-days):
10649 Fix typo. (Bug#12018)
10651 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10653 Shell processes: enhancements to startup and CEDET compatibility.
10654 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
10655 (python-shell-make-comint): accept-process-output at startup.
10656 (run-python-internal): Set inferior-python-mode-hook to nil.
10657 (python-shell-internal-get-or-create-process): call sit-for.
10658 (python-preoutput-result): Add obsolete alias.
10659 (python-shell-internal-send-string): Use it.
10660 (python-shell-send-setup-code): Remove call to
10661 accept-process-output.
10663 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
10665 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
10668 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
10670 * calc-mode.el (calc-basic-simplification-mode): Rename from
10671 `calc-limited-simplification-mode'.
10672 (calc-alg-simplification-mode): New function.
10673 (calc-set-simplify-mode): Adjust message.
10675 * calc.el (calc-set-mode-line): Adjust mode line display for
10676 basic simplification mode.
10678 * calc-help.el (calc-m-prefix-help): Update help message.
10680 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
10681 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
10683 2012-07-31 Bastien Guerry <bzg@gnu.org>
10685 * man.el (man): Fix comment. (bug#12101)
10687 2012-07-31 Martin Rudalics <rudalics@gmx.at>
10689 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
10690 Don't return a non-nil value when no suitable buffer was found.
10692 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10694 * progmodes/python.el (run-python-internal): Disable font lock for
10697 2012-07-30 Stefan Merten <smerten@oekonux.de>
10699 * textmodes/rst.el: Silence `checkdoc-ispell'.
10700 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10701 (rst-official-version, rst-official-cvs-rev)
10702 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
10703 (rst-mode-map): New key binding.
10705 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
10707 Update .PHONY listings in makefiles.
10708 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
10709 autoloads, update-subdirs, updates, bzr-update, update-authors,
10710 compile-onefile, compile-calc, backup-compiled-files,
10711 compile-after-backup, compile-one-process, mh-autoloads,
10712 bootstrap-clean, distclean, maintainer-clean.
10714 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
10716 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
10717 (calc-set-mode-line): Don't display "AlgSimp ".
10719 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
10720 (calc-lim-simplify-mode): New function.
10721 (calc-set-simplify-mode): Default to 'alg.
10722 (calc-default-simplify-mode): Make algebraic simplifications
10725 * calc/calc-ext.el (calc-init-extensions): Remove binding for
10726 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
10728 * calc/calc-help.el (calc-m-prefix-help): Change messages to
10729 indicate new simplification modes.
10731 * calc/README: Mention new default simplification mode.
10733 * calc/calc.el (math-normalize-error): New variable.
10734 (math-normalize): Set `math-normalize-error' to t
10735 when there's an error.
10737 * calc/calc-alg.el (math-simplify): Don't simplify when
10738 `math-normalize' returns an error.
10740 2012-07-29 Eli Zaretskii <eliz@gnu.org>
10742 * international/mule-cmds.el (set-locale-environment): Revert last
10743 change, since display-graphic-p returns nil when this function is
10744 called during startup. Instead...
10746 * term/w32console.el (terminal-init-w32console): ...setup the
10747 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
10749 2012-07-29 Juri Linkov <juri@jurta.org>
10751 * simple.el (goto-line): Don't display default line number in the
10752 prompt because it should be displayed by `read-number' (bug#9952).
10753 Add the current line number to the defaults of `goto-line' to
10754 allow its easier modification by users with `M-n' (bug#9201).
10756 * subr.el (read-number): Support multiple default values like in
10757 other minibuffer reading functions. Replace `read' with
10758 `string-to-number' for consistency with `number-to-string'.
10760 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
10762 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
10763 * emulation/viper-init.el (viper-deactivate-input-method-action):
10764 Rename from viper-inactivate-input-method-action.
10765 (viper-deactivate-input-method):
10766 Rename from viper-inactivate-input-method.
10767 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
10768 * international/mule-cmds.el (deactivate-input-method):
10769 Rename from inactivate-input-method.
10770 Also run input-method-deactivate-hook.
10771 (deactivate-current-input-method-function):
10772 Rename from inactivate-current-input-method-function.
10773 (input-method-deactivate-hook): New hook.
10774 (input-method-inactivate-hook): Mark obsolete.
10775 (inactivate-input-method): Mark obsolete.
10777 * international/quail.el (quail-activate):
10778 Also run quail-deactivate-hook.
10779 (quail-deactivate): Rename from quail-inactivate.
10780 * international/robin.el (robin-activate):
10781 Also run robin-deactivate-hook.
10782 (robin-deactivate): Rename from robin-inactivate.
10784 2012-07-29 Chong Yidong <cyd@gnu.org>
10786 * simple.el (indicate-copied-region): New function.
10787 (kill-ring-save): Split off from here.
10789 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
10790 (kill-rectangle): Set deactivate-mark to t on read-only error.
10792 * register.el (copy-to-register, copy-rectangle-to-register):
10793 Deactivate the mark, and use indicate-copied-region (Bug#10056).
10794 (append-to-register, prepend-to-register): Call indicate-copied-region.
10796 2012-07-29 Juri Linkov <juri@jurta.org>
10798 * simple.el (async-shell-command-buffer): New defcustom.
10799 (shell-command): Use it. (Bug#4719)
10801 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10803 * international/mule-cmds.el (set-locale-environment): In a
10804 console session on MS-Windows, set up keyboard and terminal
10805 encoding from the OEM codepage, not the ANSI codepage.
10808 2012-07-28 Chong Yidong <cyd@gnu.org>
10810 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
10813 2012-07-28 Leo Liu <sdl.web@gmail.com>
10815 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
10816 the alist (bug#12029).
10818 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10820 * makefile.w32-in (custom-deps, finder-data, updates, compile)
10821 (compile-always, compile-first)
10822 ($(lisp)/calendar/cal-loaddefs.el)
10823 ($(lisp)/calendar/diary-loaddefs.el)
10824 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10825 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
10826 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
10827 instead of on update-subdirs.
10828 (bootstrap-clean): Delete $(lisp)/subdirs.el.
10830 2012-07-28 Chong Yidong <cyd@gnu.org>
10832 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
10833 directory if vc-deduce-backend returns nil (Bug#7350).
10835 * simple.el (delete-trailing-lines): New option.
10836 (delete-trailing-whitespace): Obey it (Bug#11879).
10838 2012-07-28 David Engster <deng@randomsample.de>
10840 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
10841 Explanation of new 'symbol-qnames feature in doc-strings.
10842 (xml-maybe-do-ns): Return expanded names as plain symbols if
10843 'symbol-qnames was provided in XML-NS argument (Bug#11916).
10844 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
10846 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10848 Consistent completion in inferior python with emacs -nw.
10849 * progmodes/python.el (inferior-python-mode): replace "<tab>"
10850 binding in inferior-python-mode-map with "\t".
10851 (python-shell-completion-complete-at-point)
10852 (python-completion-complete-at-point): Remove interactive spec.
10854 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10856 * calc/calccomp.el (math-compose-expr): Undo previous change.
10858 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10860 * progmodes/python.el (python-mode-map): Add keybinding for
10862 (python-shell-make-comint): Fix pop-to-buffer call.
10863 (run-python): Autoload. New arg SHOW.
10864 (python-shell-get-or-create-process): Do not pop python process
10867 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
10869 * notifications.el (notifications-on-action-signal)
10870 (notifications-on-closed-signal): Use also the bus address for the map.
10871 (notifications-notify, notifications-close-notification)
10872 (notifications-get-capabilities): Add optional argument BUS.
10874 2012-07-27 Tassilo Horn <tsdh@gnu.org>
10876 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
10877 Add support for the lstlisting and minted environments, and for the
10879 * textmodes/reftex.el (reftex-compile-variables): Also recognize
10880 labels written in keyvals syntax.
10882 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10884 * calc/calccomp.el (math-compose-expr): Use parentheses when
10885 there is a product in the denominator of a fraction.
10887 2012-07-26 Eli Zaretskii <eliz@gnu.org>
10889 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
10890 ($(lisp)/calendar/diary-loaddefs.el)
10891 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10892 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
10893 Fixes failures in parallel bootstrap because subdirs.el is being
10894 rewritten while the autoload files are built at the same time,
10895 which needs to load subdirs.el.
10897 2012-07-26 Martin Rudalics <rudalics@gmx.at>
10899 * mouse.el (popup-menu): Fix doc-string and re-indent code.
10900 (mouse-drag-line): Don't exit tracking when a switch-frame or
10901 switch-window event occurs (Bug#12006).
10903 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10905 * mouse.el (popup-menu): Fix last change.
10907 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10909 Autoload from Lisp with more care. Follow aliases when looking for
10910 function properties.
10911 * subr.el (autoloadp): New function.
10912 (symbol-file): Use it.
10913 (function-get): New function.
10914 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
10916 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
10917 (lisp-indent-function):
10918 * emacs-lisp/gv.el (gv-get):
10919 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
10920 * emacs-lisp/byte-opt.el (byte-optimize-form):
10921 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10922 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
10924 * emacs-lisp/cl.el: Don't propagate function properties any more.
10926 * speedbar.el (speedbar-add-localized-speedbar-support):
10927 * emacs-lisp/disass.el (disassemble-internal):
10928 * desktop.el (desktop-load-file):
10929 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
10930 (describe-function-1):
10931 * emacs-lisp/find-func.el (find-function-noselect):
10932 * emacs-lisp/elp.el (elp-instrument-function):
10933 * emacs-lisp/advice.el (ad-has-proper-definition):
10934 * apropos.el (apropos-safe-documentation, apropos-macrop):
10935 * emacs-lisp/debug.el (debug-on-entry):
10936 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
10937 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
10938 * calc/calc.el (name): Use autoloadp & autoload-do-load.
10940 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
10942 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
10943 function, not an obsolete variable (Bug#12046).
10945 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10947 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
10949 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
10951 * emacs-lisp/pp.el (pp-display-expression): Select old selected
10952 window only if it is still live (Bug#12034).
10954 2012-07-25 Martin Rudalics <rudalics@gmx.at>
10956 * subr.el (redirect-frame-focus): Add advertised calling
10957 convention (Bug#12030).
10959 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
10961 Prefer typical American spelling for "acknowledgment".
10962 * vc/add-log.el (change-log-acknowledgment): Rename from
10963 change-log-acknowledgement, with an alias for the old name.
10965 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
10967 * calc-alg.el (math-simplify-divide): Don't cross multiply
10968 in an equation when the lhs is a variable.
10970 2012-07-24 Julien Danjou <julien@danjou.info>
10972 * net/netrc.el (netrc-find-service-number, netrc-store-data):
10975 2012-07-23 Eli Zaretskii <eliz@gnu.org>
10977 * startup.el (command-line): Don't display an empty user name in
10978 the error message about non-existent home directory, when
10979 init-file-user was set to an empty string. See
10980 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
10981 for the details and context.
10983 2012-07-22 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10985 * ses.el (ses-cell-formula-aset): New macro.
10986 (ses-cell-references-aset): New macro.
10987 (ses-cell-p): New function.
10988 (ses-rename-cell): Do no longer rely on complex operations like
10989 ses-cell-set-formula or ses-set-cell to change the cell and handle
10990 the undo at the same time, but rather use lower level new macros
10991 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
10992 the undo directly. Refresh the mode line.
10994 2012-07-21 Leo Liu <sdl.web@gmail.com>
10996 * progmodes/cc-cmds.el (c-defun-name):
10997 Use match-string-no-properties instead for consistency.
10999 2012-07-20 Leo Liu <sdl.web@gmail.com>
11001 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
11004 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
11006 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
11008 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
11009 * progmodes/bug-reference.el, misearch.el: Provide themselves
11012 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
11013 of narrowed buffer (bug#11966).
11015 2012-07-20 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11017 * ses.el (ses-rename-cell): Set new name also in reference list of
11018 cells of which the renamed cell depends.
11020 2012-07-20 Masatake YAMATO <yamato@redhat.com>
11022 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
11023 to check whether menu-bar is shown or not. If not shown,
11024 show the menu-bar as a popup menu instead of using tmm.
11025 * mouse.el (popup-menu): Accept `point' as `position' argument.
11027 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
11029 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
11030 up inside string symbol literal (bug#11923).
11032 2012-07-20 Eli Zaretskii <eliz@gnu.org>
11034 * startup.el (fancy-startup-text): Read the whole tutorial, not
11035 just its first 256 bytes. Prevents gibberish in display of the
11038 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
11040 Drop idle buffer compaction due to an absence of the
11042 * compact.el: Remove.
11044 2012-07-19 Sam Steingold <sds@gnu.org>
11046 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
11047 vc-bzr-pull & vc-bzr-merge-branch.
11048 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
11049 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
11050 for consistency with compilation-error-regexp-alist.
11051 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
11052 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
11053 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
11054 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
11056 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11058 * emacs-lisp/chart.el: Use lexical-binding.
11059 (chart-emacs-storage): Don't hardcode the list of entries.
11061 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11063 Next round of tweaks caused by Fgarbage_collect changes.
11064 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
11066 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11068 Compact buffers when idle.
11069 * compact.el: New file.
11071 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11073 * subr.el (eventp): Presume that if it looks vaguely like an event,
11074 it's an event (bug#10190).
11076 2012-07-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11078 Enhancements to ppss related code (thanks Stefan).
11079 * progmodes/python.el (python-indent-context)
11080 (python-indent-calculate-indentation, python-indent-dedent-line)
11081 (python-indent-electric-colon, python-nav-forward-block)
11082 (python-mode-abbrev-table)
11083 (python-info-assignment-continuation-line-p): Simplify checks
11085 (python-info-continuation-line-p): Cleanup.
11086 (python-info-ppss-context): Do not catch 'quote.
11087 (python-info-ppss-context-type)
11088 (python-info-ppss-comment-or-string-p): Simplify.
11090 2012-07-18 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11092 * progmodes/python.el: Enhancements to eldoc support.
11093 (python-info-current-symbol): New function.
11094 (python-eldoc-at-point): Use python-info-current-symbol.
11095 (python-info-current-defun): Fix cornercase on first defun scan.
11096 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
11097 and signal error when no inferior python process is available.
11099 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
11101 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
11102 assume it's always t.
11103 (vc-git-registered): Remove caching, the function is only called
11105 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
11107 2012-07-18 Chong Yidong <cyd@gnu.org>
11109 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
11111 * simple.el (count-words): Report on narrowing (Bug#9959).
11113 * bindings.el: Bind M-= to count-words.
11115 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
11117 2012-07-18 Masatake YAMATO <yamato@redhat.com>
11119 * progmodes/sh-script.el (sh-imenu-generic-expression):
11120 Capture a function with `function' keyword and without parentheses
11121 like "function FOO" (bug#11856).
11123 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
11125 * window.el (split-window-sensibly): Make WINDOW argument
11128 2012-07-18 Chong Yidong <cyd@gnu.org>
11130 * subr.el (keyboard-translate): Doc fix (Bug#7261).
11132 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
11133 and make C-x 8 RET exit isearch (Bug#11439).
11135 * international/iso-transl.el: Move isearch-mode-map key
11136 definitions to isearch.el.
11138 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
11140 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
11141 (eieio-defclass): Use gv-define-setter when possible.
11143 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
11145 Reflect recent changes in Fgarbage_collect.
11146 * emacs-lisp/chart.el (chart-emacs-storage): Change to
11147 reflect new format of data returned by Fgarbage_collect.
11149 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11151 New utility functions + python-info-ppss-context fix (Bug#11910).
11152 * progmodes/python.el (python-info-beginning-of-block-statement-p)
11153 (python-info-ppss-comment-or-string-p): New functions.
11154 (python-info-ppss-context): Small fix for string check.
11156 2012-07-17 Juri Linkov <juri@jurta.org>
11158 * dired-aux.el (dired-do-async-shell-command): Doc fix.
11159 (dired-do-async-shell-command): Don't add `*' at the end of the
11160 command (Bug#11815).
11161 (dired-do-shell-command): Doc fix.
11162 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
11163 Join the individual commands using either "&" or ";" as the
11164 separator depending on the values of these trailing characters.
11165 At the end re-add the trailing "&". (Bug#10598)
11167 * simple.el (async-shell-command): Sync the interactive spec with
11168 `shell-command'. Doc fix.
11169 (shell-command): Doc fix.
11171 2012-07-17 Juri Linkov <juri@jurta.org>
11173 * descr-text.el (describe-char): Fix format args. (Bug#10129)
11175 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11177 Final renames and doc fixes for movement commands (bug#11899).
11178 * progmodes/python.el (python-nav-beginning-of-statement):
11179 Rename from python-nav-statement-start.
11180 (python-nav-end-of-statement): Rename from
11181 python-nav-statement-end.
11182 (python-nav-beginning-of-block): Rename from
11183 python-nav-block-start.
11184 (python-nav-end-of-block): Rename from python-nav-block-end.
11186 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11188 * progmodes/python.el (python-shell-send-string-no-output):
11189 Allow accept-process-output to quit, keeping shell process ready for
11190 future interactions (Bug#11868).
11192 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11194 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
11196 * emacs-lisp/elint.el (elint-find-args-in-code):
11197 Use help-function-arglist, so as to handle lexical byte-code.
11199 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
11200 change (bug#11826).
11202 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11204 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
11205 Avoid spuriously marking the buffer as modified because of c-is-sws.
11207 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
11208 as not-a-comment (bug#11946).
11210 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
11211 for uninterned vars.
11213 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
11214 Use read-event since we don't really want to read chars but bytes.
11216 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
11217 $$..$$ but also $..$ using regexps (bug#11953).
11218 Use tex-verbatim for \url and \path.
11219 (tex-font-lock-keywords): Define as defconst like the others.
11220 (tex-common-initialization): Don't use font-lock-syntax-table any more.
11222 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
11224 * international/mule-cmds.el (ucs-insert): Make it an obsolete
11225 alias for insert-char.
11227 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11229 * progmodes/python.el: Simplified imenu implementation.
11230 (python-nav-jump-to-defun): Remove command.
11231 (python-mode-map): Use `imenu' instead.
11232 (python-nav-list-defun-positions-cache)
11233 (python-imenu-include-defun-type, python-imenu-make-tree)
11234 (python-imenu-subtree-root-label, python-imenu-index-alist):
11236 (python-nav-list-defun-positions, python-nav-read-defun)
11237 (python-imenu-tree-assoc, python-imenu-make-element-tree)
11238 (python-imenu-make-tree, python-imenu-create-index):
11240 (python-mode): Update to interact with imenu by setting
11241 `imenu-extract-index-name-function' only.
11243 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11245 * progmodes/python.el: Enhancements to navigation commands.
11246 (python-nav-backward-sentence)
11247 (python-nav-forward-sentence): Remove.
11248 (python-nav-backward-statement, python-nav-forward-statement)
11249 (python-nav-statement-start, python-nav-statement-end)
11250 (python-nav-backward-block, python-nav-forward-block)
11251 (python-nav-block-start, python-nav-block-end)
11252 (python-nav-forward-sexp-function)
11253 (python-info-current-line-comment-p)
11254 (python-info-current-line-empty-p): New functions.
11255 (python-indent-context): Use `python-nav-statement-start'.
11257 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
11259 * eshell/em-ls.el (eshell/ls): Use `apply'.
11261 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
11262 multi-hops, instead of Tramp internals.
11264 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
11266 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
11267 when F1 and F2 are located on different hosts.
11269 2012-07-14 Chong Yidong <cyd@gnu.org>
11271 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
11272 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
11273 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
11274 (xterm-mouse--read-event-sequence-1000)
11275 (xterm-mouse--read-event-sequence-1006): New functions. For old
11276 mouse protocol, handle M-mouse-X events correctly.
11277 (xterm-mouse-event): New arg specifying mouse protocol.
11278 (turn-on-xterm-mouse-tracking-on-terminal)
11279 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
11280 sequence to toggle extended coordinates on newer XTerms.
11281 This appears to be harmless on terminals which do not support this.
11283 2012-07-14 Leo Liu <sdl.web@gmail.com>
11285 Add fringe bitmap indicators for flymake. (Bug#11253)
11286 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
11287 (flymake-make-overlay): New arg BITMAP.
11288 (flymake-error-bitmap, flymake-warning-bitmap)
11289 (flymake-fringe-indicator-position): New user variables.
11291 * fringe.el: New bitmap exclamation-mark.
11293 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
11295 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
11298 2012-07-14 Chong Yidong <cyd@gnu.org>
11300 * electric.el (electric-pair-post-self-insert-function): Fix pair
11301 insertion in empty-region case (Bug#11520).
11303 2012-07-14 Chong Yidong <cyd@gnu.org>
11305 * bindings.el: Consolidate ctl-x-r-map bindings.
11306 Bind copy-rectangle-as-kill to C-x r w.
11308 * rect.el, register.el: Move bindings to bindings.el.
11310 2012-07-14 Reuben Thomas <rrt@sc3d.org>
11312 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
11314 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
11316 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
11318 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
11320 * bindings.el (top): Use `mapc' instead of `mapcar'.
11322 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
11324 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
11326 * progmodes/sql.el (sql-comint): Suppress the check for program on
11327 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
11330 2012-07-13 Chong Yidong <cyd@gnu.org>
11332 * bindings.el: Assign a non-nil permanent-local property to
11333 per-buffer variables which lack a default value (Bug#11930).
11335 * help-fns.el (describe-variable): In the "automatically becomes
11336 local" notice, take note of permanent-local variables.
11338 2012-07-13 Chong Yidong <cyd@gnu.org>
11340 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
11341 to allow printing the message when called from Lisp.
11343 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11344 Remove toggle-read-only.
11346 * bs.el (bs-toggle-readonly):
11347 * buff-menu.el (Buffer-menu-toggle-read-only):
11348 Remove with-no-warnings around toggle-read-only.
11350 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
11351 Remove with-no-warnings around toggle-read-only.
11352 (ffap-read-only, ffap-read-only-other-window)
11353 (ffap-read-only-other-frame): Callers changed.
11355 * help-mode.el: Don't require view package.
11356 (help-mode-finish): Set buffer-read-only instead of calling
11359 * bindings.el (mode-line-toggle-read-only):
11360 * dired.el (dired-toggle-read-only):
11361 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
11362 with non-nil second arg.
11364 * emacs-lisp/eieio-custom.el (eieio-customize-object):
11365 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
11368 2012-07-12 Eli Zaretskii <eliz@gnu.org>
11370 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
11373 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
11375 More CL cleanups and reduction of use of cl.el.
11376 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
11377 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
11378 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
11379 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
11380 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
11381 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
11382 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
11383 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
11384 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
11385 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
11386 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
11387 * eshell/em-cmpl.el, eshell/em-banner.el:
11388 * calendar/parse-time.el: Use cl-lib.
11389 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
11390 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
11391 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
11392 * term/ns-win.el, term.el, shell.el, ps-samp.el:
11393 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
11394 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
11395 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
11396 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
11397 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
11398 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
11399 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
11400 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
11401 `lambda' rather than with `quote'.
11402 (eshell-do-opt): Adjust accordingly.
11403 (eshell-process-option): Simplify.
11404 * eshell/esh-var.el:
11405 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
11406 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
11407 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
11408 to `pcase--dontcare'.
11409 * emacs-lisp/cl.el (labels): Mark obsolete.
11410 (cl--letf, letf): Move to cl-lib.
11411 (cl--letf*, letf*): Remove.
11412 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
11413 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
11414 (cl-progv): Rewrite.
11415 (cl--letf, cl-letf): Move from cl.el.
11416 (cl-letf*): New macro.
11417 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
11419 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
11421 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
11423 2012-07-11 Chong Yidong <cyd@gnu.org>
11425 * vc/log-edit.el (log-edit-vc-backend): New variable.
11426 (log-edit): Doc fix.
11428 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
11429 argument of log-edit to set up all local variables.
11430 (vc-start-logentry): New optional arg specifying VC backend.
11432 * vc/vc.el (vc-checkin): Use it.
11433 (vc-deduce-fileset): Handle Log Edit buffers.
11434 (vc-diff): Make first argument optional too.
11436 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
11438 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
11440 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
11441 command, just in case. The function is not needed anymore.
11442 (eshell-external-command): Do not call `eshell-remote-command'.
11444 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
11446 Reduce use of (require 'cl).
11447 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
11448 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
11449 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
11450 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
11451 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
11452 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
11453 * battery.el, avoid.el, abbrev.el: Use cl-lib.
11454 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
11455 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
11456 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
11457 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
11458 * calculator.el, autorevert.el, apropos.el: Don't require CL.
11459 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
11460 (byte-compile-unfold-bcf, byte-compile-check-variable):
11461 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
11462 (byte-compile-nilconstp):
11463 * emacs-lisp/autoload.el (make-autoload): Use pcase.
11464 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
11466 * emacs-lisp/gv.el (cond): Make it a valid place.
11467 (if): Simplify slightly.
11469 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
11470 (pcase--self-quoting-p): New function.
11471 (pcase--u1): Use it.
11473 2012-07-10 Glenn Morris <rgm@gnu.org>
11475 * emacs-lisp/authors.el (authors-fixed-entries):
11476 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
11478 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
11480 Rename configure.in to configure.ac (Bug#11603).
11481 * emacs-lisp/authors.el (authors-canonical-file-name):
11482 * progmodes/autoconf.el (autoconf-mode):
11483 Prefer configure.ac to configure.in.
11485 2012-07-08 Chong Yidong <cyd@gnu.org>
11487 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
11488 Implement the mouse-1-click-follows-link handling properly.
11490 * info.el (Info-link-keymap): Use follow-link mechanism for
11491 header-line links (Bug#374).
11493 * simple.el (deactivate-mark): Do not set the primary selection
11494 if another program has acquired it (Bug#11772).
11496 2012-07-07 Kevin Ryde <user42@zip.com.au>
11498 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
11499 (woman-decode-region): Replace escaped-escapes without destroying
11500 bold or underline (Bug#11552).
11501 (woman2-process-escapes): Handle nofill regions (Bug#11591).
11503 2012-07-07 Chong Yidong <cyd@gnu.org>
11505 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
11506 (interprogram-cut-function, interprogram-paste-function):
11507 Mention that we typically mean the clipboard.
11509 2012-07-06 Glenn Morris <rgm@gnu.org>
11511 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
11513 * files.el (toggle-read-only): Restrict message to interactive use.
11515 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
11517 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
11519 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
11521 2012-07-06 Glenn Morris <rgm@gnu.org>
11523 * Makefile.in (compile-one-process): Rename from "recompile".
11525 * Makefile.in (bzr-update): "compile" is the same as "recompile
11526 autoloads", but parallelizable, so use that instead.
11528 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
11530 * window.el (quit-window): Always restore window height when
11531 it's saved in quit-restore parameter (Bug#11810).
11533 2012-07-06 Glenn Morris <rgm@gnu.org>
11535 * simple.el (kill-whole-line): Doc tweak.
11537 2012-07-06 Eli Zaretskii <eliz@gnu.org>
11539 * files.el (file-relative-name): Compare file names
11540 case-insensitively if on MS-Windows or MS-DOS, or if
11541 read-file-name-completion-ignore-case is non-nil. Don't use
11542 case-fold-search for this purpose. (Bug#11827)
11544 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
11546 * calendar/cal-dst.el (calendar-current-time-zone):
11547 Return calendar-current-time-zone-cache if non-nil.
11549 2012-07-17 Masatake YAMATO <yamato@redhat.com>
11550 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11552 * calendar/cal-dst.el (calendar-current-time-zone):
11553 Return calendar-current-time-zone-cache if non-nil.
11555 2012-07-06 Glenn Morris <rgm@gnu.org>
11557 * Makefile.in (cvs-update): Remove old alias.
11559 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
11561 Sync with Tramp 2.2.6-pre.
11563 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
11564 compatible declaration.
11566 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11567 Protect `list-load-path-shadows' call.
11569 * net/tramp-compat.el (top): Require packages, which aren't
11570 autoloaded anymore for XEmacs. Protect call of
11571 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
11572 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
11573 it hurts at least for SXEmacs.
11574 (tramp-compat-temporary-file-directory): In XEmacs, there is no
11575 standard-value for `temporary-file-directory'.
11577 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
11578 Redirect stderr to /dev/null.
11579 (tramp-sh-handle-write-region): uid and gid can be floats.
11580 Reported by Russell Sim <russell.sim@gmail.com>.
11581 (tramp-sh-handle-vc-registered): Hide errors.
11582 (tramp-vc-file-name-handler): Use dummy results for `process-file'
11583 and `start-file-process'.
11584 (tramp-maybe-open-connection): Check also whether `non-essential'
11587 2012-07-04 Chong Yidong <cyd@gnu.org>
11589 * xml.el (xml--parse-buffer): Use xml-syntax-table.
11590 (xml-parse-tag): Likewise, and avoid changing entity tables.
11591 (xml-syntax-table): Define from scratch, making sure not to give
11592 x2000 and other Unicode spaces whitespace syntax, since those are
11594 (xml-parse-fragment): Delete unused function.
11595 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
11596 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
11597 (xml-entity-ref, xml-pe-reference-re)
11598 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
11599 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
11600 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
11601 (xml-entity-value-re): Use syntax references in regexps where
11602 possible; no need to define inside a let-binding.
11603 (xml-parse-dtd): Use xml-pe-reference-re.
11604 (xml-entity-or-char-ref-re): New defconst.
11605 (xml-parse-string, xml-substitute-special): Use it.
11607 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11609 * files.el (locate-dominating-file): Allow `name' to be a predicate.
11610 (find-file--read-only): New function.
11611 (find-file-read-only, find-file-read-only-other-window)
11612 (find-file-read-only-other-frame): Use it.
11613 (insert-file-contents-literally): Don't `fset'.
11614 (get-free-disk-space): Use locate-dominating-file.
11616 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
11617 function is already compiled.
11619 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
11621 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
11623 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
11624 files on the same host.
11626 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
11628 * help-fns.el (describe-function-1): Only call
11629 help-fns--autoloaded-p when we have a file name. (Bug#11848)
11631 2012-07-03 Chong Yidong <cyd@gnu.org>
11633 * xml.el: Protect parser against XML bombs.
11634 (xml-entity-expansion-limit): New variable.
11635 (xml-parse-string, xml-substitute-special): Use it.
11636 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
11638 2012-07-03 Glenn Morris <rgm@gnu.org>
11640 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11641 Allow linking to specific messages in debbugs reports (eg 123#5).
11643 2012-07-02 Chong Yidong <cyd@gnu.org>
11645 * xml.el: Fix entity and character reference expansion, allowing
11646 them to expand into markup as per XML spec.
11647 (xml-default-ns): New variable.
11648 (xml-entity-alist): Use XML spec definitions for lt and amp.
11649 (xml-parse-region): Make first two arguments optional.
11650 Discard text properties.
11651 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
11652 All callers changed.
11653 (xml-parse-tag): Call xml-parse-tag-1. For backward
11654 compatibility, this function should not modify buffer contents.
11655 (xml-parse-tag-1): Fix opening-tag regexp.
11656 (xml-parse-string): Rewrite, handling entity and character
11657 references properly.
11658 (xml--entity-replacement-text): Signal an error if a parameter
11659 entity is undefined.
11661 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11663 * comint.el (comint-output-filter): Filter out repeated prompts.
11665 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
11666 and file-name-absolute-p.
11667 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
11670 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
11673 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
11674 Rename from byte-compile--refiy-function. All uses changed.
11676 2012-07-01 Chong Yidong <cyd@gnu.org>
11678 * xml.el (xml--parse-buffer): New function. Move most of
11679 xml-parse-region here.
11680 (xml-parse-region): Copy region into a temporary buffer, since
11681 parameter entity substitution requires changing buffer contents.
11682 Use xml--parse-buffer.
11683 (xml-parse-file): Use xml--parse-buffer.
11684 (xml-parse-dtd): Make parameter entity substitution work right.
11685 Use proper regexps for ELEMENT declarations (Bug#7172).
11687 2012-06-30 Glenn Morris <rgm@gnu.org>
11689 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
11691 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
11692 Remove outdated and unnecessary dbus declarations.
11694 2012-06-30 Eli Zaretskii <eliz@gnu.org>
11696 * emacs-lisp/timer.el (timer-until): Subtract results of
11697 float-time, instead of taking float-time of the result of
11698 time-subtract, since float-time signals an error for negative time
11701 2012-06-30 Chong Yidong <cyd@gnu.org>
11703 * xml.el (xml-*-re): Convert defvars into defconsts, and
11704 eval-and-compile them so eval-and-compile works on derivatives.
11705 (xml--entity-replacement-text): Use eval-and-comple.
11707 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
11709 * vc/vc-git.el (vc-git-registered): Use cache property
11711 (vc-git-mode-line-string): Call `vc-working-revision' instead of
11712 `vc-git-working-revision' in order to benefit from the cache.
11713 (vc-git-root): Use cache property `git-root'. (Bug#11757)
11715 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
11717 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
11718 removed (likely outside Emacs). (Bug#11757)
11720 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11722 * emacs-lisp/cl-lib.el: Require macroexp.
11724 2012-06-30 Chong Yidong <cyd@gnu.org>
11726 * xml.el: Implement XML parameter entities.
11727 (xml-parameter-entity-alist): New variable.
11728 (xml-parse-region, xml-parse-fragment): Preserve previous values
11729 of xml-entity-alist and xml-parameter-entity-alist, so that
11730 repeated calls on different documents do not change them.
11731 (xml-parse-tag): Fix doctype regexp.
11732 (xml--entity-replacement-text): New function.
11733 (xml-parse-dtd): Use it. Don't handle system entities; doing that
11734 properly requires url retrieval which is unimplemented.
11735 (xml-escape-string): Doc fix.
11737 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11739 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
11741 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
11743 * fringe.el (fringe-mode): Doc fix.
11745 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
11747 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
11749 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
11750 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
11752 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
11754 * calendar/cal-dst.el (calendar-current-time-zone):
11755 Return calendar-current-time-zone-cache if non-nil.
11757 2012-06-29 Masatake YAMATO <yamato@redhat.com>
11759 * progmodes/which-func.el (which-func-format):
11760 Add mouse-face. (Bug#11698)
11762 2012-06-29 Leo Liu <sdl.web@gmail.com>
11764 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
11766 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11768 * minibuffer.el (minibuffer-confirm-exit-commands):
11769 Add completion-at-point (bug#11725).
11771 2012-06-29 Glenn Morris <rgm@gnu.org>
11773 * progmodes/f90.el (f90-font-lock-keywords-2):
11774 Add some preprocessor elements. (Bug#10499)
11776 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11778 * progmodes/cperl-mode.el (cperl-update-syntaxification):
11779 Use syntax-propertize (bug#11739).
11781 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
11783 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
11785 2012-06-28 Julien Danjou <julien@danjou.info>
11787 * term.el (term-handle-colors-array): Use a set of new faces to
11788 color the terminal. Also uses :inverse-video property.
11789 (term-default-fg-color): Set to nil by default, deprecate in favor
11791 (term-default-bg-color): Set to nil by default, deprecate in favor
11793 (term-current-face): Use `term-face' by default.
11794 (term-bold-attribute): Variable deleted.
11796 2012-06-28 Glenn Morris <rgm@gnu.org>
11798 * simple.el (completion-list-mode-finish):
11799 Don't use toggle-read-only. (Since completion-list-mode has
11800 a special mode-class, it wasn't doing anything extra anyway.)
11802 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
11804 Make inlining of other-mode interpreted functions work (bug#11799).
11805 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
11806 (byte-compile): Use it to fix compilation of lexical-binding closures.
11807 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
11808 function, if needed.
11810 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11812 * help-mode.el (help-make-xrefs): Don't just withstand
11813 cyclic-variable-indirection but any error in documentation-property.
11815 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
11817 * bindings.el (bindings--define-key): New function.
11818 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
11819 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
11820 * bindings.el: Use it to purecopy define-key bindings.
11822 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
11824 * emacs-lisp/cl.el (flet): Mark obsolete.
11825 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
11826 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
11827 * progmodes/js.el (js-c-fill-paragraph):
11828 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
11829 (ebrowse-switch-member-buffer-to-derived-class):
11830 * play/5x5.el (5x5-solver): Use cl-flet.
11832 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
11833 (cl--symbol-function): New macro.
11834 (cl--letf, cl--letf*): Use it.
11836 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
11837 Strip "toggle-" if any.
11839 2012-06-27 Glenn Morris <rgm@gnu.org>
11841 * info.el (Info-default-directory-list): Move here from paths.el.
11842 * paths.el: Remove file, which is now empty.
11843 * loadup.el: No longer load "paths".
11845 * custom.el (custom-initialize-delay): Doc fix.
11847 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11848 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
11849 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
11850 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
11851 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
11852 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
11853 * eshell/eshell.el (eshell-defgroup): Remove alias.
11855 2012-06-27 Chong Yidong <cyd@gnu.org>
11857 * help.el (help-enable-auto-load): New variable.
11859 * help-fns.el (help-fns--autoloaded-p): New function.
11860 (describe-function-1): Refer to a function as "autoloaded" if it
11861 was autoloaded at any time in the past. Perform autoloading if
11862 help-enable-auto-load is non-nil.
11864 2012-06-26 Eli Zaretskii <eliz@gnu.org>
11866 * makefile.w32-in (compile, compile-always): Depend on
11867 update-subdirs, not on subdirs.el. Otherwise, several different
11868 sub-targets of 'bootstrap' running in parallel could
11869 simultaneously write to subdirs.el, producing a garbled file.
11871 2012-06-26 Sam Steingold <sds@gnu.org>
11873 * files.el (file-name-base): New convenience function.
11874 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
11875 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
11876 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
11877 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
11878 * textmodes/ispell.el, textmodes/reftex-ref.el:
11879 * textmodes/tex-mode.el: Use it.
11880 Did not touch cedet and org because they are maintained elsewhere.
11882 2012-06-26 Martin Rudalics <rudalics@gmx.at>
11884 * calendar/calendar.el (calendar-exit): Don't try to delete or
11885 iconify last frame. See:
11886 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
11888 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
11890 * server.el (server-process-filter): Remember dir in the
11891 process's `server-client-directory' properties.
11893 2012-06-24 Chong Yidong <cyd@gnu.org>
11895 * xml.el (xml-parse-tag): Correctly handle comment embedded in
11898 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
11900 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
11902 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11904 * help-fns.el (describe-variable): Don't croak when doc is not found.
11905 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
11906 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
11907 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
11908 * emacs-lisp/smie.el (smie-next-sexp): CSE.
11909 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
11911 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
11913 2012-06-23 Chong Yidong <cyd@gnu.org>
11915 * info.el (Info-mouse-follow-link): Accept symbol values of
11916 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
11917 (Info-fontify-node): Use Info-link-keymap for all navigation
11918 buttons, with link-args property to perform the desired action.
11919 (Info-link-keymap): Doc fix.
11920 (Info-next-link-keymap, Info-prev-link-keymap)
11921 (Info-up-link-keymap): Delete now-unused keymaps.
11923 2012-06-23 Chong Yidong <cyd@gnu.org>
11925 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
11927 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
11930 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
11932 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11934 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
11937 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
11938 the requote function doesn't work properly (bug#11714).
11940 2012-06-23 Glenn Morris <rgm@gnu.org>
11942 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
11944 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11946 Further GV/CL cleanups.
11947 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
11949 (gv--defun-declaration): New function.
11950 (defun-declarations-alist): Use it.
11951 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
11952 (gv-place): Autoload.
11953 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
11954 original definition of dotimes and dolist.
11955 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
11956 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
11957 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
11958 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11959 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
11960 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
11961 to the function's definition.
11962 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
11966 * env.el: Don't use CL.
11968 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
11970 Support higher-resolution time stamps (Bug#9000).
11972 * calendar/time-date.el (with-decoded-time-value): New arg
11973 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
11974 (encode-time-value): New optional arg PICO. New type 3.
11975 (time-to-seconds) [!float-time]: Support the new picoseconds
11976 component if it's used.
11977 (seconds-to-time, time-subtract, time-add):
11978 Support ps-resolution time stamps as well.
11980 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
11981 (timerp): Timer vectors now have length 9, not 8.
11982 (timer--time): Support new-style (4-part) time stamps.
11983 (timer-next-integral-multiple-of-time): Time stamps now have
11984 picosecond resolution, so take a bit more care about rounding.
11985 (timer-relative-time, timer-inc-time): New optional arg psecs.
11986 (timer-set-time-with-usecs): Set psecs to 0.
11987 (timer--activate): Check psecs component, too.
11989 * proced.el (proced-time-lessp): Support ps-resolution stamps.
11991 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11993 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
11994 Move the non-essential binding to the post/pre-command-hook where it is
11995 more obviously correct.
11997 * subr.el (read-passwd): Don't use a history at all.
11998 * savehist.el (savehist-save): Remove password saved accidentally
11999 because of the above bug.
12001 2012-06-22 Bastien Guerry <bzg@gnu.org>
12003 * files.el (toggle-read-only): Display a message telling whether
12004 the buffer is read-only or not (bug#11726).
12006 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12008 * emacs-lisp/gv.el: New file.
12009 * subr.el (push, pop): Extend to generalized variables.
12010 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
12011 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
12012 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
12013 gv-define-simple-setter, and gv-define-expander.
12014 Remove setf-methods defined in gv. Rename cl-setf -> setf.
12015 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
12016 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
12017 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
12018 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
12020 (cl-defstruct): Don't define setf-method any more.
12021 * emacs-lisp/cl.el (flet): Don't autoload.
12022 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
12023 (define-setf-expander, defsetf, define-modify-macro)
12024 (cl-struct-setf-expander): Move from cl-lib.el.
12025 * emacs-lisp/syntax.el:
12026 * emacs-lisp/ewoc.el:
12027 * emacs-lisp/smie.el:
12028 * emacs-lisp/cconv.el:
12029 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
12030 (timer--time): Use gv-define-simple-setter.
12031 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
12032 to avoid coding-system problems in subr.el. Adjust all users.
12033 (macroexp--maxsize, macroexp-small-p): New functions.
12034 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
12035 * scroll-bar.el (scroll-bar-mode):
12036 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
12037 (normal-erase-is-backspace-mode): Don't use the `eq' place.
12038 * winner.el (winner-configuration, winner-make-point-alist)
12039 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
12040 * files.el (locate-file-completion-table): Avoid list*.
12042 2012-06-22 Chong Yidong <cyd@gnu.org>
12044 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
12045 (dired-create-files): Doc fix (Bug#11329).
12046 (dired-do-copy): Doc fix (Bug#11334).
12047 (dired-mark-read-string): Doc fix (Bug#11553).
12049 * dired.el (dired-recursive-copies, dired-recursive-deletes):
12050 Doc fix (Bug#11326).
12051 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
12052 (dired-dwim-target): Doc fix.
12054 * wdired.el (wdired-mode): Doc fix.
12056 2012-06-22 Glenn Morris <rgm@gnu.org>
12058 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
12059 (pcmpl-rpm-cache-stamp-file): New constant.
12060 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
12061 (pcmpl-rpm-packages): Optionally cache list of packages.
12063 * pcmpl-rpm.el (pcmpl-rpm): New group.
12064 (pcmpl-rpm-query-options): New option.
12065 (pcmpl-rpm-packages): No need to inline it.
12066 Use pcmpl-rpm-query-options.
12068 * calendar/calendar.el (calendar-in-read-only-buffer):
12069 Avoid some needless mode changes.
12071 2012-06-21 Chong Yidong <cyd@gnu.org>
12073 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
12074 (desktop-path): Remove . from the default value (Bug#10977).
12075 (desktop-read): Use user-emacs-directory if desktop-path is nil.
12077 2012-06-20 Chong Yidong <cyd@gnu.org>
12079 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
12081 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
12083 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
12086 2012-06-20 Chong Yidong <cyd@gnu.org>
12088 * term.el (term-window-width): Handle the case of a missing right
12090 (term-check-size): Use window-text-height (Bug#5445).
12091 (term-mode): Use define-derived-mode. Minor cleanups.
12092 Set font-lock-defaults (Bug#7692).
12093 (term-move-columns, term-insert-char, term-emulate-terminal)
12094 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
12096 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
12098 * net/ange-ftp.el (ange-ftp-get-passwd):
12099 Bind `enable-recursive-minibuffers'.
12100 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
12102 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
12104 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
12106 2012-06-19 Glenn Morris <rgm@gnu.org>
12108 * progmodes/python.el (python-mode): Derive from prog-mode.
12110 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
12112 * emulation/edt.el (edt-default-menu-bar-update-buffers)
12113 (edt-user-menu-bar-update-buffers): New functions.
12114 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
12116 2012-06-19 Chong Yidong <cyd@gnu.org>
12118 * subr.el (with-selected-window): Preserve the selected window's
12119 terminal's top-frame (Bug#4702).
12121 * window.el (save-selected-window): Likewise.
12123 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12125 * progmodes/python.el (python-rx-constituents): Move backquote.
12126 (python-skeleton-define, python-define-auxiliary-skeleton):
12129 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
12131 * minibuffer.el (read-file-name-default): Revert the patch from
12134 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12136 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
12137 (pcase--u1, pcase--q1): Don't use apply-partially.
12139 2012-06-18 Glenn Morris <rgm@gnu.org>
12141 * progmodes/python.el (python-proc, python-buffer)
12142 (python-send-receive, python-send-string): Fix obsolete versions.
12144 2012-06-18 Martin Rudalics <rudalics@gmx.at>
12146 * window.el (special-display-p): Completely remove stringp
12147 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
12149 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
12151 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
12153 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
12155 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
12156 * net/tramp-sh.el (tramp-maybe-open-connection):
12157 Throw if `non-essential' is non-nil.
12159 2012-06-17 Martin Rudalics <rudalics@gmx.at>
12161 * window.el (special-display-p): Signal an error if BUFFER-NAME
12162 is not a string (Bug#11713).
12164 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
12166 * progmodes/python.el (python-info-beginning-of-backslash):
12167 Rename from python-info-beginning-of-backlash, as a spelling fix.
12169 2012-06-17 Chong Yidong <cyd@gnu.org>
12171 * term.el (term-emulate-terminal): If term-check-size is called,
12172 move point to the process mark without resetting point (Bug#4635).
12174 2012-06-17 Glenn Morris <rgm@gnu.org>
12176 * international/mule-cmds.el (mule-menu-keymap)
12177 (set-language-environment, set-locale-environment): Doc tweaks.
12179 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
12181 * cus-face.el (custom-face-attributes): Add wave-style underline
12183 * faces.el (set-face-attribute): Update docstring to describe
12184 wave-style underline attribute.
12186 2012-06-16 Chong Yidong <cyd@gnu.org>
12188 * term/xterm.el (terminal-init-xterm): Discard input before
12189 querying background mode (Bug#10959).
12191 2012-06-16 Stefan Merten <smerten@oekonux.de>
12193 * textmodes/rst.el: Added and corrected some comments.
12194 (rst-re-alist-def): Improve symbol syntax.
12195 (rst-mode-syntax-table): Correct syntax entries.
12196 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
12197 (rst-official-version, rst-official-cvs-rev): Update version
12200 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
12202 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
12203 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
12205 2012-06-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
12207 * progmodes/python.el: New python.el merge.
12208 (python-guess-indent): Obsolete var.
12209 (python-indent-guess-indent-offset): New defcustom.
12210 (python-indent): Obsolete var.
12211 (python-indent-offset): New defcustom.
12212 (python-python-command, python-jython-command): Delete var.
12213 (python-shell-interpreter): New defcustom.
12214 (python-pdbtrack-do-tracking-p): Delete var.
12215 (python-pdbtrack-activate): New defcustom.
12216 (python-use-skeletons): Obsolete var.
12217 (python-skeleton-autoinsert): New defcustom.
12218 (inferior-python-filter-regexp, python-continuation-offset)
12219 (python-honour-comment-indentation, python-indent-string-contents)
12220 (python-jython-packages, python-mode-hook)
12221 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
12222 (python-shell-prompt-alist)
12223 (python-source-modes): Delete defcustoms.
12224 (python-check-buffer-name, python-eldoc-setup-code)
12225 (python-eldoc-string-code, python-ffap-setup-code)
12226 (python-ffap-string-code, python-fill-comment-function)
12227 (python-fill-decorator-function, python-fill-paren-function)
12228 (python-fill-string-function, python-imenu-include-defun-type)
12229 (python-imenu-make-tree, python-imenu-subtree-root-label)
12230 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
12231 (python-shell-compilation-regexp-alist)
12232 (python-shell-completion-module-string-code)
12233 (python-shell-completion-pdb-string-code)
12234 (python-shell-completion-setup-code)
12235 (python-shell-completion-string-code)
12236 (python-shell-enable-font-lock, python-shell-exec-path)
12237 (python-shell-extra-pythonpaths)
12238 (python-shell-internal-buffer-name, python-shell-interpreter-args)
12239 (python-shell-process-environment)
12240 (python-shell-prompt-block-regexp)
12241 (python-shell-prompt-output-regexp)
12242 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
12243 (python-shell-send-setup-max-wait, python-shell-setup-codes)
12244 (python-shell-virtualenv-path): New defcustoms.
12245 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
12246 (inferior-python-mode-syntax-table, python--prompt-regexp)
12247 (python-buffer, python-command python-python-command)
12248 (python-default-template, python-imports, python-indent-index)
12249 (python-indent-list, python-indent-list-length)
12250 (python-mode-running, python-pdbtrack-is-tracking-p)
12251 (python-preoutput-continuation, python-preoutput-leftover)
12252 (python-preoutput-result, python-preoutput-skip-next-prompt)
12253 (python-prev-dir/file, python-recursing)
12254 (python-saved-check-command, python-version-checked)
12255 (python-which-func-length-limit)
12256 (view-return-to-alist): Delete vars.
12257 (python-check-custom-command, python-dotty-syntax-table)
12258 (python-imenu-index-alist, python-indent-current-level)
12259 (python-indent-dedenters, python-indent-levels)
12260 (python-nav-beginning-of-defun-regexp)
12261 (python-nav-list-defun-positions-cache)
12262 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
12263 (python-shell-internal-buffer)
12264 (python-skeleton-available): New vars.
12265 (def-python-skeleton): Delete macro.
12266 (python-skeleton-define): New macro.
12267 (python-define-auxiliary-skeleton, python-rx): New macros.
12268 (python-insert-class): Delete command.
12269 (python-skeleton-class): New command.
12270 (python-insert-def): Delete command.
12271 (python-skeleton-def): New command.
12272 (python-insert-for): Delete command.
12273 (python-skeleton-for): New command.
12274 (python-insert-if): Delete command.
12275 (python-skeleton-if): New command.
12276 (python-insert-try/except, python-insert-try/finally): Delete commands.
12277 (python-skeleton-try): New command.
12278 (python-insert-while): Delete command.
12279 (python-skeleton-while): New command.
12280 (python-backspace): Delete command.
12281 (python-indent-dedent-line-backspace): New command.
12282 (python-electric-colon): Delete command.
12283 (python-indent-electric-colon): New command.
12284 (python-guess-indent): Delete command.
12285 (python-indent-guess-indent-offset): New command.
12286 (python-shift-left): Delete command.
12287 (python-indent-shift-left): New command.
12288 (python-shift-right): Delete command.
12289 (python-indent-shift-right): New command.
12290 (python-find-function): Delete command.
12291 (python-nav-jump-to-defun): New command.
12292 (python-next-statement): Delete command.
12293 (python-nav-forward-sentence): New command.
12294 (python-previous-statement): Delete command.
12295 (python-nav-backward-sentence): New command.
12296 (python-fill-paragraph): Delete command.
12297 (python-fill-paragraph-function): New command.
12298 (python-send-buffer): Delete command.
12299 (python-shell-send-buffer): New command.
12300 (python-send-defun): Delete command.
12301 (python-shell-send-defun): New command.
12302 (python-send-region, python-send-region-and-go): Delete commands.
12303 (python-shell-send-region)
12304 (python-shell-switch-to-shell): New commands.
12305 (python-send-string): Delete command.
12306 (python-shell-send-string): New command.
12307 (python-switch-to-python): Delete command.
12308 (python-shell-switch-to-shell): New command.
12309 (python-describe-symbol): Delete command.
12310 (python-eldoc-at-point): New command.
12311 (python--set-prompt-regexp, python-args-to-list)
12312 (python-after-info-look, python-check-version)
12313 (python-check-comint-prompt, python-find-imports)
12314 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
12315 (python-unload-function, python-expand-template)
12316 (python-maybe-jython, python-preoutput-filter)
12317 (python-pdbtrack-get-source-buffer)
12318 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
12319 (python-pdbtrack-toggle-stack-tracking)
12320 (python-pdbtrack-track-stack-file, python-initial-text)
12321 (python-first-word, python-comment-line-p, python-send-command)
12322 (python-setup-brm, python-sentinel, python-set-proc)
12323 (python-skip-out, python-input-filter, python-outdent-p)
12324 (python-outline-level, python-backslash-continuation-line-p)
12325 (python-end-of-block, python-end-of-statement, python-mark-block)
12326 (python-beginning-of-block, python-beginning-of-statement)
12327 (python-blank-line-p, python-beginning-of-string)
12328 (python-open-block-statement-p): Delete functions.
12329 (python-indent-line, python-indent-line-1): Delete functions.
12330 (python-indent-line): New function.
12331 (python-indentation-levels): Delete function.
12332 (python-indent-calculate-levels): New function.
12333 (python-proc): Delete function.
12334 (python-shell-get-process): New function.
12335 (python-send-receive): Delete function.
12336 (python-shell-send-string-no-output): New function.
12337 (python-module-path): Delete function.
12338 (python-ffap-module-path): New function.
12339 (python-completion-at-point)
12340 (python-symbol-completions): Delete functions.
12341 (python-completion-complete-at-point): New function.
12342 (python-load-file): Delete function.
12343 (python-shell-send-file): New function.
12344 (python-calculate-indentation): Delete function.
12345 (python-indent-calculate-indentation): New function.
12346 (python-skip-comments/blanks): Delete function.
12347 (python-util-forward-comment): New function.
12348 (python-continuation-line-p): Delete function.
12349 (python-info-continuation-line-p): New function.
12350 (python-which-func, python-current-defun): Delete function.
12351 (python-info-current-defun): New function.
12352 (python-beginning-of-defun): Delete function.
12353 (python-nav-beginning-of-defun): New function.
12354 (python-close-block-statement-p)
12355 (python-block-end-p): Delete function.
12356 (python-info-closing-block): New function.
12357 (python-comint-output-filter-function)
12358 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
12359 (python-fill-comment, python-fill-decorator, python-fill-paren)
12360 (python-fill-string, python-imenu-make-element-tree)
12361 (python-imenu-make-tree, python-imenu-tree-assoc)
12362 (python-indent-context, python-indent-dedent-line)
12363 (python-indent-line-function)
12364 (python-indent-post-self-insert-function)
12365 (python-indent-toggle-levels)
12366 (python-info-assignment-continuation-line-p)
12367 (python-info-beginning-of-backlash)
12368 (python-info-block-continuation-line-p)
12369 (python-info-closing-block-message)
12370 (python-info-line-ends-backslash-p)
12371 (python-info-looking-at-beginning-of-defun)
12372 (python-info-ppss-context, python-info-ppss-context-type)
12373 (python-nav-list-defun-positions, python-nav-read-defun)
12374 (python-nav-sentence-end, python-nav-sentence-start)
12375 (python-pdbtrack-comint-output-filter-function)
12376 (python-pdbtrack-set-tracked-buffer)
12377 (python-shell-calculate-exec-path)
12378 (python-shell-calculate-process-environment)
12379 (python-shell-completion--do-completion-at-point)
12380 (python-shell-completion--get-completions)
12381 (python-shell-completion-complete-at-point)
12382 (python-shell-completion-complete-or-indent)
12383 (python-shell-get-or-create-process)
12384 (python-shell-get-process-name)
12385 (python-shell-internal-get-or-create-process)
12386 (python-shell-internal-get-process-name)
12387 (python-shell-internal-send-string, python-shell-make-comint)
12388 (python-shell-parse-command, python-shell-send-setup-code)
12389 (python-skeleton-add-menu-items)
12390 (python-util-clone-local-variables, python-util-position)
12391 (run-python-internal, python-indentation-levels)
12392 (python-nav-beginning-of-defun)
12393 (python-completion-complete-at-point): New functions.
12394 (run-python): Change arguments. New API requirements.
12396 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12398 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
12401 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
12402 (macroexp--expand-all): Use it.
12404 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
12405 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
12406 Use `cl-function' instead.
12408 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
12410 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
12411 Suggested by Stefan Monnier while discussing bug#11657.
12413 2012-06-14 Sam Steingold <sds@gnu.org>
12415 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
12417 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
12419 * play/doctor.el (doctor-doc): Remove parameter and use
12420 doctor-sent instead of sent.
12421 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
12423 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12425 * files.el: Require cl-lib.
12426 (file-name-non-special): Replace case -> cl-case.
12428 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
12430 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
12431 mapping from #' to function*.
12433 2012-06-13 Chong Yidong <cyd@gnu.org>
12435 * mouse.el (mouse-drag-track): Do not set the mark if the user
12436 releases the mouse without selecting anything (Bug#11588).
12438 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12440 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
12441 as well (bug#11646).
12443 * loadup.el: Count byte-code functions as well.
12445 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
12446 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
12448 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
12449 (bug#11649). Add cl-defun and cl-defmacro.
12451 2012-06-13 Drew Adams <drew.adams@oracle.com>
12453 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12456 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
12458 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
12459 Otherwise, it blocks in batch mode.
12461 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
12463 * help-mode.el (bookmark-make-record-default): Declare.
12465 2012-06-13 Chong Yidong <cyd@gnu.org>
12467 * emacs-lisp/package.el (list-packages): Compute a list of
12468 packages that are newly-available since the last list-packages
12470 (package-menu--new-package-list): New var.
12471 (package-menu--generate, package-menu--print-info)
12472 (package-menu--status-predicate, package-menu-mark-install):
12473 Handle new status label "new".
12475 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12477 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
12478 conversion to backquotes.
12480 2012-06-12 Chong Yidong <cyd@gnu.org>
12482 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
12483 Rename from gud-inhibit-global-bindings.
12485 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
12487 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
12488 hook from nxml-glyph-set-hook.
12490 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
12493 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
12495 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
12496 Convert to defcustom.
12498 2012-06-12 Drew Adams <drew.adams@oracle.com>
12500 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12502 (help-mode): Use them.
12504 2012-06-11 Glenn Morris <rgm@gnu.org>
12506 * progmodes/fortran.el (fortran-font-lock-keywords-3):
12507 Use preprocessor face for directives.
12508 (fortran-directive-re): Doc fix.
12510 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12512 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
12513 conversion to backquotes (bug#11652).
12515 Fix compiler-expansion of CL's cXXr functions (bug#11673).
12516 * emacs-lisp/cl-lib.el (cl--defalias): New function.
12517 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
12518 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
12519 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12520 (cl-ninth, cl-tenth): Mark them as inlinable.
12521 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
12522 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
12523 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
12524 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
12525 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
12526 (cl-list*, cl-adjoin): Don't put an autoload manually.
12527 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
12528 (cl--compiler-macro-list*): Add autoload cookie.
12529 (cl--compiler-macro-cXXr): New function.
12531 * help-fns.el (help-fns--compiler-macro): New function extracted from
12532 describe-function-1; follow aliases and use `compiler-macro' property.
12533 (describe-function-1): Use it.
12535 2012-06-11 Chong Yidong <cyd@gnu.org>
12537 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
12538 is uninstalled, if imagemagick is installed.
12540 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12542 * emacs-lisp/cl-lib.el: Use lexical-binding.
12543 (cl-map-extents, cl-maclisp-member): Remove.
12544 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
12545 (cl--set-substring, cl--block-wrapper, cl--block-throw)
12546 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
12547 * emacs-lisp/cl-extra.el: Use lexical-binding.
12548 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
12549 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
12550 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
12551 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
12552 * emacs-lisp/cl-seq.el: Use lexical-binding.
12553 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
12554 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
12555 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
12556 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
12557 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
12560 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
12562 Sync with Tramp 2.2.6-pre.
12564 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
12565 `print-length' and `print-level' to nil, in order to avoid
12566 truncation. Reported by Christopher Schmidt
12567 <christopher@ristopher.com>.
12569 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
12571 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
12573 (tramp-compat-copy-directory): Add optional argument
12574 COPY-CONTENTS. It is not handled yet.
12576 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
12577 (tramp-ftp-file-name-p): Simplify.
12579 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
12580 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
12583 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
12584 (tramp-methods): Do not use `tramp-password-end-of-line'.
12585 (tramp-completion-function-alist-putty): Handle UNIX case.
12586 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
12587 (tramp-do-file-attributes-with-stat)
12588 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
12589 gid as real numbers. They could run out of integer range on cygwin.
12590 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
12591 (tramp-sh-handle-expand-file-name): Handle hops.
12592 (tramp-open-connection-setup-interactive-shell):
12593 Use `tramp-cleanup'. Move check for busyboxes ...
12594 (tramp-find-shell): ... here. Simplify implementation.
12595 Set "remote-shell" property also for alternative shells.
12596 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
12597 If failing, a regular file would be written otherwise.
12598 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
12599 (tramp-find-inline-encoding): Cache the coding commands in the
12600 process cache. Apply test command on the remote side, if defined.
12601 (tramp-find-inline-compress): Cache the compress commands in the
12603 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
12604 when requested. Handle hops.
12605 (tramp-current-connection): New defvar.
12606 (tramp-maybe-open-connection): Use `tramp-cleanup'.
12607 Throw `suppress', if there was a failed connection shortly before.
12608 Handle user interrupt. (Bug#10187)
12609 (tramp-get-inline-compress, tramp-get-inline-coding):
12610 Read connection properties from the process cache.
12612 * net/tramp-smb.el (tramp-smb-server-version)
12613 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
12615 (tramp-smb-prompt): Extend for powershell prompt.
12616 (tramp-smb-file-name-handler-alist): Add handlers for
12617 `process-file', `shell-command' and `start-file-process'.
12618 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
12619 (tramp-smb-winexe-shell-command-switch): New defcustoms.
12620 (tramp-smb-file-name-p): Simplify.
12621 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
12622 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
12623 (tramp-smb-shell-quote-argument): New defuns.
12624 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
12625 Implement using "tar". By this, time-stamps are preserved.
12626 (tramp-smb-handle-copy-file): Handle also the case of directories.
12627 (tramp-smb-do-file-attributes-with-stat)
12628 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
12629 Use `tramp-get-connection-buffer').
12630 (tramp-smb-handle-rename-file): Use "rename", when source and
12631 target are on the same share.
12632 (tramp-smb-maybe-open-connection): Handle wrong passwords.
12633 Use `tramp-smb-server-version'.
12634 (tramp-smb-wait-for-output): Remove prompt.
12636 * net/tramp.el (top): Require 'cl.
12637 (tramp-methods, tramp-rsh-end-of-line):
12638 Remove `tramp-password-end-of-line' from docstring.
12639 (tramp-save-ad-hoc-proxies): New defcustom.
12640 (tramp-completion-function-alist): Adapt docstring.
12641 (tramp-default-password-end-of-line): Remove defcustom.
12642 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
12643 (tramp-user-regexp, tramp-file-name-regexp-unified)
12644 (tramp-file-name-regexp-url): Extend regexp by hop separator.
12645 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
12646 (tramp-remote-file-name-spec-regexp): New defconst.
12647 (tramp-file-name-structure): Extend structure for hops.
12648 (tramp-get-method-parameter): Move up.
12649 (tramp-file-name-p, tramp-dissect-file-name)
12650 (with-parsed-tramp-file-name): Handle hops.
12651 (tramp-file-name-hop): New defun.
12652 (tramp-make-tramp-file-name): New optional arg HOP.
12653 (tramp-message-show-progress-reporter-message): New defvar.
12654 (tramp-with-progress-reporter): Use it. We cannot use
12655 `tramp-message-show-message' here, because this suppresses also
12657 (tramp-error-with-buffer): Suppress buffer view, if
12658 `tramp-message-show-message' is nil.
12659 Use `tramp-get-connection-buffer'.
12660 (tramp-cleanup): New defun.
12661 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
12662 (tramp-file-name-handler): If `debug-on-error' is set, propagate
12663 an error unchanged.
12664 (tramp-completion-handle-file-name-all-completions): Handle hops.
12665 Fix an error when called from ido.
12666 (tramp-completion-dissect-file-name): Use better local variable
12667 name. Add hop to the vector.
12668 (tramp-handle-insert-file-contents): Use progress-reporter for the
12670 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
12672 (tramp-check-for-regexp): Simplify search.
12673 (tramp-enter-password): Remove it. Move implementation ...
12674 (tramp-action-password): ... here.
12675 (tramp-mode-string-to-int, tramp-local-host-p)
12676 (tramp-make-tramp-temp-file, tramp-read-passwd)
12677 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
12678 Set tramp-autoload cookie.
12680 * net/trampver.el: Update release number.
12682 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12683 Michael Albinus <michael.albinus@gmx.de>
12685 * net/tramp.el (tramp-set-completion-function): Fix docstring.
12686 (tramp-parse-group, tramp-parse-file)
12687 (tramp-parse-shostkeys-sknownhosts): New defuns.
12688 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
12689 (tramp-parse-shosts-group, tramp-parse-sconfig)
12690 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
12691 (tramp-parse-sknownhosts, tramp-parse-hosts)
12692 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
12694 (tramp-parse-passwd-group, tramp-parse-netrc-group)
12695 (tramp-parse-putty-group): Don't narrow.
12696 (tramp-parse-putty): Make a loop.
12697 (tramp-file-name-handler): Catch the `suppress' signal.
12699 2012-06-11 Chong Yidong <cyd@gnu.org>
12701 * image.el (imagemagick-register-types): Put the ImageMagick entry
12702 at the end of image-type-file-name-regexps.
12704 2012-06-11 Johan BockgĂ¥rd <bojohan@gnu.org>
12706 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
12707 (pcase, pcase-let*, pcase-dolist): Use them.
12709 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12711 * emacs-lisp/pcase.el (pcase--let*): New function.
12712 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
12713 (pcase--expand): Use macroexp-let².
12715 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
12717 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
12718 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
12719 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
12720 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
12721 * emacs-lisp/derived.el: Use pcase instead of `cl'.
12722 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
12724 2012-06-10 Glenn Morris <rgm@gnu.org>
12726 * mail/rmail.el (rmail-yank-current-message): Leave point at
12727 correct position. (Bug#11660)
12729 2012-06-10 Chong Yidong <cyd@gnu.org>
12731 * allout-widgets.el: Fix code header.
12733 2012-06-10 Chong Yidong <cyd@gnu.org>
12735 * cus-edit.el (customize-changed-options-previous-release):
12738 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
12740 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
12742 2012-06-09 Chong Yidong <cyd@gnu.org>
12744 * ebuff-menu.el (electric-buffer-list): Preserve header line.
12746 2012-06-09 Martin Rudalics <rudalics@gmx.at>
12748 * window.el (special-display-popup-frame): Don't use
12749 window--display-buffer (Bug#11651).
12751 2012-06-09 Eli Zaretskii <eliz@gnu.org>
12753 Fix parallel builds: make sure loaddefs.el is not being written
12754 while Lisp files are compiled.
12755 (compile): Don't depend on 'mh-autoloads'.
12756 (compile-CMD, compile-SH): Depend on 'autoloads'.
12757 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
12759 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
12761 2012-06-09 Chong Yidong <cyd@gnu.org>
12763 * face-remap.el (face-remap-add-relative, face-remap-set-base)
12764 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
12765 Doc fixes (Bug#11225).
12767 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
12769 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
12770 a function if there's a clear indication that it has a compiler-macro.
12771 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
12772 (macro-declarations-alist): Add arglist to declaration functions.
12773 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
12774 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
12775 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
12776 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
12777 Also add autoload to find the compiler macro.
12778 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
12779 (cl--compiler-macro-member, cl--compiler-macro-assoc)
12780 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
12781 (cl--compiler-macro-get): New functions, replacing calls to
12782 cl-define-compiler-macro.
12783 (cl-typep) [compiler-macro]: Use macroexp-let².
12785 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
12787 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
12788 string properly, fixes Bug#11473.
12790 2012-06-08 Chong Yidong <cyd@gnu.org>
12792 * faces.el (set-face-attribute): Doc fix.
12793 (modify-face): Don't use :bold and :italic.
12794 (error, warning, success): Tweak definitions.
12796 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
12797 (custom-modified, custom-set, custom-changed, custom-themed)
12798 (custom-saved, custom-button, custom-button-mouse)
12799 (custom-button-pressed, custom-state, custom-comment-tag)
12800 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
12801 (custom-group-subtitle): Use new-style face specs.
12802 (custom-invalid-face, custom-rogue-face, custom-modified-face)
12803 (custom-set-face, custom-changed-face, custom-saved-face)
12804 (custom-button-face, custom-button-pressed-face)
12805 (custom-documentation-face, custom-state-face)
12806 (custom-comment-face, custom-comment-tag-face)
12807 (custom-variable-tag-face, custom-variable-button-face)
12808 (custom-face-tag-face, custom-group-tag-face-1)
12809 (custom-group-tag-face): Remove obsolete face alias.
12811 * epa.el (epa-validity-high, epa-validity-medium)
12812 (epa-validity-low, epa-mark, epa-field-name, epa-string)
12813 (epa-field-name, epa-field-body):
12814 * font-lock.el (font-lock-comment-face, font-lock-string-face)
12815 (font-lock-keyword-face, font-lock-builtin-face)
12816 (font-lock-function-name-face, font-lock-variable-name-face)
12817 (font-lock-type-face, font-lock-constant-face):
12818 * ido.el (ido-first-match, ido-only-match, ido-subdir)
12819 (ido-virtual, ido-indicator, ido-incomplete-regexp):
12820 * speedbar.el (speedbar-button-face, speedbar-file-face)
12821 (speedbar-directory-face, speedbar-tag-face)
12822 (speedbar-selected-face, speedbar-highlight-face)
12823 (speedbar-separator-face):
12824 * whitespace.el (whitespace-newline, whitespace-space)
12825 (whitespace-hspace, whitespace-tab, whitespace-trailing)
12826 (whitespace-line, whitespace-space-before-tab)
12827 (whitespace-space-after-tab, whitespace-indentation)
12828 (whitespace-empty):
12829 * emulation/cua-base.el (cua-global-mark):
12830 * eshell/em-prompt.el (eshell-prompt):
12831 * net/newst-plainview.el (newsticker-new-item-face)
12832 (newsticker-old-item-face, newsticker-immortal-item-face)
12833 (newsticker-obsolete-item-face, newsticker-date-face)
12834 (newsticker-statistics-face, newsticker-default-face):
12835 * net/newst-reader.el (newsticker-feed-face)
12836 (newsticker-extra-face, newsticker-enclosure-face):
12837 * net/newst-treeview.el (newsticker-treeview-face)
12838 (newsticker-treeview-new-face, newsticker-treeview-old-face)
12839 (newsticker-treeview-immortal-face)
12840 (newsticker-treeview-obsolete-face)
12841 (newsticker-treeview-selection-face):
12842 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
12843 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
12844 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
12845 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
12846 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
12847 (nxml-outline-active-indicator, nxml-outline-ellipsis):
12848 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
12850 * progmodes/vera-mode.el (vera-font-lock-number)
12851 (vera-font-lock-function, vera-font-lock-interface):
12852 * textmodes/table.el (table-cell): Use new-style face specs, and
12853 don't use the old :bold and :italic attributes.
12855 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
12856 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
12857 (ebrowse-member-class, ebrowse-progress): Likewise.
12858 (ebrowse-tree-mark-face, ebrowse-root-class-face)
12859 (ebrowse-file-name-face, ebrowse-default-face)
12860 (ebrowse-member-attribute-face, ebrowse-member-class-face)
12861 (ebrowse-progress-face): Remove obsolete faces.
12863 * progmodes/flymake.el (flymake-errline, flymake-warnline):
12864 Inherit from error and warning faces respectively.
12866 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
12868 (flyspell-incorrect-face, flyspell-duplicate-face):
12869 Remove obsolete aliases.
12871 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
12873 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12876 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12878 * startup.el (argv, argi): Make lexically scoped.
12879 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
12880 * emacs-lisp/cl-macs.el: Use lexical-binding.
12881 Rename cl-bind-* to cl--bind-*.
12882 * files.el: Don't require `cl' since it doesn't use it.
12883 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
12885 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
12887 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
12888 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
12889 instead of calling external sort utility.
12890 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
12892 2012-06-08 Eli Zaretskii <eliz@gnu.org>
12894 * descr-text.el (describe-char): Mention how to insert the
12895 character, if the current input method doesn't support it.
12896 See the discussion in this thread for the details:
12897 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
12899 2012-06-08 Sam Steingold <sds@gnu.org>
12901 * bindings.el (global-map): Bind XF86Forward to next-buffer and
12902 XF86Back to previous-buffer.
12903 (minibuffer-local-map): Bind them to next-history-element and
12904 previous-history-element respectively.
12905 * help-mode.el (help-mode-map): Bind them to help-go-forward and
12906 help-go-back respectively.
12907 * info.el (Info-mode-map): Bind them to Info-history-forward and
12908 Info-history-back respectively.
12909 These are the keys next to Up on the ThinkPad keyboard.
12911 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12913 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
12914 * emacs-lisp/cl-macs.el: Provide itself.
12915 (cl--labels-convert-cache): New var.
12916 (cl--labels-convert): New function.
12917 (cl-flet, cl-labels): New implementation with new semantics, relying on
12919 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
12920 (cl-closure-vars, cl--function-convert-cache)
12921 (cl--function-convert): Move from cl-macs.el.
12922 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
12923 rename by removing the "cl-" prefix.
12924 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
12926 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12928 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
12929 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
12930 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
12931 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
12932 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
12933 (cl-hash-table-count): Add old compatibility aliases.
12935 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
12936 Use macroexpand-all-environment instead.
12937 (cl--old-macroexpand): New var.
12938 (cl--sm-macroexpand): New function.
12939 (cl-symbol-macrolet): Use it during macro expansion.
12940 (cl--function-convert-cache): New var.
12941 (cl--function-convert): New function, extracted from
12942 cl-macroexpand-all.
12943 (cl-lexical-let): Use it.
12945 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
12946 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
12947 (cl-member): Remove old alias.
12949 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
12950 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
12951 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
12952 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
12953 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
12954 (cl-macroexpand-cmacs): Remove var.
12955 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
12956 Use macroexpand-all instead.
12958 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12960 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
12961 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
12962 (macroexp-copyable-p): New functions and macros.
12963 * emacs-lisp/edebug.el (edebug-unwrap):
12964 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
12965 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
12966 (pcase--let*): Remove.
12967 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
12968 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
12969 macroexp-const-p instead.
12970 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
12972 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
12973 instead of "cl-" for internal definitions. Use macroexp-const-p.
12974 (cl-old-bc-file-form): Remove var.
12975 (cl-const-exprs-p): Remove fun.
12976 (cl-labels, cl-macrolet): Use backquote.
12977 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
12978 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
12979 (cl-define-setf-expander): Rename from cl-define-setf-method.
12980 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
12982 * international/mule-cmds.el: Don't require CL.
12983 (view-hello-file): Don't use `letf'.
12985 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12987 * tmm.el (tmm-prompt): Use string-prefix-p.
12988 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
12989 (tmm-add-prompt): Use minibuffer-completion-help.
12990 (tmm-delete-map): Remove.
12992 * subr.el (kbd): Make it its own function.
12994 2012-06-07 Stefan Merten <smerten@oekonux.de>
12996 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
12997 Silence compiler warnings. Fix versions.
12998 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
12999 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
13000 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
13001 (rst-package-emacs-version-alist): Correct Emacs version to
13002 represent major merge with upstream.
13003 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
13005 2012-06-06 Glenn Morris <rgm@gnu.org>
13007 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
13008 Only print environment variables if set.
13010 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13012 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
13013 (macroexp--cons): Rename from maybe-cons.
13014 (macroexp--accumulate): Rename from macroexp-accumulate.
13015 (macroexp--all-forms): Rename from macroexpand-all-forms.
13016 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
13017 (macroexp--expand-all): Rename from macroexpand-all-1.
13019 2012-06-06 Sam Steingold <sds@gnu.org>
13021 * calendar/calendar.el (calendar-in-read-only-buffer):
13022 Call `special-mode' to enable the standard read-only keybindings.
13024 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13026 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
13027 with "loading" messages (bug#11635).
13029 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
13031 * files.el (enable-remote-dir-locals): New option.
13032 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
13034 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13035 Ensure, that the temp directory is local.
13037 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
13038 `temporary-file-directory'.
13040 * progmodes/python.el (python-send-region): Ensure, that the
13041 temporary file is created also in the remote case.
13043 2012-06-06 Glenn Morris <rgm@gnu.org>
13045 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
13046 (vc-rcs-update-changelog): Use it.
13048 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
13050 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
13051 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
13052 (vc-sccs-diff): Replace use of the external vcdiff script.
13054 2012-06-05 Glenn Morris <rgm@gnu.org>
13056 * ledit.el: Move to obsolete/.
13058 2012-06-05 Sam Steingold <sds@gnu.org>
13060 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
13063 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13065 * emacs-lisp/cust-print.el: Move to obsolete.
13067 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
13068 compiler-macro expansion.
13070 Add native compiler-macro support.
13071 * emacs-lisp/macroexp.el (macroexpand-all-1):
13072 Support compiler-macros directly. Properly follow aliases and apply
13073 the compiler macros more thoroughly.
13074 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
13075 macroexpand now properly follows aliases.
13076 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
13077 (cl-compiler-macroexpand): Use new prop.
13078 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
13080 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
13082 2012-06-05 Martin Rudalics <rudalics@gmx.at>
13084 * window.el (get-lru-window, get-mru-window, get-largest-window):
13085 New argument NOT-SELECTED to avoid picking the selected window.
13086 (window--display-buffer-1, window--display-buffer-2): Replace by
13087 new function window--display-buffer
13088 (display-buffer-same-window, display-buffer-reuse-window)
13089 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13090 Use window--display-buffer.
13091 (display-buffer-use-some-window): Remove temporary dedication
13092 hack by calling get-lru-window and get-largest-window with
13093 NOT-SELECTED argument non-nil. Call window--display-buffer.
13095 2012-06-05 Glenn Morris <rgm@gnu.org>
13097 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
13098 Replace external vcdiff script.
13100 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13102 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
13104 2012-06-04 Chong Yidong <cyd@gnu.org>
13106 * image.el (imagemagick-types-inhibit): Revert last change.
13108 (imagemagick-enabled-types): Remove CIN and EPS*.
13110 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13112 * emacs-lisp/cl-lib.el: Rename from cl.el.
13113 * emacs-lisp/cl.el: New compatibility file.
13114 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
13115 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
13116 to obey the "cl-" prefix.
13117 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
13119 2012-06-03 Glenn Morris <rgm@gnu.org>
13121 * emacs-lisp/authors.el (authors-aliases): Addition.
13123 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
13126 2012-06-03 Stefan Merten <smerten@oekonux.de>
13128 * textmodes/rst.el: Add comments.
13129 (rst-transition, rst-adornment): New faces.
13130 (rst-adornment-faces-alist): Make default safe to reevaluate.
13132 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
13133 Improve customization tags.
13134 (rst-define-level-faces): Clarify meaning.
13136 2012-06-03 Chong Yidong <cyd@gnu.org>
13138 * progmodes/compile.el (compilation-mode-line-fail)
13139 (compilation-mode-line-run, compilation-mode-line-exit):
13141 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
13143 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
13145 * progmodes/which-func.el (which-func-update-ediff-windows):
13146 New function. Use it in ediff-select-hook (Bug#11478).
13148 2012-06-03 Chong Yidong <cyd@gnu.org>
13150 * bindings.el: Remove explicit help text from format-mode-line.
13151 It is now supplied by mode-line-default-help-echo.
13152 (mode-line-front-space, mode-line-end-spaces)
13153 (mode-line-misc-info): New variables.
13154 (mode-line-modes, mode-line-position): Move the default value to
13155 the variable definition.
13156 (mode-line-default-help-echo): New defcustom.
13157 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
13158 (mode-line-modified-help-echo): New functions.
13159 (mode-line-mule-info, mode-line-modified): Use them.
13160 (mode-line-eol-desc, propertized-buffer-identification):
13161 Consistency fixes for help text.
13162 (mode-line-coding-system-map): Allow using mouse-3 to invoke
13163 set-buffer-file-coding-system (Bug#289).
13164 (mode-line-mule-info-help-echo): Update help text.
13166 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13168 * simple.el (execute-extended-command): Set real-this-command
13171 2012-06-02 Chong Yidong <cyd@gnu.org>
13173 Remove incorrect uses of "modeline" in comments, docstrings, and
13174 function/variable names (Bug#10329).
13176 * cus-edit.el (mode-line):
13177 * dframe.el (dframe-mouse-hscroll):
13178 * emacs-lisp/re-builder.el:
13179 * emacs-lisp/easy-mmode.el (define-minor-mode):
13180 * frame.el (set-frame-name):
13181 * help.el (lookup-minor-mode-from-indicator):
13182 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
13183 * progmodes/cc-cmds.el (c-toggle-auto-newline)
13184 (c-toggle-hungry-state):
13185 * progmodes/antlr-mode.el (antlr-language-alist):
13186 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
13187 * progmodes/vhdl-mode.el (vhdl-mode):
13188 * progmodes/which-func.el (which-func, which-func-cleanup-function):
13189 * term/ns-win.el (ns-face-at-pos):
13190 * term/sup-mouse.el (sup-mouse-report):
13191 * textmodes/flyspell.el (flyspell-mode-line-string):
13192 * textmodes/ispell.el (ispell-highlight-face):
13193 * textmodes/reftex-global.el:
13194 * vc/vc-arch.el (vc-arch-mode-line-string):
13195 * vc/vc-cvs.el (vc-cvs-mode-line-string):
13196 * vc/vc-git.el (vc-git-mode-line-string):
13197 * vc/vc-hooks.el (vc-display-status)
13198 (vc-default-mode-line-string):
13199 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
13201 * ansi-color.el (ansi-color-faces-vector): Change default faces.
13203 * dired.el (dired-sort-set-mode-line): Rename from
13204 dired-sort-set-modeline. All callers changed.
13206 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
13207 eshell-status-in-modeline.
13209 * foldout.el (foldout-mode-line-string): Rename from
13210 foldout-modeline-string. All callers changed.
13211 (foldout-update-mode-line): Rename from foldout-update-modeline.
13213 * subr.el (redraw-modeline): Make into obsolete alias.
13215 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
13216 timeclock-modeline-display. Make old name an alias.
13217 (timeclock-update-mode-line): Likewise. All callers changed.
13218 (timeclock-mode-line-display): No need to check before using
13220 (timeclock-relative, timeclock-day-over-hook)
13221 (timeclock-use-elapsed, timeclock-mode-string)
13222 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
13224 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
13225 crisp-mode-modeline-string.
13227 * play/solitaire.el (solitaire-build-mode-line): Rename from
13228 solitaire-build-modeline. All callers changed.
13230 * play/zone.el (zone-hiding-mode-line): Rename from
13231 zone-hiding-modeline. All callers changed.
13232 (zone): Remove unusued `modeline-hidden-level' property.
13234 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
13235 xscheme-modeline-initialize. All callers changed.
13237 * strokes.el (strokes-lighter): Rename from
13238 strokes-modeline-string.
13240 * textmodes/sgml-mode.el (html-face-tag-alist)
13241 (html-tag-face-alist): Use mode-line face instead of obsolete
13244 2012-06-02 Stefan Merten <smerten@oekonux.de>
13246 * textmodes/rst.el: Always require `cl'.
13247 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
13249 2012-06-02 Chong Yidong <cyd@gnu.org>
13251 * image.el (imagemagick-enabled-types): Rename from
13252 imagemagick-types-enable. Add many more types.
13253 (imagemagick-types-inhibit): Change default to nil.
13254 (imagemagick-filter-types): Caller changed.
13256 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13258 * emacs-lisp/cl-macs.el: Use backquotes.
13259 (cl-transform-function-property): Use eval-and-compile rather than
13261 (defstruct): Use declare-function instead of with-no-warnings.
13263 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
13264 (byte-compile-output-docform): Re-add the print-circle bindings.
13265 (byte-compile-fix-header): Use #$ just because it's shorter.
13266 (byte-compile-output-file-form): Remove defun/defmacro.
13268 2012-06-01 Martin Rudalics <rudalics@gmx.at>
13270 * simple.el (choose-completion): Remove now obsolete binding for
13273 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
13275 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
13276 in order to avoid "Stack overflow in regexp matcher".
13278 2012-05-31 Glenn Morris <rgm@gnu.org>
13280 * image.el: For clarity, call imagemagick-register-types at
13281 top-level, rather than relying on a custom :initialize.
13282 (imagemagick-types-enable): New option. (Bug#11557)
13283 (imagemagick-filter-types): New function. (Bug#7406)
13284 (imagemagick-register-types): Use imagemagick-filter-types.
13285 If disabling support, remove elements altogether rather
13286 than using an impossible regexp.
13287 (imagemagick-types-inhibit): Give it the default init function.
13289 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13291 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
13292 Handle arbitrary file name lengths (Bug#11585).
13294 2012-05-31 Martin Rudalics <rudalics@gmx.at>
13296 * desktop.el (desktop-read): Clear previous and next buffers for
13297 all windows and bury *Messages* buffer (bug#11556).
13299 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13301 Add `declare' for `defun'. Align `defmacro's with it.
13302 * emacs-lisp/easy-mmode.el (define-minor-mode)
13303 (define-globalized-minor-mode): Don't autoload the var definitions.
13304 * emacs-lisp/byte-run.el: Use lexical-binding.
13305 (defun-declarations-alist, macro-declarations-alist): New vars.
13306 (defmacro, defun): Use them.
13307 (make-obsolete, define-obsolete-function-alias)
13308 (make-obsolete-variable, define-obsolete-variable-alias):
13310 (macro-declaration-function): Mark obsolete.
13311 * emacs-lisp/autoload.el: Use lexical-binding.
13312 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
13314 2012-05-30 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
13316 * textmodes/ispell.el (ispell-with-no-warnings):
13318 (ispell-kill-ispell, ispell-change-dictionary):
13319 Use `called-interactively-p' for Emacs instead of obsolete
13322 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13324 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
13325 (macro-declaration-function): Move var from C code.
13326 (macro-declaration-function): Define function with defalias.
13327 * emacs-lisp/macroexp.el (macroexpand-all-1):
13328 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
13329 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
13330 defun/defmacro any more.
13331 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
13332 Provide fallback for unknown arglist.
13333 (byte-compile-arglist-warn): Change calling convention.
13334 (byte-compile-output-file-form): Move print-vars binding.
13335 (byte-compile-output-docform): Simplify accordingly.
13336 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
13337 (byte-compile-defmacro-declaration): Remove.
13338 (byte-compile-file-form-defmumble): Generalize to defalias.
13339 (byte-compile-output-as-comment): Return byte-positions.
13340 Simplify callers accordingly.
13341 (byte-compile-lambda): Use `assert'.
13342 (byte-compile-defun, byte-compile-defmacro): Remove.
13343 (byte-compile-file-form-defalias):
13344 Use byte-compile-file-form-defmumble.
13345 (byte-compile-defalias-warn): Remove.
13347 2012-05-29 Stefan Merten <smerten@oekonux.de>
13349 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
13350 possible. Fix authors. Improve comments. Improve loading of `cl'.
13352 (rst-mode-abbrev-table): Merge definition.
13353 (rst-mode): Make sure `font-lock-defaults' is buffer local.
13354 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
13356 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
13358 * calendar/icalendar.el
13359 (icalendar-export-region): Export UID properly.
13361 2012-05-29 Leo Liu <sdl.web@gmail.com>
13362 * calendar/icalendar.el (icalendar-import-format):
13363 Add `icalendar-import-format-uid' (Bug#11525).
13364 (icalendar-import-format-uid): New.
13365 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
13368 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13370 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
13371 different alternative patterns.
13372 (pcase-codegen): Be more careful to preserve identity.
13373 (pcase--u1): Don't forget to mark vars as used.
13375 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
13376 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
13377 (byte-compile-from-buffer): ...rather than here.
13379 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
13380 functions from byte-compile-function-environment.
13382 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
13384 * window.el (window-deletable-p): Avoid deleting the root window
13385 of a frame with an active minibuffer.
13387 2012-05-29 Martin Rudalics <rudalics@gmx.at>
13389 * simple.el (choose-completion): Use quit-window (Bug#11567).
13391 2012-05-29 Chong Yidong <cyd@gnu.org>
13393 * whitespace.el (whitespace-cleanup): Fix usage of
13394 whitespace-empty-at-bob-regexp (Bug#11492).
13396 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13398 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
13399 revert (Bug#11488).
13401 2012-05-29 Juri Linkov <juri@jurta.org>
13403 * isearch.el (isearch-mode-map): Bind `M-s _' to
13404 `isearch-toggle-symbol'. Bind `M-s c' to
13405 `isearch-toggle-case-fold'.
13406 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
13407 (isearch-forward): Add `M-s _' to the docstring.
13408 (isearch-forward-symbol, isearch-toggle-case-fold)
13409 (isearch-symbol-regexp): New functions. (Bug#11381)
13411 2012-05-29 Juri Linkov <juri@jurta.org>
13413 * isearch.el (isearch-word): Add docstring. (Bug#11381)
13414 (isearch-occur, isearch-search-and-update): If `isearch-word' is
13415 a function, call it to get the regexp.
13416 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
13417 property `isearch-message-prefix' instead of the string "word ".
13418 (isearch-search-fun-default): For the case of `isearch-word',
13419 return a lambda that calls re-search-forward/re-search-backward
13420 with a regexp returned by `word-search-regexp' or by the function
13423 2012-05-29 Juri Linkov <juri@jurta.org>
13425 * isearch.el (isearch-search-fun-default): New function.
13426 (isearch-search-fun): Move default part to the new function
13427 `isearch-search-fun-default'.
13428 (isearch-search-fun-function): Set the default value to
13429 `isearch-search-fun-default'. (Bug#11381)
13431 * comint.el (comint-history-isearch-end):
13432 Use `isearch-search-fun-default'.
13433 (comint-history-isearch-search): Use `isearch-search-fun-default'
13434 and remove spacial case for `isearch-word'.
13435 (comint-history-isearch-wrap): Remove spacial case for
13438 * hexl.el (hexl-isearch-search-function):
13439 Use `isearch-search-fun-default'.
13441 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
13442 Use `word-search-regexp' for `isearch-word'.
13444 * misearch.el (multi-isearch-search-fun):
13445 Use `isearch-search-fun-default'.
13447 * simple.el (minibuffer-history-isearch-search):
13448 Use `isearch-search-fun-default' and remove spacial case for
13450 (minibuffer-history-isearch-wrap): Remove spacial case for
13453 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
13454 Remove spacial case for `isearch-word'.
13455 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
13457 2012-05-28 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
13459 Decrease XEmacs incompatibilities.
13460 * textmodes/flyspell.el (flyspell-check-pre-word-p):
13461 Use `string-match'.
13462 (flyspell-delete-region-overlays): Use alternative definition for
13464 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
13465 (flyspell-word): Use `process-kill-without-query' if XEmacs.
13466 (flyspell-mode-on): Use `interactive-p' if XEmacs.
13467 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
13468 `define-obsolete-face-alias' under XEmacs, but old method.
13470 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
13471 `with-no-warnings' definition or Emacs alias.
13472 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
13473 (ispell-word): Do not use `region-p' if XEmacs.
13475 2012-05-28 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
13477 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
13478 Check for `ispell-dictionary-base-alist' instead of full
13479 `ispell-dictionary-alist'.
13480 (ispell-init-process): Show spellchecker when starting new Ispell
13483 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13485 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
13486 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
13488 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
13490 * version.el (motif-version-string, gtk-version-string)
13491 (ns-version-string): Declare.
13493 2012-05-27 Juri Linkov <juri@jurta.org>
13495 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
13496 after the `eval-defun-1' specialcaseing
13497 like in `edebug-eval-defun' (bug#10181).
13499 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
13500 like in `eval-defun-1'.
13502 2012-05-27 Eli Zaretskii <eliz@gnu.org>
13504 * mail/sendmail.el (mail-yank-region):
13505 Recognize rmail-yank-current-message in addition to insert-buffer.
13506 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
13507 a *mail* buffer created through rmail-start-mail with sendmail as
13510 2012-05-27 Chong Yidong <cyd@gnu.org>
13512 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
13513 Default to 256 (Bug#11267).
13515 * help.el (describe-mode): Doc fix.
13517 2012-05-26 Glenn Morris <rgm@gnu.org>
13519 * w32-fns.el (w32-init-info): Remove.
13520 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
13522 * info.el (info-initialize): For self-contained NS builds, put the
13523 included info/ directory at the front. (Bug#2791)
13525 * paths.el (Info-default-directory-list): Make it a defcustom,
13526 mainly so that we can use custom-initialize-delay.
13528 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
13530 * subr.el (buffer-has-markers-at): Mark obsolete.
13532 * subr.el (lambda): Use declare.
13534 * emacs-lisp/lisp-mode.el (lambda):
13535 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
13537 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13539 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
13541 2012-05-26 Glenn Morris <rgm@gnu.org>
13543 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
13545 2012-05-25 Glenn Morris <rgm@gnu.org>
13547 * paths.el: Remove no-byte-compile.
13548 * loadup.el: No need to load paths.el uncompiled.
13550 * image.el (imagemagick-types-inhibit): Doc fix.
13552 * version.el: Remove no-byte-compile and associated formatting.
13553 * loadup.el: No need to load version.el uncompiled. AFAICS, this
13554 is ancient code from when there was an "inc-vers.el".
13556 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13558 * progmodes/gdb-mi.el: Minor style changes.
13559 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
13560 Turn into minor modes.
13561 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
13562 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
13563 (gdb-shell): Remove unneeded let-binding.
13564 (gdb-get-many-fields): Eliminate O(n²) behavior.
13566 2012-05-25 Eli Zaretskii <eliz@gnu.org>
13568 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
13569 platforms that don't link in fontset.c.
13571 2012-05-25 Juri Linkov <juri@jurta.org>
13573 Use the same diff color scheme as in modern VCSes (bug#10181).
13575 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
13576 to avoid confusion with `diff-added' that now uses green colors.
13577 (diff-removed): Use shades of red.
13578 (diff-added): Use shades of green.
13579 (diff-changed): Leave just the yellow color.
13580 (diff-use-changed-face): New variable.
13581 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
13582 how to highlight context diff changes.
13583 (diff-refine-change): Use shades of yellow.
13584 (diff-refine-removed): New face that uses shades of red.
13585 (diff-refine-added): New face that uses shades of green.
13586 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
13587 `diff-refine-removed' in the call to `smerge-refine-subst'
13588 depending on the value of `diff-use-changed-face'.
13590 * vc/smerge-mode.el (smerge-mine): Use shades of red.
13591 (smerge-other): Use shades of green.
13592 (smerge-base): Use shades of yellow.
13593 (smerge-refined-change): Empty face.
13594 (smerge-refined-removed): New face that uses shades of red.
13595 (smerge-refined-added): New face that uses shades of green.
13596 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
13597 args `props-r' and `props-a', and use them. Doc fix.
13598 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
13599 on its value use different faces `smerge-refined-change',
13600 `smerge-refined-removed', `smerge-refined-added' in the call to
13601 `smerge-refine-subst'.
13603 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
13604 Add face condition `min-colors 88' with shades of red.
13605 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
13606 `min-colors 88' with shades of green.
13607 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
13608 `min-colors 88' with shades of yellow.
13610 2012-05-24 Glenn Morris <rgm@gnu.org>
13612 * paths.el (prune-directory-list, remote-shell-program): Move to...
13613 * files.el (prune-directory-list, remote-shell-program): ...here.
13614 For the latter, delay initialization, prefer ssh, just search PATH.
13616 * paths.el (term-file-prefix): Move to faces.el (the only user).
13617 * faces.el (term-file-prefix): Move here, make it a defcustom.
13619 * paths.el (news-directory, news-path, news-inews-program):
13620 Move to gnus/nnspool.el.
13622 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
13624 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
13625 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
13626 Make the latter a defcustom, with a delayed initialization.
13628 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
13629 These were deleted from Gnus itself late 2010.
13631 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
13633 * progmodes/which-func.el (which-func-ff-hook):
13634 Check against user-error, not error.
13636 * emacs-lisp/edebug.el (top): Do not load or set up loading of
13637 cl-specs.el, which no longer exists.
13639 2012-05-22 Glenn Morris <rgm@gnu.org>
13641 * info.el (info-emacs-bug): New command.
13642 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
13643 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
13645 2012-05-21 Glenn Morris <rgm@gnu.org>
13647 * makefile.w32-in (update-subdirs-SH):
13648 * Makefile.in (update-subdirs): Update for moved update-subdirs.
13650 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13652 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
13654 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13655 Simplify Maven regexp, and make sure the file can't start with a space
13658 2012-05-21 Glenn Morris <rgm@gnu.org>
13660 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
13661 Scrap superfluous subshells.
13663 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
13665 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
13666 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
13668 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
13670 * calc/calc.el (calc-ensure-consistent-units): New variable.
13672 * calc/calc-units.el (math-consistent-units-p)
13673 (math-check-unit-consistency): New functions.
13674 (calc-quick-units, calc-convert-units):
13675 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
13677 (calc-extract-units): Fix typo.
13679 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13681 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
13683 * textmodes/flyspell.el: Commenting style, plus code simplifications.
13684 (flyspell-default-deplacement-commands): Don't spell check after
13685 repeated window/frame switches (e.g. triggered by mouse-movement).
13686 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
13687 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
13688 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
13689 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
13690 Remove unused vars.
13691 (flyspell-get-casechars, flyspell-get-not-casechars):
13692 Simplify; Don't bother removing a ] just to add it back.
13693 * textmodes/ispell.el (ispell-program-name): Use executable-find.
13695 2012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
13697 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
13699 (math-function-table): Add support for more C functions.
13701 2012-05-18 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
13703 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13704 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13705 Protect delay handling for otherchars against empty otherchars.
13707 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13709 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
13710 their respective macro declarations.
13711 * skeleton.el (define-skeleton):
13712 * progmodes/compile.el (define-compilation-mode):
13713 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
13714 (define-ibuffer-filter):
13715 * emacs-lisp/generic.el (define-generic-mode):
13716 * emacs-lisp/easy-mmode.el (define-minor-mode)
13717 (define-globalized-minor-mode):
13718 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
13719 * emacs-lisp/byte-run.el (defsubst):
13720 * custom.el (deftheme): Add doc-string metadata.
13722 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13724 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
13726 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13728 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
13730 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
13731 * emacs-lisp/cl-macs.el: Idem.
13732 * emacs-lisp/cl-specs.el: Remove.
13734 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13736 Minor renaming of internal CL functions and variables.
13737 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
13738 (cl--position): Rename from cl-position.
13739 (cl--delete-duplicates): Rename from cl-delete-duplicates.
13740 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
13741 (cl--random-state): Rename from *random-state*.
13743 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13745 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
13746 parens around the arg list (bug#11499).
13748 2012-05-17 Juri Linkov <juri@jurta.org>
13750 * isearch.el (word-search-regexp, word-search-backward)
13751 (word-search-forward, word-search-backward-lax)
13752 (word-search-forward-lax): Move functions from search.c
13753 (bug#10145, bug#11381).
13755 2012-05-16 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
13757 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13758 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13759 Delay for otherchars as for normal word components.
13761 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13763 * minibuffer.el (completion--sifn-requote): Fix last change.
13764 (minibuffer-local-must-match-filename-map):
13765 Move define-obsolete-variable-alias before its var.
13767 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13769 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
13771 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
13773 (completion--string-equal-p): New function.
13774 (completion--twq-all): Use it to get better assertion failure data.
13776 Only handle ".." and '..' quoting in shell-mode (bug#11466).
13777 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
13778 (shell--requote-argument): New functions.
13779 (shell-completion-vars): Use them.
13780 (shell--parse-pcomplete-arguments): Rename from
13781 shell-parse-pcomplete-arguments.
13782 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
13783 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
13784 Obey comint-file-name-quote-list.
13786 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
13787 (smie-indent-keyword): Use it.
13789 2012-05-14 Stefan Merten <smerten@oekonux.de>
13791 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
13793 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13795 * net/rlogin.el (rlogin-mode-map): Fix last change.
13797 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
13799 * mail/smtpmail.el (smtpmail-send-command): Send the command and
13800 the following \r\n using a single `process-send-string', since the
13801 Lotus SMTP server refuses to accept any commands if they are sent
13802 with two `process-send-string's (Bug#11444).
13804 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13806 * shell.el (shell-parse-pcomplete-arguments):
13807 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
13809 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13811 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
13812 (image-transform-scale, image-transform-right-angle-fudge): New vars.
13813 (image-transform-width, image-transform-fit-width): New functions.
13814 (image-transform-properties): Use them.
13815 (image-transform-check-size): New function.
13816 (image-toggle-display-image): Use it (for testing).
13817 (image-transform-set-rotation): Reduce angle mod 360.
13818 Delete obsolete comment.
13820 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13822 * image-mode.el: Fix scaling (bug#11399).
13823 (image-transform-resize): Doc fix.
13824 (image-transform-properties): Default scale is 1 and height should
13827 2012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
13829 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
13830 than hard-coding `car', to fix misbehavior when moving forward.
13832 2012-05-13 Chong Yidong <cyd@gnu.org>
13834 * emacs-lisp/tabulated-list.el (tabulated-list-format)
13835 (tabulated-list-entries, tabulated-list-padding)
13836 (tabulated-list-sort-key): Make permanent-local.
13838 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
13839 (electric-buffer-list): Put electric buffer menu
13840 command descriptions in this docstring, instead of the docstring
13841 of electric-buffer-menu-mode. Code cleanups.
13842 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
13843 Electric-buffer-menu-mode.
13844 (electric-buffer-update-highlight): Minor code cleanup.
13846 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
13848 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
13851 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13853 Move define-obsolete-variable-alias before the var's definition.
13854 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
13855 * tooltip.el (tooltip-hook):
13856 * textmodes/reftex-toc.el (reftex-toc-map):
13857 * textmodes/reftex-sel.el (reftex-select-label-map)
13858 (reftex-select-bib-map):
13859 * textmodes/reftex-index.el (reftex-index-map)
13860 (reftex-index-phrases-map):
13861 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
13862 * progmodes/meta-mode.el (meta-mode-map):
13863 * novice.el (disabled-command-hook):
13864 * loadhist.el (unload-hook-features-list):
13865 * frame.el (blink-cursor):
13866 * files.el (find-file-not-found-hooks, write-file-hooks)
13867 (write-contents-hooks):
13868 * emulation/tpu-edt.el (GOLD-map):
13869 * emacs-lock.el (emacs-lock-from-exiting):
13870 * emacs-lisp/generic.el (generic-font-lock-defaults):
13871 * emacs-lisp/chart.el (chart-map):
13872 * dos-fns.el (register-name-alist):
13873 * dired-x.el (dired-omit-files-p):
13874 * desktop.el (desktop-enable):
13875 * cus-edit.el (custom-mode-hook):
13876 * buff-menu.el (buffer-menu-mode-hook):
13877 * bookmark.el (bookmark-read-annotation-text-func)
13878 (bookmark-exit-hooks):
13879 * allout.el (allout-mode-deactivate-hook)
13880 (allout-exposure-change-hook, allout-structure-added-hook)
13881 (allout-structure-deleted-hook, allout-structure-shifted-hook):
13882 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
13883 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
13884 comes before the corresponding variable's definition.
13886 2012-05-12 Chong Yidong <cyd@gnu.org>
13888 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
13889 (Buffer-menu-mouse-select): Restore function (Bug#11459).
13890 (Buffer-menu-mode-map): Bind it.
13891 (Buffer-menu--pretty-name): Add a mouse-face property.
13893 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
13895 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
13896 (prolog-upper-case-string, prolog-lower-case-string)
13897 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
13898 (prolog-use-smie, prolog-smie-grammar): New vars.
13899 (prolog-smie-forward-token, prolog-smie-backward-token)
13900 (prolog-smie-rules): New funs.
13901 (prolog-comment-indent): Remove.
13902 (prolog-mode-variables): Use default comment indentation instead.
13904 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
13905 (prolog-mode): Don't call them any more.
13906 (prolog-electric-colon, prolog-electric-dash)
13907 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
13909 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
13911 * minibuffer.el (completion--twq-all): Again, allow case differences.
13913 * term.el: Move keymap initialization code to be more idiomatic.
13914 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
13915 (term-terminal-menu): Move initialization into declaration.
13916 (term-escape-char): Let the user set it in her .emacs.
13918 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
13919 Provide SMIE-based indentation (not enabled by default yet).
13920 (sh-mode-map): Don't bind electric keys.
13921 Use electric-pair-mode instead of skeleton-pair.
13922 (sh-assignment-regexp): Fit within 80 columns.
13923 (sh-indent-supported): Specify actual shell name instead of boolean.
13924 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
13925 (sh-maybe-here-document): Use it. Make obsolete.
13926 (sh-electric-here-document-mode) New minor mode.
13927 (sh-mode): Use it. Don't set sh-indent-supported-here here.
13928 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
13929 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
13930 (sh-smie-rc-grammar, sh-use-smie): New vars.
13931 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
13932 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
13933 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
13934 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
13935 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
13936 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
13937 (sh-set-shell): Use smie-setup if requested.
13939 * term.el (term-set-escape-char): Properly set term-escape-char.
13940 See http://stackoverflow.com/questions/10524656.
13942 2012-05-10 Chong Yidong <cyd@gnu.org>
13944 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
13945 Use url-generic-parse-url, and handle host names and Windows
13946 filenames properly.
13947 (ffap-url-unwrap-remote): Use url-generic-parse-url.
13948 (ffap-url-unwrap-remote): Accept list values, specifying a list of
13949 URL schemes to work on.
13950 (ffap--toggle-read-only): New function.
13951 (ffap-read-only, ffap-read-only-other-window)
13952 (ffap-read-only-other-frame): Use it.
13953 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
13954 necessary for ffap-url-unwrap-remote.
13956 2012-05-10 Dave Abrahams <dave@boostpro.com>
13958 * cus-start.el (create-lockfiles): Add it.
13960 2012-05-09 Chong Yidong <cyd@gnu.org>
13962 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
13963 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
13965 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13967 * shell.el (shell-completion-vars): Fix last change (bug#11348).
13969 2012-05-09 Chong Yidong <cyd@gnu.org>
13971 * ansi-color.el (ansi-color-process-output): Check for validity of
13972 comint-last-output-start before using it. This avoids a bad
13973 interaction with gdb-mi's input/output buffer.
13975 2012-05-09 Glenn Morris <rgm@gnu.org>
13977 * files.el (dir-locals-read-from-file):
13978 Mention dir-locals in any error message.
13980 2012-05-09 Chong Yidong <cyd@gnu.org>
13982 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
13983 package (Bug#11410).
13985 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
13986 variables into description.
13988 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13990 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
13991 shell-delimiter-argument-list (bug#11348).
13992 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
13994 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
13996 * textmodes/rst.el: Silence byte-compiler warnings.
13997 (rst-re-alist, rst-reset-section-caches): Move around.
13998 (rst-re): Use `characterp', not `char-valid-p'.
13999 (font-lock-beg, font-lock-end): Declare.
14001 * progmodes/idlw-shell.el (specs): Remove reference to deleted
14002 variable `idlwave-shell-activate-alt-keybindings' and simplify.
14004 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
14006 2012-05-08 Glenn Morris <rgm@gnu.org>
14008 * files.el (auto-mode-alist): Treat ".make" like ".mk".
14010 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14012 * vc/log-edit.el: Add GNU coding standards highlighting.
14013 (log-edit-font-lock-gnu-style)
14014 (log-edit-font-lock-gnu-keywords): New vars.
14015 (log-edit-font-lock-keywords): New fun.
14016 (log-edit-mode): Don't fold case in font-lock.
14017 (log-edit-font-lock-keywords): Do not assume case-folding.
14019 * imenu.el: Misc cleanup. Make docstrings out of comments.
14020 Use lexical-binding.
14021 (imenu--index-alist, imenu--last-menubar-index-alist)
14022 (imenu-menubar-modified-tick): Use defvar-local.
14023 (imenu--split-menu): Remove unused var.
14024 (imenu--cleanup-seen): Declare as global.
14025 (imenu--cleanup): Use dolist.
14027 * subr.el (defvar-local): Add debug spec and doc-string position.
14029 2012-05-08 Glenn Morris <rgm@gnu.org>
14031 * language/burmese.el, language/cham.el, language/czech.el:
14032 * language/english.el, language/georgian.el, language/greek.el:
14033 * language/japanese.el, language/khmer.el, language/korean.el:
14034 * language/lao.el, language/misc-lang.el, language/romanian.el:
14035 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
14036 * language/thai.el, language/utf-8-lang.el:
14037 Remove no-byte-compile setting.
14039 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
14041 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14043 * progmodes/make-mode.el (makefile-browse):
14044 Remove unnecessary interactive. (Bug#11324)
14046 2012-05-07 Glenn Morris <rgm@gnu.org>
14048 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
14050 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
14052 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14054 * loadup.el: Preload newcomment.el.
14055 * newcomment.el: Move autoload-only code to toplevel.
14057 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
14058 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
14059 Handle new :right-align column property.
14060 (tabulated-list-print-col): Idem, plus use `display' text-property to
14061 try and preserve alignment for variable pitch fonts.
14063 2012-05-07 Chong Yidong <cyd@gnu.org>
14065 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
14066 (tabulated-list-use-header-line): New var.
14067 (tabulated-list-init-header): Use it.
14068 (tabulated-list-print-fake-header): New function.
14069 (tabulated-list-print): Use it.
14070 (tabulated-list-sort-button-map): Add non-header-line commands.
14071 (tabulated-list-init-header): Add column name property to basic
14073 (tabulated-list-col-sort): Handle non-header-line button case.
14074 (tabulated-list--sort-by-column-name): Fix a corner case.
14076 * buff-menu.el (list-buffers--refresh):
14077 Handle Buffer-menu-use-header-line.
14079 2012-05-06 Chong Yidong <cyd@gnu.org>
14081 * buff-menu.el: Convert to Tabulated List mode.
14082 (Buffer-menu-buffer+size-width): Make obsolete.
14083 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
14084 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
14085 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
14086 documentation into docstring of buffer-menu.
14087 (Buffer-menu-toggle-files-only): Add an informative message.
14088 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
14089 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
14090 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
14091 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
14092 (Buffer-menu-execute, Buffer-menu-select)
14093 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
14094 (Buffer-menu-bury): Use Tabulated List machinery.
14095 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
14096 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
14098 (list-buffers--refresh): New function.
14099 (list-buffers-noselect): Use it.
14100 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
14101 (Buffer-menu--pretty-file-name): New helper functions.
14103 * loadup.el: Preload tabulated-list.
14105 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
14106 tabulated-list-sort-column.
14107 (tabulated-list-init-header): Add the initial aligning space even
14108 if tabulated-list-padding is zero.
14110 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
14112 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
14113 whose cdr is not a cons cell correctly (bug#11038).
14115 2012-05-06 Chong Yidong <cyd@gnu.org>
14117 * emacs-lisp/tabulated-list.el (tabulated-list-format):
14118 Accept additional plist in column descriptors.
14119 (tabulated-list-init-header): Obey it.
14120 (tabulated-list-get-entry): New function.
14121 (tabulated-list-put-tag): Use it. Use string-width instead of
14123 (tabulated-list--column-number): New function.
14124 (tabulated-list-print): Use it.
14125 (tabulated-list-print-col): New function.
14126 Set `tabulated-list-column-name' property on each column's text.
14127 (tabulated-list-print-entry): Use it.
14128 (tabulated-list-delete-entry, tabulated-list-set-col):
14130 (tabulated-list-sort-column): New command (Bug#11337).
14132 * buff-menu.el (list-buffers): Move C-x C-b binding from
14133 buff-menu.el to bindings.el.
14135 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
14136 :advertised-binding feature.
14138 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
14140 * progmodes/compile.el (compilation-internal-error-properties):
14141 Calculate start position correctly when end-col is set but
14142 end-line is not (Bug#11382).
14144 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
14146 * man.el (Man-unindent): Use text-property-default-nonsticky to
14147 prevent untabify from inheriting face properties (Bug#11408).
14149 2012-05-05 Stefan Merten <smerten@oekonux.de>
14151 * textmodes/rst.el: Major merge with upstream development up to
14152 Docutils SVN r7399 / rst.el V1.2.1.
14154 Clarify maintainership and authors.
14156 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
14157 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
14158 (rst-official-version, rst-official-cvs-rev, rst-version)
14159 (rst-package-emacs-version-alist): New functions and variables
14160 for version information.
14162 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
14163 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
14164 (rst-mode-syntax-table, rst-mode): New and corrected functions
14165 and variables representing reStructuredText features.
14167 (rst-re): New function for reStructuredText regexes. Use in
14170 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
14171 (rst-mode-map): Rebind keys.
14173 (rst-mode-lazy, rst-font-lock-keywords)
14174 (rst-font-lock-extend-region)
14175 (rst-font-lock-extend-region-internal)
14176 (rst-font-lock-extend-region-extend)
14177 (rst-font-lock-find-unindented-line-limit)
14178 (rst-font-lock-find-unindented-line-match)
14179 (rst-adornment-level, rst-font-lock-adornment-level)
14180 (rst-font-lock-adornment-match)
14181 (rst-font-lock-handle-adornment-pre-match-form)
14182 (rst-font-lock-handle-adornment-matcher): Major revision of
14183 font-locking. Integrate with other code. Use `jit-lock-mode'.
14185 (rst-preferred-adornments, rst-adjust-hook)
14186 (rst-new-adornment-down, rst-preferred-bullets)
14187 (rst-preferred-bullets, rst-indent, rst-indent-width)
14188 (rst-indent-field, rst-indent-literal-normal)
14189 (rst-indent-literal-minimized, rst-indent-comment): Change,
14190 extend and improve customization.
14192 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
14193 (rst-normalize-cursor-position, rst-get-decoration)
14194 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
14195 (rst-rstrip, rst-toc-insert-find-delete-contents)
14196 (rst-shift-fill-region, rst-compute-bullet-tabs)
14197 (rst-debug-print-tabs, rst-debug-mark-found)
14198 (rst-shift-region-guts, rst-shift-region-right)
14199 (rst-shift-region-left, rst-use-char-classes)
14200 (rst-font-lock-keywords-function)
14201 (rst-font-lock-indentation-point)
14202 (rst-font-lock-find-unindented-line-begin)
14203 (rst-font-lock-find-unindented-line-end)
14204 (rst-font-lock-find-unindented-line)
14205 (rst-font-lock-adornment-point, rst-font-lock-level)
14206 (rst-adornment-level-alist): Remove functions and variables.
14208 (rst-compare-adornments, rst-get-adornment-match)
14209 (rst-suggest-new-adornment, rst-get-adornments-around)
14210 (rst-adornment-complete-p, rst-get-next-adornment)
14211 (rst-adjust-adornment, rst-display-adornments-hierarchy)
14212 (rst-straighten-adornments): Standardize function names to
14213 use "adornment" instead of "decoration". Correct callers.
14214 Similar standardizing in many places.
14216 (rst-update-section, rst-adjust, rst-promote-region)
14217 (rst-enumerate-region, rst-bullet-list-region)
14218 (rst-repeat-last-character): Correct use of `interactive'.
14220 (rst-classify-adornment, rst-find-all-adornments)
14221 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
14222 (rst-find-leftmost-column, rst-repeat-last-character):
14223 Refactor functions.
14225 (rst-find-title-line, rst-reset-section-caches)
14226 (rst-get-adornments-around, rst-adjust-adornment-work)
14227 (rst-arabic-to-roman, rst-roman-to-arabic)
14228 (rst-insert-list-pos, rst-insert-list-new-item)
14229 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
14232 (rst-all-sections, rst-section-hierarchy)
14233 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
14236 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
14237 configuration instead of only buffer. Change where necessary.
14239 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
14240 (rst-shift-region, rst-adaptive-fill): New functions for
14241 indentation and filling.
14243 (rst-comment-line-break, rst-comment-indent)
14244 (rst-comment-insert-comment, rst-comment-region)
14245 (rst-uncomment-region): New functions for handling comments.
14247 (rst-compile): Quote shell arguments.
14249 (rst-compile-pdf-preview, rst-compile-slides-preview):
14250 Delete temporary files after use.
14252 2012-05-05 Glenn Morris <rgm@gnu.org>
14254 * calendar/cal-html.el: Optionally include holidays in the output.
14255 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
14256 (cal-html-holidays): New option.
14257 (cal-html-css-default): Add holiday entry.
14258 (holiday-in-range): Autoload it.
14259 (cal-html-htmlify-entry): Add optional class argument.
14260 (cal-html-htmlify-list): Add optional holidays argument.
14261 (cal-html-insert-agenda-days): Include holidays in the output.
14262 (cal-html-one-month): Maybe include holidays.
14264 * calendar/holidays.el (holiday-in-range):
14265 Move here from cal-tex-list-holidays.
14266 * calendar/cal-tex.el (cal-tex-list-holidays):
14267 Make it an obsolete alias for holiday-in-range. Update all callers.
14269 2012-05-05 Chong Yidong <cyd@gnu.org>
14271 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
14274 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
14276 * files.el (file-auto-mode-skip): New var.
14277 (set-auto-mode-1): Use it.
14279 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14281 * repeat.el: Use lexical-binding.
14282 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
14283 (repeat-undo-count): Remove.
14285 * progmodes/octave-mod.el (octave-abbrev-start):
14286 * progmodes/f90.el (f90-abbrev-start):
14287 * face-remap.el (text-scale-adjust):
14288 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
14290 * emacs-lisp/pcase.el (pcase--let*): New function.
14291 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
14293 (pcase--split-pred): Be more clever about ruling out overlap between
14294 a predicate and some constant pattern.
14295 (pcase--q1): Use `null' instead of (eq foo nil).
14297 * subr.el (setq-local, defvar-local): New macros.
14298 (kbd): Redefine as an alias.
14299 (with-selected-window): Leave unrelated frames alone.
14300 (set-temporary-overlay-map): New function.
14302 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14304 * subr.el (user-error): New function.
14305 * window.el (switch-to-buffer):
14306 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
14307 (smerge-match-conflict):
14308 * simple.el (previous-matching-history-element)
14309 (next-matching-history-element, goto-history-element, undo-more)
14311 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
14312 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
14313 (next-file, tags-loop-scan, list-tags, complete-tag):
14314 * progmodes/compile.el (compilation-loop):
14315 * mouse.el (mouse-minibuffer-check):
14316 * man.el (Man-bgproc-sentinel, Man-goto-page):
14317 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
14318 (Info-history-forward, Info-follow-reference, Info-menu)
14319 (Info-extract-menu-item, Info-extract-menu-counting)
14320 (Info-forward-node, Info-backward-node, Info-next-menu-item)
14321 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
14322 (Info-next-reference, Info-prev-reference, Info-index)
14323 (Info-index-next, Info-follow-nearest-node)
14324 (Info-copy-current-node-name):
14325 * imenu.el (imenu--make-index-alist)
14326 (imenu-default-create-index-function, imenu-add-to-menubar):
14327 * files.el (basic-save-buffer, recover-file):
14328 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14329 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
14330 (checkdoc-message-text, checkdoc-defun):
14331 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
14332 * cus-edit.el (customize-changed-options, customize-rogue)
14333 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
14334 (custom-variable-mark-to-reset-standard)
14335 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
14337 * completion.el (check-completion-length):
14338 * comint.el (comint-search-arg)
14339 (comint-previous-matching-input-string-position)
14340 (comint-previous-matching-input)
14341 (comint-replace-by-expanded-history-before-point, comint-send-input)
14342 (comint-copy-old-input, comint-backward-matching-input)
14343 (comint-goto-process-mark, comint-set-process-mark):
14344 * calendar/calendar.el (calendar-cursor-to-date): Use it.
14345 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
14347 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14349 * dabbrev.el (dabbrev--ignore-case-p): New function.
14350 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
14353 * files.el (automount-dir-prefix): Mark as obsolete.
14355 2012-05-04 Glenn Morris <rgm@gnu.org>
14357 * patcomp.el, play/bruce.el: Move to obsolete/.
14359 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
14361 Fix minor Y10k bugs.
14362 * arc-mode.el (archive-unixdate):
14363 * autoinsert.el (auto-insert-alist):
14364 * calc/calc-forms.el (math-this-year):
14365 * emacs-lisp/copyright.el (copyright-current-year)
14366 (copyright-update-year, copyright):
14367 * tar-mode.el (tar-clip-time-string):
14368 * time.el (display-time-update):
14369 Don't assume years have 4 digits.
14371 2012-05-04 Chong Yidong <cyd@gnu.org>
14373 * dos-w32.el (file-name-buffer-file-type-alist)
14374 (direct-print-region-use-command-dot-com):
14375 * ffap.el (ffap-menu-regexp):
14376 * find-file.el (ff-special-constructs):
14377 * follow.el (follow-debug):
14378 * forms.el (forms--debug):
14379 * iswitchb.el (iswitchb-all-frames):
14380 * ido.el (ido-all-frames):
14381 * emacs-lisp/timer.el (timer-max-repeats):
14382 * mail/feedmail.el (feedmail-mail-send-hook)
14383 (feedmail-mail-send-hook-queued):
14384 * mail/footnote.el (footnote-signature-separator):
14385 * mail/mailabbrev.el (mail-alias-separator-string)
14386 (mail-abbrev-mode-regexp):
14387 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
14388 * progmodes/idlwave.el (idlwave-libinfo-file)
14389 (idlwave-default-completion-case-is-down)
14390 (idlwave-library-routines): Convert defvars to defcustoms.
14392 * mail/rmail.el (rmail-decode-mime-charset):
14393 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
14394 (idlwave-shell-fix-inserted-breaks)
14395 (idlwave-shell-activate-alt-keybindings)
14396 (idlwave-shell-use-breakpoint-glyph):
14397 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
14399 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14401 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
14403 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
14405 * progmodes/verilog-mode.el (font-lock-keywords):
14406 Fix mis-highligting auto. Reported by Craig Barner.
14407 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
14408 defines from global name space. Reported by Dan Dever.
14409 (verilog-auto-reset, verilog-auto-reset-widths)
14410 (verilog-auto-tieoff): Support using unbased numbers for
14411 AUTORESET and AUTOTIEOFF.
14412 (verilog-submit-bug-report): Update variable list.
14413 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
14414 parenthesis from not matching. Reported by Michael Rytting.
14415 (verilog-auto-template-lint): Fix hash error when linting modules
14416 with no used templates.
14417 (verilog-warn, verilog-warn-error)
14418 (verilog-warn-fatal): When non-interactive report multiple
14419 warnings before exiting. Suggested by Brad Dobbie.
14420 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
14421 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
14422 to report unused template errors. Reported by Brad Dobbie.
14423 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
14424 nets, bug438. Reported by Vns Blore.
14425 (verilog-auto-inout-module, verilog-auto-reg)
14426 (verilog-read-decls, verilog-read-sub-decls-sig)
14427 (verilog-signals-edit-wire-reg, verilog-signals-with):
14428 Fix passing of Verilog data types in ANSI input/output ports
14429 such as "output logic" into the AUTOs. Special case "wire" and
14430 "reg" for backwards compatibility presuming Verilog 2001.
14431 (verilog-auto-ascii-enum): Add "auto enum" as alias.
14432 (verilog-preprocess): Fix replication of preprocess output.
14433 Reported by Brad Dobbie.
14434 (verilog-auto-inst-interfaced-ports):
14435 Create verilog-auto-inst-interfaced-ports, bug429.
14436 Reported by Julian Gorfajn.
14437 (verilog-after-save-font-hook)
14438 (verilog-before-save-font-hook): New variable.
14439 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
14440 (verilog-save-font-mods): Wrap disabling fontification, reported
14442 (verilog-do-indent, verilog-pretty-declarations-auto)
14443 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
14444 Reported by Pierre-David Pfister.
14445 (verilog-set-auto-endcomments): Fix endtask auto comments outside
14446 of class declarations, bug292. Reported by Kevin Heilman.
14447 (verilog-read-decls): Fix 'parameter type' not appearing in
14448 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
14449 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
14450 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
14451 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
14452 Reported by David Kravitz.
14454 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
14456 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
14457 assignment with tests in ifs and for loops.
14458 (verilog-extended-complete-re, verilog-complete-reg): Change so
14459 that DPI inport functions don't look like fuction declarations.
14460 (verilog-pretty-expr): Don't line up assignment
14461 operations to the test and increment in if and for loops
14462 (verilog-extended-complete-re, verilog-complete-reg): Change so
14463 that DPI inport functions don't look like fuction declarations.
14465 2012-05-03 Kenichi Handa <handa@m17n.org>
14467 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
14468 decoding, and show a warning message without signaling an error
14471 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14473 * emacs-lisp/bytecomp.el
14474 (byte-compile-file-form-custom-declare-variable): Compile all elements,
14475 since cconv.el might have introduced :fun-body, internal-make-closure,
14476 and friends for bytecomp to handle (bug#11391).
14477 * custom.el (defcustom): Avoid ((λ ..) ..).
14479 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
14481 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
14483 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
14485 * notifications.el (dbus-debug):
14486 * term/linux.el (gpm-mouse-enable):
14487 * term/screen.el (xterm-register-default-colors): Declare.
14489 2012-05-02 Chong Yidong <cyd@gnu.org>
14491 * cus-start.el (gc-cons-percentage, exec-suffixes)
14492 (dos-display-scancodes, dos-hyper-key, dos-super-key)
14493 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
14494 (make-cursor-line-fully-visible, void-text-area-pointer)
14495 (font-list-limit): Add customization data.
14497 * allout.el (allout-exposure-change-functions)
14498 (allout-structure-added-functions)
14499 (allout-structure-deleted-functions)
14500 (allout-structure-shifted-functions): Rename abnormal hooks from
14501 *-hook, and convert to defcustoms.
14502 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
14503 Convert to defcustoms.
14504 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
14506 * allout-widgets.el: Hook callers changed.
14508 2012-05-02 Eli Zaretskii <eliz@gnu.org>
14510 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
14511 the yanked message in preference to the default value of
14512 buffer-file-coding-system.
14514 2012-05-02 Martin Rudalics <rudalics@gmx.at>
14516 * window.el (display-buffer--action-function-custom-type):
14519 2012-05-02 Alan Mackenzie <acm@muc.de>
14521 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
14523 2012-05-01 Glenn Morris <rgm@gnu.org>
14525 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
14527 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
14529 * cus-edit.el (custom-variable-documentation): Simplify with format.
14531 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14532 Stefan Monnier <monnier@iro.umontreal.ca>
14534 * simple.el (suggest-key-bindings, execute-extended-command):
14535 Move from keyboard.c.
14537 2012-05-01 Chong Yidong <cyd@gnu.org>
14539 * follow.el: Eliminate advice.
14540 (set-process-filter, process-filter, sit-for): Advice deleted.
14541 (follow-mode-off-hook): Obsolete hook removed.
14542 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
14544 (follow-auto): Use a :set function.
14545 (follow-mode): Rewritten. Don't advise process filters.
14546 (follow-switch-to-current-buffer-all, follow-scroll-up)
14547 (follow-scroll-down): Assume follow-mode is bound.
14548 (follow-comint-scroll-to-bottom)
14549 (follow-align-compilation-windows): New functions.
14550 (follow--window-sorter): New function.
14551 (follow-all-followers): Use it to explicitly sort windows by their
14552 positions; don't make assumptions about next-window order.
14553 (follow-windows-start-end, follow-delete-other-windows-and-split)
14554 (follow-calc-win-start): Doc fix.
14555 (follow-windows-aligned-p, follow-select-if-visible): Don't call
14556 vertical-motion unnecessarily.
14557 (follow-adjust-window): New function.
14558 (follow-post-command-hook): Use it.
14559 (follow-call-set-process-filter, follow-call-process-filter)
14560 (follow-intercept-process-output, follow-tidy-process-filter-alist)
14561 (follow-stop-intercept-process-output, follow-generic-filter):
14563 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
14564 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
14565 New functions, replacing advice on scroll-bar-* commands.
14566 (follow-mwheel-scroll): New function (Bug#4112).
14568 * comint.el (comint-adjust-point): New function.
14569 (comint-postoutput-scroll-to-bottom): Use it.
14570 Call follow-comint-scroll-to-bottom for Follow mode buffers.
14572 2012-05-01 Glenn Morris <rgm@gnu.org>
14574 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
14575 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
14576 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
14577 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
14578 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
14579 Remove no-byte-compile setting.
14581 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
14583 * minibuffer.el (completion-table-with-quoting): Fix compatibility
14584 all-completions code to not return a number in the last cdr.
14586 2012-04-30 Leo Liu <sdl.web@gmail.com>
14588 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
14591 2012-04-29 Chong Yidong <cyd@gnu.org>
14593 * follow.el (follow-calc-win-end): Rewrite to handle partial
14594 screen lines correctly (Bug#8390).
14595 (follow-avoid-tail-recenter): Minor cleanup.
14597 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14599 Avoid the obsolete `assoc' package.
14600 * speedbar.el (speedbar-refresh): Avoid adelete.
14601 (speedbar-file-lists): Simplify and avoid aput.
14602 * man.el (Man--sections, Man--refpages): New vars, replacing
14603 Man-sections-alist and Man-refpages-alist.
14604 (Man-build-section-alist, Man-build-references-alist):
14605 Use them; avoid aput.
14606 (Man--last-section, Man--last-refpage): New vars.
14607 (Man-follow-manual-reference): Use them.
14608 Use the `default' arg of completing-read.
14609 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
14611 2012-04-27 Chong Yidong <cyd@gnu.org>
14613 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
14615 * startup.el (x-apply-session-resources): New function.
14617 * term/ns-win.el (ns-initialize-window-system):
14618 * term/w32-win.el (w32-initialize-window-system):
14619 * term/x-win.el (x-initialize-window-system): Use it to properly
14620 set menu-bar-mode and other vars from X resources, even if the
14621 initial frame is not a window-system frame (Bug#2299).
14623 * subr.el (read-key): Avoid running filter function when setting
14624 up temporary tool bar entries (Bug#9922).
14626 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14628 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
14631 2012-04-27 Chong Yidong <cyd@gnu.org>
14633 * select.el (xselect--encode-string): New function, split from
14634 xselect-convert-to-string.
14635 (xselect-convert-to-string): Use it.
14636 (xselect-convert-to-filename, xselect-convert-to-os)
14637 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
14638 returned strings are properly encoded (Bug#11315).
14640 2012-04-27 Chong Yidong <cyd@gnu.org>
14642 * simple.el (delete-active-region): Move to killing custom group.
14644 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14646 * progmodes/which-func.el (which-func-current): Quote %
14647 characters for mode-line processing.
14649 2012-04-27 Chong Yidong <cyd@gnu.org>
14651 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
14652 reaching eob (Bug#11286).
14654 2012-04-27 Eli Zaretskii <eliz@gnu.org>
14656 * progmodes/gdb-mi.el (gdb-control-level): New variable.
14657 (gdb): Make it buffer-local and init to zero.
14658 (gdb-control-commands-regexp): New variable.
14659 (gdb-send): Don't wrap in "-interpreter-exec console" if
14660 gdb-control-level is positive. Increment gdb-control-level
14661 whenever the command matches gdb-control-commands-regexp, and
14662 decrement it each time the command is "end". (Bug#11279)
14664 2012-04-27 Martin Rudalics <rudalics@gmx.at>
14666 * window.el (adjust-window-trailing-edge, enlarge-window)
14667 (shrink-window, window-resize):
14668 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
14669 windows (Bug#11276).
14671 2012-04-27 Chong Yidong <cyd@gnu.org>
14673 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
14674 fix "missing prefix" warning. All callers changed.
14676 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14678 * emacs-lisp/assoc.el: Move to obsolete/.
14680 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14682 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
14684 * term/ns-win.el (ns-define-service):
14685 * progmodes/pascal.el (pascal-goto-defun):
14686 * progmodes/js.el (js--read-tab):
14687 * progmodes/etags.el (tags-lazy-completion-table):
14688 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
14689 * emacs-lisp/ewoc.el (ewoc--wrap):
14690 * emacs-lisp/assoc.el (aput, adelete, amake):
14691 * doc-view.el (doc-view-convert-current-doc):
14692 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
14694 2012-04-26 Chong Yidong <cyd@gnu.org>
14696 * image.el (image-type-from-buffer): Only return supported image
14699 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
14700 value, for symmetry with diff-end-of-hunk.
14701 (diff-split-hunk, diff-find-source-location)
14702 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
14703 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
14704 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
14705 compute the relevant hunk or file properly (Bug#6005).
14706 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
14708 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14717 * vc/vc.el: Replace lexical-let by lexical-binding.
14718 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
14719 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
14720 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
14722 2012-04-26 Chong Yidong <cyd@gnu.org>
14724 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
14725 (diff-mode-shared-map): Bind it to / and [remap undo].
14727 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
14728 (ediff-window-setup-function): Use it as the default, to set up
14729 windows based on whether the current frame is graphical (Bug#2138).
14730 (ediff-choose-window-setup-function-automatically): Make obsolete.
14732 * vc/ediff-init.el: Always define ediff-pixel-width/height.
14734 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14736 * ffap.el: Remove old code for obsolete package.
14737 (ffap-complete-as-file-p): Remove.
14739 Use completion-table-with-quoting for comint and pcomplete.
14740 * comint.el (comint--unquote&requote-argument)
14741 (comint--unquote-argument, comint--requote-argument): New functions.
14742 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
14743 (comint-quote-filename): Use regexp-opt-charset.
14744 (comint--common-suffix, comint--common-quoted-suffix)
14745 (comint--table-subvert): Remove.
14746 (comint-unquote-function, comint-requote-function): New vars.
14747 (comint--complete-file-name-data): Use them with
14748 completion-table-with-quoting.
14749 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
14750 * pcomplete.el (pcomplete-arg-quote-list)
14751 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
14752 (pcomplete-unquote-argument-function): Default to non-nil.
14753 (pcomplete-unquote-argument): Simplify.
14754 (pcomplete--common-quoted-suffix): Remove.
14755 (pcomplete-requote-argument-function): New var.
14756 (pcomplete--common-suffix): New function.
14757 (pcomplete-completions-at-point): Use completion-table-with-quoting
14758 and completion-table-subvert.
14760 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
14761 (minibuffer--double-dollars): Preserve properties.
14762 (completion--sifn-requote): New function.
14763 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
14765 * minibuffer.el: Add support for completion of quoted/escaped data.
14766 (completion-table-with-quoting, completion-table-subvert): New funs.
14767 (completion--twq-try, completion--twq-all): New functions.
14768 (completion--nth-completion): New function.
14769 (completion-try-completion, completion-all-completions): Use it.
14771 2012-04-25 Leo Liu <sdl.web@gmail.com>
14773 * progmodes/python.el (python-pdbtrack-get-source-buffer):
14774 Use compilation-message if available to find real filename.
14776 2012-04-25 Chong Yidong <cyd@gnu.org>
14778 * vc/diff-mode.el (diff-setup-whitespace): New function.
14779 (diff-mode): Use it.
14781 * vc/diff.el (diff-sentinel):
14782 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
14783 Whitespace mode variables based on diff style (Bug#8612).
14785 2012-04-25 Leo Liu <sdl.web@gmail.com>
14787 * progmodes/python.el (python-send-region): Add suffix .py to the
14790 * files.el (auto-mode-alist): Use javascript-mode instead.
14792 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
14794 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
14796 * net/soap-client.el (soap-resolve-references-for-sequence-type)
14797 (soap-resolve-references-for-array-type): Hack to prevent self
14798 references, see Bug#9.
14799 (soap-parse-envelope): Report the contents of the 'detail' node
14800 when receiving a fault reply.
14801 (soap-parse-envelope): Report the contents of the entire 'detail' node.
14803 * net/soap-inspect.el (soap-sample-value-for-simple-type)
14804 (soap-inspect-simple-type): New function.
14806 * net/soap-client.el (soap-simple-type): New struct.
14807 (soap-default-xsd-types, soap-default-soapenc-types)
14808 (soap-decode-basic-type, soap-encode-basic-type):
14809 support unsignedInt and double basic types.
14810 (soap-resolve-references-for-simple-type)
14811 (soap-parse-simple-type, soap-encode-simple-type): New function.
14812 (soap-parse-schema): Parse xsd:simpleType declarations.
14814 * net/soap-client.el (soap-default-xsd-types)
14815 (soap-default-soapenc-types): Add integer, byte and anyURI types.
14816 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
14817 the local name of "soapenc:Array".
14818 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
14819 decoding integer, byte and anyURI xsd types.
14821 2012-04-25 Chong Yidong <cyd@gnu.org>
14823 * cus-edit.el (custom-buffer-create-internal): Update header text.
14825 2012-04-25 Eli Zaretskii <eliz@gnu.org>
14827 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
14828 settings on 'system-type', not on 'window-system'. On MS-Windows,
14829 set interactive-mode on in GDB.
14831 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14833 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
14834 (ruby-syntax-propertize-regexp): Remove.
14835 (ruby-syntax-propertize-function): Split regexp into chunks.
14836 Match following code directly.
14838 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
14840 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
14841 (ruby-syntax-propertize-regexp): New function.
14842 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
14843 by a special keyword.
14845 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
14846 (ruby-syntax-general-delimiters-goto-beg)
14847 (ruby-syntax-propertize-general-delimiters): New functions.
14848 (ruby-syntax-propertize-function): Use them to handle GDL.
14849 (ruby-font-lock-keywords): Move old handling of GDL...
14850 (ruby-font-lock-syntactic-keywords): .. to here.
14851 (ruby-calculate-indent): Adjust indentation for GDL.
14853 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
14855 * notifications.el (top): Remove unneeded declarations.
14856 (notifications-specification-version): Change to "1.2".
14857 (notifications-interface, notifications-notify-method)
14858 (notifications-close-notification-method): Fix docstring.
14859 (notifications-get-capabilities-method): New defconst.
14860 (notifications-notify): Add :action-items, :resident and
14861 :transient hints. Change "image_data" to "image-data" and
14862 "image_path" to "image-path".
14863 (notifications-get-capabilities): New defun.
14865 2012-04-24 Leo Liu <sdl.web@gmail.com>
14867 * progmodes/python.el: Move hideshow setup to the end.
14869 2012-04-24 Martin Rudalics <rudalics@gmx.at>
14871 * window.el (handle-select-window): Clear echo area since this is
14872 no more done by read_char (Bug#11304).
14874 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14876 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
14877 and `/ M' to filter-derived-mode.
14878 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
14879 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
14880 (ibuffer-mark-by-mode): Use default rather than initial-input.
14881 (ibuffer-filter-by-derived-mode): Autoload and require-match.
14883 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
14885 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
14886 (ibuffer-filter-by-derived-mode): New filter.
14887 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
14889 2012-04-23 Andreas Politz <politza@fh-trier.de>
14891 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
14893 2012-04-23 Chong Yidong <cyd@gnu.org>
14895 * cus-edit.el (customize-apropos, customize-apropos-options):
14896 Disable matching of non-option variables (Bug#11176).
14897 (customize-option, customize-option-other-window)
14898 (customize-changed-options): Doc fix.
14899 (customize-apropos-options, customize-apropos-faces)
14900 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
14902 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
14903 Fix word list splitting (Bug#11132).
14904 (apropos-symbol, apropos-keybinding, apropos-label)
14905 (apropos-property, apropos-function-button)
14906 (apropos-variable-button, apropos-misc-button): New faces.
14907 (apropos-symbol-face, apropos-keybinding-face)
14908 (apropos-label-face, apropos-property-face, apropos-match-face):
14909 Variables removed (Bug#8396).
14910 (apropos-library-button, apropos-format-plist, apropos-print)
14911 (apropos-print-doc, apropos-describe-plist): Callers changed.
14913 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
14915 * net/xesam.el (xesam-mode-map): Use let-bound map in
14916 initialization. (Bug#11292)
14918 2012-04-23 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
14920 Preserve ispell session localwords when switching back to
14923 * textmodes/ispell.el (ispell-buffer-session-localwords):
14924 New buffer-local variable to hold buffer session localwords.
14925 (ispell-kill-ispell): Add option 'clear to delete session
14927 (ispell-command-loop, ispell-change-dictionary)
14928 (ispell-buffer-local-words): Preserve session localwords when
14931 * textmodes/flyspell.el (flyspell-process-localwords)
14932 (flyspell-do-correct): Preserve session localwords when needed.
14934 2012-04-23 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
14936 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
14937 using obsolete `translation-table-for-input'.
14938 (ispell-word, ispell-process-line, ispell-complete-word):
14939 Use plain `insert' instead of removed `ispell-insert-word'.
14941 2012-04-22 Chong Yidong <cyd@gnu.org>
14943 * cus-edit.el (custom-variable-menu)
14944 (custom-variable-reset-saved, custom-face-menu)
14945 (custom-face-reset-saved): If there is no saved value, make the
14946 "reset-saved" operation bring back the default (Bug#9509).
14947 (custom-face-state): Properly detect themed faces.
14949 * faces.el (face-spec-set): Stop supporting deprecated form of
14952 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
14954 Move functions from C to Lisp. Make non-blocking method calls
14955 the default. Implement further D-Bus standard interfaces.
14957 * net/dbus.el (dbus-message-internal): Declare function.
14958 Remove unneeded function declarations.
14959 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
14960 (dbus-message-type-method-return, dbus-message-type-error)
14961 (dbus-message-type-signal): Declare variables. Remove local
14963 (dbus-interface-dbus, dbus-interface-peer)
14964 (dbus-interface-introspectable, dbus-interface-properties)
14965 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
14967 (dbus-interface-objectmanager): New defconst.
14968 (dbus-call-method, dbus-call-method-asynchronously)
14969 (dbus-send-signal, dbus-method-return-internal)
14970 (dbus-method-error-internal, dbus-register-service)
14971 (dbus-register-signal, dbus-register-method): New defuns, moved
14973 (dbus-call-method-handler, dbus-setenv)
14974 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
14976 (dbus-call-method-non-blocking): Make it an obsolete function.
14977 (dbus-unregister-object, dbus-unregister-service)
14978 (dbus-handle-event, dbus-register-property)
14979 (dbus-property-handler): Obey the new structure of
14980 `bus-registered-objects'.
14981 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
14982 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14983 Use `dbus-call-method'.
14985 2012-04-22 Chong Yidong <cyd@gnu.org>
14987 * cus-edit.el (custom-commands, custom-reset-menu)
14988 (Custom-reset-standard): Tweak labels.
14989 (custom-reset-button-menu): Change default to t.
14990 (custom-buffer-create-internal): For the custom-reset-button-menu
14991 case, put the revert button first.
14992 (custom-group-subtitle): New face.
14993 (custom-group-value-create): Align docstring to a specific column.
14995 * wid-edit.el (widget-documentation-link-add): Don't handle
14996 indentation in this function.
14997 (widget-documentation-string-indent-to): New function.
14998 (widget-documentation-string-value-create): Use it.
15000 * autorevert.el (auto-revert):
15001 * epg-config.el (epg):
15002 * ibuffer.el (ibuffer):
15005 * eshell/eshell.el (eshell):
15006 * net/ange-ftp.el (ange-ftp):
15007 * progmodes/ebnf2ps.el (postscript):
15008 * progmodes/flymake.el (flymake):
15009 * progmodes/prolog.el (prolog):
15010 * progmodes/verilog-mode.el (verilog-mode):
15011 * progmodes/which-func.el (which-func):
15012 * term/xterm.el (xterm):
15013 * textmodes/picture.el (picture):
15014 * textmodes/tildify.el (tildify):
15015 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
15016 customization buffers.
15018 2012-04-22 Alan Mackenzie <acm@muc.de>
15020 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
15021 Adding a ) can hide the resulting (..) from searches. Fix it.
15022 Bound the backward search to the position of the existing (.
15024 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
15026 * progmodes/verilog-mode.el (verilog-mode): Check whether
15027 which-func-modes is t before adding verilog-mode.
15028 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
15030 2012-04-21 Leo Liu <sdl.web@gmail.com>
15032 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
15034 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
15036 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
15037 filling of the last column of a table (Bug#5635).
15038 (woman-find-next-control-line): New arg, specifying an additional
15039 regexp component for the control line.
15040 (woman2-roff-buffer): Use it.
15041 (woman-break-table): New function.
15042 (woman2-TS): Use it.
15044 2012-04-21 Chong Yidong <cyd@gnu.org>
15046 * woman.el (woman-set-buffer-display-table, woman-decode-region)
15047 (woman-horizontal-escapes, woman-negative-vertical-space)
15048 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
15049 (WoMan-warn-ignored): Use ?\s instead of ?\ .
15051 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15053 * minibuffer.el (completion-file-name-table): Complete user names.
15055 2012-04-20 Leo Liu <sdl.web@gmail.com>
15057 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
15060 2012-04-20 Chong Yidong <cyd@gnu.org>
15062 * server.el (server-execute): Respect initial-buffer-choice if it
15063 is a string and there are no files to open (Bug#2825).
15064 (server-create-window-system-frame, server-create-tty-frame):
15065 Don't switch buffers here.
15066 (server-process-filter): Only try to open a window system frame if
15067 compiled with graphical support (Bug#8314).
15069 2012-04-20 Dan Nicolaescu <dann@gnu.org>
15071 * battery.el (battery-echo-area-format): Display remaining time
15072 for sysfs backend too (Bug#11269).
15073 (battery-linux-sysfs): Fix conditional for the charge.
15075 2012-04-20 Chong Yidong <cyd@gnu.org>
15077 * progmodes/gdb-mi.el (gdb): Revert previous change.
15078 (gdb-inferior-io--init-proc): New function.
15079 (gdb-init-1): Use it.
15080 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
15081 responsible for allocating a new pty and hooking it to gdb when
15082 the old pty gets an EIO due to process exit.
15083 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
15084 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
15085 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
15087 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15089 * window.el (window-min-size, window-sizable, window-min-delta)
15090 (window-max-delta, window--resizable, window-resizable)
15091 (window-total-size, window-full-height-p, window-full-width-p)
15092 (window-in-direction, window--resize-mini-window, window-resize)
15093 (window--resize-child-windows-normal)
15094 (window--resize-child-windows, window--resize-siblings)
15095 (window--resize-this-window, adjust-window-trailing-edge)
15096 (enlarge-window, shrink-window): Doc fixes.
15098 2012-04-20 Chong Yidong <cyd@gnu.org>
15100 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
15101 New function to call delete-process on the gdb-inferior buffer's pty.
15102 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
15103 pty process (Bug#11273).
15104 (gdb-update): New arg to suppress talking to the gdb process.
15105 (gdb-done-or-error): Use it.
15106 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
15107 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
15108 sentinel not being called.
15110 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
15112 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
15114 2012-04-20 Glenn Morris <rgm@gnu.org>
15116 * net/network-stream.el (open-network-stream): Doc fix.
15118 2012-04-20 Chong Yidong <cyd@gnu.org>
15120 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
15122 2012-04-20 Alan Mackenzie <acm@muc.de>
15124 Ensure searching for keywords is case sensitive.
15126 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
15127 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
15128 (c-defun-name, c-mark-function, c-cpp-define-name)
15129 (c-comment-indent, c-scan-conditionals, c-indent-defun)
15130 (c-context-line-break): Bind case-fold-search to nil.
15132 * progmodes/cc-mode.el (c-font-lock-fontify-region):
15133 Bind case-fold-search to nil.
15135 2012-04-20 Chong Yidong <cyd@gnu.org>
15137 * mail/sendmail.el (mail-bury): Call return action with the right
15138 Rmail buffer (Bug#11242).
15140 * server.el (server-process-filter): Handle corner case where both
15141 tty and nowait options are present (Bug#11102).
15143 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15145 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
15146 (top level): Put into the executable the ident-style '$Id:' tag on
15147 windows-nt as well.
15149 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15151 * electric.el (electric-indent-post-self-insert-function): Check that
15152 electric-indent-mode is enabled in current buffer.
15154 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15156 * imenu.el (imenu-progress-message): Restore; it is "used" in
15157 erc/erc-imenu.el and net/snmp-mode.el.
15159 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15161 * avoid.el (mouse-avoidance-mode): Mark unused arg.
15162 (mouse-avoidance-nudge-mouse): Remove unused binding.
15164 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
15166 * descr-text.el (describe-char):
15167 * progmodes/python.el (python-describe-symbol):
15168 Don't call `toggle-read-only', set `buffer-read-only'.
15170 * imenu.el (imenu-default-goto-function): Mark unused args.
15171 (imenu-progress-message): Remove obsolete macro; all callers changed.
15173 * subr.el (keymap-canonicalize): Remove unused binding.
15174 (read-passwd): Mark unused arg.
15176 * tutorial.el (tutorial--display-changes): Remove unused binding.
15177 (tutorial--save-tutorial-to): Remove unused variable.
15179 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
15180 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
15181 (package-generate-autoloads, package-menu--generate)
15182 (package-menu--find-upgrades): Remove unused bindings.
15184 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
15185 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
15186 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
15187 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
15188 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
15189 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
15190 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
15191 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
15192 (cua-delete-char-rectangle): Mark unused args.
15193 (cua-align-rectangle): Remove unused binding.
15195 * mail/rmail.el (compilation--message->loc)
15196 (epa--find-coding-system-for-mime-charset): Declare.
15198 * net/dbus.el (dbus-register-service): Declare.
15199 (dbus-name-owner-changed-handler): Remove unused binding.
15201 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
15202 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
15203 (nxml-scan-backward-within): Mark unused arg.
15204 (nxml-dynamic-markup-word): Remove unused binding.
15206 * mouse.el (mouse-menu-major-mode-map):
15207 * emacs-lisp/authors.el (authors-scan-change-log)
15208 (authors-add-to-author-list):
15209 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
15210 * emacs-lisp/smie.el (smie-auto-fill):
15211 * mail/sendmail.el (mail-bury):
15212 * mail/unrmail.el (unrmail):
15213 * net/tls.el (open-tls-stream):
15214 * textmodes/picture.el (picture-mouse-set-point):
15215 Remove unused bindings.
15217 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
15219 * net/tramp.el (tramp-action-password): Let-bind
15220 `enable-recursive-minibuffers' to t.
15222 2012-04-18 Sam Steingold <sds@gnu.org>
15224 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
15225 instead of 'string to accommodate values like [f11].
15226 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
15227 * progmodes/gdb-mi.el: Likewise.
15229 2012-04-18 Leo Liu <sdl.web@gmail.com>
15231 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
15233 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
15236 2012-04-18 Chong Yidong <cyd@gnu.org>
15238 * simple.el (line-move): Use forward-line if in batch mode
15241 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
15243 * files.el (after-find-file): Do not try to add a final newline if
15244 the buffer is read-only (Bug#11156).
15246 2012-04-17 Richard Stallman <rms@gnu.org>
15248 * mail/rmail.el (rmail-start-mail):
15249 Pass (rmail-mail-return...) for the return-action.
15250 Pass (rmail-yank-current-message...) for the yank-action.
15251 (rmail-yank-current-message): New function.
15252 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
15253 (rmail-reply): Likewise.
15254 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
15256 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
15257 buffer, not the last. Reject temp buffers. Use the rmail-mode
15258 buffer, not newbuf.
15260 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
15262 * server.el (server-ensure-safe-dir): Simplify.
15264 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15266 * emacs-lisp/smie.el: Provide smarter auto-filling.
15267 (smie-auto-fill): New function.
15268 (smie-setup): Use it.
15270 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
15272 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
15274 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
15275 (comment-indent): Use it.
15277 2012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
15279 * ses.el: The overall change is to add cell renaming, that is
15280 setting fancy names for cell symbols other than name matching
15281 "\\`[A-Z]+[0-9]+\\'" regexp .
15282 (ses-localvars): Add ses--renamed-cell-symb-list.
15283 (ses-create-cell-variable): New defun.
15284 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
15285 (ses-relocate-formula): Relocate formulas only for cells the
15286 symbols of which are not renamed, i.e. symbols whose names do not
15287 match regexp "\\`[A-Z]+[0-9]+\\'".
15288 (ses-relocate-all): Relocate values only for cells the symbols of
15289 which are not renamed.
15290 (ses-load): Create cells variables as the (ses-cell ...) are read,
15291 in order to check row col consistency with cell symbol name only
15292 for cells that are not renamed.
15293 (ses-replace-name-in-formula): New defun.
15294 (ses-rename-cell): New defun.
15296 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
15298 * progmodes/perl-mode.el (perl-indent-parens-as-block):
15299 New option (bug#11118).
15300 (perl-calculate-indent): Respect it.
15302 2012-04-17 Glenn Morris <rgm@gnu.org>
15304 * dired-aux.el (dired-mark-read-string): Doc fix.
15306 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
15308 * dired-aux.el (dired-mark-read-string): Offer optional completion.
15309 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
15311 2012-04-17 Glenn Morris <rgm@gnu.org>
15313 * mouse.el (mouse-drag-track):
15314 * speedbar.el (speedbar-frame-mode):
15315 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
15317 2012-04-16 Leo Liu <sdl.web@gmail.com>
15319 * progmodes/python.el: Trivial cleanup.
15321 2012-04-16 Glenn Morris <rgm@gnu.org>
15323 * vc/vc.el (vc-string-prefix-p):
15324 * vc/pcvs-util.el (cvs-string-prefix-p):
15325 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
15326 * mpc.el (mpc-string-prefix-p):
15327 Make all of these into obsolete aliases for string-prefix-p.
15329 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
15331 * textmodes/two-column.el: Move custom options to the start.
15332 (frame-width): Remove compat definition.
15333 (2C-associate-buffer, 2C-dissociate):
15334 Use with-current-buffer rather than save-excursion.
15335 (2C-dissociate): Force a mode-line update.
15336 (2C-autoscroll): Use ignore-errors.
15338 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
15341 * emacs-lisp/cl-extra.el (*random-state*):
15342 Remove unnecessary declaration.
15344 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
15346 * play/cookie1.el (cookie-snarf):
15347 Give an explicit error if input file cannot be read.
15349 * play/yow.el (yow-file): Use expand-file-name rather than concat.
15351 * progmodes/perl-mode.el (c-macro-expand):
15352 Remove unnecessary autoload (it is in loaddefs.el).
15354 * textmodes/picture.el (picture-desired-column)
15355 (picture-update-desired-column): Convert comments to doc-strings.
15356 (picture-substitute): Remove function.
15357 (picture-mode-map): Initialize in the defvar.
15359 * woman.el: Remove eval-after-load for tar-mode.
15360 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
15361 (woman-tar-extract-file): Autoload it.
15363 * frame.el (automatic-hscrolling): Make this alias obsolete.
15365 2012-04-12 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
15367 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
15368 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
15369 (ispell-dictionary-base-alist): Revert to original XEmacs
15370 friendly version for default. [:alpha:] will be added in
15371 `ispell-set-spellchecker-params' if needed.
15373 2012-04-16 Chong Yidong <cyd@gnu.org>
15375 * image.el (imagemagick--file-regexp): New variable.
15376 (imagemagick-register-types): Use it.
15377 (imagemagick-types-inhibit): Add :set function. Allow new value
15378 of t to inhibit all types.
15380 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
15381 so we can preload it.
15383 * loadup.el (fboundp): Preload regexp-opt, needed by
15384 imagemagick-register-types.
15386 2012-04-15 Chong Yidong <cyd@gnu.org>
15388 * frame.el (scrolling): Remove nearly unused customization group.
15390 * scroll-all.el (scroll-all-mode): Move to windows group.
15392 2012-04-15 Chong Yidong <cyd@gnu.org>
15394 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
15396 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15398 Avoid the use of ((lambda ...) ...) in lexical-binding code.
15399 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
15401 2012-04-15 Glenn Morris <rgm@gnu.org>
15403 * simple.el (process-file-side-effects): Doc fix.
15405 2012-04-15 Glenn Morris <rgm@gnu.org>
15407 * international/mule-cmds.el (set-language-environment): Doc fix.
15409 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15411 * server.el (server-auth-key, server-generate-key): Doc fixes.
15412 (server-get-auth-key): Doc fix. Use `string-match-p'.
15413 (server-start): Reflow docstring.
15415 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
15417 * server.el (server-generate-key): `called-interactively-p'
15418 requires a parameter.
15420 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
15422 * server.el (server-auth-key): New variable.
15423 (server-generate-key, server-get-auth-key): New function.
15424 (server-start): Use the new variable and functions to allow
15425 setting a permanent server key (bug#9423).
15427 2012-04-14 Leo Liu <sdl.web@gmail.com>
15429 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
15431 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
15434 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
15435 Emacs uses American spelling.
15437 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15439 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
15440 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
15441 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
15442 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
15444 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15446 * progmodes/which-func.el (which-func-modes): Change default.
15448 2012-04-14 Kim F. Storm <storm@cua.dk>
15450 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
15451 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
15453 2012-04-14 Chong Yidong <cyd@gnu.org>
15455 * custom.el (custom-theme-set-variables): Doc fix.
15457 2012-04-14 Glenn Morris <rgm@gnu.org>
15459 * international/mule.el (set-auto-coding-for-load): Doc fix.
15461 2012-04-14 Alan Mackenzie <acm@muc.de>
15463 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
15464 imenu work again for Objective C Mode. Correct the *-index values,
15465 these having been disturbed by a previous change in 2011-08.
15467 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
15468 Correct two search limits.
15470 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15472 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
15474 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
15476 * international/characters.el: Fix sorting.
15478 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15480 * international/characters.el: Add more missing Latin case pairs.
15482 2012-04-14 Glenn Morris <rgm@gnu.org>
15484 * files.el (dir-locals-set-class-variables): Doc fix.
15486 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15488 * international/characters.el: Add set-case-syntax-pair call for
15489 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
15490 counterpart. (Bug#11209)
15492 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
15494 2012-04-14 Glenn Morris <rgm@gnu.org>
15496 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15498 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15500 * textmodes/ispell.el (ispell-dictionary-base-alist):
15501 Add data for Hebrew.
15503 2012-04-14 Chong Yidong <cyd@gnu.org>
15505 * net/rcirc.el (rcirc-cmd-quit):
15506 Revert 2012-03-18 change (Bug#11192).
15508 2012-04-14 Glenn Morris <rgm@gnu.org>
15510 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
15512 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15514 * minibuffer.el (completion-in-region-mode-map):
15515 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
15517 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
15519 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
15521 2012-04-13 Masatake YAMATO <yamato@redhat.com>
15523 * minibuffer.el (minibuffer-local-filename-syntax): New variable
15524 to allow `C-M-f' and `C-M-b' to move to the nearest path
15525 separator (bug#9511).
15527 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
15529 * avoid.el: Require cl when compiling. And also move the
15530 `provide' to the end.
15532 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15534 * avoid.el (mouse-avoidance-banish-position): New variable.
15535 (mouse-avoidance-banish-destination): Use it (bug#10165).
15537 2012-04-13 Leo Liu <sdl.web@gmail.com>
15539 * progmodes/which-func.el (which-func-modes): Add objc-mode.
15541 2012-04-13 Ken Brown <kbrown@cornell.edu>
15543 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
15544 this is no longer needed now that cygstart understands file:// URLs.
15545 (browse-url-filename-alist): For the same reason, don't modify
15546 file:// URLs on Cygwin.
15548 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
15550 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
15551 the region on shift if the binding is already shifted (bug#11221).
15553 2012-04-12 Glenn Morris <rgm@gnu.org>
15555 * mail/mailpost.el: Move to obsolete/.
15557 2012-04-12 Drew Adams <drew.adams@oracle.com>
15559 * imenu.el (imenu--generic-function): Ignore invisible definitions
15562 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
15564 * hexl.el (hexl-bits): New variable.
15565 (hexl-options): Mention the variable in the doc string.
15566 (hexl-rulerise, hexl-line-displen): New functions.
15567 (hexl-mode): Mention the new variable.
15568 (hexl-mode, hexl-current-address, hexl-current-address):
15570 (hexl-ascii-start-column): New function.
15571 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
15572 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
15574 2012-04-12 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
15576 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
15577 '("-i" ENCODING), in 2 separate command-line arguments, to specify
15578 the encoding, as expected by hunspell.
15580 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
15582 * battery.el (battery--linux-sysfs-regexp): New const.
15583 (battery-status-function): Use it. Remove yeeloong special case.
15584 (battery-yeeloong-sysfs): Remove.
15585 (battery-echo-area-format): Remove yeeloong special case.
15587 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15589 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
15590 Reported by Noah Friedman.
15592 * subr.el (read-passwd): Use read-string.
15594 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15596 * vcursor.el (vcursor-move): Increase the priority of the overlay
15599 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15601 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
15602 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
15604 2012-04-11 William Stevenson <yhvh2000@gmail.com>
15606 * textmodes/artist.el (artist-mode): Convert artist-mode to use
15607 define-minor-mode (bug#10760).
15609 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15611 * progmodes/grep.el (rgrep): Tweak the find command line so
15612 that directories matching `grep-find-ignored-files' won't be
15613 pruned (bug#10351).
15615 2012-04-11 Chong Yidong <cyd@gnu.org>
15617 * startup.el (command-line): Remove support for long-obsolete
15618 variable font-lock-face-attributes.
15620 2012-04-11 Glenn Morris <rgm@gnu.org>
15622 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
15624 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15626 * window.el (window--state-get-1): Obey window-point-insertion-type.
15628 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
15630 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
15631 to previous function when point is on the first character of a
15632 function. Take care of that in `narrow-to-defun' (bug#6157).
15634 2012-04-11 Glenn Morris <rgm@gnu.org>
15636 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
15637 not just file-errors.
15639 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
15640 (vc-bzr-sha1): Use internal sha1.
15642 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15644 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
15646 2012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
15648 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
15649 that start in the middle of the line (bug#10496).
15651 2012-04-10 Dan Nicolaescu <dann@gnu.org>
15653 * battery.el (battery-linux-proc-acpi): Only one battery is
15654 discharged at a time, but that seems to confuse battery.el when
15655 computing `rate-type' for the battery not being discharged
15658 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15660 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
15662 * international/quail.el: Use dolist and simplify.
15663 (quail-define-package, quail-update-keyboard-layout)
15664 (quail-define-rules): Use dolist.
15665 (quail-insert-kbd-layout, quail-get-translation): CSE.
15667 * tmm.el: Use dolist, remove left over hook.
15668 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
15670 (calendar-load-hook): Don't mess with it.
15672 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
15673 Use derived-mode-p. Run the diff asynchronously.
15675 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15677 * obsolete/mouse-sel.el: Add an Obsolete-since header.
15679 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
15681 * misc.el: Display absolute path of loaded DLLs (bug#10424).
15682 (list-dynamic-libraries--loaded): New function.
15683 (list-dynamic-libraries--refresh): Use it.
15685 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
15687 * progmodes/python.el (python-fill-paragraph):
15688 Make python-fill-region in a multiline string work when font-lock is
15689 disabled (bug#7018).
15691 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
15693 * language/european.el (cp775): Add oem/legacy (en)coding on
15694 DOS/MS Windows for the Baltic languages. There are still plenty
15695 of texts written in this encoding/codepage (bug#6519).
15697 2012-04-10 Glenn Morris <rgm@gnu.org>
15699 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
15700 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
15702 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
15704 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
15705 next-line "n" and previous-line "p" in order to make recentf more
15706 consistent with ibuffer, dired or org-mode (bug#9387).
15708 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15710 * image.el (put-image): Return the overlay created instead of the
15711 optional input string (bug#7834). Note that this may break code
15712 that is (for some reason or other) depending on `put-image'
15713 returning the string.
15715 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
15717 * simple.el (zap-to-char): Allow zapping using input methods
15720 * textmodes/fill.el (fill-region): Leave point and mark where they
15721 were before filling (bug#5399).
15723 2012-04-09 Glenn Morris <rgm@gnu.org>
15725 * version.el (emacs-bzr-get-version):
15726 Handle lightweight checkouts of local branches.
15728 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
15730 * international/characters.el: Recover lost case pairs. (Bug#11209)
15732 2012-04-09 Chong Yidong <cyd@gnu.org>
15734 * custom.el (custom-variable-p): Return nil for non-symbol
15735 arguments instead of signaling an error.
15736 (user-variable-p): Obsolete alias for custom-variable-p.
15738 * apropos.el (apropos-variable):
15739 * files-x.el (read-file-local-variable):
15740 * simple.el (set-variable):
15741 * woman.el (woman-mini-help):
15742 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
15744 2012-04-09 Glenn Morris <rgm@gnu.org>
15746 * startup.el (normal-top-level): Don't look for leim-list.el
15747 in places where it will not be found. (Bug#910)
15749 * international/mule-cmds.el (set-default-coding-systems):
15750 * files.el (normal-mode):
15751 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
15752 This function was removed with ucs-tables.el in 2008.
15754 2012-04-08 Eli Zaretskii <eliz@gnu.org>
15756 * textmodes/ispell.el (ispell-check-version): For hunspell, set
15757 ispell-encoding8-command to "-i", without a trailing space.
15758 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
15759 separate command-line arguments, to specify the encoding, since
15760 that's how hunspell expects it.
15762 2012-04-08 Glenn Morris <rgm@gnu.org>
15764 * loadup.el: Load bindings before cus-start.
15765 This reduces somewhat the number of "rogue" settings in emacs -Q.
15767 2012-04-07 Glenn Morris <rgm@gnu.org>
15769 * version.el (emacs-bzr-get-version): New function.
15770 (emacs-bzr-version): New variable.
15771 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
15772 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
15774 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15776 * international/uni-bidi.el, international/uni-category.el:
15777 * international/uni-combining.el, international/uni-decimal.el:
15778 * international/uni-decomposition.el, international/uni-digit.el:
15779 * international/uni-lowercase.el, international/uni-mirrored.el:
15780 * international/uni-name.el, international/uni-numeric.el:
15781 * international/uni-titlecase.el, international/uni-uppercase.el:
15782 Update for Unicode 6.1.
15784 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15786 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
15788 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
15790 * window.el (shrink-window): Mention the `window-min-height'
15791 variable in the doc string.
15793 2012-04-05 Bastien Guerry <bzg@altern.org>
15795 * color.el (color-lighten-name): Fix typo.
15797 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15799 * server.el (server--on-display-p): New function.
15800 (server--on-display-p): Use it.
15802 2012-04-04 GĂ¡bor Vida <vidagabor@gmail.com> (tiny change)
15804 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
15807 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15809 * comint.el (comint--common-quoted-suffix): Check string boundary
15810 before comparing (bug#11158).
15811 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
15813 2012-04-04 Chong Yidong <cyd@gnu.org>
15815 * minibuffer.el (completion-extra-properties): Doc fix.
15817 * subr.el (delayed-warnings-hook): Doc fix.
15819 2012-04-04 Daiki Ueno <ueno@unixuser.org>
15821 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
15822 selection (Bug#11159).
15823 (epa-insert-keys): Inform that the default public key will be
15824 exported if no key is selected.
15826 2012-04-04 Richard Stallman <rms@gnu.org>
15828 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
15830 2012-04-03 Chong Yidong <cyd@gnu.org>
15832 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
15833 mail-insert-file, not its obsolete alias mail-attach-file.
15835 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
15837 * notifications.el (notifications-notify): Fix docstring.
15839 2012-04-02 Glenn Morris <rgm@gnu.org>
15841 * emacs-lisp/authors.el (authors-aliases): Another addition.
15843 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
15845 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
15846 `tramp-compat-call-process' instead of `tramp-local-call-process'.
15847 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
15849 2012-04-01 Chong Yidong <cyd@gnu.org>
15851 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
15852 Handle root directory properly.
15853 (copy-directory): Caller changed.
15855 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15856 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
15858 2012-03-31 Glenn Morris <rgm@gnu.org>
15860 * term/xterm.el (xterm-extra-capabilities): Doc fix.
15862 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
15864 * calendar/calendar.el (calendar-window-list)
15865 (calendar-hide-window): Restore. (Bug#11140)
15866 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
15868 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
15870 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15872 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15873 Check if file is a symlink (Bug#10489).
15875 * files.el (copy-directory): Likewise.
15877 2012-03-30 Chong Yidong <cyd@gnu.org>
15879 * image.el (imagemagick-types-inhibit)
15880 (imagemagick-register-types): Doc fix.
15882 2012-03-30 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
15884 * textmodes/ispell.el (ispell-get-extended-character-mode):
15885 Disable extended-char-mode for hunspell. hunspell does not support it
15886 and treats ~word as ordinary words in pipe mode.
15888 2012-03-30 Glenn Morris <rgm@gnu.org>
15890 * tutorial.el (help-with-tutorial): Ensure local variables don't
15891 happen to make the buffer read-only. (Bug#11127)
15893 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15895 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
15896 (perl-calculate-indent): Return `noindent' in strings.
15898 2012-03-28 Sam Steingold <sds@gnu.org>
15900 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
15901 instead of the broken adhockery which does not prevent calendar
15902 buffers from being displayed at random after exit.
15903 (calendar-window-list, calendar-hide-window): Remove the broken
15906 2012-03-28 Glenn Morris <rgm@gnu.org>
15908 * replace.el (query-replace-map): Doc fix.
15910 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
15912 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
15913 contents. (Bug#11109)
15915 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15917 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
15919 (avl-tree--check, avl-tree--check-node): New funs.
15921 2012-03-27 Martin Rudalics <rudalics@gmx.at>
15923 * window.el (switch-to-visible-buffer): New option.
15924 (switch-to-prev-buffer, switch-to-next-buffer):
15925 Observe switch-to-visible-buffer. Make sure that checking for a window
15926 showing a buffer already is done on the same frame.
15928 2012-03-27 Glenn Morris <rgm@gnu.org>
15930 * startup.el (mail-host-address): Doc fix.
15932 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15934 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
15935 than 197 variables.
15937 2012-03-26 Ami Fischman <ami@fischman.org>
15939 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
15941 2012-03-26 Glenn Morris <rgm@gnu.org>
15943 * files.el (save-buffers-kill-emacs): Doc fix.
15945 * startup.el (normal-top-level, command-line, command-line-1):
15946 Give them doc strings.
15948 2012-03-25 Eli Zaretskii <eliz@gnu.org>
15950 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
15951 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
15953 2012-03-25 Chong Yidong <cyd@gnu.org>
15955 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
15956 theme if it was previously enabled before (Bug#11031).
15958 * cus-theme.el (custom-theme-write-faces): Retrieve current face
15959 spec with custom-face-get-current-spec if its :shown-value is not
15960 determined yet (Bug#9337).
15961 (customize-create-theme, custom-theme-revert): Doc fixes.
15963 * button.el (button-at): Minor addition to docstring.
15965 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
15967 * vc/vc.el (vc-merge): Fix a prompt.
15969 2012-03-24 Chong Yidong <cyd@gnu.org>
15971 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
15974 * button.el (button-at): Minor addition to docstring.
15976 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
15978 * newcomment.el (comment-choose-indent): No space after BOL.
15980 2012-03-22 Sam Steingold <sds@gnu.org>
15982 * window.el (switch-to-prev-buffer): Revert last patch because the
15983 bug turned out to be an advertised feature (Elisp manual 28.14).
15985 2012-03-22 Glenn Morris <rgm@gnu.org>
15987 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
15988 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
15990 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15992 * net/network-stream.el (network-stream-open-starttls): Make error
15993 message under Windows be less misleading.
15995 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
15997 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
15998 understands (bug#9942).
16000 2012-03-22 Chong Yidong <cyd@gnu.org>
16002 * simple.el (end-of-visible-line): Handle return value of
16003 next-single-property-change properly (Bug#9371).
16005 2012-03-22 Kenichi Handa <handa@m17n.org>
16007 * international/quail.el (quail-insert-kbd-layout): Fix previous
16008 change. To avoid unwanted bidi reordering, use
16009 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
16011 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
16013 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
16014 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
16015 (ruby-beginning-of-indent): Be more careful with the difference
16016 between word-boundary and symbol boundary.
16017 (ruby-mode-syntax-table): Make : a symbol constituent.
16019 2012-03-21 Andreas Politz <politza@fh-trier.de>
16021 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
16023 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16025 * progmodes/etags.el (tags-completion-at-point-function):
16028 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
16030 2012-03-21 Sam Steingold <sds@gnu.org>
16032 * progmodes/etags.el (tags-completion-at-point-function):
16033 Avoid the error when point is inside the pattern.
16035 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
16037 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
16040 2012-03-21 Drew Adams <drew.adams@oracle.com>
16042 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
16044 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
16046 * ido.el (ido-set-current-directory, ido-read-internal)
16047 (ido-choose-completion-string, ido-completion-help): Handle nil
16048 value of ido-completion-buffer (Bug#11008).
16050 2012-03-21 Sam Steingold <sds@gnu.org>
16052 * window.el (switch-to-prev-buffer): Do not switch to a visible
16053 window previous buffer, just like with the frame previous buffers.
16055 2012-03-21 Chong Yidong <cyd@gnu.org>
16057 * faces.el (make-face, make-empty-face, copy-face):
16058 * face-remap.el (face-remap-add-relative, face-remap-set-base):
16061 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16063 * wid-edit.el (widget-complete-field): Remove (bug#11051).
16064 (widget-complete): Remove broken use of it.
16066 2012-03-20 Chong Yidong <cyd@gnu.org>
16068 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16069 Use string-width and truncate-string-width to handle arbitrary
16072 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
16074 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
16075 to draw rectangles, not squares. (Regression introduced by revno
16076 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
16078 2012-03-18 Chong Yidong <cyd@gnu.org>
16080 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
16081 it is not yet defined (for temacs).
16083 2012-03-18 Leo Liu <sdl.web@gmail.com>
16085 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
16088 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16090 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
16091 (ispell-choices-win-default-height, ispell-silently-savep)
16092 (ispell-dictionary-alist, ispell-encoding8-command)
16093 (ispell-check-version, ispell-aspell-find-dictionary)
16094 (ispell-valid-dictionary-list, ispell-words-keyword)
16095 (ispell-get-word, ispell-internal-change-dictionary)
16096 (ispell-region, ispell-skip-region-list)
16097 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
16098 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
16099 (ispell-message-text-end, ispell-message)
16100 (ispell-buffer-local-parsing): Doc fix.
16102 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
16104 * htmlfontify.el: Add support for code block fontification for ODT
16105 export (Bug #9914).
16106 (hfy-optimisations): Define new option
16108 (hfy-fontify-buffer): Honor above setting.
16109 (hfy-begin-span, hfy-end-span): New routines factored out form
16110 `hfy-fontify-buffer'.
16111 (hfy-begin-span-handler, hfy-end-span-handler): New variables
16112 that permit insertion of custom tags.
16113 (hfy-fontify-buffer): Use above handlers.
16114 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
16115 (hfy-face-to-css): Re-defined to be a variable.
16116 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
16117 over multiple runs. This is made possible by having the caller let
16118 bind a special variable `hfy-user-sheet-assoc'.
16119 (htmlfontify-string): New defun.
16120 (hfy-compile-face-map): Make sure that the last char in the
16121 buffer is correctly fontified.
16122 (hfy-face-resolve-face): Whitespace only change.
16124 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16126 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
16127 message more clear.
16129 2012-03-16 Leo Liu <sdl.web@gmail.com>
16131 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
16133 2012-03-16 Alan Mackenzie <acm@muc.de>
16135 Further optimize the handling of large macros.
16137 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
16138 limit to a call of `c-literal-limits'.
16139 (c-determine-+ve-limit): New function.
16140 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
16141 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
16142 In CASE 5B, restrict a search limit to 500.
16143 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
16145 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
16146 Restrict macro bounds to +-500 from after-change's BEG END.
16148 2012-03-16 Leo Liu <sdl.web@gmail.com>
16150 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
16152 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
16154 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
16155 `special-mode' setting of `buffer-read-only'. (Bug#11010)
16157 2012-03-16 Glenn Morris <rgm@gnu.org>
16159 * view.el (view-buffer, view-buffer-other-window)
16160 (view-buffer-other-frame): Doc fixes re special mode-class.
16162 * subr.el (eval-after-load): If named feature is provided not from
16163 a file, run after-load forms. (Bug#10946)
16165 * calendar/calendar.el (calendar-insert-at-column):
16166 Handle non-unit-width characters a bit better. (Bug#10978)
16168 2012-03-15 Chong Yidong <cyd@gnu.org>
16170 * emacs-lisp/ring.el (ring-extend): New function.
16171 (ring-insert+extend): Extend the ring correctly (Bug#11019).
16173 * comint.el (comint-read-input-ring)
16174 (comint-add-to-input-history): Grow comint-input-ring lazily.
16176 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16178 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
16179 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
16181 * imenu.el: Fix multiple inheritance breakage (bug#9199).
16182 (imenu-add-to-menubar): Don't add a redundant index.
16183 (imenu-update-menubar): Handle a dynamically composed keymap.
16185 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
16187 * mail/sendmail.el (mail-encode-header):
16188 Bind rfc2047-encode-encoded-words to nil.
16190 2012-03-13 Glenn Morris <rgm@gnu.org>
16192 * calendar/calendar.el (calendar-string-spread):
16193 Handle non-unit-width characters a bit better. (Bug#10978)
16195 2012-03-13 Leo Liu <sdl.web@gmail.com>
16197 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
16198 directory and file as argument (Bug#10822).
16200 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16202 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
16203 For dynamically generated code, follow $PC.
16204 (gdb-disassembly-handler-custom): Handle no function name case.
16206 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
16208 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
16209 * emulation/ws-mode.el (ws-query-replace):
16210 * sort.el (sort-regexp-fields):
16211 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
16213 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16215 * dabbrev.el: Fix cycle completion order (bug#10963).
16216 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
16217 (dabbrev-completion): Don't use an obarray; provide
16218 a cycle-sort-function.
16220 2012-03-12 Leo Liu <sdl.web@gmail.com>
16222 * simple.el (kill-new): Use equal-including-properties for comparison.
16223 (kill-do-not-save-duplicates): Doc fix.
16225 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16227 * dabbrev.el: Fix cycle completion (bug#10963).
16228 Use lexical binding and wrap to 80 columns.
16229 (dabbrev-completion): Delay computing the list of completions.
16231 2012-03-12 Kenichi Handa <handa@m17n.org>
16233 * international/quail.el (quail-insert-kbd-layout): Surround each
16234 row by LRO and PDF instead of inserting many LRMs. Pad the left
16235 and right of each non-spacing marks. Insert invisible space
16236 between lower and upper characters to prevent composition.
16238 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16240 * minibuffer.el (minibuffer-complete): Don't get confused when the
16241 function is run twice via different commands (bug#10958).
16242 (complete-with-action): Fix docstring.
16244 2012-03-12 Chong Yidong <cyd@gnu.org>
16246 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
16247 (nxml-completion-at-point-function): New function.
16248 (nxml-mode): Use it.
16249 (nxml-bind-meta-tab-to-complete-flag): Default to t.
16251 * emacs-lisp/package.el (package-unpack, package-unpack-single):
16252 Load generated autoloads file before byte compiling (Bug#10970).
16253 (package--make-autoloads-and-compile): New helper fun.
16255 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
16257 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
16259 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
16261 * autorevert.el (auto-revert-handler): Ensure, that
16262 file-readable-p is applied only for local files or in
16263 auto-revert-tail-mode.
16265 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
16267 * server.el (server-eval-at): Handle non-tcp connections.
16268 Decode result string.
16270 * server.el (server-msg-size): New constant.
16271 (server-reply-print): New function.
16272 (server-eval-and-print): Use it.
16273 (server-eval-at): Use server-quote-arg and server-unquote-arg.
16274 Handle -print-nonl.
16276 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
16278 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
16281 2012-03-11 Chong Yidong <cyd@gnu.org>
16283 * simple.el (goto-line): Doc fix (Bug#9938).
16285 * subr.el (save-window-excursion): Doc fix (Bug#9979).
16287 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
16288 when finished (Bug#10963).
16290 2012-03-11 Martin Rudalics <rudalics@gmx.at>
16292 * window.el (split-window-below): Fix bug in case where
16293 split-window-keep-point is nil (Bug#10971).
16295 2012-03-11 Juri Linkov <juri@jurta.org>
16297 * replace.el (replace-highlight): Set isearch-word to nil
16298 unconditionally. (Bug#10887)
16300 2012-03-10 Eli Zaretskii <eliz@gnu.org>
16302 * net/mairix.el (mairix-replace-invalid-chars): Rename from
16303 mairix-replace-illegal-chars; all callers changed. Don't remove
16304 ^, ~, and = characters: they are meaningful in mairix search specs.
16305 (mairix-widget-create-query): Add usage information about mairix
16306 search forms: negating words, searching for substrings, etc.
16308 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
16310 * international/fontset.el (font-encoding-alist): Add an entry for
16311 ksx1001 (Bug#5667).
16313 2012-03-10 Richard Stallman <rms@gnu.org>
16315 * mail/sendmail.el (mail-encode-header):
16316 Set rfc2047-encode-encoded-words.
16318 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
16320 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
16321 view buffer means not swapped.
16322 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
16323 (rmail-write-region-annotate): Error if real text has disappeared.
16325 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
16327 2012-03-10 Chong Yidong <cyd@gnu.org>
16329 * emulation/cua-rect.el (cua--init-rectangles):
16330 * emulation/cua-base.el (cua--init-keymaps):
16331 Add delete-forward-char to remappings (Bug#9666).
16333 2012-03-10 Martin Rudalics <rudalics@gmx.at>
16335 * speedbar.el (speedbar-unhighlight-one-tag-line):
16336 Avoid unhighlighting due to frame switching (Bug#10275).
16338 2012-03-10 Chong Yidong <cyd@gnu.org>
16340 * minibuffer.el (completion-in-region, completion-help-at-point):
16341 Give the completion field overlay a high priority (Bug#6830).
16343 * dired.el (dired-goto-file): Recognize absolute file name
16344 listings (Bug#7126).
16345 (dired-goto-file-1): New helper function.
16346 (dired-toggle-read-only): Inhibit warnings.
16348 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
16350 * net/dbus.el (dbus-property-handler): Return empty array if
16351 there are no properties.
16353 2012-03-09 Leo Liu <sdl.web@gmail.com>
16355 * savehist.el (savehist-printable): Stricter check for string
16358 2012-03-09 Eli Zaretskii <eliz@gnu.org>
16360 * mail/smtpmail.el (smtpmail-send-it):
16361 Bind coding-system-for-write to *-unix, so that FCC files are kept in
16364 2012-03-09 Glenn Morris <rgm@gnu.org>
16366 * files.el (dir-locals-find-file):
16367 Don't check result is regular, readable.
16368 (dir-locals-read-from-file): Demote errors.
16370 2012-03-08 Eli Zaretskii <eliz@gnu.org>
16372 * international/quail.el (quail-insert-kbd-layout):
16373 Insert invisible LRM characters before each character in a keyboard
16374 layout cell, to prevent their reordering by bidi display engine.
16375 For details, see the discussion in
16376 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
16378 2012-03-08 Alan Mackenzie <acm@muc.de>
16380 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
16381 the starting position; make it extend the marked region when
16382 invoked repeatedly - all under appropriate circumstances.
16383 Fixes bugs #5525, #10906.
16385 2012-03-08 Glenn Morris <rgm@gnu.org>
16387 * files.el (locate-dominating-file, dir-locals-find-file):
16388 Undo 2012-03-06 change.
16390 2012-03-07 Eli Zaretskii <eliz@gnu.org>
16392 * international/quail.el (quail-help):
16393 Force bidi-paragraph-direction be left-to-right. See discussion in
16394 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
16397 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
16399 Avoid superfluous registering of signals. (Bug#10807)
16401 * notifications.el (notifications-on-action-object)
16402 (notifications-on-close-object): New defvars.
16403 (notifications-on-action-signal, notifications-on-closed-signal):
16404 Unregister the signal if not needed any longer.
16405 (notifications-notify): Register `notifications-action-signal' or
16406 `notifications-closed-signal', if :on-action or :on-close has been
16407 passed as argument.
16409 2012-03-07 Chong Yidong <cyd@gnu.org>
16411 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
16414 2012-03-06 Glenn Morris <rgm@gnu.org>
16416 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16417 (x-disown-selection-internal, x-get-selection-internal):
16418 Doc fix (add arglist signatures). (Bug#10783)
16420 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16422 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16423 Handle breakpoints with no "type".
16425 2012-03-06 Glenn Morris <rgm@gnu.org>
16427 * files.el (locate-dominating-file): Add optional predicate argument.
16428 (dir-locals-find-file): Make use of above change.
16430 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
16432 * info.el (Info-insert-dir): Also try "dir.gz".
16434 2012-03-06 Glenn Morris <rgm@gnu.org>
16436 * files.el (dir-locals-find-file):
16437 Ignore non-readable or non-regular files. (Bug#10928)
16439 * files.el (locate-dominating-file): Doc fix.
16441 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
16443 * calendar/calendar.el (calendar-set-mode-line):
16444 `getenv' returns a string. (Bug#10951)
16446 2012-03-05 Leo Liu <sdl.web@gmail.com>
16448 * simple.el (backward-delete-char-untabify): Constrain point to
16451 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
16453 2012-03-05 Chong Yidong <cyd@gnu.org>
16455 * simple.el (count-words): If called from Lisp, return the word
16456 count, for symmetry with `count-lines'. Arglist changed.
16457 (count-words--message): Args changed. Consolidate counting code
16458 from count-words and count-words-region.
16459 (count-words-region): Caller changed.
16460 (count-lines-region): Make it an obsolete alias.
16462 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
16464 * saveplace.el (save-place-to-alist)
16465 (save-place-ignore-files-regexp): Allow value nil to disable this
16468 2012-03-04 Chong Yidong <cyd@gnu.org>
16470 * faces.el (face-spec-reset-face): For the default face, reset the
16471 attributes to default values (Bug#10748).
16473 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16475 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
16476 previous patch: Check `message-send-mail-function', and not the
16477 default function (bug#10897).
16479 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
16481 * notifications.el (notifications-on-action-signal)
16482 (notifications-on-closed-signal): Check for unique service name of
16483 incoming event. Fix error in removing entry.
16484 (top): Register for signals with wildcard service name.
16485 (notifications-notify): Use daemon unique service name for map entries.
16487 2012-03-04 Chong Yidong <cyd@gnu.org>
16489 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
16491 2012-03-04 Glenn Morris <rgm@gnu.org>
16493 * abbrev.el (copy-abbrev-table, abbrev-table-p)
16494 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
16495 (expand-abbrev, define-abbrev-table): Doc fixes.
16497 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16499 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
16500 `message-default-send-mail-function' and not `send-mail-function'
16501 when doing the prompting for `sendmail-query-once' before sending
16502 in Message buffers (bug#10897).
16504 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
16505 This is inconsistent with all the other stream functions, which leave
16506 the setting up to the higher levels (if so wanted) (bug#10931).
16508 2012-03-02 Alan Mackenzie <acm@muc.de>
16510 Depessimize the handling of very large macros.
16512 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
16513 (c-macro-cache-syntactic): New variables to implement a one
16514 element macro cache.
16515 (c-invalidate-macro-cache): New function.
16516 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
16517 Adapt to use the new cache.
16518 (c-state-safe-place): Use better the cache of safe positions.
16519 (c-state-semi-nonlit-pos-cache)
16520 (c-state-semi-nonlit-pos-cache-limit):
16521 New variables for...
16522 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
16523 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
16524 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
16525 Use c-state-semi-safe-place.
16527 * progmodes/cc-langs.el (c-get-state-before-change-functions):
16528 Add c-invalidate-macro-cache to the C, C++, Obj entries.
16530 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
16532 * jka-compr.el (jka-compr-call-process):
16533 Apply `file-accessible-directory-p' only when the default directory is
16536 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
16538 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
16539 access of FILE2, if FILE1 does not exist.
16541 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
16542 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
16544 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
16545 Add "PAGER=" to `process-environment'.
16547 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
16549 * progmodes/sql.el: Bug fix
16550 (sql-get-login-ext): Save login values in globals.
16551 (sql-get-login): Use new version of `sql-get-login-ext'.
16552 (sql-interactive-mode): Set global `sql-connection' to nil.
16553 (sql-connect): Set global values for connection.
16554 (sql-product-interactive): Save global values as buffer local.
16556 2012-02-29 Leo Liu <sdl.web@gmail.com>
16558 * abbrev.el (define-abbrevs): Reset sys to nil.
16560 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16562 * files.el (file-equal-p): Rename from `files-equal-p'.
16563 Return nil when one or both files don't exist.
16564 (file-subdir-of-p): Now only top directory must exists,
16565 return nil if it doesn't.
16566 (copy-directory): No need to test with `file-subdir-of-p' after
16568 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
16571 2012-02-28 Glenn Morris <rgm@gnu.org>
16573 * shell.el (shell-mode):
16574 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
16575 * play/landmark.el (landmark-font-lock-face-O):
16576 * play/handwrite.el (handwrite):
16577 * play/gomoku.el (gomoku-O):
16578 * net/browse-url.el (browse-url-browser-display):
16579 * international/mule.el (define-charset):
16580 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
16581 * filesets.el (filesets-find-file-delay):
16582 * eshell/em-xtra.el (eshell-xtra):
16583 * eshell/em-unix.el (eshell-grep):
16584 * emulation/viper.el (viper-mode):
16585 * emacs-lisp/regexp-opt.el (regexp-opt-group):
16586 * emacs-lisp/easymenu.el (easy-menu-define):
16587 * calendar/timeclock.el (timeclock-use-display-time):
16589 * bookmark.el (bookmark-save-flag):
16590 Doc fix (standardize possessive apostrophe usage).
16592 2012-02-27 Chong Yidong <cyd@gnu.org>
16594 * emulation/viper-cmd.el (viper-intercept-ESC-key):
16595 Fix key-binding lookup for ESC key (Bug#9146).
16597 * font-lock.el (font-lock-specified-p): Rename from
16598 font-lock-spec-present. Callers changed.
16600 2012-02-27 Daniel Hackney <dan@haxney.org>
16602 * emacs-lisp/package.el (package-compute-transaction):
16603 Handle holding a package version to t in package-load-list.
16605 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
16607 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
16608 (tramp-get-inode, tramp-get-device): Use cached values.
16610 2012-02-26 Alan Mackenzie <acm@muc.de>
16612 Check there is a font-lock specification before doing initial
16615 * font-core.el (font-lock-mode): Move the conditional from
16616 :after-hook to font-lock-initial-fontify.
16617 (font-lock-default-function): Move the check for a specification
16618 to font-lock-spec-present.
16620 * font-lock.el (font-lock-initial-fontify): Call ...
16621 (font-lock-spec-present): New function.
16623 2012-02-26 Jim Blandy <jimb@red-bean.com>
16625 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
16626 (gdb-send): Apply it to the operand of the '-interpreter-exec
16627 console' command, so that we can pass arguments with (say) quotes
16628 in them. Store exact string sent in gdb-debug-log (Bug#10765).
16630 2012-02-26 Chong Yidong <cyd@gnu.org>
16632 * help-fns.el (describe-function-1): Clarify description of
16633 remapping (Bug#10844).
16635 * files.el (files-equal-p): Doc fix.
16636 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
16637 and quit the loop once a mismatch is found.
16639 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
16641 * bs.el (bs--show-with-configuration): Don't throw an error
16642 if the window cannot be split; otherwise, subsequent calls to
16643 bs-show fail, restoring a stale window config. (Bug#10882)
16645 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
16647 * term/ns-win.el (global-map): Bind ns-drag-file to
16648 ns-find-file (Bug#5855, Bug#10050).
16650 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
16652 * calendar/parse-time.el (parse-time-string): Allow extractor to
16655 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
16657 * net/tramp.el (tramp-file-name-for-operation):
16658 Add `files-equal-p' and `file-subdir-of-p'.
16660 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16661 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16662 Add COPY-CONTENTS argument.
16664 2012-02-25 Chong Yidong <cyd@gnu.org>
16666 Add custom groups for VC backends, for consistency with vc-bzr.
16668 * vc/vc-arch.el (vc-arch):
16669 * vc/vc-cvs.el (vc-cvs):
16670 * vc/vc-git.el (vc-git):
16671 * vc/vc-hg.el (vc-hg):
16672 * vc/vc-mtn.el (vc-mtn):
16673 * vc/vc-rcs.el (vc-rcs):
16674 * vc/vc-sccs.el (vc-sccs):
16675 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
16676 All relevant defcustoms reassigned.
16678 2012-02-25 Chong Yidong <cyd@gnu.org>
16680 * newcomment.el (comment-styles): Add autoload (Bug#10868).
16682 * term/x-win.el (x-initialize-window-system): Reduce default for
16683 x-selection-timeout to 5 seconds (Bug#8869).
16685 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16687 * files.el (files-equal-p, file-subdir-of-p): New functions.
16688 (copy-directory): Error when trying to copy a directory on itself.
16689 Add missing copy-contents arg to tramp handler.
16690 * dired-aux.el (dired-copy-file-recursive): Same.
16691 (dired-create-files): Modify destination when source is equal to
16692 dest when copying files.
16693 Return also when dest is a subdir of source. (Bug#10489)
16695 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
16697 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
16700 2012-02-23 Alan Mackenzie <acm@muc.de>
16702 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
16703 parameter "after-hook:" to allow the expansion to run code after
16704 the execution of the mode hooks.
16706 * font-lock.el (font-lock-initial-fontify): New function extracted
16707 from font-lock-mode-internal.
16709 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
16712 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16714 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
16715 (completion--cache-all-sorted-completions): New function.
16716 (completion-all-sorted-completions): Use it.
16717 (completion--do-completion, minibuffer-force-complete):
16718 Use it to re-instate the flush hook.
16720 * icomplete.el (icomplete-completions): Replace last fix with a better
16723 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
16725 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
16726 when it might call us back infinitely (bug#10797).
16728 2012-02-23 Glenn Morris <rgm@gnu.org>
16730 * minibuffer.el (completion-category-overrides): Doc fix.
16732 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16734 * minibuffer.el (completion-table-with-context): Fix inf-loop.
16735 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
16737 2012-02-23 Glenn Morris <rgm@gnu.org>
16739 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
16740 (authors-obsolete-files-regexps, authors-ignored-files)
16741 (authors-ambiguous-files, authors-renamed-files-alist):
16744 2012-02-23 Juri Linkov <juri@jurta.org>
16746 * isearch.el (isearch-occur): Sync interactive spec with occur's
16747 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
16749 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
16751 2012-02-22 Juri Linkov <juri@jurta.org>
16753 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
16754 (ucs-insert): Doc fix. Check for hex digits in the string.
16755 Don't display `nil' in the error message. (Bug#10857)
16757 2012-02-22 Alan Mackenzie <acm@muc.de>
16759 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
16761 2012-02-22 Glenn Morris <rgm@gnu.org>
16763 * ffap.el (ffap-c-path):
16764 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
16766 2012-02-22 Chong Yidong <cyd@gnu.org>
16768 * custom.el (load-theme): Doc fix.
16770 2012-02-22 Glenn Morris <rgm@gnu.org>
16772 * dired-x.el (dired-guess-shell-alist-default):
16773 Remove escape sequences from nroff output. (Bug#172)
16775 2012-02-21 Glenn Morris <rgm@gnu.org>
16777 * vc/emerge.el (emerge-defvar-local):
16778 Set `permanent-local' property rather than unused `preserved'.
16780 * textmodes/picture.el (picture-delete-char): New alias.
16781 (picture-mode-map): Use it. (Bug#10860)
16782 (picture-mode): Doc fix.
16784 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
16786 * newcomment.el (uncomment-region-default): Remove unused binding.
16788 2012-02-21 Glenn Morris <rgm@gnu.org>
16790 * textmodes/picture.el (picture-motion, picture-motion-reverse)
16791 (picture-self-insert, picture-tab-chars): Doc fix.
16792 (picture-mode-map): Fix C-a, C-e.
16794 2012-02-20 Glenn Morris <rgm@gnu.org>
16796 * emacs-lisp/authors.el (authors-aliases): Add another entry.
16798 2012-02-20 Leo Liu <sdl.web@gmail.com>
16800 * icomplete.el (icomplete-completions): Check FROM arg before
16801 passing to substring (Bug#10850).
16803 2012-02-19 Chong Yidong <cyd@gnu.org>
16805 * comint.el: Require ansi-color.
16806 (comint-output-filter-functions): Add ansi-color-process-output.
16808 * ansi-color.el: Don't set comint-output-filter-functions; it is
16809 now in the initial value defined in comint.el.
16810 (ansi-color-apply-face-function): New variable.
16811 (ansi-color-apply-on-region): Use it.
16812 (ansi-color-apply-overlay-face): New function.
16814 * shell.el (shell): No need to require ansi-color.
16815 (shell-mode): Use ansi-color-apply-face-function to highlight
16816 color escapes using font-lock-face property (Bug#10835).
16818 2012-02-19 Chong Yidong <cyd@gnu.org>
16820 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
16821 mode-line formats (Bug#10839).
16823 2012-02-18 Glenn Morris <rgm@gnu.org>
16825 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
16827 * mail/undigest.el (unforward-rmail-message): Doc fix.
16829 * saveplace.el (save-place-ignore-files-regexp): Add :version.
16831 2012-02-18 Eli Zaretskii <eliz@gnu.org>
16833 * international/characters.el (script-list): Sync with the latest
16834 Unicode Character Database.
16836 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
16838 * international/titdic-cnv.el: Remove duplicate coding tag.
16839 * language/cham.el: Likewise.
16840 * language/tai-viet.el: Likewise.
16842 2012-02-18 Glenn Morris <rgm@gnu.org>
16844 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
16845 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
16846 (calendar-bahai-all-holidays-flag, calendar-other-dates):
16847 * calendar/diary-lib.el (diary-abbreviated-year-flag):
16848 * calendar/holidays.el (holiday-bahai-holidays)
16849 (calendar-holidays, list-holidays):
16850 Use utf-8 BahĂ¡'Ă in doc-strings, menus, etc.
16852 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
16854 * saveplace.el (save-place-ignore-files-regexp): New variable
16855 allowing for excluding files from saving their location of point.
16856 The default value matches the temporary commit message editing
16857 files from Git, SVN, Bazaar, and Mercurial.
16858 (save-place-to-alist): Use it.
16860 2012-02-17 Lawrence Mitchell <wence@gmx.li>
16861 Stefan Monnier <monnier@iro.umontreal.ca>
16863 * newcomment.el (uncomment-region-default): Don't leave extra space
16864 when an arg is provided (bug#8150).
16866 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
16868 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
16870 2012-02-17 Glenn Morris <rgm@gnu.org>
16872 * net/socks.el: Require network-stream. (Bug#10599)
16874 2012-02-17 Kenichi Handa <handa@m17n.org>
16876 * international/charprop.el:
16877 * international/uni-name.el:
16878 * international/uni-old-name.el:
16879 * international/uni-comment.el: Regenerate.
16881 2012-02-16 Glenn Morris <rgm@gnu.org>
16883 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
16884 Interactively in calendar buffer, give an error if not on a date.
16886 2012-02-15 Glenn Morris <rgm@gnu.org>
16888 * shell.el (shell-delimiter-argument-list):
16889 Revert 2011-02-17 change. (Bug#8027)
16891 2012-02-15 Chong Yidong <cyd@gnu.org>
16893 * minibuffer.el (completion-at-point-functions): Doc fix.
16895 * custom.el (defcustom): Doc fix; note use of defvar.
16897 2012-02-15 Glenn Morris <rgm@gnu.org>
16899 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
16902 2012-02-14 Glenn Morris <rgm@gnu.org>
16904 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
16906 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
16908 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
16909 way the ports list is computed.
16910 (smtpmail-query-smtp-server): Prompt the user for a port number if
16911 we can't connect to any of the standard ports (bug#10810).
16913 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
16915 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
16917 2012-02-13 Glenn Morris <rgm@gnu.org>
16919 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
16921 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
16923 * net/gnutls.el (gnutls-trustfiles): New variable.
16924 (gnutls-negotiate): Use it.
16926 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
16928 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
16929 does its stuff if Gnus is running.
16931 2012-02-13 Alan Mackenzie <acm@muc.de>
16933 Fix a loop in c-set-fl-decl-start.
16935 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
16936 c-backward-syntactic-ws actually moves backwards.
16938 2012-02-13 Leo Liu <sdl.web@gmail.com>
16940 * net/rcirc.el (rcirc-markup-attributes): Move point to the
16941 beginning so that all \C-o chars are removed.
16943 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
16945 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
16947 2012-02-12 Alan Mackenzie <acm@muc.de>
16949 Fix infinite loop with long macros.
16950 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
16952 2012-02-12 Chong Yidong <cyd@gnu.org>
16954 * window.el (display-buffer): Doc fix (Bug#10785).
16956 2012-02-12 Glenn Morris <rgm@gnu.org>
16958 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16959 (x-disown-selection-internal, x-get-selection-internal):
16960 Sync docs with the xselect.c versions.
16962 * allout-widgets.el: Add missing license notice.
16964 2012-02-11 Glenn Morris <rgm@gnu.org>
16966 * select.el (x-get-selection-internal, x-own-selection-internal)
16967 (x-disown-selection-internal):
16968 * x-dnd.el (x-get-selection-internal): Update declarations.
16970 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
16972 * window.el (window-sides-slots):
16973 * tool-bar.el (tool-bar-position):
16974 * term/xterm.el (xterm-extra-capabilities):
16975 * ses.el (ses-self-reference-early-detection):
16976 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
16977 (verilog-auto-wire-type)
16978 (verilog-auto-delete-trailing-whitespace)
16979 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
16980 (verilog-auto-tieoff-declaration):
16981 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
16982 (sql-oracle-statement-starters, sql-oracle-scan-on):
16983 * progmodes/prolog.el (prolog-align-comments-flag)
16984 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
16985 (prolog-left-indent-regexp, prolog-paren-indent-p)
16986 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
16987 (prolog-types, prolog-mode-specificators)
16988 (prolog-determinism-specificators, prolog-directives)
16989 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
16990 (prolog-electric-dot-flag)
16991 (prolog-electric-dot-full-predicate-template)
16992 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
16993 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
16994 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
16995 (prolog-program-switches, prolog-prompt-regexp)
16996 (prolog-debug-on-string, prolog-debug-off-string)
16997 (prolog-trace-on-string, prolog-trace-off-string)
16998 (prolog-zip-on-string, prolog-zip-off-string)
16999 (prolog-use-standard-consult-compile-method-flag)
17000 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
17001 (prolog-imenu-max-lines, prolog-info-predicate-index)
17002 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
17003 (prolog-char-quote-workaround):
17004 * progmodes/cc-vars.el (c-defun-tactic):
17005 * net/tramp.el (tramp-encoding-command-interactive)
17006 (tramp-local-end-of-line):
17007 * net/soap-client.el (soap-client):
17008 * net/netrc.el (netrc-file):
17009 * net/gnutls.el (gnutls):
17010 * minibuffer.el (completion-category-overrides)
17011 (completion-cycle-threshold)
17012 (completion-pcm-complete-word-inserts-delimiters):
17013 * man.el (Man-name-local-regexp):
17014 * mail/feedmail.el (feedmail-display-full-frame):
17015 * international/characters.el (glyphless-char-display-control):
17016 * eshell/em-ls.el (eshell-ls-date-format):
17017 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
17018 (lisp-lambda-list-keyword-parameter-indentation)
17019 (lisp-lambda-list-keyword-parameter-alignment):
17020 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
17021 * dired-x.el (dired-omit-verbose):
17022 * cus-theme.el (custom-theme-allow-multiple-selections):
17023 * calc/calc.el (calc-highlight-selections-with-faces)
17024 (calc-lu-field-reference, calc-lu-power-reference)
17025 (calc-note-threshold):
17026 * battery.el (battery-mode-line-limit):
17027 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
17028 (archive-7z-update):
17029 * allout.el (allout-prefixed-keybindings)
17030 (allout-unprefixed-keybindings)
17031 (allout-inhibit-auto-fill-on-headline)
17032 (allout-flattened-numbering-abbreviation):
17033 * allout-widgets.el (allout-widgets-auto-activation)
17034 (allout-widgets-icons-dark-subdir)
17035 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
17036 (allout-widgets-theme-dark-background)
17037 (allout-widgets-theme-light-background)
17038 (allout-widgets-item-image-properties-emacs)
17039 (allout-widgets-item-image-properties-xemacs)
17040 (allout-widgets-run-unit-tests-on-load)
17041 (allout-widgets-time-decoration-activity)
17042 (allout-widgets-hook-error-post-time)
17043 (allout-widgets-track-decoration):
17044 Add missing :version tags to new defcustoms and defgroups.
17046 * progmodes/sql.el (sql-ansi-statement-starters)
17047 (sql-oracle-statement-starters): Add custom type.
17049 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
17050 (prolog-system-version): Give it a type.
17052 2012-02-11 Eli Zaretskii <eliz@gnu.org>
17054 * term/pc-win.el (x-select-text, x-selection-owner-p)
17055 (x-own-selection-internal, x-disown-selection-internal)
17056 (x-get-selection-internal): Sync doc strings and argument lists
17057 with xselect.c, common-win.el and x-win.el. (Bug#10783)
17059 2012-02-11 Leo Liu <sdl.web@gmail.com>
17061 * progmodes/python.el (python-end-of-statement): Fix infinite
17064 2012-02-10 Glenn Morris <rgm@gnu.org>
17066 * international/mule-cmds.el (unify-8859-on-encoding-mode)
17067 (unify-8859-on-decoding-mode): Properly mark as obsolete.
17069 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
17071 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
17072 about SMTP before checking the From header.
17074 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
17075 into own function for reuse by emacsbug.el.
17077 2012-02-10 Leo Liu <sdl.web@gmail.com>
17079 * subr.el (condition-case-unless-debug): Rename from
17080 condition-case-no-debug. All callers changed.
17081 (with-demoted-errors): Fix caller.
17083 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
17084 * nxml/rng-valid.el (rng-do-some-validation):
17085 * emacs-lisp/package.el (package-refresh-contents)
17086 (package-menu-execute):
17087 * desktop.el (desktop-create-buffer):
17088 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
17090 2012-02-10 Glenn Morris <rgm@gnu.org>
17092 * textmodes/bibtex.el:
17093 Add missing :version tags for new/changed defcustoms.
17095 * files.el (remote-file-name-inhibit-cache): Doc fixes.
17097 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
17099 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
17100 (smtpmail-via-smtp): Use it, or fall back on the From address.
17101 (smtpmail-send-it): Ditto.
17103 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
17105 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
17106 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
17107 (byte-compile-tmp-var): New const.
17108 (byte-compile-defvar): Use it to minimize .elc size.
17109 Just use `defvar' rather than simulate it (bug#10761).
17111 2012-02-09 Glenn Morris <rgm@gnu.org>
17113 * files.el (rename-uniquely): Doc fix. (Bug#3806)
17115 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
17118 * progmodes/compile.el (compilation-error-screen-columns)
17119 (compilation-first-column, compilation-filter-start): Doc fixes.
17121 * vc/log-view.el (log-view-toggle-entry-display):
17122 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
17124 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
17125 (report-emacs-bug-can-use-xdg-email):
17126 (report-emacs-bug-insert-to-mailer): Doc fixes.
17127 (report-emacs-bug): Message fix.
17129 * net/browse-url.el (browse-url-can-use-xdg-open)
17130 (browse-url-xdg-open): Doc fixes.
17132 * electric.el (electric-indent-mode, electric-pair-mode)
17133 (electric-layout-rules, electric-layout-mode): Doc fixes.
17134 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
17136 2012-02-08 Martin Rudalics <rudalics@gmx.at>
17138 * server.el (server-unselect-display): Don't inadvertently kill
17139 the current buffer. (Bug#10729)
17141 2012-02-08 Glenn Morris <rgm@gnu.org>
17143 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
17144 (sql-list-table): Doc fixes.
17146 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
17147 Comment out (does nothing).
17149 * completion.el (dynamic-completion-mode):
17150 * dirtrack.el (dirtrack-debug-mode):
17151 * electric.el (electric-layout-mode):
17152 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
17153 * face-remap.el (text-scale-mode, buffer-face-mode):
17154 * iimage.el (iimage-mode):
17155 * image-mode.el (image-transform-mode):
17156 * minibuffer.el (completion-in-region-mode):
17157 * scroll-lock.el (scroll-lock-mode):
17158 * simple.el (next-error-follow-minor-mode):
17159 * tar-mode.el (tar-subfile-mode):
17160 * tooltip.el (tooltip-mode):
17161 * vcursor.el (vcursor-use-vcursor-map):
17162 * wid-browse.el (widget-minor-mode):
17163 * emulation/tpu-edt.el (tpu-edt-mode):
17164 * emulation/tpu-extras.el (tpu-cursor-free-mode):
17165 * international/iso-ascii.el (iso-ascii-mode):
17166 * language/thai-util.el (thai-word-mode):
17167 * mail/supercite.el (sc-minor-mode):
17168 * net/goto-addr.el (goto-address-mode):
17169 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
17170 * progmodes/cwarn.el (cwarn-mode):
17171 * progmodes/flymake.el (flymake-mode):
17172 * progmodes/glasses.el (glasses-mode):
17173 * progmodes/hideshow.el (hs-minor-mode):
17174 * progmodes/pascal.el (pascal-outline-mode):
17175 * textmodes/enriched.el (enriched-mode):
17176 * vc/smerge-mode.el (smerge-mode):
17177 Doc fixes (minor mode argument).
17179 2012-02-07 Eli Zaretskii <eliz@gnu.org>
17181 * ls-lisp.el (ls-lisp-sanitize): New function.
17182 (ls-lisp-insert-directory): Use it to fix or remove any elements
17183 in file-alist with missing attributes. (Bug#4673)
17185 2012-02-07 Alan Mackenzie <acm@muc.de>
17187 Fix spurious recognition of c-in-knr-argdecl.
17189 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
17190 putative K&R region.
17192 2012-02-07 Alan Mackenzie <acm@muc.de>
17194 * progmodes/cc-engine.el (c-forward-objc-directive):
17195 Prevent looping in "#pragma mark @implementation".
17197 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
17199 * notifications.el (notifications-on-closed-signal): Make `reason'
17200 optional. (Bug#10744)
17202 2012-02-07 Glenn Morris <rgm@gnu.org>
17204 * emacs-lisp/easy-mmode.el (define-minor-mode):
17205 Doc fixes for the macro and the mode it defines.
17207 * image.el (imagemagick-types-inhibit): Doc fix.
17209 * cus-start.el (imagemagick-render-type): Add it.
17211 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
17213 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
17214 Set the default at load time, too, so that `font-lock-fontify-buffer'
17215 can be called without setting up the entire mode first. This fixes
17216 a bug in `mm-inline-text' with C MIME parts.
17218 2012-02-06 Chong Yidong <cyd@gnu.org>
17220 * simple.el (list-processes--refresh): Delete exited processes
17223 * comint.el (comint-next-prompt): next-single-char-property-change
17224 and prev-single-char-property-change never return nil (Bug#8657).
17226 * custom.el (defcustom): Doc fix (Bug#9711).
17228 2012-02-05 Chong Yidong <cyd@gnu.org>
17230 * cus-edit.el (custom-variable-reset-backup): Quote the value
17231 before storing it in the customized-value property (Bug#6712).
17232 (custom-display): Add a customization type tag.
17233 (custom-buffer-create-internal): Improve tooltip message.
17235 * wid-edit.el (widget-field-value-get): New optional arg to
17236 suppress trailing whitespace truncation.
17237 (character): Use it (Bug#2689).
17239 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
17241 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
17242 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
17244 2012-02-05 Chong Yidong <cyd@gnu.org>
17246 * cus-edit.el (custom-variable-value-create): For mismatched
17247 types, show the current value (Bug#7600).
17249 * custom.el (defcustom): Doc fix.
17251 2012-02-05 Glenn Morris <rgm@gnu.org>
17253 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
17255 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
17257 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
17258 (pp-buffer): Use `ignore-errors', `looking-at-p'.
17259 (pp-last-sexp): Use `looking-at-p'.
17261 2012-02-04 Glenn Morris <rgm@gnu.org>
17263 * files.el (revert-buffer):
17264 Doc fix (mention revert-buffer-in-progress-p).
17266 * emacs-lisp/ert-x.el (ert-simulate-command):
17267 Check deferred-action-list (which is obsolete) is bound.
17269 * subr.el (with-wrapper-hook): Doc fixes.
17271 * simple.el (filter-buffer-substring-functions)
17272 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
17274 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
17276 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
17277 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
17279 2012-02-04 Leo Liu <sdl.web@gmail.com>
17281 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
17283 2012-02-04 Glenn Morris <rgm@gnu.org>
17285 * image.el (image-extension-data): Add obsolete alias.
17287 * isearch.el (isearch-update): Doc fix.
17289 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
17291 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
17293 2012-02-03 Glenn Morris <rgm@gnu.org>
17295 * image.el (image-animated-p): Doc fix. Use image-animated-types.
17296 (image-animate-timeout): Doc fix.
17298 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
17300 2012-02-02 Glenn Morris <rgm@gnu.org>
17302 * server.el (server-auth-dir): Doc fix.
17303 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
17305 * subr.el (run-mode-hooks): Doc fix.
17307 2012-02-02 Juri Linkov <juri@jurta.org>
17309 * image-mode.el (image-toggle-display-image): Remove tautological
17310 `major-mode' from the `derived-mode-p' test.
17312 2012-02-02 Kenichi Handa <handa@m17n.org>
17314 * composite.el (compose-region): Cancel previous change.
17316 2012-02-02 Kenichi Handa <handa@m17n.org>
17318 * composite.el (compose-region, compose-string): Signal error for
17319 a null string component (Bug#6988).
17321 2012-02-01 Chong Yidong <cyd@gnu.org>
17323 * view.el (view-buffer-other-window, view-buffer-other-frame):
17324 Handle special modes like view-buffer (Bug#10650).
17325 (view-buffer): Simplify.
17327 * frame.el (set-frame-font): Tweak meaning of third argument.
17329 * dynamic-setting.el (font-setting-change-default-font):
17330 Use set-frame-font (Bug#9982).
17332 2012-02-01 Glenn Morris <rgm@gnu.org>
17334 * progmodes/compile.el (compilation-internal-error-properties):
17335 Respect compilation-first-column in the "*compilation*" buffer.
17337 * emacs-lisp/easy-mmode.el (define-minor-mode):
17338 Relax :variable's test for a named function.
17340 2012-01-31 Alan Mackenzie <acm@muc.de>
17342 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
17345 2012-01-31 Chong Yidong <cyd@gnu.org>
17347 * frame.el (set-frame-font): New arg ALL-FRAMES.
17349 * menu-bar.el (menu-set-font): Use set-frame-font.
17351 * faces.el (face-spec-reset-face): Don't apply unspecified
17352 attribute values to the default face.
17354 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
17356 * progmodes/cwarn.el (cwarn): Remove dead link.
17357 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
17358 Remove * from defcustom docstrings.
17359 (turn-on-cwarn-mode): Make obsolete.
17360 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
17361 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
17363 2012-01-31 Glenn Morris <rgm@gnu.org>
17365 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
17366 Fix :variable handling of mode a symbol not equal to modefun.
17367 Allow named functions to be used as the cdr of :variable.
17369 2012-01-30 Glenn Morris <rgm@gnu.org>
17371 * emacs-lisp/authors.el (authors-fixed-entries):
17372 Remove reference to deleted file rnewspost.el.
17374 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
17376 * window.el (window-with-parameter): Remove unused variable `windows'.
17377 (window--side-check): Remove unused variable `code'.
17378 (window--resize-siblings): Remove unused variable `first'.
17379 (adjust-window-trailing-edge): Remove unused variable `failed'.
17380 (window-deletable-p, window--delete): Remove unused variable `buffer'.
17381 Use `let', not `let*'.
17382 (balance-windows-2): Remove unused variable `found'.
17383 (window--state-put-2): Remove unused variable `splits'.
17384 (window-state-put): Remove unused variable `selected'.
17385 (same-window-p): Use `string-match-p'.
17386 (display-buffer-assq-regexp): Remove unused variable `value'.
17387 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17388 Mark argument ALIST as ignored.
17389 (pop-to-buffer): Remove unused variable `old-window'.
17391 2012-01-29 Eli Zaretskii <eliz@gnu.org>
17393 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
17394 and .lzma compressed files.
17396 2012-01-29 Chong Yidong <cyd@gnu.org>
17398 * frame.el (window-system-default-frame-alist): Doc fix.
17400 * dynamic-setting.el (font-setting-change-default-font): Don't
17401 change the default face if SET-FONT argument is non-nil (Bug#9982).
17403 2012-01-29 Samuel Bronson <naesten@gmail.com>
17405 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
17407 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
17409 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
17410 breakpoints in files outside current directory (Bug#6098).
17412 2012-01-29 Chong Yidong <cyd@gnu.org>
17414 * progmodes/python.el: Require ansi-color at top-level.
17416 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
17417 Define and use in Emacs Lisp mode (Bug#9360).
17418 (lisp-mode-abbrev-table): Add doc.
17419 (lisp-mode-variables): Don't set local-abbrev-table.
17420 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
17422 2012-01-28 Roland Winkler <winkler@gnu.org>
17424 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
17426 2012-01-28 Roland Winkler <winkler@gnu.org>
17428 * textmodes/bibtex.el (bibtex-entry-alist): New function.
17429 (bibtex-set-dialect): Use it. Either set global values of
17430 dialect-dependent variables or bind these variables buffer-locally
17432 (bibtex-mode): Call bibtex-set-dialect via
17433 hack-local-variables-hook.
17434 (bibtex-dialect): Update docstring.
17435 Add safe-local-variable predicate.
17436 (bibtex-entry-alist, bibtex-field-alist): Initialize via
17437 bibtex-set-dialect.
17438 (bibtex-mode-map): Define menu for each dialect.
17439 (bibtex-entry): Fix docstring.
17441 2012-01-28 Chong Yidong <cyd@gnu.org>
17443 * eshell/esh-arg.el (eshell-quote-argument): New function.
17445 * eshell/esh-ext.el (eshell-invoke-batch-file):
17446 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
17447 first arg to eshell-parse-command (Bug#10523).
17449 2012-01-28 Drew Adams <drew.adams@oracle.com>
17451 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
17452 `default-directory' is non-nil.
17454 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17456 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
17457 line that displays system-configuration-options. (Bug#9924)
17459 2012-01-28 Drew Adams <drew.adams@oracle.com>
17461 * descr-text.el (describe-char): Show information about POS, in
17462 addition to information about the character at POS. Improve and
17463 update the doc string. Change "code point" to "code point in
17464 charset", to avoid confusion with the character's Unicode code
17465 point shown above that. (Bug#10129)
17467 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17469 * descr-text.el (describe-char): Show the raw character, not only
17470 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
17471 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
17474 2012-01-28 Phil Hagelberg <phil@hagelb.org>
17476 * emacs-lisp/package.el (package-install):
17477 Run package-refresh-contents if there is no archive yet (Bug#9798).
17479 2012-01-28 Chong Yidong <cyd@gnu.org>
17481 * emacs-lisp/package.el (package-maybe-load-descriptor):
17482 New function, split from package-maybe-load-descriptor.
17483 (package-maybe-load-descriptor): Use it.
17484 (package-download-transaction): Fully load required packages
17485 inside the loop, so that `require' calls work (Bug#10593).
17486 (package-install): No need to call package-initialize now.
17488 2012-01-28 Chong Yidong <cyd@gnu.org>
17490 * simple.el (deactivate-mark): Doc fix (Bug#8614).
17492 * tooltip.el (tooltip-mode): Doc fix.
17493 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
17495 * frame.el (set-cursor-color): Doc fix (Bug#352).
17497 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
17498 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
17500 * cus-edit.el (custom-buffer-create-internal): Fix search button
17501 action (Bug#10542).
17502 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
17504 2012-01-27 Eduard Wiebe <usenet@pusto.de>
17506 * dired.el (dired-mark-files-regexp):
17507 Include any subdirectory components. (Bug#10445)
17509 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
17511 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
17512 Handle [host]:port syntax. (Bug#10533)
17514 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
17516 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
17518 2012-01-26 Glenn Morris <rgm@gnu.org>
17520 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
17521 * term.el (term-raw-escape-map): Use Control-X-prefix.
17522 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
17524 2012-01-25 Martin Rudalics <rudalics@gmx.at>
17526 * window.el (window-state-get, window--state-get-1): Don't deal
17527 with fixed-sizeness of windows. Simplify code.
17529 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
17531 * window.el (window--state-get-1, window--state-put-2):
17532 Don't save and restore the mark.
17534 2012-01-25 Chong Yidong <cyd@gnu.org>
17536 * custom.el (custom-variable-p): Doc fix.
17538 2012-01-25 Glenn Morris <rgm@gnu.org>
17540 * dired.el (dired-goto-file): Handle some of the more common
17541 characters that `ls -b' escapes. (Bug#10596)
17543 * progmodes/compile.el (compilation-next-error-function):
17544 Respect compilation-first-column in the "*compilation*" buffer.
17545 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
17547 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
17549 2012-01-24 Glenn Morris <rgm@gnu.org>
17551 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
17553 2012-01-24 Julien Danjou <julien@danjou.info>
17555 * color.el (color-rgb-to-hsl): Fix value computing.
17556 (color-hue-to-rgb): New function.
17557 (color-hsl-to-rgb): New function.
17558 (color-clamp, color-saturate-hsl, color-saturate-name)
17559 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
17560 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
17562 2012-01-24 Glenn Morris <rgm@gnu.org>
17564 * vc/vc-rcs.el (vc-rcs-create-tag):
17565 * vc/vc-sccs.el (vc-sccs-create-tag):
17566 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
17568 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
17570 * eshell/esh-util.el (eshell-read-hosts-file):
17571 Skip comment lines. (Bug#10549)
17573 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
17575 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
17577 * subr.el (display-delayed-warnings): Doc fix.
17578 (collapse-delayed-warnings): New function to collapse identical
17580 (delayed-warnings-hook): Add it.
17582 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
17584 * net/tramp.el (tramp-action-login): Set connection property "login-as".
17586 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
17587 (tramp-default-user-alist): Don't add "pscp".
17588 (tramp-do-copy-or-rename-file-out-of-band): Use connection
17589 property "login-as", if set. (Bug#10530)
17591 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
17593 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
17594 "plink1" and "psftp". (Bug#10530)
17596 2012-01-21 Kenichi Handa <handa@m17n.org>
17598 * international/mule-cmds.el (prefer-coding-system): Show a
17599 warning message if the default value of file-name-coding-system
17602 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17604 * windmove.el (windmove-reference-loc):
17605 Fix windmove-reference-loc miscalculation.
17607 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
17609 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
17612 2012-01-21 Glenn Morris <rgm@gnu.org>
17614 * international/mule.el (auto-coding-alist): Add .tbz.
17616 * files.el (local-enable-local-variables): Doc fix.
17617 (inhibit-local-variables-regexps): Rename from
17618 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
17619 Doc fix. Add some extensions from auto-coding-alist.
17620 (inhibit-local-variables-suffixes):
17621 Rename from inhibit-first-line-modes-suffixes. Doc fix.
17622 (inhibit-local-variables-p):
17623 New function, extracted from set-auto-mode-1.
17624 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
17625 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
17626 (hack-local-variables): Doc fix. Make the mode-only case
17627 respect enable-local-variables and friends.
17628 Respect inhibit-local-variables-regexps for file-locals, but
17629 not for directory-locals.
17630 (set-visited-file-name):
17631 Take account of inhibit-local-variables-regexps.
17632 Whether it applies may change as the file name is changed.
17633 * jka-cmpr-hook.el (jka-compr-install):
17634 * jka-compr.el (jka-compr-uninstall):
17635 Update for inhibit-first-line-modes-suffixes name change.
17637 2012-01-20 Martin Rudalics <rudalics@gmx.at>
17639 * help-macro.el (make-help-screen): Temporarily restore original
17640 binding for minor-mode-map-alist (Bug#10454).
17642 2012-01-19 Julien Danjou <julien@danjou.info>
17644 * color.el (color-name-to-rgb): Use the white color to find the max
17645 color component value and return correctly computed values.
17646 (color-name-to-rgb): Add missing float conversion for max value.
17648 2012-01-19 Martin Rudalics <rudalics@gmx.at>
17650 * window.el (window--state-get-1, window-state-get): Do not use
17651 special state value for window-persistent-parameters.
17652 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
17653 (window--state-put-2): Reset all window parameters to nil before
17654 assigning values of persistent parameters.
17656 2012-01-18 Alan Mackenzie <acm@muc.de>
17658 Eliminate sluggishness and hangs in fontification of "semicolon
17661 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
17662 Change value 10000 -> 3000.
17663 (c-state-safe-place): Reformulate so it doesn't stack up an
17664 infinite number of wrong entries in c-state-nonlit-pos-cache.
17665 (c-determine-limit-get-base, c-determine-limit): New functions to
17666 determine backward search limits disregarding literals.
17667 (c-find-decl-spots): Amend commenting.
17668 (c-cheap-inside-bracelist-p): New function which detects "={".
17670 * progmodes/cc-fonts.el
17671 (c-make-font-lock-BO-decl-search-function): Give a limit to a
17673 (c-font-lock-declarations): Fix an occurrence of point being
17674 undefined. Check additionally for point being in a bracelist or
17675 near a macro invocation without a semicolon so as to avoid a
17676 fruitless time consuming search for a declarator. Give a more
17677 precise search limit for declarators using the new
17680 2012-01-18 Glenn Morris <rgm@gnu.org>
17682 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
17683 (set-auto-mode): Doc fixes.
17685 2012-01-17 Glenn Morris <rgm@gnu.org>
17687 * isearch.el (search-nonincremental-instead): Fix doc typo.
17689 * dired.el (dired-insert-directory): Handle newlines in directory name.
17690 (dired-build-subdir-alist): Unescape newlines in directory name.
17692 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
17694 * net/tramp.el (tramp-local-end-of-line): New defcustom.
17695 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
17696 (tramp-action-terminal): Use it. (Bug#10530)
17698 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
17700 * minibuffer.el (completion--replace): Strip properties (bug#10062).
17702 2012-01-16 Martin Rudalics <rudalics@gmx.at>
17704 * window.el (window-state-ignored-parameters): Remove variable.
17705 (window--state-get-1): Rename argument MARKERS to IGNORE.
17706 Handle persistent window parameters. Make copy of clone-of
17707 parameter only if requested. (Bug#10348)
17708 (window--state-put-2): Install a window parameter only if it has
17709 a non-nil value or an existing parameter shall be overwritten.
17711 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
17713 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
17715 2012-01-14 Eli Zaretskii <eliz@gnu.org>
17717 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
17718 don't pass the (nil) value of `upnode' to string-match.
17720 2012-01-14 Chong Yidong <cyd@gnu.org>
17722 * startup.el (command-line): Fix X resource class for cursorColor.
17723 Fix values recognized by the cursorBlink resource.
17725 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
17727 * epg.el (epg--make-temp-file): Avoid permission race condition
17728 when running on old Emacs versions (bug#10403).
17730 2012-01-14 Glenn Morris <rgm@gnu.org>
17732 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
17734 2012-01-13 Alan Mackenzie <acm@muc.de>
17736 Fix filling for when filladapt mode is enabled.
17738 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
17739 c-mask-paragraph, pass in `fill-paragraph' rather than
17740 `fill-region-as-paragraph'. (This is a reversion of a previous
17742 * progmodes/cc-mode.el (c-basic-common-init):
17743 Make fill-paragraph-handle-comment buffer local and set it to nil.
17745 2012-01-13 Glenn Morris <rgm@gnu.org>
17747 * dired.el (dired-switches-escape-p): New function.
17748 (dired-insert-directory): Use dired-switches-escape-p.
17749 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
17751 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
17753 2012-01-12 Glenn Morris <rgm@gnu.org>
17755 * mail/sendmail.el (mail-mode): Update paragraph-separate for
17756 changes in adaptive-fill-regexp. (Bug#10276)
17758 2012-01-11 Alan Mackenzie <acm@muc.de>
17760 Fix Emacs bug #10463 - put `widen's around the critical spots.
17762 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
17763 widen around each invocation of c-state-pp-to-literal. Remove an
17764 unused let variable.
17766 2012-01-11 Glenn Morris <rgm@gnu.org>
17768 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
17771 2012-01-10 Chong Yidong <cyd@gnu.org>
17773 * net/network-stream.el (network-stream-open-starttls):
17774 Avoid emitting a confusing error message when the server gives a bad
17775 response to the capability command.
17777 2012-01-10 Glenn Morris <rgm@gnu.org>
17779 * mail/unrmail.el (unrmail): Tweak previous change.
17781 2012-01-09 Chong Yidong <cyd@gnu.org>
17783 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
17785 2012-01-08 Alan Mackenzie <acm@muc.de>
17787 Optimize font locking in long enum definitions.
17789 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
17790 arm to a cond form to handle enums.
17791 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
17792 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
17794 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
17796 * files.el (move-file-to-trash): Preserve default file modes on error.
17799 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17801 * faces.el (set-face-attribute): Clarify the meaning of the nil
17804 * subr.el (with-selected-frame): Mention that the selected frame
17805 is restored (bug#9980).
17807 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
17810 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
17811 (password-read): Don't autoload unused function.
17813 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
17815 * progmodes/which-func.el (which-func-mode): Turn into a
17816 non-interactive function and mark as obsolete (bug#10428).
17818 2012-01-06 Chong Yidong <cyd@gnu.org>
17820 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
17821 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
17822 functions, along with 1 and -1.
17824 2012-01-06 Eli Zaretskii <eliz@gnu.org>
17826 * time.el (display-time-load-average)
17827 (display-time-default-load-average): Doc fixes. See the thread
17829 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
17832 2012-01-06 Glenn Morris <rgm@gnu.org>
17834 * mail/unrmail.el (unrmail): Give an explicit error if the input file
17835 has no messages. (Bug#10377)
17837 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
17838 than Info-edit. (Bug#10385)
17840 * time.el (display-time-load-average, display-time-next-load-average):
17843 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
17844 local setting of buffer-read-only to the input buffer. (Bug#10419)
17846 * calendar/calendar.el (calendar-mode):
17847 Locally set scroll-margin to 0. (Bug#10379)
17849 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
17851 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
17853 2012-01-05 Glenn Morris <rgm@gnu.org>
17855 * eshell/em-unix.el (diff-no-select): Autoload it.
17856 (eshell/diff): Use diff-no-select. (Bug#10420)
17858 2012-01-05 Chong Yidong <cyd@gnu.org>
17860 * shell.el (shell-dynamic-complete-functions): Revert last change.
17861 (shell-command-completion-function): New function.
17862 (shell-completion-vars): Use it to implement
17863 shell-completion-execonly (Bug#10417).
17865 * custom.el (enable-theme): Don't set custom-safe-themes.
17867 * cus-theme.el (custom-theme-merge-theme):
17868 Ignore custom-enabled-themes and custom-safe-themes.
17870 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
17872 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
17873 first prompt in `sql-interacive-mode'.
17874 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
17876 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
17877 (sql-product-interactive): Bug fix: Set `sql-buffer' in
17878 context of original buffer. Invoke `sql-login-hook'.
17880 2012-01-04 Eli Zaretskii <eliz@gnu.org>
17882 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
17883 letters in cite-prefix.
17885 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17887 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
17889 2012-01-03 Chong Yidong <cyd@gnu.org>
17891 * shell.el (shell-dynamic-complete-functions):
17892 Put pcomplete-completions-at-point, so as to try
17893 comint-filename-completion first (Bug#10417).
17895 2012-01-02 Richard Stallman <rms@gnu.org>
17897 * battery.el (battery-status-function):
17898 Detect when to use battery-yeeloong-sysfs.
17899 (battery-echo-area-format): Add string for Yeeloong.
17900 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
17901 (battery-yeeloong-sysfs): New function.
17903 2012-01-02 Chong Yidong <cyd@gnu.org>
17905 * dirtrack.el (dirtrack-list): Eliminate unused third element.
17906 (dirtrack): Merge code for handling relative filenames in prompt
17907 from shell-dir-cookie-watcher.
17908 (dirtrack-debug-message): New arg to avoid excess format calls.
17910 * shell.el (shell-dir-cookie-re): Variable deleted.
17911 (shell-dir-cookie-watcher): Function deleted.
17912 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
17913 with dirtrack-mode.
17915 2012-01-01 Eli Zaretskii <eliz@gnu.org>
17917 * term/w32-win.el (dynamic-library-alist) <gnutls>:
17918 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
17921 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
17923 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
17925 2011-12-31 Eli Zaretskii <eliz@gnu.org>
17927 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
17928 headers of non-MIME messages, when rmail-enable-mime is non-nil.
17930 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
17932 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
17933 also for alternative shells.
17934 (tramp-open-connection-setup-interactive-shell): Check, whether
17935 the shell is a busybox.
17936 (tramp-send-command): Don't suppress multiple prompts for
17937 busyboxes, it hurts.
17939 2011-12-28 Chong Yidong <cyd@gnu.org>
17941 * progmodes/gdb-mi.el (gdb-get-source-file-list)
17942 (gdb-get-source-file): Move mode line update to
17943 gdb-get-source-file (Bug#10087).
17945 2011-12-25 Chong Yidong <cyd@gnu.org>
17947 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
17948 gud-gdb-marker-filter without taking it as an argument.
17949 (gud-gdb-run-command-fetch-lines): Caller changed.
17950 (gud-gdb-completion-function): New variable.
17951 (gud-gdb-completion-at-point): Use it.
17952 (gud-gdb-completions-1): Split from gud-gdb-completions.
17954 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
17955 function as separate arguments.
17956 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
17957 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
17958 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
17959 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
17960 (gdb-stopped, def-gdb-auto-update-trigger)
17961 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
17962 (gdb-get-changed-registers, gdb-get-main-selected-frame):
17964 (gud-gdbmi-completions): New function.
17965 (gdb): Use it for generating the completion table.
17967 2011-12-24 Alan Mackenzie <acm@muc.de>
17969 Introduce a mechanism to widen the region used in context font
17970 locking. Use this to protect declarations from losing their contexts.
17972 * progmodes/cc-langs.el (c-before-font-lock-functions):
17973 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
17974 (c-before-context-fontification-functions): New defvar, a list of
17975 functions to be run just before context (etc.) font locking.
17977 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
17978 New, functionality extracted from
17979 c-neutralize-syntax-in-and-mark-CPP.
17980 (c-in-after-change-fontification): New variable.
17981 (c-after-change): Set c-in-after-change-fontification.
17982 (c-set-fl-decl-start): Rejig its interface, so it can be called
17983 from both after-change and context fontifying.
17984 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
17986 (c-standard-font-lock-fontify-region-function): New variable.
17987 (c-font-lock-fontify-region): New function.
17989 2011-12-24 Juri Linkov <juri@jurta.org>
17991 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
17994 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
17996 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
17997 existence of source file. (Bug#10325)
17999 2011-12-23 Alan Mackenzie <acm@muc.de>
18001 Fix unstable fontification inside templates.
18003 * progmodes/cc-langs.el (c-before-font-lock-functions):
18004 Newly created from the singular version. The (c c++ objc) entry now
18005 additionally has c-set-fl-decl-start. The other languages (apart
18006 from AWK) have that as a single entry.
18008 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18009 The functionality for "local" declarations has been extracted to
18010 c-set-fl-decl-start.
18012 * progmodes/cc-mode.el (c-common-init, c-after-change):
18013 Changes due to pluralisation of c-before-font-lock-functions.
18014 (c-set-fl-decl-start): New function, extracted from
18015 c-font-lock-enclosing-decls and enhanced.
18017 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
18019 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
18021 2011-12-22 Juri Linkov <juri@jurta.org>
18023 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
18025 2011-12-22 Chong Yidong <cyd@gnu.org>
18027 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
18029 2011-12-21 Drew Adams <drew.adams@oracle.com>
18031 * files.el (file-remote-p): Fix docstring. (Bug#10319)
18033 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
18035 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
18037 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
18039 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
18040 highlighting and support. Fix up comments for capitalization.
18041 (cfengine-mode-debug): New var.
18042 (cfengine3-mode): Change the modeline indicator to "CFE3".
18043 (cfengine3-font-lock-keywords): Improve defun highlighting.
18044 (cfengine2-actions): Rename from `cfengine-actions'.
18045 (cfengine2-font-lock-keywords): Rename from
18046 `cfengine-font-lock-keywords'.
18047 (cfengine2-imenu-expression): Rename from
18048 `cfengine-imenu-expression'.
18049 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
18050 (cfengine2-beginning-of-defun): Rename from
18051 `cfengine-beginning-of-defun'.
18052 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
18053 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
18054 (cfengine2-mode): Rename from `cfengine-mode'. Change the
18055 modeline indicator to "CFE2".
18056 (cfengine-mode): Defalias to `cfengine-auto-mode'.
18057 (cfengine-mode-abbrevs): Mark obsolete.
18059 2011-12-21 Chong Yidong <cyd@gnu.org>
18061 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
18064 2011-12-20 Martin Rudalics <rudalics@gmx.at>
18066 * window.el (window-normalize-buffer-to-display): Remove.
18067 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
18069 2011-12-19 Chong Yidong <cyd@gnu.org>
18071 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
18072 Don't signal an error in a predicate function; return non-nil.
18073 (vc-dir-mark-file): Move the error here.
18074 (vc-dir-mark-unmark): If acting on the region, keep going if one
18075 of the entries cannot be marked/unmarked.
18076 (vc-dir-mark-all-files): If current entry is a directory, mark
18077 only child files, as documented.
18079 2011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
18081 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
18082 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
18085 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
18087 * term/ns-win.el (ns-get-selection-internal)
18088 (ns-store-selection-internal): Declare.
18089 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
18090 Declare as obsolete.
18091 (ns-get-pasteboard, ns-paste-secondary):
18092 Use ns-get-selection-internal.
18093 (ns-set-pasteboard, ns-copy-including-secondary):
18094 Use ns-store-selection-internal.
18096 2011-12-17 Chong Yidong <cyd@gnu.org>
18098 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
18099 (vc-deduce-fileset): Doc fix.
18101 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
18103 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
18105 2011-12-13 Sam Steingold <sds@gnu.org>
18107 * man.el (Man-getpage-in-background): When running under a
18108 window-system, ignore $MANWIDTH and $COLUMNS.
18110 2011-12-15 Kenichi Handa <handa@m17n.org>
18112 * language/ethio-util.el: Change coding tag to utf-8-emacs.
18113 (setup-ethiopic-environment-internal): Comment out key-binding for
18114 ethio-toggle-punctuation.
18116 2011-12-13 Alan Mackenzie <acm@muc.de>
18118 Add the switch statement to AWK Mode.
18120 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
18121 "default" to the keywords regexp.
18123 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
18124 expression as the rest.
18125 (c-nonlabel-token-key): Allow string literals for AWK.
18126 Refactor for the other modes.
18128 Large brace-block initialisation makes CC Mode slow: Fix.
18129 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
18130 routines. Limit backward searching in c-font-lock-enclosing.decl.
18132 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
18133 pp-state and literal type in addition to the limits.
18134 (c-state-safe-place): New defun, extracted from c-state-literal-at.
18135 (c-state-literal-at): Use the above new defun.
18136 (c-slow-in-literal, c-fast-in-literal): Remove.
18137 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
18139 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
18140 being in a literal. Add a limit for backward searching.
18142 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
18145 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
18147 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
18149 2011-12-13 Martin Rudalics <rudalics@gmx.at>
18151 * window.el (delete-other-windows): Use correct frame in call to
18152 window-with-parameter.
18154 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
18156 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
18157 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
18158 (makefile-gmake-statements, makefile-makepp-statements):
18159 Use it and add new makepp keywords.
18160 (makefile-makepp-font-lock-keywords): Add new patterns.
18161 (makefile-match-function-end): Match new [...] and [[...]].
18163 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
18165 * ses.el (ses-call-printer-return, ses-cell-property-get)
18166 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
18167 (ses-create-cell-variable, ses-reset-header-string)
18168 (ses-cell-set-formula, ses-repair-cell-reference-all)
18169 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
18170 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
18171 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
18172 (ses-aset-with-undo, ses-load, ses-truncate-cell)
18173 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
18174 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
18175 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
18176 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
18177 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
18178 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
18179 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
18180 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
18182 2011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
18184 * ses.el: The overall change is to add cell renaming, that is
18185 setting fancy names for cell symbols other than name matching
18186 "\\`[A-Z]+[0-9]+\\'" regexp .
18187 (ses-create-cell-variable): New defun.
18188 (ses-relocate-formula): Relocate formulas only for cells the
18189 symbols of which are not renamed, i.e. symbols whose names do not
18190 match regexp "\\`[A-Z]+[0-9]+\\'".
18191 (ses-relocate-all): Relocate values only for cells the symbols of
18192 which are not renamed.
18193 (ses-load): Create cells variables as the (ses-cell ...) are read,
18194 in order to check row col consistency with cell symbol name only
18195 for cells that are not renamed.
18196 (ses-replace-name-in-formula): New defun.
18197 (ses-rename-cell): New defun.
18199 2011-12-11 Chong Yidong <cyd@gnu.org>
18201 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
18202 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
18204 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
18206 * window.el (other-window): Fix docstring.
18208 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18210 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
18211 `from' or `to' address before taking its substring.
18212 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
18213 encoded name is chopped in the middle of the encoded string, and
18214 thus displayed encoded.
18216 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
18218 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
18220 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18222 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
18223 to use texinfo-update-node and commands that call it if the
18224 Texinfo file uses @node lines without next/prev/up pointers.
18225 Correct outdated description about texinfo-master-menu.
18226 (texinfo-all-menus-update, texinfo-master-menu)
18227 (texinfo-update-node, texinfo-every-node-update)
18228 (texinfo-multiple-files-update): Doc fix. Warn against updating
18229 all the @node lines.
18230 (texinfo-master-menu): Only call texinfo-update-node if the prefix
18231 argument is numeric. Explain better in the doc string what the
18232 function really does.
18233 (texinfo-insert-master-menu-list): Improve the error message
18234 displayed if there's no menu in the Top node.
18235 (Bug#2975) See also this thread:
18236 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
18238 2011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
18240 * speedbar.el (speedbar-supported-extension-expressions):
18241 Add .adb and .ads, commonly used for Ada source code (bug#10256).
18243 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
18245 * printing.el (pr-mode-alist):
18246 * simple.el (filter-buffer-substring-functions)
18247 (completion-list-insert-choice-function):
18248 * window.el (window-with-parameter, window-atom-root)
18249 (window-sides-slots, window-size-fixed, window-min-delta)
18250 (window-max-delta, window--resize-mini-window)
18251 (window--resize-child-windows-normal, window-tree)
18252 (delete-other-windows, quit-window, split-window)
18253 (display-buffer-record-window, special-display-buffer-names)
18254 (special-display-regexps, special-display-popup-frame)
18255 (same-window-p, split-window-sensibly)
18256 (display-buffer-overriding-action, display-buffer-alist)
18257 (display-buffer-base-action, display-buffer, switch-to-buffer)
18258 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
18259 (fit-window-to-buffer, recenter-positions)
18260 (mouse-autoselect-window-state, mouse-autoselect-window-select):
18261 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
18262 and remove unneeded backslashes in docstrings.
18264 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
18266 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
18268 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
18269 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
18271 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
18272 when reading the makefile (bug#10116).
18274 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
18276 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
18279 2011-12-06 Glenn Morris <rgm@gnu.org>
18281 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
18283 2011-12-06 Chong Yidong <cyd@gnu.org>
18285 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
18287 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
18289 * textmodes/table.el (table-shorten-cell): Fix typo.
18291 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
18293 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
18295 2011-12-05 Eli Zaretskii <eliz@gnu.org>
18297 * descr-text.el (describe-char): Fix display of strong
18298 right-to-left characters and directional embeddings and overrides.
18300 * simple.el (what-cursor-position): Fix display of codepoints of
18301 strong right-to-left characters.
18303 2011-12-05 Chong Yidong <cyd@gnu.org>
18305 * faces.el (read-color): Doc fix.
18307 2011-12-05 Glenn Morris <rgm@gnu.org>
18309 * align.el (align--set-marker): Add doc-string.
18310 Don't try to move something that is not a marker. (Bug#10216)
18312 2011-12-04 Glenn Morris <rgm@gnu.org>
18314 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
18315 overly zealous deletion of trailing whitespace.
18317 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
18319 * server.el (server-delete-client): On Windows, do not try to delete
18321 (server-process-filter): On Windows, treat requests for a tty frame as
18322 if they were for a GUI frame if the running server is in GUI mode.
18324 2011-12-03 Glenn Morris <rgm@gnu.org>
18326 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
18328 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
18330 * electric.el: Streamline electric-indent's hook.
18331 (electric-indent-chars): Revert to simple list.
18332 (electric-indent-functions): New var.
18333 (electric-indent-post-self-insert-function): Use it.
18335 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
18336 there's no inferior buffer (bug#10196).
18337 (prolog-consult-compile): Don't use toggle-read-only.
18339 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
18341 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
18342 interrupt. (Bug#10187)
18344 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
18346 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
18349 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
18352 2011-12-02 Juri Linkov <juri@jurta.org>
18354 * info.el (Info-search): Display "end of manual" when Isearch
18355 reaches the end of single-file Info manual. (Bug#9918)
18357 2011-12-02 Eli Zaretskii <eliz@gnu.org>
18359 * isearch.el (isearch-message-prefix): Run the input method part
18360 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
18362 2011-12-02 Juri Linkov <juri@jurta.org>
18364 * isearch.el (isearch-occur): Use `word-search-regexp' for
18366 (isearch-search-and-update): Add condition for `isearch-word' and
18367 call `word-search-regexp'. (Bug#10145)
18369 2011-12-01 Glenn Morris <rgm@gnu.org>
18371 * eshell/em-hist.el (eshell-hist-initialize):
18372 Handle eshell-history-size nil and HISTSIZE set or unset.
18373 (eshell-history-file-name, eshell-history-size): Fix custom type.
18375 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
18377 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
18379 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
18381 * progmodes/verilog-mode.el (verilog-pretty-expr):
18382 Rework verilog-pretty-expr to handle new assignment operators in system
18383 verilog, such as += *= and the like.
18384 (verilog-assignment-operator-re): Regular expression to find the
18385 assigment operator in a verilog assignment.
18386 (verilog-assignment-operation-re): Regular expression to find an
18387 assignment statement for pretty-expr.
18388 (verilog-in-attribute-p): Query returns true if point is in an
18389 attribute context; used to skip these for expression line up from
18391 (verilog-in-parameter-p): Query returns true if point is in an
18392 parameter definition context; used to skip these for expression
18393 line up from pretty-expr.
18394 (verilog-in-parenthesis-p): Query returns true if point is in a
18395 parenthetical expression, specifically ( ) but not [ ] or { };
18396 used by pretty-expr.
18397 (verilog-just-one-space): If there is no space, don't add one.
18398 (verilog-get-lineup-indent-2): Specifically skip just attribute
18399 contexts for expression lineup, rather than skipping all
18400 parenthetical expressions.
18401 (verilog-calculate-indent): Fix comment, and fix indent.
18402 (verilog-do-indent): Indent declarations in lists (suggested by
18404 (verilog-mode-abbrev-table): Populate abbrev mode with the various
18406 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
18409 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
18411 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
18412 parameters with embedded comments. Reported by Ray Stevens.
18413 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
18414 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
18415 Reported by Tim Holt.
18416 (verilog-auto): Fix AUTOing a upper module then AUTOing module
18417 instantiated by upper module causing wrong expansion until AUTOed a
18418 second time. Reported by K C Buckenmaier.
18419 (verilog-diff-auto): Fix showing .* as a difference when
18420 `verilog-auto-star-save' off. Reported by Dan Dever.
18421 (verilog-auto-reset, verilog-read-always-signals)
18422 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
18423 temporary signals in reset list if
18424 verilog-auto-reset-blocking-in-non is nil, and match assignment
18425 style to each signal's assignment type, bug381.
18426 Reported by Thomas Esposito.
18427 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
18428 (verilog-uvm-statement-re): Support UVM indentation and
18429 highlighting, with old OVM keywords only.
18430 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
18431 Support AUTOTIEOFF creating non-wire data types.
18432 Suggested by Jonathan Greenlaw.
18433 (verilog-auto-insert-lisp, verilog-delete-to-paren)
18434 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
18435 (verilog-inject-sense, verilog-read-inst-pins)
18436 (verilog-read-sub-decls, verilog-read-sub-decls-line):
18437 Fix mismatching parenthesis inside commented out code when deleting
18438 AUTOINST, bug383. Reported by Jonathan Greenlaw.
18439 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
18440 non-numeric vector width. Reported by Alex Reed.
18441 (verilog-auto-ascii-enum): Add "onehot" option to work around not
18442 detecting signals with parameter widths. Reported by Alex Reed.
18443 (verilog-auto-delete-trailing-whitespace):
18444 With `verilog-auto-delete-trailing-whitespace' remove trailing
18445 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
18446 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
18447 Fix verilog-scan-cache corruption when running user AUTO expansion
18448 hooks that call indentation routines.
18449 (verilog-simplify-range-expression): Fix typo ignoring lower case
18451 (verilog-delete-auto): Fix delete-autos to also remove user created
18452 automatics, as long as they start with AUTO.
18453 (verilog-batch-diff-auto, verilog-diff-auto)
18454 (verilog-diff-function): Add `verilog-diff-auto' and bind to
18455 "C-c?" to report differences in AUTO expansion, ignoring spaces.
18456 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
18457 (verilog-in-paren-quick, verilog-re-search-backward-quick)
18458 (verilog-re-search-forward-quick, verilog-syntax-ppss):
18459 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
18460 is disabled and its cache will get corrupt, causing AUTOS not to
18461 expand. Instead use only -quick functions.
18462 (verilog-scan-region): Fix scanning over escaped quotes.
18463 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
18464 (verilog-re-search-backward-quick)
18465 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
18466 related functions now ignore strings, to fix misparsing of strings
18467 with magic comments embedded in them.
18468 (verilog-read-auto-template):
18469 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
18470 Reported by Brad Dobbie.
18471 (verilog-read-auto-template):
18472 Fix 'verilog-auto-inst-template-numbers' with comments.
18473 Reported by Brad Dobbie.
18474 (verilog-auto-inst, verilog-auto-inst-param)
18475 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
18476 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
18477 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
18478 debugging templates without merge conflicts, bug357.
18479 Reported by Brad Dobbie.
18480 (verilog-read-auto-template):
18481 Fix verilog-auto-inst-template-numbers with multiple templates.
18482 Reported by Brad Dobbie.
18483 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
18484 abbrevs so user won't be asked to save.
18485 (verilog-read-auto-lisp-present): Fix to start at beginning of
18486 buffer in case called outside of verilog-auto.
18487 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
18488 to "X-2". Reported by Matthew Myers.
18489 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
18490 all inputs from module templates. Reported by Leith Johnson.
18491 (verilog-module-inside-filename-p): Fix locating programs as with
18493 (verilog-auto-inst-port): Fix vl-width expressions when using
18494 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
18495 (verilog-decls-get-regs, verilog-decls-get-signals,
18496 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
18497 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
18498 verilog-read-decls): Combine reg and wire structures into one var
18499 structure to represent SystemVerilog concepts.
18500 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
18501 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
18502 (verilog-auto-wire-type, verilog-insert-definition):
18503 Add verilog-auto-wire-type and AUTOLOGIC to support using
18504 SystemVerilog "logic" keyword instead of "wire"/"reg".
18505 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
18506 to declares outputs that also have assignments (presumably in an
18507 ifdef or generate if so there's not a driver conflict).
18508 Reported by Matthew Myers.
18509 (verilog-auto-declare-nettype, verilog-insert-definition):
18510 Add verilog-auto-declare-nettype to fix declarations using
18511 `default_nettype none. Reported by Julian Gorfajn.
18512 (verilog-read-always-signals-recurse, verilog-read-decls)
18513 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
18514 malformed end statement, bug325. Reported by Joshua Wise and
18516 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
18517 (verilog-inst-comment-re): Fix not deleting Interfaced comment
18518 when expanding .* in interfaces, bug320.
18519 Reported by Pierre-David Pfister.
18520 (verilog-read-module-name): Fix import statements between module
18521 name and open parenthesis, bug317.
18522 Reported by Pierre-David Pfister.
18523 (verilog-simplify-range-expression): Fix simplification of
18524 multiplications inside AUTOWIRE connections, bug303.
18525 (verilog-auto-inst-port): Support parameter expansion in
18526 multidimensional arrays.
18527 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
18528 after "assert property". Reported by Julian Gorfajn.
18529 (verilog-simplify-range-expression): Fix "couldn't merge" errors
18530 with multiplication, bug303.
18531 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
18532 Reported by Jan Frode Lonnum.
18534 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
18536 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
18537 (hfy-shell-file-name, hfy-shell):
18538 * international/fontset.el (x-decompose-font-name): Fix typos.
18540 2011-11-29 Ken Brown <kbrown@cornell.edu>
18542 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
18543 (gdb-version): Remove defvar.
18544 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
18545 (gdb-gud-context-command, gdb-non-stop-handler)
18546 (gdb-current-context-command, gdb-stopped): Use it.
18547 (gdb-init-1): Enable pretty printing here.
18548 (gdb-non-stop-handler): Don't enable pretty-printing here.
18549 Check to see if the target supports non-stop mode; if not, turn off
18550 non-stop mode. Use the following.
18551 (gdb-check-target-async): New defun.
18552 (gud-watch, gdb-stopped): Fix whitespace.
18553 (gdb-get-source-file): Don't try to display the source file if
18554 `gdb-main-file' is nil.
18556 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18558 * align.el: Try to generate fewer markers (bug#10047).
18559 (align--set-marker): New macro.
18560 (align-region): Use it.
18562 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18564 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
18566 2011-11-29 Chong Yidong <cyd@gnu.org>
18568 * indent.el (indent-for-tab-command, indent-according-to-mode):
18570 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
18572 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
18574 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
18575 aware of remote file names. (Bug#10124)
18577 2011-11-29 Chong Yidong <cyd@gnu.org>
18579 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
18581 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
18583 * files.el (find-file): Don't use force-same-window (bug#10144).
18584 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
18585 use pop-to-buffer if the selected window can't be used.
18586 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
18588 2011-11-28 Eli Zaretskii <eliz@gnu.org>
18590 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
18593 2011-11-28 Chong Yidong <cyd@gnu.org>
18595 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
18597 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
18599 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
18600 gdb-get-source-file-list on gdb-create-source-file-list.
18602 2011-11-26 Eli Zaretskii <eliz@gnu.org>
18604 * whitespace.el (whitespace-newline): Use a different foreground
18605 color for 16-color light-background displays.
18607 2011-11-24 Chong Yidong <cyd@gnu.org>
18609 * window.el (display-buffer--special-action): Doc fix.
18611 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
18613 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
18614 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
18615 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
18616 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
18617 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
18618 (avl-tree-stack-first):
18619 * emacs-lisp/cconv.el (cconv--analyse-use):
18620 * net/gnutls.el (gnutls-negotiate): Fix typos.
18622 2011-11-24 Glenn Morris <rgm@gnu.org>
18624 * lpr.el (lpr-windows-system, lpr-lp-system):
18625 * mail/binhex.el (binhex-begin-line):
18626 * progmodes/grep.el (grep-history, grep-find-history):
18627 * textmodes/flyspell.el:
18628 * vc/pcvs-defs.el (cvs-global-menu):
18629 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
18630 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
18631 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
18633 * net/tls.el: Fix case of "GnuTLS".
18635 * paths.el (rmail-file-name): Format doc-string for make-docfile.
18637 * version.el (emacs-build-system): Give it a doc-string.
18639 2011-11-24 Juri Linkov <juri@jurta.org>
18641 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
18643 2011-11-24 Glenn Morris <rgm@gnu.org>
18645 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
18646 if called on a non-mime message just toggle the headers. (Bug#8006)
18648 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
18650 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
18651 (allout-lead-with-comment-string, allout-structure-deleted-hook)
18652 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
18653 (allout-rebullet-heading, allout-open-sibtopic)
18654 (allout-toggle-current-subtree-encryption)
18655 (allout-toggle-subtree-encryption, allout-encrypt-string)
18656 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
18657 (allout-distinctive-bullets-string, allout-auto-activation):
18658 * window.el (window-normalize-buffer-to-display):
18659 * progmodes/verilog-mode.el (verilog-batch-indent):
18660 * textmodes/bibtex.el (bibtex-field-braces-opt)
18661 (bibtex-field-strings-opt):
18662 * vc/cvs-status.el (cvs-tree-merge):
18665 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
18667 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
18668 `non-essential' to t, in order to avoid remote connections.
18670 2011-11-23 Eli Zaretskii <eliz@gnu.org>
18672 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18673 On MS-DOS and MS-Windows, compare with loaddefs.el
18674 case-insensitively.
18676 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18678 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
18680 2011-11-23 Glenn Morris <rgm@gnu.org>
18682 * paths.el (rmail-file-name): Reformat the doc-string so that it
18685 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
18686 (rmail-auto-file): Ignore case in the "special" field names,
18687 as mail-fetch-field does for all others.
18689 * mail/rmail.el (rmail-forward):
18690 * mail/rmailkwd.el (rmail-set-label):
18691 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
18692 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
18694 * mail/rmail.el (rmail-current-message): Doc fix.
18696 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
18698 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
18700 * server.el (server-eval-and-print): Allow C-g (bug#6585).
18702 2011-11-22 Glenn Morris <rgm@gnu.org>
18704 * mail/rmailmm.el (test-rmail-mime-handler)
18705 (test-rmail-mime-bulk-handler)
18706 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
18708 2011-11-21 Juri Linkov <juri@jurta.org>
18710 * calc/calc.el (calc-read-key-sequence):
18711 Let-bind `input-method-function' to nil. (Bug#10018)
18713 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18715 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
18716 Tell the caller that the next line needs recomputation, even
18717 though it doesn't start a sexp (bug#10094).
18719 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
18721 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
18723 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18725 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18726 Use force-same-window.
18728 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18730 * descr-text.el (describe-char-unicode-data):
18731 * json.el (json-string-escape):
18732 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
18733 (Footnote-unicode, Footnote-style-p):
18734 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
18736 2011-11-20 Chong Yidong <cyd@gnu.org>
18738 * window.el (replace-buffer-in-windows): Restore interactive spec.
18740 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18742 * electric.el (electric-indent-mode): Fix last change (too optimistic).
18744 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
18745 (byte-compile-global-not-obsolete-vars): New var.
18746 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
18748 (byte-compile-warn-obsolete): Align text with the one in *Help*.
18750 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18752 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
18753 * progmodes/pascal.el (electric-pascal-equal):
18754 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
18755 * xml.el (xml-substitute-special): Fix typos.
18757 2011-11-20 Glenn Morris <rgm@gnu.org>
18759 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
18760 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
18762 (rmail-decode-mime-charset): Mark as obsolete.
18764 * mail/rmailsum.el (rmail-message-regexp-p-1):
18765 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
18766 Before using mime functions, check they are set. (Bug#10077)
18768 2011-11-19 Juri Linkov <juri@jurta.org>
18770 * info.el (Info-finder-find-node): Use `package--builtins' instead
18771 of `package-alist'. Use node names formed by the pattern "Keyword "
18772 and the keyword name.
18774 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18776 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
18778 2011-11-19 Juri Linkov <juri@jurta.org>
18780 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
18781 that calls `revert-buffer' on all Info buffers. (Bug#9915)
18782 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
18783 `old-history', `old-history-forward'. Add let-binding
18784 `window-selected'. Remove calls to `kill-buffer',
18785 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
18786 before calling `Info-find-node', so `Info-find-node-2' will reread
18787 the Info file. Restore window positions only when `window-selected'
18790 2011-11-19 Juri Linkov <juri@jurta.org>
18792 * isearch.el (isearch-lazy-highlight-new-loop):
18793 Remove condition `(not isearch-error)'. (Bug#9918)
18795 * misearch.el (multi-isearch-search-fun): Add condition
18796 `(not bound)' to ignore lazy-highlighting search.
18797 Add the search-failed message "end of multi" when the end of
18798 multi-sequence is reached. Uncapitalize the search-failed
18799 message "Repeat for next buffer".
18801 * info.el (Info-search): Add the search-failed message
18802 "end of the manual" when the end of the manual is reached
18805 2011-11-19 Juri Linkov <juri@jurta.org>
18807 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
18808 Use non-destructive `remove' instead of `delete' because
18809 `Info-history-list' stored to `Info-isearch-initial-history-list' in
18810 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
18812 2011-11-19 Juri Linkov <juri@jurta.org>
18814 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
18815 to nil instead of binding `search-ring' and `regexp-search-ring'.
18818 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18820 * simple.el (line-move): Force movement by logical lines for any
18821 hscrolled window, not only when auto-hscroll-mode is on.
18822 (line-move-visual): Update doc string to that effect. (Bug#10076)
18824 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18826 * language/european.el (macintosh): Define as alias for mac-roman.
18828 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18830 * mail/rmailmm.el (rmail-mime-display-header)
18831 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
18832 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
18833 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
18834 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
18835 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
18837 (rmail-mime-entity-segment): To get past the tagline, move forward
18838 2 more lines, to account for the 2 empty lines that precede and
18839 follow the line with the buttons.
18840 (rmail-mime-update-tagline): Move one more line, to get past the
18841 empty line that follows the buttons in the tagline. (Bug#9520)
18843 2011-11-19 Martin Rudalics <rudalics@gmx.at>
18845 * window.el (window-max-delta-1, window-min-delta-1)
18846 (window-min-size-1, window-state-get-1, window-state-put-1)
18847 (window-state-put-2): Use "window--" prefix.
18849 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
18851 * emacs-lisp/smie.el: Improve warnings and conflict detection.
18852 (smie-warning-count): New var.
18853 (smie-set-prec2tab): Use it.
18854 (smie-bnf->prec2): Improve warnings. Add docstring.
18855 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
18856 (smie-bnf--set-class): New function.
18857 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
18860 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
18861 (compilation-error-properties, compilation-move-to-column):
18862 Handle compilation-first-column while in the target buffer.
18864 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
18865 Don't hardcode point-min==1.
18867 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
18868 (eshell-rewrite-for-command): Remove workaround.
18869 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
18870 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
18871 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
18873 * files-x.el (modify-file-local-variable): Obey commenting conventions.
18875 2011-11-17 Glenn Morris <rgm@gnu.org>
18877 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18878 Ignore buffer-local generated-autoload-file if it is the same
18879 as the global value. (Bug#10049)
18881 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
18883 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
18884 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
18885 (reftex-toc-previous-heading, reftex-toc-max-level)
18886 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
18887 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
18888 (reftex-toc-do-promote, reftex-toc-promote-prepare)
18889 (reftex-toc-promote-action, reftex-toc-extract-section-number)
18890 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
18891 (reftex-toc-rename-label, reftex-toc-visit-location)
18892 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
18893 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
18894 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
18895 leaving "*toc*" only for references to the buffer.
18897 2011-11-17 Martin Rudalics <rudalics@gmx.at>
18899 * window.el (window-resize, delete-window, split-window):
18900 Replace window-splits by window-combination-resize.
18901 * cus-start.el (window-splits): Replace by window-combination-resize.
18903 2011-11-17 Glenn Morris <rgm@gnu.org>
18905 * progmodes/sh-script.el (sh-font-lock-keywords-var):
18906 Make bash entry derive from sh entry, not shell entry.
18908 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
18910 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
18913 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18915 * menu-bar.el (menu-bar-file-menu):
18916 * printing.el (pr-ps-utility):
18917 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
18918 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
18919 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
18920 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
18921 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
18922 (icalendar--convert-cyclic-to-ical)
18923 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
18924 (icalendar--convert-ical-to-diary)
18925 (icalendar--convert-recurring-to-diary)
18926 (icalendar--convert-non-recurring-all-day-to-diary)
18927 (icalendar-import-format-sample):
18928 * progmodes/idlw-shell.el (idlwave-shell-mode):
18929 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
18930 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
18931 (vhdl-ps-print-init): Fix typos.
18933 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
18935 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
18936 FSF and collapse date sequence, obscure author/maintainer email address
18937 better, remove extra version line, track relocation of author's webpage.
18939 * progmodes/python.el (python-pdbtrack-input-prompt)
18940 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
18941 regular python pdb prompts. Adjustments shamelessly taken exactly as
18942 suggested in EmacsWiki page (tiny change):
18943 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
18945 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18947 * expand.el (expand-pos, expand-index, expand-point):
18948 Remove redundant info from docstring.
18949 (expand-add-abbrevs): Doc fix.
18950 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
18951 (expand-sample-perl-mode-expand-list): Fix typos.
18953 * net/dbus.el (dbus-event-member-name):
18954 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
18955 * term/pc-win.el (msdos-create-frame-with-faces):
18956 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
18958 2011-11-16 Martin Rudalics <rudalics@gmx.at>
18960 * window.el (split-window, window-state-get-1)
18961 (window-state-put-1, window-state-put-2): Rename occurrences of
18962 window-nest to window-combination-limit.
18963 * cus-start.el (window-nest): Rename to window-combination-limit.
18965 2011-11-16 Chong Yidong <cyd@gnu.org>
18967 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
18968 regexp (Bug#10033).
18970 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
18972 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
18973 `completing-read' will remove *Completions* and will preserve
18974 current-buffer for us.
18975 (tmm-add-prompt): Users of *Completions* will always (re)set its
18977 (tmm-old-comp-map): Remove.
18979 2011-11-16 Glenn Morris <rgm@gnu.org>
18981 * mail/rmailedit.el: Require rmailmm when compiling.
18982 (rmail-old-mime-state): New declaration.
18983 (rmail-edit-current-message): If editing a mime message,
18984 edit the "raw" message from the mbox buffer.
18985 (rmail-cease-edit): Handle mime messages. (Bug#9840)
18987 2011-11-15 Glenn Morris <rgm@gnu.org>
18989 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
18990 which wasn't being used. Add optional arg to force given state.
18991 (rmail-mime): Add optional arg to force given state.
18993 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
18995 * allout.el (allout-encryption-plaintext-sanitization-regexps):
18996 * frame.el (display-mm-dimensions-alist):
18997 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
18998 (outline-move-subtree-down):
18999 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
19000 (newsticker--treeview-do-get-node):
19001 * net/quickurl.el (quickurl-list-buffer-name):
19002 * progmodes/dcl-mode.el (dcl-mode):
19003 * progmodes/gdb-mi.el (gdb-mapcar*):
19004 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
19006 2011-11-15 Glenn Morris <rgm@gnu.org>
19008 * mail/rmail.el (rmail-file-coding-system): It's only ever used
19009 in a boolean sense, so just make it a boolean, and fix the doc.
19010 (rmail-show-mime-function, rmail-mime-feature)
19011 (rmail-require-mime-maybe): Doc fixes.
19012 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
19014 * mail/rmailmm.el (rmail-show-mime): Doc fix.
19016 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19018 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
19019 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
19020 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
19021 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
19023 2011-11-15 Glenn Morris <rgm@gnu.org>
19025 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
19026 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
19027 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
19028 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
19029 (rmail-mime, rmail-show-mime): Doc fixes.
19031 * term/ns-win.el (mode-line-frame-identification):
19032 Leave it alone. (Bug#10051)
19034 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
19036 * mail/rmailout.el (rmail-output-to-rmail-buffer):
19037 Handle empty buffers. (Bug#9978)
19039 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
19041 * international/mule.el (define-charset):
19042 * mail/rmailmm.el (rmail-mime-find-header-encoding):
19043 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
19044 * progmodes/verilog-mode.el (verilog-backward-token):
19045 * textmodes/ispell.el (lookup-words):
19046 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
19048 2011-11-14 Glenn Morris <rgm@gnu.org>
19050 * progmodes/executable.el
19051 (executable-make-buffer-file-executable-if-script-p):
19052 Handle file-modes returning nil.
19054 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
19055 message - not necessary, and causes problems. (Bug#9831)
19057 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
19059 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
19061 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
19062 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
19063 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
19065 2011-11-12 Martin Rudalics <rudalics@gmx.at>
19067 * window.el (window-resize, delete-window): Use window-splits
19068 variable instead of function.
19069 (window-state-get-1, window-state-put-2, window-state-put):
19070 Don't deal with windows' splits status.
19072 2011-11-12 Glenn Morris <rgm@gnu.org>
19074 * apropos.el (apropos-do-all, apropos-library, apropos-value)
19075 (apropos-documentation): Doc fixes.
19077 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
19079 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
19080 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
19082 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
19084 * electric.el (electric-indent-post-self-insert-function): Make it
19085 possible for a char to only indent in some circumstances.
19086 (electric-indent-mode): Simplify.
19088 2011-11-11 Martin Rudalics <rudalics@gmx.at>
19090 * window.el (windows-with-parameter): Remove unused function.
19091 (windows-at-side): Rename to window-at-side-list.
19092 (window-check, window-atom-check, window-atom-check-1)
19093 (window-side-check, window-size-ignore, window-size-fixed-1)
19094 (window-in-direction-2): Prefix with "window--".
19095 (window-tree-1): Rename to window--subtree, fix doc-string.
19097 2011-11-11 Glenn Morris <rgm@gnu.org>
19099 * subr.el (eval-after-load): If FILE is already loaded,
19100 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
19102 2011-11-10 Glenn Morris <rgm@gnu.org>
19104 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
19105 Call svn via vc-svn-command rather than vc-do-command.
19106 (vc-svn-command): Add --non-interactive. (Bug#9993)
19107 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
19109 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19110 Add toggle-read-only. (Bug#7292)
19111 * files.el (toggle-read-only): Mention that it should only
19112 be used interactively. (Bug#10006)
19114 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
19116 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19117 Adjust regexp for OCaml warnings.
19119 * electric.el (electric-pair-post-self-insert-function): Let user
19120 turn it off buffer-locally (bug#9932).
19122 * progmodes/python.el (python-beginning-of-statement):
19123 Rewrite (bug#2703).
19125 * progmodes/compile.el: Better handle TABs (bug#9749).
19126 (compilation-internal-error-properties)
19127 (compilation-next-error-function): Obey the target buffer's
19128 compilation-error-screen-columns.
19130 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
19132 * progmodes/meta-mode.el: Remove obsolete comments.
19133 (meta-right-comment-regexp, meta-ignore-comment-regexp):
19134 Fix typos in docstrings.
19136 2011-11-09 Martin Rudalics <rudalics@gmx.at>
19138 * window.el (window-size-fixed-p): Rewrite doc-string.
19139 (window-resizable-p): Rename to window--resizable-p. Update callers.
19140 (window--resizable): New function. Make all callers of
19141 window-resizable call window--resizable instead.
19142 (window-resizable): Rewrite in terms of window--resizable.
19144 2011-11-08 Glenn Morris <rgm@gnu.org>
19146 * progmodes/delphi.el (delphi-mode-syntax-table):
19147 Let define-derived-mode define a proper syntax table. (Bug#9994)
19149 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19151 * window.el: Stay away from defsubst.
19152 (window-list-no-nils): Remove.
19153 (window-state-get-1, window-state-get): Use backquote instead.
19155 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19157 * emacs-lisp/find-func.el (find-function-read):
19158 Fix incorrect use of default argument in `completing-read'.
19160 2011-11-08 Martin Rudalics <rudalics@gmx.at>
19162 * window.el (display-buffer-function, special-display-function):
19163 Mention display-buffer-record-window but do not mention
19164 help-setup parameter in doc-strings.
19165 (window-min-delta): Fix doc-string typo.
19167 2011-11-08 Chong Yidong <cyd@gnu.org>
19169 * window.el (window-total-height, window-total-width): Doc fix.
19170 (window-body-size): Move from C.
19171 (window-body-height, window-body-width): Move to C.
19173 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19175 * window.el: Make special-display like display-buffer-alist (bug#9532).
19176 (display-buffer--special-action): New function, morphed
19177 from display-buffer--special.
19178 (display-buffer): Use it to handle special-display-buffers at higher
19179 priority (just after display-buffer-alist).
19180 (display-buffer-fallback-action, display-buffer--other-frame-action)
19181 (pop-to-buffer-same-window): Remove display-buffer--special.
19183 2011-11-07 Glenn Morris <rgm@gnu.org>
19185 * calendar/cal-menu.el (cal-menu-set-date-title):
19186 Do nothing if not in a calendar. (Bug#9976)
19188 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
19190 * files.el (find-file): Always use selected-window.
19192 2011-11-07 Martin Rudalics <rudalics@gmx.at>
19194 * window.el (window-combinations): Make WINDOW argument
19195 mandatory. Rewrite doc-string.
19196 (walk-window-subtree, window-atom-check, window-min-delta)
19197 (window-max-delta, window--resize-this-window)
19198 (window--resize-root-window-vertically, window-tree)
19199 (balance-windows, window-state-put): Rewrite doc-strings as to
19200 not mention the term "subwindow".
19201 (window--resize-subwindows-skip-p): Rename to
19202 window--resize-child-windows-skip-p.
19203 (window--resize-subwindows-normal): Rename to
19204 window--resize-child-windows-normal.
19205 (window--resize-subwindows): Rename to
19206 window--resize-child-windows.
19207 (window-or-subwindow-p): Rename to window--in-subtree-p.
19209 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19211 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
19212 Ensure that mbox format messages end in two newlines (Bug#9974).
19214 2011-11-06 Chong Yidong <cyd@gnu.org>
19216 * window.el (window-combination-p): Function deleted; its
19217 side-effect is not used in any existing code.
19218 (window-combinations, window-combined-p): Call window-*-child
19221 2011-11-05 Chong Yidong <cyd@gnu.org>
19223 * window.el (window-valid-p): Rename from window-any-p.
19224 (window-size-ignore, window-state-get): Callers changed.
19225 (window-normalize-window): Rename from window-normalize-any-window.
19226 New arg LIVE-ONLY, replacing window-normalize-live-window.
19227 (window-normalize-live-window): Delete.
19228 (window-combination-p, window-combined-p, window-combinations)
19229 (walk-window-subtree, window-atom-root, window-min-size)
19230 (window-sizable, window-sizable-p, window-size-fixed-p)
19231 (window-min-delta, window-max-delta, window-resizable)
19232 (window-resizable-p, window-full-height-p, window-full-width-p)
19233 (window-current-scroll-bars, window-point-1, set-window-point-1)
19234 (window-at-side-p, window-in-direction, window-resize)
19235 (adjust-window-trailing-edge, maximize-window, minimize-window)
19236 (window-deletable-p, delete-window, delete-other-windows)
19237 (record-window-buffer, unrecord-window-buffer)
19238 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
19239 (quit-window, split-window, window-state-put)
19240 (set-window-text-height, fit-window-to-buffer)
19241 (shrink-window-if-larger-than-buffer): Callers changed.
19243 2011-11-04 Eli Zaretskii <eliz@gnu.org>
19245 * mail/rmail.el (rmail-simplified-subject): Decode subject with
19246 rfc2047-decode-string.
19247 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
19250 * window.el (window-body-height, window-body-width): Mention in
19251 the doc string that the return values are in frame's canonical
19254 2011-11-03 Alan Mackenzie <acm@muc.de>
19256 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
19257 change in cc-engine.el.
19259 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
19261 * window.el (switch-to-buffer): Use `force-same-window' interactively.
19263 2011-11-02 Martin Rudalics <rudalics@gmx.at>
19265 * window.el (quit-window): Call unrecord-window-buffer after
19266 showing another buffer in the window. (Bug#9937)
19267 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
19269 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
19271 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
19272 Accept status with more than 9 shelves. (Bug#9935)
19273 Reported by Colin D Bennett <colin@gibibit.com>.
19275 2011-11-01 Martin Rudalics <rudalics@gmx.at>
19277 * help.el (with-help-window): Don't reference
19278 temp-buffer-show-specifiers in doc-string.
19280 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
19282 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
19285 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19287 * whitespace.el: New version 13.2.2.
19288 (whitespace-newline-mode): Disable properly. Reported by Sarah
19291 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
19293 * net/newst-treeview.el: Remove "Time-stamp".
19294 (newsticker--group-manage-orphan-feeds): Do not call
19295 newsticker--treeview-tree-update.
19296 (newsticker-treeview-update, newsticker-treeview):
19297 Call newsticker--treeview-tree-update if necessary.
19299 2011-10-30 Martin Rudalics <rudalics@gmx.at>
19301 * window.el (window-iso-combination-p, window-iso-combined-p)
19302 (window-iso-combinations): Remove "iso-" infix.
19303 Suggested by Chong Yidong.
19304 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
19305 (window-max-delta-1, window-resize, window--resize-siblings)
19306 (window--resize-this-window, adjust-window-trailing-edge)
19307 (split-window, balance-windows-1)
19308 (shrink-window-if-larger-than-buffer):
19309 * calendar/calendar.el (calendar-generate-window):
19310 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
19312 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
19314 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
19315 in place (bug#9907).
19316 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
19317 (eshell-rewrite-if-command, eshell-rewrite-for-command)
19318 (eshell-structure-basic-command, eshell-rewrite-while-command)
19319 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
19320 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
19321 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
19322 (eshell-do-pipelines-synchronously, eshell-eval-command):
19323 Use backquotes and prefer setq to set.
19324 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
19325 (eshell-macrop): Use functionp.
19326 (eshell-do-eval): Handle multiple expressions in `while' body.
19328 2011-10-30 Chong Yidong <cyd@gnu.org>
19330 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
19331 instead of set-mark (Bug#9810).
19333 2011-10-30 Chong Yidong <cyd@gnu.org>
19335 * window.el (split-window-below, split-window-right): Rename from
19336 split-window-above-each-other and split-window-side-by-side
19337 respectively. All callers changed.
19338 (split-window-sensibly, split-window-sensibly): Use them.
19339 (split-window-keep-point): Doc fix.
19341 * isearch.el: Add isearch-scroll property to split-window-below
19342 and split-window-right.
19344 * follow.el (follow-mode):
19345 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19346 * progmodes/ada-xref.el (ada-gdb-application):
19347 * emulation/vip.el (vip-buffer-in-two-windows):
19348 * image-dired.el (image-dired-dired-with-window-configuration):
19349 * dired-x.el (dired-do-find-marked-files):
19350 * dired.el (dired-pop-to-buffer):
19351 * bs.el (bs--show-with-configuration):
19352 * vc/emerge.el (emerge-setup-windows):
19353 * textmodes/two-column.el (2C-two-columns):
19354 * textmodes/reftex-toc.el (reftex-toc):
19355 * progmodes/gdb-mi.el (gdb-setup-windows):
19356 * progmodes/fortran.el (fortran-window-create):
19357 * net/newst-treeview.el (newsticker--treeview-window-init):
19358 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
19359 * emulation/tpu-edt.el (tpu-gold-map):
19360 * emulation/crisp.el (crisp-mode-map):
19361 * calendar/calendar.el (calendar-basic-setup): Callers changed.
19363 2011-10-29 Chong Yidong <cyd@gnu.org>
19365 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
19367 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
19369 * textmodes/flyspell.el (flyspell-word): Fix char offset for
19370 forged Ispell output (Bug#7904).
19372 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
19374 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19376 * doc-view.el: Avoid ugly errors about not finding nil.
19377 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
19378 (doc-view-dvipdf-program, doc-view-unoconv-program)
19379 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
19380 Avoid nil or absolute file name as default value.
19381 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
19383 2011-10-28 Alan Mackenzie <acm@muc.de>
19385 * progmodes/cc-defs.el (c-version): -> 5.32.2.
19387 2011-10-28 Alan Mackenzie <acm@muc.de>
19389 Amend the handling of c-beginning/end-of-defun in nested declaration
19392 * progmodes/cc-vars.el (c-defun-tactic): Move here from
19393 cc-langs.el. Change it to a defcustom.
19395 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
19398 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19399 Prevent "class foo : bar" being spuriously recognized as a label.
19401 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
19402 Add parameter `inclusive' (to include enclosing braces in the region).
19403 (c-widen-to-enclosing-decl-scope): New function.
19404 (c-while-widening-to-decl-block): New macro.
19405 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
19406 outward for defun boundaries, and correspondingly change symbol
19407 `respect-enclosure' to `go-outward'.
19408 (c-declaration-limits): Change algorithm to report only the "innermost"
19409 defun's boundaries.
19411 2011-10-28 Deniz Dogan <deniz@dogan.se>
19413 * net/rcirc.el (rcirc-mode): Use hard newlines.
19415 2011-10-28 Alan Mackenzie <acm@muc.de>
19417 Amend to indent and fontify macros "which include their own semicolon"
19418 correctly, using the "virtual semicolon" mechanism.
19420 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
19422 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
19423 Recode to scan one line at a time rather than having \n and \r
19424 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
19425 (c-forward-label): Amend for virtual semicolons.
19426 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
19428 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
19429 of the new C macros.
19431 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
19432 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
19433 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
19434 (c-opt-cpp-macro-define): Make into a full language variable.
19435 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
19436 AWK Mode (including \n, \r) removed, no longer needed.
19438 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
19439 Invoke c-make-macro-with-semi-re.
19441 * progmodes/cc-vars.el (c-macro-with-semi-re):
19442 (c-macro-names-with-semicolon): New variables.
19443 (c-make-macro-with-semi-re): New function.
19445 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19447 * vc/log-edit.el: Fill empty field rather than adding new one.
19448 (log-edit-add-field): New function.
19449 (log-edit-insert-changelog): Use it.
19451 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19453 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
19455 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19457 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
19458 (gdb--check-interpreter): New function.
19461 2011-10-27 Glenn Morris <rgm@gnu.org>
19463 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
19464 (least-positive-float, least-negative-float)
19465 (least-positive-normalized-float, least-negative-normalized-float)
19466 (float-epsilon, float-negative-epsilon):
19467 Remove unnecessary declarations.
19469 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
19470 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
19471 (least-positive-float, least-negative-float)
19472 (least-positive-normalized-float, least-negative-normalized-float)
19473 (float-epsilon, float-negative-epsilon): Add doc-strings,
19474 based on those in cl.texi.
19476 * files.el (set-visited-file-name): If the major-mode changed,
19477 reload the local variables. (Bug#9796)
19479 2011-10-27 Chong Yidong <cyd@gnu.org>
19481 * subr.el (change-major-mode-after-body-hook): New hook.
19482 (run-mode-hooks): Run it.
19484 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19485 Use change-major-mode-before-body-hook.
19487 * simple.el (fundamental-mode):
19488 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
19489 change introducing fundamental-mode-hook.
19491 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
19493 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
19495 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
19497 * ido.el (ido-file-name-all-completions-1): Do not require
19498 tramp.el explicitly. (Bug#7583)
19500 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
19502 * progmodes/octave-mod.el:
19503 * progmodes/octave-inf.el: Update maintainer.
19505 2011-10-26 Chong Yidong <cyd@gnu.org>
19507 * subr.el (with-wrapper-hook): Rewrite doc.
19509 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
19511 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
19512 filenames "/method:foo:". (Bug#9793)
19514 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
19516 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
19519 2011-10-24 Glenn Morris <rgm@gnu.org>
19521 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
19523 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
19525 * notifications.el: Add the requirement of a running D-Bus session
19526 bus to the Commentary.
19528 2011-10-24 Juri Linkov <juri@jurta.org>
19530 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19531 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
19534 2011-10-24 Juri Linkov <juri@jurta.org>
19536 * info.el (Info-following-node-name-re): Add newline to the list
19537 of allowed characters for leading space. (Bug#9824)
19539 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
19541 * progmodes/octave-inf.el (inferior-octave-mode-map):
19542 Fix C-c C-h binding.
19543 * progmodes/octave-mod.el (octave-help): Remove.
19545 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
19547 Sync with Tramp 2.2.3.
19549 * net/tramp-cache.el (top): Pacify byte-compiler using
19550 `init-file-user' and `site-run-file'.
19552 * net/trampver.el: Update release number.
19554 2011-10-23 Chong Yidong <cyd@gnu.org>
19556 * files.el (toggle-read-only): Remove obsolete comment about
19559 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
19560 for toggle-read-only. Note that this hasn't called vc-next-action
19561 since 2008-05-02, though it wasn't documented at the time.
19563 * vc/ediff-init.el (ediff-toggle-read-only-function):
19564 Use toggle-read-only.
19566 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
19568 Fix bug #9560, sporadic wrong indentation; improve instrumentation
19571 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
19572 correct faulty logical expression.
19573 (c-parse-state-state, c-record-parse-state-state):
19574 (c-replay-parse-state-state): New defvar/defuns.
19575 (c-debug-parse-state): Use new functions.
19577 2011-10-22 Martin Rudalics <rudalics@gmx.at>
19579 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
19580 last fix. Use window-in-direction correctly.
19582 2011-10-21 Chong Yidong <cyd@gnu.org>
19584 * progmodes/idlwave.el (idlwave-mode):
19585 * progmodes/vera-mode.el (vera-mode): No need to set
19586 require-final-newline; that's done in prog-mode.
19587 Suggested by Stefan Monnier.
19589 2011-10-21 Martin Rudalics <rudalics@gmx.at>
19591 * mouse.el (mouse-drag-window-above)
19592 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
19593 (mouse-drag-mode-line-1, mouse-drag-header-line)
19594 (mouse-drag-vertical-line-rightward-window): Remove.
19595 (mouse-drag-line): New function.
19596 (mouse-drag-mode-line, mouse-drag-header-line)
19597 (mouse-drag-vertical-line): Call mouse-drag-line.
19598 * window.el (window-at-side-p, windows-at-side): New functions.
19600 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
19602 * tar-mode.el (tar-grind-file-mode):
19603 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
19605 2011-10-21 Chong Yidong <cyd@gnu.org>
19607 * progmodes/idlwave.el (idlwave-mode):
19608 * progmodes/vera-mode.el (vera-mode):
19609 Use mode-require-final-newline.
19611 2011-10-20 Glenn Morris <rgm@gnu.org>
19613 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
19615 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
19617 * emulation/cua-base.el (cua-set-mark): Fix case of string.
19619 2011-10-20 Chong Yidong <cyd@gnu.org>
19621 * emulation/cua-base.el (cua-mode):
19622 * mail/footnote.el (footnote-mode):
19623 * mail/mailabbrev.el (mail-abbrevs-mode):
19624 * net/xesam.el (xesam-minor-mode):
19625 * progmodes/bug-reference.el (bug-reference-mode):
19626 * progmodes/cap-words.el (capitalized-words-mode):
19627 * progmodes/compile.el (compilation-minor-mode)
19628 (compilation-shell-minor-mode):
19629 * progmodes/gud.el (gud-tooltip-mode):
19630 * progmodes/hideif.el (hide-ifdef-mode):
19631 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
19632 * progmodes/subword.el (subword-mode):
19633 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
19634 * progmodes/which-func.el (which-function-mode):
19635 * term/tvi970.el (tvi970-set-keypad-mode):
19636 * term/vt100.el (vt100-wide-mode):
19637 * textmodes/flyspell.el (flyspell-mode):
19638 * textmodes/ispell.el (ispell-minor-mode):
19639 * textmodes/nroff-mode.el (nroff-electric-mode):
19640 * textmodes/paragraphs.el (use-hard-newlines):
19641 * textmodes/refill.el (refill-mode):
19642 * textmodes/reftex.el (reftex-mode):
19643 * textmodes/rst.el (rst-minor-mode):
19644 * textmodes/sgml-mode.el (html-autoview-mode)
19645 (sgml-electric-tag-pair-mode):
19646 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
19647 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
19648 * emulation/crisp.el (crisp-mode):
19649 * emacs-lisp/eldoc.el (eldoc-mode):
19650 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
19651 minor mode behavior.
19653 2011-10-19 Juri Linkov <juri@jurta.org>
19655 * descr-text.el (describe-char): Add #x2010 and #x2011 to
19656 the list of hard-coded chars with escape-glyph face.
19658 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
19660 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
19662 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
19664 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
19667 2011-10-19 Glenn Morris <rgm@gnu.org>
19669 * vc/vc-bzr.el (vc-bzr-after-dir-status):
19670 Ignore ignored files. (Bug#9726)
19672 2011-10-19 Chong Yidong <cyd@gnu.org>
19674 Doc fix for minor modes, stating that an omitted argument enables
19675 the mode unconditionally when called from Lisp.
19677 * abbrev.el (abbrev-mode):
19678 * allout.el (allout-mode):
19679 * autoinsert.el (auto-insert-mode):
19680 * autoarg.el (autoarg-mode, autoarg-kp-mode):
19681 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
19682 (global-auto-revert-mode):
19683 * battery.el (display-battery-mode):
19684 * composite.el (global-auto-composition-mode)
19685 (auto-composition-mode):
19686 * delsel.el (delete-selection-mode):
19687 * desktop.el (desktop-save-mode):
19688 * dired-x.el (dired-omit-mode):
19689 * dirtrack.el (dirtrack-mode):
19690 * doc-view.el (doc-view-minor-mode):
19691 * double.el (double-mode):
19692 * electric.el (electric-indent-mode, electric-pair-mode):
19693 * emacs-lock.el (emacs-lock-mode):
19694 * epa-hook.el (auto-encryption-mode):
19695 * follow.el (follow-mode):
19696 * font-core.el (font-lock-mode):
19697 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
19698 * help.el (temp-buffer-resize-mode):
19699 * hilit-chg.el (highlight-changes-mode)
19700 (highlight-changes-visible-mode):
19701 * hi-lock.el (hi-lock-mode):
19702 * hl-line.el (hl-line-mode, global-hl-line-mode):
19703 * icomplete.el (icomplete-mode):
19704 * ido.el (ido-everywhere):
19705 * image-file.el (auto-image-file-mode):
19706 * image-mode.el (image-minor-mode):
19707 * iswitchb.el (iswitchb-mode):
19708 * jka-cmpr-hook.el (auto-compression-mode):
19709 * linum.el (linum-mode):
19710 * longlines.el (longlines-mode):
19711 * master.el (master-mode):
19712 * mb-depth.el (minibuffer-depth-indicate-mode):
19713 * menu-bar.el (menu-bar-mode):
19714 * minibuf-eldef.el (minibuffer-electric-default-mode):
19715 * mouse-sel.el (mouse-sel-mode):
19716 * msb.el (msb-mode):
19717 * mwheel.el (mouse-wheel-mode):
19718 * outline.el (outline-minor-mode):
19719 * paren.el (show-paren-mode):
19720 * recentf.el (recentf-mode):
19721 * reveal.el (reveal-mode, global-reveal-mode):
19722 * rfn-eshadow.el (file-name-shadow-mode):
19723 * ruler-mode.el (ruler-mode):
19724 * savehist.el (savehist-mode):
19725 * scroll-all.el (scroll-all-mode):
19726 * scroll-bar.el (scroll-bar-mode):
19727 * server.el (server-mode):
19728 * shell.el (shell-dirtrack-mode):
19729 * simple.el (auto-fill-mode, transient-mark-mode)
19730 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
19731 (line-number-mode, column-number-mode, size-indication-mode)
19732 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
19733 * strokes.el (strokes-mode):
19734 * time.el (display-time-mode):
19735 * t-mouse.el (gpm-mouse-mode):
19736 * tool-bar.el (tool-bar-mode):
19737 * tooltip.el (tooltip-mode):
19738 * type-break.el (type-break-mode-line-message-mode)
19739 (type-break-query-mode):
19740 * view.el (view-mode):
19741 * whitespace.el (whitespace-mode, whitespace-newline-mode)
19742 (global-whitespace-mode, global-whitespace-newline-mode):
19743 * xt-mouse.el (xterm-mouse-mode): Doc fix.
19745 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19746 Fix autogenerated docstring.
19748 2011-10-19 Juri Linkov <juri@jurta.org>
19750 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
19751 by checking environment variables "DESKTOP_SESSION" and
19752 "XDG_CURRENT_DESKTOP". (Bug#9779)
19754 2011-10-19 Juri Linkov <juri@jurta.org>
19756 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
19757 (browse-url-chromium-program, browse-url-chromium-arguments):
19759 (browse-url-default-browser): Check for `browse-url-chromium' and
19760 call `browse-url-chromium-program'.
19761 (browse-url-chromium): New command. (Bug#9779)
19763 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
19765 * facemenu.el (list-colors-duplicates): On Windows, detect more
19766 duplicates by assuming that only colors matching "^System" are
19767 special "system colors". (Bug#9722)
19769 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
19771 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
19772 to distinguish the author from the committer.
19774 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
19776 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
19778 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
19780 * international/mule.el (sgml-html-meta-auto-coding-function):
19781 Add support for detecting encoding in HTML5 specified only as
19782 <meta charset="UTF-8">. Implementation just makes http-equiv and
19783 content-type parts from HTML4 encoding string optional. (Bug#9716)
19785 2011-10-18 Glenn Morris <rgm@gnu.org>
19787 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
19789 2011-10-18 Chong Yidong <cyd@gnu.org>
19791 * faces.el (cursor): Doc fix.
19793 2011-10-17 Chong Yidong <cyd@gnu.org>
19795 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
19797 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
19799 * dirtrack.el (dirtrack): Support shell buffers with path
19800 prefixes, e.g. tramp-based remote shells. (Bug#9647)
19802 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
19804 * json.el: Bump version to 1.3 and note change in History.
19805 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
19807 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
19809 * comint.el (comint-insert-input, comint-send-input)
19810 (comint-get-old-input-default, comint-backward-matching-input)
19811 (comint-next-prompt): Use nil instead of `input' for field property of
19812 past user input (bug#114).
19814 * minibuffer.el (completion--replace): Inherit surrounding properties
19816 (minibuffer-complete-and-exit): Use it.
19818 * comint.el (comint--table-subvert): Quote the all-completions output
19821 2011-10-17 Martin Rudalics <rudalics@gmx.at>
19823 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
19825 * menu-bar.el (menu-bar-file-menu): Add entry for making new
19826 window on right of selected. (Bug#9350) Reword other window
19827 entries and separate them from frame entries.
19829 2011-10-15 Glenn Morris <rgm@gnu.org>
19831 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
19834 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
19836 * net/network-stream.el (network-stream-open-starttls):
19837 Improve detection of failure due to lack of TLS support.
19839 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
19840 putting the input text in front and in bold.
19842 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
19844 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
19846 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
19849 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
19850 unread-command-events rather than pushing yet-another event.
19852 2011-10-14 Eli Zaretskii <eliz@gnu.org>
19854 * mail/sendmail.el (sendmail-query-once): Improve the wording of
19855 the explanation of the possible choices. Make the options passed
19856 to completing-read shorter.
19858 2011-10-13 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
19860 * textmodes/flyspell.el (flyspell-large-region): Make sure
19861 extended character mode is used if defined (Bug#1339).
19863 2011-10-13 Eli Zaretskii <eliz@gnu.org>
19865 * simple.el (what-cursor-position): Fix the display of the
19866 character info for LRE, LRO, RLE, and RLO characters by appending
19869 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
19871 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
19872 even in case of error; add debug spec; simplify data flow.
19873 (with-timeout-handler): Remove.
19875 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
19877 Fix Bug#6019, Bug#9315.
19879 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
19880 complete `buffer-file-name', the local file name part could look
19881 remotely (for example on VMS).
19883 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
19884 `tramp-run-real-handler'.
19885 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
19886 already quoted by '"'.
19888 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
19889 Let `file-name-handler-alist' be nil, the local file name part
19890 could look remotely (for example on VMS).
19892 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
19894 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
19896 (flyspell-post-command-hook): ...to here.
19898 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19900 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
19902 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
19903 using completion. Protect against "slow" callers.
19904 Remove the "message hack".
19906 2011-10-11 Juri Linkov <juri@jurta.org>
19908 * isearch.el (isearch-lazy-highlight-word): New variable.
19909 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
19912 2011-10-11 Glenn Morris <rgm@gnu.org>
19914 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
19915 like f90-previous-statement does.
19917 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19919 * eshell/eshell.el (eshell-command): History should be saved
19920 only in interactive use, to avoid error.
19922 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19924 * minibuffer.el (completion-file-name-table): Fix last change,
19925 i.e. ignore normal errors but not the other ones.
19927 2011-10-10 Martin Rudalics <rudalics@gmx.at>
19929 * window.el (special-display-buffer-names)
19930 (special-display-regexps): Remove some remnants of earlier
19931 changes from doc-strings.
19932 (quit-windows-on): New function.
19934 * vc/vc.el (vc-revert, vc-rollback):
19935 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
19936 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
19937 (Bug#6183) (Bug#7074) (Bug#7447)
19939 2011-10-09 Martin Rudalics <rudalics@gmx.at>
19941 * window.el (frame-auto-hide-function): Add version tag.
19944 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
19946 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
19949 2011-10-09 Leo Liu <sdl.web@gmail.com>
19951 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
19954 2011-10-08 Glenn Morris <rgm@gnu.org>
19956 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
19957 before the first code statement zero indent. (Bug#9690)
19959 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
19961 * simple.el (count-words-region): Always count in the region.
19962 Report the number of lines and characters too.
19963 (count-words): New command, which counts in the buffer if the
19964 region is inactive, as count-words-region used to.
19965 (count-words--message): New function. Handle plurals.
19966 (count-lines-region): Make it an alias for count-words-region.
19968 * bindings.el (esc-map): Replace count-lines-region with
19969 count-words-region.
19971 2011-10-08 Martin Rudalics <rudalics@gmx.at>
19973 * window.el (window--delete): Delete dedicated frame
19974 unconditionally when argument KILL is non-nil. (Bug#9699)
19975 (switch-to-buffer): Fix doc-string typo.
19977 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19979 * eshell/eshell.el (eshell-command): Avoid using hooks.
19981 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
19983 * bindings.el ([M-left],[M-right]): Bind to left-word and
19984 right-word respectively.
19986 2011-10-07 Glenn Morris <rgm@gnu.org>
19988 * cus-start.el (debug-on-quit): Fix custom type.
19990 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19992 * subr.el (define-key-after): Clarify that the function is not
19993 useful for non-menu keymaps.
19995 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
19997 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19999 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
20000 in current minibuffer (Fix bug with recursive minibuffers).
20002 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
20004 * progmodes/gdb-mi.el (gdb): Doc fix.
20006 2011-10-05 Martin Rudalics <rudalics@gmx.at>
20008 * window.el (frame-auto-hide-function): New option replacing
20009 frame-auto-delete. Suggested by Stefan Monnier.
20010 (window--delete): Call frame-auto-hide-function instead of
20011 investigating frame-auto-delete.
20012 (window-point-1, set-window-point-1): New functions.
20013 (window-in-direction, record-window-buffer, window-state-get-1)
20014 (display-buffer-record-window): Use window-point-1 instead of
20016 (set-window-buffer-start-and-point): Use set-window-point-1.
20018 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20020 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
20022 2011-10-05 Glenn Morris <rgm@gnu.org>
20024 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
20025 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
20027 2011-10-05 Leo Liu <sdl.web@gmail.com>
20029 * subr.el (read-char-choice): Fix argument to buffer-live-p which
20030 works with buffer object.
20032 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20034 * mpc.el (mpc-tool-bar-map): Add labels.
20036 2011-10-04 Glenn Morris <rgm@gnu.org>
20038 * calendar/holidays.el (calendar-check-holidays): Doc fix.
20040 2011-10-04 Martin Rudalics <rudalics@gmx.at>
20042 * window.el (window--delete): New function.
20043 (frame-auto-delete): Resuscitate option.
20044 (bury-buffer, replace-buffer-in-windows)
20045 (quit-window): Rewrite using window--delete.
20046 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20047 Pass display-buffer-mark-dedicated to window--display-buffer-2
20050 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20052 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
20053 returns a list (bug#9554). Add remote file name completion.
20054 * comint.el (comint--table-subvert): Curry and get quote&unquote
20055 functions as arguments.
20056 (comint--complete-file-name-data): Adjust call accordingly.
20057 * pcomplete.el (pcomplete--table-subvert): Remove.
20058 (pcomplete-completions-at-point): Use comint--table-subvert instead.
20060 * minibuffer.el (completion-table-case-fold): Use currying.
20061 (completion--styles-type, completion--cycling-threshold-type):
20063 (completion-styles, completion-category-overrides)
20064 (completion-cycle-threshold): Use them.
20065 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
20066 completion-table-case-fold.
20068 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
20070 * minibuffer.el (completion-category-overrides): Fix type of styles
20071 and add more user friendly tags (bug#9660).
20073 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20075 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
20076 (mule-input-method-string): New widget.
20077 (default-input-method, language-info-custom-alist): Use it.
20079 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
20081 * pcomplete.el: Require comint.
20082 (pcomplete--common-suffix): Remove.
20083 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
20084 (pcomplete--table-subvert): Sync with comint--table-subvert.
20085 (pcomplete--entries): Use comint-completion-file-name-table.
20086 * comint.el (comint-unquote-filename): Simplify.
20087 (comint-completion-file-name-table): New function (bug#9616).
20088 (comint--complete-file-name-data): Use it.
20090 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
20091 (pcmpl-gnu-tar-buffer): Remove.
20092 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
20093 around. Make sure pcomplete-suffix-list is only changed temporarily.
20094 Don't look inside the tar's file if it's too large.
20096 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
20098 * cus-edit.el (custom-mode-map):
20099 * epa.el (epa-key-list-mode-map):
20100 * man.el (Man-mode-map):
20101 * startup.el (splash-screen-keymap):
20102 * simple.el (special-mode-map): Use scroll-up-command and
20103 scroll-down-command.
20105 * progmodes/idlw-help.el (idlwave-help-mode-map):
20106 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
20107 * net/newst-plainview.el (newsticker-mode-map):
20108 * emulation/ws-mode.el (wordstar-mode-map):
20109 * emulation/vi.el (vi-com-map):
20110 * calc/calc-graph.el (calc-graph-show-dumb):
20111 * term/sun.el (terminal-init-sun):
20112 * term/ns-win.el (global-map):
20113 * progmodes/grep.el (grep-mode-map):
20114 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
20115 * mail/rmail.el (rmail-mode-map):
20116 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
20118 * custom.el (custom-safe-themes, load-theme): Treat value of t for
20119 custom-safe-themes as special.
20121 2011-10-01 Julien Danjou <julien@danjou.info>
20123 * notifications.el (notifications-notify): Fix docstring.
20125 2011-10-01 Per Starbäck <per@starback.se>
20127 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
20129 2011-09-30 Martin Rudalics <rudalics@gmx.at>
20131 * startup.el (command-line-1): Fix last fix by inserting
20132 initial-scratch-message into *scratch* before displaying it.
20133 (Bug#9605) and (Bug#9636)
20135 2011-09-29 Eli Zaretskii <eliz@gnu.org>
20137 * simple.el (line-move): If auto-hscroll-mode is disabled and the
20138 window is hscrolled, move by logical lines. (Bug#9607)
20139 (line-move-visual): Update the doc string to the above effect.
20141 2011-09-29 Martin Rudalics <rudalics@gmx.at>
20143 * window.el (display-buffer-record-window): When WINDOW is the
20144 selected window use `point' instead of `window-point'. (Bug#9626)
20146 * startup.el (command-line-1): Use insert-before-markers when
20147 inserting initial-scratch-message. (Bug#9605)
20149 * help.el (help-window): Remove variable.
20151 2011-09-29 Glenn Morris <rgm@gnu.org>
20153 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
20155 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
20157 * descr-text.el (describe-char-categories): Accept category
20158 descriptions more than one line long.
20160 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
20162 * simple.el (delete-trailing-whitespace): Fix last change.
20164 * progmodes/perl-mode.el (perl-syntax-propertize-function):
20165 Don't confuse "y => 3" as the beginning of a `y' operation.
20167 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
20168 object has more than 4 slots (bug#9613).
20170 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
20172 * subr.el (with-output-to-temp-buffer):
20173 * net/quickurl.el (quickurl, quickurl-browse-url):
20174 Fix typos in docstrings.
20176 2011-09-27 Eli Zaretskii <eliz@gnu.org>
20178 * minibuffer.el (completion-styles)
20179 (completion-category-overrides): Cross reference each other in doc
20182 2011-09-27 Glenn Morris <rgm@gnu.org>
20184 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
20185 to split-string. (Bug#9606)
20187 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20189 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
20192 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
20194 * emacs-lisp/package.el (list-packages): Fix echo area message.
20196 2011-09-27 Leo Liu <sdl.web@gmail.com>
20198 * ido.el (ido-read-internal): Accept cons cell HIST arg.
20200 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
20202 * net/dbus.el (dbus-unregister-object): Don't release services for
20203 registered signals. (Bug#9581)
20205 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
20207 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
20208 function that picks between cfengine 2 and 3 support
20209 automatically. Update docs accordingly.
20211 2011-09-22 Kenichi Handa <handa@m17n.org>
20213 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
20215 (indian-itrans-v5-table-for-tamil): New variable.
20216 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
20218 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
20220 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
20221 that's true if the current command involved collapsing of text.
20222 It's reset to false at the beginning of the next command.
20223 (allout-post-command-business): Move the cursor to the beginning
20224 of entry if the cursor is hidden and collapsing activity just
20227 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
20229 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
20230 tracking (Bug#9541).
20232 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
20234 * net/newst-reader.el (newsticker-html-renderer)
20235 (newsticker-show-news): Automatically load html rendering package
20236 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
20237 because w3m-fill-column is let-bound" and the error "Symbol's value
20238 as variable is void: w3m-fill-column".
20240 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
20242 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
20243 Release services only if they are defined. (Bug#9581)
20245 2011-09-23 Richard Stallman <rms@gnu.org>
20247 * textmodes/paragraphs.el (forward-sentence): For backwards case,
20248 distinguish start of paragraph from start of its text.
20250 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
20252 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
20253 (rmail-generate-viewer-buffer): Put that hook on view buffer.
20254 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
20256 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
20258 * international/mule-diag.el (mule-diag): Insert a newline after
20259 each fontset description.
20261 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20263 * simple.el (delete-trailing-whitespace):
20264 Document last change; simplify.
20266 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
20268 * simple.el (delete-trailing-whitespace): Also delete
20269 extra newlines at the end of the buffer.
20271 * textmodes/picture.el: Make motion commands obey shift-select-mode.
20272 (picture-newline): Use forward-line so as to ignore fields.
20274 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20276 * subr.el (with-wrapper-hook): Fix edebug spec.
20278 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
20280 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
20283 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
20285 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
20286 Fix nasty bug using wrong cached values.
20288 2011-09-23 Alan Mackenzie <acm@muc.de>
20290 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
20292 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
20294 * window.el (pop-to-buffer): Ensure right window is selected if we
20295 chose another frame.
20297 2011-09-22 Eli Zaretskii <eliz@gnu.org>
20299 * simple.el (what-cursor-position): Use get-char-property-change
20300 and next-single-char-property-change, to be able to show display
20301 properties that come from overlays as well as text properties.
20303 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
20305 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
20307 * cmuscheme.el (run-scheme, switch-to-scheme):
20308 * cus-edit.el (customize-group, custom-buffer-create)
20309 (customize-browse):
20311 * shell.el (shell):
20312 * mail/sendmail.el (mail):
20313 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
20315 2011-09-22 Richard Stallman <rms@gnu.org>
20317 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
20318 move back only to line beg, don't move back over blank lines.
20320 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
20322 * files.el (copy-directory): Set directory attributes only in case
20323 they could be retrieved from the source directory. (Bug#9565)
20325 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
20327 * progmodes/hideshow.el (hs-looking-at-block-start-p)
20328 (hs-find-block-beginning, hs-hide-level-recursive):
20329 Ignore strings as well as comments. (Bug#9502)
20331 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
20333 * progmodes/sql.el (sql-comint-postgres):
20334 Convert port number to a string. (Bug#9566)
20336 2011-09-22 Martin Rudalics <rudalics@gmx.at>
20338 * window.el (quit-window): Undedicate window when switching to
20339 previous buffer. Reported by Thierry Volpiatto
20340 <thierry.volpiatto@gmail.com>.
20341 (special-display-popup-frame): When popping up a new frame reset
20342 its previous buffers to nil. Simplify code.
20344 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
20346 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
20347 and process filter, as done also in `shell-command'.
20349 2011-09-21 Martin Rudalics <rudalics@gmx.at>
20351 * window.el (set-window-buffer-start-and-point):
20352 Call set-window-start with NOFORCE argument t.
20353 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20354 (quit-window): Reword doc-string. Handle new format of
20355 quit-restore parameter. Don't delete window if it has a
20356 previous buffer we can show instead of the present one.
20357 (display-buffer-record-window): Rewrite using a new format for
20358 the quit-restore window parameter
20359 (special-display-popup-frame, display-buffer-same-window)
20360 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20361 (display-buffer-pop-up-window, display-buffer-use-some-window):
20362 Adapt symbol passed to display-buffer-record-window.
20363 * help.el (help-window-setup): Handle new format of quit-restore
20366 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
20368 * faces.el (face-list): Fix docstring (bug#9564).
20370 * window.el (display-buffer--action-function-custom-type):
20371 Don't include internal functions in the Custom interface.
20373 2011-09-20 Juri Linkov <juri@jurta.org>
20375 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
20376 (Info-forward-node, Info-backward-node, Info-next-preorder)
20377 (Info-last-preorder): Use it. (Bug#9528)
20379 2011-09-20 Juri Linkov <juri@jurta.org>
20381 * info.el (Info-last-preorder): Visit last menu item only when
20382 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
20384 2011-09-20 Julien Danjou <julien@danjou.info>
20386 * password-cache.el (password-cache-remove): Remove entries even if the
20387 value is nil, so that password with a nil value (negative caching) is
20388 possible to invalidate.
20390 2011-09-20 Lawrence Mitchell <wence@gmx.li>
20392 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
20393 all whitespace around breakpoint. (Bug#9553)
20394 (f90-find-breakpoint): Only break at whitespace inside a comment.
20396 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
20398 * minibuffer.el (completion-file-name-table): Keep track of errors.
20399 (completion-table-with-predicate): Handle the case where pred1 is nil.
20400 * pcomplete.el (pcomplete-completions-at-point): Simplify.
20402 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20404 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
20405 (debugger-return-value): Signal an error if the debugging context does
20406 not await any return value.
20408 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
20409 * image-mode.el (image-toggle-display-text)
20410 (image-toggle-display-image): Stay away from evil `intangible'.
20412 2011-09-19 Leo Liu <sdl.web@gmail.com>
20414 * replace.el (occur-revert-arguments): Make it permanent-local.
20415 (occur-mode): Don't call font-lock-defontify.
20417 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
20419 * net/ldap.el (ldap-search-internal): Don't push empty search
20422 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20424 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
20426 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
20428 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
20429 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
20431 2011-09-18 Juri Linkov <juri@jurta.org>
20433 * buff-menu.el (Buffer-menu-mode-map):
20434 * dired.el (dired-mode-map):
20435 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
20436 (lisp-interaction-mode-map):
20437 * emacs-lisp/package.el (package-menu-mode-map):
20438 * epa.el (epa-key-list-mode-map):
20439 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
20440 (menu-bar-options-menu):
20441 * outline.el (outline-mode-menu-bar-map):
20442 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
20443 * vc/vc-dir.el (vc-dir-menu-map):
20444 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
20445 Capitalize non-function content words in menu item strings.
20447 * dired.el (dired-mode-map): Add menu item for
20448 `image-dired-dired-toggle-marked-thumbs'.
20450 2011-09-18 Juri Linkov <juri@jurta.org>
20452 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
20453 to `isearch-case-fold-search' and restore its original value
20454 after the `isearch-mode' call.
20456 2011-09-18 Juri Linkov <juri@jurta.org>
20458 * progmodes/grep.el (grep-process-setup): Don't check code for 1
20459 because `zgrep' returns 1 for successful matches (bug#9226).
20461 2011-09-18 Juri Linkov <juri@jurta.org>
20463 * info.el (Info-extract-menu-node-name): Check the second match
20464 for empty string (second test-case of bug#9528).
20465 (Info-last-preorder): Let-bind `Info-history' to nil to not add
20466 intermediate nodes to the history (first test-case of bug#9528).
20468 2011-09-18 Juri Linkov <juri@jurta.org>
20470 * info.el (Info-mode-syntax-table): New variable.
20471 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
20473 2011-09-18 Juri Linkov <juri@jurta.org>
20475 * info.el (Info-file-supports-index-cookies):
20476 Increment line-beginning-position's arg from 3 to 4 because makeinfo
20477 outputs one more line for long file names (bug#4142).
20479 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20481 * newcomment.el (comment-normalize-vars): If prompting for
20482 comment-start, set comment-start-skip too (Bug#8424).
20484 2011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
20486 * icomplete.el: Fix previous fix of Bug#5849.
20487 (icomplete-mode): Don't set completion-show-inline-help.
20488 (icomplete-minibuffer-setup): Set completion-show-inline-help
20489 locally during icompletion.
20491 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20493 * woman.el (woman2-process-escapes): Don't delete unrecognized
20494 escapes (Bug#7843).
20496 * files.el (inhibit-first-line-modes-regexps): Add image files.
20497 (hack-local-variables-prop-line): Return nil for malformed
20498 prop-lines (Bug#9044).
20500 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
20502 * net/tramp.el (top): Don't require 'shell.
20503 (tramp-methods): Fix docstring.
20504 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
20505 Return complete remote file name. Handle "smb" case.
20506 Use `tramp-tmpdir', if defined for the respective method.
20507 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
20509 * net/tramp-compat.el (top): Require 'shell.
20511 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20512 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
20513 `tramp-current-host'.
20514 (tramp-get-remote-tmpdir): Remove.
20516 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
20517 `tramp-tmpdir' entries.
20518 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
20519 (tramp-smb-handle-file-attributes): Ignore errors.
20520 (tramp-smb-wait-for-output): Check also for process end.
20522 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
20524 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
20525 when sending QUIT (bug#9312).
20527 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
20529 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
20530 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
20531 occur-mode-display-occurrence.
20532 (occur-edit-mode): Add usage message.
20533 (occur-cease-edit): New command.
20534 (occur-after-change-function): Use text properties to find the
20535 position of the prefix text.
20536 (occur-engine): Set stickiness of prefix text properties.
20538 2011-09-17 Glenn Morris <rgm@gnu.org>
20540 * progmodes/etags.el (complete-tag):
20541 Fix call to completion-in-region. (Bug#9526)
20543 2011-09-17 Juri Linkov <juri@jurta.org>
20545 * textmodes/ispell.el (ispell-word): Add to the error message
20546 the word, ispell program name and current dictionary (bug#9121).
20547 (ispell-tex-arg-end): Capitalize "error" in the error message.
20549 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
20551 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
20554 2011-09-17 Juri Linkov <juri@jurta.org>
20556 * window.el (window-safe-min-height, window-safe-min-width):
20557 Fix typos (followup to bug#9522).
20559 2011-09-17 Sven Joachim <svenjoac@gmx.de>
20561 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
20563 2011-09-16 Eli Zaretskii <eliz@gnu.org>
20565 * simple.el (line-move): If goal-column is set, move by logical
20566 lines, not by display lines. (Bug#971)
20567 (next-line, previous-line, goal-column, line-move-visual): Doc fix
20568 to reflect the above change.
20570 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
20572 * image.el (imagemagick-register-types): Use regexp-opt.
20574 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20576 * window.el (display-buffer-base-action): Rename from
20577 display-buffer-default-action. Make default value empty.
20578 (display-buffer-overriding-action): Convert to defvar.
20579 (display-buffer-fallback-action): New var.
20581 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20583 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
20585 (package--add-to-archive-contents): If there is a duplicate entry
20586 with an older version, remove it.
20587 (package-menu-mark-delete, package-menu-mark-install)
20588 (package-menu-mark-unmark): Make unused args optional.
20589 (package-menu-mark-obsolete-for-deletion):
20590 Use package-menu-get-status instead of a regexp search.
20591 (package-menu-get-status): Use tabulated-list-entry.
20592 (package-menu-mark-upgrades): New command.
20593 (package-menu-mode-map): Bind it to U. Add it to menu bar.
20594 (package-menu-execute): Do installation before deletion.
20595 (package-menu-refresh, package-menu-execute): Use derived-mode-p
20596 instead of checking major-mode.
20597 (package-menu--find-upgrades): New function.
20599 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20601 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
20602 passwords in the log buffer.
20603 (smtpmail-process-filter): Update the process marker so that the
20604 "broken by peer" status message is inserted in the right place.
20606 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
20608 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
20609 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
20610 bibtex-completion-at-point-function.
20611 (bibtex-completion-at-point-function): Use them.
20613 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
20615 * mpc.el (mpc-constraints-tag-lookup): New function.
20616 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
20617 also to browser "album|playlist".
20619 2011-09-14 Juri Linkov <juri@jurta.org>
20621 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
20622 (isearch-edit-string): Use length of `isearch-string' when
20623 `isearch-fail-pos' returns nil.
20624 (isearch-message): Remove duplicate code and call
20625 `isearch-fail-pos' with arg `t'.
20627 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
20629 * replace.el (occur-mode-goto-occurrence): Don't force using other
20632 * dired-aux.el (dired-do-chmod): Don't provide initial input.
20634 2011-09-14 Martin Rudalics <rudalics@gmx.at>
20636 * window.el (display-buffer-window): Remove.
20637 (display-buffer-record-window): Use help-setup window parameter
20638 instead of variable display-buffer-window.
20639 (display-buffer-function, special-display-buffer-names)
20640 (special-display-function): Mention help-setup parameter instead
20641 of display-buffer-window in doc-string.
20642 * help.el (help-window-setup): New argument help-window.
20643 Use help-window-setup parameter instead of display-buffer-window.
20644 Reword some messages.
20645 (with-help-window): Pass window used for displaying the buffer
20646 to help-window-setup. Don't set display-buffer-window.
20648 2011-09-13 Glenn Morris <rgm@gnu.org>
20650 * emacs-lisp/debug.el (debugger-make-xrefs):
20651 Preserve point. (Bug#9462)
20653 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20655 * window.el (window-deletable-p): Use next-frame.
20657 2011-09-13 Martin Rudalics <rudalics@gmx.at>
20659 * window.el (window-auto-delete): Remove.
20660 (window-deletable-p): Remove argument FORCE. Don't deal with
20661 dedication and previous buffers.
20662 (switch-to-prev-buffer): Don't delete window.
20663 (delete-windows-on): Delete a window's frame if and only if the
20664 window is dedicated.
20665 (replace-buffer-in-windows): Delete buffer's window or frame if
20666 and only if window is dedicated.
20667 (quit-window): Handle quit-restore as before last change.
20668 (bury-buffer): Delete window only if window-deletable-p returns t.
20670 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20672 * window.el (window-deletable-p): Never delete the last frame on a
20675 2011-09-13 Glenn Morris <rgm@gnu.org>
20677 * help.el (describe-key-briefly): Copy previous standard-output change.
20679 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
20681 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
20683 2011-09-13 Glenn Morris <rgm@gnu.org>
20685 * emacs-lisp/lisp-mode.el (lisp-indent-function):
20686 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
20688 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
20690 * dired-aux.el (dired-mark-read-string): Don't return default
20691 value on empty input (Bug#9361).
20692 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
20693 Omit initial minibuffer contents.
20694 (dired-do-chmod): Signal an error on empty input.
20695 (dired-mark-read-string): Don't return default on empty input.
20697 * files.el (file-modes-symbolic-to-number): Doc fix.
20699 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20701 * international/mule-cmds.el (ucs-completions): Remove.
20702 (read-char-by-name): Use complete-with-action instead; add metadata.
20704 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20706 * window.el (display-buffer--action-function-custom-type)
20707 (display-buffer--action-custom-type): New vars.
20708 (display-buffer-alist, display-buffer-default-action)
20709 (display-buffer-overriding-action): Add defcustom types.
20711 * frame.el (delete-other-frames): Doc fix (Bug#276).
20713 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20715 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
20717 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20719 Change modes that used same-window-* vars to use switch-to-buffer.
20721 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
20722 Use switch-to-buffer.
20724 * cus-edit.el (customize-group, custom-buffer-create)
20725 (customize-browse, custom-buffer-create-other-window):
20726 Use switch-to-buffer or switch-to-buffer-other-window.
20728 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
20729 (Info-prev, Info-up, Info-speedbar-goto-node)
20730 (info-display-manual): Use switch-to-buffer.
20731 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
20733 * mail/sendmail.el (mail): Use switch-to-buffer.
20734 (mail-recover): Use switch-to-buffer-other-window.
20736 * cmuscheme.el (run-scheme, switch-to-scheme):
20738 * shell.el (shell):
20739 * net/rlogin.el (rlogin):
20740 * net/telnet.el (telnet, rsh):
20741 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
20743 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20745 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
20747 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20749 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
20750 so don't mention it (bug#9301).
20751 (dired-sort-toggle-or-edit): Clarify string further.
20753 * faces.el (face-spec-set-match-display): Make `(type graphic)'
20754 match `x', `w32' and `ns', like the manual says (bug#9029).
20756 * subr.el (eval-after-load): Doc string clarification (bug#9125).
20757 (process-kill-buffer-query-function): Mention the buffer name in
20760 * image-mode.el (image-next-line): The line parameter is mandatory
20763 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
20764 which can be useful (bug#9301).
20766 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
20768 * subr.el (match-string): Mention that the current buffer should
20769 be the same as the search was done in (bug#9282).
20771 * facemenu.el: Disable the remove-* commands if the mark isn't
20774 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20776 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
20778 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
20780 * replace.el (occur-mode-goto-occurrence)
20781 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
20782 and display-buffer.
20784 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
20787 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
20788 special-display and same-window variables.
20789 (mail-other-window): Use switch-to-buffer-other-window.
20790 (mail-other-frame): USe switch-to-buffer-other-frame.
20792 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
20793 Use display-buffer-other-frame.
20794 (gdb-display-gdb-buffer): Use pop-to-buffer.
20796 * progmodes/gud.el (gud-goto-info): Use info-other-window.
20798 * progmodes/python.el: Don't set same-window-buffer-names.
20800 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
20802 * window.el (display-buffer-alist): Add *Python*.
20804 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20806 * window.el (display-buffer-alist): Add entry for buffers
20807 previously handled same-window-*.
20808 (display-buffer-alist, display-buffer-default-action)
20809 (display-buffer-overriding-action): Mark as risky.
20810 (display-buffer-alist): Document action function changes.
20811 (display-buffer--same-window-action)
20812 (display-buffer--other-frame-action): New variables.
20813 (switch-to-buffer, display-buffer-other-frame): Use them.
20814 (display-buffer): Rename reuse-frame entry to reusable-frames.
20815 (display-buffer-reuse-selected-window): Function deleted.
20816 (display-buffer-reuse-window): Handle reusable-frames alist entry.
20817 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
20818 (display-buffer-special): New function.
20819 (display-buffer--maybe-pop-up-frame-or-window): Rename from
20820 display-buffer-reuse-or-pop-window. Split off special-display
20821 part into display-buffer-special.
20822 (display-buffer-use-some-window): Don't perform any special
20823 pop-up-frames handling.
20824 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
20825 (display-buffer--maybe-same-window): Rename from
20826 display-buffer-maybe-same-window.
20828 * info.el: Don't set same-window-regexps.
20829 (info-setup): New function.
20830 (info-other-window, info): Call it.
20832 * cus-edit.el: Don't set same-window-regexps.
20833 (customize-group): New argument.
20834 (customize-group-other-window): Use it.
20835 (customize-face, customize-face-other-window): Likewise.
20836 (custom-buffer-create-other-window): Use pop-to-buffer directly.
20840 * progmodes/gud.el: Don't set same-window-regexps.
20845 * mail/sendmail.el:
20846 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
20848 2011-09-10 Juri Linkov <juri@jurta.org>
20850 * isearch.el (isearch-edit-string): Remove obsolete mention of
20851 `C-w' (`isearch-yank-word-or-char') from docstring.
20852 (isearch-query-replace): Fix typo in docstring (bug#9466).
20854 2011-09-10 Juri Linkov <juri@jurta.org>
20856 * paren.el (show-paren-function): Don't show escaped parens.
20857 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
20859 2011-09-10 Eli Zaretskii <eliz@gnu.org>
20861 * mail/sendmail.el (mml-to-mime, mml-attach-file)
20862 (mm-default-file-encoding): Remove autoload forms, they are
20863 replaced with autoload cookies in mml.el and mm-encode.el.
20864 (mail-add-attachment): New command.
20865 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
20866 (mail-mode): Mention mail-insert-file and mail-add-attachment in
20868 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
20870 2011-09-10 Reuben Thomas <rrt@sc3d.org>
20872 * simple.el (count-words-region): Use buffer if there's no region
20875 2011-09-09 Juri Linkov <juri@jurta.org>
20877 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
20878 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
20879 (wdired-isearch-filter-read-only): New function. (Bug#6362)
20881 2011-09-09 Alan Mackenzie <acm@muc.de>
20883 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
20884 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
20886 2011-09-09 Eli Zaretskii <eliz@gnu.org>
20888 Fix for Savannah bug#9392.
20889 * simple.el (mail-encode-mml): New defvar.
20891 * mail/rmail.el (mail-encode-mml): Add a defvar.
20892 (rmail-enable-mime-composing): Default to t.
20893 (rmail-forward): Use MIME method of forwarding only if both
20894 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
20895 Set mail-encode-mml non-nil if the MIME method was used.
20897 * mail/sendmail.el (mml-to-mime): Add autoload form.
20898 (mail-encode-mml): Add a defvar.
20899 (mail-mode): Make mail-encode-mml buffer-local and initialize it
20901 (mail-send): If mail-encode-mml is non-nil, run the outgoing
20902 message through mml-to-mime, and reset mail-encode-mml to nil.
20904 2011-09-09 Glenn Morris <rgm@gnu.org>
20906 * woman.el (woman-if-body): When processing an .el block,
20907 do not delete the next .el block as well. (Bug#9447)
20908 (woman-special-characters): Add oq, cq, and hy characters.
20910 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20912 * window.el (window-deletable-p): Make sure window is live before
20913 invoking window-prev-buffers.
20915 2011-09-08 Leo Liu <sdl.web@gmail.com>
20917 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
20919 2011-09-08 Juri Linkov <juri@jurta.org>
20921 * progmodes/compile.el (compilation-environment): Make it
20922 a defcustom (bug#8340).
20924 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20926 * window.el (frame-auto-delete): Rename to window-auto-delete.
20927 Make it control auto-deletion of windows and/or frames.
20928 (window-deletable-p): New argument FORCE. Rewrite conditions
20929 for deleting window/frame. (Bug#9419)
20930 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
20931 Rewrite handling of case when window/frame can be deleted.
20932 (delete-windows-on): Call window-deletable-p with new FORCE
20933 argument t. (Bug#9456)
20935 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
20937 * help-mode.el (help-mode): Restore autoload.
20939 2011-09-07 Juri Linkov <juri@jurta.org>
20941 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
20942 `compilation-environment'. Set buffer-local
20943 `compilation-environment' to `thisenv' later after (funcall mode).
20946 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
20947 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
20948 instead of replacing its value. (Bug#8340)
20950 2011-09-07 Juri Linkov <juri@jurta.org>
20952 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
20953 based on text properties put by `grep-filter' instead of matching
20955 (grep-mode): Set buffer-local `compilation-error-screen-columns'
20956 to the value of `grep-error-screen-columns' (bug#9438).
20958 2011-09-07 Juri Linkov <juri@jurta.org>
20960 * simple.el (next-error-highlight, next-error-highlight-no-select):
20961 Doc fix (bug#9432).
20963 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
20965 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20966 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
20968 2011-09-07 Leo Liu <sdl.web@gmail.com>
20970 * net/rcirc.el (rcirc-mode): Conditionally initialize
20973 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
20975 * emacs-lisp/find-func.el (find-function-C-source): Only set
20976 find-function-C-source-directory after checking that we found a source
20977 file there (bug#9440).
20979 2011-09-06 Alan Mackenzie <acm@muc.de>
20981 * isearch.el (isearch-other-meta-char): Wherever a key list is
20982 unread, "unread" the prefix arg, too. This fixes bug #8901.
20984 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
20986 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
20988 2011-09-05 Juri Linkov <juri@jurta.org>
20990 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
20992 2011-09-05 Juri Linkov <juri@jurta.org>
20994 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
20995 keeping point where processing of grep matches begins, and
20996 continue to delete remaining escape sequences from the same point.
20997 (grep-filter): Make leading zero optional in "0?1;31m" because
20998 git-grep emits "\033[1;31m" escape sequences unlike expected
20999 "\033[01;31m" as GNU Grep does (bug#9408).
21000 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
21002 2011-09-05 Juri Linkov <juri@jurta.org>
21004 * subr.el (y-or-n-p): Capitalize "yes".
21006 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
21008 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
21009 `tramp-cache-unload-hook' where appropriate.
21010 (tramp-methods): Rename `tramp-remote-sh' to
21011 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
21012 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
21014 * net/tramp-sh.el (top): Don't require 'shell.
21015 (tramp-methods): Add `tramp-remote-shell' and
21016 `tramp-remote-shell-args' entries.
21017 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
21018 (tramp-sh-handle-shell-command): Remove.
21019 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21020 Use `tramp-remote-shell'.
21022 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
21024 * mail/sendmail.el (sendmail-query-once-function): Delete.
21025 (sendmail-query-once): Save directly to send-mail-function.
21026 Update message-send-mail-function too.
21028 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
21030 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21032 * progmodes/python.el (python-mode-map): Use correct function to
21033 start python interpreter from menu-bar (as reported by Geert
21035 (inferior-python-mode-map): Fix typo.
21036 (python-shell-map): Remove.
21038 2011-09-03 Deniz Dogan <deniz@dogan.se>
21040 * net/rcirc.el (rcirc-print): Simplify code for
21041 rcirc-scroll-show-maximum-output. There is no need to walk
21042 through all windows to find the right one.
21044 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21046 * help.el (help-return-method): Doc fix.
21048 2011-09-03 Martin Rudalics <rudalics@gmx.at>
21050 * window.el (window-deletable-p): Don't return a non-nil value
21051 when there's a buffer that was shown in the window before.
21053 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
21054 Set window's previous buffers to nil.
21056 2011-09-03 Eli Zaretskii <eliz@gnu.org>
21058 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
21059 newline before and after the tag line, so it doesn't interfere
21060 with determining the paragraph direction of bidirectional text.
21062 2011-09-03 Leo Liu <sdl.web@gmail.com>
21064 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
21066 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21068 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
21069 (pop-to-buffer): Change interactive spec. Pass second argument
21070 directly to display-buffer.
21071 (display-buffer): Fix interactive spec. Use functionp to
21072 distinguish between a function and a list of functions.
21074 * abbrev.el (edit-abbrevs):
21075 * arc-mode.el (archive-extract):
21076 * autoinsert.el (auto-insert):
21077 * bookmark.el (bookmark-bmenu-list):
21078 * files.el (find-file):
21079 * view.el (view-buffer):
21080 * progmodes/compile.el (compilation-goto-locus):
21081 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
21083 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21085 * window.el (display-buffer-alist): Doc fix.
21086 (display-buffer): Add docstring. Don't treat
21087 display-buffer-default specially.
21088 (display-buffer-reuse-selected-window)
21089 (display-buffer-same-window, display-buffer-maybe-same-window)
21090 (display-buffer-reuse-window, display-buffer-pop-up-frame)
21091 (display-buffer-pop-up-window)
21092 (display-buffer-reuse-or-pop-window)
21093 (display-buffer-use-some-window): New functions.
21094 (display-buffer-default-action): Use them.
21095 (display-buffer-default): Delete.
21096 (pop-to-buffer-1): Fix choice of actions.
21098 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
21100 * minibuffer.el (completion--insert-strings): Don't get confused by
21101 completion entries that end with an LF char.
21103 2011-09-01 Eli Zaretskii <eliz@gnu.org>
21105 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
21107 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
21109 * window.el (display-buffer): Restore interactive spec.
21110 (display-buffer-same-window, display-buffer-other-window):
21112 (pop-to-buffer-1): New function. Use the above.
21113 (pop-to-buffer, pop-to-buffer-same-window): Use it.
21114 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
21116 * view.el (view-buffer-other-window, view-buffer-other-frame):
21117 Just use pop-to-buffer.
21119 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
21121 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
21123 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
21125 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
21127 2011-08-31 Richard Stallman <rms@gnu.org>
21129 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
21130 of the separation of rmail-view-buffer from rmail-buffer.
21131 If you say no to "replace original", the decrypt is in the
21132 view buffer. If you say yes, the decrypt goes into the
21135 2011-08-31 Martin Rudalics <rudalics@gmx.at>
21137 * window.el (display-buffer-window): Rewrite doc-string.
21138 (display-buffer-record-window): New function.
21139 (display-buffer-macro-specifiers)
21140 (display-buffer-even-window-sizes, display-buffer-set-height)
21141 (display-buffer-set-width, display-buffer-in-window)
21142 (display-buffer-reuse-window, display-buffer-split-specifiers)
21143 (display-buffer-side-specifiers, display-buffer-split-window-1)
21144 (display-buffer-split-window, display-buffer-split-atom-window)
21145 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21146 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
21147 (display-buffer-other-window-means-other-frame)
21148 (display-buffer-normalize-special)
21149 (display-buffer-normalize-default)
21150 (display-buffer-normalize-argument)
21151 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
21152 (display-buffer-normalize-specifiers, display-buffer-frame)
21153 (display-buffer-same-window, display-buffer-same-frame)
21154 (display-buffer-other-window)
21155 (display-buffer-same-frame-other-window)
21156 (display-buffer-other-frame, pop-to-buffer-same-window)
21157 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
21158 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
21159 (switch-to-buffer-same-frame)
21160 (switch-to-buffer-other-window-same-frame)
21161 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
21162 (display-buffer-alist-set-1, display-buffer-alist-set-2)
21163 (display-buffer-alist-set): Remove.
21164 (display-buffer-function, special-display-buffer-names)
21165 (special-display-regexps, special-display-function):
21166 In doc-string refer to display-buffer-window and quit-restore
21168 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
21169 (special-display-frame-alist, special-display-popup-frame)
21170 (same-window-buffer-names, same-window-regexps, same-window-p)
21171 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21172 (split-window-preferred-function, split-height-threshold)
21173 (split-width-threshold, window-splittable-p)
21174 (split-window-sensibly, window--try-to-split-window)
21175 (window--frame-usable-p, even-window-heights)
21176 (window--even-window-heights, window--display-buffer-1)
21177 (window--display-buffer-2, display-buffer-other-frame):
21178 Restore old Emacs 23 code, order and doc-strings where applicable.
21179 (display-buffer-default, display-buffer-assq-regexp): New functions.
21180 (display-buffer-alist): Rewrite doc-string.
21181 (display-buffer-default-action)
21182 (display-buffer-overriding-action): New variables.
21183 (display-buffer, switch-to-buffer): Rewrite.
21184 (pop-to-buffer): Restore Emacs 23 behavior but use
21185 window-normalize-buffer-to-display.
21186 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
21187 Restore Emacs 23 behavior but use
21188 window-normalize-buffer-to-switch-to.
21189 (pop-to-buffer-same-window): Rewrite.
21190 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
21191 Rewrite using Emacs 23 options.
21193 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
21195 * net/tramp.el (tramp-root-regexp): Remove.
21196 (tramp-completion-file-name-regexp-unified)
21197 (tramp-completion-file-name-regexp-separate)
21198 (tramp-completion-file-name-regexp-url): Don't use leading volume
21199 letter on w32 systems. (Bug#5303, Bug#9311)
21200 (tramp-drop-volume-letter): Simplify definition.
21201 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
21203 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
21205 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
21208 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
21210 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
21212 2011-08-29 Juri Linkov <juri@jurta.org>
21214 * isearch.el (isearch-done): Don't display message "Mark saved"
21215 when arg `edit' is non-nil to prevent its flicker in the echo area.
21217 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21219 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
21220 obsolete packages for deletion.
21222 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
21224 * help-mode.el (help-mode-map): Add special-mode-map to parent.
21225 (help-mode): Derive help-mode from special-mode. Don't invoke
21226 view-mode from help-mode.
21227 (help-xref-override-view-map): Remove.
21228 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
21229 view-mode is not used anymore.
21231 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21233 * server.el (server-port): Doc fix.
21235 * cus-theme.el (custom-theme-choose-mode): Inherit from
21236 special-mode (Bug#9124).
21237 (custom-theme-choose-mode-map): Add special-mode to parent.
21239 2011-08-28 Alan Mackenzie <acm@muc.de>
21241 * progmodes/cc-fonts.el
21242 (c-make-font-lock-BO-decl-search-function): New function.
21243 (c-basic-matchers-after - "Fontify the clauses after various
21244 keywords"): Extract the three keyword lists for the 3 erroneous
21245 constructs from the list of four, and use the new function above
21246 in place of an old one.
21248 2011-08-28 Deniz Dogan <deniz@dogan.se>
21250 * net/rcirc.el (rcirc-insert-prev-input)
21251 (rcirc-insert-next-input): Remove unused argument.
21253 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21255 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
21257 2011-08-27 Alan Mackenzie <acm@muc.de>
21259 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
21260 handle function pointer parameters properly.
21262 2011-08-27 Martin Rudalics <rudalics@gmx.at>
21264 * window.el (display-buffer-reuse-window): Fix case where
21265 selected window was reused with non-nil OTHER-WINDOW argument.
21268 2011-08-27 Deniz Dogan <deniz@dogan.se>
21270 * net/rcirc.el (rcirc-check-auth-status): Adding support for
21271 oftc's NickServ messages.
21273 2011-08-27 Glenn Morris <rgm@gnu.org>
21275 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
21277 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
21279 * emacs-lisp/package.el (package-install): Call package-initialize
21280 if called interactively.
21282 2011-08-26 Leo Liu <sdl.web@gmail.com>
21284 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
21286 2011-08-25 Juri Linkov <juri@jurta.org>
21288 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
21289 `search-whitespace-regexp' (bug#9364).
21291 2011-08-25 Juri Linkov <juri@jurta.org>
21293 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
21294 `regexp-search-ring' to their global values to protect from
21295 updating by `read-from-minibuffer' (bug#9185).
21297 2011-08-25 Juri Linkov <juri@jurta.org>
21299 * textmodes/ispell.el (ispell-command-loop): Add newline
21300 at the end of the "Use option `i'..." line.
21302 2011-08-25 Juri Linkov <juri@jurta.org>
21304 * battery.el (display-battery-mode): If `battery-status-function'
21305 or `battery-mode-line-format' is nil, display the message and set
21306 `display-battery-mode' to nil (bug#9363).
21308 2011-08-25 Eli Zaretskii <eliz@gnu.org>
21310 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
21311 bidi-string-mark-left-to-right; they are unnecessary now.
21313 2011-08-25 Deniz Dogan <deniz@dogan.se>
21315 * net/quickurl.el: Documentation typo fixes.
21317 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
21319 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
21321 2011-08-25 Glenn Morris <rgm@gnu.org>
21323 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
21325 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
21326 (smtpmail-via-smtp): Handle nil response from smtp.
21328 2011-08-24 Juri Linkov <juri@jurta.org>
21330 * proced.el (proced-marked): Inherit from `error' instead of
21331 `font-lock-warning-face'.
21333 * ibuffer.el (ibuffer-marked-face): Change default face from
21334 `font-lock-warning-face' to `warning'.
21335 (ibuffer-deletion-face): Change default face from
21336 `font-lock-type-face' to `error'.
21338 * battery.el (battery-update): Use the face `error' instead of
21339 `font-lock-warning-face' (bug#6117).
21341 2011-08-24 Juri Linkov <juri@jurta.org>
21343 * faces.el (success): Change face color from "Green3" to
21344 "ForestGreen" on light background (bug#9353).
21346 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
21348 * window.el (quit-window): Rename from quit-restore-window.
21349 Use same arglist as old quit-window.
21350 (frame-auto-delete): Doc fix.
21352 * view.el (view-mode-exit): Use quit-window.
21354 2011-08-24 Juri Linkov <juri@jurta.org>
21356 * isearch.el (isearch-ring-adjust1): Start visiting previous
21357 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
21358 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
21359 for empty search string (when the last search string is reused
21360 automatically) to adjust the isearch ring to the last element and
21361 prepare the correct index for further M-p commands (bug#9185).
21363 2011-08-24 Kenichi Handa <handa@m17n.org>
21365 * international/ucs-normalize.el: If decomposition property of
21366 CHAR is the default one (i.e. a list of CHAR itself), treat it as
21368 (nfd, nfkd): Likewise.
21370 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21372 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
21373 from process filters aren't reliably transmitted to the surrounding
21374 accept-process-output.
21375 (mpc-proc-check): New function.
21376 (mpc-proc-sync): Use it (bug#8293)
21378 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21380 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
21381 Add compatibility functions (bug#9313).
21383 2011-08-23 Eli Zaretskii <eliz@gnu.org>
21385 * cus-start.el (all): Add entry for bidi-paragraph-direction.
21387 * international/uni-bidi.el: Regenerate.
21389 2011-08-23 Kenichi Handa <handa@m17n.org>
21391 * international/charprop.el:
21392 * international/uni-bidi.el:
21393 * international/uni-category.el:
21394 * international/uni-combining.el:
21395 * international/uni-comment.el:
21396 * international/uni-decimal.el:
21397 * international/uni-decomposition.el:
21398 * international/uni-digit.el:
21399 * international/uni-lowercase.el:
21400 * international/uni-mirrored.el:
21401 * international/uni-name.el:
21402 * international/uni-numeric.el:
21403 * international/uni-old-name.el:
21404 * international/uni-titlecase.el:
21405 * international/uni-uppercase.el: Regenerate.
21407 2011-08-23 Martin Rudalics <rudalics@gmx.at>
21409 * help.el (help-window-setup): Fix message displayed when other
21410 window is reused. (Bug#9341)
21412 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21414 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
21415 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
21417 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
21419 * shell.el (shell-parse-pcomplete-arguments): New function.
21420 (shell-completion-vars): Use it instead (bug#9160).
21422 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
21424 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
21425 strings and comments (bug#9333).
21427 * emacs-lisp/debug.el (debug-arglist): New function.
21428 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
21429 (debug-on-entry-1): Handle interpreted closures (bug#9120).
21431 2011-08-22 Juri Linkov <juri@jurta.org>
21433 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21434 Revert regexp that highlights output switches to its old
21435 pre-2010-10-28 value and remove one `?' from it (bug#9319).
21437 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
21438 to check for empty output (bug#9226).
21440 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
21442 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
21443 symbol-constituent as the default, as that stops font-lock from
21444 working properly (Bug#8843).
21446 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21448 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
21449 `coding-system-for-*' around the process open call to avoid
21450 auth-source side effects.
21451 (smtpmail-try-auth-methods): Expand the secret password.
21452 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
21455 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21457 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
21459 * emacs-lisp/find-func.el (find-function-noselect): New arg
21462 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
21463 signal an error for built-in functions (Bug#6664).
21465 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21467 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
21468 (smtpmail-try-auth-methods): Use it.
21470 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21472 * font-lock.el (font-lock-fontify-region)
21473 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
21474 (font-lock-default-unfontify-buffer)
21475 (font-lock-default-fontify-region)
21476 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
21478 * progmodes/compile.el (compilation-error-properties):
21479 Fix confusion between file struct and message struct (Bug#9319).
21480 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
21483 * net/browse-url.el (browse-url-firefox): Don't call
21484 browse-url-firefox-sentinel unless using -remote (Bug#9328).
21486 2011-08-20 Glenn Morris <rgm@gnu.org>
21488 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
21490 * tutorial.el (tutorial--default-keys): Update some default bindings.
21492 * files.el (hack-local-variables): Fully ignore case for "mode:".
21494 2011-08-20 Alan Mackenzie <acm@muc.de>
21496 Resolve invalid use of a regexp in regexp-opt.
21498 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
21499 detection for a java annotation.
21501 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
21502 detection for a java annotation.
21504 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
21506 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
21508 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
21510 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
21513 2011-08-20 Alan Mackenzie <acm@muc.de>
21515 Fontify CPP expressions correctly when starting in the middle of
21516 such a construct. Mainly for when jit-lock etc. starts a chunk
21519 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
21521 (c-make-font-lock-search-form): New function, extracted from
21522 c-make-font-lock-search-function.
21523 (c-make-font-lock-search-function): Use the above function.
21524 (c-make-font-lock-context-search-function): New function.
21525 (c-cpp-matchers): Enhance the preprocessor expression case with
21527 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
21528 which takes an expression.
21530 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
21532 2011-08-20 Martin Rudalics <rudalics@gmx.at>
21534 * window.el (display-buffer-reuse-window)
21535 (display-buffer-pop-up-window): Don't reuse or split a side
21538 2011-08-19 Glenn Morris <rgm@gnu.org>
21540 * files.el (hack-local-variables-prop-line, hack-local-variables):
21541 Downcase "Mode:". (Bug#9331)
21543 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
21545 * international/characters.el: Add L and R categories.
21547 * subr.el (bidi-string-mark-left-to-right): Rename from
21548 string-mark-left-to-right. Use category search.
21550 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
21552 2011-08-18 Juri Linkov <juri@jurta.org>
21554 * faces.el (error, warning, success): New faces with definitions
21555 copied from old default values of `font-lock-warning-face',
21556 `compilation-warning', `compilation-info' (bug#6117).
21558 * font-lock.el (font-lock-warning-face): Inherit from `error'.
21560 * progmodes/compile.el (compilation-error): Inherit from `error'.
21561 (compilation-warning): Inherit from `warning'.
21562 (compilation-info): Inherit from `success'.
21564 * dired.el (dired-marked): Inherit from `warning'.
21565 (dired-flagged): Inherit from `error'.
21567 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21569 * mail/smtpmail.el (auth-source): Require to avoid problems with
21570 binding variables (bug#9298). Also clean up some unused
21573 * net/network-stream.el (network-stream-open-starttls):
21574 Support using starttls.el without using gnutls-cli.
21576 2011-08-17 Juri Linkov <juri@jurta.org>
21578 * progmodes/grep.el (rgrep): Handle the case when
21579 `grep-find-command' is a cons cell (bug#9278).
21581 2011-08-17 Martin Rudalics <rudalics@gmx.at>
21583 * window.el (display-buffer-pop-up-frame): Run frame creation
21584 function with BUFFER current (as special-display-popup-frame
21585 does). Reported by Drew Adams.
21587 2011-08-17 Daiki Ueno <ueno@unixuser.org>
21589 * epa-mail.el: Simplify GnuPG group expansion using
21591 (epa-mail-group-alist, epa-mail-group-modtime)
21592 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
21593 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
21594 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
21597 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
21599 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
21601 2011-08-16 Alan Mackenzie <acm@muc.de>
21603 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
21604 Correct, to avoid the inside of macros.
21606 2011-08-16 Richard Stallman <rms@gnu.org>
21608 * epa-mail.el: Handle GnuPG group definitions.
21609 (epa-mail-group-alist, epa-mail-group-modtime)
21610 (epa-mail-gnupg-conf-file): New variables.
21611 (epa-mail-parse-groups, epa-mail-sync-groups)
21612 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
21613 (epa-mail-expand-recipients): New functions.
21614 (epa-mail-encrypt): Call epa-mail-expand-recipients.
21616 * mail/rmail.el (rmail-epa-decrypt): New command.
21618 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
21619 Don't bind buffer-read-only, just inhibit-read-only.
21620 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
21621 (epa-decrypt-armor-in-region): Make error message clearer.
21623 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
21625 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
21626 and "a2b" to "ab" for `prefix'.
21628 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
21630 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
21632 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
21633 Fourquet (Bug#8804).
21635 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
21637 * startup.el (argi): Declare as global variable (bug#9275).
21639 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
21641 * subr.el (string-mark-left-to-right): Search the entire string
21642 for RTL script, not just the terminating character. Doc fix.
21644 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
21646 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
21648 (js--regexp-literal, js-syntax-propertize-function): Remove.
21649 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
21650 (js-mode-map): Don't rebind electric keys.
21651 (js-insert-and-indent): Remove.
21652 (js-mode): Setup electric-layout and electric-indent instead.
21654 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
21656 2011-08-12 Daiki Ueno <ueno@unixuser.org>
21658 * epa.el (epa-progress-callback-function): Fix the logic of
21659 displaying progress.
21660 * epa-file.el (epa-file-insert-file-contents): Make progress
21661 display more user-friendly.
21662 (epa-file-write-region): Ditto.
21664 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
21666 * subr.el (string-mark-left-to-right): New function.
21668 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
21669 Use string-mark-left-to-right.
21670 (list-buffers-noselect): Caller changed.
21672 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21673 Use string-mark-left-to-right.
21674 (tabulated-list-print): Recenter after moving point.
21676 2011-08-10 Juri Linkov <juri@jurta.org>
21678 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
21679 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
21680 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
21682 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
21684 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
21687 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
21689 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
21690 character. (Bug#6594)
21692 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
21694 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
21695 (image-dired--with-db-file): New macro.
21696 (image-dired-write-tags, image-dired-remove-tag)
21697 (image-dired-create-gallery-lists, image-dired-write-comments)
21698 (image-dired-get-comment, image-dired-mark-tagged-files)
21699 (image-dired-list-tags, image-dired-gallery-generate): Use it.
21700 (image-dired-gallery-generate): Use insert-file-contents.
21702 * time.el (display-time-world-list, display-time-world-display):
21703 * time-stamp.el (time-stamp-string):
21704 * vc/add-log.el (add-change-log-entry): Use setenv instead of
21705 set-time-zone-rule (Bug#7337).
21707 2011-08-08 Daiki Ueno <ueno@unixuser.org>
21709 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
21710 (epg-error-to-string, epg-errors-to-string): New function.
21711 (epg-wait-for-completion): Reverse errors list.
21712 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
21713 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
21714 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
21715 (epg-sign-keys, epg-generate-key-from-file)
21716 (epg-generate-key-from-string): Format errors by using
21717 epg-errors-to-string (bug#9255).
21718 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
21720 2011-08-07 Juri Linkov <juri@jurta.org>
21722 * faces.el (list-faces-display): Remove extra angle bracket
21723 from `help-mode-map'.
21725 * info.el (Info-history-toc-nodes): Doc fix.
21727 * longlines.el (longlines-mode): Doc fix.
21729 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
21731 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
21732 of statements and in a few more cases (bug#9183).
21734 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
21736 (cl-transform-lambda): Use them (bug#9239).
21738 2011-08-05 Martin Rudalics <rudalics@gmx.at>
21740 * window.el (display-buffer-same-window)
21741 (display-buffer-same-frame, display-buffer-other-window)
21742 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21743 (pop-to-buffer-other-window)
21744 (pop-to-buffer-same-frame-other-window)
21745 (pop-to-buffer-other-frame): Make them defuns.
21746 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
21748 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21750 * subr.el (make-composed-keymap): Move from C. Change calling
21751 convention, and improve docstring to bring attention to a subtle point.
21752 * minibuffer.el (completing-read-default): Adjust accordingly.
21754 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
21756 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
21757 (tramp-open-shell): Use `tramp-shell-quote-argument'.
21759 * net/trampver.el: Update release number.
21761 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21763 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
21766 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21768 * mail/sendmail.el (sendmail-query-once): Restore the current
21769 buffer after querying (bug#9074).
21771 * dired.el (dired-flagged): Use different faces for marked and
21772 flagged files (bug#6117).
21774 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
21777 * ido.el (ido-mode): Switch off the message if called
21780 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
21781 before 587, since it appears that that's more likely to work for
21784 * cus-edit.el (custom-file): When running under emacs -q, always
21785 refuse to save the customizations, even if the .emacs file doesn't
21788 * info.el: Remove the `Info-beginning-of-buffer' function
21791 * net/network-stream.el (network-stream-open-starttls):
21792 Use `starttls-available-p' to see whether starttls.el can be used.
21794 2011-08-01 Martin Rudalics <rudalics@gmx.at>
21796 * window.el (display-buffer-in-window): Don't set dedicated status
21797 of window here (Bug#9215).
21798 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21799 (display-buffer-pop-up-side-window)
21800 (display-buffer-in-side-window): Set dedicated status of window here.
21802 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
21804 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
21805 before binding generated-autoload-file.
21807 2011-08-01 Deniz Dogan <deniz@dogan.se>
21809 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
21811 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
21813 Sync with Tramp 2.2.2.
21815 * net/trampver.el: Update release number.
21817 2011-07-30 Juri Linkov <juri@jurta.org>
21819 * dired-aux.el (dired-touch-initial): Remove function.
21820 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
21821 current time, and `default' to the last modification time of the
21822 current marked file (bug#6887).
21824 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
21826 * simple.el (goto-line): Use string-to-number to provide a
21827 numeric argument to read-number (bug#9163).
21829 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
21831 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
21832 connection process, it could be nil.
21834 2011-07-27 Leo Liu <sdl.web@gmail.com>
21836 Simplify url handling in rcirc-mode.
21838 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
21839 (rcirc-browse-url-at-mouse): Remove.
21840 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
21842 2011-07-26 Alan Mackenzie <acm@muc.de>
21844 Fontify bitfield declarations properly.
21846 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
21847 (c-symbol-chars): Now exported as a lang variable.
21848 (c-not-primitive-type-keywords): New lang variable.
21850 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
21851 QT keyword "more" to prevent "more slots: ...." being spuriously
21852 parsed as a bitfield declaration.
21854 * progmodes/cc-engine.el (c-beginning-of-statement-1):
21855 Refactor and enhance to handle bitfield declarations.
21856 (c-punctuation-in): New function.
21857 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
21858 declarations properly.
21860 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
21862 * calendar/icalendar.el (icalendar--all-events): Take care of
21863 multiple vcalendars in a single file.
21864 (icalendar--convert-float-to-ical): Checkdoc fixes.
21866 2011-07-25 Deniz Dogan <deniz@dogan.se>
21868 * image.el (insert-image): Clarifying docstring.
21870 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
21872 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
21873 `tramp-send-command-and-check' if there is no error.
21874 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
21876 2011-07-22 Alan Mackenzie <acm@muc.de>
21878 Prevent cc-langs.elc being loaded at run time.
21880 * progmodes/cc-mode.el: Remove two autoload forms which loaded
21883 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
21884 "(require 'cc-langs)". Quote a form so it will evaluate at
21885 (cc-mode's) compilation time.
21887 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
21889 * net/tramp.el (tramp-file-name-handler): Avoid recursive
21890 loading. (Bug#9114)
21892 2011-07-21 Martin Rudalics <rudalics@gmx.at>
21894 * window.el (display-buffer-pop-up-window)
21895 (display-buffer-pop-up-side-window)
21896 (display-buffer-in-side-window): Call display-buffer-set-height
21897 and display-buffer-set-width after setting the new window's
21898 buffer so `fit-window-to-buffer' and friends work on the right buffer.
21900 2011-07-20 Sam Steingold <sds@gnu.org>
21902 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
21903 (etags-tags-included-tables): Call `convert-standard-filename' on
21904 the file names contained in TAGS so that windows Emacs can handle
21905 TAGS files created by cygwin ctags.
21907 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
21909 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
21910 which apparently didn't work.
21912 2011-07-19 Roland Winkler <winkler@gnu.org>
21914 * proced.el (proced-send-signal): For *Marked Processes* buffer
21915 put point at beginning of buffer.
21917 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
21919 * proced.el (proced-format): Make header lines align with the text
21922 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21924 * view.el (view-buffer): Allow running in `special' modes if we're
21925 visiting a file (bug#8615).
21927 2011-07-19 Martin Rudalics <rudalics@gmx.at>
21929 * window.el (display-buffer-alist-of-strings-p)
21930 (display-buffer-alist-set-1, display-buffer-alist-set-2):
21932 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
21935 2011-07-18 Alan Mackenzie <acm@muc.de>
21937 Fontify declarators properly when, e.g., a jit-lock chunk begins
21938 inside a declaration.
21940 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
21942 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21944 (c-complex-decl-matchers): Insert reference to
21945 c-font-lock-enclosing-decls.
21947 * progmodes/cc-engine.el (c-backward-single-comment):
21948 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
21949 to nil around calls to (forward-comment -1).
21951 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21953 * image.el (put-image): Doc typo fix.
21955 * progmodes/etags.el (tags-search): Doc typo fix.
21957 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
21958 password if we get errors 550 to 554.
21960 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
21962 * net/gnutls.el (gnutls-log-level): Remove.
21964 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
21965 indentation character (bug#6380).
21967 * files.el (buffer-offer-save): Made permanently local (bug#6241).
21969 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
21970 to clarify what the problem is (bug#4291).
21972 * simple.el (current-kill): Clarify what
21973 `interprogram-paste-function' does (bug#7500).
21974 (auto-fill-mode): Document `auto-fill-function' in relation to
21975 `auto-fill-mode' (bug#2470).
21977 2011-07-16 Lawrence Mitchell <wence@gmx.li>
21979 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
21980 method if slot is read-only (bug#9035).
21982 2011-07-16 Martin Rudalics <rudalics@gmx.at>
21984 * frame.el (select-frame-set-input-focus): New argument NORECORD.
21985 * window.el (pop-to-buffer): Select window used even if it was
21986 selected before, see discussion of (Bug#8615), (Bug#6954).
21987 Pass argument NORECORD on to select-frame-set-input-focus.
21989 2011-07-15 Glenn Morris <rgm@gnu.org>
21991 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
21994 2011-07-09 Lawrence Mitchell <wence@gmx.li>
21996 * net/gnutls.el (gnutls-min-prime-bits): New variable.
21997 (gnutls-negotiate): Use it.
21999 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22001 * net/gnutls.el (gnutls-negotiate):
22002 Upcase `gnutls-algorithm-priority'.
22004 2011-07-15 Glenn Morris <rgm@gnu.org>
22006 * jka-compr.el (jka-compr-verbose): Move from here...
22007 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
22008 Add missing :version tag.
22009 * info.el: No need to require jka-compr when compiling.
22011 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22013 * net/gnutls.el (gnutls-algorithm-priority): New variable.
22014 (gnutls-negotiate): Use it.
22016 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
22018 * info.el (Info-beginning-of-buffer): New command.
22019 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
22020 announcing `b' as the key (bug#8325).
22021 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
22023 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
22025 * international/mule-cmds.el
22026 (describe-specified-language-support): Make the error message
22027 clearer (bug#8905).
22029 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
22031 * isearch.el (isearch-barrier): Add a doc string, since it's
22032 mentioned in a function doc string (bug#8678).
22034 2011-07-15 Martin Rudalics <rudalics@gmx.at>
22036 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
22037 buffer argument (Bug#9083) and self-identifying label argument.
22039 2011-07-15 Glenn Morris <rgm@gnu.org>
22041 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
22043 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22045 * man.el (Man-fontify-manpage): Fix message when formatting the
22046 man page (bug#7929).
22048 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22050 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
22051 argument LRM; if non-nil, append an invisible LRM character to the
22053 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
22054 last argument non-nil, when formatting buffer names.
22055 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
22056 paragraph direction.
22058 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22060 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
22061 the man page name (bug#7929).
22063 * image.el (put-image): Mention the `put-image' overlay property
22066 * scroll-bar.el (set-scroll-bar-mode): Mention that
22067 `scroll-bar-mode' lists the values (bug#7772).
22069 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
22070 command (bug#7729).
22072 * rect.el (apply-on-rectangle): Return the point after the last
22074 (string-rectangle): Go to the point after the last operation
22077 * printing.el (pr-toggle-region): Clarify the documentation
22078 slightly (bug#7493).
22080 * time.el (display-time-update):
22081 Allow `display-time-mail-function' to return nil (bug#7158).
22082 Fix suggested by Detlev Zundel.
22084 * vc/diff.el (diff): Clarify the order the file names are read
22087 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
22088 the doc string (bug#7015).
22090 * font-lock.el (font-lock-maximum-decoration): Mention what
22091 numeric levels mean (bug#6935).
22093 * startup.el (initial-buffer-choice): Don't mention the `none'
22094 selection, which is against policy.
22096 2011-07-14 Martin Rudalics <rudalics@gmx.at>
22098 * window.el (display-buffer-normalize-special):
22099 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
22101 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22103 * subr.el (version<, version<=, version=): Mention "-CVS" and
22104 "-12345" alpha version numbers.
22106 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22108 * bindings.el: Add advertised binding for set-mark-command
22111 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22113 * bindings.el (mode-line-other-buffer):
22114 * bookmark.el (bookmark-bmenu-2-window):
22115 * bs.el (bs-cycle-next, bs-cycle-previous):
22116 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
22119 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22122 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
22124 * follow.el (follow-debug-message, follow-redisplay):
22125 * jka-cmpr-hook.el (with-auto-compression-mode):
22126 Fix typos in docstrings.
22128 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22130 * subr.el (with-silent-modifications): Clarify somewhat what the
22131 macro inhibits (bug#6525).
22133 * simple.el (eval-expression): Note what it does if called
22134 interactively (bug#6495).
22136 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22138 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
22139 Use pop-to-buffer buffer-or-name if it is nil.
22141 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22142 Remove switch-to-buffer.
22144 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22146 * files.el (make-directory): Clarify that an error will be raised
22147 if there's an error (bug#6397).
22149 * startup.el (initial-buffer-choice): Add `none' as a choice
22152 * subr.el (add-hook): Clarify section about buffer-local hooks
22155 * dired.el (dired-flagged): Clarify doc string (bug#6117).
22157 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22159 * tabify.el (untabify): Preserve the current column so that point
22160 doesn't move (bug#6032).
22162 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22164 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
22165 Rewrite to avoid awkward possessive "s" (bug#5986).
22167 2011-07-13 Glenn Morris <rgm@gnu.org>
22169 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
22170 (dired-insert-directory): Give a message the first time
22171 if ls is found not to support --dired.
22173 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22175 * simple.el (toggle-truncate-lines): Clarify what is toggled
22176 (bug#5580). Text by Drew Adams.
22178 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22180 * simple.el (blink-matching-open): Make the error message from the
22181 last change less verbose.
22183 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
22185 * font-lock.el (font-lock-comment-face): Use the high contrast
22186 "yellow" color for font-lock-comment-face on low color terminals
22187 using a dark background color (bug#4221).
22189 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22191 * dired.el (dired-insert-set-properties): Make the doc string
22192 reflect what it does now (bug#5325).
22194 * simple.el (blink-matching-open): Say that we were unable to find
22195 the match within the limit, if we're limited (bug#5122).
22197 * international/mule-cmds.el (prefer-coding-system): Add an
22198 example (bug#4869).
22200 * progmodes/etags.el (tags-search): Document `file-list-form'
22203 2011-07-13 Lawrence Mitchell <wence@gmx.li>
22205 * net/browse-url.el (browse-url-default-browser)
22206 (browse-url-browser-function): Make the default browser choice a
22207 bit more logical (bug#4300). Also clean up the doc string.
22209 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22211 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
22212 binary endings (bug#4440).
22214 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22216 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
22217 which can be pretty annoying (bug#8971).
22219 * jka-compr.el (jka-compr-verbose): New variable, and use
22220 throughout (bug#8971).
22222 * info.el (Info-find-file): Fall back on the installation
22223 directory if we can't find the info node anywhere else.
22225 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
22227 * vc/vc.el (vc-revert-file):
22228 Don't set file time-stamp in the past. (Bug#5181)
22230 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22232 * files.el (after-find-file): Give a better error message when
22233 trying to find a symlink that points to a file that doesn't exist
22236 * progmodes/cc-vars.el: Remove (probably) misleading comment
22239 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
22241 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
22243 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22245 * mouse-sel.el: Hack restoring functionality, while keeping
22246 compatibility with 2010-07-03 changes to mouse selection.
22247 (mouse-sel-primary-overlay): New var.
22248 (mouse-sel-selection-alist): Use it.
22249 (mouse-sel-mode): Doc fix; remove points that are default features
22252 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
22254 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22255 Fix previous fix (bug#2490).
22257 2011-07-12 Roland Winkler <winkler@gnu.org>
22259 * textmodes/bibtex.el (bibtex-initialize):
22260 Use pop-to-buffer-same-window.
22261 (bibtex-search-entries): Fix interactive call.
22263 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22265 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22266 Fontise bytecomp Error lines more correctly (bug#2490).
22267 Fix suggested by Johan BockgĂ¥rd.
22269 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
22271 * dired-x.el (dired-guess-default): Use `delete-dups'.
22273 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22275 * dired.el (dired-mark-prompt):
22276 * dired-aux.el (dired-read-shell-command): Doc fix.
22278 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22280 * mail/sendmail.el (sendmail-query-once):
22281 Use `customize-save-variable' unconditionally, now that it works under
22284 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22286 * cus-edit.el (custom-file): Take an optional no-error variable.
22287 (customize-save-variable): Set the variable, and give a warning if
22288 running under "emacs -q".
22290 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
22292 * loadhist.el (unload-feature-special-hooks):
22293 Add `auto-coding-functions', `fill-nobreak-predicate' and
22294 `find-directory-functions' (bug#5327).
22296 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22298 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
22300 * cus-edit.el (custom-guess-name-alist): -alist variables should
22301 use the `alist' type (bug#3120). Suggested by Drew Adams.
22303 * printing.el: Add documentation to all the `pr-toggle-' commands.
22305 2011-07-11 Leo Liu <sdl.web@gmail.com>
22307 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
22308 backends where it makes sense (bug#2623).
22310 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22312 * dired-x.el (dired-guess-default): Remove duplicate shell command
22313 entries (bug#2028).
22314 (dired-guess-default): Fix grammar in doc string (bug#2028).
22315 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
22317 * subr.el (remove-duplicates): New conveniency function.
22319 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
22321 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
22324 2011-07-10 Martin Rudalics <rudalics@gmx.at>
22326 * window.el (display-buffer-normalize-default): Don't invert
22327 meaning of even-window-heights. Reported by Eli Zaretskii
22330 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
22332 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
22334 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
22336 * window.el (display-buffer): Fix arguments to
22337 display-buffer-reuse-window in last change.
22339 * faces.el (link): Use a less saturated blue on light backgrounds.
22341 * startup.el (fancy-startup-text, fancy-about-text)
22342 (fancy-startup-tail): Use font-lock faces, for background safety.
22344 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
22346 * emulation/viper-cmd.el (viper-change-state-to-vi):
22347 Limit triggering of abbrev expansion (Bug#9038).
22349 2011-07-09 Martin Rudalics <rudalics@gmx.at>
22351 * window.el (display-buffer-default-specifiers): Remove.
22352 (display-buffer-macro-specifiers): Remove default specifiers.
22353 (display-buffer-alist): Default to nil.
22354 (display-buffer-reuse-window): New optional argument other-window.
22355 (display-buffer-pop-up-window): Allow splitting internal
22356 windows. Check whether a live window was created.
22357 (display-buffer-other-window-means-other-frame)
22358 (display-buffer-normalize-arguments): Rename to
22359 display-buffer-normalize-argument and rewrite. Set the
22360 other-window specifier.
22361 (display-buffer-normalize-special): New function.
22362 (display-buffer-normalize-options): Rename to
22363 display-buffer-normalize-default and rewrite.
22364 (display-buffer-normalize-options-inhibit): Remove.
22365 (display-buffer-normalize-specifiers): Rewrite.
22366 (display-buffer): Process other-window specifier and call
22367 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
22369 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
22370 (display-buffer-alist-set): Don't handle 'unset default values.
22371 (display-buffer-in-window, display-buffer-alist-set):
22372 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
22373 <tassilo@member.fsf.org>.
22375 2011-07-09 Leo Liu <sdl.web@gmail.com>
22377 * register.el (insert-register): Restore accidental change on
22378 2011-06-26. (Bug#9028)
22380 2011-07-09 Glenn Morris <rgm@gnu.org>
22382 * subr.el (remq): Handle the empty list. (Bug#9024)
22384 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
22386 * mail/sendmail.el (send-mail-function): No longer delay custom
22388 * custom.el (custom-initialize-delay): Doc fix.
22390 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22392 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
22394 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
22396 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
22397 human-friendly prompt.
22399 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22401 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
22402 provided by a particular plugin.
22404 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
22406 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
22407 save customizations (with "emacs -Q"), just set the variable
22408 instead of erroring out.
22410 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22412 2011-07-08 Juri Linkov <juri@jurta.org>
22414 * arc-mode.el (archive-zip-expunge, archive-zip-update)
22415 (archive-zip-update-case): Use 7z if found by `executable-find'.
22416 The order of searching the available programs is the same as in
22417 `archive-zip-extract' (bug#8968).
22419 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22421 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
22422 (menu-bar-options-menu): Tweak descriptions.
22424 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22426 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
22427 menu items into verb phrases (bug#1421). Also refill to fit under
22430 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22432 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
22433 (Info-read-node-name): Doc fix (Bug#1084).
22435 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
22436 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
22437 (end-of-sexp, beginning-of-sexp)
22438 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
22439 (forward-symbol, forward-same-syntax, word-at-point)
22440 (sentence-at-point): Doc fix (Bug#1144).
22442 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22444 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
22445 should cover it (bug#1281).
22447 * cus-edit.el (custom-show): Mark as obsolete.
22449 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
22450 negotiation fails, then possibly try again with a non-encrypted
22451 connection (bug#9017).
22453 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
22456 2011-07-07 Richard Stallman <rms@gnu.org>
22458 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
22459 property, and handle its changed format.
22460 Look for the correct line number.
22461 Use file's line contents (but not past first =) to find
22462 correct line in message.
22464 2011-07-07 Kenichi Handa <handa@m17n.org>
22466 * international/characters.el (build-unicode-category-table):
22468 (unicode-category-table): Set it by unicode-property-table-internal.
22470 * international/mule-cmds.el (char-code-property-alist): Move to
22472 (get-char-code-property): Call unicode-property-table-internal to
22473 load a file. Call get-unicode-property-internal where necessary.
22474 (put-char-code-property): Call unicode-property-table-internal to
22475 load a file. Call put-unicode-property-internal where necessary.
22476 put-unicode-property-internal where necessary.
22477 (char-code-property-description):
22478 Call unicode-property-table-internal to load a file.
22480 * international/charprop.el:
22481 * international/uni-bidi.el:
22482 * international/uni-category.el:
22483 * international/uni-combining.el:
22484 * international/uni-comment.el:
22485 * international/uni-decimal.el:
22486 * international/uni-decomposition.el:
22487 * international/uni-digit.el:
22488 * international/uni-lowercase.el:
22489 * international/uni-mirrored.el:
22490 * international/uni-name.el:
22491 * international/uni-numeric.el:
22492 * international/uni-old-name.el:
22493 * international/uni-titlecase.el:
22494 * international/uni-uppercase.el: Regenerate.
22496 * loadup.el: Load international/charprop.el before
22497 international/characters.
22499 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22501 * window.el (next-buffer, previous-buffer): Signal an error if
22502 called from a minibuffer window.
22504 * bindings.el: Revert 2011-07-04 change.
22506 2011-07-06 Richard Stallman <rms@gnu.org>
22508 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
22509 (rmail-mime-insert-bulk, rmail-mime-insert-text):
22510 Treat markers like ints.
22511 (rmail-mime-entity): Doc fix.
22513 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22515 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
22516 defcustom again for backwards compatibility.
22518 * simple.el (shell-command-on-region): Fill.
22520 * dired-aux.el (dired-kill-line): Add a doc string.
22522 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
22523 to "\\sw\\|\\s_" (bug#358).
22525 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
22526 (dired-unmark-backward): Ditto.
22527 (dired-flag-backup-files): Ditto.
22529 * dired-x.el (dired-mark-sexp): Ditto.
22531 2011-07-06 Richard Stallman <rms@gnu.org>
22533 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
22534 (rmail-mime-entity): New arg TRUNCATED.
22535 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
22537 (rmail-mime-save): Warn if entity is truncated.
22538 (rmail-mime-toggle-hidden): Likewise, for showing.
22539 (rmail-mime-process-multipart): Record when an entity is truncated.
22541 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
22542 if ENTITY is a string.
22544 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22546 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
22547 of faces when `M-C-x'-ing their definitions (bug#8378).
22548 Also clean up the code slightly.
22550 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
22551 because that makes the colors go away.
22553 * mail/sendmail.el (send-mail-function): Change the default to
22554 `sendmail-query-once'.
22555 (sendmail-query-once): Add an autoload cookie.
22557 * net/network-stream.el (network-stream-open-starttls): Try using
22558 a plain connection even if the server offered STARTTLS, and we
22559 kinda wanted to use it, if Emacs doesn't have any STARTTLS
22560 capability. This should make smtpmail.el work in slightly more
22563 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
22565 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22567 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
22569 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
22571 * progmodes/sql.el: Version 3.0
22572 (sql-product-alist): Add product :completion-object,
22573 :completion-column, and :statement attributes.
22574 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
22575 (sql-mode-syntax-table): Mark all punctuation.
22576 (sql-font-lock-keywords-builder): Temporarily remove fallback on
22578 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
22579 (sql-mode-oracle-font-lock-keywords): Improve.
22580 (sql-oracle-show-reserved-words): New function for development.
22581 (sql-product-font-lock): Simplify for source code buffers.
22582 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
22584 (sql-highlight-product): Set product specific syntax table.
22585 (sql-mode-map): Add statement movement functions.
22586 (sql-ansi-statement-starters, sql-oracle-statement-starters):
22588 (sql-statement-regexp, sql-beginning-of-statement)
22589 (sql-end-of-statement, sql-signum): New functions.
22590 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
22591 (sql-show-sqli-buffer): Bug fix.
22592 (sql-interactive-mode): Store connection data as buffer local.
22593 (sql-connect): Add NEW-NAME parameter. Redesign interaction
22594 with sql-interactive-mode.
22595 (sql-save-connection): Save buffer local settings.
22596 (sql-connection-menu-filter): Change menu entry name.
22597 (sql-product-interactive): Bug fix.
22598 (sql-preoutput-hold): New variable.
22599 (sql-interactive-remove-continuation-prompt): Bug fixes.
22600 (sql-debug-redirect): New variable.
22601 (sql-str-literal): New function.
22602 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
22604 (sql-oracle-save-settings, sql-oracle-restore-settings)
22605 (sql-oracle-list-all, sql-oracle-list-table): New functions.
22606 (sql-completion-object, sql-completion-column)
22607 (sql-completion-sqlbuf): New variables.
22608 (sql-build-completions-1, sql-build-completions)
22609 (sql-try-completion): New functions.
22610 (sql-read-table-name): Use them.
22611 (sql-contains-names): New buffer local variable.
22612 (sql-list-all, sql-list-table): Use it.
22613 (sql-oracle-completion-types): New variable.
22614 (sql-oracle-completion-object, sql-sqlite-completion-object)
22615 (sql-postgres-completion-object): New functions.
22617 2011-07-06 Glenn Morris <rgm@gnu.org>
22619 * window.el (pop-to-buffer): Doc fix.
22621 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
22623 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
22625 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
22627 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
22629 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
22631 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
22633 * button.el (button): Inherit from link face. Suggested by Dan
22636 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22638 * progmodes/gdb-mi.el: Fit in 80 columns.
22639 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
22642 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
22643 if imenu is simply not configured (bug#8941).
22645 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
22647 * allout.el (allout-post-undo-hook): New allout outline-change
22648 event hook to signal undo activity.
22649 (allout-post-command-business): Run allout-post-undo-hook if an
22650 undo just occurred.
22651 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
22652 * allout-widgets.el (allout-widgets-after-undo-function):
22653 Ensure the integrity of the current item's decoration after it has been
22654 in the vicinity of an undo.
22655 (allout-widgets-mode): Include allout-widgets-after-undo-function
22656 on the new allout-post-undo-hook.
22658 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22660 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
22661 Let define-derived-mode define it.
22662 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
22663 cycles of abbrev-table inheritance (bug#8998).
22665 2011-07-05 Roland Winkler <winkler@gnu.org>
22667 * textmodes/bibtex.el: Add support for biblatex.
22668 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
22669 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
22670 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
22671 (bibtex-entry-alist, bibtex-field-alist): New variables.
22672 (bibtex-entry-field-alist): Obsolete alias for
22673 bibtex-BibTeX-entry-alist.
22674 (bibtex-entry-alist, bibtex-field-alist): New widgets.
22675 (bibtex-set-dialect): New command.
22676 (bibtex-entry-type, bibtex-entry-head)
22677 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
22678 Bind via bibtex-set-dialect.
22679 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
22680 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
22681 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
22682 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
22683 Define via bibtex-set-dialect.
22684 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
22685 Obey bibtex-no-opt-remove-re.
22686 (bibtex-vec-push, bibtex-vec-incr): New functions.
22687 (bibtex-format-entry, bibtex-field-list)
22688 (bibtex-print-help-message, bibtex-validate)
22689 (bibtex-search-entries): Use new format of bibtex-entry-alist.
22691 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22693 * progmodes/compile.el (compilation-goto-locus):
22694 * net/tramp-cmds.el (tramp-append-tramp-buffers):
22695 * bs.el (bs-cycle-next, bs-cycle-previous):
22696 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
22697 * bindings.el (mode-line-other-buffer):
22698 * autoinsert.el (auto-insert):
22699 * arc-mode.el (archive-extract):
22700 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
22702 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22704 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
22705 Fix check of `emacs-lock-unlockable-modes'.
22706 Coerce true values of `emacs-lock--try-unlocking' to t.
22708 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22710 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
22711 * emacs-lock.el: New file.
22713 2011-07-05 Julien Danjou <julien@danjou.info>
22715 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
22716 than `boundp' to check if face is set.
22718 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22720 * register.el (registerv-make):
22721 * window.el (window-min-height): Fix typos in docstrings.
22723 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
22725 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
22728 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22730 * server.el (server-execute): Catch quit and call
22731 `server-return-error' to pass the error back to emacsclient and
22732 close the connection (bug#8942).
22734 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
22736 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
22737 insecure exception for current topic. Also note that auto-saves
22738 are handled differently.
22740 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
22741 State variables for tracking auto-save inhibition situation.
22743 (allout-write-contents-hook-handler): Rename from
22744 'allout-write-file-hook-handler', and describe how it depends on
22745 write-contents-functions sensitivity to non-nil value to prevent
22748 (allout-auto-save-hook-handler): Remove. auto-save does not check
22749 this in individual buffers, only in the starting buffer, so this
22750 is not the right way for us to inhibit auto-save in a buffer
22751 according to its condition.
22753 (allout-mode): Use new allout-write-contents-hook-handler, and
22754 only with write-contents-functions. Remove auto-save provisions -
22755 they're implemented elsewhere.
22757 (allout-before-change-handler): If undo is in progress, note that
22758 for attention of allout-post-command-business.
22760 (allout-post-command-business): If the command we're following was
22761 an undo, check for change in the status of encrypted items and
22762 adjust auto-save inhibitions accordingly.
22764 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
22765 according to whether there are or aren't any plain-text topics
22766 pending encryption.
22768 (allout-inhibit-auto-save-info-for-decryption):
22769 Adjust buffer-saved-size and some allout state to inhibit auto-saves
22770 if there are plain-text topics pending encryption.
22772 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
22773 buffer-saved-size and some allout state to not inhibit auto-saves
22774 if there are no longer any plain-text topics pending encryption.
22776 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
22777 No longer provide for exemption of the current topic.
22779 2011-07-04 Juri Linkov <juri@jurta.org>
22781 Add 7z operations to delete and save changed members (bug#8968).
22782 * arc-mode.el (archive-7z-expunge, archive-7z-update):
22784 (archive-7z-write-file-member): New function.
22785 (archive-7z-summarize): Fix the number of dashes in the
22788 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22790 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
22793 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
22795 * bindings.el: Ignore next-buffer and previous-buffer in
22796 minibuffer-local-map.
22798 * font-lock.el (font-lock-builtin-face): Change light background
22799 color to dark slate blue (Bug#6693).
22801 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
22803 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
22805 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22807 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
22808 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22809 Add switch-to-buffer.
22811 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22813 * isearch.el (isearch-search-fun-function): Clarify further the
22814 meaning of the function returned.
22816 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
22818 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
22820 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
22821 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
22823 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
22824 `tramp-default-remote-path' does not exist.
22825 (tramp-send-command-and-read): New optional argument NOERROR.
22826 (tramp-open-connection-setup-interactive-shell)
22827 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
22828 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
22829 (tramp-process-sentinel): Flush also process' connection property.
22830 (tramp-sh-handle-start-file-process): Do not set process
22831 sentinel. It is done now ...
22832 (tramp-maybe-open-connection): ... here. (Bug#8929)
22834 2011-07-04 MON KEY <monkey@sandpframing.com>
22836 * play/animate.el (animate-string): Doc fixes and allow changing
22837 the buffer name (bug#5417).
22839 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22841 * play/animate.el (animation-buffer-name): Rename from *animate*.
22843 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
22845 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
22846 This is simpler and helps future-proof the code.
22847 (timer-until): Use time-subtract and float-time.
22848 (timer--time-less-p): Use time-less-p.
22850 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22852 * type-break.el (timep): Use the value of `float-time' to avoid a
22853 byte-compiler warning.
22855 * server.el (server-eval-and-print): Return any result, even nil.
22857 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
22859 * type-break.el: Accept time formats that the builtins accept.
22860 (timep, type-break-time-difference): Accept any format that
22861 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
22862 This is simpler and helps future-proof the code.
22863 (type-break-time-difference): Round rather than ignoring
22864 subseconds components.
22866 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22868 * info.el (Info-apropos-matches): Make non-interactive, since it
22869 doesn't seem to do anything useful as a command (bug#8829).
22871 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
22873 * frame.el (frame-background-mode, frame-set-background-mode):
22874 Move from faces.el.
22875 (frame-default-terminal-background): New function.
22877 * custom.el (custom-push-theme): Don't record faces in `changed'
22878 theme; this doesn't work correctly for per-frame face settings.
22879 (disable-theme): Use face-set-after-frame-default to reset faces.
22880 (custom--frame-color-default): New function.
22882 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22884 * dired.el (dired-flagging-regexp): Remove unused variable
22887 2011-03-29 Kevin Ryde <user42@zip.com.au>
22889 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22890 `perl-Test2' extend to match possible "fail #N" rep count
22893 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22895 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
22896 `smtpmail-via-smtp' now returns the error instead of nil.
22898 * isearch.el (isearch-search-fun-function): Clarify the doc string
22901 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
22903 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
22904 unnecessary spaces (bug#8987).
22906 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22908 * net/network-stream.el (open-network-stream): Use the
22909 :end-of-capability command thoughout.
22911 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
22913 * net/network-stream.el (open-network-stream): Add the
22914 :end-of-capability command parameter, used by pop3.el.
22916 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22918 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
22920 * fringe.el (fringe-query-style): Remove redundant text " (type ?
22921 for list)" (bug#6475).
22923 * files.el (file-expand-wildcards): Ignore non-readable
22924 sub-directories while trying to find matches instead of signaling
22925 an error (bug#6297).
22927 * man.el (Man-reference-regexp): Allow matching possible
22928 word-wrapped references (bug#6289).
22930 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
22931 for consistency with the other vc buffers (bug#6197).
22932 (vc-checkin): Ditto.
22934 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
22936 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
22938 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22940 * custom.el (defcustom): Clarify that :set is only used in the
22941 Customize user interface (bug#6089).
22943 * progmodes/flymake.el (flymake-mode): If the buffer isn't
22944 associated with a file, refuse to run instead of erroring out
22947 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
22948 the doc string, since it appears that using `fill-column' always
22949 controls the width (bug#7845).
22951 * simple.el (shell-command-on-region): Say where the error output
22952 went if `shell-command-default-error-buffer' is set (bug#6857).
22954 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
22956 * allout.el (allout-yank-processing): Adjust cursor position for
22957 backwards-deleted space.
22959 (allout-rebullet-heading): Register changes with
22960 allout-exposure-changed-hook, so the modified topic is properly
22963 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22965 * minibuffer.el (completion-in-region): Document PREDICATE
22968 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
22969 of keyword/argument pairs (bug#6904).
22971 * replace.el (multi-occur):
22972 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
22974 2011-07-02 Drew Adams <drew.adams@oracle.com>
22976 * dired.el (dired-mark-if): Make the message about whether it's
22977 marking or unmarking clearer (bug#8523).
22979 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22981 * disp-table.el (display-table-print-array): New function.
22982 (describe-display-table): Use it to print the vectors more pretty
22985 2011-07-02 Martin Rudalics <rudalics@gmx.at>
22987 * window.el (window-state-get-1): Don't assign clone numbers.
22988 Add clone-of item to list of window parameters.
22989 (window-state-put-2): Don't process clone numbers.
22990 (display-buffer-alist): Fix doc-string.
22992 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
22994 * subr.el (remq): Don't allocate if it's not needed.
22995 (keymap--menu-item-binding, keymap--menu-item-with-binding)
22996 (keymap--merge-bindings): New functions.
22997 (keymap-canonicalize): Use them to refine the canonicalization.
22998 * minibuffer.el (minibuffer-local-completion-map)
22999 (minibuffer-local-must-match-map): Move initialization from C.
23000 (minibuffer-local-filename-completion-map): Move initialization from C;
23001 don't inherit from anything here.
23002 (minibuffer-local-filename-must-match-map): Make obsolete.
23003 (completing-read-default): Use make-composed-keymap to combine
23004 minibuffer-local-filename-completion-map with either
23005 minibuffer-local-must-match-map or
23006 minibuffer-local-filename-completion-map.
23008 2011-07-01 Glenn Morris <rgm@gnu.org>
23010 * type-break.el (type-break-time-sum): Use dolist.
23012 * textmodes/flyspell.el (flyspell-word-search-backward):
23013 Replace CL function.
23015 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23017 * mouse.el (mouse--strip-first-event): New function.
23018 (function-key-map): Use it to map fringe clicks to normal clicks
23021 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
23022 (vc-bzr-revision-completion-table): Add support for annotate and date.
23024 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
23025 inherit from parent.
23027 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23029 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
23030 (dired-show-file-type): Doc fixup (bug#8818).
23032 * dired.el (dired-mode): Fix up the doc string as suggested by
23033 Drew Adams (bug#8817).
23035 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
23036 cookie, since the manual says that it should be possible to add
23037 this function to `find-file-hook' (bug#8709).
23039 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23041 * progmodes/cfengine.el: Moved all cfengine3.el functionality
23042 here. Noted Ted Zlatanov as the maintainer.
23043 (cfengine-common-settings, cfengine-common-syntax): New functions
23044 to set up common things between `cfengine-mode' and
23046 (cfengine3-mode): New mode.
23047 (cfengine3-defuns cfengine3-defuns-regex
23048 (cfengine3-class-selector-regex cfengine3-category-regex)
23049 (cfengine3-vartypes cfengine3-font-lock-keywords)
23050 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
23051 (cfengine3-indent-line): Add from cfengine3.el.
23053 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
23055 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
23057 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
23059 2011-07-01 Martin Rudalics <rudalics@gmx.at>
23061 * window.el (same-window-buffer-names, same-window-regexps)
23062 (same-window-p, special-display-frame-alist)
23063 (special-display-popup-frame, special-display-function)
23064 (special-display-buffer-names, special-display-regexps)
23065 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
23066 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23067 (split-window-preferred-function, split-height-threshold)
23068 (split-width-threshold, even-window-heights)
23069 (display-buffer-mark-dedicated, window-splittable-p)
23070 (split-window-sensibly, window-safely-shrinkable-p):
23072 (display-buffer): Don't spread args with function specifier
23073 because special-display-popup-frame won't like it.
23075 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
23077 Time-stamp simplifications and fixes.
23078 These improve accuracy slightly, and future-proof the code
23079 against some potential changes to current-time format.
23081 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
23082 by using time-since and float-time.
23084 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
23085 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
23086 + NNN microseconds".
23088 * type-break.el (type-break-time-sum): Rewrite using time-add.
23090 * play/hanoi.el (hanoi-current-time-float): Remove.
23091 All uses replaced by float-time.
23093 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
23094 This yields a more-accurate answer.
23095 (rng-time-to-float): Remove; no longer needed.
23097 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
23099 * calendar/timeclock.el (timeclock-seconds-to-time):
23100 Defalias to seconds-to-time, since they're the same thing.
23102 * emacs-lisp/elp.el (elp-elapsed-time):
23103 * emacs-lisp/benchmark.el (benchmark-elapse):
23104 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
23106 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23108 * window.el (bury-buffer): Don't iconify the only frame.
23109 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
23110 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
23112 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
23114 * eshell/em-smart.el (eshell-smart-display-navigate-list):
23115 Add mouse-yank-primary.
23117 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23119 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
23121 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23123 * emacs-lisp/find-func.el (find-library--load-name): New fun.
23124 (find-library-name): Use it to find relative load names when provided
23125 absolute file name (bug#8803).
23127 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23129 * textmodes/flyspell.el (flyspell-word): Consider words that
23130 differ only in case as potential doublons (bug#5687).
23132 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
23133 Remove two rather uninteresting debugging-like messages to make
23134 debbugs.el more silent.
23136 * comint.el (comint-password-prompt-regexp): Accept "Response" as
23137 a password-like phrase.
23139 2011-06-30 Masatake YAMATO <yamato@redhat.com>
23141 * progmodes/cc-guess.el: New file.
23143 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
23145 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
23146 derived from `c-basic-common-init'.
23148 * progmodes/cc-mode.el (top-level): Require cc-guess.
23149 (c-basic-common-init): Use `cc-choose-style-for-mode'.
23151 2011-06-30 Lawrence Mitchell <wence@gmx.li>
23153 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
23155 2011-06-30 Alan Mackenzie <acm@muc.de>
23157 * progmodes/cc-engine.el (c-guess-continued-construct):
23158 Correct the handling of template-args-cont, particularly for when font
23159 lock is disabled. Name this case as "CASE G".
23161 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
23163 * allout.el (allout-yank-processing): Fix injection of extra space
23164 between bullet and non-whitespace character in first topic when
23165 pasting, ensuring that the actual spacing in the pasted topic
23166 following the bullet char is preserved. This extra space was
23167 causing pasted encrypted topics to get a decrypted status even
23168 when the content was actually still encrypted. Now the decryption
23169 status from before the paste is preserved.
23171 (allout-flag-region): Set all allout overlays so they evaporate
23172 when reduced to zero length (evanescent), to prevent overlay
23175 2011-06-30 Glenn Morris <rgm@gnu.org>
23177 * w32-fns.el (w32-charset-info-alist): Declare.
23179 * find-dired.el (find-grep-options): Simplify.
23181 * term/ns-win.el (ns-set-resource): Declare.
23183 * ses.el (row, col): Declare dynamic variables honestly.
23185 * textmodes/reftex-parse.el (index-tags): Declare.
23187 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
23189 * cus-edit.el (customize-push-and-save): New function.
23191 * files.el (hack-local-variables-confirm): Use it.
23193 * custom.el (load-theme): New arg NO-CONFIRM.
23194 Use customize-push-and-save (Bug#8720).
23195 (custom-enabled-themes): Doc fix.
23197 * cus-theme.el (customize-create-theme)
23198 (custom-theme-merge-theme): Callers to load-theme changed.
23200 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23202 * thingatpt.el (thing-at-point-short-url-regexp): Require that
23203 short URLs have at least one dot in them (bug #7614).
23205 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
23206 nil, because using a pty is apparently too slow (bug #895).
23208 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
23210 * mail/sendmail.el (sendmail-query-once): New function.
23211 (sendmail-query-once-function): New variable.
23213 2011-06-29 Glenn Morris <rgm@gnu.org>
23215 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
23217 * ses.el (top-level): Require cl when compiling.
23218 (ses-set-localvars): Fix error statement.
23219 Call it at compile time to silence a storm of warnings.
23221 2011-06-29 Martin Rudalics <rudalics@gmx.at>
23223 * window.el (normalize-live-buffer): Rename to
23224 window-normalize-buffer.
23225 (normalize-live-frame): Rename to window-normalize-frame.
23226 (normalize-any-window): Rename to window-normalize-any-window.
23227 (normalize-live-window): Rename to window-normalize-live-window.
23228 (make-window-atom): Rename to window-make-atom.
23229 (window-resize-reset): Rename to window--resize-reset.
23230 (window-resize-reset-1): Rename to window--resize-reset-1.
23231 (resize-mini-window): Rename to window--resize-mini-window.
23232 (resize-subwindows-skip-p): Rename to
23233 window--resize-subwindows-skip-p.
23234 (resize-subwindows-normal): Rename to
23235 window--resize-subwindows-normal.
23236 (resize-subwindows): Rename to window--resize-subwindows.
23237 (resize-other-windows): Rename to window--resize-siblings.
23238 (resize-this-window): Rename to window--resize-this-window.
23239 (resize-root-window): Rename to window--resize-root-window.
23240 (resize-root-window-vertically): Rename to
23241 window--resize-root-window-vertically.
23242 (normalize-buffer-to-display): Rename to
23243 window-normalize-buffer-to-display.
23244 (normalize-buffer-to-switch-to): Rename to
23245 window-normalize-buffer-to-switch-to.
23246 Correspondingly update all callers of the functions listed
23248 (display-buffer-alist, display-buffer-normalize-arguments)
23249 (display-buffer-normalize-options, display-buffer)
23250 (display-buffer-alist-set): Use "function" instead of
23253 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
23255 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
23256 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
23257 debbugs.gnu.org. Mention acknowledgment email.
23259 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
23261 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
23262 buffer multibyteness, since it shouldn't matter.
23264 2011-06-28 Martin Rudalics <rudalics@gmx.at>
23266 * window.el (display-buffer-in-side-window): Handle dedicated
23267 windows as in display-buffer-reuse-window.
23268 (display-buffer-normalize-alist): Use value of override
23270 (display-buffer-normalize-specifiers): Use value of
23271 other-window-means-other-frame specifier.
23272 (display-buffer-alist): Rewrite some texts in widgets.
23273 (display-buffer): Spread arguments when calling function
23274 specified by fun-with-args.
23276 2011-06-28 Deniz Dogan <deniz@dogan.se>
23278 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
23281 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
23282 selectors (Bug#5732).
23283 (css-proprietary-nmstart-re): Use `regexp-opt'.
23285 2011-06-27 Jari Aalto <jari.aalto@cante.net>
23287 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
23288 (eshell-ls-date-format): New defcustom.
23289 (eshell-ls-file): Use it.
23291 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23293 * help-fns.el (describe-variable): Fix message for terminal-local vars.
23295 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
23297 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
23298 (ange-ftp-make-tmp-name): New arg.
23299 (ange-ftp-file-local-copy): Use it.
23301 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
23303 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
23304 no-conversion (Bug#8870).
23306 2011-06-27 Martin Rudalics <rudalics@gmx.at>
23308 * window.el (window-right, window-left, window-child)
23309 (window-child-count, window-last-child)
23310 (window-iso-combination-p, walk-window-tree-1)
23311 (window-atom-check-1, window-tree-1, delete-window)
23312 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
23313 new naming conventions - window-vchild, window-hchild,
23314 window-next and window-prev are now called window-top-child,
23315 window-left-child, window-next-sibling and window-prev-sibling
23317 (resize-window-reset): Rename to window-resize-reset.
23318 (resize-window-reset-1): Rename to window-resize-reset-1.
23319 (resize-window): Rename to window-resize.
23320 (window-min-height, window-min-width)
23321 (resize-mini-window, resize-this-window, resize-root-window)
23322 (resize-root-window-vertically, adjust-window-trailing-edge)
23323 (enlarge-window, shrink-window, maximize-window)
23324 (minimize-window, delete-window, quit-restore-window)
23325 (split-window, balance-windows, balance-windows-area-adjust)
23326 (balance-windows-area, window-state-put-2)
23327 (display-buffer-even-window-sizes, display-buffer-set-height)
23328 (display-buffer-set-width, set-window-text-height)
23329 (fit-window-to-buffer): Rename all "resize-window" prefixed
23330 calls to use the "window-resize" prefix convention.
23331 (display-buffer-alist): Fix symbol for label specifier.
23332 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
23333 corresponding specifier.
23334 Reported by Juanma Barranquero <lekktu@gmail.com>.
23336 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23338 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
23340 (ses-call-printer): Does not pass an empty string to formatter when the
23341 cell is empty to keep from barking printer Calc math-format-value.
23343 2011-06-27 Richard Stallman <rms@gnu.org>
23345 * battery.el (battery-mode-line-limit): New variable.
23346 (battery-update): Handle it.
23348 * mail/rmailmm.el (rmail-mime-process-multipart):
23349 Handle truncated messages.
23351 2011-06-27 Glenn Morris <rgm@gnu.org>
23353 * progmodes/flymake.el (flymake-err-line-patterns):
23354 Allow for column numbers in the ant/javac pattern. (Bug#8866)
23356 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23358 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
23359 (ses--clean-!, ses--clean-_): New functions.
23360 (ses-range): Add configurability of readout order, and conversion
23363 * ses.el (ses-repair-cell-reference-all): New function.
23364 (ses-cell-symbol): Set macro as safe, so that it can be used in
23367 * ses.el: Update cycle detection algorithm.
23368 (ses-localvars): Add ses--Dijkstra-attempt-nb and
23369 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
23370 (ses-set-localvars): New function.
23371 (ses-make-cell): Add property-list as a cell element.
23372 (ses-cell-property-get-fun, ses-cell-property-get)
23373 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
23374 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
23376 (ses-cell-property-set, ses-cell-property-pop)
23377 (ses-cell-property-get-handle): New macro.
23378 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
23379 New aliases, used for code readability.
23380 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
23382 (ses-self-reference-early-detection): New defcustom.
23383 (ses-formula-references): Robustify against self-referring cells.
23384 (ses-mode): Use ses-set-localvars.
23385 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
23386 before lauching the update processing.
23387 (ses-initialize-Dijkstra-attempt): New function.
23388 (ses-recalculate-cell): Update for cycle detection based on
23389 Dijkstra algorithm.
23391 * ses.el: Fix commenting and indenting convention.
23393 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23395 * bs.el (bs-cycle-next): Complete last change.
23397 2011-06-27 Drew Adams <drew.adams@oracle.com>
23399 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
23401 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
23403 * net/network-stream.el (network-stream-open-starttls):
23404 Don't re-get capabilities unless we've reestablished connection.
23405 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
23407 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
23408 to binary to possibly avoid line encoding issues on Windows (among
23411 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23413 * net/network-stream.el (open-network-stream): Return an :error
23414 saying what the problem was, if possible.
23416 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
23419 * net/network-stream.el (network-stream-open-starttls): If we
23420 wanted to use STARTTLS, and the server offered it, but we weren't
23421 able to because we had no STARTTLS support, then close the connection.
23422 (open-network-stream): Return an :error element, if present.
23424 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23426 * hl-line.el (hl-line-sticky-flag): Doc fix.
23427 (global-hl-line-sticky-flag): New option (Bug#8323).
23428 (global-hl-line-highlight): Obey it.
23430 * vc/vc.el (vc-revert-show-diff): Default to t.
23432 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
23434 * allout-widgets.el (allout-widgets-post-command-business):
23435 Stop decorating intermediate isearch matches. They're not being
23436 undecorated when an isearch is continued past, and isearch
23437 automatically collapses them. This leads to "widget leaks", where
23438 decorated items accumulate in collapsed areas. Lines with lots of
23439 hidden widgets can slow down cursor travel, substantially.
23440 Too much complicated machinery would be needed to ensure undecoration,
23441 so we're doing without this nicety.
23443 (allout-widgets-tally-string): Don't try to do a hash-table-count
23444 of allout-widgets-tally when it's nil. This eliminates spurious "Error
23445 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
23446 *Messages* when allout-widgets-maintain-tally is t.
23448 2011-06-26 Martin Rudalics <rudalics@gmx.at>
23450 * window.el (display-buffer-normalize-argument): Rename to
23451 display-buffer-normalize-arguments. Handle special meaning of
23452 LABEL argument. Respect special-display-function when popping up
23453 a new frame. Fix code searching for a window showing the buffer
23455 (display-buffer-normalize-specifiers):
23456 Call display-buffer-normalize-arguments.
23457 (display-buffer-in-window): Don't undedicate the window if its
23458 buffer remains the same.
23459 Reported by Drew Adams <drew.adams@oracle.com>.
23460 (display-buffer-alist): Add choice for same-window macro
23462 (display-buffer): Mention special meaning of LABEL argument in
23463 doc-string. Fix quoting. Don't pop up a new frame even as
23466 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
23468 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
23469 avoid deleting the current window in some cases (bug#8911).
23471 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
23473 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
23476 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23478 * net/network-stream.el (network-stream-open-starttls):
23479 Use built-in TLS support if `gnutls-available-p' is true.
23480 (network-stream-open-tls): Ditto.
23482 2011-06-26 Leo Liu <sdl.web@gmail.com>
23484 * register.el (registerv): New struct.
23485 (registerv-make): New function.
23486 (jump-to-register, describe-register-1, insert-register):
23487 Support the jump-func, print-func and insert-func slot of a registerv
23490 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23492 * vc/vc.el (vc-revert-show-diff): New defcustom.
23493 (vc-diff-internal): New arg specifying diff buffer.
23494 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
23495 reuse an existing *vc-diff* buffer (Bug#8927).
23497 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
23499 2011-06-26 Glenn Morris <rgm@gnu.org>
23501 * progmodes/f90.el (f90-critical-indent): New option.
23502 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
23503 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
23504 (f90-mode): Doc fix.
23505 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
23506 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
23507 (f90-beginning-of-block, f90-next-block, f90-indent-region)
23508 (f90-match-end): Handle block, critical.
23510 2011-06-25 Glenn Morris <rgm@gnu.org>
23512 * calendar/diary-lib.el (diary-included-files): Doc fix.
23513 (diary-include-files): New function, extracted from
23514 diary-include-other-diary-files and diary-mark-included-diary-files.
23515 (diary-include-other-diary-files, diary-mark-included-diary-files):
23516 Just call diary-include-files.
23517 (diary-mark-entries): Reset diary-included-files on first call.
23519 * calendar/diary-lib.el (diary-mark-entries)
23520 (diary-mark-included-diary-files):
23521 Visit included diary-files in temp buffers.
23523 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
23524 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
23525 (f90-start-block-re, f90-imenu-generic-expression)
23526 (f90-looking-at-program-block-start, f90-no-block-limit):
23527 Add support for submodules.
23529 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23530 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
23532 2011-06-25 Eli Zaretskii <eliz@gnu.org>
23534 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
23535 buffer-file-type before setting its value, to avoid disastrous
23536 global effects on decoding files for DOS/Windows systems. (Bug#8780)
23538 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23540 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
23542 * ses.el (ses-unload-function):
23543 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
23545 * proced.el (proced-unload-function):
23546 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
23548 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
23550 * server.el (server-create-window-system-frame): Add parameters arg.
23551 (server-process-filter): Doc fix. Handle frame-parameters.
23553 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23555 Fix bug#8730, bug#8781.
23557 * loadhist.el (unload--set-major-mode): New function.
23558 (unload-feature): Use it.
23560 * progmodes/python.el (python-after-info-look): Add autoload cookie.
23561 (python-unload-function): New function.
23563 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
23565 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
23567 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
23569 * net/browse-url.el (browse-url-firefox-program): Add icecat to
23570 the candidates list.
23572 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
23574 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
23576 2011-06-23 Richard Stallman <rms@gnu.org>
23578 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
23579 (rmail-variables): Set next-error-move-function.
23580 (rmail-what-message): Take argument POS.
23581 (rmail-next-error-move): New function.
23583 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
23585 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
23586 messages for adjacent non-terminals.
23588 2011-06-23 Richard Stallman <rms@gnu.org>
23590 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
23591 (rmail-show-message-1): Preserve buffer modified flag.
23592 (rmail-start-mail): Don't specify use of rmail-mail-return;
23593 that's done by mail-bury now.
23594 (rmail-mail-return): Handle arg NEWBUF.
23596 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
23598 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
23601 2011-06-23 Martin Rudalics <rudalics@gmx.at>
23603 * window.el (get-lru-window, get-mru-window)
23604 (get-largest-window): Never return a minibuffer window.
23605 (display-buffer-pop-up-window): Fix a bug that could lead to
23606 reusing the minibuffer window.
23607 (display-buffer): Pass original specifier argument to
23608 display-buffer-function instead of the normalized one.
23609 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
23611 2011-06-22 Leo Liu <sdl.web@gmail.com>
23613 * minibuffer.el (completing-read-function)
23614 (completing-read-default): Move from minibuf.c.
23616 2011-06-22 Richard Stallman <rms@gnu.org>
23618 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
23619 to Rmail even if not started by a special Rmail command.
23621 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
23622 Copy the buffer currently showing just one message.
23624 2011-06-22 Roland Winkler <winkler@gnu.org>
23626 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
23627 (bibtex-clean-entry): First delete the old key so that a
23628 customized algorithm for generating the new key does not get
23629 confused by the old key.
23630 (bibtex-url): Obey regexp of first step.
23631 (bibtex-search-entries): Do not use add-to-list with local
23634 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23636 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
23637 stored a user name, then query for the password first, instead of
23638 waiting for SMTP to give an error message and the trying again.
23640 2011-06-22 Lawrence Mitchell <wence@gmx.li>
23642 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
23643 BUFFER in call-process.
23645 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23647 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
23649 (smtpmail-try-auth-methods): Require user name and password from
23652 2011-06-22 Martin Rudalics <rudalics@gmx.at>
23654 * window.el (display-buffer-default-specifiers)
23655 (display-buffer-alist): Remove entries for pop-up-frame-alist.
23656 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
23657 (split-window): Normalize SIDE argument (Bug#8916).
23659 * frame.el (pop-up-frame-alist, pop-up-frame-function)
23660 (special-display-frame-alist, special-display-popup-frame):
23661 Remove duplicate declarations. These are now in window.el.
23663 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
23665 * mail/smtpmail.el (smtpmail-via-smtp):
23666 Set :use-starttls-if-possible so that we always use STARTTLS if the
23667 server supports it. SMTP servers that support STARTTLS commonly
23670 * net/network-stream.el (network-stream-open-starttls): Support
23671 upgrading to STARTTLS always, even if we don't have built-in support.
23672 (open-network-stream): Add the :always-query-capabilities keyword.
23674 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
23675 upgrades with `open-network-stream', and rely solely on
23676 auth-source for all credentials. Big changes throughout the file,
23678 (smtpmail-auth-credentials): Remove.
23679 (smtpmail-starttls-credentials): Remove.
23680 (smtpmail-via-smtp): Check for servers saying they want AUTH after
23683 * net/network-stream.el (network-stream-open-starttls):
23684 Provide support for client certificates both for external and built-in
23686 (auth-source): Require.
23687 (open-network-stream): Document the :client-certificate keyword.
23688 (network-stream-certificate): Change cert-cert to cert and
23691 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
23693 * net/tramp-cache.el (top): Don't load the persistency file when
23694 "emacs -Q" has been called.
23696 2011-06-21 Tim Harper <timcharper@gmail.com>
23698 * term/ns-win.el (ns-initialize-window-system):
23699 Set application-specific `ApplePressAndHoldEnabled' system
23700 resource to NO as it is not yet supported by the NS port.
23702 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
23704 * misc.el (list-dynamic-libraries--refresh): Compute header here...
23705 (list-dynamic-libraries): ...not here.
23707 2011-06-21 Leo Liu <sdl.web@gmail.com>
23709 * subr.el (sha1): Implement sha1 using secure-hash.
23711 2011-06-21 Martin Rudalics <rudalics@gmx.at>
23713 * window.el (display-buffer-alist): In default value do not
23714 enforce searching a window on any but the selected frame.
23715 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
23716 (display-buffer-select-window): Remove function.
23717 (display-buffer-in-window): When a window on another frame gets
23718 reused, do not select it any more but just raise its frame if
23719 necessary (Bug#8851) and (Bug#8856).
23720 (display-buffer-normalize-options): Handle pop-up-frames related
23721 options more faithfully.
23722 (pop-to-buffer): Don't rely on `display-buffer' selecting the
23723 window if it is on another frame.
23724 (display-buffer-alist, display-buffer-default-specifiers):
23725 Don't make new frame unsplittable by default.
23726 (display-buffer-normalize-argument): Fix doc-string typo and use
23727 'same-frame-other-window instead of 'other-window when associating
23728 with display-buffer-macro-specifiers.
23730 2011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
23732 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
23734 (5x5-mode-map, 5x5-mode-menu): Bind them.
23735 (5x5-draw-grid): Tweak the solver's rendering.
23737 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23739 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
23740 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
23742 2011-06-21 Drew Adams <drew.adams@oracle.com>
23744 * menu-bar.el: Use function variable instead of switch-to-buffer.
23745 (menu-bar-select-buffer-function): New variable.
23746 (menu-bar-update-buffers): Use it (bug#8876).
23748 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23750 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
23753 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
23755 * x-dnd.el (x-dnd-version-from-flags)
23756 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
23757 and long as number (Bug#8899).
23758 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
23760 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
23762 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
23763 (completion-try-completion, completion-all-completions): Compute the
23764 metadata argument if it's missing; make it optional (bug#8795).
23766 * wid-edit.el: Use lex-bind and move towards completion-at-point.
23767 (widget-complete): Use new :completion-function property.
23768 (widget-completions-at-point): New function.
23769 (default): Use :completion-function instead of :complete.
23770 (widget-default-completions): Rename from widget-default-complete;
23772 (widget-string-complete, widget-file-complete, widget-color-complete):
23774 (file, symbol, function, variable, coding-system, color):
23775 * international/mule-cmds.el (default-input-method, charset)
23776 (language-info-custom-alist):
23777 * cus-edit.el (face): Use new property :completions.
23779 * progmodes/pascal.el (pascal-completions-at-point): New function.
23780 (pascal-mode): Use it.
23781 (pascal-mode-map): Use completion-at-point.
23782 (pascal-toggle-completions): Make obsolete.
23783 (pascal-complete-word, pascal-show-completions):
23784 * progmodes/octave-mod.el (octave-complete-symbol):
23785 Redefine as obsolete alias.
23786 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
23787 Signal absence of completion info for old Octave,
23788 (inferior-octave-complete): Redefine as obsolete alias.
23789 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
23790 (meta-completions-at-point): Rename from meta-complete-symbol and
23791 adapt it for use on completion-at-point-functions.
23792 (meta-common-mode): Use it.
23793 (meta-looking-at-backward, meta-match-buffer): Remove.
23794 (meta-complete-symbol): Redefine as obsolete alias.
23795 (meta-common-mode-map): Use completion-at-point.
23796 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
23797 (makefile-mode-map): Use completion-at-point.
23798 (makefile-completions-at-point): Rename from makefile-complete and
23799 adapt it for use on completion-at-point-functions.
23800 (makefile-mode): Use it.
23801 (makefile-complete): Redefine as obsolete alias.
23803 2011-06-20 Deniz Dogan <deniz@dogan.se>
23805 * net/rcirc.el: Delete trailing whitespaces once and for all.
23807 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
23809 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
23811 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
23813 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
23815 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
23817 2011-06-19 Martin Rudalics <rudalics@gmx.at>
23819 * window.el (display-buffer-other-window-means-other-frame):
23820 Call display-buffer-normalize-alist.
23821 (display-buffer-normalize-specifiers-1): Rename to
23822 display-buffer-normalize-argument. New argument other-frame.
23824 (display-buffer-normalize-specifiers-2): Rename to
23825 display-buffer-normalize-options.
23826 (display-buffer-normalize-alist-1): New function.
23827 (display-buffer-normalize-specifiers-3): Rename to
23828 display-buffer-normalize-alist.
23829 Call display-buffer-normalize-alist-1.
23830 (display-buffer-normalize-options-inhibit): New variable.
23831 (display-buffer-normalize-specifiers): Rewrite calling
23832 display-buffer-normalize-alist,
23833 display-buffer-normalize-argument, and
23834 display-buffer-normalize-options. Don't call the latter if
23835 display-buffer-normalize-options-inhibit is non-nil.
23836 (frame-auto-delete): New option.
23837 (window-deletable-p): Use frame-auto-delete.
23838 (window-list-no-nils, window-state-ignored-parameters)
23839 (window-state-get-1, window-state-get, window-state-put-list)
23840 (window-state-put-1, window-state-put-2, window-state-put):
23842 (display-buffer-normalize-options): Move special-display-p group
23843 after pop-up-frame group (Bug#8851) and (Bug#8856).
23845 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
23847 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
23849 (rx-submatch-n): New function.
23852 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
23855 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
23857 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
23859 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
23860 anytime existing face settings are present (Bug#8889).
23862 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
23863 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
23864 Remove unused argument.
23866 2011-06-18 Martin Rudalics <rudalics@gmx.at>
23868 * window.el (display-buffer-default-specifiers):
23869 Remove pop-up-frame. Add pop-up-window-min-height,
23870 pop-up-window-min-width, and another reuse-window specifier
23871 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
23872 (display-buffer-normalize-specifiers-2):
23873 Handle split-height-threshold and split-width-threshold also when
23874 pop-up-windows is unset. Add a reuse-window specifier for the
23875 case popping up a new window fails.
23876 (special-display-popup-frame): Remove double quoting.
23877 (display-buffer-normalize-specifiers-1): Fix thinko.
23879 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
23881 * shell.el (shell-completion-vars): Set pcomplete-termination-string
23882 according to comint-completion-addsuffix.
23884 * pcomplete.el: Convert to lexical binding and fix bug#8819.
23885 (pcomplete-suffix-list): Mark as obsolete.
23886 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
23887 pcomplete-seen in the closure.
23888 (pcomplete-comint-setup): Setup completion-at-point as well.
23889 (pcomplete--entries): New function.
23890 (pcomplete--env-regexp): New var.
23891 (pcomplete-entries): Rewrite to work with partial-completion and
23892 without relying on pcomplete-suffix-list.
23893 (pcomplete-pare-list): Remove, unused.
23895 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23897 * window.el (display-buffer-alist): Set pop-up-window-min-height
23898 and pop-up-window-min-width in default value. Reported by
23899 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
23900 other-window-means-other-frame.
23901 (display-buffer-macro-specifiers): Comment out entry for
23902 other-window specifier.
23903 (display-buffer-other-window-means-other-frame): New function.
23904 (display-buffer-normalize-specifiers-1): New arguments
23905 buffer-name and label. Treat other-window case specially.
23906 (display-buffer-normalize-specifiers-2): Treat other-window case
23908 (display-buffer-normalize-specifiers-3): New function.
23909 (display-buffer-normalize-specifiers):
23910 Call display-buffer-normalize-specifiers-3.
23912 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23914 * window.el (same-window-p): Fix two typos introduced when
23915 adding with-no-warnings.
23916 (display-buffer-normalize-specifiers-1): Don't check
23917 pop-up-frames for 'unset initialization.
23918 (display-buffer-normalize-specifiers-2): Major rewrite using
23919 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
23920 (pop-up-frames, display-buffer-reuse-frames)
23921 (display-buffer-mark-dedicated): Don't initialize to 'unset.
23922 Suggested by David Engster <deng@randomsample.de>.
23923 (even-window-heights): Initialize to 'unset.
23924 (display-buffer-alist-set): Handle new 'unset initializations.
23925 (display-buffer-macro-specifiers): Don't pop up a new frame in the
23928 2011-06-16 Martin Rudalics <rudalics@gmx.at>
23930 * window.el (display-buffer-normalize-specifiers-1):
23931 Respect current value of pop-up-frames for most reasonable values of
23932 second argument of display-buffer (Bug#8865).
23933 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
23934 (switch-to-buffer-other-window-same-frame)
23935 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
23937 (display-buffer): Don't check noninteractive when calling
23938 display-buffer-pop-up-frame.
23939 (display-buffer-pop-up-frame): Never pop up a frame in
23940 noninteractive mode (Bug#8857).
23941 (enlarge-window, shrink-window): Don't report an error when the
23942 window can't be resized as requested (Bug#8862).
23944 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23946 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
23948 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
23950 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
23952 2011-06-15 Alan Mackenzie <acm@muc.de>
23954 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
23955 for declarators, disable knr checking to speed up for normal files.
23956 2: Refactor, replacing a sequence of nested if forms by a cond form.
23958 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
23960 * net/network-stream.el (open-network-stream): Add the keyword
23961 :always-query-capabilities for the case where you want to force a
23962 `plain' network connection, but the protocol still requires the
23963 capabilitiy command (i.e., SMTP and EHLO).
23965 * subr.el (process-live-p): Rename from `process-alive-p' for
23966 consistency with other `-live-p' functions.
23968 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23970 * window.el (same-window-buffer-names, same-window-regexps)
23971 (special-display-frame-alist, special-display-popup-frame)
23972 (special-display-function, special-display-buffer-names)
23973 (special-display-regexps, pop-up-frame-alist)
23974 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
23975 (pop-up-windows, split-window-preferred-function)
23976 (split-height-threshold, split-width-threshold, even-window-heights)
23977 (display-buffer-mark-dedicated): Don't encourage the use of
23978 display-buffer-alist from Elisp code.
23980 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
23982 * progmodes/python.el (python-mode): Derive from prog-mode.
23983 * progmodes/ps-mode.el (ps-mode):
23984 * progmodes/mixal-mode.el (mixal-mode):
23985 * progmodes/cfengine.el (cfengine-mode):
23986 * progmodes/ld-script.el (ld-script-mode): Likewise.
23988 2011-06-15 Martin Rudalics <rudalics@gmx.at>
23990 * window.el (display-buffer-alist): Trim default value to avoid
23991 popping up a new frame (Bug#8857) or reusing an arbitrary window
23993 (display-buffer): Do not fall back on popping up a new frame in
23994 batch mode (Bug#8857).
23996 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
23998 * cus-theme.el (describe-theme-1): Use custom-theme-p.
23999 (custom-theme-summary): New function.
24000 (customize-themes): Use it.
24002 2011-06-13 Glenn Morris <rgm@gnu.org>
24004 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
24006 2011-06-13 Martin Rudalics <rudalics@gmx.at>
24008 * help.el (help-window): Remove variable.
24009 (help-window-point-marker, temp-buffer-max-height)
24010 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
24011 (help-print-return-message): Don't set help-window.
24012 (resize-temp-buffer-window): Rewrite cod eand doc-string.
24013 (help-window-setup-finish): Remove.
24014 (help-window-display-message, help-window-setup)
24015 (with-help-window): Major rewrite based on new
24016 display-buffer-window variable.
24018 * help-mode.el (help-mode-finish): Remove help-window related
24021 * view.el (view-exits-all-viewing-windows): Remove reference to
24022 view-return-to-alist in doc-string.
24023 (view-return-to-alist): Make obsolete.
24024 (view-buffer): Call pop-to-buffer-same-window and remove
24026 (view-buffer-other-window): Call pop-to-buffer-other-window and
24027 simplify code. Ignore second argument.
24028 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
24029 simplify code. Ignore second argument.
24030 (view-return-to-alist-update): Make obsolete.
24031 (view-mode-enter): Rename second argument to QUIT-RESTORE.
24032 Rewrite using quit-restore window parameters.
24033 (view-mode-exit): Rename second argument to EXIT-ONLY.
24034 Rewrite using quit-restore-window.
24035 (View-exit, View-exit-and-edit, View-leave, View-quit)
24036 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
24037 appropriate arguments.
24038 (view-end-message): Use quit-restore window parameter.
24040 * window.el (display-buffer-function): Rewrite doc-string.
24041 (display-buffer-window, display-buffer-alist): New variables.
24042 (display-buffer-split-specifiers)
24043 (display-buffer-side-specifiers)
24044 (display-buffer-macro-specifiers): New constants.
24045 (display-buffer-even-window-sizes, display-buffer-set-height)
24046 (display-buffer-set-width, display-buffer-select-window)
24047 (display-buffer-in-window, display-buffer-reuse-window)
24048 (display-buffer-split-window-1, display-buffer-split-window)
24049 (display-buffer-split-atom-window, display-buffer-pop-up-window)
24050 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
24051 (display-buffer-in-side-window, normalize-buffer-to-display)
24052 (display-buffer-normalize-specifiers-1)
24053 (display-buffer-normalize-specifiers-2)
24054 (display-buffer-normalize-specifiers, display-buffer-frame):
24056 (display-buffer): Major rewrite.
24057 (display-buffer-other-window, display-buffer-other-frame)
24058 (pop-to-buffer, switch-to-buffer-other-window)
24059 (switch-to-buffer-other-frame): Rewrite.
24060 (display-buffer-same-window, display-buffer-same-frame)
24061 (display-buffer-same-frame-other-window)
24062 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
24063 (pop-to-buffer-other-window)
24064 (pop-to-buffer-same-frame-other-window)
24065 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
24066 (switch-to-buffer-other-window-same-frame): New functions.
24067 (same-window-p, special-display-p): Rewrite disabling warnings.
24069 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
24070 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
24072 (same-window-buffer-names, same-window-regexps)
24073 (special-display-frame-alist, special-display-popup-frame)
24074 (special-display-function, special-display-buffer-names)
24075 (special-display-regexps, pop-up-frame-alist)
24076 (pop-up-frame-function, split-window-preferred-function)
24077 (split-height-threshold, split-width-threshold)
24078 (even-window-heights): Make obsolete.
24080 2011-06-12 Glenn Morris <rgm@gnu.org>
24082 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
24083 Misc simplifications.
24085 2011-06-12 Martin Rudalics <rudalics@gmx.at>
24087 * window.el (window-safely-shrinkable-p): Restore function which
24088 was inadvertently removed in change from 2011-06-11. Declare as
24091 * calendar/calendar.el (calendar-generate-window):
24092 Use window-iso-combined-p instead of combination of one-window-p and
24093 window-safely-shrinkable-p.
24095 2011-06-12 Glenn Morris <rgm@gnu.org>
24097 * progmodes/fortran.el (fortran-mode-syntax-table):
24098 * progmodes/f90.el (f90-mode-syntax-table):
24099 Set % to punctuation. (Bug#8820)
24100 (f90-find-tag-default): Remove, no longer needed.
24102 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
24104 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
24106 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
24108 * image.el (image-animated-p): Return animation delay in seconds.
24109 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
24110 (image-animate-timeout): Remove DELAY argument. Don't assume
24111 every subimage has the same delay; get it from image-animated-p.
24112 (image-animate): Caller changed.
24114 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
24116 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
24117 to ignored backtrace functions.
24119 2011-06-11 Glenn Morris <rgm@gnu.org>
24121 * calendar/appt.el (appt-disp-window-function): Doc fix.
24122 (appt-check): Handle overlapping appointments. (Bug#8337)
24124 2011-06-11 Martin Rudalics <rudalics@gmx.at>
24126 * window.el (window-tree-1, window-tree): New functions, moving
24127 the latter to window.el.
24128 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
24129 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
24130 (bw-refresh-edges): Remove.
24131 (balance-windows-1, balance-windows-2): New functions.
24132 (balance-windows): Rewrite in terms of window tree functions,
24133 balance-windows-1 and balance-windows-2.
24134 (bw-adjust-window): Remove.
24135 (balance-windows-area-adjust): New function with functionality of
24136 bw-adjust-window but using resize-window.
24137 (set-window-text-height): Rewrite doc-string.
24138 Use normalize-live-window and resize-window.
24139 (enlarge-window-horizontally, shrink-window-horizontally):
24140 Rename argument to DELTA.
24141 (window-buffer-height): New function.
24142 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
24143 Rewrite using new window resize routines.
24144 (kill-buffer-and-window, mouse-autoselect-window-select):
24145 Use ignore-errors instead of condition-case.
24146 (quit-window): Call delete-frame instead of delete-windows-on
24147 for the only buffer on frame.
24149 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24151 * loadup.el (top-level): Load window before files for the sake
24152 of replace-buffer-in-windows.
24154 * files.el (read-buffer-to-switch)
24155 (switch-to-buffer-other-window)
24156 (switch-to-buffer-other-frame, display-buffer-other-frame):
24159 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
24160 (previous-buffer): Move to window.el.
24162 * bindings.el (unbury-buffer): Move to window.el.
24164 * window.el (delete-other-windows-vertically): Move after
24165 definition of delete-other-windows.
24166 (other-window, delete-windows-on, replace-buffer-in-windows):
24167 Move here from window.c.
24168 (record-window-buffer, unrecord-window-buffer)
24169 (set-window-buffer-start-and-point, switch-to-prev-buffer)
24170 (switch-to-next-buffer): New functions.
24171 (get-next-valid-buffer, last-buffer, next-buffer): Move here
24172 from simple.el. Call switch-to-next-buffer.
24173 (previous-buffer): Move here from simple.el.
24174 Call switch-to-prev-buffer.
24175 (bury-buffer): Move here from buffer.c. Switch to previous
24176 buffer when window cannot be deleted.
24177 (unbury-buffer): Move here from bindings.el.
24178 (ctl-x-map): Move binding for other-window from window.c to
24180 (read-buffer-to-switch, switch-to-buffer-other-window)
24181 (switch-to-buffer-other-frame): Move here from files.el.
24182 (normalize-buffer-to-switch-to): New functions.
24183 (switch-to-buffer): Move here from buffer.c.
24184 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
24186 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24188 * window.el (window-min-height, window-min-width): Move here
24189 from window.c. Add defcustoms and rewrite doc-strings.
24190 (resize-mini-window, resize-window): New functions.
24191 (adjust-window-trailing-edge, enlarge-window, shrink-window):
24192 Move here from window.c.
24193 (maximize-window, minimize-window): New functions.
24194 (delete-window, delete-other-windows, split-window): Move here
24196 (window-split-min-size): New function.
24197 (split-window-keep-point): Mention split-window-above-each-other
24198 instead of split-window-vertically.
24199 (split-window-above-each-other, split-window-vertically):
24200 Rename split-window-vertically to split-window-above-each-other
24201 and provide defalias for old definition.
24202 (split-window-side-by-side, split-window-horizontally):
24203 Rename split-window-horizontally to split-window-side-by-side
24204 and provide defalias for the old definition.
24205 (ctl-x-map): Move bindings for delete-window,
24206 delete-other-windows and enlarge-window here from window.c.
24207 Replace bindings for split-window-vertically and
24208 split-window-horizontally by bindings for
24209 split-window-above-each-other and split-window-side-by-side.
24211 * cus-start.el (all): Remove entries for window-min-height and
24212 window-min-width. Add entries for window-splits and
24215 2011-06-09 Glenn Morris <rgm@gnu.org>
24217 * calendar/appt.el (appt-mode-line): New function.
24218 (appt-check, appt-disp-window): Use it.
24220 * files.el (hack-one-local-variable-eval-safep):
24221 Allow minor-modes with explicit +/-1 arguments.
24223 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
24225 * term/xterm.el (xterm): Add defgroup.
24226 (xterm-extra-capabilities): Add defcustom to supply known xterm
24227 capabilities, skip querying them, or query them (default).
24228 (terminal-init-xterm): Use it.
24229 (terminal-init-xterm-modify-other-keys): New function to set up
24230 modifyOtherKeys support to simplify `terminal-init-xterm'.
24232 2011-06-09 Martin Rudalics <rudalics@gmx.at>
24234 * window.el (resize-window-reset, resize-window-reset-1)
24235 (resize-subwindows-skip-p, resize-subwindows-normal)
24236 (resize-subwindows, resize-other-windows, resize-this-window)
24237 (resize-root-window, resize-root-window-vertically)
24238 (window-deletable-p, window-or-subwindow-p)
24239 (frame-root-window-p): New functions.
24241 2011-06-09 Glenn Morris <rgm@gnu.org>
24243 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
24244 (ange-ftp-get-files): Use it.
24246 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
24248 * mail/sendmail.el (mail-recover-1, mail-recover):
24249 * files.el (recover-file, recover-session):
24250 Handle dired-listing-switches not being just a single short option.
24252 2011-06-09 Glenn Morris <rgm@gnu.org>
24254 * calendar/appt.el (appt-display-message, appt-disp-window):
24255 Handle lists of appointments.
24257 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24259 * window.el (one-window-p): Move down in code.
24260 Rewrite doc-string.
24261 (window-current-scroll-bars): Rewrite doc-string.
24262 Normalize live window argument.
24263 (walk-windows, get-window-with-predicate, count-windows):
24264 Rewrite doc-string. Use window-list-1.
24265 (window-in-direction-2, window-in-direction, get-mru-window):
24268 2011-06-08 Reuben Thomas <rrt@sc3d.org>
24270 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
24271 Doc fix (Bug#8713).
24273 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
24275 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
24277 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
24279 * loadhist.el (unload-feature-special-hooks):
24280 Add `comint-output-filter-functions'.
24282 2011-06-08 Ivan Kanis <gnu@kanis.fr>
24284 * calendar/appt.el (appt-check): Move some initializations into the let.
24286 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24288 * window.el (window-height): Defalias to window-total-height.
24289 (window-width): Defalias to window-body-width.
24291 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
24293 * image-mode.el (image-toggle-animation): New command.
24294 (image-mode-map): Bind it to RET.
24295 (image-mode): Update message.
24296 (image-toggle-display-image): Avoid a spurious cache flush.
24297 (image-transform-rotation): Doc fix.
24298 (image-transform-properties): Return quickly in the normal case.
24299 (image-animate-loop): Rename from image-animate-max-time.
24301 * image.el (image-animate-max-time): Move to image-mode.el.
24302 (create-animated-image): Remove unnecessary function.
24303 (image-animate): Rename from image-animate-start. New arg.
24304 (image-animate-stop): Remove; just use image-animate-timer.
24305 (image-animate-timer): Use car-safe.
24306 (image-animate-timeout): Rename argument.
24308 2011-06-07 Martin Rudalics <rudalics@gmx.at>
24310 * window.el (get-lru-window, get-largest-window): Move here from
24311 window.c. Rename first argument to ALL-FRAMES.
24312 Rephrase doc-strings.
24313 (get-buffer-window-list): Rewrite using window-list-1.
24314 Rephrase doc-string.
24315 (window-safe-min-height, window-safe-min-width): New constants.
24316 (window-size-ignore, window-min-size, window-min-size-1)
24317 (window-sizable, window-sizable-p, window-size-fixed-1)
24318 (window-size-fixed-p, window-min-delta-1, window-min-delta)
24319 (window-max-delta-1, window-max-delta, window-resizable)
24320 (window-resizable-p, window-total-height, window-total-width)
24321 (window-body-width): New functions.
24322 (window-full-height-p, window-full-width-p): Rewrite using
24324 (window-body-height): Rewrite using window-body-size.
24326 2011-06-06 Martin Rudalics <rudalics@gmx.at>
24328 * window.el (window-right, window-left, window-child)
24329 (window-child-count, window-last-child, window-any-p)
24330 (normalize-live-buffer, normalize-live-frame)
24331 (normalize-any-window, normalize-live-window)
24332 (window-iso-combination-p, window-iso-combined-p)
24333 (window-iso-combinations)
24334 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
24335 (windows-with-parameter, window-with-parameter)
24336 (window-atom-root, make-window-atom, window-atom-check-1)
24337 (window-atom-check, window-side-check, window-check):
24339 (ignore-window-parameters, window-sides, window-sides-vertical)
24340 (window-sides-slots): New variables.
24341 (window-size-fixed): Move down in code. Minor doc-string fix.
24343 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
24345 * comint.el (comint-dynamic-complete-as-filename)
24346 (comint-dynamic-complete-filename): Correctly call
24347 completion-in-region.
24349 2011-06-05 Deniz Dogan <deniz@dogan.se>
24351 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
24354 2011-06-05 Deniz Dogan <deniz@dogan.se>
24356 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
24357 (rcirc): Use it to prompt for encryption.
24359 2011-06-05 Roland Winkler <winkler@gnu.org>
24361 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
24362 (bibtex-search-entries): New command bound to C-c C-a.
24363 (bibtex-display-entries): New function.
24365 2011-06-05 Roland Winkler <winkler@gnu.org>
24367 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
24368 (bibtex-insert-kill): After yanking insert newline if necessary.
24369 (bibtex-initialize): Call bibtex-string-files-init only once.
24370 (bibtex-mode): Do not call easy-menu-add.
24371 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
24372 (bibtex-yank): Set arg properly if nil.
24374 2011-06-05 Roland Winkler <winkler@gnu.org>
24376 * textmodes/bibtex.el (bibtex-search-entry-globally):
24378 (bibtex-search-entry): Use it.
24380 2011-06-05 Roland Winkler <winkler@gnu.org>
24382 * textmodes/bibtex.el (bibtex-entry-format): New option
24384 (bibtex-format-entry, bibtex-reformat): Honor this option.
24385 (bibtex-parse-entry): Return fields in proper order.
24387 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
24389 * doc-view.el (doc-view-remove-if): Move computation of result out
24390 of `dolist' to silence misleading lexical-binding warning.
24392 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
24394 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
24395 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
24397 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24399 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
24402 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24404 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
24405 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
24406 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
24407 (tramp-parse-putty):
24408 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
24409 (tramp-completion-function-alist-ssh)
24410 (tramp-completion-function-alist-telnet)
24411 (tramp-completion-function-alist-su)
24412 (tramp-completion-function-alist-putty): Set `tramp-autoload'
24415 * net/tramp-ftp.el:
24417 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
24418 load "tramp.el" `tramp-set-completion-function'.
24420 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
24422 * shell.el: Require and use pcomplete.
24423 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
24424 (shell-completion-vars): Set pcomplete-default-completion-function.
24426 2011-06-04 Deniz Dogan <deniz@dogan.se>
24428 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
24431 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24433 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
24435 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
24437 * bs.el (bs--mark-unmark, bs--nth-wrapper):
24438 * mpc.el (mpc-select-extend, mpc-songpointer-context):
24439 * vc/log-view.el (log-view-beginning-of-defun):
24440 * vc/smerge-mode.el (smerge-apply-resolution-patch)
24441 (smerge-refine-forward, smerge-refine-chopup-region):
24442 Silence warning for unused `dotimes' counter variables.
24444 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24446 * net/tramp.el (tramp-with-progress-reporter): Rename from
24447 with-progress-reporter. Use `declare'.
24448 * net/tramp-smb.el:
24450 * net/tramp-gvfs.el: Update all uses.
24452 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
24454 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
24455 buffer isn't killed before making it current.
24457 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24459 Silence various byte-compiler warnings.
24460 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
24461 `access-type' and new obsolescence format.
24462 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
24464 (byte-compile-check-variable): New `access-type' argument.
24465 Only warn if the access-type is obsolete.
24466 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24467 (byte-compile-variable-set): Adjust callers.
24468 * help-fns.el (describe-variable): Adjust to new obsolescence format.
24469 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
24470 setting it as obsolete.
24471 * simple.el (minibuffer-completing-symbol):
24472 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
24473 access as obsolete.
24474 * minibuffer.el (minibuffer-completing-file-name): Don't make it
24476 * international/quail.el (quail-mouse-choose-completion): Remove unused
24477 code referring to obsolete var.
24478 (quail-choose-completion-string): Remove.
24479 * server.el (server-clients-with, server-kill-buffer-query-function)
24480 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
24481 * proced.el (proced-send-signal):
24482 * emacs-lisp/lisp.el (lisp-complete-symbol):
24483 Replace completion-annotate-function with completion-extra-properties.
24485 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24487 * simple.el (goto-line): Use read-number.
24488 (overriding-map-is-bound): Remove.
24489 (saved-overriding-map): Change default.
24490 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
24491 Take the map as argument.
24492 (universal-argument, negative-argument, digit-argument): Use it.
24493 (restore-overriding-map): Adjust.
24494 (do-auto-fill): Use fill-forward-paragraph.
24495 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
24497 * minibuffer.el (minibuffer-inactive-mode-map): New var.
24498 (minibuffer-inactive-mode): New major mode.
24499 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
24500 the *Messages* buffer" hack.
24501 (mouse-popup-menubar): Don't burp if the event is a normal key.
24503 Miscellaneous tweaks.
24504 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
24505 lexical scoping as in subr.el's dolist and dotimes.
24506 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
24507 Silence compiler warning.
24508 * thingatpt.el (forward-whitespace): Trivial coding style fix.
24509 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
24510 * international/ccl.el (ccl-compile): Trivial simplification.
24511 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
24512 * emacs-lisp/testcover.el (testcover-end): Remove spurious
24513 `printflag' argument.
24514 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
24515 Purecopy the whole obsolescence data.
24517 2011-06-01 Leo Liu <sdl.web@gmail.com>
24519 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
24520 improve doc-string as suggested by Marco Pessotto
24521 <melmothx@gmail.com>.
24522 (rcirc-print): Fix last change.
24524 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24526 * minibuffer.el (complete-with-action): Return nil for the metadata and
24527 boundaries of non-functional tables.
24528 (completion-table-dynamic): Return nil for the metadata.
24529 (completion-table-with-terminator): Add default case, using
24530 complete-with-action.
24531 (completion--metadata): New function.
24532 (completion-all-sorted-completions, minibuffer-completion-help): Use it
24533 to try and avoid pathological performance problems.
24534 (completion--embedded-envvar-table): Return `category' metadata.
24536 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
24538 * subr.el (process-alive-p): New tiny convenience function.
24540 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24542 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
24543 content but also its previous major mode.
24545 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
24547 * emacs-lisp/debug.el (debug): Restore the previous content of the
24548 *Backtrace* buffer when we exit with C-M-c.
24550 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24552 * minibuffer.el: Add metadata method to completion tables.
24553 (completion-category-overrides): New defcustom.
24554 (completion-metadata, completion--field-metadata)
24555 (completion-metadata-get, completion--styles)
24556 (completion--cycle-threshold): New functions.
24557 (completion-try-completion, completion-all-completions):
24558 Add `metadata' argument to choose completion-styles.
24559 (completion--do-completion): Use metadata to choose cycling.
24560 (completion-all-sorted-completions): Use metadata for sorting.
24561 Remove :completion-cycle-penalty which is not needed any more.
24562 (completion--try-word-completion): Add `metadata' argument.
24563 (minibuffer-completion-help): Check metadata for annotation function
24565 (completion-file-name-table): Return `category' metadata.
24566 (minibuffer-completing-file-name): Make obsolete.
24567 * simple.el (minibuffer-completing-symbol): Make obsolete.
24568 * icomplete.el (icomplete-completions): Pass new `metadata' param to
24569 completion-try-completion.
24571 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
24573 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
24575 2011-05-30 Leo Liu <sdl.web@gmail.com>
24577 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
24578 (rcirc-print): Decode all incoming messages (bug#8744).
24579 (rcirc-decode-coding-system): Allow value nil for automatic coding
24582 2011-06-01 Glenn Morris <rgm@gnu.org>
24584 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
24586 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24588 * image.el (image-animate-max-time): Allow nil and t values.
24590 (create-animated-image): Doc fix.
24591 (image-animate-start): Remove second arg; just use
24592 image-animate-max-time.
24593 (image-animate-timeout): Doc fix. Args changed.
24595 * image-mode.el (image-toggle-display-image): Ensure that the
24596 image spec passed to the animate timer is the same object as in
24597 the buffer's display property (Bug#6981).
24598 (image-transform-properties): Doc fix.
24600 * image.el (image-animate-max-time): Default to nil.
24602 2011-05-29 Martin Rudalics <rudalics@gmx.at>
24604 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
24605 entire buffer list (Bug#8184).
24607 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24609 * image.el (imagemagick-types-inhibit)
24610 (imagemagick-register-types): Doc fix.
24612 2011-05-29 Deniz Dogan <deniz@dogan.se>
24614 * net/rcirc.el (rcirc): Use the user's stored encryption method by
24617 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24619 * select.el: Don't perform clipboard-manager saving in hooks;
24620 leave the hooks empty.
24622 2011-05-28 Leo Liu <sdl.web@gmail.com>
24624 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
24625 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
24626 (occur-edit-mode): New major mode (Bug#8463).
24627 (occur-after-change-function): New function.
24628 (occur-engine): Give Occur tags a read-only property.
24630 2011-05-28 Kevin Ryde <user42@zip.com.au>
24632 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
24634 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24636 * bindings.el (help-echo): Make the initial non-indicator dash
24637 empty on graphical terminals (Bug#7295).
24639 * files.el (auto-mode-alist): Move config rule after the
24640 in-stripping one (Bug#8547).
24642 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
24644 * startup.el (normal-splash-screen): Remove gratuitous mode-line
24645 setting (Bug#8740).
24647 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
24649 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
24650 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
24653 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24655 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
24657 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
24659 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
24660 (hs-hide-block-at-point, hs-find-block-beginning)
24661 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
24664 2011-05-28 Glenn Morris <rgm@gnu.org>
24666 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
24668 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24670 * help-fns.el (describe-function-1): If the function is a derived
24671 major mode, print the parent mode.
24673 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
24674 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
24676 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
24678 * minibuffer.el (completion--capf-wrapper): Check applicability before
24679 returning non-nil for non-exclusive completion data.
24680 * progmodes/etags.el (tags-completion-at-point-function):
24681 * info-look.el (info-lookup-completions-at-point): Mark as
24683 (info-complete): Adjust accordingly.
24685 * info-look.el: Convert to lexical-binding and completion-at-point.
24686 (info-lookup-completions-at-point): New function.
24687 (info-complete): Use it and completion-in-region.
24689 2011-05-28 Drew Adams <drew.adams@oracle.com>
24691 * isearch.el: Let M-e start with point at the first mismatched char.
24692 (isearch-fail-pos): New function.
24693 (isearch-edit-string): Use it.
24695 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24697 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24699 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
24701 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
24702 traversal functions for avl-trees.
24703 (avl-tree--stack): New struct.
24704 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
24705 (avl-tree-enter): Add optional `updatefun' arg.
24706 (avl-tree--do-enter): Add optional `updatefun' arg.
24707 Change return value.
24708 (avl-tree-delete): Add optional `test' and `nilflag' args.
24709 (avl-tree--do-delete): Add `test' and `nilflag' args.
24710 Change return value.
24711 (avl-tree-member): Add optional `nilflag'
24712 (avl-tree-member-p): New function.
24713 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
24714 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
24715 (avl-tree-stack-empty-p): New functions.
24717 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
24718 avl-tree--del-balance1 and make it work both ways.
24719 (avl-tree--del-balance2): Remove.
24720 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
24721 make it work both ways.
24722 (avl-tree--enter-balance2): Remove.
24723 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
24725 (avl-tree--mapc, avl-tree-map): Add direction argument.
24727 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
24729 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
24731 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
24733 * select.el: Support clipboard managers with built-in function
24734 x-clipboard-manager-save, via delete-frame-functions and
24736 (xselect-convert-to-targets): Add MULTIPLE target to list.
24737 (xselect-convert-to-save-targets): New function.
24739 2011-05-27 Kenichi Handa <handa@m17n.org>
24741 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
24742 let-binding rfc2047-encode-encoded-words to nil.
24744 2011-05-27 Glenn Morris <rgm@gnu.org>
24746 * mail/emacsbug.el: Don't require url-util.
24748 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
24750 * files.el (set-auto-mode):
24751 Also respect mode: entries at the end of the file. (Bug#8586)
24753 2011-05-26 Glenn Morris <rgm@gnu.org>
24755 * files.el (hack-local-variables-prop-line, hack-local-variables):
24756 Downcase mode names, as seems to be traditional.
24757 (hack-local-variables, hack-local-variables-apply): Doc fixes.
24759 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
24760 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
24762 2011-05-25 Julien Danjou <julien@danjou.info>
24764 * textmodes/rst.el (rst-define-level-faces): Do not define face
24765 symbol if it is already defined.
24767 2011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
24769 * play/5x5.el (5x5-new-game, 5x5-randomize):
24770 Reset 5x5-solver-output to nil when a new grid is cast.
24771 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
24772 these debugging traces, as defmacro breaks the compiled code.
24774 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24776 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24778 2011-05-24 Leo Liu <sdl.web@gmail.com>
24780 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
24781 (vc-bzr-sha1): Adapt.
24783 * sha1.el: Remove. Function `sha1' is now builtin.
24785 * bindings.el: Provide sha1 feature.
24787 2011-05-24 Kenichi Handa <handa@m17n.org>
24789 * mail/sendmail.el: Require `rfc2047'.
24790 (mail-insert-from-field): Do not perform RFC2047 encoding.
24791 (mail-encode-header): New function.
24792 (sendmail-send-it): Set buffer-file-coding-system of the work
24793 buffer to the return value of select-message-coding-system.
24794 Call mail-encode-header.
24796 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
24798 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
24800 * mail/supercite.el (sc-default-cite-frame):
24801 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
24803 2011-05-24 Glenn Morris <rgm@gnu.org>
24805 * progmodes/python.el (brm-menu): Declare.
24807 * emulation/viper.el (viper-set-hooks): Declare.
24809 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
24810 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
24811 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
24812 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
24813 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
24814 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
24816 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
24818 Add an :exit-function for completion-at-point.
24820 * minibuffer.el (completion--done): New fun.
24821 (completion--do-completion): Use it. New arg `expect-exact'.
24822 (minibuffer-complete, minibuffer-complete-word): Don't output message,
24823 since completion--do-completion does it for us now.
24824 (minibuffer-force-complete): Use completion--done and
24825 completion--replace. Handle sole-completion case with more care.
24826 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
24827 (completion-extra-properties): New var.
24828 (completion-annotate-function): Make obsolete.
24829 (minibuffer-completion-help): Adjust accordingly.
24830 Use completion-list-insert-choice-function.
24831 (completion-at-point, completion-help-at-point):
24832 Bind completion-extra-properties.
24833 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
24834 * simple.el (completion-list-insert-choice-function): New var.
24835 (completion-setup-function): Preserve it.
24836 (choose-completion): Pay attention to it, shuffle the code a bit.
24837 (choose-completion-string): New arg `insert-function'.
24839 * textmodes/bibtex.el: Convert to lexical binding.
24840 (bibtex-mode-map): Use completion-at-point.
24841 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
24842 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
24843 (bibtex-complete): Define as obsolete alias.
24844 (bibtex-complete-internal): Remove.
24845 (bibtex-format-entry): Remove unused sub-group in regexp.
24846 * shell.el (shell--command-completion-data)
24847 (shell-environment-variable-completion):
24848 * pcomplete.el (pcomplete-completions-at-point):
24849 * comint.el (comint--complete-file-name-data): Use :exit-function
24850 instead of completion-table-with-terminator so it also works for
24853 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24855 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
24857 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
24860 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
24862 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
24864 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
24865 customization variable and implement: If non-nil, auto-fill will
24866 be inhibited while on topic's header line.
24868 2011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
24870 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
24871 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
24872 always have a solution in grid size = 5 cases.
24873 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
24874 (5x5-solver-output, 5x5-log-buffer): New vars.
24875 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
24876 Make these variables buffer local to achieve 5x5 multi-session-ness.
24877 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
24878 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
24879 (5x5-solve-suggest): New funs.
24880 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
24881 randomize a grid so that we ensure that there is always a solution.
24882 (5x5-make-random-grid): Allow other movement than flipping.
24884 2011-05-23 Kevin Ryde <user42@zip.com.au>
24886 * emacs-lisp/advice.el (ad-read-advised-function):
24887 Use `function-called-at-point' as the default, if it has
24888 advice and passes PREDICATE.
24890 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24892 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
24893 byte-compile-lambda if it's actually a lambda.
24895 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
24896 Fix function quoting. Use backquote better.
24898 2011-05-22 Yuanle Song <sylecn@gmail.com>
24900 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
24901 matching (Bug#8516).
24903 2011-05-22 Jari Aalto <jari.aalto@cante.net>
24905 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
24906 different face (Bug#8178).
24908 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
24910 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
24911 defface (Bug#8144).
24913 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
24915 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
24916 funcall as well (bug#8712). Warn when performing those conversions.
24917 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
24919 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
24921 2011-05-22 Glenn Morris <rgm@gnu.org>
24923 * files.el (hack-local-variables-prop-line): Small simplifications.
24924 (hack-local-variables, hack-local-variables-prop-line):
24925 If MODE-ONLY, return the mode, rather than just `t'.
24927 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
24929 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
24931 2011-05-21 Glenn Morris <rgm@gnu.org>
24933 * files.el (hack-local-variables-prop-line, hack-local-variables):
24934 If only interested in the mode, don't bother doing the other stuff.
24936 * image-mode.el (image-after-revert-hook):
24937 Redraw all frames on which the image is visible. (Bug#8567)
24939 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
24941 * wid-edit.el (widget-checklist-match-inline):
24942 Fix 2011-04-19 change. (Bug#8649)
24944 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
24946 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
24947 Also allow singlespace after single-letter capitals followed by a dot.
24949 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
24950 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
24952 2011-05-20 Nix <nix@esperi.org.uk>
24954 * files.el (basic-save-buffer-2):
24955 Fix handling of break-hardlink-on-save with non-existent files.
24957 2011-05-19 Deniz Dogan <deniz@dogan.se>
24959 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
24960 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
24962 2011-05-19 Glenn Morris <rgm@gnu.org>
24964 * progmodes/f90.el (f90-type-def-re):
24965 Handle "type, bind(c)". (Bug#8691)
24967 * emacs-lisp/autoload.el (batch-update-autoloads):
24968 Set autoload-excludes by parsing loadup.el rather than Makefiles.
24970 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
24972 * net/tramp.el (tramp-process-actions): Set "first-password-request"
24973 property for the correct connection in case of multihops.
24975 2011-05-18 Glenn Morris <rgm@gnu.org>
24977 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
24978 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
24980 Rationalize calendar handling of day and month abbrev-arrays.
24981 * calendar/calendar.el (calendar-customized-p): New function.
24982 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
24983 (calendar-day-name-array, calendar-month-name-array): Doc fix.
24985 (calendar-abbrev-length, calendar-day-abbrev-array)
24986 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
24987 (calendar-day-abbrev-array, calendar-month-abbrev-array):
24988 Elements may no longer be nil.
24989 (calendar-day-name, calendar-month-name):
24990 Update for changed nature of abbrev arrays.
24991 * calendar/diary-lib.el (diary-name-pattern):
24992 Update for changed nature of abbrev arrays.
24993 (diary-mark-entries-1): Update calendar-make-alist calls.
24994 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
24995 * calendar/cal-html.el (cal-html-day-abbrev-array):
24996 Simply inherit from calendar-day-abbrev-array.
24998 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
25000 * progmodes/grep.el (grep-mode): Disable default
25001 compilation-directory-matcher setting (bug#8684).
25003 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
25005 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
25006 instead of "head" and "tail". There were problems with SunOS 5.9,
25007 and it performs better.
25009 2011-05-17 Glenn Morris <rgm@gnu.org>
25011 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
25013 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
25014 Replace obsolete function.
25016 * shell.el (pcomplete-parse-arguments-function): Declare.
25018 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
25019 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
25020 (appt-check): Doc fixes.
25021 (appt-disp-window-function, appt-delete-window-function):
25022 Remove needless special case in custom :type.
25023 (appt-display-count): Default to 0, not nil.
25024 (appt-check): Reset appt-display-count to 0, not nil.
25026 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
25028 * progmodes/python.el (python-font-lock-keywords):
25029 Add the Python 3.X keyword "nonlocal" (bug#8639).
25031 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
25033 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
25035 2011-05-16 Kevin Ryde <user42@zip.com.au>
25037 * info-look.el (makefile-automake-mode): New setups, looking in
25038 automake manual, then makefile-mode.
25039 (makefile-mode): Remove automake manual, have it just in
25040 makefile-automake-mode since there's various things different or
25041 not relevant to plain make.
25042 (makefile-mode): Remove "other-modes" non-existent automake-mode,
25043 believe a hypothetical automake-mode would go to makefile-mode,
25044 not the other way around.
25046 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
25048 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
25049 hunk-end tags (Bug#8672).
25051 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
25052 vc-annotate-show-diff-revision-at-line (Bug#8671).
25054 2011-05-14 Glenn Morris <rgm@gnu.org>
25056 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
25057 in the middle of an existing one with multiple authors. (Bug#8645)
25058 (change-log-font-lock-keywords): Also handle multiple author lines
25059 with leading tabs. (Bug#8644)
25061 * calendar/appt.el (appt-check): Rename some local variables.
25062 Some simplification/reordering.
25064 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
25065 (feedmail-sendmail-f-doesnt-sell-me-out)
25066 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25067 (feedmail-debug-sit-for, feedmail-queue-express-hook)
25068 (feedmail-queue-runner-message-sender): Set :version.
25069 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
25070 (bbdb-dwim-net-address, vm-mail): Declare.
25071 (feedmail-binmail-gnulinuxish-template):
25072 Rename from feedmail-binmail-linuxish-template.
25073 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
25074 Use insert-buffer-substring.
25076 2011-05-14 Bill Carpenter <bill@carpenter.org>
25078 * mail/feedmail.el (feedmail-patch-level): Increase.
25079 (feedmail-debug): New custom group.
25080 (feedmail-confirm-outgoing-timeout)
25081 (feedmail-sendmail-f-doesnt-sell-me-out)
25082 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25083 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
25084 (feedmail-sender-line, feedmail-from-line)
25085 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
25086 (feedmail-spray-this-address)
25087 (feedmail-spray-address-fiddle-plex-list)
25088 (feedmail-queue-use-send-time-for-date)
25089 (feedmail-queue-use-send-time-for-message-id)
25090 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
25091 (feedmail-buffer-eating-function):
25093 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
25094 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
25095 (feedmail-message-action-scroll-down): New functions.
25096 (feedmail-queue-directory, feedmail-queue-draft-directory):
25097 Use expand-file-name.
25098 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
25099 Remove C-v help entry.
25100 (feedmail-queue-buffer-file-name): New variable.
25101 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
25102 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
25103 (feedmail-message-action-send-strong, feedmail-message-action-edit)
25104 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
25105 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
25106 (feedmail-message-action-toggle-spray)
25107 (feedmail-run-the-queue-no-prompts)
25108 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
25109 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
25110 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
25111 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
25112 (feedmail-envelope-deducer, feedmail-fiddle-from)
25113 (feedmail-fiddle-sender, feedmail-default-date-generator)
25114 (feedmail-fiddle-date, feedmail-fiddle-message-id)
25115 (feedmail-fiddle-spray-address)
25116 (feedmail-fiddle-list-of-spray-fiddle-plexes)
25117 (feedmail-fiddle-list-of-fiddle-plexes)
25118 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
25119 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
25120 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
25121 Change default. Doc fix.
25122 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
25123 (feedmail-binmail-linuxish-template): New constant.
25124 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
25125 Respect feedmail-sendmail-f-doesnt-sell-me-out.
25126 (feedmail-send-it): Add debug call.
25127 Use feedmail-queue-buffer-file-name, and
25128 feedmail-send-it-immediately-wrapper.
25129 (feedmail-message-action-send): Add debug call.
25130 Use feedmail-send-it-immediately-wrapper.
25131 (feedmail-queue-express-to-queue): Add debug call.
25132 Run feedmail-queue-express-hook.
25133 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
25134 (feedmail-message-action-help-blat):
25135 Rename from feedmail-queue-send-edit-prompt-help-first.
25136 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
25137 Check line-endings. Handle errors better.
25138 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
25139 Doc fix. Add debug call.
25140 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
25141 Use feedmail-queue-send-edit-prompt-inner.
25142 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
25143 (feedmail-queue-send-edit-prompt-inner): New function, extracted
25144 from feedmail-queue-send-edit-prompt.
25145 (feedmail-queue-send-edit-prompt-help)
25146 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
25147 (feedmail-tidy-up-slug): Add debug call.
25148 Respect feedmail-queue-slug-suspect-regexp.
25149 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
25150 (feedmail-dump-message-to-queue): Add debug call.
25151 Expand queue-directory.
25152 (feedmail-dump-message-to-queue): Change message slightly.
25153 Use feedmail-say-chatter.
25154 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
25155 (feedmail-send-it-immediately-wrapper): New function.
25156 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
25157 Insert empty string rather than newline. Handle full-frame case.
25158 Use catch/throw. Use feedmail-say-chatter.
25159 (feedmail-fiddle-from): Try mail-host-address.
25160 (feedmail-default-message-id-generator): Doc fix.
25161 Bind system-time-locale. Handle missing end.
25162 (feedmail-fiddle-x-mailer): Add debug call.
25163 Handle feedmail-x-mailer-line being nil.
25164 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
25165 Add debug call. Use buffer-substring-no-properties.
25166 (feedmail-say-debug, feedmail-say-chatter): New functions.
25167 (feedmail-find-eoh): Give an explicit error.
25169 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
25171 * net/newst-treeview.el (newsticker-treeview-face): Change default
25172 family from helvetica to sans.
25173 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
25174 etc/images/newsticker.
25176 * net/newst-reader.el (newsticker-feed-face): Change default
25177 family from helvetica to sans.
25179 * net/newst-plainview.el (newsticker-new-item-face)
25180 (newsticker-old-item-face, newsticker-immortal-item-face)
25181 (newsticker-obsolete-item-face, newsticker-date-face)
25182 (newsticker-statistics-face): Change default family from
25184 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
25185 etc/images/newsticker.
25187 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
25188 (newsticker--process-auto-mark-filter-match): Tell user about
25191 2011-05-13 Didier Verna <didier@xemacs.org>
25193 Common Lisp indentation improvements on defmethod and lambda-lists.
25194 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
25196 (lisp-lambda-list-keyword-parameter-indentation)
25197 (lisp-lambda-list-keyword-parameter-alignment)
25198 (lisp-lambda-list-keyword-alignment): New customizable user options.
25199 (lisp-indent-defun-method): Improve docstring.
25200 (extended-loop-p): Fix comment.
25201 (lisp-indent-lambda-list-keywords-regexp): New variable.
25202 (lisp-indent-lambda-list): New function.
25203 (lisp-indent-259): Use it.
25204 (lisp-indent-defmethod): Support for more than one
25205 method qualifier and properly indent methods lambda-lists.
25206 (defgeneric): Provide a missing common-lisp-indent-function property.
25208 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
25210 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
25211 bounds for the empty string (bug#8667).
25213 2011-05-13 Glenn Morris <rgm@gnu.org>
25215 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
25217 * mail/sendmail.el (sendmail-program): Try executable-find first.
25218 (sendmail-send-it): `sendmail-program' cannot be unbound.
25220 * calendar/appt.el (appt-make-list): Simplify.
25221 (appt-time-msg-list): Doc fix.
25222 (appt-check): Change mode-line message at the time of the appointment.
25224 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
25226 * progmodes/ld-script.el (ld-script-keywords)
25227 (ld-script-builtins): Update keywords list.
25229 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25231 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
25233 * shell.el (shell-completion-vars): New function.
25235 * simple.el (read-shell-command): Use it.
25236 (blink-matching-open): No need for " [...]" in minibuffer-message.
25238 2011-05-12 Glenn Morris <rgm@gnu.org>
25240 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
25241 (appt-check): Simplify.
25243 2011-05-12 Eli Zaretskii <eliz@gnu.org>
25245 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
25246 literal "/dev/null".
25248 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25250 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
25253 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
25255 * progmodes/which-func.el (which-function):
25256 Use add-log-current-defun instead of add-log-current-defun-function,
25257 which might not be defined (Bug#8260).
25259 2011-05-12 Glenn Morris <rgm@gnu.org>
25261 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
25262 Let byte-compile-initial-macro-environment always take precedence.
25264 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25266 * net/rcirc.el: Add support for SSL/TLS connections.
25267 (rcirc-server-alist): New field `encryption'.
25268 (rcirc): Check `encryption' settings.
25269 (rcirc-connect): New arg `encryption'. Use open-network-stream.
25270 Merge make-local-variable into `set'.
25271 (rcirc--connection-open-p): New function.
25272 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
25273 the process is not a network process (e.g. running gnutls-cli).
25274 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
25275 Make rcirc-(en|de)code-coding-system local here.
25276 (rcirc-mode): Merge make-local-variable into `set'.
25277 (rcirc-parent-buffer): Make permanent buffer-local.
25278 (rcirc-multiline-minor-mode): Don't do it here.
25279 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
25280 there's no server buffer.
25282 2011-05-11 Glenn Morris <rgm@gnu.org>
25284 * newcomment.el (comment-kill): Prefix "unused" local.
25286 * term/w32console.el (get-screen-color): Declare.
25288 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
25289 Handle symbol elements of byte-compile-initial-macro-environment.
25291 2011-05-10 Leo Liu <sdl.web@gmail.com>
25293 * bookmark.el (bookmark-bmenu-mode-map):
25294 Bind bookmark-bmenu-search to `/'.
25296 * mail/footnote.el: Convert to utf-8 encoding.
25297 (footnote-unicode-string, footnote-unicode-regexp): New variable.
25298 (Footnote-unicode): New function.
25299 (footnote-style-alist): Add unicode style to the list.
25300 (footnote-style): Doc fix.
25302 2011-05-10 Jim Meyering <meyering@redhat.com>
25304 Fix doubled-word typos.
25305 * international/quail.el (quail-insert-kbd-layout): and and -> and
25306 * kermit.el: and and -> and
25307 * net/ldap.el (ldap-search-internal): to to -> to
25308 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
25309 * progmodes/js.el (js-mode): and and -> and
25310 * textmodes/artist.el (artist-move-to-xy): at at -> at
25311 (artist-draw-region-trim-line-endings): if if -> if
25312 And Safetyc -> Safety.
25313 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
25315 2011-05-10 Glenn Morris <rgm@gnu.org>
25316 Stefan Monnier <monnier@iro.umontreal.ca>
25318 * files.el (hack-one-local-variable-eval-safep):
25319 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
25321 2011-05-10 Glenn Morris <rgm@gnu.org>
25323 * calendar/diary-lib.el (diary-list-entries-hook)
25324 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
25325 (diary-nongregorian-marking-hook, diary-list-entries)
25326 (diary-include-other-diary-files, diary-mark-entries)
25327 (diary-mark-included-diary-files): Doc fixes.
25329 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25331 * misc.el: Require tabulated-list.el during compilation.
25333 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25335 * progmodes/compile.el (compilation-start):
25336 Run compilation-filter-hook for the async case too.
25337 (compilation-filter-hook): Doc fix.
25339 2011-05-09 Deniz Dogan <deniz@dogan.se>
25341 * wdired.el: Remove outdated installation comment. Fix usage
25344 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25346 * misc.el: Implement new command `list-dynamic-libraries'.
25347 (list-dynamic-libraries--loaded-only-p): New variable.
25348 (list-dynamic-libraries--refresh): New function.
25349 (list-dynamic-libraries): New command.
25351 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25353 * progmodes/compile.el (compilation-error-regexp-alist-alist):
25354 Fix the ant regexp to handle end-line and end-column info from jikes.
25355 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
25356 higher priority to avoid clobbering by gnu.
25358 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25360 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
25361 if the face has existing theme settings (Bug#8454).
25363 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
25365 * progmodes/perl-mode.el (perl-imenu-generic-expression):
25366 Only match variables declared via `my' or `our' (Bug#8261).
25368 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
25369 special file names `.' and `..' (Bug#8259).
25371 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25373 * progmodes/grep.el (grep-mode-font-lock-keywords):
25374 Remove buffer-changing entries.
25375 (grep-filter): New function.
25376 (grep-mode): Add it to compilation-filter-hook.
25378 * progmodes/compile.el (compilation-filter-hook)
25379 (compilation-filter-start): New defvars.
25380 (compilation-filter): Call compilation-filter-hook prior to
25381 updating the process mark.
25383 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
25385 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
25387 2011-05-07 Eli Zaretskii <eliz@gnu.org>
25389 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
25390 mailclient-send-it even if window-system is nil. (Bug#8595)
25392 * term/w32console.el (terminal-init-w32console):
25393 Call get-screen-color and use its output to set the frame
25394 background-mode. (Bug#8597)
25396 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
25398 Make bytecomp.el understand that defmethod defines funs (bug#8631).
25399 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
25401 (defgeneric, eieio--defmethod): Use them.
25402 (eieio-defgeneric): Remove.
25403 (defmethod): Call defgeneric in a way visible to the byte-compiler.
25405 2011-05-07 Glenn Morris <rgm@gnu.org>
25407 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
25408 Use let rather than let*.
25409 (timeclock-find-discrep): Remove unused local.
25411 * calendar/diary-lib.el (diary-comment-start): Doc fix.
25413 * calendar/appt.el (appt-time-msg-list): Doc fix.
25415 2011-05-06 Noah Friedman <friedman@splode.com>
25417 * apropos.el (apropos-print-doc): Only use
25418 emacs-lisp-docstring-fill-column when it is bound to an integer,
25419 per that variable's documentation.
25421 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
25423 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
25424 and warnings are not silently discarded (e.g. use -d instead of -P).
25426 2011-05-06 Glenn Morris <rgm@gnu.org>
25428 * calendar/appt.el (appt-message-warning-time): Doc fix.
25429 (appt-warning-time-regexp): New option.
25430 (appt-make-list): Respect appt-message-warning-time.
25432 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
25434 (diary-add-to-list): Strip comments from the displayed string.
25435 (diary-mode): Set comment-start and comment-end.
25437 * vc/diff-mode.el (smerge-refine-subst): Declare.
25438 (diff-refine-hunk): Don't require smerge-mode when compiling.
25440 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
25442 * simple.el (list-processes): Return nil as the docstring says.
25444 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25446 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
25448 (ange-ftp-write-region, ange-ftp-insert-file-contents)
25449 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
25450 determining of binary transfer. (Bug#7383)
25452 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25454 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25455 Fix port computation bug. (Bug#8618)
25457 2011-05-05 Glenn Morris <rgm@gnu.org>
25459 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
25461 * simple.el (shell-dynamic-complete-functions)
25462 (comint-dynamic-complete-functions): Declare.
25464 * net/network-stream.el (gnutls-negotiate):
25465 * simple.el (tabulated-list-print): Fix declarations.
25467 * progmodes/gud.el (syntax-symbol, syntax-point):
25468 Remove unnecessary and incorrect declarations.
25470 * emacs-lisp/check-declare.el (check-declare-scan):
25471 Handle byte-compile-initial-macro-environment in bytecomp.el.
25473 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
25475 Fix earlier half-done eieio-defmethod change (bug#8338).
25476 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
25477 Streamline and change calling convention.
25478 (defmethod): Adjust accordingly and simplify.
25479 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
25480 new eieio--defmethod.
25481 (slot-boundp): Minor CSE simplification.
25483 2011-05-05 Milan Zamazal <pdm@zamazal.org>
25485 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
25486 (glasses-make-readable): Use glasses-separate-capital-groups.
25488 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
25490 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
25491 (warning-series): Doc fix.
25492 (display-warning): Don't try to create the buffer if we just found it.
25494 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
25496 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
25497 (autoload-find-generated-file): New function.
25498 (generate-file-autoloads): Bind generated-autoload-file to
25500 (update-file-autoloads, update-directory-autoloads):
25501 Use autoload-find-generated-file. If called interactively, prompt for
25502 output file (Bug#7989).
25503 (batch-update-autoloads): Doc fix.
25505 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
25507 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
25509 2011-05-04 Glenn Morris <rgm@gnu.org>
25511 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
25512 function, so it follows changes in calendar-date-style.
25513 (diary-fancy-date-matcher): New function.
25514 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
25515 (diary-fancy-font-lock-fontify-region-function):
25516 Use diary-fancy-date-pattern as a function.
25518 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
25519 non-numbers for `year' etc pseudo-variables. (Bug#8583)
25521 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
25523 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
25524 instead of positional arguments. Allow :keylist and :crlfiles
25526 (open-gnutls-stream): Call it.
25528 * net/network-stream.el (network-stream-open-starttls): Adjust to
25529 call `gnutls-negotiate' with :process and :hostname arguments.
25531 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
25533 * minibuffer.el (completion--message): New function.
25534 (completion--do-completion, minibuffer-complete)
25535 (minibuffer-force-complete, minibuffer-complete-word): Use it.
25536 (completion--do-completion): Don't ignore completion-auto-help when in
25539 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
25540 internal encoding (e.g. tibetan zero is not whitespace).
25541 (global-whitespace-mode): Prefer save-current-buffer.
25542 (whitespace-trailing-regexp): Remove useless save-match-data.
25543 (whitespace-empty-at-bob-regexp): Minor simplification.
25545 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
25547 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
25549 2011-05-03 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
25551 * textmodes/ispell.el (ispell-add-per-file-word-list):
25552 Use `concat' to create string for insertion.
25554 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25556 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
25557 Avoid open-line which runs post-self-insert-hook.
25558 (bibtex-fill-entry): Remove unused `end' var.
25560 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
25562 * textmodes/ispell.el (ispell-add-per-file-word-list):
25563 Protect against `nil' value of `comment-start' (Bug#8579).
25565 2011-05-03 Leo Liu <sdl.web@gmail.com>
25567 * isearch.el (isearch-yank-pop): New command.
25568 (isearch-mode-map): Bind it to `M-y'.
25569 (isearch-forward): Mention it.
25571 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25573 * simple.el (minibuffer-complete-shell-command): Remove.
25574 (minibuffer-local-shell-command-map): Use completion-at-point.
25575 (read-shell-command): Setup completion vars here instead.
25576 (read-expression-map): Bind TAB to symbol completion.
25578 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
25579 error directly rather via storing it into `results'.
25581 2011-05-02 Leo Liu <sdl.web@gmail.com>
25583 * vc/diff.el: Fix description.
25585 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
25587 * server.el (server-eval-at): New function.
25589 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
25591 * net/network-stream.el (open-network-stream): Take a :nowait
25592 parameter and pass it on to `make-network-process'.
25593 (network-stream-open-plain): Ditto.
25595 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
25597 * faces.el (face-spec-set-match-display): Don't match toolkit
25598 options on terminal frames.
25600 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
25602 * progmodes/pascal.el: Use lexical binding.
25603 (pascal-mode-map): Remove author preferences.
25605 * pcomplete.el (pcomplete-std-complete): Don't abuse
25606 completion-at-point.
25608 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25610 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
25611 removing code that has been dead since 1991 or so.
25613 * startup.el (command-line): When warning about "_emacs", use a
25614 delayed warning to allow the user to filter it out.
25616 2011-04-28 Deniz Dogan <deniz@dogan.se>
25618 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
25619 user has not joined.
25621 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25623 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
25624 aren't any completions at point.
25626 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25628 * subr.el (display-delayed-warnings): New function.
25629 (delayed-warnings-hook): New variable.
25631 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25633 * minibuffer.el (completion-at-point, completion-help-at-point):
25634 Don't presume that a given completion-at-point-function will always
25635 use the same calling convention.
25637 * pcomplete.el (pcomplete-completions-at-point):
25638 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
25639 pcomplete-seen is non-nil.
25640 (pcomplete-comint-setup): Also recognize the new comint/shell
25641 completion functions.
25642 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
25643 pcomplete-seen is non-nil.
25645 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
25647 * calendar/icalendar.el (diary-lib): Add require statement.
25648 (icalendar--create-uid): Read out a uid from a text-property on
25649 the first character in the entry. This allows for code to add its
25650 own uid to the entry.
25651 (icalendar--convert-float-to-ical): Add export of
25652 `diary-float'-entries save for those with the optional DAY
25655 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
25657 * subr.el (shell-quote-argument): Use alternate escaping strategy
25658 when we spot a variable reference in a string.
25660 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25662 * cus-start.el (all): Define customization for debug-on-event.
25664 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25666 * subr.el (shell-quote-argument): Escape correctly under Windows.
25668 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25670 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
25672 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
25674 * net/tramp.el (tramp-process-actions): Add POS argument.
25675 Delete region between POS and (pos).
25677 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25678 Use `nil' position in `tramp-process-actions' call.
25679 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
25681 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
25682 position in `tramp-process-actions' call.
25684 * net/trampver.el: Update release number.
25686 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25688 * custom.el (defcustom): Obey lexical-binding.
25690 Fix octave-inf completion problems reported by Alexander Klimov.
25691 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
25692 Inherit from octave-mode-syntax-table.
25693 (inferior-octave-mode): Set info-lookup-mode.
25694 (inferior-octave-completion-at-point): New function.
25695 (inferior-octave-complete): Use it and completion-in-region.
25696 (inferior-octave-dynamic-complete-functions): Use it as well, and use
25697 comint-filename-completion.
25698 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
25699 symbol elements which shouldn't be word elements.
25700 (octave-font-lock-keywords, octave-beginning-of-defun)
25701 (octave-function-header-regexp): Adjust regexps accordingly.
25702 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
25704 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
25706 * net/gnutls.el (gnutls-errorp): Declare before first use.
25708 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
25710 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
25711 verify-error, and verify-hostname-error parameters. Check whether
25712 default trustfile exists before going to use it. Add missing
25713 argument to gnutls-message-maybe call. Return value.
25714 Reported by Claudio Bley <claudio.bley@gmail.com>.
25715 (open-gnutls-stream): Add usage example.
25717 * net/network-stream.el (network-stream-open-starttls): Give host
25718 parameter to `gnutls-negotiate'.
25719 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
25720 * subr.el (shell-quote-argument): Escape correctly under Windows.
25722 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
25724 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
25725 Use correct match group (bug#8438).
25727 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25729 * emacs-lisp/package.el (package-built-in-p): Fix typo.
25730 (package-menu--generate): New arg specifying packages to show.
25731 (package-menu-refresh, package-menu-execute, list-packages):
25733 (package-show-package-list): New function, replacing deleted
25734 package--list-packages (renamed because it is non-internal).
25736 * finder.el (finder-list-matches): Use package-show-package-list
25737 instead of deleted package--list-packages.
25739 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
25740 Based on a previous implementation by Juanma Barranquero (Bug#8366).
25741 (vc-annotate-mode-map): Bind it to RET.
25743 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
25745 * progmodes/etags.el (next-file): Don't use set-buffer to change
25746 buffers (Bug#8478).
25748 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25750 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
25752 * apropos.el (apropos-label-face): Avoid variable-pitch face.
25753 (apropos-accumulator): Doc fix.
25754 (apropos-function, apropos-macro, apropos-command)
25755 (apropos-variable, apropos-face, apropos-group, apropos-widget)
25756 (apropos-plist): Add face property.
25757 (apropos-symbols-internal): Fix indentation.
25758 (apropos-print): Simplify help, and recognize apropos-multi-type.
25759 (apropos-print-doc): Use button-type-get to extract the button's
25760 face property. Fill docstring (Bug#8352).
25762 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
25764 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
25766 * play/mpuz.el (mpuz-silent): Doc fix.
25767 (mpuz-mode-map): Use mapc.
25768 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
25769 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
25770 Fix typos in docstrings.
25772 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
25773 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
25775 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
25777 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
25779 * minibuffer.el (completion--do-completion): Avoid the "Next char
25780 not unique" prompt if icomplete-mode is enabled (Bug#5849).
25782 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
25783 mouse-2 into unread-command-events, it is interpreted correctly.
25785 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
25786 (image-toggle-display): Doc fix.
25788 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
25790 * textmodes/page.el (what-page): Use line-number-at-pos to
25791 calculate line number (Bug#6825).
25793 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25795 * eshell/esh-mode.el (find-tag-interactive): Declare function.
25796 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
25797 Pass argument NO-DEFAULT to `find-tag-interactive'.
25799 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25801 Lexical-binding cleanup.
25803 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
25804 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
25805 * progmodes/ada-prj.el (ada-prj-initialize-values)
25806 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
25807 (ada-prj-show-value):
25808 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
25809 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
25810 (antlr-invalidate-context-cache, antlr-options-menu-filter)
25811 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
25812 * progmodes/bug-reference.el (bug-reference-push-button):
25813 * progmodes/fortran.el (fortran-line-length):
25814 * progmodes/glasses.el (glasses-change):
25815 * progmodes/octave-mod.el (octave-fill-paragraph):
25816 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
25817 (python-pdbtrack-grub-for-buffer, python-sentinel):
25818 * progmodes/sql.el (sql-save-connection):
25819 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
25820 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
25821 Mark unused parameters.
25823 * progmodes/compile.el (compilation--flush-directory-cache)
25824 (compilation--flush-parse, compile-internal): Mark unused parameters.
25825 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
25826 (compilation-next-error-function): Remove unused variable `timestamp'.
25828 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
25829 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
25831 * progmodes/dcl-mode.el (dcl-end-of-command):
25832 Remove unused variable `start'.
25833 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
25834 (dcl-option-value-basic, dcl-option-value-offset)
25835 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
25836 Mark unused parameters.
25837 (dcl-save-local-variable): Remove unused variable `val'.
25840 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
25841 Mark unused parameters.
25842 (delphi-ignore-changes): Move before first use.
25843 (delphi-charset-token-at): Remove unused variable `start'.
25844 (delphi-else-start): Remove unused variable `if-count'.
25845 (delphi-comment-block-start, delphi-comment-block-end):
25846 Remove unused variable `kind'.
25847 (delphi-indent-line): Remove unused variable `new-point'.
25849 * progmodes/ebrowse.el (ebrowse-files-list)
25850 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
25851 Mark unused parameters. Don't quote `lambda'.
25852 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
25853 Don't quote `lambda'.
25854 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
25855 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
25856 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
25857 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
25858 Use `ignore-errors'.
25859 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
25860 (ebrowse-view/find-file-and-search-pattern)
25861 (ebrowse-view/find-member-declaration/definition):
25862 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
25863 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
25864 Rename parameter PREFIX-ARG to PREFIX.
25865 (ebrowse-tags-read-name): Remove unused variables `start' and
25867 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
25870 * progmodes/etags.el (local-find-tag-hook): Declare.
25871 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
25872 Mark unused parameters.
25874 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
25875 (executable-interpret): Mark unused parameter.
25877 * progmodes/flymake.el (flymake-process-sentinel)
25878 (flymake-after-change-function)
25879 (flymake-create-temp-with-folder-structure)
25880 (flymake-get-include-dirs-dot): Mark unused parameters.
25881 (flymake-safe-delete-directory): Remove unused variable `err'.
25883 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
25884 (speedbar-timer-fn, speedbar-line-text)
25885 (speedbar-change-expand-button-char, speedbar-delete-subblock)
25886 (speedbar-center-buffer-smartly): Declare functions.
25887 (gdb-find-watch-expression): Remove unused variable `array'.
25888 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
25889 (gdb-starting): Mark unused parameters.
25890 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
25891 (gdb-table-string): Remove unused variable `res'.
25892 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
25893 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
25894 (gdb-display-buffer): Remove unused variable `cur-size'.
25896 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
25897 allow lexical-binding compilation.
25898 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
25899 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
25900 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
25901 Mark unused parameters.
25902 (gud-gdb-marker-filter): Remove unused variable `match'.
25903 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
25904 lambda expressions and funcall them, instead of using `fset'.
25906 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
25907 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
25909 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
25910 variable `header-beg'; use `let'.
25912 * progmodes/icon.el (indent-icon-exp): Remove unused variables
25913 `restart', `last-sexp' and `at-do'.
25915 * progmodes/js.el (js--debug): Mark unused parameter.
25916 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
25917 (js--splice-into-items): Remove unused variable `item'.
25918 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
25920 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
25921 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
25922 (makefile-complete): Remove unused variable `try'.
25923 (makefile-fill-paragraph, makefile-match-function-end):
25924 Mark unused parameters.
25926 * progmodes/octave-inf.el (inferior-octave-complete):
25927 Remove unused variable `proc'.
25928 (inferior-octave-output-digest): Mark unused parameter.
25930 * progmodes/perl-mode.el (perl-calculate-indent):
25931 Remove unused variable `err'.
25933 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
25934 (prolog-indent-line): Mark unused parameters.
25935 (prolog-indent-line): Remove unused variable `beg'.
25937 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
25938 (reporter-dont-compact-list): Declare.
25940 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
25941 Remove unused variable `char'.
25942 (sh-debug): Mark unused parameter.
25943 (sh-get-indent-info): Remove unused variable `start'.
25944 (sh-calculate-indent): Remove unused variable `var'.
25946 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
25947 (simula-electric-keyword): Remove unused variable `null'.
25948 (simula-search-backward, simula-search-forward): Remove unused
25949 variables `begin' and `end'.
25951 * progmodes/vera-mode.el (vera-guess-basic-syntax):
25952 Remove unused variable `pos'.
25953 (vera-electric-tab, vera-comment-uncomment-region):
25954 Mark unused parameters.
25955 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
25957 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
25959 * emacs-lisp/package.el (package--builtins, package-alist)
25960 (package-load-descriptor, package-built-in-p, package-activate)
25961 (define-package, package-installed-p)
25962 (package-compute-transaction, package-buffer-info)
25963 (package--push): Doc fix. Distinguish more clearly between
25964 version strings and version lists.
25966 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
25968 Lexical-binding cleanup.
25970 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
25971 (5x5-make-mutate-best):
25972 * play/fortune.el (fortune-in-buffer):
25973 * play/gomoku.el (gomoku-init-display):
25974 * play/solitaire.el (solitaire, solitaire-do-check):
25975 * play/tetris.el (tetris-default-update-speed-function):
25976 Mark unused parameters.
25978 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
25979 (bubbles--shift): Remove unused variable `char-org'.
25980 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
25981 (bubbles--show-images): Remove unused variable `char'.
25983 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
25984 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
25985 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
25986 (decipher-analyze-buffer): Use ?\s.
25987 (decipher-make-checkpoint): Remove unused variable `mapping'.
25989 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
25991 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
25992 Remove unused variable `result'; use `let'.
25994 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
25995 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
25996 (gametree-children-shown-p, gametree-compute-reduced-score):
25997 Use `ignore-errors'.
25999 * play/handwrite.el (ps-lpr-switches): Declare.
26000 (handwrite): Remove unused variables `pmin' and `lastp'.
26002 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
26004 * play/landmark.el (landmark-init-display)
26005 (landmark-update-naught-weights): Mark unused parameters.
26006 (landmark-y): Remove unused variable `noise'. Simplify.
26007 (landmark-human-plays): Remove unused variable `score'.
26009 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
26010 (mpuz-try-proposal): Remove unused variable `game'.
26012 * play/zone.el (life-patterns): Declare.
26014 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
26016 * vc/vc.el (ediff-vc-internal): Declare function.
26018 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26020 * shell.el: Use lexical-binding and std completion UI.
26021 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
26022 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
26023 comint-preoutput-filter-functions rather than on
26024 comint-output-filter-functions.
26025 (shell-command-completion, shell--command-completion-data)
26026 (shell-filename-completion, shell-environment-variable-completion)
26027 (shell-c-a-p-replace-by-expanded-directory): New functions.
26028 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
26029 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
26030 (shell-dynamic-complete-environment-variable): Use them.
26031 (shell-dynamic-complete-as-environment-variable)
26032 (shell-dynamic-complete-as-command): Remove.
26033 (shell-match-partial-variable): Match past point.
26034 * comint.el: Clean up use of completion-at-point-functions.
26035 (comint-completion-at-point): New function.
26036 (comint-mode): Use it completion-at-point-functions.
26037 (comint-dynamic-complete): Make it obsolete.
26038 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
26039 (comint-c-a-p-replace-by-expanded-history): New function.
26040 (comint-dynamic-complete-functions)
26041 (comint-replace-by-expanded-history): Use it.
26042 * minibuffer.el (completion-table-with-terminator): Allow dynamic
26043 termination strings. Try harder to avoid second try-completion.
26044 (completion-in-region-mode-map): Disable bindings that don't work yet.
26046 * comint.el: Use lexical-binding. Require CL.
26047 (comint-dynamic-complete-functions): Use comint-filename-completion.
26048 (comint-completion-addsuffix): Tweak custom type.
26049 (comint-filename-completion, comint--common-suffix)
26050 (comint--common-quoted-suffix, comint--table-subvert)
26051 (comint--complete-file-name-data): New functions.
26052 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
26053 (comint-dynamic-list-filename-completions): Use them.
26054 (comint-dynamic-simple-complete): Make obsolete.
26056 * minibuffer.el (completion-in-region-mode):
26057 Keep completion-in-region-mode--predicate global.
26058 (completion-in-region--postch):
26059 Assume completion-in-region-mode--predicate is not null.
26061 * progmodes/flymake.el (flymake-start-syntax-check-process):
26062 Obey `dir'. Simplify.
26064 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
26065 we're in VC after all.
26067 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
26069 * vc/vc.el (vc-diff-build-argument-list-internal)
26070 (vc-version-ediff, vc-ediff): New commands.
26071 (vc-version-diff): Use vc-diff-build-argument-list-internal.
26073 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26075 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
26078 * obsolete/erc-hecomplete.el: Make obsolete.
26079 * obsolete/: Standardize obsolescence info in the header.
26081 2011-04-20 Glenn Morris <rgm@gnu.org>
26083 * calendar/solar.el (solar-horizontal-coordinates):
26084 Use the longitude argument rather than `calendar-longitude'.
26085 (solar-date-next-longitude): Remove unused locals.
26087 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
26089 * whitespace.el: New version 13.2.1.
26091 2011-04-20 felix <EmacsWiki> (tiny change)
26093 * whitespace.el (global-whitespace-mode): Keep highlight when
26094 switching between major modes on a file.
26096 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
26098 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
26099 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
26100 multi-line comments as well.
26102 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
26104 Lexical-binding cleanup.
26106 * arc-mode.el (archive-mode-revert):
26107 * cmuscheme.el (scheme-interactively-start-process):
26108 * custom.el (custom-initialize-delay):
26109 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
26110 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
26111 * emacs-lock.el (emacs-lock-clear-sentinel):
26112 * ezimage.el (defezimage):
26113 * follow.el (follow-avoid-tail-recenter):
26114 * fringe.el (set-fringe-mode-1):
26115 * generic-x.el (bat-generic-mode-compile):
26116 * help-mode.el (help-info-variable, help-do-xref)
26117 (help-mode-revert-buffer):
26118 * help.el (view-emacs-todo):
26119 * iswitchb.el (iswitchb-completion-help):
26120 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
26121 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
26122 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
26123 * locate.el (locate-update):
26124 * longlines.el (longlines-encode-region)
26125 (longlines-after-change-function):
26126 * outline.el (outline-isearch-open-invisible):
26127 * ps-def.el (declare-function, charset-dimension, char-width)
26129 * ps-mule.el (ps-mule-plot-string):
26130 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
26131 (recentf-edit-list-select, recentf-edit-list-validate)
26132 (recentf-open-files-action):
26133 * rect.el (delete-whitespace-rectangle-line)
26134 (rectangle-number-line-callback):
26135 * register.el (window-configuration-to-register)
26136 (frame-configuration-to-register):
26137 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
26138 * select.el (xselect-convert-to-string, xselect-convert-to-length)
26139 (xselect-convert-to-targets, xselect-convert-to-delete)
26140 (xselect-convert-to-filename, xselect-convert-to-charpos)
26141 (xselect-convert-to-lineno, xselect-convert-to-colno)
26142 (xselect-convert-to-os, xselect-convert-to-host)
26143 (xselect-convert-to-user, xselect-convert-to-class)
26144 (xselect-convert-to-name, xselect-convert-to-integer)
26145 (xselect-convert-to-atom, xselect-convert-to-identity):
26146 * subr.el (declare, ignore, process-kill-without-query)
26147 (text-clone-maintain):
26148 * terminal.el (te-get-char, te-tic-sentinel):
26149 * tool-bar.el (tool-bar-make-keymap):
26150 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
26151 * type-break.el (type-break-mode, type-break-noninteractive-query):
26152 * view.el (View-back-to-mark):
26153 * wid-browse.el (widget-browse-action, widget-browse-widget)
26154 (widget-browse-widgets, widget-browse-sexp):
26155 * widget.el (define-widget-keywords):
26156 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
26157 Mark unused parameters.
26159 * align.el (align-adjust-col-for-rule): Mark unused parameter.
26160 (align-areas): Remove unused variable `look'.
26161 (align-region): Remove unused variables `real-end' and `pos-list'.
26163 * apropos.el (apropos-score-doc): Remove unused variable `i'.
26165 * bindings.el (mode-line-modified, mode-line-remote):
26166 Mark unused parameters.
26167 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
26169 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
26170 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
26172 * comint.el (comint-history-isearch-pop-state)
26173 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
26174 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
26175 (comint-substitute-in-file-name): Doc fix.
26177 * completion.el (cmpl-statistics-block): Mark unused parameter.
26178 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
26179 (save-completions-to-file, load-completions-from-file):
26180 Remove unused local variable `e'.
26182 * composite.el (compose-chars): Remove unused variable `len'.
26183 (lgstring-insert-glyph): Remove unused variable `g'.
26184 (compose-glyph-string): Remove unused variables `ascent',
26185 `descent', `lbearing' and `rbearing'.
26186 (compose-glyph-string-relative): Remove unused variables
26187 `lbearing', `rbearing' and `wadjust'.
26188 (compose-gstring-for-graphic): Remove unused variables `header',
26189 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
26190 (compose-gstring-for-terminal): Remove unused variables `header'
26191 and `nchars'. Use `let', not `let*'.
26193 * cus-edit.el (Custom-set, Custom-save, custom-reset)
26194 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
26195 (Custom-buffer-done, custom-buffer-create-internal)
26196 (custom-browse-visibility-action, custom-browse-group-tag-action)
26197 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
26198 (widget-magic-mouse-down-action, custom-toggle-parent)
26199 (custom-add-parent-links, custom-toggle-hide-variable)
26200 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
26201 (custom-toggle-hide-face, face, hook, custom-group-link-action)
26202 (custom-face-menu-create, custom-variable-menu-create, get)
26203 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
26204 (custom-reset-standard-save-and-update): Remove unused variable `value'.
26205 (customize-apropos): Remove unused variable `tests'.
26206 (custom-group-value-create): Remove unused variable `hidden-p'.
26207 (sort-fold-case): Declare.
26209 * cus-theme.el (custom-reset-standard-faces-list)
26210 (custom-reset-standard-variables-list): Declare.
26211 (customize-create-theme, custom-theme-revert, custom-theme-write)
26212 (custom-theme-choose-mode, customize-themes, custom-theme-save):
26213 Mark unused parameters.
26215 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
26217 * delim-col.el (delimit-columns-max): Move defvar before first use.
26219 * descr-text.el (describe-char-categories): Don't quote `lambda'.
26220 (describe-char): Don't quote `lambda'. Mark unused parameter.
26222 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
26223 (auto-insert): Declare.
26224 (desktop-restore-file-buffer): Rename desktop-* parameters;
26226 (desktop-create-buffer): Rename desktop-* parameters and bind them.
26227 (desktop-buffer): Rename desktop-* parameters.
26229 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
26230 (dframe-reposition-frame-xemacs, dframe-help-echo)
26231 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
26232 Mark unused parameters.
26234 * dired-aux.el (backup-extract-version-start, overwrite-query)
26235 (overwrite-backup-query, rename-regexp-query)
26236 (rename-non-directory-query): Declare.
26237 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
26238 (dired-add-entry): Remove unused variable `orig-file-name'.
26239 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
26240 Use parameter PRESERVE-TIME instead of accessing dynamic variable
26241 `dired-copy-preserve-time' directly.
26242 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
26243 (dired-insert-subdir-newpos): Rename unused variable `pos'.
26245 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
26246 (dired-virtual-revert, dired-make-relative-symlink):
26247 Mark unused parameters.
26248 (manual-program): Declare.
26249 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
26250 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
26251 wrapped in `with-no-warnings' to avoid replacing one warning by another.
26253 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
26255 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
26257 * echistory.el (electric-history-in-progress, Helper-return-blurb):
26260 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
26262 * electric.el (Electric-command-loop): Rename parameter
26263 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
26265 * expand.el (expand-in-literal): Remove unused variable `here'.
26267 * facemenu.el (facemenu-add-new-color):
26268 Remove unused variable `docstring'.
26270 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
26271 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
26272 (face-attr-construct): Mark unused parameter. Doc fix.
26273 (read-color): Remove unused variable `hex-string'.
26275 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
26276 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
26277 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
26278 (display-buffer-other-frame): Remove unused variable `old-window'.
26279 (kill-buffer-hook): Declare.
26280 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
26281 Mark unused parameters.
26282 (after-find-file): Pass 1 to `auto-save-mode', not t.
26284 * files-x.el (auto-insert): Declare.
26285 (modify-file-local-variable-prop-line): Remove unused variable `val'.
26287 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
26288 variable `buf'. Mark unused parameter.
26289 (find-lisp-insert-directory): Mark unused parameter.
26291 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
26292 (format-encode-region): Remove unused variables `cur-buf' and `result'.
26293 (format-common-tail): Remove, unused.
26294 (format-deannotate-region): Remove unused variable `loc'.
26295 (format-annotate-region): Remove unused variable `p'.
26296 (format-annotate-single-property-change): Remove unused variables
26297 `default' and `tail'.
26299 * forms.el (read-file-filter): Declare.
26300 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
26302 * frame.el (frame-creation-function-alist): Mark unused parameter.
26303 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
26305 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
26306 Remove unused parameters.
26307 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
26308 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
26310 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
26311 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
26312 (hfy-prepare-tag-map): Mark unused parameters.
26313 (htmlfontify-buffer): Use `called-interactively-p'.
26315 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
26316 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
26317 (ibuffer-do-occur): Mark unused parameters.
26318 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
26319 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
26321 * ibuffer.el: Don't quote `lambda'.
26322 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
26323 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
26324 Mark unused parameters.
26326 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
26327 (ido-completing-read): Mark unused parameters.
26328 (ido-copy-current-word): Mark unused parameters;
26329 remove unused variable `name'.
26330 (ido-sort-merged-list): Remove unused parameter `dirs'.
26332 * ielm.el (ielm-input-sender): Mark unused parameter.
26333 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
26334 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
26335 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
26336 `ielm-string' as a dynamic variable accessible from the IELM prompt.
26337 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
26339 * image-dired.el (image-dired-display-thumbs): Remove unused
26340 variables `curr-file' and `count'.
26341 (image-dired-remove-tag): Remove unused variable `start'.
26342 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
26343 variable `curr-file'
26344 (image-dired-rotate-original): Remove unused variable `temp-file'.
26345 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
26346 Remove unused variable `file'.
26347 (image-dired-gallery-generate): Remove unused variable `curr'.
26348 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
26350 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
26352 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
26354 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
26356 * isearch.el (minibuffer-history-symbol): Declare.
26357 (isearch-edit-string): Remove unused variable `err'.
26358 (isearch-message-prefix, isearch-message-suffix):
26359 Mark unused parameters.
26361 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
26363 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
26365 * makesum.el (double-column): Remove unused variable `cnt'.
26367 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
26368 (ido-ignore-item-temp-list): Declare.
26370 * mouse-drag.el (mouse-drag-throw): Remove unused variables
26371 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
26372 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
26373 (mouse-drag-drag): Remove unused variables `mouse-delta' and
26376 * mouse-sel.el (mouse-extend-internal):
26377 Remove unused variable `orig-window-frame'.
26379 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
26380 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
26381 Move declarations before first use.
26382 (pcomplete-opt): Mark unused parameters; doc fix.
26384 * proced.el (proced-revert): Mark unused parameter.
26385 (proced-send-signal): Remove unused variable `err'.
26387 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
26388 Rename parameter PREFIX-ARG to ARG.
26389 (ps-basic-plot-string, ps-basic-plot-whitespace):
26390 Mark unused parameters.
26392 * replace.el (replace-count): Define.
26393 (occur-revert-function): Mark unused parameters.
26394 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
26395 (isearch-case-fold-search, isearch-string): Declare.
26396 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
26397 bind `case-fold-search'. Remove unused variables `beg' and `end',
26399 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
26400 COUNT and bind `replace-count'.
26401 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
26404 * savehist.el (print-readably, print-string-length): Declare.
26406 * shadowfile.el (shadow-expand-cluster-in-file-name):
26407 Remove unused variable `cluster'.
26408 (shadow-copy-file): Remove unused variable `i'.
26409 (shadow-noquery, shadow-clusters, shadow-site-cluster)
26410 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
26411 (shadow-define-literal-group, shadow-define-regexp-group)
26412 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
26414 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
26415 (shell): Use `called-interactively-p'.
26416 (shell-directory-tracker): Remove unused variable `chdir-failure'.
26418 * simple.el (compilation-context-lines, comint-file-name-quote-list)
26419 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
26420 (delete-backward-char): Remove unused variable `ocol'.
26421 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
26422 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
26423 (event-apply-hyper-modifier, event-apply-shift-modifier)
26424 (event-apply-control-modifier, event-apply-meta-modifier):
26425 Mark unused parameters.
26426 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
26427 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
26429 * speedbar.el (speedbar-ignored-directory-expressions)
26430 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
26431 (speedbar-find-file, speedbar-dir-follow)
26432 (speedbar-directory-buttons-follow, speedbar-tag-find)
26433 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
26434 (speedbar-buffers-line-directory, speedbar-buffer-click):
26435 Mark unused parameters.
26436 (speedbar-tag-file): Remove unused variable `mode'.
26437 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
26439 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
26441 * talk.el (talk): Remove unused variable `display'.
26443 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
26444 (tar-write-region-annotate): Mark unused parameter.
26446 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
26447 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
26448 Declare them, wrapped in `with-no-warnings' to avoid replacing one
26449 warning by another.
26451 * time-stamp.el (time-stamp-string-preprocess):
26452 Remove unused variable `require-padding'.
26454 * tree-widget.el (widget-glyph-enable): Declare.
26455 (tree-widget-action): Mark unused parameter.
26457 * w32-fns.el (x-get-selection): Mark unused parameter.
26458 (autoload-make-program, generated-autoload-file): Declare.
26460 * wdired.el (wdired-revert): Mark unused parameters.
26461 (wdired-xcase-word): Remove unused variable `err'.
26463 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
26464 (whitespace-help-scroll): Remove unused variable `data-help'.
26466 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
26467 (widget-image-insert, widget-after-change, default)
26468 (widget-default-format-handler, widget-default-notify)
26469 (widget-default-prompt-value, widget-info-link-action)
26470 (widget-url-link-action, widget-function-link-action)
26471 (widget-variable-link-action, widget-file-link-action)
26472 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
26473 (widget-field-prompt-internal, widget-field-action, widget-field-match)
26474 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
26475 (widget-insert-button-action, widget-delete-button-action, visibility)
26476 (widget-documentation-link-action, widget-documentation-string-action)
26477 (widget-const-prompt-value, widget-regexp-match, symbol)
26478 (widget-coding-system-prompt-value)
26479 (widget-key-sequence-value-to-external, sexp)
26480 (widget-sexp-value-to-internal, character, vector, cons)
26481 (widget-choice-prompt-value, widget-boolean-prompt-value)
26482 (widget-color--choose-action): Mark unused parameters.
26483 (widget-item-match-inline, widget-choice-match-inline)
26484 (widget-checklist-match, widget-checklist-match-inline)
26485 (widget-group-match): Rename parameter VALUES to VALS.
26486 (widget-field-value-set): Remove unused variable `size'.
26487 (widget-color-action): Remove unused variables `value' and `start'.
26489 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
26490 variable `dir'. Doc fix.
26491 (windmove-find-other-window): Don't pass it.
26493 * window.el (count-windows): Mark unused parameter.
26494 (bw-adjust-window): Remove unused variable `err'.
26496 * woman.el (woman-file-name): Remove unused variable `default'.
26497 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
26498 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
26499 (global-font-lock-mode): Declare.
26500 (woman-decode-region): Mark unused parameter.
26501 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
26503 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
26504 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
26505 (x-dnd-handle-moz-url): Remove unused variable `title'.
26506 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
26508 * xml.el (xml-parse-tag, xml-parse-attlist):
26509 Remove unused variable `pos'.
26511 2011-04-19 Glenn Morris <rgm@gnu.org>
26513 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
26514 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
26515 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
26516 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
26517 * calendar/cal-html.el (cal-html-insert-minical):
26518 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
26519 (calendar-mark-date-pattern):
26520 Prefix "unused" locals.
26522 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
26523 optional argument `style'.
26525 * calendar/appt.el (appt-make-list):
26526 * calendar/cal-china.el (calendar-chinese-date-string):
26527 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
26528 (diary-hebrew-yahrzeit):
26529 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
26530 * calendar/calendar.el (calendar-generate-window):
26531 * calendar/time-date.el (time-to-days):
26532 Remove unused local variables.
26534 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
26536 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
26537 glyphless-char-display table.
26538 (tabulated-list-glyphless-char-display): New var.
26540 2011-04-18 Sam Steingold <sds@gnu.org>
26542 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
26543 to acknowledgments.
26545 2011-04-17 Glenn Morris <rgm@gnu.org>
26547 * calendar/diary-lib.el (diary-sexp-entry):
26548 * calendar/holidays.el (holiday-sexp):
26549 Set debug-on-error rather than the removed stack-trace-on-error.
26551 2011-04-16 Glenn Morris <rgm@gnu.org>
26553 * progmodes/f90.el: Use lexical-binding.
26554 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
26556 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26558 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
26559 (mail-mode): Setup mailalias completion here instead.
26560 * mail/mailalias.el: Use lexical-binding.
26561 (pattern, mailalias-done): Declare dynamic.
26562 (mail-completion-at-point-function): New function, from mail-complete.
26563 (mail-complete): Use it.
26564 (mail-completion-expand): New function.
26565 (mail-get-names): Use it.
26566 (mail-directory, mail-directory-process, mail-directory-stream):
26567 Don't use `pattern' for lexically bound arg.
26569 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
26571 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
26572 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
26573 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
26575 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
26576 (byte-save-window-excursion, byte-temp-output-buffer-setup)
26577 (byte-interactive-p): Define them again, for use when inlining
26580 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
26582 * loadup.el: Use `string-to-number', not `string-to-int'.
26584 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26586 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
26587 gud-gdb-complete-command.
26588 (gud-gdb-completions): New function, from gud-gdb-complete-command.
26589 (gud-gdb-completion-at-point): New function.
26590 (gud-gdb-completions): Remove.
26592 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
26594 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
26595 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
26596 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
26597 whether `executable-find' is bound.
26599 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
26601 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
26603 * minibuffer.el (completion-in-region-mode-predicate)
26604 (completion-in-region-mode--predicate): New vars.
26605 (completion-in-region, completion-in-region--postch)
26606 (completion-in-region-mode): Use them.
26607 (completion--capf-wrapper): Also return the hook function.
26608 (completion-at-point, completion-help-at-point):
26609 Adjust and provide a predicate.
26611 Preserve arg names for advice of subr and lexical functions (bug#8457).
26612 * help-fns.el (help-function-arglist): Consolidate the subr and
26613 new-byte-code cases. Add argument `preserve-names' to extract names
26614 from the docstring when needed.
26615 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
26616 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
26617 (ad-arglist): Use help-function-arglist's new arg.
26618 (ad-definition-type): Use cond.
26620 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
26622 * autorevert.el (auto-revert-handler):
26623 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
26624 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
26625 Don't quote lambda.
26627 * image-mode.el (image-transform-set-scale):
26628 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
26630 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
26632 * net/network-stream.el (network-stream-open-starttls): Only do
26633 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
26634 Upgrades via gnutls-cli are too slow to be done opportunistically.
26636 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
26638 * dframe.el (dframe-current-frame): Remove spurious quote.
26640 2011-04-12 Glenn Morris <rgm@gnu.org>
26642 * calendar/cal-tex.el (cal-tex-end-document):
26643 Try to automatically use latin1 input if needed.
26645 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
26646 Don't try to cons a mark onto an empty element.
26648 2011-04-11 Leo Liu <sdl.web@gmail.com>
26650 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
26652 (ido-kill-buffer-at-head): Support killing virtual buffers.
26654 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
26656 * minibuffer.el (completion-show-inline-help): New var.
26657 (completion--do-completion, minibuffer-complete)
26658 (minibuffer-force-complete, minibuffer-complete-word):
26659 Inhibit minibuffer messages if completion-show-inline-help is nil.
26661 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
26662 to avoid interference from inline help (Bug#5849).
26664 2011-04-10 Leo Liu <sdl.web@gmail.com>
26666 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
26669 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
26671 * image-mode.el (image-toggle-display-image): Signal an error if
26673 (image-transform-mode, image-transform-resize)
26674 (image-transform-set-rotation): Doc fix.
26675 (image-transform-set-resize): Delete.
26676 (image-transform-set-scale, image-transform-fit-to-height)
26677 (image-transform-fit-to-width): Handle image-toggle-display-image
26678 and image-transform-resize directly.
26680 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
26682 * doc-view.el (doc-view-fit-width-to-window)
26683 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
26684 New functions for fitting the shown image to the Emacs window size.
26685 (doc-view-mode-map): Add bindings for the new functions.
26687 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
26689 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
26690 Fix typo in docstring.
26692 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26694 * files.el (file-size-human-readable): Produce one digit after
26695 decimal, like "ls -lh" does.
26697 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
26698 the file size representation.
26700 * simple.el (list-processes): If async subprocesses are not
26701 available, error out with a clear error message.
26703 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
26705 * help.el (help-form-show): New function, to be called from C.
26706 Put help-form output in a buffer named differently than *Help*.
26708 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26710 * files.el (file-size-human-readable): New function.
26712 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
26713 computing the representation inline. Don't require `cl'.
26715 2011-04-08 Glenn Morris <rgm@gnu.org>
26717 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
26719 * net/browse-url.el (browse-url-firefox):
26720 Test system-type, not system-configuration.
26722 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
26723 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
26724 Use log-edit-empty-buffer-p. (Bug#7598)
26726 * net/rlogin.el (rlogin-process-connection-type): Simplify.
26727 (rlogin-mode-map): Initialize in the defvar.
26728 (rlogin): Use ignore-errors.
26730 * replace.el (occur-mode-map): Some fixes for menu items.
26732 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
26734 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
26736 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26738 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
26739 issuing unused warnings.
26741 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
26744 * simple.el: Lisp reimplement of list-processes. Based on an
26745 earlier reimplementation by Leo Liu, but using tabulated-list.el.
26746 (process-menu-mode): New major mode.
26747 (list-processes--refresh, list-processes):
26748 (process-menu-visit-buffer): New functions.
26750 * files.el (save-buffers-kill-emacs): Don't assume any return
26751 value of list-processes, which is undocumented anyway.
26753 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26755 * emacs-lisp/tabulated-list.el: New file.
26757 * emacs-lisp/package.el: Use Tabulated List mode.
26758 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
26759 (package-menu-mode): Derive from tabulated-list-mode. Set up the
26760 table format using Tabulated List mode variables.
26761 (package--push): New macro, replacing package-list-maybe-add.
26762 (package-menu--generate): Use package--push. Renamed from
26763 package--generate-package-list.
26764 (package-menu-refresh, list-packages): Use it.
26765 (package-menu--print-info): Rename from package-print-package.
26766 Return insertion data instead of inserting it directly.
26767 (package-menu-describe-package, package-menu-execute):
26768 Use tabulated-list-get-id.
26769 (package-menu-mark-delete, package-menu-mark-install)
26770 (package-menu-mark-unmark, package-menu-backup-unmark)
26771 (package-menu-mark-obsolete-for-deletion):
26772 Use tabulated-list-put-tag.
26773 (package--list-packages, package-menu-revert)
26774 (package-menu-get-package, package-menu-get-version)
26775 (package-menu-sort-by-column): Functions deleted.
26776 (package-menu-package-list, package-menu-sort-key): Vars deleted.
26777 (package-menu--status-predicate, package-menu--version-predicate)
26778 (package-menu--name-predicate)
26779 (package-menu--description-predicate): Handle arguments in the
26780 Tabulated List format.
26781 (package-list-packages-no-fetch): Call list-packages.
26783 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
26785 * files.el (after-find-file-from-revert-buffer): Remove variable.
26786 (after-find-file): Don't bind it.
26787 (revert-buffer-in-progress-p): New variable.
26788 (revert-buffer): Bind it.
26789 Pass nil for `after-find-file-from-revert-buffer'.
26791 * saveplace.el (save-place-find-file-hook): Use new variable
26792 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
26794 2011-04-06 Glenn Morris <rgm@gnu.org>
26796 * Makefile.in (AUTOGEN_VCS): New variable.
26797 (autoloads): Use $AUTOGEN_VCS.
26799 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
26800 * calendar/calendar.el (calendar-mode-map):
26801 Check for toolkit scroll bars. (Bug#8305)
26803 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26805 * minibuffer.el (completion-in-region--postch)
26806 (completion-in-region-mode): Remove unnecessary messages.
26808 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
26810 * font-lock.el (font-lock-refresh-defaults):
26811 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
26812 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
26814 * info.el (Info-directory-list, Info-read-node-name-2)
26815 (Info-split-parameter-string): Doc fixes.
26816 (Info-virtual-nodes): Reflow docstring.
26817 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
26818 (Info-apropos-toc-nodes, info-finder, Info-get-token)
26819 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
26820 Fix typos in docstrings.
26821 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
26822 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
26823 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
26824 (Info-restore-desktop-buffer): Mark unused parameters.
26825 (Info-directory-find-file, Info-directory-find-node)
26826 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
26827 (Info-virtual-index-find-node, Info-apropos-find-file)
26828 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
26829 Mark unused parameters; fix typos in docstrings.
26830 (Info-virtual-index): Remove unused local variable `nodename'.
26832 2011-04-05 Deniz Dogan <deniz@dogan.se>
26834 * net/rcirc.el: Update my e-mail address.
26835 (rcirc-mode-map): Remove M-o binding.
26837 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26839 * startup.el (command-line): Save the cursor's theme-face
26840 directly, instead of using face-override-spec.
26842 * custom.el (load-theme): Minor optimization in assigning faces.
26844 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26846 * help-fns.el (describe-variable): Complete all variables having
26847 documentation, including keywords.
26848 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
26850 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26852 Convert to lexical-binding.
26854 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
26855 (bs--get-marked-string, bs--get-modified-string)
26856 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
26857 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
26858 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
26860 * ehelp.el (electric-help-execute-extended)
26861 (electric-help-ctrl-x-prefix):
26862 * hexl.el (hexl-revert-buffer-function):
26863 * linum.el (linum-after-change, linum-after-scroll):
26864 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
26866 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
26868 2011-04-04 Daiki Ueno <ueno@unixuser.org>
26875 * epg.el: Use lexical binding.
26877 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
26879 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
26881 * textmodes/flyspell.el (flyspell-word): Recognize default
26882 dictionary case for flyspell-mark-duplications-exceptions.
26883 Use regexp matching for languages.
26884 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
26885 default dictionary (Bug#7926).
26887 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
26889 * emacs-lisp/package.el (package--with-work-buffer):
26890 Recognize https URLs.
26892 * net/network-stream.el: Move from gnus/proto-stream.el.
26893 Change prefix to network-stream throughout.
26894 (open-protocol-stream): Merge into open-network-stream, leaving
26895 open-protocol-stream as an alias. Handle nil BUFFER args.
26897 * subr.el (open-network-stream): Move to net/network-stream.el.
26899 2011-04-02 Glenn Morris <rgm@gnu.org>
26901 * find-dired.el (find-exec-terminator): New option.
26902 (find-ls-option): Test for -ls support.
26903 (find-ls-subdir-switches): Test for -b in find-ls-option.
26904 (find-dired, find-grep-dired): Doc fixes.
26905 (find-dired): Use find-exec-terminator.
26907 * find-dired.el (find-ls-option, find-ls-subdir-switches)
26908 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
26909 (find-name-arg): Remove purecopy.
26911 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
26912 (grep-compute-defaults): Check for `-exec COMMAND +' support.
26913 Set grep-find-use-xargs, grep-find-command, and grep-find-template
26914 accordingly. Don't add the null-device if not needed.
26916 * files.el (save-some-buffers): Doc fix.
26918 2011-04-02 Eli Zaretskii <eliz@gnu.org>
26920 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
26922 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
26924 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
26925 Use `dolist' rather than `mapcar'.
26927 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
26929 Add lexical binding.
26931 * subr.el (apply-partially): Use new closures rather than CL.
26932 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
26933 (dolist, dotimes): Use slightly different expansion for lexical code.
26934 (functionp): Move to C.
26935 (letrec): New macro.
26936 (with-wrapper-hook): Use it and apply-partially instead of CL.
26937 (eval-after-load): Preserve lexical-binding.
26938 (save-window-excursion, with-output-to-temp-buffer): Turn them
26941 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
26943 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
26945 (help-add-fundoc-usage): Don't add `Not documented'.
26946 (help-function-arglist): Handle closures, subroutines, and new
26947 byte-code-functions.
26948 (help-make-usage): Remove leading underscores.
26949 (describe-function-1): Handle closures.
26950 (describe-variable): Use special-variable-p for completion.
26952 * files.el (lexical-binding): Declare safe.
26954 * emacs-lisp/pcase.el: Don't use destructuring-bind.
26955 (pcase--memoize): Rename from pcase-memoize. Change weakness.
26956 (pcase): Add `let' pattern.
26957 Change memoization so it actually works.
26958 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
26959 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
26962 * emacs-lisp/macroexp.el: Use lexical binding.
26963 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
26964 Don't convert ' to #' without checking that it's indeed quoting
26967 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
26968 Use eval-sexp-add-defvars.
26969 (eval-sexp-add-defvars): New fun.
26971 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
26973 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
26975 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
26976 than the internal `byte-compile-lambda'.
26977 (defmethod): Don't hide code under quotes.
26978 (eieio-defmethod): New `code' argument.
26980 * emacs-lisp/eieio-comp.el: Remove.
26982 * emacs-lisp/edebug.el (edebug-eval-defun)
26983 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
26984 (edebug-toggle): Avoid `eval'.
26986 * emacs-lisp/disass.el (disassemble-internal): Handle new
26988 (disassemble-1): Handle new byte codes.
26990 * emacs-lisp/cl.el (pushnew): Silence warning.
26992 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
26993 (cl-byte-compile-throw): Remove.
26994 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
26996 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
26999 * emacs-lisp/cconv.el: New file.
27001 * emacs-lisp/bytecomp.el: Use lexical binding instead of
27002 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
27003 (byte-compile-initial-macro-environment):
27004 Handle declare-function here.
27005 (byte-compile--lexical-environment): New var.
27006 (byte-stack-ref, byte-stack-set, byte-discardN)
27007 (byte-discardN-preserve-tos): New lap codes.
27008 (byte-interactive-p): Don't use any more.
27009 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
27011 (byte-compile-lapcode): Use them and handle new lap codes.
27012 (byte-compile-obsolete): Remove.
27013 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
27014 (byte-compile-arglist-warn): Check late def of inlinable funs.
27015 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
27016 since they should have been expanded by now.
27017 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
27018 (byte-compile-from-buffer): Remove unused second arg.
27019 (byte-compile-preprocess): New function.
27020 (byte-compile-toplevel-file-form): New function to distinguish
27021 file-form calls from outside from file-form calls from hunk-handlers.
27022 (byte-compile-file-form): Simplify.
27023 (byte-compile-file-form-defsubst): Remove.
27024 (byte-compile-file-form-defmumble): Simplify now that
27025 byte-compile-lambda always returns a byte-code-function.
27026 (byte-compile): Preprocess.
27027 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
27028 Remove, not used any more.
27029 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
27030 (byte-compile-make-args-desc): New funs.
27031 (byte-compile-lambda): Handle lexical functions. Always return
27032 a byte-code-function.
27033 (byte-compile-reserved-constants): New var, to make up room for
27034 closed-over variables.
27035 (byte-compile-constants-vector): Obey it.
27036 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
27037 (byte-compile-macroexpand-declare-function): New function.
27038 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
27039 byte-code-functions.
27040 (byte-compile-form): Check obsolescence here.
27041 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
27042 (byte-compile-variable-ref): Remove.
27043 (byte-compile-dynamic-variable-op): New fun.
27044 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
27045 (byte-compile-variable-set): New funs.
27046 (byte-compile-discard): Add 2 args.
27047 (byte-compile-stack-ref, byte-compile-stack-set)
27048 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
27049 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
27050 macroexpand-all instead.
27051 (byte-compile-quote-form): Remove.
27052 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
27053 (byte-compile-bind, byte-compile-unbind): New funs.
27054 (byte-compile-let): Handle let* and lexical binding.
27055 (byte-compile-let*): Remove.
27056 (byte-compile-catch, byte-compile-unwind-protect)
27057 (byte-compile-track-mouse, byte-compile-condition-case):
27058 Handle a new :fun-body form, used for lexical scoping.
27059 (byte-compile-save-window-excursion)
27060 (byte-compile-with-output-to-temp-buffer): Remove.
27061 (byte-compile-defun): Simplify.
27062 (byte-compile-stack-adjustment): New fun.
27063 (byte-compile-out): Use it.
27064 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
27066 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
27069 * emacs-lisp/byte-opt.el: Use lexical binding.
27070 (byte-inline-lapcode): Remove (to bytecomp).
27071 (byte-compile-inline-expand): Pay attention to inlining to/from
27072 lexically bound code.
27073 (byte-compile-unfold-lambda): Don't handle byte-code-functions
27075 (byte-optimize-form-code-walker): Don't handle save-window-excursion
27076 any more and don't call compiler-macros.
27077 (byte-compile-splice-in-already-compiled-code): Remove.
27078 (byte-code): Don't inline any more.
27079 (disassemble-offset): Receive `bytes' as argument rather than via
27081 (byte-compile-tag-number): Declare before first use.
27082 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
27083 `return' even if make-spliceable.
27084 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
27085 obsolete interactive-p.
27086 (byte-optimize-lapcode): Optimize new lap-codes.
27087 Don't trip up on new form of `byte-constant' lap code.
27089 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
27091 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
27093 * custom.el (custom-initialize-default, custom-declare-variable):
27096 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
27098 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
27099 (COMPILE_FIRST): Add macroexp and cconv.
27100 * makefile.w32-in: Mirror changes in Makefile.in.
27102 * vc/cvs-status.el:
27106 * vc/smerge-mode.el:
27107 * textmodes/bibtex-style.el:
27108 * textmodes/css-mode.el:
27116 * emacs-lisp/smie.el:
27119 * abbrev.el: Use lexical binding.
27121 2011-04-01 Eli Zaretskii <eliz@gnu.org>
27123 * info.el (info-display-manual): New function.
27125 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
27127 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
27129 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
27131 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
27132 an entry for that server in rcirc-authinfo. (Bug#8385)
27134 2011-03-31 Glenn Morris <rgm@gnu.org>
27136 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
27138 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
27140 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
27142 * progmodes/python.el (python-default-interpreter)
27143 (python-python-command-args, python-jython-command-args)
27144 (python-which-shell, python-which-args, python-which-bufname)
27145 (python-file-queue, python-comint-output-filter-function)
27146 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
27147 variables and functions.
27149 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
27151 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
27152 (completion-in-region-mode): New minor mode.
27153 (completion-in-region): Use it.
27154 (completion-in-region--data, completion-in-region-mode-map): New vars.
27155 (completion-in-region--postch): New function.
27156 (completion--capf-misbehave-funs, completion--capf-safe-funs):
27158 (completion--capf-wrapper): New function.
27159 (completion-at-point): Use it to track well-behavedness of
27161 (completion-help-at-point): New command.
27163 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
27165 * vc/add-log.el (add-change-log-entry): Don't use whitespace
27166 syntax class to search for whitespace on a single line
27167 (Message-ID: <4D938140.4030905@redhat.com>).
27169 2011-03-30 Leo Liu <sdl.web@gmail.com>
27171 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
27173 (edit-abbrevs-map): Bind them here.
27174 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
27176 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
27178 * allout.el (allout-hide-by-annotation, allout-flag-region):
27179 Reduce possibility of overlay leakage by making them volatile.
27181 * allout-widgets.el (allout-widgets-tally): Define as nil so the
27182 hash is not shared between buffers. Mode initialization is
27183 responsible for giving it a useful starting value.
27184 (allout-item-span): Reduce possibility of overlay leakage by
27185 making them volatile.
27186 (allout-widgets-count-buttons-in-region): Add diagnostic function
27187 for tracking down button overlay leaks.
27189 2011-03-29 Leo Liu <sdl.web@gmail.com>
27191 * ido.el (ido-read-internal): Use the default history var
27192 minibuffer-history if no HISTORY is specified.
27194 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
27196 * net/imap.el (imap-shell-open, imap-process-connection-type):
27197 Use imap-process-connection-type for 'shell' streams as well as
27198 Kerberos, SSL, other subprocesses.
27200 2011-03-28 Leo Liu <sdl.web@gmail.com>
27202 * abbrev.el (abbrev-table-empty-p): New function.
27203 (prepare-abbrev-list-buffer): Place empty abbrev tables after
27204 nonempty ones. (Bug#5937)
27206 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
27208 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
27210 2011-03-27 Leo Liu <sdl.web@gmail.com>
27212 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
27213 for foreground and background colors.
27214 (ansi-color-make-color-map): Adapt.
27216 2011-03-25 Leo Liu <sdl.web@gmail.com>
27218 * midnight.el (midnight-time-float): Remove. Note it calculates
27219 the microsecond component incorrectly and seconds-to-time does the
27221 Remove redundant (require 'timer).
27223 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
27224 (ido-completions): Remove unused arguments. (Bug#8329)
27226 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
27228 * minibuffer.el (completion--flush-all-sorted-completions):
27229 Remove itself from hook.
27230 (completion-at-point): Let the functions perform the completion
27231 immediately and return nil or t.
27232 * comint.el (comint-dynamic-complete-functions): Now identical to
27233 completion-at-point-functions.
27234 (comint-dynamic-list-input-ring): Remove unused var `index'.
27235 (comint--match-partial-filename, comint--unquote&expand-filename):
27236 New funs, split from comint-match-partial-filename.
27237 (comint-dynamic-complete): Use completion-at-point.
27238 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
27240 2011-03-24 Drew Adams <drew.adams@oracle.com>
27242 * thingatpt.el: Support `defun'.
27244 2011-03-23 Leo Liu <sdl.web@gmail.com>
27246 * abbrevlist.el: Move to obsolete/abbrevlist.el.
27248 * help-mode.el (help-mode-finish): Tweak regexp.
27250 2011-03-23 Glenn Morris <rgm@gnu.org>
27252 * eshell/esh-opt.el (eshell-eval-using-options):
27253 Do not bind unused local variable `eshell-option-stub'.
27255 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
27257 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27259 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
27260 keymap variable in `with-no-warnings' to avoid a warning when the
27261 keymap has been already `defconst'ed.
27263 2011-03-22 Leo Liu <sdl.web@gmail.com>
27265 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
27266 encode all chars in abbrevs; otherwise use emacs-mule or
27267 utf-8-emacs. (Bug#8308)
27269 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27271 * simple.el (backward-delete-char-untabify):
27272 Avoid warning about using `delete-backward-char'.
27274 * image.el (image-type-file-name-regexps): Make it variable.
27275 `imagemagick-register-types' modifies it, and the user may want
27276 to add new extensions for known image types.
27277 (imagemagick-register-types): Throw error if not using ImageMagick.
27279 2011-03-22 Leo Liu <sdl.web@gmail.com>
27281 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
27282 located before rcirc-prompt-end-marker.
27283 (rcirc-complete): Error if point is not after rcirc prompt.
27284 Handle the case when table is nil.
27285 (rcirc-user-authenticated): Define to fix compiler warning.
27287 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
27289 * custom.el (custom--inhibit-theme-enable): Make it affect only
27290 custom-theme-set-variables and custom-theme-set-faces.
27291 (provide-theme): Ignore custom--inhibit-theme-enable.
27292 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
27293 (custom-enabling-themes): Delete variable.
27294 (enable-theme): Accept only loaded themes as arguments.
27295 Ignore the special custom-enabled-themes variable.
27296 (custom-enabled-themes): Forbid themes from setting this.
27297 Eliminate use of custom-enabling-themes.
27298 (custom-push-theme): Quote "changed" custom var entry.
27300 2011-03-21 Leo Liu <sdl.web@gmail.com>
27302 * ido.el (ido-read-internal): Add ido-selected to history instead
27305 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
27307 * subr.el (deferred-action-list, deferred-action-function):
27310 2011-03-21 Leo Liu <sdl.web@gmail.com>
27312 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
27313 change on 2011-02-13 (bug#8309).
27315 * minibuffer.el (read-file-name-function): Change default value.
27316 (read-file-name--defaults): Rename from read-file-name-defaults.
27317 (read-file-name-default): Rename from read-file-name.
27318 (read-file-name): Call read-file-name-function.
27320 2011-03-21 Glenn Morris <rgm@gnu.org>
27322 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
27325 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
27327 * cus-theme.el: Add missing provide statement.
27328 (customize-create-theme): Extract theme value correctly.
27329 (custom-theme-visit-theme): Autoload.
27330 (customize-create-theme): Prompt before inserting default faces.
27332 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
27334 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
27335 units and musical notes.
27337 2011-03-20 Leo Liu <sdl.web@gmail.com>
27339 * ido.el (ido-read-internal): Use completing-read-default.
27340 (ido-completing-read): Fix compatibility with completing-read.
27342 2011-03-20 Christian Ohler <ohler@gnu.org>
27344 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
27345 (ert-delete-all-tests): Use `called-interactively-p' rather than
27347 (ert--make-xrefs-region): Respect END.
27349 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27351 * dired-aux.el (dired-create-directory): Signal an error if the
27352 directory already exists (Bug#8246).
27354 * facemenu.el (list-colors-display): Call list-faces-display
27355 inside with-help-window.
27356 (list-colors-print): Use display property to align the final
27357 column, instead of checking window-width.
27359 2011-03-19 Eli Zaretskii <eliz@gnu.org>
27361 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
27362 windows-nt systems.
27363 (emerge-protect-metachars): Quote correctly for ms-dos and
27364 windows-nt systems.
27366 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
27368 * info.el (info-initialize): Replace all uses of `:' with
27369 path-separator for compatibility with non-Unix systems.
27370 Cache quoting of path-separator. (Bug#8258)
27372 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
27374 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
27375 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
27376 (mouse-avoidance-mode): Fix typos in docstrings.
27378 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27380 * startup.el (package-subdirectory-regexp): Move from package.el.
27381 Omit \\` and \\', and let callers add them.
27383 * emacs-lisp/package.el (package-strip-version)
27384 (package-load-all-descriptors): Add \\` and \\' to
27385 package-subdirectory-regexp before using it.
27386 (package-untar-buffer): New arg DIR; ensure that file untars only
27387 into this expected directory. Remove superfluous delete-region.
27388 (package-unpack): Caller changed.
27389 (package-tar-file-info): Use package-subdirectory-regexp.
27391 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
27393 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
27394 diff-mode-shared-map (bug#8284).
27395 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
27397 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
27399 * calendar/time-date.el (format-seconds): Use assoc instead of
27400 assoc-string, since assoc-string doesn't exist in XEmacs.
27402 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
27404 * custom.el (custom-known-themes): Reflow docstring.
27405 (custom-theme-load-path): Fix typo in docstring.
27406 (load-theme): Fix typo in error message.
27407 (custom-available-themes, custom-variable-theme-value):
27408 Use `let', not `let*'.
27410 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
27412 * calc/README: Mention inclusion of musical notes.
27414 * calc/calc-units.el (calc-lu-quant): Rename from
27415 `calc-logunits-quantity'.
27416 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
27417 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
27418 (calc-db): Rename from `calc-dblevel'.
27419 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
27420 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
27421 (calc-np): Rename from `calc-nplevel'.
27422 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
27423 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
27424 (calc-lu-plus): Rename from `calc-logunits-add'.
27425 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
27426 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
27427 (calc-lu-minus): Rename from `calc-logunits-sub'.
27428 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
27429 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
27430 (calc-lu-times): Rename from `calc-logunits-mul'.
27431 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
27432 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
27433 (calc-lu-divide): Rename from `calc-logunits-div'.
27434 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
27435 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
27437 * calc/calc-ext.el (calc-init-extensions): Update the names of the
27438 functions being autoloaded.
27440 * calc/calc.el (calc-lu-power-reference): Rename from
27441 `calc-logunits-power-reference'.
27442 (calc-lu-field-reference): Rename from
27443 `calc-logunits-field-reference'.
27445 * calc/calc-help.el (calc-l-prefix-help):
27446 Mention musical note functions.
27448 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
27450 * minibuffer.el (completion-all-sorted-completions):
27451 Use :completion-cycle-penalty text property if present.
27453 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
27455 * allout.el (allout-yank-processing): Adjust for new rebulleting
27456 regime so bullet being yanked is used without prompting the user
27459 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27461 * startup.el (command-line): Warn the user that _emacs is deprecated.
27463 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27465 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
27466 (delphi-verbose, delphi-comment-face, delphi-string-face)
27467 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
27468 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
27469 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
27470 (delphi-new-comment-line, delphi-font-lock-defaults)
27471 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
27472 Fix typos in docstrings.
27474 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
27476 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
27477 Invert the roles of character and string values for INSTEAD, so a
27478 string is used for the more common case of a defaulting prompt.
27480 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27482 * progmodes/ruby-mode.el (ruby-backward-sexp):
27483 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
27484 * play/gamegrid.el (gamegrid-make-face):
27485 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
27486 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
27487 * notifications.el (notifications-notify):
27488 * net/xesam.el (xesam-search-engines):
27489 * net/quickurl.el (quickurl-list-insert):
27490 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
27492 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
27494 * startup.el (command-line): Update package subdirectory regexp.
27496 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27498 * allout.el (allout-abbreviate-flattened-numbering)
27499 (allout-mode-deactivate-hook): Fix up obsolescence "date".
27501 * subr.el (read-char-choice): Only show the cursor after the prompt,
27502 not after the answer.
27504 2011-03-15 Kevin Ryde <user42@zip.com.au>
27506 * help-fns.el (variable-at-point): Skip leading quotes, if any
27509 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27511 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
27514 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
27516 * shell.el (shell): When called interactively, offer to change the
27517 shell file name on remote hosts.
27519 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
27521 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
27522 integration for LDAP parameters. The host, base, user or binddn,
27523 and secret tokens can be specified in a netrc file, for instance.
27524 This is optional because an `auth-source' parameter must be
27525 specified in the search attributes.
27527 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
27529 * help.el (describe-mode): Link to the mode's definition (bug#8185).
27531 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27533 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
27534 into declaration. Remove redundant and harmful binding.
27536 2011-03-12 Eli Zaretskii <eliz@gnu.org>
27538 * files.el (file-ownership-preserved-p): Pass `integer' as an
27539 explicit 2nd argument to `file-attributes'. If the file's owner
27540 is the Administrators group on Windows, and the current user is
27541 Administrator, consider that a match.
27543 * server.el (server-ensure-safe-dir): Consider server directory
27544 safe on MS-Windows if its owner is the Administrators group while
27545 the current Emacs user is Administrator. Use `=' to compare
27546 numerical UIDs, since they could be integers or floats.
27548 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
27550 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
27552 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
27554 Sync with Tramp 2.2.1.
27556 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
27558 * net/trampver.el: Update release number.
27560 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27562 * progmodes/compile.el (compilation--previous-directory): Fix up
27563 various nil/dead-marker mismatches (bug#8014).
27564 (compilation-directory-properties, compilation-error-properties):
27565 Don't call it at a position past the one we're about to change.
27567 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
27568 Disable obsolescence warnings in the file that declares it.
27570 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
27572 * allout-widgets.el (allout-widgets-tally):
27573 Initialize allout-widgets-tally as a hash table rather than nil to
27574 prevent mode-line redisplay warnings. Also, clarify the module
27575 description and fix a comment typo.
27577 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
27579 * help-fns.el (describe-variable): Don't complete keywords.
27580 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
27582 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
27584 * emacs-lisp/package.el (package-version-join): Impose a standard
27585 string representation for pre/alpha/beta version lists.
27586 (package-unpack-single): Standardize the directory name by passing
27587 it through package-version-join.
27588 (package-strip-rcs-id): Accept any version string that does not
27589 signal an error in version-to-list.
27591 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
27593 * simple.el (delete-trailing-whitespace): Return nil for the
27594 benefit of `write-file-functions'.
27596 2011-03-10 Glenn Morris <rgm@gnu.org>
27598 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
27600 * vc/vc-git.el (vc-git-program): New option.
27601 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
27602 (vc-git--call): Use it.
27604 * eshell/esh-util.el (eshell-condition-case): Doc fix.
27606 * cus-edit.el (Custom-newline): If no button at point, look
27607 for a subgroup button at start-of-line. (Bug#2298)
27609 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
27611 2011-03-10 Julien Danjou <julien@danjou.info>
27613 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
27614 `cursor-type' is nil.
27616 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
27618 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
27620 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
27622 * allout.el: Change so yank of distinctive-bullet items
27623 preserves the existing header prefix, rebulleting it if necessary,
27624 rather than replacing it. This is necessary for proper operation
27625 of cooperative addons like allout-widgets.
27626 (allout-make-topic-prefix, allout-rebullet-heading):
27627 Change SOLICIT arg to INSTEAD, and interpret additionally a string
27628 value as alternate bullet to be used, instead of prompting the user
27629 for a bullet character.
27631 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
27633 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
27634 Do not use `tramp-file-name-port', because this returns also
27635 `tramp-default-port'.
27637 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
27639 * net/rcirc.el (rcirc-handler-001): Remove useless
27640 with-rcirc-process-buffer.
27641 (rcirc-check-auth-status): Swap arguments to string-match.
27643 2011-03-09 Glenn Morris <rgm@gnu.org>
27645 * shell.el (shell-mode):
27646 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
27648 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
27649 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
27651 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27653 * emacs-lisp/package.el (package-refresh-contents)
27654 (package-menu-execute): Use condition-case-no-debug.
27656 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
27658 * simple.el (shell-command-to-string): Use `process-file'.
27660 * emacs-lisp/package.el (package-tar-file-info): Handle also
27663 * emacs-lisp/package-x.el (package-upload-buffer-internal):
27664 Use `equal' for upload base check.
27666 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
27668 * textmodes/texinfo.el (texinfo-environments):
27669 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
27671 2011-03-08 Glenn Morris <rgm@gnu.org>
27673 * cus-start.el (cursor-in-non-selected-windows):
27674 Fix :set quoting oddness. (Bug#8192)
27676 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
27677 in some setf expressions. (Bug#2159)
27679 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27681 * custom.el (custom-available-themes): Return themes in
27682 alphabetical order.
27684 See ChangeLog.15 for earlier changes.
27686 ;; Local Variables:
27690 Copyright (C) 2011-2013 Free Software Foundation, Inc.
27692 This file is part of GNU Emacs.
27694 GNU Emacs is free software: you can redistribute it and/or modify
27695 it under the terms of the GNU General Public License as published by
27696 the Free Software Foundation, either version 3 of the License, or
27697 (at your option) any later version.
27699 GNU Emacs is distributed in the hope that it will be useful,
27700 but WITHOUT ANY WARRANTY; without even the implied warranty of
27701 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27702 GNU General Public License for more details.
27704 You should have received a copy of the GNU General Public License
27705 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.