1 2013-05-23 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
3 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist): Add
6 * lisp/textmodes/reftex-parse.el
7 (reftex-locate-bibliography-files): Accept options for
9 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
10 Add addbibresource. Basic Biblatex support.
12 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14 * net/tramp-gvfs.el (top):
15 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
16 when loading package. (Bug#14447)
18 2013-05-23 Glenn Morris <rgm@gnu.org>
20 * progmodes/js.el: No need to load comint when compiling.
21 (ring-insert, comint-send-string, comint-send-input)
22 (comint-last-input-end, ido-chop): Declare.
24 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
25 * vc/ediff-mult.el: Adjust requires.
26 (ediff-directories-internal, ediff-directory-revisions-internal)
27 (ediff-patch-file-internal): Declare.
28 * vc/ediff-ptch.el: Adjust requires.
29 (ediff-use-last-dir, ediff-buffers-internal): Declare.
30 (ediff-find-file): Autoload.
31 * vc/ediff-util.el: No need to load ediff when compiling.
32 (ediff-regions-internal): Declare.
33 * vc/ediff-wind.el: Adjust requires.
34 (ediff-compute-toolbar-width): Define when compiling.
35 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
36 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
37 (dired-get-filename, dired-get-marked-files)
38 (ediff-last-dir-patch, ediff-patch-default-directory)
39 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
40 (ediff-patch-buffer-internal): Declare.
42 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
43 (ispell-process, ispell-buffer-local-words, lm-summary)
44 (lm-section-start, lm-section-end): Declare.
45 (checkdoc-ispell-init): Simplify.
47 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
48 (he-string-member, he-reset-string, he-substitute-string): Declare.
50 * eshell/em-ls.el: Adjust requires.
51 (eshell-glob-regexp): Declare.
52 * eshell/em-tramp.el: Adjust requires.
53 (eshell-parse-command): Autoload.
54 * eshell/em-xtra.el: Adjust requires.
55 (eshell-parse-command): Autoload.
56 * eshell/esh-ext.el: Adjust requires.
57 (eshell-parse-command, eshell-close-handles): Autoload.
58 * eshell/esh-io.el: Adjust requires.
59 (eshell-output-filter): Autoload.
60 * eshell/esh-util.el: No need to load tramp when compiling.
61 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
63 (eshell-parse-ange-ls): Require ange-ftp and tramp.
64 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
65 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
66 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
67 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
68 * eshell/esh-opt.el, eshell/esh-proc.el:
69 * eshell/esh-var.el: Adjust requires.
70 * eshell/eshell.el: Do not require esh-util twice.
71 (eshell-add-input-to-history): Declare.
72 (eshell-command): Check history module is active before using it.
74 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
76 2013-05-22 Leo Liu <sdl.web@gmail.com>
78 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
80 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
82 * autorevert.el (auto-revert-notify-add-watch)
83 (auto-revert-notify-handler): Add `attrib' for the inotify case,
84 it indicates changes in file modification time.
86 2013-05-22 Glenn Morris <rgm@gnu.org>
88 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
89 Always delete the autoloaded function from the noruntime and
90 unresolved functions lists.
92 * allout.el: No need to load epa, epg, overlay when compiling.
93 (epg-context-set-passphrase-callback, epg-list-keys)
94 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
95 (epg-key-user-id-list): Declare.
97 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
98 (viper-set-parsing-style-toggling-macro)
99 (viper-set-emacs-state-searchstyle-macros):
100 Use called-interactively-p on Emacs.
101 (viper-looking-back): Make it an obsolete alias. Update callers.
102 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
103 Use looking-back rather than viper-looking-back.
104 (viper-tmp-insert-at-eob, viper-enlarge-region)
105 (viper-read-string-with-history, viper-register-to-point)
106 (viper-append-to-register, viper-change-state-to-vi)
107 (viper-backward-char-carefully, viper-forward-char-carefully)
108 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
109 (viper-change-state-to-emacs): Declare.
110 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
111 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
112 * emulation/viper-mous.el: Do not load viper-cmd.
113 (viper-backward-char-carefully, viper-forward-char-carefully)
114 (viper-forward-word, viper-adjust-window): Declare.
116 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
118 * progmodes/idlw-help.el (idlwave-help-fontify):
119 Use called-interactively-p.
121 * term/w32console.el (w32-get-console-codepage)
122 (w32-get-console-output-codepage): Declare.
124 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
125 Remove unnecessary declarations.
126 (dframe-message): Doc fix.
128 * info.el (dframe-select-attached-frame, dframe-current-frame):
131 * speedbar.el (speedbar-message): Make it an obsolete alias.
133 (speedbar-with-attached-buffer)
134 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
135 (speedbar-with-writable): Use backquote.
136 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
137 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
138 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
139 rather than speedbar- aliases.
140 * mail/rmail.el: Load dframe rather than speedbar when compiling.
141 (speedbar-make-specialized-keymap, speedbar-insert-button)
142 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
143 (speedbar-do-function-pointer): Declare.
144 (rmail-speedbar-button, rmail-speedbar-find-file)
145 (rmail-speedbar-move-message):
146 Use dframe-with-attached-buffer rather than speedbar- alias.
147 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
148 (dframe-message, speedbar-make-specialized-keymap)
149 (speedbar-add-expansion-list, speedbar-mode-functions-list)
150 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
151 (speedbar-insert-button, dframe-select-attached-frame)
152 (dframe-maybee-jump-to-attached-frame)
153 (speedbar-change-initial-expansion-list)
154 (speedbar-previously-used-expansion-list-name): Declare.
155 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
156 Use dframe-message, dframe-with-attached-buffer rather than
158 (gud-sentinel): Silence compiler.
159 * progmodes/vhdl-mode.el (speedbar-refresh)
160 (speedbar-do-function-pointer, speedbar-add-supported-extension)
161 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
162 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
163 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
164 (speedbar-file-lists, speedbar-make-tag-line)
165 (speedbar-line-directory, speedbar-goto-this-file)
166 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
167 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
168 (speedbar-make-button, speedbar-reset-scanners)
169 (speedbar-files-item-info, speedbar-line-text)
170 (speedbar-find-file-in-frame, speedbar-set-timer)
171 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
172 (speedbar-with-writable): Do not (re)define it.
173 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
174 rather than speedbar- alias.
176 2013-05-21 Leo Liu <sdl.web@gmail.com>
178 * progmodes/octave.el (octave-mode-menu): Update and re-organize
180 (octave-mode): Tweak fill-nobreak-predicate.
181 (inferior-octave-startup): Check process to avoid infinite loop.
182 (inferior-octave): Pop to buffer first to show abornmal process
185 2013-05-21 Glenn Morris <rgm@gnu.org>
187 * printing.el (pr-menu-bar): Define when compiling.
189 2013-05-21 Leo Liu <sdl.web@gmail.com>
191 * progmodes/octave.el (octave-auto-fill): Remove.
192 (octave-indent-new-comment-line): Improve.
193 (octave-mode): Use auto fill mode through
194 comment-line-break-function and fill-nobreak-predicate
195 (octave-goto-function-definition): Support DEFUN_DLD.
196 (octave-beginning-of-defun): Small Tweak
197 (octave-help): Show parent directory.
199 2013-05-21 Glenn Morris <rgm@gnu.org>
201 * files.el (dired-unmark):
202 * progmodes/gud.el (gdb-input): Update declarations.
204 * calculator.el (electric, ehelp): No need to load when compiling.
205 (Electric-command-loop, electric-describe-mode): Declare.
207 * doc-view.el (doc-view-current-converter-processes): Move before use.
209 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
210 Move MODE-set-explicitly definition before use.
212 * international/mule-diag.el (mule-diag):
213 Don't use obsolete window-system-version.
215 * mail/feedmail.el (smtpmail): No need to load when compiling.
216 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
218 * mail/mail-utils.el (rfc822): No need to load when compiling.
219 (rfc822-addresses): Autoload it.
220 (mail-strip-quoted-names): Trivial simplification.
222 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
223 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
225 * net/snmp-mode.el (tempo): Don't duplicate requires.
227 * progmodes/prolog.el (info): No need to load when compiling.
228 (comint): Require before shell requires it.
229 (Info-goto-node): Autoload it.
230 (Info-follow-nearest-node): Declare.
231 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
233 * textmodes/artist.el (picture-mode-exit): Declare.
235 * textmodes/reftex-parse.el (reftex-parse-from-file):
236 Trivial rewrite so the compiler can parse it better.
238 2013-05-20 Leo Liu <sdl.web@gmail.com>
240 * progmodes/octave.el (octave-help-mode-map)
241 (octave-help-mode-finish-hook): New variables.
242 (octave-help-mode, octave-help-mode-finish): New functions.
243 (octave-help): Use octave-help-mode.
245 2013-05-20 Glenn Morris <rgm@gnu.org>
247 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
249 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
251 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
252 start at point, so that expansion starting right after opening
253 slash in a regexp is recognized.
254 (ruby-syntax-before-regexp-re): New defvar, extracted from
255 ruby-syntax-propertize-function. Since the value of this regexp
256 is looked up at runtime now, we should be able to turn
257 `ruby-syntax-methods-before-regexp' into a defcustom later.
258 (ruby-syntax-propertize-function): Split regexp matching into two
259 parts, for opening and closing slashes. That allows us to skip
260 over string interpolations and support multiline regexps.
261 Don't call `ruby-syntax-propertize-expansions', instead use another rule
262 for them, which calls `ruby-syntax-propertize-expansion'.
263 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
264 call to `ruby-syntax-propertize-function'.
265 (ruby-syntax-propertize-expansion): Extracted from
266 `ruby-syntax-propertize-expansions'. Handles one expansion.
267 (ruby-syntax-propertize-percent-literal): Leave point right after
268 the percent symbol, so that the expression expansion rule can
269 propertize the contents.
270 (ruby-syntax-propertize-heredoc): Leave point at bol following the
272 (ruby-syntax-propertize-expansions): Remove.
274 2013-05-18 Juri Linkov <juri@jurta.org>
276 * man.el (Man-default-man-entry): Remove `-' from the end
277 of the default value. (Bug#14400)
279 2013-05-18 Glenn Morris <rgm@gnu.org>
281 * comint.el (comint-password-prompt-regexp):
282 Allow "password for XXX" where XXX contains colons (eg https://...).
284 2013-05-18 Leo Liu <sdl.web@gmail.com>
286 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
287 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
288 (octave-source-directories): Don't check process.
289 (octave-source-directories, octave-find-definition): Doc fix.
291 2013-05-18 Glenn Morris <rgm@gnu.org>
293 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
294 Remove backspace/delete bindings. (Bug#14392)
296 * cus-dep.el (custom-make-dependencies): Sort the output.
297 (custom-versions-load-alist): Convert comment to doc.
299 2013-05-17 Leo Liu <sdl.web@gmail.com>
301 * newcomment.el (comment-search-backward): Stricter in finding
302 comment start. (Bug#14303)
304 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
305 (octave-comment-start-skip): Properly anchored.
307 2013-05-17 Leo Liu <sdl.web@gmail.com>
309 * emacs-lisp/smie.el (smie-highlight-matching-block-mode): Clean
310 up when turned off. (Bug#14395)
311 (smie--highlight-matching-block-overlay): No longer buffer-local.
312 (smie-highlight-matching-block): Adjust.
314 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
316 Doc string fix for "nanoseconds" (Bug#14406).
317 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
318 Fix doc string typo that had "nanoseconds" instead of "microseconds".
320 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
322 * calc/calc-units.el (math-extract-units): Preserve powers
325 2013-05-17 Leo Liu <sdl.web@gmail.com>
327 * subr.el (delete-consecutive-dups): New function.
328 * ido.el (ido-set-matches-1): Use it.
329 * progmodes/octave.el (inferior-octave-completion-table): Use it.
330 * ido.el (ido-remove-consecutive-dups): Remove.
332 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
334 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
335 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
336 regexp-opt's `words'.
338 2013-05-16 Leo Liu <sdl.web@gmail.com>
340 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
341 (smie--highlight-matching-block-overlay)
342 (smie--highlight-matching-block-lastpos)
343 (smie--highlight-matching-block-timer): New variables.
344 (smie-highlight-matching-block): New function.
345 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
346 (smie-setup): Conditionally enable smie-blink-matching-open.
348 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
350 Sync with upstream verilog-mode r840.
351 * progmodes/verilog-mode.el (verilog-mode-version)
352 (verilog-mode-release-date): Update.
353 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
354 (verilog-sig-tieoff): Fix string error on
355 AUTORESET with colon define, bug594. Reported by Andrew Hou.
356 (verilog-read-decls): Fix parameters confusing
357 AUTOINST interfaces, bug565. Reported by Leith Johnson.
359 2013-05-16 Eli Zaretskii <eliz@gnu.org>
361 * subr.el (reveal-filename): New function.
363 * loadup.el: Compute Emacs executable versions on MS-Windows,
364 where executables have the .exe extension. Add a hard link
365 emacs-XX.YY.ZZ.exe on MS-Windows.
367 * Makefile.in (XARGS_LIMIT): New variable.
368 (custom-deps, finder-data, autoloads)
369 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
370 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
371 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
372 (compile-main): Limit xargs according to $(XARGS_LIMIT).
374 2013-05-16 Leo Liu <sdl.web@gmail.com>
376 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
377 (octave-mode-menu, octave-mode-map): Remove its uses.
379 2013-05-16 Reto Zimmermann <reto@gnu.org>
381 Sync with upstream vhdl mode v3.34.2.
382 * progmodes/vhdl-mode.el: Use `push' throughout.
383 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
384 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
385 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
386 (vhdl-actual-generic-name): New option to derive actual generic name.
387 (vhdl-port-paste-signals): Replace formal by actual generics.
388 (vhdl-beautify): New name for old group vhdl-align. Update users.
389 (vhdl-beautify-options): New option.
390 (vhdl-last-input-event): New compat alias. Use throughout.
391 (vhdl-goto-line): Replace user level function `goto-line'.
392 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
393 vhdl-fix-statement-buffer.
394 (vhdl-create-mode-menu): Add some entries.
395 (vhdl-align-region-groups): Respect vhdl-beautify-options.
396 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
397 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
398 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
399 to force statements on one line.
400 (vhdl-remove-trailing-spaces-region):
401 New, split from vhdl-remove-trailing-spaces.
402 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
403 Respect vhdl-beautify-options.
404 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
405 (vhdl-update-sensitivity-list): Not add with index if exists without.
406 Not include array index with signal. Ignore keywords in comments.
407 (vhdl-get-visible-signals): Regexp tweaks.
408 (vhdl-template-component-inst): Handle empty library.
409 (vhdl-template-type): Add template for 'enum' type.
410 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
411 Use vhdl-replace-string.
412 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
413 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
414 (vhdl-speedbar-initialize): Update for above name change.
415 (vhdl-compose-wire-components): Fix in handling of constants.
416 (vhdl-error-regexp-emacs-alist): New variable.
417 (vhdl-error-regexp-add-emacs): New function;
418 adds support for new compile.el (Emacs 22+)
419 (vhdl-generate-makefile-1): Change target order for single lib. units.
420 Allow use of absolute file names.
422 2013-05-16 Leo Liu <sdl.web@gmail.com>
424 * simple.el (prog-indent-sexp): Indent enclosing defun.
426 2013-05-15 Glenn Morris <rgm@gnu.org>
428 * cus-start.el (show-trailing-whitespace): Move to editing basics.
429 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
430 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
431 (whitespace-highlight): Move to whitespace group.
433 * comint.el (comint-source):
434 * pcmpl-linux.el (pcmpl-linux):
435 * shell.el (shell-faces):
436 * eshell/esh-opt.el (eshell-opt):
437 * international/ccl.el (ccl): Remove empty custom groups.
439 * completion.el (dynamic-completion-mode):
440 * jit-lock.el (jit-lock-debug-mode):
441 * minibuffer.el (completion-in-region-mode):
442 * type-break.el (type-break-mode-line-message-mode)
443 (type-break-query-mode):
444 * emulation/tpu-edt.el (tpu-edt-mode):
445 * progmodes/subword.el (global-subword-mode, global-superword-mode):
446 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
447 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
449 * term/xterm.el (xterm): Change parent group to terminals.
451 * master.el (master): Remove empty custom group.
452 (master-mode): Remove unused :group argument.
453 * textmodes/refill.el (refill): Remove empty custom group.
454 (refill-mode): Remove unused :group argument.
456 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
458 * cus-dep.el: Provide a feature.
459 (custom-make-dependencies): Ignore dotfiles (dir-locals).
460 Don't mistakenly ignore files whose basenames match a basename
461 from preloaded-file-list (eg cedet/ede/simple.el).
462 Add a fallback method for getting :group.
464 2013-05-15 Juri Linkov <juri@jurta.org>
466 * isearch.el (isearch-char-by-name): Rename from
467 `isearch-insert-char-by-name'. Doc fix.
468 (isearch-forward): Mention `isearch-char-by-name' in
469 the docstring. (Bug#13348)
471 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
472 `exit-minibuffer' instead of
473 `isearch-nonincremental-exit-minibuffer'.
474 (isearch-edit-string): Remove mention of
475 `isearch-nonincremental-exit-minibuffer' from docstring.
476 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
477 (isearch-forward-exit-minibuffer)
478 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
480 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
482 * loadup.el: Just use unversioned DOC.
484 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
485 literals as extending to EOB.
486 (nxml-last-fontify-end): Remove unused variable.
487 (nxml-after-change1): Use with-silent-modifications.
488 (nxml-extend-after-change-region): Simplify.
489 (nxml-extend-after-change-region1): Remove function.
490 (nxml-after-change1): Don't adjust for dependent regions.
491 (nxml-fontify-matcher): Simplify.
492 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
493 (xmltok-add-dependent): Remove function.
494 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
495 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
496 (xmltok-scan-prolog-after-processing-instruction-open): Treat
497 unclosed <[[, <?, comment, and other literals as extending to EOB.
498 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
499 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
501 (rng-do-some-validation-1): Don't mark dependent regions.
502 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
503 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
504 (nxml-clear-dependent-regions): Remove functions.
505 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
506 (nxml-ensure-scan-up-to-date):
507 Don't clear&mark dependent regions.
509 2013-05-15 Leo Liu <sdl.web@gmail.com>
511 * progmodes/octave.el (octave-goto-function-definition):
512 Improve and fix callers.
514 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
516 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
517 the setter (bug#14387).
519 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
520 surrounding group (bug#14402).
522 2013-05-14 Juri Linkov <juri@jurta.org>
524 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
527 2013-05-14 Glenn Morris <rgm@gnu.org>
529 * progmodes/f90.el (f90-imenu-generic-expression):
530 Fix typo in 2013-05-08 change. (Bug#14402)
532 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
534 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
535 Remove signals for which replies are never received.
537 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
539 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
540 (gdb-handler-alist, gdb-handler-number): Remove variables.
541 (gdb-handler-list): New variable.
542 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
543 (gdb-pending-handler-p, gdb-handle-reply)
544 (gdb-remove-all-pending-triggers): New functions.
545 (gdb-discard-unordered-replies): New defcustom.
546 (gdb-handler): New defstruct.
547 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
548 instead of gdb-pending-triggers. Update docstring.
549 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
550 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
551 (gdb-var-update-handler, def-gdb-auto-update-trigger)
552 (def-gdb-auto-update-handler, gdb-get-changed-registers)
553 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
554 (gdb-frame-handler): Pending triggers are now automatically managed.
555 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
557 (gdb-input): Automatically handles pending triggers. Update docstring.
558 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
559 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
561 (gdb-done-or-error): Now use gdb-handle-reply.
563 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
565 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
568 2013-05-14 Glenn Morris <rgm@gnu.org>
570 * subr.el (user-emacs-directory-warning): New option.
571 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
573 2013-05-14 Leo Liu <sdl.web@gmail.com>
575 * progmodes/octave.el (octave-font-lock-keywords): Fix error
577 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
578 (octave-font-lock-texinfo-comment): Fix invalid search bound
579 error: wrong side of point.
581 2013-05-14 Glenn Morris <rgm@gnu.org>
583 * progmodes/flymake.el (flymake-xml-program): New option.
584 (flymake-xml-init): Use it.
586 * term/xterm.el: Provide a feature.
588 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
590 2013-05-13 Glenn Morris <rgm@gnu.org>
592 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
593 Add compat aliases as a hack workaround. (Bug#14384)
595 2013-05-13 Leo Liu <sdl.web@gmail.com>
597 * progmodes/octave.el (octave-indent-comment): Fix indentation for
599 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
601 (octave-comment-start-skip): Include %!.
602 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
604 2013-05-12 Leo Liu <sdl.web@gmail.com>
606 * progmodes/octave.el (inferior-octave-startup): Store the value
607 of __octave_srcdir__ for octave-source-directories.
608 (inferior-octave-check-process): New function refactored out of
609 inferior-octave-send-list-and-digest.
610 (octave-source-directories)
611 (octave-find-definition-filename-function): New variables.
612 (octave-source-directories)
613 (octave-find-definition-default-filename): New functions.
614 (octave-find-definition): Improve to find functions implemented in C++.
616 2013-05-12 Glenn Morris <rgm@gnu.org>
618 * calendar/diary-lib.el (diary-outlook-format-1):
619 Don't include dayname in the output. (Bug#14349)
621 2013-05-11 Glenn Morris <rgm@gnu.org>
623 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
625 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
626 Treat cc-provide like provide.
628 2013-05-11 Kevin Ryde <user42@zip.com.au>
630 * cus-dep.el (custom-make-dependencies):
631 Use generated-autoload-load-name for the sake of files such
632 such cedet/semantic/bovine/c.el, where the base file name
633 is not in load-path. (Bug#5277)
635 2013-05-11 Glenn Morris <rgm@gnu.org>
637 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
640 2013-05-11 Leo Liu <sdl.web@gmail.com>
642 * progmodes/octave.el (octave-indent-comment): Improve.
643 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
644 (octave-eldoc-function-signatures, octave-eldoc-function):
646 (octave-mode, inferior-octave-mode): Add eldoc support.
648 2013-05-11 Richard Stallman <rms@gnu.org>
650 * epa.el (epa-decrypt-file): Take output file name as argument
651 and read it using `interactive'.
653 2013-05-11 Leo Liu <sdl.web@gmail.com>
655 * progmodes/octave.el (octave-beginning-of-line)
656 (octave-end-of-line): Check before using up-list because it jumps
657 out of more syntactic contructs since moving to smie.
658 (octave-indent-comment): New function.
659 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
660 (octave-begin-keywords, octave-end-keywords)
661 (octave-reserved-words, octave-smie-bnf-table)
662 (octave-smie-rules): Add new keywords from Octave 3.6.4.
664 2013-05-11 Glenn Morris <rgm@gnu.org>
666 * faces.el (internal-face-x-get-resource):
667 * frame.el (ns-display-monitor-attributes-list):
668 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
670 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
672 * calc/calc-menu.el: Make it loadable in isolation.
674 * net/eudcb-bbdb.el: Make it loadable without bbdb.
675 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
676 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
677 (eudc-bbdb-query-internal): Require 'bbdb.
679 * lpr.el (lpr-headers-switches):
680 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
682 * progmodes/sql.el (sql-login-params): Fix and improve :type.
684 * emulation/edt-mapper.el: In batch mode, error rather than hang.
686 * term.el (term-set-escape-char): Make it idempotent.
688 2013-05-10 Leo Liu <sdl.web@gmail.com>
690 * progmodes/octave.el (inferior-octave-completion-table):
691 No longer a function and all uses changed. Use cache to speed up
692 completion due to bug#11906.
693 (octave-beginning-of-defun): Re-write to be more general.
695 2013-05-10 Glenn Morris <rgm@gnu.org>
697 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
699 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
701 * comint.el (comint-redirect-send-command-to-process): Use :around
702 rather than :override for comint-redirect-filter.
703 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
704 Call it instead of comint-redirect-original-filter-function (which
705 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
707 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
709 * frame.el (display-monitor-attributes-list): Add NS case.
710 (ns-display-monitor-attributes-list): Declare.
712 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
714 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
716 2013-05-09 Glenn Morris <rgm@gnu.org>
718 * international/fontset.el (vertical-centering-font-regexp):
721 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
723 * bookmark.el (bookmark-search-delay):
724 * cus-start.el (vertical-centering-font-regexp):
725 * ps-mule.el (ps-mule-font-info-database-default):
726 * ps-print.el (ps-default-fg, ps-default-bg):
727 * type-break.el (type-break-good-break-interval):
728 * whitespace.el (whitespace-indentation-regexp)
729 (whitespace-space-after-tab-regexp):
730 * emacs-lisp/testcover.el (testcover-1value-functions)
731 (testcover-noreturn-functions, testcover-progn-functions)
732 (testcover-prog1-functions):
733 * emulation/viper-init.el (viper-emacs-state-cursor-color):
734 * eshell/em-glob.el (eshell-glob-translate-alist):
735 * play/tetris.el (tetris-tty-colors):
736 * progmodes/cpp.el (cpp-face-default-list):
737 * progmodes/flymake.el (flymake-allowed-file-name-masks):
738 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
739 (idlwave-help-browser-generic-args):
740 * progmodes/make-mode.el (makefile-special-targets-list):
741 * progmodes/python.el (python-shell-virtualenv-path):
742 * progmodes/verilog-mode.el (verilog-active-low-regexp)
743 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
744 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
745 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
746 * textmodes/reftex-vars.el (reftex-format-label-function):
747 * textmodes/remember.el (remember-diary-file): Fix custom types.
749 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
752 2013-05-09 Leo Liu <sdl.web@gmail.com>
754 * progmodes/octave.el (inferior-octave-completion-at-point):
755 Restore file completion. (Bug#14300)
756 (inferior-octave-startup): Fix incorrect highlighting for the
759 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
761 * progmodes/ruby-mode.el: First cut at SMIE support.
762 (ruby-use-smie): New var.
763 (ruby-smie-grammar): New constant.
764 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
765 (ruby-smie--forward-token, ruby-smie--backward-token)
766 (ruby-smie-rules): New functions.
767 (ruby-mode-variables): Setup SMIE if applicable.
769 2013-05-08 Eli Zaretskii <eliz@gnu.org>
771 * simple.el (line-move-visual): Signal beginning/end of buffer
772 only if vertical-motion moved less than it was requested. Avoids
773 silly incorrect error messages when there are display strings with
774 multiple newlines at EOL.
776 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
778 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
779 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
780 (prolog-char-quote-workaround):
781 * progmodes/cperl-mode.el (cperl-under-as-char):
782 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
784 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
786 (vhdl-mode-syntax-table-init): Remove.
788 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
791 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
793 (ld-script-font-lock-keywords):
794 Change regexps to use things like \_< and \_>.
796 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
797 Change all regexps to use things like \_< and \_>.
799 * progmodes/autoconf.el (autoconf-definition-regexp)
800 (autoconf-font-lock-keywords, autoconf-current-defun-function):
801 Handle a _ with symbol syntax.
802 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
804 * progmodes/ada-mode.el (ada-mode-abbrev-table):
805 Consolidate declaration.
806 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
808 (ada-create-syntax-table): Remove.
809 (ada-capitalize-word): Don't mess with the syntax of "_" since it
810 already has the right syntax nowadays.
811 (ada-goto-next-word): Don't change the syntax of "_".
813 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
816 2013-05-08 Sam Steingold <sds@gnu.org>
818 * thingatpt.el (thing-at-point): Accept optional second argument
819 NO-PROPERTIES to strip the text properties from the return value.
820 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
821 to `thing-at-point' instead of stripping the properties ourselves.
822 Also, when `thing-at-point' fails to find a url, prepend "http://"
823 to the filename at point on the assumption that the user is
824 pointing at something like gnu.org/gnu.
826 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
828 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
829 * faces.el (crm-separator):
830 Silence byte-compiler.
832 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
833 (tool-bar-map): Remove unneeded defvars.
835 2013-05-08 Leo Liu <sdl.web@gmail.com>
837 Re-work a fix for bug#10994 based on Le Wang's patch.
838 * ido.el (ido-remove-consecutive-dups): New helper.
839 (ido-completing-read): Use it.
840 (ido-chop): Revert fix for bug#10994.
842 2013-05-08 Adam Spiers <emacs@adamspiers.org>
844 * cus-edit.el (custom-save-variables):
845 Pretty-print long values. (Bug#14187)
847 2013-05-08 Glenn Morris <rgm@gnu.org>
849 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
850 (m4-mode-syntax-table): Init in the defvar.
851 (m4-mode-abbrev-table): Let define-derived-mode define it.
853 2013-05-08 Tom Tromey <tromey@redhat.com>
855 * progmodes/m4-mode.el (m4-mode-syntax-table):
856 Do not treat "_" as word constituent. (Bug#14167)
858 2013-05-07 Glenn Morris <rgm@gnu.org>
860 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
861 Remove explicit eshell-isearch-cancel-map.
863 * progmodes/f90.el (f90-smart-end-names): New option.
864 (f90-smart-end): Doc fix.
865 (f90-end-block-optional-name): New constant.
866 (f90-block-match): Respect f90-smart-end-names.
868 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
870 * progmodes/octave.el (octave-smie-forward-token): Be more careful
871 about implicit semi-colons (bug#14218).
873 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
875 * frame.el (display-monitor-attributes-list)
876 (frame-monitor-attributes): New functions.
878 2013-05-06 Leo Liu <sdl.web@gmail.com>
880 * progmodes/octave.el (octave-syntax-propertize-function): Change
881 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
882 (octave-font-lock-keywords): Use octave-operator-regexp.
883 (octave-completion-at-point): Rename from
884 octave-completion-at-point-function.
885 (inferior-octave-directory-tracker): Robustify.
886 (octave-text-functions): Remove and fix its uses. No such things
889 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
891 * emacs-lisp/trace.el (trace--display-buffer): New function.
892 (trace-make-advice): Use it.
894 2013-05-06 Juri Linkov <juri@jurta.org>
896 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
897 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
899 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
900 in the help string. (Bug#12985)
902 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
904 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
906 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
908 * progmodes/perl-mode.el: Add support for here documents.
909 (perl-syntax-propertize-function): Match here-doc markers.
910 (perl-syntax-propertize-special-constructs): Find their end.
911 (perl-imenu-generic-expression): Use [:alnum:].
913 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
914 (advice--add-function): Refresh the advice if already present
917 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
919 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
921 2013-05-06 Glenn Morris <rgm@gnu.org>
923 * w32-fns.el (w32-charset-info-alist): Declare.
925 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
926 of its defcustom properties.
927 (eshell-cmpl-initialize): No need to load pcomplete.
929 * generic-x.el: No need to require comint when compiling.
931 * net/eudc-export.el: Make it loadable without bbdb.
932 (top-level): Use require rather than load-library.
933 (eudc-create-bbdb-record, eudc-bbdbify-phone)
934 (eudc-batch-export-records-to-bbdb)
935 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
938 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
940 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
941 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
942 some tweaks, instead.
944 2013-05-05 Leo Liu <sdl.web@gmail.com>
946 * progmodes/octave.el (octave-font-lock-keywords)
947 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
948 (inferior-octave-send-list-and-digest): Improve error message.
949 (octave-mode, inferior-octave-mode): Use setq-local.
950 (octave-help): Set info-lookup-mode.
952 2013-05-05 Richard Stallman <rms@gnu.org>
954 * vc/compare-w.el (compare-windows-whitespace):
955 Treat no-break space as whitespace.
957 * mail/rmailsum.el (rmail-summary-rmail-update):
958 Detect empty summary and don't change selected message.
959 (rmail-summary-goto-msg): Likewise.
961 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
962 Doc fixes, rename args.
964 2013-05-05 Alan Mackenzie <acm@muc.de>
966 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
968 2013-05-05 Juri Linkov <juri@jurta.org>
970 * info.el (Info-read-subfile): Use (point-min) instead of (point)
971 to not add the length of the summary segment to the return value.
974 2013-05-05 Leo Liu <sdl.web@gmail.com>
976 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
977 (inferior-octave-output-filter): Remove.
978 (octave-send-region, inferior-octave-startup): Fix callers.
979 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
980 (octave-binary-file-extensions): New user variable.
981 (octave-find-definition): Confirm if opening binary files.
982 (octave-help-file): Use octave-find-definition to get the binary
984 (octave-help): Adjust for octave-help-file change.
986 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
988 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
989 Merge the two entries that handle function definitions.
990 (pascal--syntax-propertize): New const.
991 (pascal-mode): Use it. Use setq-local.
993 2013-05-04 Glenn Morris <rgm@gnu.org>
995 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
996 (diary-from-outlook): Respect diary-from-outlook-function.
998 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1000 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
1001 Move the declaration from C.
1002 (read-minibuffer, eval-minibuffer): Move from C.
1003 (completion-setup-function): Avoid minibuffer-completion-contents.
1005 2013-05-03 Leo Liu <sdl.web@gmail.com>
1007 * progmodes/octave.el (octave-font-lock-keywords): Do not
1008 dehighlight 'end' in comments or strings.
1009 (octave-completing-read, octave-goto-function-definition):
1011 (octave-help-buffer): New user variable.
1012 (octave-help-file, octave-help-function): New button types.
1013 (octave-help): New command and bind it to C-h ;.
1014 (octave-find-definition): New command and bind it to M-.
1015 (user-error): Alias to error if not defined.
1017 2013-05-02 Leo Liu <sdl.web@gmail.com>
1019 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
1021 (octave-font-lock-keywords): Include [ and {.
1023 2013-05-02 Leo Liu <sdl.web@gmail.com>
1025 * progmodes/octave.el (inferior-octave-startup-file): Change default.
1026 (inferior-octave): Remove calling comint-mode and return the buffer.
1027 (inferior-octave-startup): Cosmetic changes.
1029 2013-05-02 Leo Liu <sdl.web@gmail.com>
1031 * progmodes/octave.el (octave-syntax-propertize-function):
1032 Include the case when ' is at line beginning. (Bug#14336)
1034 2013-05-02 Glenn Morris <rgm@gnu.org>
1036 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
1037 * desktop.el (vc-dir-mode): Just autoload it here.
1039 2013-05-02 Alan Mackenzie <acm@muc.de>
1041 Eliminate variable c-standard-font-lock-fontify-region-function.
1042 * progmodes/cc-mode.el
1043 (c-standard-font-lock-fontify-region-function): Remove.
1044 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
1046 2013-05-01 Leo Liu <sdl.web@gmail.com>
1048 * progmodes/octave.el: Compatible with older emacs-24 releases.
1049 (inferior-octave-has-built-in-variables): Remove. Built-in
1050 variables were removed from Octave in 2007.
1051 (inferior-octave-startup): Fix uses.
1052 (comint-line-beginning-position): Remove compatibility code for
1055 2013-05-01 Juri Linkov <juri@jurta.org>
1057 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
1059 2013-05-01 Juri Linkov <juri@jurta.org>
1061 * comint.el (comint-previous-matching-input): Don't print message
1062 "History item: %d" when `isearch-mode' is active.
1063 (comint-history-isearch-message): Print message "History item: %d"
1064 when `comint-input-ring-index' is not empty and this function is
1065 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
1067 2013-05-01 Leo Liu <sdl.web@gmail.com>
1069 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
1070 definitions. Use completion-at-point to insert keywords.
1071 (octave-abbrev-start): Remove.
1072 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
1074 2013-04-30 Leo Liu <sdl.web@gmail.com>
1076 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
1079 2013-04-30 Alan Mackenzie <acm@muc.de>
1081 Handle arbitrarily long C++ member initialisation lists.
1082 * progmodes/cc-engine.el (c-back-over-member-initializers):
1084 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
1085 (most) member init lists.
1087 2013-04-30 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
1089 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
1092 2013-04-30 Leo Liu <sdl.web@gmail.com>
1094 * progmodes/octave.el (octave-variables): Remove. No builtin
1095 variables any more. All converted to functions.
1096 (octave-font-lock-keywords, octave-completion-at-point-function):
1098 (octave-font-lock-texinfo-comment): New user variable.
1099 (octave-texinfo-font-lock-keywords): New variable for texinfo
1101 (octave-function-comment-block): New face.
1102 (octave-font-lock-texinfo-comment): New function.
1103 (octave-mode): Font lock texinfo comment block.
1105 2013-04-29 Leo Liu <sdl.web@gmail.com>
1107 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
1108 indexing expression.
1109 (octave-continuation-string): Do not use \.
1110 (inferior-octave-complete-impossible): Remove.
1111 (inferior-octave-completion-table)
1112 (inferior-octave-completion-at-point): Remove its uses.
1113 (inferior-octave-startup): completion_matches was introduced to
1114 Octave in 1996 so safe to assume it.
1115 (octave-function-file-comment): Improve to follow how Octave does it.
1116 (octave-update-function-file-comment): Tweak.
1118 2013-04-29 Leo Liu <sdl.web@gmail.com>
1120 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
1121 (inferior-octave-startup): Remove inferior-octave-startup-hook.
1122 (octave-function-file-comment): Fix typo.
1123 (octave-sync-function-file-names): Use read-char-choice.
1125 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
1127 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
1128 to t for the less important warnings.
1130 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1132 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
1134 2013-04-27 Glenn Morris <rgm@gnu.org>
1136 * vc/log-view.el (log-view-current-entry):
1137 Treat "---" separator lines as part of the following rev. (Bug#14169)
1139 2013-04-27 Juri Linkov <juri@jurta.org>
1141 * subr.el (read-number): Doc fix about using it by interactive
1142 code letter `n'. (Bug#14254)
1144 2013-04-27 Juri Linkov <juri@jurta.org>
1146 * desktop.el (desktop-auto-save-timeout): New option.
1147 (desktop-file-checksum): New variable.
1148 (desktop-save): Add optional arg `auto-save' and don't auto-save
1150 (desktop-auto-save-timer): New variable.
1151 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
1152 (after-init-hook): Call `desktop-auto-save-set-timer'.
1153 Suggested by Reuben Thomas <rrt@sc3d.org> in
1154 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
1156 2013-04-27 Leo Liu <sdl.web@gmail.com>
1158 * progmodes/octave.el (octave-function-file-p)
1159 (octave-skip-comment-forward, octave-function-file-comment)
1160 (octave-update-function-file-comment): New functions.
1161 (octave-mode-map): Bind C-c ; to
1162 octave-update-function-file-comment.
1163 (octave-mode-menu): Add octave-update-function-file-comment.
1164 (octave-mode, inferior-octave-mode): Fix doc-string.
1165 (octave-insert-defun): Conform to Octave's coding convention.
1168 * files.el (basic-save-buffer): Don't let errors in
1169 before-save-hook prevent saving buffer.
1171 2013-04-20 Roland Winkler <winkler@gnu.org>
1173 * faces.el (read-face-name): Use completing-read if arg multiple
1176 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
1178 * ls-lisp.el (ls-lisp-insert-directory): If no files are
1179 displayed, move point to after the totals line.
1180 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
1183 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1185 * emacs-lisp/package.el (package-autoload-ensure-default-file):
1186 Add current dir to the load-path.
1187 (package-generate-autoloads): Don't rely on
1188 autoload-ensure-default-file.
1190 2013-04-26 Reuben Thomas <rrt@sc3d.org>
1192 * textmodes/remember.el (remember-store-in-files): Document that
1193 the file name format is passed to `format-time-string'.
1195 2013-04-26 Leo Liu <sdl.web@gmail.com>
1197 * progmodes/octave.el (octave-sync-function-file-names): New function.
1198 (octave-mode): Use it in before-save-hook.
1200 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1202 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
1205 * progmodes/octave.el (octave-smie-forward-token): Properly skip
1206 \n and comment, even if it's not an implicit ; (bug#14218).
1208 2013-04-26 Glenn Morris <rgm@gnu.org>
1210 * subr.el (read-number): Once more use `read' rather than
1211 `string-to-number', to trap non-numeric input. (Bug#14254)
1213 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
1215 * emacs-lisp/syntax.el (syntax-propertize-multiline):
1216 Use `syntax-multiline' text property consistently instead of
1217 `font-lock-multiline'. (bug#14237).
1219 2013-04-26 Glenn Morris <rgm@gnu.org>
1221 * emacs-lisp/shadow.el (list-load-path-shadows):
1222 No longer necessary to check for duplicate simple.el, since
1223 2012-07-07 change to init_lread to not include installation lisp
1224 directories in load-path when running uninstalled. (Bug#14270)
1226 2013-04-26 Leo Liu <sdl.web@gmail.com>
1228 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
1229 (octave-mode, inferior-octave-mode): Use setq-local.
1230 (octave-not-in-string-or-comment-p): Rename to
1231 octave-in-string-or-comment-p.
1232 (octave-in-comment-p, octave-in-string-p)
1233 (octave-in-string-or-comment-p): Replace defsubst with defun.
1235 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
1237 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
1239 2013-04-25 Bastien Guerry <bzg@gnu.org>
1241 * textmodes/remember.el (remember-data-directory)
1242 (remember-directory-file-name-format): Fix custom types.
1244 2013-04-25 Leo Liu <sdl.web@gmail.com>
1246 * progmodes/octave.el (octave-completion-at-point-function):
1247 Make use of inferior octave process.
1248 (octave-initialize-completions): Remove.
1249 (inferior-octave-completion-table): New function.
1250 (inferior-octave-completion-at-point): Use it.
1251 (octave-completion-alist): Remove.
1253 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1255 * progmodes/opascal.el: Use font-lock and syntax-propertize.
1256 (opascal-mode-syntax-table): New var.
1257 (opascal-literal-kind, opascal-is-literal-end)
1258 (opascal-literal-token-at): Rewrite.
1259 (opascal--literal-start-re, opascal-font-lock-keywords)
1260 (opascal--syntax-propertize): New constants.
1261 (opascal-font-lock-defaults): Adjust.
1262 (opascal-mode): Use them. Set comment-<foo> variables as well.
1263 (delphi-comment-face, opascal-comment-face, delphi-string-face)
1264 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
1265 (delphi-other-face, opascal-other-face): Remove face variables.
1266 (opascal-save-state): Remove macro.
1267 (opascal-fontifying-progress-step): Remove constant.
1268 (opascal--ignore-changes): Remove var.
1269 (opascal-set-token-property, opascal-parse-next-literal)
1270 (opascal-is-stable-literal, opascal-complete-literal)
1271 (opascal-is-literal-start, opascal-face-of)
1272 (opascal-parse-region, opascal-parse-region-until-stable)
1273 (opascal-fontify-region, opascal-after-change)
1274 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
1275 (opascal-debug-parse-region, opascal-debug-parse-window)
1276 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
1277 (opascal-debug-fontify-buffer): Remove.
1278 (opascal-debug-mode-map): Adjust accordingly.
1280 2013-04-25 Leo Liu <sdl.web@gmail.com>
1282 Merge octave-mod.el and octave-inf.el into octave.el with some
1284 * progmodes/octave.el: New file renamed from octave-mod.el.
1285 * progmodes/octave-inf.el: Merged into octave.el.
1286 * progmodes/octave-mod.el: Renamed to octave.el.
1288 2013-04-25 Tassilo Horn <tsdh@gnu.org>
1290 * textmodes/reftex-vars.el
1291 (reftex-label-ignored-macros-and-environments): New defcustom.
1293 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
1295 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1297 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
1298 (smie-indent-keyword): Improve the check to ensure that the next
1299 comment is really on the same line.
1300 (smie-indent-comment): Don't align with a subsequent closer (or eob).
1302 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
1303 semi-colons if the line is not otherwise empty (bug#14218).
1305 2013-04-25 Glenn Morris <rgm@gnu.org>
1307 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
1309 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1311 * progmodes/opascal.el (opascal-set-token-property): Rename from
1312 opascal-set-text-properties and only set `token' (bug#14134).
1313 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
1314 (opascal-literal-text-properties): Remove.
1315 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
1318 2013-04-24 Reuben Thomas <rrt@sc3d.org>
1320 * textmodes/remember.el (remember-handler-functions): Add an
1321 option for a new handler `remember-store-in-files'.
1322 (remember-data-directory, remember-directory-file-name-format):
1324 (remember-store-in-files): New function to store remember notes
1325 as separate files within a directory.
1327 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
1329 * progmodes/compile.el (compilation-next-error-function):
1330 Pass "formats" to compilation-find-file (bug#11777).
1332 2013-04-24 Glenn Morris <rgm@gnu.org>
1334 * vc/vc-bzr.el (vc-bzr-print-log):
1335 * vc/vc-hg.el (vc-hg-print-log):
1336 * vc/vc-svn.el (vc-svn-print-log):
1337 Fix START-REVISION with LIMIT != 1. (Bug#14168)
1339 * vc/vc-bzr.el (vc-bzr-print-log):
1340 * vc/vc-cvs.el (vc-cvs-print-log):
1341 * vc/vc-git.el (vc-git-print-log):
1342 * vc/vc-hg.el (vc-hg-print-log):
1343 * vc/vc-mtn.el (vc-mtn-print-log):
1344 * vc/vc-rcs.el (vc-rcs-print-log):
1345 * vc/vc-sccs.el (vc-sccs-print-log):
1346 * vc/vc-svn.el (vc-svn-print-log):
1347 * vc/vc.el (vc-print-log-internal): Doc fixes.
1349 2013-04-23 Glenn Morris <rgm@gnu.org>
1351 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
1352 Remove venerable code attempting to avoid substitute-command-keys.
1354 2013-04-23 Tassilo Horn <tsdh@gnu.org>
1356 * textmodes/reftex-vars.el (reftex-label-regexps):
1357 Call `reftex-compile-variables' after changes to this variable.
1359 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1361 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
1362 Use lexical-binding.
1363 (jit-lock-force-redisplay): Use markers, check buffer's continued
1364 existence and beware narrowed buffers.
1365 (jit-lock-fontify-now): Adjust call accordingly.
1367 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1369 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
1370 to avoid misleading the user.
1372 2013-04-22 Leo Liu <sdl.web@gmail.com>
1374 * info-look.el: Prefer latex2e.info. (Bug#14240)
1376 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
1378 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
1380 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
1381 * net/tramp.el (tramp-call-process): ... here
1382 (tramp-set-completion-function, tramp-parse-putty):
1383 * net/tramp-adb.el (tramp-adb-execute-adb-command):
1384 * net/tramp-gvfs.el (tramp-gvfs-send-command):
1385 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1386 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
1387 (tramp-call-local-coding-command): Use `tramp-call-process'
1388 instead of `tramp-compat-call-process'.
1390 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
1391 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
1392 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
1393 (tramp-find-inline-compress): Improve traces.
1394 (tramp-maybe-send-script): Check for Perl binary.
1395 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
1397 2013-04-22 Daiki Ueno <ueno@gnu.org>
1399 * epg.el (epg-context-pinentry-mode): New function.
1400 (epg-context-set-pinentry-mode): New function.
1401 (epg--start): Pass --pinentry-mode option to gpg command.
1403 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
1405 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
1406 `comint-dynamic-complete' is obsolete since 24.1, replaced by
1407 `completion-at-point'. (Bug#13774)
1409 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
1410 default key binding for `describe-distribution' has been moved to
1411 `C-h C-o'. (Bug#13970)
1413 2013-04-21 Glenn Morris <rgm@gnu.org>
1415 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
1417 (vc-print-log): Clarify interactive prompt.
1419 2013-04-20 Glenn Morris <rgm@gnu.org>
1421 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1422 No longer include timestamp etc information.
1424 2013-04-20 Roland Winkler <winkler@gnu.org>
1426 * faces.el (read-face-name): Bug fix, return just one face if arg
1427 multiple is nil. (Bug#14209)
1429 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1431 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
1432 (remove-function): Autoload.
1434 * comint.el (comint-redirect-original-filter-function): Remove.
1435 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
1436 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
1437 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
1438 * progmodes/prolog.el (prolog-consult-compile):
1439 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
1440 Use add/remove-function instead.
1441 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
1442 (gud-tooltip-process-output, gud-tooltip-tips):
1443 Use add/remove-function instead.
1444 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
1445 (scheme-interaction-mode, exit-scheme-interaction-mode):
1446 Use add/remove-function instead.
1448 * vc/vc-dispatcher.el: Use lexical-binding.
1449 (vc--process-sentinel): Rename from vc-process-sentinel.
1450 Change last arg to be the code to run. Don't use vc-previous-sentinel
1451 and vc-sentinel-commands any more.
1452 (vc-exec-after): Allow code to be a function. Use add/remove-function.
1453 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
1455 2013-04-19 Masatake YAMATO <yamato@redhat.com>
1457 * progmodes/sh-script.el (sh-imenu-generic-expression):
1458 Handle function names with a single character. (Bug#14111)
1460 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
1462 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
1463 for subroutines defined in an eval (bug#14182).
1465 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1467 * bookmark.el (bookmark-completing-read): Improve handling of empty
1470 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1472 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
1474 2013-04-19 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1476 New faster Imenu implementation (bug#14058).
1477 * progmodes/python.el:
1478 (python-imenu-prev-index-position):
1479 (python-imenu-format-item-label-function)
1480 (python-imenu-format-parent-item-label-function)
1481 (python-imenu-format-parent-item-jump-label-function):
1483 (python-imenu-format-item-label)
1484 (python-imenu-format-parent-item-label)
1485 (python-imenu-format-parent-item-jump-label)
1486 (python-imenu--put-parent, python-imenu--build-tree)
1487 (python-imenu-create-index, python-imenu-create-flat-index)
1488 (python-util-popn): New functions.
1489 (python-mode): Set imenu-create-index-function to
1490 python-imenu-create-index.
1492 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1494 * winner.el (winner-active-region): Use region-active-p, activate-mark
1495 and deactivate-mark (bug#14225).
1497 * simple.el (deactivate-mark): Don't inline it.
1499 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
1501 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
1503 2013-04-18 Tassilo Horn <tsdh@gnu.org>
1505 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
1506 file extensions from the archive-mode entry in order to prefer
1507 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
1509 2013-04-18 Leo Liu <sdl.web@gmail.com>
1511 * bindings.el (help-event-list): Add ?\?.
1513 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1515 * subr.el (with-wrapper-hook): Declare obsolete.
1516 * simple.el (filter-buffer-substring-function): New hook.
1517 (filter-buffer-substring): Use it.
1518 (filter-buffer-substring-functions): Mark obsolete.
1519 * minibuffer.el (completion-in-region-function): New hook.
1520 (completion-in-region): Use it.
1521 (completion-in-region-functions): Mark obsolete.
1522 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
1523 * abbrev.el (abbrev-expand-function): New hook.
1524 (expand-abbrev): Use it.
1525 (abbrev-expand-functions): Mark obsolete.
1526 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
1529 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1531 * progmodes/python.el (python-nav--syntactically): Fix cornercases
1532 and do not care about match data.
1534 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1536 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
1537 completion tables when completing error conditions and
1538 `declare' arguments.
1539 (lisp-complete-symbol, field-complete): Mark as obsolete.
1540 (check-parens): Unmatched parens are user errors.
1541 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
1543 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
1545 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
1546 command changed buffer (ie. `flyspell-pre-buffer' is not current
1547 buffer), which prevents making decisions based on invalid value of
1548 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
1549 cause an error when `flyspell-pre-point' was nil after switching
1551 (flyspell-post-command-hook): No longer needs to change buffers when
1552 checking pre-word. While at it remove unnecessary progn.
1554 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1556 * textmodes/ispell.el (ispell-add-per-file-word-list):
1557 Fix `flyspell-correct-word-before-point' error when accepting
1558 words and `coment-padding' is an integer by using
1559 `comment-normalize-vars' (Bug #14214).
1561 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1563 New defun movement commands.
1564 * progmodes/python.el (python-nav--syntactically)
1565 (python-nav--forward-defun, python-nav-backward-defun)
1566 (python-nav-forward-defun): New functions.
1568 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1570 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
1571 (python-syntax-context): Use named compiler-macro for backwards
1572 compatibility with Emacs 24.x.
1574 2013-04-17 Leo Liu <sdl.web@gmail.com>
1576 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
1577 octave-hide-process-buffer.
1579 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1581 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
1584 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
1586 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
1587 Fix adjustment of offset when receiving incomplete responses from GDB
1590 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1592 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
1593 python-mode-abbrev-table.
1594 (python-skeleton-define): Adjust accordingly.
1595 (python-mode-abbrev-table): New table that inherits from it so that
1596 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
1598 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
1599 (abbrev-symbol): Use it.
1600 (abbrev--before-point): Use it since we already handle inheritance.
1602 2013-04-16 Leo Liu <sdl.web@gmail.com>
1604 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
1605 binding to info-lookup-symbol.
1607 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
1609 * minibuffer.el (completion--twq-all):
1610 * term/ns-win.el (ns-initialize-window-system):
1611 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
1613 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1615 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
1618 * doc-view.el (doc-view-start-process): Handle url-handler directories.
1620 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
1622 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
1623 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
1625 (ruby-end-of-defun): Remove the unused arg, change the docstring
1626 to reflect that this function is only used as the value of
1627 `end-of-defun-function'.
1628 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
1629 to reflect an earlier change that beginning/end-of-defun functions
1630 jump between methods in a class definition, as well as top-level
1633 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1635 * minibuffer.el (minibuffer-complete): Don't just scroll
1636 a *Completions* that's been iconified.
1637 (minibuffer-force-complete): Make sure repetitions do cycle when going
1638 through completion-in-region -> minibuffer-complete.
1640 2013-04-15 Alan Mackenzie <acm@muc.de>
1642 Correct the placement of c-cpp-delimiters when there're #s not at
1645 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
1646 place a submatch around the #.
1647 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
1648 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
1651 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1653 * emacs-lisp/nadvice.el: Properly test names when adding advice.
1654 (advice--member-p): New arg `name'.
1655 (advice--add-function, advice-member-p): Use it (bug#14202).
1657 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
1659 Reformulate java imenu-generic-expression.
1660 The old expression contained ill formed regexps.
1662 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
1663 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
1664 (cc-imenu-java-method-arg-regexp): New defconsts.
1665 (cc-imenu-java-build-type-args-regex): New defun.
1666 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
1667 handling of spaces in the regexp.
1669 2013-03-15 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
1671 * textmodes/ispell.el (ispell-command-loop): Remove
1672 flyspell highlight of a word when ispell accepts it (bug #14178).
1674 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
1676 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
1677 uses code from the previous `ange-ftp-run-real-handler'.
1678 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
1679 only in case that function exist. This is needed for proper
1682 2013-04-15 Tassilo Horn <tsdh@gnu.org>
1684 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
1686 * textmodes/reftex.el (reftex-compile-variables): Use it.
1688 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1690 * files.el (normal-mode): Only use default major-mode if no other mode
1693 * emacs-lisp/trace.el (trace-values): New function.
1695 * files.el: Allow : in local variables (bug#14089).
1696 (hack-local-variable-regexp): New var.
1697 (hack-local-variables-prop-line, hack-local-variables): Use it.
1699 2013-04-13 Roland Winkler <winkler@gnu.org>
1701 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
1702 data before it gets modified by bibtex-beginning-of-entry.
1704 2013-04-13 Roland Winkler <winkler@gnu.org>
1706 * textmodes/bibtex.el (bibtex-url): Doc fix.
1708 2013-04-13 Roland Winkler <winkler@gnu.org>
1710 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
1711 does not visit a BibTeX file, exclude it from the list of buffers
1712 returned by bibtex-initialize.
1714 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
1716 * window.el (split-window): Remove interactive form, since as a
1717 command this function is a special case of split-window-below.
1720 2013-04-12 Roland Winkler <winkler@gnu.org>
1722 * faces.el (read-face-name): Do not override value of arg default.
1723 Allow single faces and strings as default values. Remove those
1724 elements from return value that are not faces.
1725 (describe-face): Simplify.
1726 (face-at-point): New optional args thing and multiple so that this
1727 function can provide the same functionality previously provided by
1729 (make-face-bold, make-face-unbold, make-face-italic)
1730 (make-face-unitalic, make-face-bold-italic, invert-face)
1731 (modify-face, read-face-and-attribute): Use face-at-point.
1733 * cus-edit.el (customize-face, customize-face-other-window)
1734 * cus-theme.el (custom-theme-add-face)
1735 * face-remap.el (buffer-face-set)
1736 * facemenu.el (facemenu-set-face): Use face-at-point.
1738 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
1740 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
1742 2013-04-10 Tassilo Horn <tsdh@gnu.org>
1744 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
1745 off leading { and trailing } from field values.
1747 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1749 * emacs-lisp/timer.el (timer--check): New function.
1750 (timer--time, timer-set-function, timer-event-handler): Use it.
1751 (timer-set-idle-time): Simplify.
1752 (timer--activate): CSE.
1753 (timer-event-handler): Give more info in error message.
1754 (internal-timer-start-idle): New function, moved from C.
1756 * mpc.el (mpc-proc): Add `restart' argument.
1757 (mpc-proc-cmd): Use it.
1758 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
1759 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
1762 2013-04-10 Masatake YAMATO <yamato@redhat.com>
1764 * progmodes/sh-script.el: Implement `sh-mode' own
1765 `add-log-current-defun-function' (bug#14112).
1766 (sh-current-defun-name): New function.
1767 (sh-mode): Use the function.
1769 2013-04-09 Bastien Guerry <bzg@gnu.org>
1771 * simple.el (choose-completion-string): Fix docstring (bug#14163).
1773 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1775 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
1777 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
1780 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
1782 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
1785 2013-04-07 Leo Liu <sdl.web@gmail.com>
1787 * pcmpl-x.el: New file.
1789 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
1791 Do not set x-display-name until X connection is established.
1792 This is needed to prevent from weird situation described at
1793 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
1794 * frame.el (make-frame): Set x-display-name after call to
1795 window system initialization function, not before.
1796 * term/x-win.el (x-initialize-window-system): Add optional
1797 display argument and use it.
1798 * term/w32-win.el (w32-initialize-window-system):
1799 * term/ns-win.el (ns-initialize-window-system):
1800 * term/pc-win.el (msdos-initialize-window-system):
1801 Add compatible optional display argument.
1803 2013-04-06 Eli Zaretskii <eliz@gnu.org>
1805 * files.el (normal-backup-enable-predicate): On MS-Windows and
1806 MS-DOS compare truenames of temporary-file-directory and of the
1807 file, so that 8+3 aliases (usually found in $TEMP on Windows)
1808 don't fail comparison by compare-strings. Also, compare file
1809 names case-insensitively on MS-Windows and MS-DOS.
1811 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1813 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
1814 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
1816 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
1818 * whitespace.el (whitespace-color-on, whitespace-color-off):
1819 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
1821 2013-04-05 Jacek ChrzÄ…szcz <chrzaszcz@mimuw.edu.pl> (tiny change)
1823 * ispell.el (ispell-set-spellchecker-params):
1824 Really set `ispell-args' for all equivs.
1826 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1828 * ido.el (ido-completions): Use extra elements of ido-decorations
1830 (ido-decorations): Update docstring.
1832 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
1834 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1835 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
1836 nil during initialization, in order not to miss changes since the
1837 file was opened. (Bug#14140)
1839 2013-04-05 Leo Liu <sdl.web@gmail.com>
1841 * kmacro.el (kmacro-call-macro): Fix bug#14135.
1843 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
1845 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
1847 2013-04-04 Glenn Morris <rgm@gnu.org>
1849 * electric.el (electric-pair-inhibit-predicate): Add :version.
1851 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1853 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
1854 when a package is required several times (bug#14082).
1856 2013-04-04 Roland Winkler <winkler@gnu.org>
1858 * faces.el (read-face-name): Behave as promised by the docstring.
1859 Assume that arg default is a list of faces.
1860 (describe-face): Call read-face-name with list of default faces.
1862 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1864 * bookmark.el: Fix deletion of bookmarks (bug#13972).
1865 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
1866 (bookmark-bmenu-execute-deletions): Only skip first line if it's
1868 (bookmark-exit-hook-internal): Save even if list is empty.
1870 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
1872 * emacs-lisp/package.el (package-pinned-packages): New var.
1873 (package--add-to-archive-contents): Obey it (bug#14118).
1875 2013-04-03 Alan Mackenzie <acm@muc.de>
1877 Handle `parse-partial-sexp' landing inside a comment opener
1878 (Bug#13244). Also adapt to the new values of element 7 of a parse
1881 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
1882 parameter `not-in-delimiter'. Handle being inside comment opener.
1883 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
1884 character in case we're typing a '*' after a '/'.
1885 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
1886 instead by passing the parameter to c-state-pp-to-literal.
1888 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
1889 for elt. 7 of a parse state.
1891 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
1893 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
1894 * international/latin1-disp.el, international/mule-util.el:
1895 * language/cyril-util.el, language/european.el, language/ind-util.el:
1896 * language/lao-util.el, language/thai.el, language/tibet-util.el:
1897 * language/tibetan.el, language/viet-util.el:
1898 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
1900 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1902 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
1903 (electric-pair-post-self-insert-function): Use it.
1904 (electric-pair-default-inhibit): New function, extracted from
1905 electric-pair-post-self-insert-function.
1907 2013-03-31 Roland Winkler <winkler@gnu.org>
1909 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
1911 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1913 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
1915 2013-03-30 FabiĂ¡n Ezequiel Gallina <fabian@anue.biz>
1917 Un-indent after "pass" and "return" statements (Bug#13888)
1918 * progmodes/python.el (python-indent-block-enders): New var.
1919 (python-indent-calculate-indentation): Use it.
1921 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
1923 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
1924 defun. Defining it as defalias could introduce too eager
1925 byte-compiler optimization. (Bug#14030)
1927 2013-03-30 Chong Yidong <cyd@gnu.org>
1929 * iswitchb.el (iswitchb-read-buffer): Fix typo.
1931 2013-03-30 Leo Liu <sdl.web@gmail.com>
1933 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
1934 (kmacro-execute-from-register): Pass the keyboard macro to
1935 kmacro-call-macro or repeating won't work correctly.
1937 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
1939 * progmodes/subword.el: Back to using `forward-symbol'.
1941 * subr.el (forward-whitespace, forward-symbol)
1942 (forward-same-syntax): Move from thingatpt.el.
1944 2013-03-29 Leo Liu <sdl.web@gmail.com>
1946 * kmacro.el (kmacro-to-register): New command.
1947 (kmacro-execute-from-register): New function.
1948 (kmacro-keymap): Bind to 'x'. (Bug#14071)
1950 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
1952 * mpc.el: Use defvar-local and setq-local.
1953 (mpc--proc-connect): Connection failures are not bugs.
1954 (mpc-mode-map): `follow-link' only applies to the buffer's content.
1955 (mpc-volume-map): Bind to the up-events.
1957 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
1959 * progmodes/subword.el (superword-mode): Use `forward-sexp'
1960 instead of `forward-symbol'.
1962 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
1964 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
1965 (edebug--recursive-edit): Use it.
1966 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
1967 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
1969 2013-03-28 Leo Liu <sdl.web@gmail.com>
1971 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
1973 2013-03-27 Eli Zaretskii <eliz@gnu.org>
1975 * facemenu.el (list-colors-callback): New defvar.
1976 (list-colors-redisplay): New function.
1977 (list-colors-display): Install list-colors-redisplay as the
1978 revert-buffer-function. (Bug#14063)
1980 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1982 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
1983 and suffixes don't overlap (bug#14061).
1985 * case-table.el: Use lexical-binding.
1986 (case-table-get-table): New function.
1987 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
1989 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
1991 * progmodes/subword.el: Add `superword-mode' to do word motion
1992 over symbol_words (parallels and leverages `subword-mode' which
1993 does word motion inside MixedCaseWords).
1995 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
1997 * eshell/em-unix.el: Move su and sudo to...
1998 * eshell/em-tramp.el: ...Eshell tramp module.
2000 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2002 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
2003 Change return value to be a sexp. Delay `get-buffer' to after
2004 restoring the desktop (bug#13951).
2006 2013-03-26 Leo Liu <sdl.web@gmail.com>
2008 * register.el: Move semantic tag handling back to
2009 cedet/semantic/senator.el. (Bug#14052)
2011 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2013 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
2014 into the prompt either (bug#13963).
2016 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
2018 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
2019 part of "(error-foo)".
2021 2013-03-24 Juri Linkov <juri@jurta.org>
2023 * replace.el (list-matching-lines-prefix-face): New defcustom.
2024 (occur-1): Pass `list-matching-lines-prefix-face' to the function
2025 `occur-engine' if `face-differs-from-default-p' returns t.
2026 (occur-engine): Add `,' inside backquote construct to evaluate
2027 `prefix-face'. Propertize the prefix with the `prefix-face' face.
2028 Pass `prefix-face' to the functions `occur-context-lines' and
2029 `occur-engine-add-prefix'.
2030 (occur-engine-add-prefix, occur-context-lines): Add optional arg
2031 `prefix-face' and propertize the prefix with `prefix-face'.
2034 2013-03-24 Leo Liu <sdl.web@gmail.com>
2036 * nxml/rng-valid.el (rng-validate-while-idle)
2037 (rng-validate-quick-while-idle): Guard against deleted buffer.
2040 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
2041 is the last entry in kill-buffer-hook.
2043 * files.el (kill-buffer-hook): Doc fix.
2045 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
2047 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
2050 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
2052 2013-03-23 Leo Liu <sdl.web@gmail.com>
2054 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
2057 * nxml/rng-valid.el (rng-validate-mode)
2058 (rng-after-change-function, rng-do-some-validation):
2059 * nxml/rng-maint.el (rng-validate-buffer):
2060 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
2061 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
2062 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
2063 (nxml-extend-after-change-region): Use with-silent-modifications.
2065 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
2068 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
2069 (rng-next-error-1, rng-previous-error-1): Do not let-bind
2070 timer-idle-list. (Bug#13999)
2072 2013-03-23 Juri Linkov <juri@jurta.org>
2074 * info.el (info-index-match): New face.
2075 (Info-index, Info-apropos-matches): Add a nested subgroup to the
2076 main pattern and add text properties with the new face to matches
2077 in index entries relative to the beginning of the index entry.
2080 2013-03-21 Eric Ludlam <zappo@gnu.org>
2082 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
2083 Inhibit read only while inserting objects.
2085 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
2087 * progmodes/cfengine.el: Update docs to mention
2088 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
2089 symbol motion. Remove "_" from the word syntax.
2091 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
2093 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
2094 syntax for both `cfengine2-mode' and `cfengine3-mode'.
2096 2013-03-20 Juri Linkov <juri@jurta.org>
2098 * info.el (Info-next-reference-or-link)
2099 (Info-prev-reference-or-link): New functions.
2100 (Info-next-reference, Info-prev-reference): Use them.
2101 (Info-try-follow-nearest-node): Handle footnote navigation.
2102 (Info-fontify-node): Fontify footnotes. (Bug#13989)
2104 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2106 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
2107 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
2109 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
2111 Suppress unnecessary non-ASCII chatter during build process.
2112 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
2113 (batch-skkdic-convert): Suppress most of the chatter.
2114 It's not needed so much now that machines are faster,
2115 and its non-ASCII component was confusing; see Dmitry Gutov in
2116 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
2118 2013-03-20 Leo Liu <sdl.web@gmail.com>
2120 * ido.el (ido-chop): Fix bug#10994.
2122 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2124 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
2126 (whitespace-color-on, whitespace-color-off):
2127 Use `font-lock-fontify-buffer' (Bug#13817).
2129 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
2131 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
2132 remapping in mode-line.
2133 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
2135 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2137 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
2138 value for `whitespace-line' face (Bug#13875).
2139 (whitespace-font-lock-keywords): Change description.
2140 (whitespace-color-on): Don't save `font-lock-keywords' value, save
2141 the constructed keywords instead.
2142 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
2144 2013-03-19 Leo Liu <sdl.web@gmail.com>
2146 * progmodes/compile.el (compilation-display-error): New command.
2147 (compilation-mode-map, compilation-minor-mode-map): Bind it to
2150 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2152 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
2154 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
2156 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
2158 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
2160 * net/tramp-compat.el (tramp-compat-user-error): New defun.
2162 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2163 * net/tramp-gvfs.el (top):
2164 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
2165 (tramp-handle-shell-command): Use it.
2166 (tramp-dissect-file-name): Raise an error when hostname is a
2167 method name, and neither method nor user is specified.
2169 * net/trampver.el: Update release number.
2171 2013-03-18 Leo Liu <sdl.web@gmail.com>
2173 Make sure eldoc can be turned off properly.
2174 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
2176 (eldoc-display-message-p): Revert last change.
2177 (eldoc-display-message-no-interference-p)
2178 (eldoc-print-current-symbol-info): Tweak.
2180 2013-03-18 Tassilo Horn <tsdh@gnu.org>
2182 * doc-view.el (doc-view-new-window-function): Check the new window
2183 overlay's display property instead the char property of the
2184 buffer's first char. Use `with-selected-window' instead of
2185 `save-window-excursion' with `select-window'.
2186 (doc-view-document->bitmap): Check the current doc-view overlay's
2187 display property instead the char property of the buffer's first char.
2189 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2191 Automate the build of ja-dic.el (Bug#13984).
2192 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
2193 from the input, rather than assume that it's been done for us by the
2194 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
2195 the current date into a ja-dic.el comment, as that complicates
2198 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2200 * whitespace.el: Fix double evaluation.
2201 (whitespace-space, whitespace-hspace, whitespace-tab)
2202 (whitespace-newline, whitespace-trailing, whitespace-line)
2203 (whitespace-space-before-tab, whitespace-indentation)
2204 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
2206 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
2207 (whitespace-color-on): Use a single font-lock-add-keywords call.
2208 Fix double-evaluation of face variables.
2210 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
2212 * net/tramp-adb.el (tramp-adb-parse-device-names):
2213 Use `start-process' instead of `call-process'. Otherwise, the
2214 function might be blocked under MS Windows. (Bug#13299)
2216 2013-03-17 Leo Liu <sdl.web@gmail.com>
2218 Extend eldoc to display info in the mode-line. (Bug#13978)
2219 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
2220 (eldoc-mode-line-string): New variable.
2221 (eldoc-minibuffer-message): New function.
2222 (eldoc-message-function): New variable.
2223 (eldoc-message): Use it.
2224 (eldoc-display-message-p)
2225 (eldoc-display-message-no-interference-p):
2226 Support eldoc-post-insert-mode.
2228 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
2229 (eval-expression): Run it.
2231 2013-03-17 Roland Winkler <winkler@gnu.org>
2233 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
2234 strings in the list of return values.
2236 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2238 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
2239 radix before checking for HMS forms.
2241 2013-03-16 Leo Liu <sdl.web@gmail.com>
2243 * progmodes/scheme.el: Add indentation and font-locking for λ.
2246 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
2248 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
2249 token before point (bug#13942).
2251 2013-03-16 Leo Liu <sdl.web@gmail.com>
2253 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
2255 2013-03-16 Eli Zaretskii <eliz@gnu.org>
2257 * startup.el (command-line-normalize-file-name): Fix handling of
2258 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
2259 <xfq.free@gmail.com> in
2260 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
2262 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
2264 Sync with Tramp 2.2.7.
2266 * net/trampver.el: Update release number.
2268 2013-03-14 Tassilo Horn <tsdh@gnu.org>
2270 * doc-view.el Fix bug#13887.
2271 (doc-view-insert-image): Don't modify overlay associated to
2272 non-live windows, and implement horizontal centering of image in
2273 case it's smaller than the window.
2274 (doc-view-new-window-function): Force redisplay of new windows on
2277 2013-03-13 Karl Fogel <kfogel@red-bean.com>
2279 * saveplace.el (save-place-alist-to-file): Don't sort
2280 `save-place-alist', just pretty-print it (bug#13882).
2282 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
2284 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
2285 whether `default-file-name-coding-system' is bound. It isn't in
2288 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
2290 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
2291 backquotes for `obsolete' (bug#13929).
2293 * international/mule.el (find-auto-coding): Include file name in
2294 obsolescence warning (bug#13922).
2296 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
2298 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
2299 for CFEngine 3-specific indentation.
2300 (cfengine3-indent-line): Use it. Fix up category regex.
2301 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
2303 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2305 * type-break.el (type-break-file-name):
2306 * textmodes/remember.el (remember-data-file):
2307 * strokes.el (strokes-file):
2308 * shadowfile.el (shadow-initialize):
2309 * saveplace.el (save-place-file):
2310 * ps-bdf.el (bdf-cache-file):
2311 * progmodes/idlwave.el (idlwave-config-directory):
2312 * net/quickurl.el (quickurl-url-file):
2313 * international/kkc.el (kkc-init-file-name):
2314 * ido.el (ido-save-directory-list-file):
2315 * emulation/viper.el (viper-custom-file-name):
2316 * emulation/vip.el (vip-startup-file):
2317 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2318 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
2320 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
2322 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
2323 * language/thai-word.el: Switch to UTF-8.
2325 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2327 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
2329 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2331 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
2332 Use with-current-buffer and don't move point.
2333 (net-utils-run-simple): Remove useless code.
2334 (net-utils-remove-ctl-m): Remove unused custom.
2336 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
2338 * international/characters.el (glyphless-set-char-table-range): New fun.
2339 (update-glyphless-char-display): Use it (bug#13744).
2341 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
2343 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
2344 namespaces in the syntax, indent closer for hanging brace
2345 correctly, allow single-quote delimited 'strings', and make
2346 `cfengine3-mode' the default.
2348 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
2350 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
2351 Use lexical-binding. Fix up docstring according to conventions.
2352 (gdbmi-debug-mode): New var.
2353 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
2354 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
2355 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
2356 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
2357 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
2358 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
2359 (gdbmi-bnf-incomplete-record-result): New functions.
2360 (gdb-car<): Remove function.
2361 (gdbmi-record-list): Remove variable.
2362 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
2363 (gdbmi-bnf-result-state-configs): New const.
2364 (gud-gdbmi-marker-filter): Rewrite.
2365 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
2366 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
2367 Add `token' argument.
2368 (gdb-done, gdb-error): New functions.
2369 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
2371 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2373 * term/xterm.el (xterm--report-background-handler): Don't burp
2375 (xterm--version-handler): Extract from terminal-init-xterm.
2376 (xterm--query): Don't mishandle timeout. Remove debugging messages.
2377 Allow multiple handlers.
2378 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
2380 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
2381 (xterm--report-background-handler, xterm--query): New functions.
2382 (terminal-init-xterm): Use them.
2384 2013-03-11 Michael R. Mauger <michael@mauger.com>
2386 * progmodes/sql.el Version 3.2
2387 Please note that my address changed to <michael@mauger.com>;
2388 the <mmaug@yahoo.com> address remains active.
2389 (sql-connection-alist): Updates documentation to fix bug#13715.
2390 (sql-connect): Handle missing `sql-connection-alist' correctly.
2391 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
2392 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
2394 (sql-default-value): New function.
2395 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
2396 values were not used.
2397 (sql-rename-buffer): Make sure alternate buffer name has no text
2399 (sql-input-sender, sql-execute-feature): Fetch variable with
2400 `buffer-local-value' rather than `with-current-buffer'.
2401 (sql-*): Use #' function syntax consistently.
2402 (sql-*): Use message/error/user-error consistently.
2404 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2406 * xt-mouse.el (xterm-mouse-event-read): Remove.
2407 (xterm-mouse--read-event-sequence-1000)
2408 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
2410 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2412 * term/xterm.el (xterm-function-map): Support format used with
2413 formatOtherKeys=1 (bug#13839).
2415 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
2416 (with-no-warnings): Use `declare'.
2418 * whitespace.el (whitespace-enable-predicate): New variable.
2419 (whitespace-enable-predicate): Use it.
2421 * comint.el (comint-send-input, comint-snapshot-last-prompt)
2422 (comint-output-filter, comint-update-fence):
2423 Use with-silent-modifications.
2425 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
2427 * replace.el (occur-read-regexp-defaults-function): New var.
2428 (occur-read-regexp-defaults): New defun.
2429 (occur-read-primary-args): Propagate above change (bug#13892).
2431 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2433 * mouse.el (mouse-drag-track): Remove left-over debugging code.
2435 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
2437 Major rewrite due to changed D-Bus interface of GVFS 1.14.
2439 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
2440 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
2441 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
2443 (tramp-gvfs-file-name-handler-alist) [directory-files]
2444 [directory-files-and-attributes, file-exists-p, file-modes]:
2445 Use Tramp default handler.
2446 [file-acl, file-selinux-context, process-file, set-file-acl]:
2447 [set-file-modes, set-file-selinux-context, shell-command]:
2448 [start-file-process]: Remove handler.
2449 [verify-visited-file-modtime]: New handler.
2450 (tramp-gvfs-dbus-string-to-byte-array)
2451 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
2452 calls of `dbus-string-to-byte-array' and
2453 `tramp-gvfs-dbus-byte-array-to-string'.
2454 (tramp-gvfs-handle-copy-file)
2455 (tramp-gvfs-handle-delete-directory)
2456 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
2457 (tramp-gvfs-handle-file-directory-p)
2458 (tramp-gvfs-handle-file-executable-p)
2459 (tramp-gvfs-handle-file-name-all-completions)
2460 (tramp-gvfs-handle-file-readable-p)
2461 (tramp-gvfs-handle-file-writable-p)
2462 (tramp-gvfs-handle-insert-directory)
2463 (tramp-gvfs-handle-insert-file-contents)
2464 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
2465 (tramp-gvfs-handle-set-visited-file-modtime)
2466 (tramp-gvfs-handle-write-region): Rewrite.
2467 (tramp-gvfs-handle-file-acl)
2468 (tramp-gvfs-handle-file-selinux-context)
2469 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
2470 (tramp-gvfs-handle-set-file-modes)
2471 (tramp-gvfs-handle-set-file-selinux-context)
2472 (tramp-gvfs-handle-shell-command)
2473 (tramp-gvfs-handle-start-file-process)
2474 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
2475 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
2476 over the symlinks. Fix user handling.
2477 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
2478 of the D-Bus signals.
2479 (tramp-gvfs-connection-mounted-p): Handle different names of the
2481 (tramp-gvfs-mount-spec-entry): New defun.
2482 (tramp-gvfs-mount-spec): Use it.
2483 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
2484 there is a share name. Handle different names of the D-Bus
2485 signals and methods. Set connection properties needed for
2486 `tramp-check-cached-permissions'.
2487 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
2490 * net/tramp.el (tramp-backtrace): Move up.
2491 (tramp-error): Dump a backtrace into the debug buffer when
2493 (tramp-file-mode-type-map, tramp-file-mode-from-int)
2494 (tramp-file-mode-permissions, tramp-get-local-uid)
2495 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
2498 * net/tramp-sh.el (tramp-file-mode-type-map)
2499 (tramp-check-cached-permissions, tramp-file-mode-from-int)
2500 (tramp-file-mode-permissions, tramp-get-local-uid)
2501 (tramp-get-local-gid): Move to tramp.el.
2503 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2505 Separate mouse-1-click-follows-link from mouse-drag-region.
2506 * mouse.el (mouse--down-1-maybe-follows-link): New function.
2507 (key-translation-map): Use it to implement mouse-1-click-follows-link.
2508 (mouse-drag-line, mouse-drag-track):
2509 Remove mouse-1-click-follows-link code.
2510 (mouse--remap-link-click-p): Remove.
2512 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
2514 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
2515 (hi-lock-read-regexp-defaults): New defun.
2516 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2517 (hi-lock-face-phrase-buffer): Propagate above change.
2518 Update docstring (bug#13892).
2520 * subr.el (find-tag-default-as-regexp): New defun.
2521 * replace.el (read-regexp): Propagate above change.
2523 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
2525 * calc/calc-units.el (calc-convert-units): Fix the way that default
2526 new units are stored.
2528 2013-03-07 Matthias Meulien <orontee@gmail.com>
2530 * bookmark.el: Define a face to highlight bookmark names in
2531 bookmark menu buffers, where the default is a bold face similarly
2532 to buffer names in buffer menu buffers.
2533 (bookmark-menu-bookmark): New face to highlight bookmark names.
2534 (bookmark-insert-location): Remove duplicated text property to
2535 conform to buffer list (see `list-buffers').
2536 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
2537 `bookmark-menu-bookmark' to bookmark names.
2539 2013-03-07 Matthias Meulien <orontee@gmail.com>
2540 Karl Fogel <kfogel@red-bean.com>
2542 * bookmark.el: Display the bookmark list header similarly to the
2543 buffer list header (see `list-buffers'), where the default is now
2544 an immovable/immutable header line.
2545 (bookmark-bmenu-use-header-line): New variable.
2546 (bookmark-bmenu-inline-header-height): New name for
2547 `bookmark-bmenu-header-height', to avoid confusion with the code
2548 for the new immovable header. All references changed.
2549 (bookmark-bmenu-set-header): New function.
2550 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
2551 Conditionalize header construction accordingly.
2552 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
2553 the inline header height.
2554 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
2555 Conditionalize the skipping of the inline header height.
2557 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
2559 * progmodes/js.el (js--multi-line-declaration-indentation):
2560 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
2562 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
2564 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2565 Only propertize regexp when not inside a string (Bug#13885).
2567 2013-03-06 Alan Mackenzie <acm@muc.de>
2569 Correct the position of point in some line-up functions.
2570 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
2571 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
2572 point at column 0 rather than at a random place in the line.
2574 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
2576 * net/tramp-compat.el (tramp-compat-delete-directory):
2577 Implement TRASH argument.
2579 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
2581 Keep pre-existing highlighting in completion candidates (Bug#13250).
2582 * minibuffer.el (completions-first-difference): State that the
2583 face is "added" in the docstring.
2584 (completions-common-part): Same. And don't inherit from default.
2585 (completion-hilit-commonality): Prepend 'completions-common-part
2586 and 'completion-first-difference faces to the 'face property,
2587 instead of replacing the value(s).
2588 (completion--insert-strings): Same with 'completions-annotations face.
2589 (completion-hilit-commonality): Use 'face instead of
2590 'font-lock-face, because it gets priority if the completion
2591 strings already have 'face set.
2593 2013-03-04 Alan Mackenzie <acm@muc.de>
2595 Replace `last-command-event' by `last-command-char' in XEmacs.
2596 * progmodes/cc-defs.el (c-last-command-char): New macro.
2597 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
2598 (c-semi&comma-no-newlines-before-nonblanks)
2599 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
2600 in place of `last-command-event'.
2601 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
2602 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
2603 (c-electric-paren, c-electric-continued-statement): Use the new
2604 macro in place of `last-command-event'.
2606 2013-03-04 Glenn Morris <rgm@gnu.org>
2608 * files.el (inhibit-local-variables-regexps):
2609 Add .diff and .patch. (Bug#13862)
2611 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
2613 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
2614 whether the "su" command is available on the device.
2616 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2618 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
2619 (tramp-adb-handle-process-file): Remove superfluous setting.
2620 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
2621 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
2622 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
2624 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
2626 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
2627 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
2628 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
2629 Use dict-key rather than dict-name for the error message.
2631 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2633 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
2634 when reverting (bug#13831).
2636 2013-03-01 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
2638 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2639 Always expand affix-file before storing to protect against changed
2640 `default-directory'.
2641 (ispell-print-if-debug): Make sure message is printed at the end
2642 of the debug buffer.
2644 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2646 * net/tramp.el (tramp-obsolete-methods): New defconst.
2647 (tramp-warned-obsolete-methods): New defvar.
2648 (tramp-find-method): Check for obsolete methods. Map them to a
2649 replacement method if appropriate.
2651 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
2653 (top): Remove completion functions for "scp1", "scp2", "ssh1",
2654 "ssh2" and "plink1".
2656 2013-02-28 Dale Sedivec <dale@codefu.org>
2658 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
2659 Return valid syntax-table property value when converting
2660 quotes within text from string syntax to punctuation syntax (bug#13844).
2662 2013-02-28 Juri Linkov <juri@jurta.org>
2664 * dired-aux.el (dired-diff): If file at point is a backup file,
2665 use its original as the default value, and reverse the order
2666 of arguments to the `diff' call. Doc fix. (Bug#13772)
2668 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
2670 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
2671 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
2673 2013-02-28 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
2675 Initial support for hunspell dictionaries auto-detection (Bug#13639)
2677 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2678 Ask hunspell about available and default dictionaries.
2679 (ispell-parse-hunspell-affix-file): Extract relevant info from
2680 hunspell affix file.
2681 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
2682 `ispell-dictionary-alist' entry for given dictionary after info
2683 provided by `ispell-parse-hunspell-affix-file'.
2684 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
2685 of parsed hunspell dicts and associated affix files.
2686 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
2687 of parsed hunspell dicts and associated parameters.
2688 (ispell-set-spellchecker-params):
2689 Call `ispell-find-hunspell-dictionaries' if hunspell and not
2691 (ispell-start-process):
2692 Call `ispell-hunspell-fill-dictionary-entry' for current
2693 dictionary if it is not initialized.
2695 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2697 * imenu.el: Comment nitpicks.
2699 2013-02-28 Sam Steingold <sds@gnu.org>
2701 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
2702 See <http://stackoverflow.com/questions/14720205>.
2704 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2706 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
2707 (net-utils-mode): Use it.
2708 (net-utils--revert-cmd): New var.
2709 (net-utils-run-simple): Set it, and remove bogus interactive spec.
2710 (traceroute): Use net-utils-run-simple.
2712 2013-02-28 Glenn Morris <rgm@gnu.org>
2714 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
2716 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2718 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
2719 (doc-view-fallback-mode): Remove overlays here.
2720 (doc-view-toggle-display): Instead of here. Don't throw away
2721 image-mode-winprops-alist.
2722 (doc-view-goto-page): Don't mess with hscroll.
2724 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2726 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
2727 &optional (bug#13819).
2729 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
2731 * net/tramp-adb.el (tramp-adb-parse-device-names)
2732 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
2734 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
2736 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2737 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
2738 defined. POSIX environments fall back to the "C" locale then and
2739 emit a warning, which shall be suppressed.
2741 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
2743 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
2744 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
2746 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2748 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
2750 2013-02-25 Juri Linkov <juri@jurta.org>
2752 * replace.el (read-regexp): Let-bind `default' to the first
2753 element of `defaults' if it's a list, otherwise it should be
2754 a string or nil. Let-bind `suggestions' to `defaults' if it's
2755 a list, otherwise make a list with the string value. Doc fix.
2758 2013-02-25 Eli Zaretskii <eliz@gnu.org>
2760 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
2761 that match "\`\.#", to avoid compiling lock files, even if they
2762 are readable (as they are on MS-Windows).
2764 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2766 * files.el (basic-save-buffer): Remove redundant directory-creation.
2768 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
2770 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
2771 Add option to force `pi' to remain symbolic.
2772 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
2773 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
2774 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
2775 derivatives, when necessary.
2777 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
2779 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
2780 (ps-mode-octal-region): Use string-make-unibyte.
2782 2013-02-23 Glenn Morris <rgm@gnu.org>
2784 * emulation/viper-cmd.el (viper-submit-report):
2785 * progmodes/ps-mode.el (ps-mode-maintainer-address):
2786 * progmodes/vera-mode.el (vera-mode-help-address):
2787 * textmodes/artist.el (artist-maintainer-address):
2788 * textmodes/reftex.el (reftex-report-bug):
2789 * vc/ediff-util.el (ediff-submit-report):
2790 Add bug-gnu-emacs to bug report address.
2792 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
2793 Remove bug report entries.
2794 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
2796 * emacs-lisp/bytecomp.el (byte-compile-level): New.
2797 (byte-compile-file, byte-compile-from-buffer):
2798 Use separate input/output buffers for each level of recursive
2799 byte-compile-file calls. (Bug#13787)
2801 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
2803 * net/tramp.el (tramp-methods): Fix docstring.
2804 (tramp-ssh-controlmaster-options): Rename it from
2805 `tramp-ssh-controlmaster-template'. Return a string.
2806 (tramp-default-method): Adapt check for
2807 `tramp-ssh-controlmaster-options'.
2809 * net/tramp-sh.el (tramp-methods):
2810 Replace `tramp-ssh-controlmaster-template' by "%c".
2811 (tramp-do-copy-or-rename-file-out-of-band)
2812 (tramp-maybe-open-connection): Use it in format spec. Ensure,
2813 that it is applied for the first hop only.
2815 2013-02-22 Juri Linkov <juri@jurta.org>
2817 * isearch.el (isearch-lazy-highlight-new-loop):
2818 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
2819 to `isearch-other-end' if it is not nil. (Bug#13402)
2821 * replace.el (replace-highlight): Let-bind `isearch-other-end'
2824 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
2825 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
2826 and `isearch-error' to nil.
2828 2013-03-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2830 * progmodes/python.el (python-info-current-defun):
2831 Enhance match-data cluttering prevention.
2833 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
2835 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
2837 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2838 Handle multibyte file names.
2840 2013-02-22 Glenn Morris <rgm@gnu.org>
2842 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
2843 (sgml-transformation-function): Give it a :set function.
2844 (sgml-tag): Doc fix.
2846 * cmuscheme.el (scheme-buffer):
2847 * progmodes/inf-lisp.el (inferior-lisp-buffer):
2848 * progmodes/tcl.el (inferior-tcl-buffer):
2849 * textmodes/tex-mode.el (tex-command): Doc fixes.
2851 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
2853 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
2855 2013-02-21 Bastien Guerry <bzg@gnu.org>
2857 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
2859 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2861 * progmodes/python.el (python-info-current-defun):
2862 Enhance match-data cluttering prevention.
2864 2013-02-21 Glenn Morris <rgm@gnu.org>
2866 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
2867 loaded while outline-regexp is let bound. (Bug#9584)
2869 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2871 * progmodes/python.el (python-info-current-defun): Fix failed
2872 defun name retrieval because of unwanted match-data cluttering.
2874 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
2876 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
2877 defconst. Apply independent check for ControlPersist.
2879 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
2880 temporarily, via "env".
2882 2013-02-21 Glenn Morris <rgm@gnu.org>
2884 * info.el (Info-enable-edit): Remove.
2885 (Info-edit): Disable it rather than using Info-enable.
2886 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
2887 (Info-cease-edit): Make editing of Info files obsolete.
2889 * informat.el (Info-tagify):
2890 Handle buffers not visiting files. (Bug#13763)
2892 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
2894 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
2896 2013-02-21 Glenn Morris <rgm@gnu.org>
2898 * files.el (basic-save-buffer): Move check for existing parent
2899 directory after hooks. (Bug#13773)
2901 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
2903 * simple.el (command-execute): Move from C. Add obsolete check.
2904 (extended-command-history): Move from C.
2906 2013-02-20 Ulrich MĂ¼ller <ulm@gentoo.org>
2908 * jka-cmpr-hook.el (jka-compr-compression-info-list)
2909 (jka-compr-mode-alist-additions): Handle .txz suffix for
2910 XZ-compressed tar archives (bug#13770).
2912 2013-02-20 Bastien Guerry <bzg@gnu.org>
2914 * outline.el (outline-regexp, outline-heading-end-regexp):
2915 Make variables, not options (bug#13731).
2917 2013-02-20 Glenn Morris <rgm@gnu.org>
2919 * image.el (image-current-frame): Change from variable to function.
2920 (image-show-frame): Rename from image-nth-frame. Update callers.
2921 * image-mode.el (image-multi-frame): New variable.
2922 (image-mode-map, image-mode, image-goto-frame):
2923 Use image-multi-frame rather than image-current-frame.
2924 (image-mode, image-goto-frame): Use image-current-frame as
2925 function rather than as variable.
2927 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
2928 * emacs-lisp/cl-macs.el (cl--make-type-test)
2929 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
2931 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
2933 * net/tramp-cache.el (tramp-get-hash-table): New defun.
2934 (tramp-get-file-property, tramp-set-file-property)
2935 (tramp-get-connection-property, tramp-set-connection-property): Use it.
2936 (tramp-flush-file-property, tramp-flush-directory-property):
2937 Rename argument to KEY.
2938 (tramp-flush-connection-property): Simplify a little bit.
2939 (tramp-connection-property-p): New defun.
2940 (top): Reapply saved values only if there isn't a corresponding
2941 entry in `tramp-connection-properties'.
2943 2013-02-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2945 * progmodes/python.el (python-indent-context):
2946 Fix python-info-line-ends-backslash-p call.
2947 (python-info-line-ends-backslash-p)
2948 (python-info-beginning-of-backslash): Respect line-number argument.
2949 (python-info-current-line-comment-p):
2950 Fix behavior when not at beginning-of-line.
2951 (python-util-position): Remove function.
2952 (python-util-goto-line): New function.
2954 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
2956 * eshell/em-unix.el (eshell/su): Require tramp.
2957 (eshell/sudo): Require tramp. Remove now unnecessary check.
2959 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
2960 `tramp-current-connection' in order to avoid an error when several
2961 commands are invoked in a short time in eshell and friends.
2963 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
2965 Cleanup some of EIEIO's namespace.
2966 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
2967 Use it to define all the class-* and object-* field accessors (renamed
2968 to eieio--class-* and eieio--object-*). Update all uses.
2969 (eieio--class-num-slots, eieio--object-num-slots): Rename from
2970 class-num-slots and object-num-slots.
2971 (eieio--check-type): New macro.
2972 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
2973 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
2974 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
2975 (object-assoc-list-safe): Use it.
2976 (eieio-defclass): Tighten regexp.
2977 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
2978 Remove unreachable code.
2979 (object-class-fast): Declare obsolete.
2980 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
2981 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
2982 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
2983 Rename from class-name, object-name, object-set-name-string,
2984 object-class, object-class-name, class-parents, class-children,
2985 class-precedence-list, class-parent; with obsolete alias.
2986 (class-of, class-direct-superclasses, class-direct-subclasses):
2988 (eieio-defmethod): Use `memq'; remove unreachable code.
2989 * emacs-lisp/eieio-base.el (eieio-persistent-read):
2990 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
2991 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
2993 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
2995 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
2998 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
3000 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
3001 Use font-lock-keyword-face for macros and special forms (bug#8345).
3003 2013-02-17 Didier Verna <didier@didierverna.net>
3005 * net/network-stream.el (network-stream-open-starttls):
3006 Check that response to the starttls-command is non-nil. (Bug#13706)
3008 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3010 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
3011 Don't assume all identifier chars have syntax word.
3012 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3013 Remove bar-not-symbol. Adjust callers.
3014 (lisp-mode-variables): Don't set a font-lock-syntax-table.
3016 2013-02-17 Leo Liu <sdl.web@gmail.com>
3018 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
3020 2013-02-17 Glenn Morris <rgm@gnu.org>
3022 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
3024 * image-mode.el (image-mode-map): Add image-dired menu entry.
3026 * image-dired.el (tumme): Make this alias obsolete.
3028 2013-02-16 Glenn Morris <rgm@gnu.org>
3030 * image.el (image-animated-types): Remove.
3031 (image-multi-frame-p): Rename from image-animated-p, and generalize.
3032 (image-animated-p): Make obsolete alias.
3033 (image-animate, image-nth-frame, image-animate-timeout):
3034 Use image-multi-frame-p.
3035 (image-animate-timeout): If no delay, use image-default-frame-delay.
3036 * image-mode.el (image-mode, image-toggle-animation):
3037 Use image-multi-frame-p. (Bug#763, bug#10739)
3038 (image-mode): Adjust startup message for a multi-frame image.
3040 * image-mode.el (image-mode-map): Give it a menu.
3042 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
3044 * net/tramp-cache.el (tramp-connection-properties): New customer
3046 (tramp-get-connection-property): Use it.
3048 * net/tramp-compat.el (top): Require 'trampver.
3050 * net/tramp-sh.el (tramp-remote-process-environment):
3051 Set tramp-autoload cookie.
3053 2013-02-16 Kevin Ryde <user42@zip.com.au>
3055 * info-look.el (info-lookup-select-mode): If major-mode has no
3056 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
3058 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
3060 * replace.el (read-regexp): Tighten the regexp that matches tag.
3061 When tag is retrieved with `find-tag-default', use regexp that
3062 matches tag at point. Also update docstring (Bug#13687).
3064 2013-02-16 Eli Zaretskii <eliz@gnu.org>
3066 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
3067 add watch for the file, not its parent directory, since w32notify
3068 sets up the watch for the directory internally. (Bug#13725)
3070 2013-02-16 Glenn Morris <rgm@gnu.org>
3072 * image.el (image-default-frame-delay): New variable.
3073 (image-animated-p): Use image-default-frame-delay.
3074 (image-minimum-frame-delay): New constant.
3075 (image-animate-timeout): Use image-minimum-frame-delay.
3077 * image.el (image-nth-frame): New, split from image-animate-timeout.
3078 (image-animate-timeout): Use image-nth-frame.
3079 * image-mode.el (image-goto-frame, image-next-frame)
3080 (image-previous-frame): New commands.
3081 (image-mode-map): Add new frame commands.
3083 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
3085 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
3086 If col-desc already has help-echo, use it. (Bug#13563)
3088 2013-02-16 Glenn Morris <rgm@gnu.org>
3090 * image.el (image-current-frame): New variable.
3091 (image-animate-timeout): Set image-current-frame.
3092 * image-mode.el (image-mode): For animated images,
3093 display a frame counter via mode-line-process.
3095 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
3097 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3099 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
3101 2013-02-15 Alan Mackenzie <acm@muc.de>
3103 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
3104 global minor mode has been enabled, call the minor mode function
3105 for a new buffer once only, after the major mode hook, whilst
3106 allowing that hook explicitly to disable the minor mode.
3107 (MODE-disable-in-buffer): New (generated) function.
3108 (disable-MODE): New (generated) buffer local variable.
3110 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
3112 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
3113 `iswitchb-next-match' and `iswitchb-prev-match' resply.
3114 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
3115 `ido-next-match' and `ido-prev-match' resply.
3116 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
3117 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
3118 `icomplete-backward-completions' (Bug#13708).
3120 2013-02-15 Glenn Morris <rgm@gnu.org>
3122 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3124 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3126 * net/goto-addr.el (goto-address-fontify): Add start and end args.
3127 (goto-address-fontify-region): Use them instead of narrowing, so
3128 syntax-ppss has access to the whole buffer.
3130 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3132 * progmodes/python.el: Explain how to restore "cc-mode"-like
3133 forward-sexp movement in header documentation (Bug#13642).
3134 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
3135 comments and strings (GH bug 114).
3137 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3139 * progmodes/python.el (python-info-current-defun): Fix current
3140 defun detection (Bug#13618).
3142 2013-02-15 Chong Yidong <cyd@gnu.org>
3144 * xml.el (xml-parse-string): Fix typo in handling of bad character
3147 2013-02-15 Glenn Morris <rgm@gnu.org>
3149 * play/fortune.el (fortune-compile): Simplify and fix previous change.
3151 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
3153 * net/tramp.el (tramp-debug-message):
3154 Add `tramp-condition-case-unless-debug'.
3155 (tramp-debug-on-error): New defvar.
3156 (tramp-condition-case-unless-debug): New defun.
3157 (tramp-file-name-handler): Use it.
3159 2013-02-14 Juri Linkov <juri@jurta.org>
3161 * info.el (Info-isearch-filter): Treat non-nil values of
3162 `search-invisible' including its default value `open'
3163 like the value `t' to match hidden text. (Bug#13402)
3165 2013-02-14 Glenn Morris <rgm@gnu.org>
3167 * help-fns.el (find-lisp-object-file-name): Give special treatment
3168 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
3170 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
3172 * net/quickurl.el (quickurl-save-urls):
3173 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
3175 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
3177 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
3178 depth for unfinished percent literal. Not using it in the caller.
3179 (ruby-move-to-block): Jump over multiline literals of all types,
3180 ignoring code-looking contents inside them.
3181 (ruby-add-log-current-method): Improve performance at the expense
3182 of accuracy. `ruby-block-contains-point' is relatively slow, so
3183 only use it for method and singleton class blocks.
3185 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3187 Use ControlMaster where applicable. (Bug#13677)
3189 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
3190 replacing `tramp-detect-ssh-controlmaster'.
3191 (tramp-default-method): Use it.
3193 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
3194 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
3196 [scpc, rsyncc]: Remove methods.
3197 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
3199 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
3200 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
3202 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3204 * emacs-lisp/package.el (package--initialized): Move before first use.
3206 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
3208 * icomplete.el (icomplete-hide-common-prefix): New user option.
3209 (icomplete-first-match): New face.
3210 (icomplete-completions): Correct handling of "complete but not
3211 unique" (Bug#12638).
3213 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
3215 * descr-text.el (describe-char): Display the script (bug#13698).
3217 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3219 * tmm.el: Use lexical-binding and current-active-maps.
3220 (tmm-menubar): Use map-keymap and pcase.
3221 (tmm--completion-table): New function.
3222 (tmm-prompt): Use it to fix the menu order.
3223 (tmm-get-keybind): Use current-active-maps.
3225 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
3227 Add dired-hide-details-mode. (Bug#6799)
3229 * locate.el (locate-mode): Set parent mode property to dired-mode.
3231 * find-dired.el (find-dired): Call dired-insert-set-properties on
3232 initial information line. Set process mark on end of buffer.
3233 (find-dired-sentinel):
3234 Call dired-insert-set-properties on summary.
3236 * dired.el (dired-hide-details-hide-symlink-targets)
3237 (dired-hide-details-hide-information-lines): New options.
3238 (dired-insert-directory):
3239 Set properties after final treatment of output.
3240 (dired-insert-set-properties):
3241 Set dired-hide-details-* properties.
3242 (dired-mode-map): Bind dired-hide-details-mode.
3243 (dired-mode): Set buffer-invisibility-spec to a list.
3244 (dired-next-line): Skip hidden lines.
3245 (dired-previous-line): Use dired-next-line.
3246 (dired-hide-details-mode): New minor mode.
3247 (dired-hide-details-update-invisibility-spec): New function.
3249 2013-02-13 Glenn Morris <rgm@gnu.org>
3251 * play/yow.el: Move to obsolete/. (Bug#9384)
3253 2013-02-13 Juri Linkov <juri@jurta.org>
3255 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
3256 to select `ediff-control-frame' and set input focus correctly on Xfce.
3259 2013-02-13 Juri Linkov <juri@jurta.org>
3261 * image-mode.el (image-mode-map):
3262 * doc-view.el (doc-view-mode-map):
3263 * vc/ediff-util.el (ediff-setup-keymap):
3264 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3266 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
3268 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
3269 performance. Instead of recalculating indentation fully for each
3270 line, sum up indentation depth based only on visited lines.
3271 (ruby-parse-partial): Increase the depth after "do" even when END
3273 (ruby-parse-partial): When END is in the middle of a percent
3274 literal, increase the depth if the delimiter chars belong to the
3277 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
3279 * play/fortune.el (fortune-compile): Also make the compiled file
3280 if it does not exist at all, not just if it is old. (Bug#5338)
3282 2013-02-13 Glenn Morris <rgm@gnu.org>
3284 * emacs-lisp/package.el (package-menu-execute): Doc fix.
3286 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
3288 * lisp/emacs-lisp/package.el (package-menu-execute):
3289 Add optional noquery argument. (Bug#13625)
3291 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3293 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
3294 if DIR exists and PARENTS is non-nil.
3296 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
3298 * progmodes/js.el (js--multi-line-declaration-indentation):
3299 Silence byte-compiler warning.
3301 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
3303 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
3305 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
3306 only if it doesn't exist.
3308 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3311 2013-02-12 Tassilo Horn <tsdh@gnu.org>
3313 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
3314 UserInstallation when calling soffice to work around LibreOffice
3317 2013-02-12 Glenn Morris <rgm@gnu.org>
3319 * files.el (basic-save-buffer):
3320 Offer to create a non-existing directory. (Bug#3016)
3322 * calc/calc-graph.el (calc-graph-show-dumb):
3323 * calendar/calendar.el (calendar-mode-map):
3324 * cus-edit.el (custom-mode-map):
3325 * ehelp.el (electric-help-map):
3326 * emulation/vip.el (vip-mode-map):
3327 * epa.el (epa-key-list-mode-map):
3328 * info.el (Info-mode-map):
3329 * mail/rmail.el (rmail-mode-map):
3330 * mail/rmailsum.el (rmail-summary-mode-map):
3331 * man.el (Man-mode-map):
3332 * net/newst-plainview.el (newsticker-mode-map):
3333 * progmodes/cpp.el (cpp-edit-mode-map):
3334 * progmodes/grep.el (grep-mode-map):
3335 * progmodes/idlw-help.el (idlwave-help-mode-map):
3336 * simple.el (special-mode-map):
3337 * startup.el (splash-screen-keymap):
3338 * view.el (view-mode-map):
3339 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3341 2013-02-11 Elias Pipping <pipping@lavabit.com>
3343 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
3346 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
3348 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
3350 2013-02-11 Glenn Morris <rgm@gnu.org>
3352 * vc/diff.el (diff-use-labels): New variable.
3353 (diff-no-select): Use --label rather than -L, and first
3354 check that it is supported. (Bug#11067)
3356 * files.el (enable-dir-local-variables): New variable.
3357 (hack-dir-local-variables): Respect enable-dir-local-variables.
3358 * tutorial.el (help-with-tutorial):
3359 Ignore directory-local variables. (Bug#11127)
3361 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
3362 (vc-svn-global-switches): ... to here. (Bug#13513)
3364 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
3366 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
3367 Handle "foo (bar, default: xxx): " prompts.
3369 2013-02-10 Chong Yidong <cyd@gnu.org>
3371 * files.el (basic-save-buffer-1): Do not set
3372 buffer-file-coding-system-explicit (Bug#4533).
3374 * mail/emacsbug.el (report-emacs-bug): Change binding of
3375 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
3377 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
3379 * calc/calc.el (calc-allow-units-as-numbers): New variable.
3380 * calc/calc-units.el (calc-convert-units): Use new variable.
3382 2013-02-09 Eli Zaretskii <eliz@gnu.org>
3384 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
3386 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
3389 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
3390 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
3391 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
3392 coding-system-for-write instead.
3394 * jka-compr.el (jka-compr-write-region): Don't bind
3397 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
3400 * files.el (file-name-buffer-file-type-alist): Remove defvar.
3401 (insert-file-contents-literally): Remove reference to
3402 file-name-buffer-file-type-alist.
3404 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
3406 (find-buffer-file-type-match, find-buffer-file-type): Remove.
3407 (find-buffer-file-type-coding-system): Remove references to
3408 find-buffer-file-type-match, find-buffer-file-type, and
3410 Don't put find-buffer-file-type-coding-system into
3411 file-coding-system-alist.
3412 (find-file-binary, find-file-text): Bind coding-system-for-read
3413 instead of file-name-buffer-file-type-alist.
3415 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
3417 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
3418 converter (Bug#13622).
3419 (doc-view-unoconv-program): Make obsolete alias.
3420 (doc-view-odf->pdf-converter-program): New variable.
3421 (doc-view-odf->pdf-converter-function): New variable.
3422 (doc-view-mode-p): Use it.
3423 (doc-view-odf->pdf-converter-unoconv):
3424 Rename from `doc-view-odf->pdf-converter-unoconv'.
3425 (doc-view-odf->pdf-converter-soffice): New function.
3426 (doc-view-convert-current-doc):
3427 Use `doc-view-odf->pdf-converter-function'.
3429 2013-02-09 Chong Yidong <cyd@gnu.org>
3431 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
3432 view-echo-area-messages (Bug#13340).
3434 * help.el (view-echo-area-messages): Use display-buffer.
3436 * dired-x.el (dired-do-run-mail): Prompt for confirmation
3439 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
3441 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
3442 Eval body right away, now that we do eager macroexpansion (bug#13605).
3444 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
3445 (fundamental-mode): Use run-mode-hooks.
3447 * eshell/esh-proc.el (eshell/kill): Fix last change.
3448 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
3450 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
3452 * eshell/esh-proc.el (eshell/kill): Rewrite.
3454 * eshell/em-ls.el (show-almost-all): Declare.
3455 (eshell-do-ls): Add support for -A argument.
3457 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
3459 * icomplete.el (icomplete-forward-completions)
3460 (icomplete-backward-completions): Handle corner case (bug#13602).
3462 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
3464 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
3465 be nil. Handle this. (Bug#13636)
3467 2013-02-07 Richard Stallman <rms@gnu.org>
3469 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
3470 `save-buffer-coding-system'.
3472 2013-02-07 Alan Mackenzie <acm@muc.de>
3474 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
3475 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
3476 (c-parse-state-get-strategy): Don't return 'BOD any more.
3477 (c-append-lower-brace-pair-to-state-cache):
3478 Extra parameter HERE instead of narrowing.
3479 Widen to top of buffer before searching backwards for a brace pair.
3480 (c-state-push-any-brace-pair): Add HERE parameter to function call.
3481 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
3482 Narrow to parameter HERE, in place of being called narrowed.
3483 (c-remove-stale-state-cache): Extra parameter HERE in place of
3484 narrowing. Check there's an open brace in the cache before
3485 searching for its match.
3486 (c-invalidate-state-cache-1): Add HERE parameter to function call.
3487 (c-parse-state-1): Don't narrow here for 'forward strategy,
3488 instead passing extra parameter HERE to several functions.
3489 Remove 'BOD strategy.
3491 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
3493 * emacs-lisp/package.el (describe-package-1): Tell what archive is
3494 used to install the package.
3496 2013-02-06 Glenn Morris <rgm@gnu.org>
3498 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
3499 if we can't get user input. (Bug#6567)
3501 * startup.el (command-line): If simple.el is missing,
3502 test and warn about for some possible causes.
3504 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
3506 * cus-start.el (all): Add ns-use-native-fullscreen.
3508 2013-02-05 Glenn Morris <rgm@gnu.org>
3510 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
3512 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3513 Fix directory creation in fallback case.
3515 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3517 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
3518 (vc-update-change-log): Use dolist.
3520 2013-02-04 Chong Yidong <cyd@gnu.org>
3522 * thingatpt.el: Rewrite the URL detection routines, absorbing some
3524 (thing-at-point-beginning-of-url-regexp): New var.
3525 (thing-at-point-uri-schemes): Update list of URI schemes.
3526 (thing-at-point-url-regexp): Variable deleted.
3527 (thing-at-point-markedup-url-regexp): Disallow newlines.
3528 (thing-at-point-newsgroup-regexp)
3529 (thing-at-point-newsgroup-heads)
3530 (thing-at-point-default-mail-uri-scheme): New variables.
3531 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
3532 method to find the possible bounds of the URI at point.
3533 New optional argument to find ill-formed URIs.
3534 (thing-at-point-url-at-point): Rewrite. New arguments for finding
3535 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
3536 the scheme-adding heuristics from ffap-url-at-point.
3537 (thing-at-point--bounds-of-well-formed-url): New function.
3538 Do parens matching to decide whether to include parens in the URI
3541 * ffap.el: Require thingatpt.
3542 (ffap-url-at-point): Delegate URI detection to thing-at-point.
3543 All URI-valid characters are now recognized (Bug#5673).
3544 (ffap-string-at-point): Use use-region-p.
3545 (ffap-url-regexp): Extra character is handled by thing-at-point.
3546 (ffap-string-at-point-mode-alist): Allow parentheses.
3547 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
3548 Convert to aliases; code moved to thingatpt.el.
3549 (ffap-gnus-hook): Use setq-local.
3551 2013-02-04 Glenn Morris <rgm@gnu.org>
3553 * emacs-lisp/ert.el (ert--explain-format-atom):
3554 Don't try to print non-characters as characters. (Bug#13543)
3556 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
3558 * net/tramp.el (tramp-debug-message): Extend function exclude list.
3559 (tramp-backtrace): New defun.
3560 (tramp-handle-insert-file-contents): Use `visit' when inserting
3563 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
3564 Use `remote-file-name-inhibit-cache'.
3566 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
3568 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
3571 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
3572 current-load-list (bug#13366).
3574 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
3576 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3577 Identify g++ template instantiation trace. (Bug#12287)
3578 (compilation-mode-hook, compilation-start-hook)
3579 (compilation-window-height): Simplify docstrings. (Bug#13379)
3581 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3583 * mouse.el (mouse-drag-track): Always deactivate the mark before
3584 running the final event's command since that command is in charge of
3585 activating the mark if needed (bug#13523).
3587 2013-02-02 Juri Linkov <juri@jurta.org>
3589 * replace.el (perform-replace): Move let-bindings of isearch-*
3590 variables deeper to the loop that searches for the next match.
3591 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
3592 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
3595 * isearch.el (isearch-search-fun-default): Check for null
3596 first element of isearch-cmds as a precaution when it's used
3597 with inactive isearch.
3599 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
3601 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
3602 error when buffer in question is narrowed so position 1 is out of
3605 2013-02-02 Glenn Morris <rgm@gnu.org>
3607 * textmodes/remember.el (remember-clipboard): Doc fix.
3609 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3611 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
3612 properties (bug#13179).
3614 2013-02-02 Juri Linkov <juri@jurta.org>
3616 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
3617 instead of hard-coded default face `match'. (Bug#9438)
3619 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
3621 * vc/vc-arch.el (vc-arch-registered):
3622 * vc/vc-bzr.el (vc-bzr-registered):
3623 * vc/vc-cvs.el (vc-cvs-registered):
3624 * vc/vc-git.el (vc-git-registered):
3625 * vc/vc-hg.el (vc-hg-registered):
3626 * vc/vc-mtn.el (vc-mtn-registered):
3627 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
3630 * info.el (Info-next-reference, Info-prev-reference): Add numeric
3631 prefix argument. (Bug#11656)
3633 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
3635 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
3637 2013-02-01 Glenn Morris <rgm@gnu.org>
3639 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
3640 if the backend is known not to support it.
3642 * imenu.el (imenu-default-create-index-function):
3643 Tweak infinite loop test to check for forward motion as well as none.
3645 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
3647 * net/soap-client.el (soap-invoke): Encode the string for
3648 `url-request-data' as UTF-8.
3649 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
3651 2013-02-01 Glenn Morris <rgm@gnu.org>
3653 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
3655 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
3657 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
3659 * net/tramp.el (tramp-tramp-file-p): Comment check for
3660 `string-as-unibyte'. The function does not exist on XEmacs, and
3661 likely we need another approach.
3663 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
3664 `tramp-gw-*' variables are bound.
3666 2013-01-31 Glenn Morris <rgm@gnu.org>
3668 * files.el (basic-save-buffer-2): Choose coding system for
3669 writing the file before backing it up, to reduce delay between
3670 backing up and writing the new version. (Bug#13522)
3672 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
3674 * simple.el (cycle-spacing): New command.
3675 (just-one-space): Use it.
3677 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
3679 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
3680 (opascal-newline-always-indents): Remove custom.
3681 (opascal-tab, opascal-newline): Remove commands.
3682 (opascal-new-comment-line): Insert "\n" instead of calling newline.
3683 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
3684 (opascal-save-match-data): Remove, use save-match-data instead.
3685 (opascal-save-state): Use with-silent-modifications.
3687 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
3690 2013-01-30 Juri Linkov <juri@jurta.org>
3692 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
3693 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
3694 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
3696 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3698 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
3699 column if we're just deleting the backslashes.
3700 (makefile-fill-paragraph): Use eolp.
3702 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3704 * autorevert.el (auto-revert-use-notify): Fix docstring.
3706 2013-01-30 Leo Liu <sdl.web@gmail.com>
3708 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
3710 2013-01-30 Glenn Morris <rgm@gnu.org>
3712 * mouse.el (mouse-drag-line): Avoid pushing same event onto
3713 unread-command-events twice in some cases. This tries to implement
3714 the 2012-07-26 changes in a different way. (Bug#13560)
3716 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3718 * progmodes/python.el
3719 (python-pdbtrack-comint-output-filter-function): Enhancements on
3720 stacktrace detection. (thanks @gnovak)
3722 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3724 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
3725 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
3727 (jit-lock-register): Use setq-local.
3729 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
3731 * calc-units.el (math-default-units-table): Remove initial value.
3732 (calc-convert-units): Treat expressions where all the units cancel as
3733 if they didn't have units.
3735 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3737 * net/tramp.el (tramp-process-connection-type): Fix docstring.
3738 (tramp-completion-reread-directory-timeout): Fix type.
3739 (tramp-connection-min-time-diff): New defcustom.
3741 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3743 2013-01-30 Glenn Morris <rgm@gnu.org>
3745 * imenu.el (imenu-default-create-index-function):
3746 Put back a version of the infinite loop test removed 2013-01-23.
3748 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3750 * progmodes/python.el (python-shell-parse-command):
3751 Find python-shell-interpreter with modified environment.
3753 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3755 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
3757 2013-01-29 Alan Mackenzie <acm@muc.de>
3759 Amend to fontify /regexp/s in actions correctly.
3760 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
3761 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
3762 are no longer included.
3763 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
3764 What used to be these variables without "-line" in the name.
3765 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
3766 (c-awk-non-arith-op-bra-re): Now also matches {.
3767 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
3768 "return", and "case".
3769 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
3771 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
3772 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
3774 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
3776 * autorevert.el (auto-revert-use-notify):
3777 Use `custom-initialize-default' for initialization. (Bug#13583)
3779 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
3781 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3782 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
3783 in `tramp-file-name-handler'.
3784 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
3786 (tramp-compute-multi-hops): Check, whether
3787 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
3789 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
3791 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
3794 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
3796 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
3797 checks made superfluous by the \_< operator.
3798 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
3799 temporarily) broken indentation.
3800 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3801 Highlight nested constants, too. \_< broke that.
3803 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
3805 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
3808 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
3810 * autorevert.el (auto-revert-handler): Notifications which result
3811 from a saved file shall not be taken into account. (Bug#13557)
3813 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
3815 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
3816 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
3817 (lisp-mode): Pass t for it. (Bug#13556)
3819 2013-01-25 Alan Mackenzie <acm@muc.de>
3821 AWK Mode: Fix indentation bug at top level. Bug #12274.
3823 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
3824 just before CASE 5D.
3826 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
3828 * net/socks.el (socks-nslookup-host): Use string-to-number.
3830 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
3832 * autorevert.el (auto-revert-remote-files)
3833 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
3834 (auto-revert-notify-enabled, auto-revert-use-notify)
3835 (auto-revert-notify-watch-descriptor-hash-list)
3836 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
3837 (auto-revert-notify-event-descriptor)
3838 (auto-revert-notify-event-action)
3839 (auto-revert-notify-event-file-name): Doc fix.
3840 (global-auto-revert-mode): Reorder checks.
3841 (auto-revert-notify-rm-watch): Respect changed values of
3842 `auto-revert-notify-watch-descriptor-hash-list'.
3843 (auto-revert-notify-add-watch): Check for
3844 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
3845 `inotify-add-watch'. Watch `default-directory' instead of
3846 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
3847 has a changed meaning now. (Bug#13540)
3848 (auto-revert-notify-handler): Change implementation wrt events
3849 returning from a directory.
3850 (auto-revert-handler): Reorder implementation for checks of remote
3852 (auto-revert-buffers): Fix parentheses error.
3854 2013-01-25 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3856 * progmodes/python.el: Enhancements to header documentation about
3857 skeletons. (Bug#5716)
3859 * imenu.el (imenu-default-create-index-function): Remove useless
3860 infinite loop check. (Bug#13438)
3862 2013-01-25 Alan Mackenzie <acm@muc.de>
3864 Fix a bug in the state cache mechanism. Refactor this a bit.
3866 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
3867 `cache-pos' element from the return value.
3868 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
3869 buffer to enable proper searching from beyond HERE. Amend the
3870 test for detecting the sought brace pair. Amend the value written
3871 to the "brace desert cache" when the brace isn't found.
3872 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
3873 and several other variables analogously.
3874 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
3875 parameter to a locally calculated variable.
3876 (c-parse-state-1): Change the calling conventions to the two
3877 defuns involving `cache-pos'.
3879 2013-01-25 Chong Yidong <cyd@gnu.org>
3881 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
3883 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
3885 * paren.el (show-paren-function): Make sure to set 'priority and
3886 'face only if the overlay does exist.
3888 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
3890 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
3892 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
3894 (tramp-sh-handle-set-file-acl): Improve error checking.
3896 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
3898 * doc-view.el (doc-view-display): Force mode line update until all
3899 document is converted. Suggested by Stefan Monnier (Bug#13164).
3901 2013-01-23 Bastien Guerry <bzg@gnu.org>
3903 * paren.el (show-paren-function): Make sure an overlay exists
3904 before trying to delete it. Also use `pos' as a position only
3905 when it is an integer.
3907 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
3909 * play/gametree.el (gametree-break-line-here): Use point-marker.
3911 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
3913 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3914 Mark descriptive parts with `display' property.
3916 2013-01-21 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
3918 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
3919 New variable to map standard dict names to hunspell ones.
3920 (ispell-set-spellchecker-params): Make sure specific dict names
3921 are used for standard dicts with hunspell.
3923 2013-01-21 Tassilo Horn <tsdh@gnu.org>
3925 * textmodes/reftex-cite.el (reftex-format-citation): Add format
3926 chars for note (%N) and url (%U).
3927 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
3929 2013-01-21 Juri Linkov <juri@jurta.org>
3931 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
3932 in addition to existing separate binding `meta f10' in `global-map'.
3935 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
3937 Improve XEmacs compatibility.
3939 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
3941 * net/tramp-adb.el (top): Require `time-date'.
3942 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
3943 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
3944 Use `tramp-file-name-handler'.
3945 (tramp-adb-maybe-open-connection):
3946 Use `tramp-compat-set-process-query-on-exit-flag'.
3948 * net/tramp-sh.el (tramp-sh-handle-file-acl):
3949 Use `tramp-compat-funcall'.
3951 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
3952 `tramp-compat-funcall'.
3954 2013-01-21 JĂ¼rgen Hötzel <juergen@archlinux.org>
3956 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
3957 reimplementation using "adb shell command ..." instead of running
3958 remote shell interactively.
3960 2013-01-20 Glenn Morris <rgm@gnu.org>
3962 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
3963 Add native profiler menu entries.
3965 * profiler.el (profiler-running-p): New function.
3966 (profiler-cpu-profile): Use profiler-running-p.
3967 (profiler-report-mode-map): Add some more menu entries.
3969 2013-01-19 Glenn Morris <rgm@gnu.org>
3971 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
3972 fixes 2012-12-07 change. (Bug#13499)
3974 2013-01-19 Leo Liu <sdl.web@gmail.com>
3976 * dired.el (dired-get-marked-files): Prune erroneous values due to
3977 last change. (Bug#13152)
3979 2013-01-19 Glenn Morris <rgm@gnu.org>
3981 * progmodes/etags.el (tags-table-check-computed-list):
3982 Preserve point in tags buffer. (Bug#13412)
3984 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
3986 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
3987 Chong Yidong <cyd@gnu.org>
3989 * image-mode.el (image-next-file, image-previous-file):
3990 New commands (Bug#8453).
3991 (image-mode-map): Bind them to n and p.
3992 (image-mode--images-in-directory): New helper function.
3994 2013-01-19 Chong Yidong <cyd@gnu.org>
3996 * image-mode.el (image-mode-fit-frame): Add a frame argument.
3997 Suggested by Drew Adams (Bug#7730). Handle window decorations;
3998 save and restore the old window configuration.
4000 2013-01-18 Leo Liu <sdl.web@gmail.com>
4002 * progmodes/js.el: Tweak autoload cookie for alias.
4004 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4006 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
4007 buffer local, again. This was lost with the fix on 2013-01-12.
4009 2013-01-17 JĂ¼rgen Hötzel <juergen@archlinux.org>
4011 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
4012 order to support several eshell buffers in parallel.
4014 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4016 * autorevert.el (auto-revert-use-notify): In the :set function, do
4017 not modify `kill-buffer-hook'.
4018 (auto-revert-notify-rm-watch):
4019 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
4020 (auto-revert-notify-add-watch): Do not call
4021 `auto-revert-notify-rm-watch', but add it to a buffer local
4024 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4026 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
4027 call to `eval' rather than a backquoted lambda.
4029 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
4031 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
4032 to return an explicit nil.
4033 (advice--remove-function): Change accordingly.
4035 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
4036 the use of nadvice.el.
4038 * progmodes/which-func.el (which-function): Silence imenu errors
4041 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4043 * progmodes/sql.el (sql-imenu-generic-expression):
4044 (sql-mode-font-lock-object-name): Match schema qualified names.
4045 (sql-connect): Use string keys.
4046 (sql-product-interactive): Wait for interpreter prompt.
4047 (sql-comint-oracle): Set process coding based on NLS_LANG.
4049 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4051 * progmodes/sql.el (sql-output-to-send): Remove, unused.
4052 (sql-interactive-remove-continuation-prompt):
4053 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
4055 2013-01-14 Leo Liu <sdl.web@gmail.com>
4057 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
4060 2013-01-14 Glenn Morris <rgm@gnu.org>
4062 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4063 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
4065 2013-01-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4067 * progmodes/python.el (python-nav-end-of-statement):
4068 Fix cornercase when handling multiline strings.
4070 2013-01-13 Richard Stallman <rms@gnu.org>
4072 * mail/sendmail.el (mail-position-on-field): Add doc string.
4074 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4075 Get current message boundaries and pass them to
4076 message-forward-make-body-mime. Minor style changes.
4078 2013-01-13 Eli Zaretskii <eliz@gnu.org>
4080 * cus-start.el (all): Avoid warnings about
4081 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
4083 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
4085 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
4087 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4089 * jit-lock.el (jit-lock-debug-mode): New minor mode.
4090 (jit-lock--debug-fontifying): New var.
4091 (jit-lock--debug-fontify): New function.
4092 * subr.el (condition-case-unless-debug): Don't prevent catching the
4093 error, just let the debbugger run.
4094 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
4095 timer code and don't drop errors silently.
4097 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
4099 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
4100 `permanent-local' property.
4101 (auto-revert-notify-handler): Use `file-equal-p'.
4103 2013-01-12 Eli Zaretskii <eliz@gnu.org>
4105 * autorevert.el (auto-revert-notify-handler): Fix filtering of
4106 file notification by ACTION. For filtering by file name, compare
4107 only the non-directory part of the file name.
4109 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4111 * autorevert.el: Use cl-lib instead of cl.
4113 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
4114 (vc-bzr-checkin): Use it.
4115 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
4116 will preserve match-data.
4118 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
4120 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
4121 (js--declaration-keyword-re): New var.
4122 (js--multi-line-declaration-indentation): New function.
4123 (js--proper-indentation): Use it.
4125 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
4127 * calc/calc.el (calc-highlight-selections-with-faces)
4129 * comint.el (comint-history-isearch-message):
4130 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
4131 * ffap.el (ffap-string-at-point-region, ffap-next)
4132 (ffap-string-at-point, ffap-string-around)
4133 (ffap-copy-string-as-kill, ffap-highlight-overlay)
4135 * font-lock.el (font-lock-keywords-alist)
4136 (font-lock-removed-keywords-alist):
4137 * help-mode.el (help-xref-symbol-regexp):
4138 * info.el (Info-find-emacs-command-nodes):
4139 * international/mule.el (add-to-coding-system-list):
4140 * isearch.el (isearch-message-function, isearch-fail-pos):
4141 * misearch.el (multi-isearch-next-buffer-function):
4142 * newcomment.el (comment-box):
4143 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
4144 (pr-setting-database):
4145 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
4146 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
4147 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
4148 (pike-font-lock-keywords-3):
4149 * progmodes/compile.el (compile):
4150 * progmodes/etags.el (tags-table-files)
4151 (tags-table-files-function, tags-included-tables-function):
4152 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
4153 (gdb-restore-windows):
4154 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
4155 (ps-n-up-filling-database):
4156 * server.el (server-buffer, server-log):
4157 * simple.el (newline, delete-backward-char, delete-forward-char)
4158 (minibuffer-history-isearch-message, kill-line, track-eol)
4159 (temporary-goal-column):
4160 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
4161 (flyspell-default-deplacement-commands):
4162 * textmodes/ispell.el (ispell-accept-output):
4163 * textmodes/sgml-mode.el (html-tag-help):
4164 * vc/compare-w.el (compare-ignore-whitespace)
4165 (compare-ignore-case, compare-windows-dehighlight):
4166 * vc/diff.el (diff):
4167 * whitespace.el (whitespace-point)
4168 (whitespace-font-lock-refontify, whitespace-bob-marker)
4169 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
4171 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
4173 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
4174 (auto-revert-notify-rm-watch): Ignore errors.
4175 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
4176 inotify, and '(size last-write-time) for w32notify.
4177 Set buffer-local `auto-revert-use-notify' to nil when adding a file
4178 watch fails - this is a fallback to the file modification check.
4179 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
4180 (auto-revert-notify-event-action)
4181 (auto-revert-notify-event-file-name): New defuns.
4182 (auto-revert-notify-handler): Use them. Implement first
4183 plausibility checks.
4184 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
4186 2013-01-11 Julien Danjou <julien@danjou.info>
4188 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
4189 max are almost equal. Also return the correct value for V which is
4190 already between 0 and 1.
4192 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
4194 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
4196 2013-01-11 Eli Zaretskii <eliz@gnu.org>
4198 * autorevert.el (auto-revert-notify-rm-watch)
4199 (auto-revert-notify-add-watch): Fix typos in w32notify function
4202 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4204 * autorevert.el (auto-revert-notify-enabled): Move up.
4205 (auto-revert-use-notify): New defcustom.
4206 (auto-revert-mode, global-auto-revert-mode)
4207 (auto-revert-notify-add-watch, auto-revert-handler)
4208 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
4209 `auto-revert-notify-enabled'.
4211 2013-01-10 Elias Pipping <pipping@exherbo.org>
4213 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
4214 * doc-view.el (doc-view-document->bitmap):
4215 Use doc-view-single-page-converter-function instead of
4216 single-page-converter arg; adjust callers.
4218 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
4220 * progmodes/which-func.el (which-function): Understand Semantic's use
4221 of overlays in imenu--index-alist.
4223 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
4225 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
4226 (Man-man-k-use-anchor): New var.
4227 (Man-parse-man-k): New function.
4228 (Man-completion-table): Use it.
4229 (man): Flush the completion cache between uses.
4231 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4233 * autorevert.el: Add file watch support.
4234 (auto-revert-notify-enabled): New defconst.
4235 (auto-revert-notify-watch-descriptor-hash-list)
4236 (auto-revert-notify-watch-descriptor)
4237 (auto-revert-notify-modified-p): New defvars.
4238 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4239 (auto-revert-notify-handler): New defuns.
4240 (auto-revert-mode, global-auto-revert-mode): Remove file watches
4241 when mode is disabled.
4242 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
4243 (auto-revert-buffers): Add file watches for active buffers.
4245 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
4247 * cus-start.el (toplevel): Only allow float values for
4248 scroll-up-aggressively and scroll-down-aggressively.
4249 Allow any number for line-spacing.
4251 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4253 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
4254 (doc-view-pdf->png-converter-function): Use mupdf if available.
4255 (doc-view-djvu->png-converter-function)
4256 (doc-view-ps->png-converter-function): Remove.
4257 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
4258 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
4259 (doc-view-already-converted-p): Adjust accordingly.
4260 (doc-view-mode-p): Simplify.
4261 (doc-view-enlarge): Use setq-local.
4262 (doc-view-pdf->png-converter-ghostscript)
4263 (doc-view-djvu->png-converter-ddjvu)
4264 (doc-view-pdf->png-converter-mupdf): Rework to call
4265 doc-view-start-process directly.
4266 (doc-view-pdf/ps->png): Simplify accordingly.
4267 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
4268 (doc-view-document->bitmap): Rename from doc-view-document->png.
4269 (doc-view-convert-current-doc): Merge pdf and djvu cases.
4270 (doc-view-set-slice-from-bounding-box): Fix completion table.
4271 (doc-view-mode): Use add-hook for after-revert-hook.
4273 2013-01-10 Glenn Morris <rgm@gnu.org>
4275 * emacs-lisp/authors.el (authors-ignored-files)
4276 (authors-valid-file-names, authors-renamed-files-alist):
4277 Add some more entries.
4279 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4281 * image-mode.el (image-mode-winprops): Don't throw away the fallback
4282 `t' pseudo-window entry.
4284 2013-01-10 Alan Mackenzie <acm@muc.de>
4286 Fix bugs in the c-parse-state mechanism. Reuse some markers
4287 instead of continually generating new ones.
4289 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
4290 (c-state-old-cpp-end-marker): New variables.
4291 (c-append-lower-brace-pair-to-state-cache): Start a backward
4292 search for "}" definitively outside CPP constructs.
4293 (c-remove-stale-state-cache): Inform the caller of a need to
4294 search back for a brace pair in certain circumstances.
4295 (c-state-maybe-marker): New macro.
4296 (c-parse-state): Reuse markers when appropriate.
4298 2013-01-10 Glenn Morris <rgm@gnu.org>
4300 * simple.el (execute-extended-command): Doc fix.
4301 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
4303 2013-01-10 Chong Yidong <cyd@gnu.org>
4305 * faces.el (read-face-name): Doc fix.
4307 2013-01-10 Roland Winkler <winkler@gnu.org>
4309 * emacs-lisp/crm.el: Allow any regexp for separators.
4310 (crm-default-separator): All spaces around the default comma separator.
4311 (crm--completion-command): New macro.
4312 (crm-completion-help, crm-complete, crm-complete-word): Use it.
4313 (crm-complete-and-exit): Handle non-single-char separators.
4315 2013-01-09 Elias Pipping <pipping@lavabit.com>
4317 * doc-view.el: Add support for DjVu (bug#13164).
4318 (doc-view-djvu->png-converter-function): New config var.
4319 (doc-view-single-page-converter-function, doc-view--image-type)
4320 (doc-view--image-file-extension): New vars.
4321 (doc-view-mode): Initialize them.
4322 (doc-view-goto-page): Use them.
4323 (doc-view-mode-p): Add support for ddjvu.
4324 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
4325 (doc-view-set-up-single-converter): New funs.
4326 (doc-view-pdf/ps->png): Extend for djvu.
4327 (doc-view-document->png): Rename from doc-view-pdf->png.
4328 (doc-view-convert-current-doc): Handle djvu.
4329 (doc-view-insert-image, doc-view-display)
4330 (doc-view-already-converted-p): Don't hardcode png.
4331 (doc-view-set-doc-type): Recognize djvu docs.
4333 2013-01-09 Elias Pipping <pipping@lavabit.com>
4335 * doc-view.el: Add support for mupdf converter (bug#13164).
4336 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
4337 (doc-view-ps->png-converter-function): New config vars.
4338 (doc-view-pdf->png-converter-ghostscript)
4339 (doc-view-ps->png-converter-ghostscript)
4340 (doc-view-pdf->png-converter-mupdf): New functions.
4341 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
4343 2013-01-09 JĂ¼rgen Hötzel <juergen@archlinux.org>
4345 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
4346 first in session cache: When `tramp-own-remote-path' is in
4347 `tramp-remote-path', the remote path is only set in the session
4350 2013-01-09 Glenn Morris <rgm@gnu.org>
4352 * emacs-lisp/trace.el (trace-function-foreground)
4353 (trace-function-background): Doc fix.
4355 2013-01-09 Juri Linkov <juri@jurta.org>
4357 * international/mule-cmds.el (read-char-by-name): Move let-binding
4358 of completion-ignore-case around completing-read to fix regression
4359 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
4360 `string-match-p' using the nil value of `case-fold-search' and
4361 `completion-ignore-case' in `completion-pcm--all-completions'.
4364 2013-01-09 Glenn Morris <rgm@gnu.org>
4366 * progmodes/compile.el (compilation-parse-errors):
4367 Fix typo. (Bug#13369)
4369 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4371 * comint.el (comint-send-input): Check size of buffer before
4372 waiting for process output, in case already accepted. (Bug#13290)
4374 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
4377 * net/tramp-adb.el (tramp-adb-get-toolbox):
4378 Fix misspelling of 'unknown'.
4380 2013-01-08 Juri Linkov <juri@jurta.org>
4382 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4383 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4384 Use underline style wave on terminals that support it. (Bug#13000)
4386 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4388 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
4389 the predicate returns nil.
4391 * simple.el: Use lexical-binding.
4392 (primitive-undo): Use pcase.
4393 (minibuffer-history-isearch-push-state): Use a closure.
4395 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4397 * simple.el (primitive-undo): Move from undo.c.
4399 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4401 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
4402 (cvs-mode-remove-handled): Use it (bug#13380).
4404 * emacs-lisp/nadvice.el (advice--tweak): New function.
4405 (advice--remove-function, advice--subst-main): Use it.
4407 * emacs-lisp/advice.el: Update commentary.
4409 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
4411 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4412 Remove spurious entry.
4414 2013-01-08 Glenn Morris <rgm@gnu.org>
4416 * net/tramp.el (tramp-default-host-alist): Add :version.
4418 2013-01-08 Juri Linkov <juri@jurta.org>
4420 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
4421 single completion. (Bug#12456)
4422 (info--manual-names): Expand node completions into an explicit list
4423 before appending it to another list. Filter out internal buffers
4424 with the leading space in the buffer name. (Bug#10771)
4426 2013-01-08 Juri Linkov <juri@jurta.org>
4428 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
4429 that defaults to the Top node.
4430 (Info-goto-node, Info-read-node-name): Doc fix to mention that
4431 the short format (FILENAME) goes to the Top node.
4432 (Info-build-node-completions): Rename arg `file' to `filename'.
4435 2013-01-07 Bastien Guerry <bzg@gnu.org>
4437 * menu-bar.el (menu-bar-search-documentation-menu):
4438 Use `apropos-user-option' and fix the help message.
4440 2013-01-07 Bastien Guerry <bzg@gnu.org>
4442 * apropos.el (apropos-do-all): Update docstring.
4443 (apropos-user-option-button): New face.
4444 (apropos-user-option): Rename from `apropos-variable' and update
4446 (apropos-variable): Rewrite, now show all variables by default.
4447 (apropos-print): Mention "User option" instead of "Variable" when
4448 printing doc for user options. (Bug#13276)
4450 2013-01-07 JĂ¼rgen Hötzel <juergen@archlinux.org>
4452 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4453 Handle filename correctly, when parsing "source -> target" symlink
4455 (tramp-adb-handle-set-file-times): New defun.
4457 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
4459 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
4460 advice list when the interactive-spec of ad-Advice-* changes.
4462 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
4464 * wid-edit.el (widget-default-get): Work for inlined elements.
4467 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
4469 * net/tramp.el (tramp-default-host-alist): New defcustom.
4470 (tramp-find-host): Use it.
4471 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
4472 `eshell-directory-change-hook'.
4474 * net/tramp-adb.el (top): Add adb specific entry in
4475 `tramp-default-host-alist'.
4476 (tramp-adb-file-name-host): Remove function.
4477 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4478 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
4480 * net/tramp-sh.el: Move eshell integration code to tramp.el.
4482 2013-01-06 JĂ¼rgen Hötzel <juergen@archlinux.org>
4484 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
4486 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
4488 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
4489 consist of more than one digit.
4490 (tramp-adb-file-name-handler-alist):
4491 Use `tramp-handle-file-exists-p' consistently.
4492 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
4493 (tramp-adb-handle-file-exists-p): Remove function.
4494 (tramp-adb-file-name-host): New defun.
4495 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4497 (tramp-adb-maybe-open-connection): Set "remote-path" property.
4499 2013-01-06 Chong Yidong <cyd@gnu.org>
4501 * vc/vc.el (vc-next-action): Detect buffer modifications
4502 conflicting with locking VCS operation (Bug#11490).
4504 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
4506 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
4508 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4509 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
4511 2013-01-05 JĂ¼rgen Hötzel <juergen@archlinux.org>
4513 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
4514 parsing of ls output using regular expression (handle filenames
4515 with spaces). Use virtual device number.
4516 (tramp-do-parse-file-attributes-with-ls): New defun (Code
4519 2013-01-04 Daiki Ueno <ueno@gnu.org>
4521 * epg.el: Silence byte-compiler warnings.
4522 (epg--start): Use delete-char instead of delete-backward-char.
4523 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
4525 2013-01-04 Daiki Ueno <ueno@gnu.org>
4527 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
4528 Suggested by Eli Zaretskii <eliz@gnu.org>.
4530 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
4532 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
4533 non-negative integers. Otherwise, the default values are used.
4534 (tramp-convert-file-attributes): Convert uid and gid to integers.
4536 2013-01-04 Glenn Morris <rgm@gnu.org>
4538 * term.el (term-handle-colors-array): Ensure face attributes
4539 are fully specified, not nil. (Bug#13337)
4541 * term.el (term-default-fg-color, term-default-bg-color):
4544 * progmodes/etags.el (tags-compression-info-list): Doc fix.
4545 (tag-find-file-of-tag-noselect): Check auto-compression-mode
4546 rather than 'jka-compr being loaded. (Bug#13338)
4548 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
4550 * icomplete.el (icomplete-completions):
4551 Honor icomplete-prospects-height once more following
4552 2012-11-29 changes. (Bug#13224)
4554 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
4556 * subr.el (internal--called-interactively-p--get-frame): Find aliases
4557 of called-interactively-p as well (bug#13237).
4559 * view.el (view--enable, view--disable): Rename from view-mode-enable
4560 and view-mode-disable and assume it's called from view-mode.
4561 (view-mode-enable, view-mode-disable): Redefine as obsolete
4562 compatibility layer above view-mode.
4563 (view-mode-enter): Call `view-mode'.
4565 * files.el (after-find-file): Call `view-mode'.
4567 * doc-view.el (doc-view-scale-internally): New var.
4568 (doc-view-enlarge, doc-view-insert-image): Obey it.
4570 2013-01-03 Daiki Ueno <ueno@gnu.org>
4572 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
4575 2013-01-03 Glenn Morris <rgm@gnu.org>
4577 * mail/rmail.el (rmail-set-header-1): Ignore case.
4578 Handle multi-line headers. (Bug#13330)
4580 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
4581 Handle paragraph starting at beginning of buffer.
4583 * subr.el (eval-after-load): Don't purecopy the form, so that it
4584 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
4586 * emacs-lisp/byte-run.el (defun): Place cl declarations
4587 after any interactive spec. (Bug#13265)
4589 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4591 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
4592 defun. Don't check for DECL if DOCSTRING isn't a string.
4595 2013-01-02 Glenn Morris <rgm@gnu.org>
4597 * eshell/em-cmpl.el (eshell-pcomplete):
4598 More thoroughly imitate pcomplete. (Bug#13293)
4600 * files.el (parse-colon-path): Doc fix. (Bug#12351)
4601 Return nil for empty path elements. (Bug#13296)
4603 2013-01-02 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4605 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
4606 order to improve efficiency (Based on Daniel Colascione's
4607 <dancol@dancol.org> patch). (Bug#13182)
4609 2013-01-02 Glenn Morris <rgm@gnu.org>
4611 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
4613 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4615 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
4616 neither DOCSTRING nor DECL was given. (Bug#13316)
4618 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
4620 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
4622 (tramp-do-copy-or-rename-file): Ignore errors when calling
4623 `set-file-extended-attributes'.
4625 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4626 Add handler for `file-acl'.
4627 (tramp-smb-handle-file-acl): New defun.
4629 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
4631 * calc/README: Mention ISO 8601 week-numbering dates.
4633 2013-01-01 Martin Rudalics <rudalics@gmx.at>
4635 * view.el (view-mode-enable): New argument run-view-mode-hook.
4636 Run view-mode-hook only when it's non-nil (Bug#13315).
4637 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
4640 2012-12-31 JĂ¼rgen Hötzel <juergen@archlinux.org>
4642 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
4643 (No device connected, invalid device name). (Bug #13299)
4645 2012-12-31 Martin Rudalics <rudalics@gmx.at>
4647 * window.el (window-resizable--p): Rename to window-resizable-p.
4648 (window-resize-no-error): New function.
4650 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
4651 broken in fix from 2012-12-28.
4653 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
4655 * subr.el (special-form-p): Don't signal errors on undef aliases.
4657 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
4659 * calc/calc-forms.el (math-parse-date): Try using
4660 `math-parse-iso-date' when it looks like it might be needed.
4661 Allow times of 24:00.
4662 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
4665 2012-12-30 Glenn Morris <rgm@gnu.org>
4667 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
4668 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
4669 (rmail-summary-displayed, rmail-summary): Declare.
4670 (mairix-rmail-display): Just require rmail.
4672 2012-12-30 Chong Yidong <cyd@gnu.org>
4674 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
4675 check for the tarball contents.
4677 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
4679 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
4680 tarfile content listings (Bug#13136).
4682 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
4684 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4685 Insert the undecoded text of the message being forwarded. (Bug#9521)
4687 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
4689 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
4690 integers, if they are real numbers. (Bug#13282)
4692 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
4693 Return `t' on success.
4695 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4696 Add handler for `set-file-selinux-context'.
4698 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
4700 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
4701 (tramp-sh-handle-set-file-acl): Return `t' on success.
4703 2012-12-29 Eli Zaretskii <eliz@gnu.org>
4705 * files.el (backup-buffer-copy, basic-save-buffer-2):
4706 If set-file-extended-attributes fails, fall back on set-file-modes
4707 instead of signaling an error. (Bug#13298)
4708 (basic-save-buffer): Likewise.
4710 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4712 * progmodes/python.el: Support other commands triggering
4713 python-indent-line so indentation cycling continues to work.
4714 (python-indent-trigger-commands): New defcustom.
4715 (python-indent-line): Use it.
4717 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4719 * progmodes/python.el (python-shell-send-region): Add blank lines
4720 for non sent code so backtraces remain correct.
4722 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4724 * progmodes/python.el: Remove cl dependency.
4725 (python-syntax-count-quotes): Replace incf call.
4726 (python-fill-string): Replace setf call.
4728 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
4730 * info.el (info-other-window): New arg, for consistency with info.
4732 2012-12-28 Martin Rudalics <rudalics@gmx.at>
4734 * mail/rmail.el (rmail-maybe-display-summary):
4735 Rewrite (Bug#13066).
4737 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
4739 * epg.el (epg--start): Modify process-environment locally.
4741 2012-12-28 Daiki Ueno <ueno@gnu.org>
4743 * epg.el: Support pinentry-curses.
4744 Suggested by Werner Koch in
4745 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
4746 (epg-agent-file, epg-agent-mtime): New variable.
4747 (epg--start): Record the modified time of gpg-agent socket file,
4748 to restore Emacs frame after pinentry-curses termination.
4749 (epg-wait-for-completion): Restore Emacs frame here.
4751 2012-12-27 Juri Linkov <juri@jurta.org>
4753 * info.el (Info-file-completions): New variable.
4754 (Info-read-node-name-1): Complete node names in the Info file
4755 when a file name is given. Call `Info-build-node-completions'
4757 (Info-build-node-completions): Add new arg `file'. When it is
4758 non-nil, visit it in a temporary buffer and cache its completions in
4759 `Info-current-file-completions'. Move most of the function body to
4760 `Info-build-node-completions-1'.
4761 (Info-build-node-completions-1): New function with the body from
4762 `Info-build-node-completions'. (Bug#12456)
4764 2012-12-27 Juri Linkov <juri@jurta.org>
4766 * frame.el (frame-maximization-style): Remove user option.
4767 (cycle-frame-maximized): Remove function.
4768 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
4769 (toggle-frame-fullscreen): New command bound to <f11> instead of
4770 `toggle-frame-maximized'.
4771 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
4773 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
4775 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
4777 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4778 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4779 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4780 for `file-accessible-directory-p'. (Bug#13275)
4782 2012-12-27 Sam Steingold <sds@gnu.org>
4784 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
4785 continuations, see <http://stackoverflow.com/questions/3582436>.
4787 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
4789 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
4790 "module" and "def" to have indentation before them.
4791 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
4793 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
4795 2012-12-27 Alan Mackenzie <acm@muc.de>
4797 Speed up fontification where there's large brace blocks.
4798 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
4799 to a call of c-beginning-of-decl-1.
4801 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4803 * comint.el (comint-adjust-window-point): New function.
4804 (comint-postoutput-scroll-to-bottom):
4805 Call comint-adjust-window-point (Bug#13248).
4807 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
4809 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
4811 (auto-mode-alist): Associate .gemspec files with ruby-mode
4812 (https://bugs.ruby-lang.org/issues/5453).
4814 2012-12-26 JĂ¼rgen Hötzel <juergen@archlinux.org>
4816 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
4817 Suppress coloring, if possible (required for BusyBox based systems like
4819 (tramp-adb-handle-file-attributes)
4820 (tramp-adb-handle-insert-directory)
4821 (tramp-adb-handle-file-name-all-completions): Use it.
4822 (tramp-adb-get-toolbox): New defun. Check for remote shell
4823 implementation (BusyBox or Toolbox).
4825 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
4827 * startup.el (initial-buffer-choice): Allow function as value
4829 (command-line-1): Handle case where initial-buffer-choice
4830 specifies a function.
4831 * server.el (server-execute): Handle case where
4832 initial-buffer-choice specifies a function.
4834 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4836 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
4838 (smtpmail-try-auth-methods): Forget the user name/password if the
4839 login is unsuccessful (bug#12424).
4841 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
4843 * notifications.el (notifications-notify): Protect body with
4844 `with-demoted-errors'.
4846 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4847 Check properties of remote device. Restart connection, if there is a
4850 2012-12-21 Chong Yidong <cyd@gnu.org>
4852 * sort.el (sort-subr): Doc fix (Bug#13056).
4854 2012-12-21 Bastien Guerry <bzg@gnu.org>
4856 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
4858 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
4860 * simple.el (process-file): Overwrite stderr file, if exists.
4862 2012-12-21 Daiki Ueno <ueno@gnu.org>
4864 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
4865 (epg-error): Set `error-message' property.
4867 2012-12-21 Chong Yidong <cyd@gnu.org>
4869 * international/mule-cmds.el (read-char-by-name): Signal an error
4870 if the user does not supply a valid character (Bug#13177).
4872 * simple.el (transpose-subr-1): Preserve marker positions by
4873 changing the insertion sequence (Bug#13122).
4875 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4877 * simple.el (kill-region): Deactivate mark even for empty regions
4880 2012-12-21 Chong Yidong <cyd@gnu.org>
4882 * help-fns.el (describe-variable): Make sure we get the right
4883 buffer name (Bug#13105). Suggested by Kelly Dean.
4885 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
4887 * comint.el (comint-redirect-previous-input-string): New variable.
4888 (comint-redirect-setup, comint-redirect-cleanup)
4889 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
4890 (comint-redirect-preoutput-filter): Fix verbose message.
4892 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
4894 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
4895 is too long for Tramp. See discussion in
4896 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
4898 * progmodes/compile.el (compilation-start): Remove line escape
4901 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
4903 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
4906 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
4908 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
4909 following non-comment text (bug#13207).
4910 (lm-header-multiline): Continuation lines need to be indented more than
4912 (lm-homepage): New function.
4913 (lm-with-file): Don't be confused if narrowing is in effect.
4915 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4917 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
4918 very beginning of a hunk (e.g. killing the first line).
4920 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
4922 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
4923 and text properties from returned ACL string.
4924 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
4925 for "setfacl" command.
4927 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
4929 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
4930 `tramp-cleanup-this-connection', when the process has died.
4933 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4935 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
4937 2012-12-17 Kevin Ryde <user42@zip.com.au>
4939 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
4941 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
4943 Add support for preserving ACL entries of files.
4945 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
4946 `set-file-acl' handlers.
4948 * net/tramp-adb.el (tramp-adb-handle-copy-file):
4949 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4951 * net/tramp-compat.el (tramp-compat-copy-file):
4952 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4954 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4955 Add `file-acl' and `set-file-acl' handlers.
4956 (tramp-gvfs-handle-copy-file):
4957 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4958 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
4961 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4962 Add `file-acl' and `set-file-acl' handlers.
4963 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
4964 (tramp-sh-handle-set-file-acl): New defuns.
4965 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
4966 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4968 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4969 Add `file-acl' and `set-file-acl' handlers.
4970 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
4972 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4974 * help-macro.el (make-help-screen): Instead of switch-to-buffer
4975 use pop-to-buffer with NORECORD argument t. As buffer name, use
4976 *Metahelp* with a leading space (Bug#13190).
4978 2012-12-16 Romain Francoise <romain@orebokech.com>
4980 * files.el (file-extended-attributes)
4981 (set-file-extended-attributes): New functions.
4982 (backup-buffer): Use them to handle both SELinux context and ACL
4984 (backup-buffer-copy): Work with an alist of extended attributes,
4985 rather than an SELinux context.
4986 (basic-save-buffer-2): Ditto.
4988 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
4990 * battery.el (battery-bsd-apm): New function.
4992 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
4994 * calc/calc.el (calc-standard-date-formats): Adjust one of the
4995 standard date formats.
4997 2012-12-15 Juri Linkov <juri@jurta.org>
4999 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
5000 `isearch-insert-char-by-name'.
5001 (with-isearch-suspended): New defmacro with body mostly from
5002 `isearch-edit-string' except the part that sets
5003 `isearch-new-string' and `isearch-new-message'.
5004 (isearch-edit-string): Use new macro `with-isearch-suspended' with
5005 body that sets `isearch-new-string' and `isearch-new-message'.
5006 (isearch-insert-char-by-name): New command.
5007 * international/mule-cmds.el (read-char-by-name): Let-bind
5008 `enable-recursive-minibuffers' to t.
5009 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
5011 2012-12-15 Juri Linkov <juri@jurta.org>
5013 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
5016 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
5018 * dired-x.el (dired-guess-shell-command): Put colon at the end of
5019 the prompt. (Bug#13045)
5021 2012-12-14 Glenn Morris <rgm@gnu.org>
5023 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
5024 Try to include filename in non-bytecomp warning. (Bug#13132)
5026 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
5028 Fix permissions bugs with setgid directories etc. (Bug#13125)
5029 * files.el (backup-buffer): Don't rely on 9th output of
5030 file-attributes, as it's now a placeholder. Instead, use the new
5031 optional arg of file-ownership-preserved-p.
5032 (file-ownership-preserved-p): New optional arg GROUP.
5033 Fix mishandling of setuid directories that would cause this
5034 function to return t when it should have returned nil.
5035 Document what happens if the file does not exist, and when
5036 it's not known whether the ownership will be preserved.
5037 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
5039 (tramp-get-local-gid): Use group-gid for integer, as that's
5040 faster and more reliable.
5042 2012-12-14 Julien Danjou <julien@danjou.info>
5044 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
5045 Update keywords list, data type and PL/pgSQL.
5047 2012-12-14 Dave Abrahams <dave@boostpro.com>
5049 * vc/ediff-util.el (ediff-buffer-type): New function.
5050 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
5051 rather than taking it as as argument.
5052 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
5054 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
5056 * json.el: Add pretty-print option (bug#12634).
5057 (json-encoding-separator, json-encoding-default-indentation)
5058 (json--encoding-current-indentation, json-encoding-pretty-print)
5059 (json-encoding-lisp-style-closings): New vars.
5060 (json--with-indentation): New macro.
5061 (json-encode-hash-table, json-encode-alist, json-encode-plist)
5062 (json-encode-array): Use it to obey json-encoding-pretty-print.
5063 (json-pretty-print-buffer, json-pretty-print): New commands.
5065 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
5067 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5068 Extract `ruby-syntax-propertize-expansions'.
5069 (ruby-syntax-propertize-expansions): Only change syntax on
5070 certain string delimiters, to punctuation. This way the common
5071 functions like forward-word and thing-at-point still work.
5072 (ruby-match-expression-expansion): Improve readability.
5073 (ruby-block-contains-point): New function.
5074 (ruby-add-log-current-method): Handle several edge cases.
5076 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5078 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
5079 unload-feature finishes even when aborting an ongoing edebug session.
5080 Also, do not worry about edebug-mode, unload-feature takes care of it.
5082 2012-12-13 Andreas Schwab <schwab@suse.de>
5084 * net/tls.el (tls-program): Update customize type.
5086 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5088 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
5089 (edebug-setup-hook, cl-read-load-hooks): Use it.
5090 (edebug-unload-function): New function. (Bug#13163)
5092 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
5094 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
5095 Otherwise, there could be errors in autoloading. (Bug#13151)
5097 2012-12-13 JĂ¼rgen Hötzel <juergen@archlinux.org>
5099 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
5102 2012-12-13 Alan Mackenzie <acm@muc.de>
5104 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
5105 * progmodes/cc-engine.el (c-backward-comments): Add code to work
5106 around `forward-comment' not recognizing ^M as whitespace.
5108 2012-12-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5110 * progmodes/python.el (python-skeleton-class)
5111 (python-skeleton-def): Do not add space after defun name.
5113 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5115 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
5116 (cl--symbol-function): Remove (now that funbound is like nil).
5118 2012-12-12 Glenn Morris <rgm@gnu.org>
5120 * button.el (button--area-button-p): Fix typo.
5122 2012-12-12 Sam Steingold <sds@gnu.org>
5124 * frame.el (frame-maximization-style): New user option.
5125 (toggle-frame-maximized): Toggle frame maximization according to
5126 `frame-maximization-style', bound to <f11>.
5127 (cycle-frame-maximized): Cycle between all maximization styles and
5128 non-maximized frame, bound to shift-<f11>.
5130 2012-12-12 David Cadé <codename68@gmail.com>
5132 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
5134 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
5136 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
5137 (eieio-override-prin1): Don't quote kewords and booleans.
5138 (object-write) <eieio-default-superclass>: Don't put closing parens
5139 on new line, avoid needless empty lines, align values that are objects
5140 with the slot keyword (instead of beginning on the same line).
5141 (eieio-list-prin1): Align value with slot keyword; increase
5142 eieio-print-depth before printing members of the list.
5144 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5146 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
5147 a display text-property.
5148 (report-emacs-bug-hook): Don't bother deleting it any more.
5150 * hilit-chg.el (highlight-save-buffer-state): Delete.
5151 Use with-silent-modifications instead.
5152 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
5154 * button.el: Handle buttons in display text-properties.
5155 (button--area-button-p, button--area-button-string):
5156 Use (STRING . STRING-POS) representation instead of just STRING.
5158 2012-12-11 Eli Zaretskii <eliz@gnu.org>
5160 * makefile.w32-in (compile4-SH): Fix a typo that caused term
5161 subdirectory be skipped.
5163 2012-12-11 Glenn Morris <rgm@gnu.org>
5165 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
5167 * progmodes/f90.el (f90-line-continued, f90-indent-region):
5168 Treat preprocessor lines embedded in continuations like comments.
5169 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
5171 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
5173 * calc/calc.el (calc-standard-date-formats): Add more date
5175 * calc/calc-forms.el (math-parse-iso-date): New function.
5176 (math-parse-date): Use `math-parse-iso-date' when appropriate.
5177 (math-parse-iso-date-validate): Add extra error checking.
5178 (calc-date-notation): Add ability to access new date formats.
5180 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5182 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
5183 font-lock as well as when there's no text-property.
5185 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
5187 * hi-lock.el: Refine the choice of default face.
5188 (hi-lock-keyword->face): New function. Use it wherever we used
5190 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
5191 (hi-lock--last-face): Remove var.
5192 (hi-lock--unused-faces): New var to replace it.
5193 (hi-lock-read-face-name): Use/maintain it.
5194 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
5195 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
5196 if it has another face.
5198 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5200 * subr.el (w32notify-handle-event): New function.
5201 (inotify-handle-event): Doc fix.
5203 2012-12-10 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
5205 * subr.el (inotify-event-p, inotify-handle-event): New functions.
5207 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
5209 * simple.el (just-one-space): Doc fix.
5211 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5213 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
5215 2012-12-10 Le Wang <l26wang@gmail.com>
5217 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
5218 narrowed buffer (bug#12361).
5220 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
5222 * vc/vc-hooks.el (vc-state): Doc fix.
5224 2012-12-10 Glenn Morris <rgm@gnu.org>
5226 * mail/rmail.el (rmail-maybe-display-summary):
5227 Preserve buffer, in case select-window changes it. (Bug#13066)
5229 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5231 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
5232 cl-load-hook where they belong.
5234 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5236 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
5238 2012-12-09 Eli Zaretskii <eliz@gnu.org>
5240 Parallelize byte compilation on MS-Windows.
5241 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
5242 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
5243 (WINS_BASIC): Define as concatenation of the above.
5244 (compile): Subdivide into 4 separate and independent jobs that can
5246 (compile0-CMD, compile0-SH): New targets for compiling
5247 COMPILE_FIRST files, which are prerequisites for the rest of the
5249 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
5250 New targets for parallel compilation with cmd.exe.
5251 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
5252 compiling under a Unixy shell.
5254 2012-12-09 Chong Yidong <cyd@gnu.org>
5256 * simple.el (set-mark-default-inactive): Delete this
5257 accidentally-introduced option.
5258 (set-mark-command, exchange-point-and-mark): Remove calls.
5260 2012-12-09 Glenn Morris <rgm@gnu.org>
5262 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
5263 Respect a defcustom's :set function, if appropriate. (Bug#109)
5264 (eval-defun): Doc fix.
5266 2012-12-08 Juri Linkov <juri@jurta.org>
5268 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
5269 (Info-fontify-node, Info-bookmark-make-record): Remove the
5270 file extension from Info-current-file (Bug#13016).
5272 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5274 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
5275 point, still provide some default.
5276 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
5277 names, since we don't use it right now. Actually return the list.
5278 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
5280 2012-12-07 Chong Yidong <cyd@gnu.org>
5282 * novice.el (disabled-command-function): Remove a spurious help
5283 xref (Bug#13043). Suggested by Kelly Dean.
5285 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
5286 syntax is specified (Bug#13025).
5288 * info.el (Info-set-mode-line): Remove the file extension from
5289 Info-current-file if there is one (Bug#13016).
5291 2012-12-07 Glenn Morris <rgm@gnu.org>
5293 * mail/rmail.el (rmail-mime-decoded): New permanent local.
5294 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
5295 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
5296 and rmail-mime-decoded. (Bug#9841)
5298 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
5299 (batch-unrmail, unrmail): Doc fixes.
5300 (unrmail): Respect unrmail-mbox-format.
5301 * mail/rmail.el (rmail-mbox-format): New option.
5302 (rmail-show-message-1): Respect rmail-mbox-format.
5304 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5306 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
5308 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5310 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
5311 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
5312 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
5313 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
5314 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
5315 (cl-progv): Don't rely on dynamic scoping to find the body.
5316 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
5317 (cl--proclaims-deferred): Rename from the "cl-" prefix.
5318 (cl-declaim): Use backquotes.
5319 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
5320 Use "cl--" prefix for the object's tag.
5322 * ses.el: Use advice-add/remove.
5323 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
5324 (copy-region-as-kill, yank): Use advice-add.
5325 (ses-unload-function): Use advice-remove.
5327 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
5329 * button.el: Make them work in header-lines (bug#12817).
5330 (button-map): Add bindings for header-line and mode-line use.
5331 (button-get, button-put, button-label): `button' may now be a string.
5332 (button-activate): Don't make it a defsubst.
5333 (button--area-button-p, button--area-button-string): New functions.
5334 (make-text-button): Fix the return value when `beg' was a string.
5335 (push-button): Handle the mode-line case.
5337 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5339 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
5340 (sql-signum): Remove. Use `cl-signum' instead.
5341 (sql-read-passwd): Remove; use read-passwd instread.
5342 (sql-get-login-ext): Use read-string.
5343 (sql-get-login): Use dolist and pcase.
5344 (sql--completion-table): Rename from sql-try-completion.
5345 Use complete-with-action.
5346 (sql-mode): Don't change abbrev-all-caps globally.
5347 (sql-connect): Don't rely on dynamic scoping for `new-name'.
5348 (sql-postgres-completion-object): Initialize vars in their `let'.
5349 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
5350 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
5351 (sql-comint-interbase): Use a single append, without setq.
5352 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
5354 * hi-lock.el: Rework the default face and the serialize regexp code.
5355 (hi-lock--auto-select-face-defaults): Remove.
5356 (hi-lock-string-serialize-serial): Remove.
5357 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
5359 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
5361 (hi-lock-set-pattern): Adjust accordingly.
5362 (hi-lock--regexps-at-point): Simplify accordingly.
5363 (hi-lock--auto-select-face-defaults): Remove.
5364 (hi-lock--last-face): New var to replace it.
5365 (hi-lock-read-face-name): Rewrite (bug#11095).
5366 (hi-lock-unface-buffer): Arrange for the face to be the next default.
5368 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
5370 * net/tramp.el (tramp-replace-environment-variables):
5371 Hide compiler warning.
5372 (tramp-file-name-for-operation): Remove `executable-find',
5373 `start-process', `call-process' and `call-process-region'.
5375 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5377 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
5380 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
5382 2012-12-06 Chong Yidong <cyd@gnu.org>
5384 * ffap.el (ffap-replace-file-component): Fix typo.
5386 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5388 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
5389 fix open-paren-like token test (bug#12785).
5391 2012-12-06 Glenn Morris <rgm@gnu.org>
5393 * mail/rmailsum.el (rmail-new-summary): Tweak for
5394 rmail-maybe-display-summary changing buffer. (Bug#13066)
5396 2012-12-06 Juri Linkov <juri@jurta.org>
5398 * info.el (Info-fontify-node): Don't hide the last newline.
5401 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
5403 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
5404 so as to enable message-read-from-minibuffer to expand mail aliases.
5406 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5408 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
5409 the `intangible' property.
5410 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
5412 2012-12-05 Deniz Dogan <deniz@dogan.se>
5414 * net/rcirc.el (rcirc-urls): Update documentation.
5415 (rcirc-condition-filter): New function.
5416 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
5417 and exclude consecutive duplicate URLs (Bug#6082).
5419 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
5421 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5422 Check return code of copy command.
5424 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
5425 Use group `tramp'. Add version.
5427 2012-12-05 Chong Yidong <cyd@gnu.org>
5429 * ffap.el (ffap-url-regexp): Don't require matching at front of
5431 (ffap-url-p): If only a substring matches, return that.
5432 (ffap-url-at-point): Use the return value of ffap-url-p.
5433 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
5434 (find-file-at-point, dired-at-point, dired-at-point-prompter)
5435 (ffap-guess-file-name-at-point): Likewise.
5436 (ffap-replace-file-component): Fix typo.
5438 * info.el (info-display-manual): Add existing Info buffers, whose
5439 files may not be in Info-directory-list, to the completion.
5440 (info--manual-names): New helper function.
5442 2012-12-05 Glenn Morris <rgm@gnu.org>
5444 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
5445 New functions, for detecting and resolving conflicts. (Bug#10709)
5447 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
5449 * hi-lock.el (hi-lock-auto-select-face): New user variable.
5450 (hi-lock-auto-select-face-defaults): New buffer local variable.
5451 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
5452 (hi-lock-unface-buffer): Prompt user with useful defaults.
5453 With prefix arg, unhighlight all hi-lock patterns in buffer.
5455 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5457 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
5459 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
5461 * Makefile.in (TRAMP_SRC):
5462 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
5464 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
5466 * net/tramp-adb.el: New package.
5468 2012-12-04 Chong Yidong <cyd@gnu.org>
5470 * terminal.el: Move to obsolete/.
5472 * longlines.el: Move to obsolete/.
5474 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
5475 Remove code referring to longlines mode.
5477 2012-12-03 Juri Linkov <juri@jurta.org>
5479 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
5481 2012-12-03 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
5483 * textmodes/ispell.el (ispell-init-process)
5484 (ispell-start-process, ispell-internal-change-dictionary):
5485 Make sure personal dictionary name is expanded after initial
5486 `default-directory' value. Use expanded strings for
5487 keep/restart checks and for value (Bug#13019).
5489 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5491 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
5493 2012-12-03 Leo Liu <sdl.web@gmail.com>
5495 * files.el (dir-locals-read-from-file): Check file non-empty
5496 before reading. (Bug#13038)
5498 2012-12-03 Glenn Morris <rgm@gnu.org>
5500 * jka-cmpr-hook.el (jka-compr-get-compression-info):
5501 Remove any version extension before checking filename. (Bug#13006)
5502 (jka-compr-compression-info-list): Belated :version bump.
5504 2012-12-03 Chong Yidong <cyd@gnu.org>
5506 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
5508 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
5509 (buffer-menu): Doc fix (Bug#12294).
5511 2012-12-03 Roland Winkler <winkler@gnu.org>
5513 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
5514 of diary-show-all-entries in the diary buffer (Bug#12994).
5516 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
5518 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
5519 "<STDIN>". This is binary safe.
5521 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5523 * calc/calc-forms.el (math-absolute-from-iso-dt)
5524 (math-date-to-iso-dt, math-parse-iso-date-validate)
5525 (math-iso-dt-to-date): New functions.
5526 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
5527 (math-fd-isoweekday): New variables.
5528 (calc-date-notation, math-parse-standard-date, math-format-date)
5529 (math-format-date-part): Add support for more formatting codes.
5531 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
5533 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
5534 current buffer's file name when called interactively (Bug#12488).
5536 2012-12-02 Juri Linkov <juri@jurta.org>
5538 * info.el (info-display-manual): Don't clobber an existing Info
5539 buffer (Bug#10770). Add completion (Bug#10771).
5541 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
5543 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
5544 before using it for comparison (Bug#5297).
5546 2012-12-01 Jari Aalto <jari.aalto@cante.net>
5548 * textmodes/css-mode.el (css-current-defun-name): New function.
5551 * textmodes/sgml-mode.el (html-current-defun-name): New function.
5552 (html-mode): Use it.
5554 2012-12-01 Chong Yidong <cyd@gnu.org>
5556 Modularize add-log-current-defun (Bug#2224).
5557 Suggested by Jari Aalto.
5559 * vc/add-log.el (add-log-current-defun-function): Doc fix.
5560 (add-log-current-defun): Move mode-specific code to other files.
5561 (add-log-lisp-like-modes, add-log-c-like-modes)
5562 (add-log-tex-like-modes): Variables deleted.
5564 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
5565 (lisp-mode-variables): Use it.
5567 * progmodes/cc-mode.el (c-common-init):
5568 * progmodes/cperl-mode.el (cperl-mode): Set a value for
5569 add-log-current-defun-function.
5571 * progmodes/m4-mode.el (m4-current-defun-name): New function.
5574 * progmodes/perl-mode.el (perl-current-defun-name): New.
5575 (perl-mode): Use it.
5577 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
5578 Use lisp-current-defun-name.
5580 * textmodes/tex-mode.el (tex-current-defun-name): New.
5581 (tex-common-initialization): Use it.
5583 * textmodes/texinfo.el (texinfo-current-defun-name): New.
5584 (texinfo-mode): Use it.
5586 2012-12-01 Chong Yidong <cyd@gnu.org>
5588 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
5589 * progmodes/autoconf.el (autoconf-mode):
5590 * progmodes/js.el (js-mode):
5591 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
5592 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
5593 * progmodes/perl-mode.el (perl-mode):
5594 * progmodes/sh-script.el (sh-mode, sh-set-shell):
5595 * textmodes/css-mode.el (css-mode):
5596 * textmodes/sgml-mode.el (html-mode, sgml-mode)
5597 (sgml-tags-invisible, sgml-guess-indent):
5598 * textmodes/tex-mode.el (tex-common-initialization)
5599 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
5600 (doctex-mode, plain-tex-mode, latex-mode):
5601 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
5603 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
5605 * vc/vc-hg.el (vc-hg-next-revision):
5606 Ensure use of default "tip" output format. (Bug#6968)
5608 2012-12-01 Kim F. Storm <storm@cua.dk>
5610 * startup.el (fancy-startup-tail): Add a clickable link
5613 2012-12-01 Chong Yidong <cyd@gnu.org>
5615 * startup.el (fancy-startup-tail): Improve the message about
5616 auto-save files (Bug#2176).
5618 * files.el (recover-session): Improve the descriptive message, and
5619 use substitute-command-keys.
5621 2012-12-01 Glenn Morris <rgm@gnu.org>
5623 * ido.el (ido-file-internal):
5624 Handle other-window, other-frame for dired. (Bug#13036)
5626 2012-11-30 Glenn Morris <rgm@gnu.org>
5628 * icomplete.el (icomplete-separator): Fix :version.
5630 2012-11-30 Chong Yidong <cyd@gnu.org>
5632 * shell.el (shell): For C-u M-x shell, use an inactive shell
5633 buffer as the default (Bug#1975).
5634 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
5635 (shell-mode): Use them to reapply ansi colorization if Shell mode
5638 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
5640 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
5642 2012-11-30 Samuel Bronson <naesten@gmail.com>
5644 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
5645 flag to xargs, for compatibility with BSD xargs (Bug#11703).
5647 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5649 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
5650 by move-to-column (Bug#3234).
5652 2012-11-30 Chong Yidong <cyd@gnu.org>
5654 * longlines.el (longlines-wrap-line, longlines-encode-region):
5655 Preserve text properties (Bug#1425).
5657 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5659 * vc/vc.el (vc-register): Allow registering a file which is
5660 already registered with a different backend (Bug#10589).
5662 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
5663 Stefan Monnier <monnier@iro.umontreal.ca>
5665 * icomplete.el: Change separator; add ido-style commands.
5666 (icomplete-show-key-bindings): Remove custom var.
5667 (icomplete-get-keys): Remove function.
5668 (icomplete-forward-completions, icomplete-backward-completions):
5670 (icomplete-minibuffer-map): New var.
5671 (icomplete-minibuffer-setup): Use it.
5672 (icomplete-exhibit): Don't delay if the list of completions is known.
5673 (icomplete-separator): New custom.
5674 (icomplete-completions): Use it.
5675 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
5676 (minibuffer-force-complete-and-exit): New command.
5677 (minibuffer--complete-and-exit): New function extracted from
5678 minibuffer-complete-and-exit.
5679 (minibuffer-complete-and-exit): Use it.
5681 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
5682 error message when the file doesn't exist (bug#12974).
5684 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5686 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
5688 2012-11-29 Glenn Morris <rgm@gnu.org>
5690 * files.el (hack-dir-local-variables): Warn if try to set
5691 coding via dir-locals, since it doesn't work. (Bug#7169)
5693 Add desktop support for restoring vc-dir buffers. (Bug#10606)
5694 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
5695 Set buffer-local value of desktop-save-buffer.
5696 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
5698 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
5699 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
5701 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
5702 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
5704 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
5707 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
5709 * calc/calc-forms.el (calc-date-notation): Fix regexp
5710 used to find time codes. Fix symbol for seconds.
5712 2012-11-27 Glenn Morris <rgm@gnu.org>
5714 * emacs-lisp/derived.el (derived-mode-make-docstring):
5715 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
5717 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5719 * textmodes/table.el (table-insert): Don't use `symbol-name' on
5720 lexically scoped variables (bug#13005).
5722 2012-11-27 Glenn Morris <rgm@gnu.org>
5724 * vc/vc-hooks.el (vc-mistrust-permissions):
5725 Default to t, to avoid data-loss. (Bug#11490)
5727 2012-11-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5729 * progmodes/python.el (python-indent-guess-indent-offset):
5730 If indentation is guessed make python-indent-offset buffer-local.
5732 Fix Imenu regression.
5733 * progmodes/python.el (python-nav-beginning-of-defun):
5734 Fix forward movement when statement(s) separates point from defun.
5735 (python-imenu-prev-index-position): New function.
5737 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5739 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
5741 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
5742 Don't set buffer-file-type. Return nil. (Bug#12989)
5744 2012-11-27 Glenn Morris <rgm@gnu.org>
5746 * hippie-exp.el (hippie-expand-try-functions-list):
5747 Re-autoload it. (Bug#12982)
5749 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5751 * descr-text.el (describe-char-padded-string):
5752 Call internal-char-font only on GUI frames. (Bug#11964)
5754 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
5756 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
5757 and obsoletion message.
5759 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5761 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
5762 the constructs to keep outside of the `cl-block' (bug#12977).
5764 2012-11-27 Chong Yidong <cyd@gnu.org>
5766 * mouse.el (mouse-drag-line): Even if the line is not draggable,
5767 keep reading until we get the up-event anyway, in order to process
5768 the up-event for mouse-1-click-follows-link (Bug#12971).
5770 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
5772 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
5773 base function is not yet defined (bug#12965).
5774 (ad-activate-advised-definition): Use ad-compile-function.
5775 (ad-activate): Use cond.
5777 2012-11-25 Leo Liu <sdl.web@gmail.com>
5779 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
5782 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5784 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
5785 reftex-section-info-function in order to be compatible with
5786 Texinfo integration.
5788 * textmodes/reftex.el (reftex-section-pre-regexp)
5789 (reftex-section-post-regexp, reftex-section-info-function):
5791 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
5792 reftex-section-post-regexp, and reftex-section-info-function in order
5793 to be compatible with Texinfo integration.
5795 * textmodes/reftex-toc.el (reftex-toc-promote-action):
5796 use reftex-section-pre-regexp variable in order to be compatible with
5797 Texinfo integration.
5799 2012-11-25 Chong Yidong <cyd@gnu.org>
5801 * faces.el: Make face-spec-set more analogous to setq.
5802 (face-spec-set): Change the third arg to specify whether this
5803 function is being called via defface, customize, or a third party.
5804 Set the appropriate symbol properties. Clear the override spec if
5805 setting via Custom. Initialize face if necessary. (Bug#4988)
5806 (face-spec-recalc): Allow theme faces to completely replace the
5807 defface spec, in the same way as custom faces (Bug#8454).
5809 * cus-face.el (custom-declare-face): Move face initialization to
5811 (custom-theme-set-faces): Don't initialize the face name here, as
5812 that is now done in face-spec-set.
5814 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
5815 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
5816 Simplify by using the new arg to face-spec-set.
5818 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
5819 reset face-override-spec too, and use custom-declare-face.
5821 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
5823 * term/ns-win.el (ns-initialize-window-system): Move creation of
5824 fontsets here (Bug#11964).
5826 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5828 * ses.el (ses-rename-cell): Correct bug on mode-line update after
5831 2012-11-24 Chong Yidong <cyd@gnu.org>
5833 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
5836 * custom.el (custom-theme-set-variables): Use a topological sort
5837 for ordering by custom dependencies (Bug#12952).
5838 (custom--sort-vars, custom--sort-vars-1): New functions.
5840 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
5842 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
5843 lexical-binding (bug#12938).
5845 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
5847 * image-mode.el (image-transform-check-size): Use assertions only
5848 for images of type imagemagick.
5850 Otherwise no error, image-transform-fit-to-{width,height} is
5851 silently ignored, as before. Doc fix.
5853 2012-11-24 Chong Yidong <cyd@gnu.org>
5855 * faces.el (color-defined-p): Doc fix (Bug#12853).
5857 2012-11-24 Juri Linkov <juri@jurta.org>
5859 * dired.el (dired-mark): Add optional arg `interactive'.
5860 Check for `use-region-p' if `interactive' is non-nil.
5861 (dired-unmark, dired-flag-file-deletion): Add optional arg
5862 `interactive'. Call `dired-mark' with the arg `interactive'.
5865 * wdired.el: Revert 2012-10-17 change partly and replace it with
5866 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
5867 (wdired-finish-edit): Add marks for new file names to
5868 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
5869 after `revert-buffer'.
5870 (wdired-do-renames): Remove calls to `dired-remove-file',
5871 `dired-add-file', `dired-add-entry'. (Bug#11795)
5873 2012-11-24 Alan Mackenzie <acm@muc.de>
5875 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
5877 Fix bugs in the state cache. Enhance a debugging mechanism.
5878 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
5879 "brace at column zero" strategy for C++.
5880 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
5881 (c-parse-state-point): New variable.
5882 (c-record-parse-state-state): Record old parse state with
5883 `copy-tree'. Record previous value of point.
5884 (c-debug-parse-state-double-cons): New debugging function.
5885 (c-debug-parse-state): Call the above new function.
5886 (c-toggle-parse-state-debug): Output a confirmatory message.
5888 * progmodes/cc-mode.el (c-before-change, c-after-change):
5889 Call c-invalidate-state-cache from `c-before-change' instead of
5892 2012-11-23 Chong Yidong <cyd@gnu.org>
5894 * find-cmd.el (find-constituents): Add executable, ipath,
5895 readable, samefile, writable, daystart, regextype (Bug#12856).
5897 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
5899 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
5901 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
5903 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
5904 definition. This fixes a bootstrap failure.
5905 (calc-gregorian-switch): In menu, put dates before regions.
5906 This is easier to follow, lines up better in the menu, and lets us
5907 coalesce regions that switch at the same time. Give country
5908 names, not "Vatican", as that's better for non-expert users.
5909 Use names that are stable between the date of switch and now, e.g.,
5910 Bohemia and Moravia (which existed then and now) and not
5911 Czechoslovakia (which didn't exist then and doesn't exist now).
5912 What is now the U.S. mostly did not switch at the same time as
5913 Britain, so omit the U.S. Correct spelling of "Britain".
5914 Catholic Switzerland was too much of a mess, so omit it.
5916 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
5918 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
5919 after the variable is changed.
5921 2012-11-21 Daniel Colascione <dancol@dancol.org>
5923 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
5924 in SQL declarations for font-lock.
5925 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
5927 2012-11-21 Glenn Morris <rgm@gnu.org>
5929 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
5930 (face-italic-p): Add optional argument "inherit".
5932 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
5933 Remove -p suffix from names, for consistency with other set-face-*.
5934 (set-face-inverse-video): Fix interactive spec.
5935 * play/gamegrid.el (gamegrid-make-mono-tty-face):
5936 * textmodes/table.el (table--update-cell-face):
5937 Use set-face-inverse-video rather than now obsolete alias.
5939 2012-11-21 Eli Zaretskii <eliz@gnu.org>
5941 * simple.el (line-move): Don't call line-move-partial if
5942 scroll-conservatively is in effect. (Bug#12927)
5944 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5946 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
5947 Fallback on completion-at-point rather than
5948 pcomplete-expand-and-complete, and only if pcomplete actually failed.
5949 (eshell-cmpl-initialize): Setup completion-at-point.
5951 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
5953 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
5955 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
5957 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
5958 are remote, check out-of-band property for both.
5960 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5962 * window.el (switch-to-buffer): Re-add the warning that was lost in the
5965 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
5967 More minor time fixes.
5968 * calendar/time-date.el: Commentary fix.
5969 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
5970 too much other code depends on (0 0) time stamps.
5971 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
5972 Add a couple of FIXME comments.
5974 Minor cleanup for times as lists of four integers.
5975 * files.el (dir-locals-directory-cache):
5976 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
5978 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
5979 * ps-bdf.el (bdf-file-newer-than-time):
5980 Process four-integers time stamps, not two. Doc fixes.
5982 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5984 * uniquify.el (uniquify-managed): Use defvar-local.
5985 (rename-buffer, create-file-buffer): Advise with advice-add.
5986 (uniquify-unload-function): Unadvise accordingly.
5988 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
5989 (trace-buffer): Don't purecopy.
5990 (trace-entry-message, trace-exit-message): Add `context' arg.
5991 (trace--timer): New var.
5992 (trace-make-advice): Adjust for use in nadvice.
5993 Add `context' argument. Delay `display-buffer' via a timer.
5994 (trace-function-internal): Use advice-add.
5995 (trace--read-args): New function.
5996 (trace-function-foreground, trace-function-background): Use it.
5997 (trace-function): Rename to trace-function-foreground and redefine as
5998 an alias to that new name.
5999 (untrace-function, untrace-all): Adjust to the use of nadvice.
6001 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
6003 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
6005 * subr.el (called-interactively-p-functions): New var.
6006 (internal--called-interactively-p--get-frame): New macro.
6007 (called-interactively-p, interactive-p): Rewrite in Lisp.
6008 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
6009 (called-interactively-p-functions): Use it.
6010 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
6011 (called-interactively-p-functions): Use it.
6012 * allout.el (allout-called-interactively-p): Don't assume
6013 called-interactively-p is a subr.
6015 2012-11-20 Glenn Morris <rgm@gnu.org>
6017 * profiler.el (profiler-report-mode-map): Add a menu.
6018 No need to bind `q' because we derive from special-mode.
6019 (profiler-report-find-entry): Handle calls from the menu-bar.
6021 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
6023 * emacs-lisp/byte-run.el (defun-declarations-alist):
6024 Allow a compiler-macro to be a lambda expression.
6026 * progmodes/python.el: Use cl-lib. Move var declarations outside of
6028 (python-syntax-context): Add compiler-macro.
6029 (python-font-lock-keywords): Simplify with De Morgan.
6031 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
6033 * files.el (load-file): Require match in minibuffer selection, as was
6034 the case in Emacs-20 before we changed the spec to allow .elc files
6037 * json.el: Don't require cl since we don't use it.
6038 * color.el: Don't require cl.
6039 (color-complement): `caddr' -> `nth 2'.
6041 * calendar/time-date.el (time-to-seconds): De-obsolete.
6043 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
6045 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
6047 (math-date-to-julian-dt): Adjust the initial approximation for the
6048 year to deal with the new definition of the DATE.
6050 2012-11-19 Daniel Colascione <dancol@dancol.org>
6052 * term/w32-win.el (cygwin-convert-path-from-windows):
6053 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6055 2012-11-18 Chong Yidong <cyd@gnu.org>
6057 * filecache.el (file-cache--read-list): New function.
6058 (file-cache-add-directory-list, file-cache-add-file-list)
6059 (file-cache-delete-file-list, file-cache-delete-directory-list):
6060 Use it to read a list of files or directories (Bug#12846).
6061 (file-cache-add-file, file-cache-add-directory)
6062 (file-cache-delete-file-list, file-cache-delete-file-regexp)
6063 (file-cache-delete-directory): Print an message.
6065 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
6067 * calc/calc-forms.el (math-date-to-dt): Use integer date when
6068 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
6070 2012-11-18 Glenn Morris <rgm@gnu.org>
6072 * image.el (insert-image, insert-sliced-image): Doc fix.
6074 2012-11-18 Chong Yidong <cyd@gnu.org>
6076 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
6079 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6081 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
6082 response when the target file is in a subdirectory (Bug#12757).
6084 2012-11-18 Chong Yidong <cyd@gnu.org>
6086 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
6088 2012-11-18 Glenn Morris <rgm@gnu.org>
6090 * emacs-lisp/cl-lib.el (face-underline-p):
6091 Use set-face-underline rather than the alias set-face-underline-p.
6093 * window.el (with-temp-buffer-window): Doc fix.
6094 * subr.el (with-output-to-temp-buffer):
6095 Add doc xref to with-temp-buffer-window.
6097 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
6099 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
6100 * calc/calc.el (math-format-date-cache): Declare.
6102 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
6104 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
6105 It also uses January 1, 1 AD as its day number 1.
6106 * calc/calc-forms.el (math-julian-date-beginning)
6107 (math-julian-date-beginning-int): Implement this.
6109 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
6111 * descr-text.el (quail-find-key):
6112 * dired.el (desktop-file-name):
6113 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
6114 * generic-x.el (comint-mode, comint-exec):
6115 * image-dired.el (widget-forward):
6116 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
6117 (speedbar-change-expand-button-char)
6118 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
6119 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
6120 * printing.el (easy-menu-add-item, easy-menu-remove-item)
6121 (widget-field-action, widget-value-set):
6122 * speedbar.el (imenu--make-index-alist):
6123 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
6124 (ring-length, ring-insert):
6125 * vcursor.el (compare-windows-skip-whitespace):
6126 * woman.el (dired-get-filename):
6129 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
6131 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6133 * calc/calc.el (calc-gregorian-switch): New variable.
6135 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
6136 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
6137 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
6138 (math-leap-year-p): Add option to distinguish between Julian
6139 and Gregorian calendars.
6140 (math-day-number): Use `math-day-in-year' to do the computations.
6141 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
6142 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
6143 to do the computations.
6144 (math-date-to-dt): Use `math-date-to-julian-dt' and
6145 `math-date-to-gregorian-dt' to do the computations.
6146 (calcFunc-weekday, math-format-date-part): Use the new version of
6147 the DATE to determine the weekday.
6148 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
6151 2012-11-17 Eli Zaretskii <eliz@gnu.org>
6153 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
6154 Cygwin; otherwise use 'file:'. (Bug#12914)
6155 (cygwin-convert-path-from-windows): Declare, to avoid
6156 byte-compiler warnings.
6158 2012-11-17 Andreas Politz <politza@fh-trier.de>
6160 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
6161 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
6162 prefix and negative numeric prefix args (Bug#12795).
6164 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
6166 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
6167 Don't signal an error with a score that is too low to add to the
6168 list of top scores. (Bug#12779)
6170 2012-11-17 Chong Yidong <cyd@gnu.org>
6172 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
6174 * filecache.el (file-cache-add-file): Handle relative file name in
6175 the argument (Bug#12694).
6177 2012-11-16 JĂ¼rgen Hötzel <juergen@archlinux.org> (tiny change)
6179 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
6181 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6183 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
6185 * emacs-lisp/cl-lib.el: Set more meaningful version number.
6187 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6189 * window.el (enlarge-window, shrink-window): Don't mention return
6190 value in doc-string (Bug#12896).
6191 (window--display-buffer): Don't resize frames - it won't work
6192 with all window managers and defeat pop-up-frame-alist.
6193 (display-buffer-alist): In doc-string explain that CONDITION can
6194 be a function and which arguments are passed to it (Bug#12854).
6195 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
6196 expressions (Bug#12854).
6197 (display-buffer): Pass ACTION argument to
6198 display-buffer-assq-regexp.
6200 2012-11-16 Glenn Morris <rgm@gnu.org>
6202 * window.el (fit-frame-to-buffer-bottom-margin)
6203 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
6205 * faces.el (face-underline-p): Use face-attribute-specified-or.
6207 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
6209 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
6211 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6213 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
6215 2012-11-16 Glenn Morris <rgm@gnu.org>
6217 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
6218 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
6220 * faces.el (face-underline-p): Doc fix. Handle :underline being
6221 things other than `t' (a string, a list).
6222 (face-inverse-video-p): Doc fix.
6223 (set-face-underline): Rename it back from set-face-underline-p.
6224 Doc fix. Allow interactive input of values other than t.
6225 (read-face-attribute): Apply formatting to :underline,
6226 since like :box and :stipple it can take list values.
6228 * term.el (ansi-term): Don't let C-x escape-char binding
6229 clobber the more standard C-c binding. (Bug#12842)
6231 * subr.el (set-temporary-overlay-map): Doc fix.
6233 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6235 * window.el (record-window-buffer)
6236 (display-buffer-record-window): When copying the markers to
6237 window-point preserve window-point-insertion-type. (Bug#12588)
6239 2012-11-16 Glenn Morris <rgm@gnu.org>
6241 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
6242 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
6243 Use new names for hooks rather than obsolete aliases.
6245 2012-11-15 Daniel Colascione <dancol@dancol.org>
6247 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
6248 prefix instead of "file:" so that when FILE-NAME begins with "//",
6249 as it does when the target file is on a network share, url-handler
6252 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6254 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
6255 a preactivated advice from an old advice.el; they're not compatible!
6257 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
6259 * emacs-lisp/nadvice.el (advice--make-interactive-form):
6260 Fix string-spec case.
6262 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
6264 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6266 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
6267 (advice--buffer-local-function-sample): New var.
6268 (advice--set-buffer-local, advice--buffer-local): New functions.
6269 (add-function, remove-function): Use them.
6271 2012-11-15 Drew Adams <drew.adams@oracle.com>
6273 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
6275 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6277 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
6278 potential binding of print-gensym to t, and prettify (back)quotes in
6279 case they appear in args's default values (bug#12884).
6281 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6283 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
6284 (advice-eval-interactive-spec): New function.
6285 (advice--make-interactive-form): Support around advice (bug#12844).
6287 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
6289 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
6290 more strict. Add docstring.
6291 (ruby-expression-expansion-re): Extract from
6292 `ruby-match-expression-expansion'.
6293 (ruby-syntax-propertize-function): After everything else, search
6294 for expansions in string literals, mark their insides as
6295 whitespace syntax and save match data for font-lock.
6296 (ruby-font-lock-keywords): Use the 2nd group from expression
6298 (ruby-match-expression-expansion): Use the match data saved to the
6299 text property in ruby-syntax-propertize-function.
6301 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6303 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
6306 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6308 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
6309 start/end keyword a bit harder. Works with different values of N.
6311 (ruby-end-of-block): Update accordingly.
6313 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6315 * woman.el (woman-file-name): Don't mess with unread-command-events
6318 * emacs-lisp/advice.el: Layer on top of nadvice.el.
6319 Remove out of date self-require hack.
6320 (ad-do-advised-functions): Use simple `dolist'.
6321 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
6322 (ad-advice-definition): Redefine as functions.
6323 (ad-advice-classes): Move before first use.
6324 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
6325 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
6326 (ad--defalias-fset): Remove functions.
6327 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
6328 (ad-get-orig-definition): Rewrite.
6329 (ad-make-advised-definition-docstring): Change base docstring.
6330 (ad-real-orig-definition): Rewrite.
6331 (ad-map-arglists): Change name of called function.
6332 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
6333 (ad-make-advised-definition): Simplify.
6334 (ad-assemble-advised-definition): Tweak for new calling context.
6335 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
6336 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
6337 function and call ad-activate if needed.
6338 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
6339 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
6340 (ad-compile-function): Compile ad-Advice-*.
6341 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
6342 (ad-start-advice, ad-stop-advice): Remove.
6344 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6346 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
6347 period before class method names, not after. Remove handling of
6348 one impossible case. Add comments.
6350 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6352 * emacs-lisp/advice.el: Remove support for freezing.
6353 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
6354 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
6355 Remove support for `freeze'.
6357 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
6358 override the default.
6359 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
6361 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
6364 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
6366 (advice--strip-macro): New function.
6367 (advice--defalias-fset): Use them to handle macros.
6368 (advice-add): Use them.
6369 (advice-member-p): Correctly handle macros.
6371 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6373 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6374 Never font-lock the beginning of singleton class as heredoc.
6376 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6378 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
6380 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
6382 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
6383 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
6384 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
6386 2012-11-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6388 Fix end-of-defun misbehavior.
6389 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
6390 python-beginning-of-defun-function. Handle nested defuns
6392 (python-nav-end-of-defun): Rename from
6393 python-end-of-defun-function. Ensure forward movement.
6394 (python-info-current-defun): Reimplement to work as intended
6395 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
6396 parent defuns as soon as possible.
6398 2012-11-13 Glenn Morris <rgm@gnu.org>
6400 * progmodes/flymake.el (flymake-error-bitmap)
6401 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
6402 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
6404 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6406 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
6407 backward, always stop at indentation. Reverts the change from
6408 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
6410 2012-11-13 Glenn Morris <rgm@gnu.org>
6412 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
6413 Add ibuffer-filter-by-derived-mode.
6415 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
6416 the same name shadowing each other.
6418 * window.el (with-temp-buffer-window): Doc tweak.
6420 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
6422 * help.el (temp-buffer-max-height):
6423 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
6424 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
6426 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
6428 * emacs-lisp/nadvice.el: New package.
6429 * subr.el (special-form-p): New function.
6430 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
6431 (elp-all-instrumented-list): Remove var.
6432 (elp-not-profilable): Remove elp-wrapper.
6433 (elp-profilable-p): Use autoloadp and special-form-p.
6434 (elp--advice-name): New const.
6435 (elp-instrument-function): Use advice-add.
6436 (elp--instrumented-p): New predicate.
6437 (elp-restore-function): Use advice-remove.
6438 (elp-restore-all, elp-reset-all): Use mapatoms.
6439 (elp-set-master): Use elp--instrumented-p.
6440 (elp--make-wrapper): Rename from elp-wrapper, return a function
6441 suitable for advice-add. Use cl-inf.
6442 (elp-results): Use mapatoms+elp--instrumented-p.
6443 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
6444 (debug-function-list): Remove var.
6445 (debug): Rename arg, and then let-bind it explicitly inside.
6446 (debugger-setup-buffer): Rename arg.
6447 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
6448 (debugger-frame-number): Adjust to new debug-on-entry setup.
6449 (debug--implement-debug-on-entry): Rename from
6450 implement-debug-on-entry, add argument.
6451 (debugger-special-form-p): Remove, use special-form-p instead.
6452 (debug-on-entry): Use advice-add.
6453 (debug--function-list): New function.
6454 (cancel-debug-on-entry): Use it, along with advice-remove.
6455 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
6456 (debugger-list-functions): Use debug--function-list instead of
6457 debug-function-list.
6458 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
6459 (ad-special-form-p): Remove, use special-form-p instead.
6460 (ad-set-advice-info): Use add-function and remove-function.
6461 (ad--defalias-fset): Adjust accordingly.
6463 2012-11-10 Glenn Morris <rgm@gnu.org>
6465 * mail/emacsbug.el (report-emacs-bug-tracker-url)
6466 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
6467 (report-emacs-bug-create-existing-bugs-buffer)
6468 (report-emacs-bug-parse-query-results)
6469 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
6471 * term.el (term-default-fg-color, term-default-bg-color):
6472 Make obsolete, rather than just saying "deprecated" in the doc.
6474 * term.el (term): Rename from `term-face'.
6475 (term-current-face, ansi-term-color-vector)
6476 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
6479 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
6481 * server.el (server-create-window-system-frame): Handle Nextstep
6482 specially (Bug#12780).
6484 2012-11-10 Glenn Morris <rgm@gnu.org>
6486 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
6487 Unautoload, and make obsolete. (Bug#7449)
6489 2012-11-10 Chong Yidong <cyd@gnu.org>
6491 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
6492 rename from diff-remove-trailing-whitespace (Bug#12831).
6494 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6496 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
6497 miscompilation of trace.el.
6499 2012-11-10 Glenn Morris <rgm@gnu.org>
6501 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
6503 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6505 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
6508 2012-11-10 Chong Yidong <cyd@gnu.org>
6510 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
6511 a defcustom with an appropriate :set function.
6512 (minibuffer-default--in-prompt-regexps): New function.
6514 2012-11-10 Glenn Morris <rgm@gnu.org>
6516 * emacs-lisp/cl.el (define-setf-expander, defsetf)
6517 (define-modify-macro): Doc fixes.
6519 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
6520 (gv-define-simple-setter): Update doc of `fix-return'.
6522 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6524 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
6525 twice when `fix-return' is set (bug#12813).
6527 * emacs-lisp/cl.el (defsetf): Pass the third arg to
6528 gv-define-simple-setter (bug#12812).
6530 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
6533 2012-11-10 Glenn Morris <rgm@gnu.org>
6535 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
6537 * emacs-lisp/cl-extra.el (cl-prettyexpand):
6538 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
6539 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
6540 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
6542 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
6544 2012-11-10 Leo Liu <sdl.web@gmail.com>
6546 * ido.el (ido-set-matches-1): Improve flex matching performance by
6547 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
6549 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6551 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
6552 (ad--defalias-fset): New function.
6553 (ad-safe-fset): Remove.
6554 (ad-make-freeze-definition): Use cl-letf*.
6556 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6558 * subr.el (dolist): Don't bind VAR in RESULT.
6560 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
6561 (fset, documentation): Don't save real def since we don't advise.
6562 (ad-do-advised-functions): Remove problematic `result-form'.
6563 (ad-safe-fset): `ad-real-fset' => `fset'.
6564 (ad-read-advised-function): Don't assume that ad-do-advised-functions
6565 uses CL's dolist internally.
6566 (ad-arglist): Remove unused arg `name'.
6567 (ad-docstring, ad-make-advised-docstring):
6568 `ad-real-documentation' => `documentation'.
6569 (warning-suppress-types): Declare.
6570 (ad-set-arguments): Simple CSE.
6571 (ad-recover-normality): Sanity check.
6573 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
6574 (funcall '(lambda ..) ..) into ((lambda ..) ..).
6576 2012-11-09 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6578 * ses.el: symbol to coordinate mapping is made by symbol property
6579 `ses-cell'. This means that the same mapping is done for all SES
6580 sheets. That is good enough for cells with standard A1 names, but
6581 not for named cell. So a hash map is added for the latter.
6582 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
6583 (ses-sym-rowcol): Use hashmap for named cell.
6584 (ses-is-cell-sym-p): New defun.
6585 (ses-decode-cell-symbol): New defun.
6586 (ses-create-cell-variable): Add cell to hashmap when name is not
6588 (ses-rename-cell): Check that cell new name is not already in
6589 spreadsheet with the use of ses-is-cell-sym-p
6590 (ses-rename-cell): Use hash map for named cells, but accept also
6591 renaming back to A1-like.
6593 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6595 * emacs-lisp/advice.el: Use new dynamic docstrings.
6596 (ad-make-advised-definition-docstring, ad-advised-definition-p):
6597 Use dynamic-docstring-function instead of ad-advice-info.
6598 (ad--make-advised-docstring): New function extracted from
6599 ad-make-advised-docstring.
6600 (ad-make-advised-docstring): Use it.
6601 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
6603 (sql-help): Use it with dynamic-docstring-function.
6605 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
6607 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6609 * files.el (hack-one-local-variable--obsolete): New function.
6610 (hack-one-local-variable): Use it for obsolete settings.
6612 * subr.el (locate-user-emacs-file): If both old and new name exist, use
6615 * progmodes/js.el (js--filling-paragraph): New var.
6616 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
6617 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
6620 2012-11-08 Julien Danjou <julien@danjou.info>
6622 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
6623 `auto-mode-alist' (Bug#12835).
6625 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6627 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
6628 (perl--prettify-symbols-alist): New const.
6629 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
6631 (perl-font-lock-keywords-2): Use them.
6632 (perl-electric-noindent-p): New function.
6633 (perl-mode): Use it to set up electric-indent-mode.
6634 (perl-electric-terminator, perl-indent-command): Mark obsolete.
6635 (perl-mode-map): Remove bindings for them.
6636 (perl-imenu-generic-expression, perl-outline-level):
6637 Match functions&packages in column>0.
6639 * env.el (env--substitute-vars-regexp): New const.
6640 (substitute-env-vars): Use it. Add `only-defined' arg.
6641 * net/tramp.el (tramp-replace-environment-variables): Use it.
6643 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
6644 Byte-compile *before* eval in eval-and-compile.
6645 (byte-compile-log-warning): Remove redundant inhibit-read-only.
6646 (byte-compile-file-form-autoload): Don't hide actual definition.
6647 (byte-compile-maybe-guarded): Accept `functionp' as well.
6649 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
6651 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
6653 * notifications.el (notifications-get-server-information-method):
6655 (notifications-get-capabilities): Fix docstring.
6656 (notifications-get-server-information): New defun.
6658 2012-11-06 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
6660 * textmodes/ispell.el (ispell-region): Standard re-indent for better
6663 * textmodes/ispell.el: Experimental support for support debugging.
6664 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
6666 (ispell-print-if-debug): New function to print stuff to
6667 `ispell-debug-buffer' if debugging is enabled.
6668 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
6669 show some debugging info.
6670 (ispell-buffer-with-debug): New function that creates a debugging
6671 buffer and calls `ispell-buffer' with debugging enabled.
6673 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
6674 comment in autoconf mode. (Bug#12768)
6676 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
6678 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
6679 frame-first-window, frame-root-window, frame-selected-window,
6680 minibuffer-selected-window, minibuffer-window,
6681 window-absolute-pixel-edges, window-at, window-body-height,
6682 window-body-width, window-display-table, window-combination-limit,
6683 window-frame, window-fringes, window-inside-absolute-pixel-edges,
6684 window-inside-edges, window-inside-pixel-edges, window-left-child,
6685 window-left-column, window-margins, window-next-buffers,
6686 window-next-sibling, window-new-normal, window-new-total,
6687 window-normal-size, window-parameter, window-parameters, window-parent,
6688 window-pixel-edges, window-point, window-prev-buffers,
6689 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
6690 window-start, window-text-height, window-top-child, window-top-line,
6691 window-total-height, window-total-width and window-use-time to the list
6692 of functions without side-effects.
6693 (toplevel): Add window-valid-p to the list of error-free functions
6694 without side-effects.
6696 2012-11-05 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
6698 * textmodes/ispell.el (ispell-program-name):
6699 Update spellchecker parameters when customized.
6701 2012-11-04 Glenn Morris <rgm@gnu.org>
6703 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
6705 2012-11-04 Chong Yidong <cyd@gnu.org>
6707 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
6708 same-window-* variables.
6710 2012-11-04 Juri Linkov <juri@jurta.org>
6712 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
6713 (isearch-describe-key, isearch-describe-mode): Use a display
6714 action instead of binding same-window-* variables (Bug#10040).
6716 2012-11-03 Glenn Morris <rgm@gnu.org>
6718 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
6719 Rename handler properties back from cl-- to cl-. (Bug#12788)
6721 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
6723 2012-11-03 Eli Zaretskii <eliz@gnu.org>
6725 * term/pc-win.el: Don't load term/internal from here.
6727 * loadup.el: Load term/internal from here.
6729 2012-11-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6731 * progmodes/python.el (inferior-python-mode): Fix hang in
6732 jit-lock (Bug#12645).
6734 2012-11-03 Martin Rudalics <rudalics@gmx.at>
6736 * window.el (switch-to-visible-buffer)
6737 (switch-to-buffer-preserve-window-point): Fix doc-strings.
6739 2012-11-03 Glenn Morris <rgm@gnu.org>
6741 * emacs-lisp/cl-lib.el (cl--random-time):
6742 Rename from cl-random-time. (Bug#12773)
6743 (cl--gensym-counter, cl--random-state): Update callers.
6744 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
6746 2012-11-03 Chong Yidong <cyd@gnu.org>
6748 * cus-start.el: Make cursor-type customizable (Bug#11633).
6750 2012-11-02 Glenn Morris <rgm@gnu.org>
6752 * filecache.el: No need to load find-lisp when compiling.
6753 (find-lisp-find-files): Autoload it.
6754 (file-cache-add-directory-recursively): Don't require find-lisp.
6756 * image.el (image-type-from-file-name): Trivial simplification.
6758 * emacs-lisp/bytecomp.el (byte-compile-eval):
6759 Decouple "noruntime" and "cl-functions" warnings.
6761 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
6763 * play/gomoku.el (gomoku-display-statistics): Update mode line
6764 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
6766 2012-10-31 Martin Rudalics <rudalics@gmx.at>
6768 * window.el (quit-restore-window): If the window has been
6769 created on an existing frame and ended up as the sole window on
6770 that frame, do not delete it (Bug#12764).
6772 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
6774 * progmodes/sh-script.el (sh--inside-noncommand-expression):
6775 Rename from sh--inside-arithmetic-expression, handle more cases
6778 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
6779 (sh-font-lock-open-heredoc): Use it (bug#12770).
6781 2012-10-30 Glenn Morris <rgm@gnu.org>
6783 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
6785 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
6787 2012-10-29 Chong Yidong <cyd@gnu.org>
6789 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
6790 function key is stored in a keyboard macro (Bug#4894).
6792 * thingatpt.el (number-at-point): Apply a thing-at-point property.
6794 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6796 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
6798 (diff-unified->context, diff-context->unified)
6799 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
6801 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
6803 * files.el (find-alternate-file): Only ask one question (bug#12487).
6805 2012-10-29 Chong Yidong <cyd@gnu.org>
6807 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
6808 Suggested by Dan Nicolaescu (Bug#6326).
6810 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
6812 * startup.el (fancy-about-screen): Don't message (Bug#12680).
6814 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
6816 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
6818 * face-remap.el (face-remap-add-relative): Handle the case where a
6819 face-remapping-alist entry is a cons cell (Bug#12762).
6821 2012-10-29 Kevin Ryde <user42@zip.com.au>
6823 * woman.el (woman-parse-numeric-value): Handle picas correctly
6826 2012-10-29 Glenn Morris <rgm@gnu.org>
6828 * emacs-lisp/cl.el (defsetf): Doc fix.
6830 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6832 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
6833 syntax to the matching opener, if any (bug#12547).
6834 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
6835 matching open as a "case-(".
6836 (sh-smie-rc-grammar): Add a corresponding rule for it.
6838 2012-10-28 Daniel Hackney <dan@haxney.org>
6840 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
6841 "PKGNAME-autoloads.el" in case we created it.
6843 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6845 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
6846 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
6847 (completion--twq-all): Disable too-strict assertions.
6849 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
6851 2012-10-27 Eli Zaretskii <eliz@gnu.org>
6853 * profiler.el (profiler-report-make-entry-part): Fix help-echo
6854 text to match the real keybindings.
6856 2012-10-27 Juri Linkov <juri@jurta.org>
6858 * wdired.el (wdired-keep-marker-rename): New defcustom.
6859 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
6862 * dired.el (dired-keep-marker-rename): Add reference to
6863 `wdired-keep-marker-rename' in the docstring.
6864 Add default character value ?R to display initially in
6865 Customization UI instead of ?@.
6867 2012-10-27 Martin Rudalics <rudalics@gmx.at>
6869 * window.el (display-buffer): In doc-string describe
6870 window-height and window-width alist entries.
6872 * time.el (display-time-world): Restore fit-window-to-buffer
6875 2012-10-27 Chong Yidong <cyd@gnu.org>
6877 * subr.el (insert-buffer-substring-as-yank): Doc fix.
6879 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
6881 * minibuffer.el (completion-category-overrides): New completion
6882 category `bookmark' (bug#11131).
6884 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6886 * emacs-lisp/advice.el (ad-assemble-advised-definition):
6887 Silence bogus compiler warnings for ad-do-it.
6889 * bookmark.el (bookmark-completing-read): Set the completion category
6890 to `bookmark' (bug#11131).
6892 2012-10-26 Bastien <bzg@altern.org>
6893 Stefan Monnier <monnier@iro.umontreal.ca>
6895 * face-remap.el: Use lexical-binding.
6896 (text-scale-adjust): Improve docstring. Use itself for the temporary
6897 overlay-map bindings, so as to repeat the "Use..." message each time.
6899 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6901 * emacs-lisp/macroexp.el (macroexp--expand-all):
6902 Obey byte-compile-warning-enabled-p (bug#12486).
6904 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
6905 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
6907 2012-10-26 Martin Rudalics <rudalics@gmx.at>
6909 * mouse.el (mouse-drag-line): Move last form into preceding when
6912 * help.el (resize-temp-buffer-window): Fix doc-string.
6914 2012-10-25 David Engster <deng@randomsample.de>
6916 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
6917 Remove. This feature is already integrated in imenu.
6919 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
6920 always loaded. Require `speedbar' unconditionally.
6922 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6924 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
6926 * minibuffer.el (minibuffer-force-complete): Fix thinko.
6928 * net/ldap.el (ldap-search-internal): The official ldif format starts
6929 with a "version: 1" header (bug#12724).
6931 * emacs-lisp/package.el (package-installed-p): Warn if not ready
6934 2012-10-25 Glenn Morris <rgm@gnu.org>
6936 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
6938 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6940 * minibuffer.el (minibuffer-force-complete): Use one more marker
6941 for the temporary-overlay-map command (bug#12619).
6943 2012-10-24 Chong Yidong <cyd@gnu.org>
6945 * time.el (display-time-world-mode): Derive from special-mode.
6946 (display-time-world): Use display-buffer (Bug#12708).
6947 (display-time-world-mode-map): Variable deleted.
6948 (display-time-world-display): Wrap the final delete-char inside
6951 2012-10-24 Chong Yidong <cyd@gnu.org>
6953 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
6956 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
6958 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6960 * minibuffer.el (completion--all-sorted-completions-location): New var.
6961 (completion--cache-all-sorted-completions)
6962 (completion--flush-all-sorted-completions): Use it.
6963 (completion-in-region, completion-in-region--postch)
6964 (completion-at-point, completion-help-at-point): Use markers in
6965 completion-in-region--data (bug#12619).
6967 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6969 * progmodes/compile.el (compilation-start): Try to handle common
6970 quoting of `cd' argument (bug#12640).
6972 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
6975 2012-10-23 Glenn Morris <rgm@gnu.org>
6977 * progmodes/gud.el (gud-menu-map):
6978 Check gdb-active-process is bound. (Bug#12358)
6980 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6982 * repeat.el (repeat): Set real-this-command (bug#12232).
6984 * htmlfontify.el (hfy-post-html-hook):
6985 * filesets.el (filesets-cache-fill-content-hook):
6986 * arc-mode.el (archive-extract-hook):
6987 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
6988 * net/rcirc.el (rcirc-sentinel-functions)
6989 (rcirc-receive-message-functions, rcirc-activity-functions)
6990 (rcirc-print-functions):
6991 * net/dbus.el (dbus-event-error-functions):
6992 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
6993 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
6994 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
6995 * term/sun.el (sun-raw-prefix-hooks):
6996 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
6998 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
7000 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7001 Set `tramp-chunksize' to 1. This improves the performance.
7002 (tramp-smb-wait-for-output): Add timeout to
7003 `tramp-accept-process-output' calls.
7005 2012-10-23 Chong Yidong <cyd@gnu.org>
7007 * faces.el (font-list-limit): Define as an obsolete variable.
7009 * startup.el (command-line):
7010 * cus-start.el: Don't refer to font-list-limit.
7012 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
7014 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7016 * subr.el (internal-temp-output-buffer-show): Rename from
7017 temp-output-buffer-show, since previously compiled files expect this name.
7019 2012-10-23 Glenn Morris <rgm@gnu.org>
7021 * image.el (image-type-from-file-name): If multiple types match,
7022 return the first one that is supported. (Bug#9045)
7024 2012-10-22 Glenn Morris <rgm@gnu.org>
7026 * image.el (imagemagick-enabled-types): Doc fix.
7028 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
7030 * progmodes/which-func.el (which-func-current): The hash-table may have
7031 an explicit nil (bug#12338).
7033 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7035 * electric.el (electric-pair-delete-selection-self-insert-function):
7036 Rename to electric-pair-will-use-region, return a boolean.
7037 (electric-pair-mode): Adjust accordingly. Don't require delsel.
7039 * delsel.el (delete-selection-helper): Use a function instead of a hook.
7040 (delete-selection-pre-hook): Use use-region-p.
7041 (delete-selection-self-insert-function): Remove.
7042 (self-insert-command): Obey self-insert-uses-region-functions.
7043 (self-insert-iso): Revert to previous setting, since we don't actually
7044 know what that command does.
7045 (delete-selection-self-insert-hooks): Remove.
7047 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
7049 * delsel.el (delete-selection-helper): New function, extracted from
7050 delete-selection-pre-hook.
7051 (delete-selection-pre-hook): Use it.
7052 (delete-selection-self-insert-function): New function.
7053 (delete-selection-self-insert-hooks): New hook.
7054 (self-insert-command, self-insert-iso): Use it.
7055 * electric.el (electric-pair-syntax): New function, extracted from
7056 electric-pair-post-self-insert-function.
7057 (electric-pair-post-self-insert-function): Use it.
7058 (electric-pair-delete-selection-self-insert-function): New function.
7059 (electric-pair-mode): Require delsel and setup
7060 delete-selection-self-insert-hooks (bug#11520).
7062 2012-10-20 Chong Yidong <cyd@gnu.org>
7064 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
7065 no changes to show (Bug#12586).
7067 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
7068 list explicitly (Bug#12571).
7070 2012-10-20 Arne Jørgensen <arne@arnested.dk>
7072 * progmodes/flymake.el (flymake-create-temp-inplace):
7075 2012-10-20 Eli Zaretskii <eliz@gnu.org>
7077 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
7079 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
7081 * calc/calc-units.el (math-extract-units): Properly extract powers
7084 2012-10-20 Daniel Colascione <dancol@dancol.org>
7086 * frame.el (make-frame): Set x-display-name as we used to in order
7087 to unbreak creating an X11 frame from an Emacs daemon started
7090 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7092 * minibuffer.el (minibuffer-force-complete): Make the next completion use
7093 the same completion-field (bug#12221).
7095 2012-10-19 Martin Rudalics <rudalics@gmx.at>
7097 * emacs-lisp/debug.el (debug): Record height of debugger window
7098 also when debugger will be back (Bug#8789).
7100 2012-10-18 Chong Yidong <cyd@gnu.org>
7102 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7103 Convert to defcustom.
7104 (gdb-get-source-file): Don't bind pop-up-windows.
7106 * progmodes/gud.el (gud-display-line): Don't specially re-use
7107 other frames for the gdb-mi case (Bug#12648).
7109 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7111 * emacs-lisp/advice.el: Clean up commentary a bit.
7112 (ad-do-advised-functions, ad-with-originals): Use `declare'.
7113 (byte-code-function-p): Never redefine.
7115 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
7117 2012-10-18 Glenn Morris <rgm@gnu.org>
7119 * dired.el (dired-sort-toggle): Some ls implementations only allow
7120 a single option string. (Bug#12666)
7122 * minibuffer.el (completion-cycle-threshold): Doc fix.
7124 2012-10-17 Kenichi Handa <handa@gnu.org>
7126 * international/mule.el (set-keyboard-coding-system):
7127 Recover input meta mode when the new coding system doesn not use 8-bit.
7128 Supply TERMINAL arg to set-input-meta-mode.
7130 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7132 * wdired.el (wdired-old-marks): New variable.
7133 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
7134 (wdired-do-renames): Move point with renamed file and don't lose
7135 mark status (Bug#11795).
7137 2012-10-16 Juri Linkov <juri@jurta.org>
7139 * replace.el (query-replace-help): Mention multi-buffer replacement
7140 keys in the Help message. (Bug#12655)
7142 2012-10-15 Chong Yidong <cyd@gnu.org>
7144 * emacs-lisp/byte-run.el (defsubst): Doc fix.
7146 2012-10-14 Eli Zaretskii <eliz@gnu.org>
7148 * window.el (display-buffer): Doc fix.
7150 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7151 Adjust the msft regexp to the output of Studio 2010, and move msft
7152 before edg-1. See the discussion on emacs-devel,
7153 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
7156 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7158 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
7159 (oset): Move uses of object-class-fast macro after its definition.
7161 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
7163 2012-10-13 Chong Yidong <cyd@gnu.org>
7165 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
7166 enabled, re-enable it (Bug#11963).
7168 2012-10-13 Martin Rudalics <rudalics@gmx.at>
7170 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
7171 non-nil, restore window configuration (Bug#12623).
7173 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7175 * help-fns.el (describe-variable, describe-function-1):
7176 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
7178 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
7180 2012-10-12 Glenn Morris <rgm@gnu.org>
7182 * mail/rmailsum.el (rmail-header-summary):
7183 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
7185 2012-10-12 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7187 * progmodes/python.el (python-mode-map):
7188 Replace subtitute-key-definition with proper command remapping.
7189 (python-nav--up-list): Fix behavior for blocks on the same level.
7191 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7193 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
7195 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
7196 changes to the format of load-history.
7198 * international/mule-cmds.el (read-char-by-name): Move let-binding of
7199 completion-ignore-case in case that var is buffer-local (bug#12615).
7201 2012-10-11 Kenichi Handa <handa@gnu.org>
7203 * international/eucjp-ms.el: Re-generated.
7205 2012-10-10 Kenichi Handa <handa@gnu.org>
7207 * select.el (xselect--encode-string): If a coding is specified for
7208 selection, and that is compatible with COMPOUND_TEXT, use it.
7210 2012-10-10 Martin Rudalics <rudalics@gmx.at>
7212 * window.el (switch-to-buffer-preserve-window-point): New option.
7214 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
7216 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7218 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
7219 Don't document nil as a useful value (bug#12583).
7221 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
7223 * net/tramp.el (tramp-debug-message):
7224 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
7225 (with-tramp-progress-reporter): Rename from
7226 `tramp-with-progress-reporter'.
7227 (with-tramp-file-property, with-tramp-connection-property):
7228 Move from tramp-cache.el, rename from `with-file-property' and
7229 `with-connection-property', respectively.
7231 * net/tramp-cache.el: Remove `with-file-property' and
7232 `with-connection-property'.
7235 * net/tramp-gvfs.el:
7237 * net/tramp-smb.el: Adapt callees.
7239 * net/trampver.el: Update release number.
7241 2012-10-09 Glenn Morris <rgm@gnu.org>
7243 * w32-fns.el (set-message-beep):
7244 * term/w32-win.el (set-message-beep): Update declarations.
7246 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7248 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
7249 (mode-line-widen, mode-line-input-method-map)
7250 (mode-line-coding-system-map, mode-line-remote)
7251 (mode-line-unbury-buffer, mode-line-bury-buffer)
7252 (mode-line-next-buffer, mode-line-previous-buffer):
7253 Replace save-selected-window+select-window => with-selected-window.
7255 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
7256 * progmodes/cc-vars.el (bq-process): Remove, unused.
7258 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
7260 2012-10-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7262 Implemented `backward-up-list'-like navigation.
7263 * progmodes/python.el (python-nav-up-list)
7264 (python-nav-backward-up-list): New functions.
7265 (python-mode-map): Define substitute key for backward-up-list to
7266 python-nav-backward-up-list.
7268 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7270 * progmodes/python.el (python-fill-paragraph): Rename from
7271 python-fill-paragraph-function. Fixed fill-paragraph for
7272 decorators (Bug#12605).
7274 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7276 * progmodes/python.el (python-shell-output-filter): Handle extra
7277 carriage return in OSX (Bug#12409).
7279 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7281 Fix shell handling of unbalanced quotes and parens in output.
7282 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
7283 (python-syntax-propertize-function): Use it.
7284 (python-shell-output-syntax-table): New var.
7285 (inferior-python-mode): Prevent unbalanced parens/quotes from
7286 previous output mess with current input context.
7288 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
7290 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
7291 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
7293 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
7295 * ffap.el (ffap-replace-file-component): Support Tramp file name
7296 syntax, not only ange-ftp's one.
7298 2012-10-08 Glenn Morris <rgm@gnu.org>
7300 * cus-start.el (message-log-max): Set :version.
7302 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
7304 2012-10-08 Martin Rudalics <rudalics@gmx.at>
7306 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
7307 the minibuffer window (Bug#10851).
7309 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7311 Enhancements on forward-sexp movement.
7312 * progmodes/python.el (python-nav-beginning-of-statement)
7313 (python-nav-end-of-statement): Return point-marker.
7314 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
7315 (python-info-current-symbol)
7316 (python-info-statement-starts-block-p): Rename from
7317 python-info-beginning-of-block-p.
7318 (python-info-statement-ends-block-p): Rename from
7319 python-info-end-of-block-p.
7320 (python-info-beginning-of-statement-p)
7321 (python-info-end-of-statement-p)
7322 (python-info-beginning-of-block-p, python-info-end-of-block-p):
7325 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7327 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
7328 frame-selected-windows.
7330 2012-10-08 Daniel Colascione <dancol@dancol.org>
7332 * battery.el (battery-status-function): Check for
7333 w32-battery-status itself, not system-time windows-nt.
7335 * frame.el: Require cl-lib.
7336 (display-format-alist): New variable mapping frame types to
7337 functions that initialize them.
7338 (window-system-for-display): New function: interprets
7339 display-format-alist.
7340 (make-frame-on-display): Remove existing display-selection logic
7341 and just forward to make-frame, which will now DTRT.
7342 (make-frame): Restructure to use window-system-for-display to
7343 figure out how to create a frame on a given display.
7344 (display-mouse-p): Look for frame-type w32, not a particular
7347 * loadup.el: Load w32 lisp code when we have the w32 feature.
7349 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
7350 system-type windows-nt.
7352 * server.el (server-create-window-system-frame): Look for window
7354 (server-proces-filter): Only force a window system when windows-nt
7355 _and_ w32. Explain why.
7357 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
7358 of window systems we configure for the mode.
7360 * startup.el (command-line): Mark window system is initialized
7361 after we've done it.
7363 * common-win.el (x-select-text): Look for w32, not windows-nt.
7365 * ns-win.el: Require cl-lib. Add ourselves to
7366 display-format-alist.
7367 (ns-initialize-window-system): Assert we're not initialized twice.
7369 * w32-win.el: Enable lexical binding; require cl-lib; add
7370 ourselves to display-format-alist.
7371 (w32-handle-dropped-file): Convert incoming dropped files from
7372 Windows paths to Cygwin ones before passing them on to the rest of
7374 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
7375 (w32-initialize-window-system): Assert we're not initialized twice.
7377 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
7378 (x-initialize-window-system): Assert we're not initialized twice.
7380 * w32-common-fns.el: New File.
7381 (w32-version, w32-using-nt, w32-get-clipboard-data)
7382 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7383 (w32-charset-info-alist, x-last-selected, text)
7384 (x-get-selection-value, x-selection-value): Move here.
7386 * w32-fns.el: Require w32-common-fns.
7387 (w32-version, w32-using-nt, w32-get-clipboard-data)
7388 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7389 (w32-charset-info-alist, x-last-selected, text)
7390 (x-get-selection-value, x-selection-value): Move to
7394 (w32-allow-system-shell, w32-system-shells): Define only in
7397 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7399 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
7400 (read-passwd): Remove a few more potential sources of leaks.
7402 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7404 * progmodes/python.el (inferior-python-mode)
7405 (python-shell-make-comint): Fix initialization of local
7406 variables copied from parent buffer.
7408 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
7410 * term/ns-win.el (ns-read-file-name): Update declaration to match
7412 (ns-respond-to-change-font): Change fontsize separately so we are sure
7413 it is set when font is acted upon.
7415 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7417 Enhancements to indentation.
7418 * progmodes/python.el (python-indent-context): Give priority to
7419 inside-string context. Make comments indentation markers.
7420 (python-indent-region): Do not mess with strings, unless it's the
7421 enclosing set of quotes.
7423 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7425 * window.el (internal--before-save-selected-window)
7426 (internal--after-save-selected-window): New functions extracted from
7427 save-selected-window. Make sure we return the `alist' we construct.
7428 (save-selected-window): Use them.
7430 * textmodes/tex-mode.el (tex-recenter-output-buffer):
7431 Use with-selected-window.
7433 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
7434 forms that define macros (bug#12593).
7436 2012-10-07 Kenichi Handa <handa@gnu.org>
7438 * international/mule-conf.el (compound-text-with-extensions):
7439 Add :mime-charset property as x-ctext.
7441 2012-10-07 Stefan Merten <smerten@oekonux.de>
7443 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7444 (rst-indent-literal-normal, rst-indent-literal-minimized)
7445 (rst-indent-comment): Correct :version tag.
7446 (rst-official-cvs-rev): Correct version string.
7448 2012-10-07 Glenn Morris <rgm@gnu.org>
7450 * mail/rmailmm.el (rmail-mime-process-multipart):
7451 Do not confuse a multipart message with an epilogue
7452 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
7454 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7456 Fix shell output retrieval and comint-prompt-regexp init.
7457 * progmodes/python.el (inferior-python-mode):
7458 (python-shell-make-comint): Fix initialization of
7459 comint-prompt-regexp from copied file local variables.
7460 (python-shell-fetched-lines): Remove var.
7461 (python-shell-output-filter-in-progress): Rename from
7462 python-shell-fetch-lines-in-progress.
7463 (python-shell-output-filter-buffer): Rename from
7464 python-shell-fetch-lines-string.
7465 (python-shell-fetch-lines-filter): Delete function.
7466 (python-shell-output-filter): New function.
7467 (python-shell-send-string-no-output): Use them.
7469 2012-10-07 Glenn Morris <rgm@gnu.org>
7471 * hi-lock.el (hi-lock-process-phrase):
7472 Try to make it less fragile. (Bug#7161)
7474 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
7476 2012-10-06 Glenn Morris <rgm@gnu.org>
7478 * ehelp.el (electric-help-mode): Use help-mode rather than
7479 non-existent mode `help'.
7480 (electric-help-map): Use button-buffer-map. (Bug#10917)
7482 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
7483 (reftex-create-bibtex-footer): Fix custom types.
7485 * progmodes/sh-script.el (sh-indent-after-continuation):
7486 Add explicit :group.
7488 * textmodes/rst.el (rst-preferred-decorations)
7489 (rst-shift-basic-offset): Clarify obsolescence versions.
7491 * profiler.el (profiler): Add missing group :version tag.
7492 * avoid.el (mouse-avoidance-banish-position):
7493 * proced.el (proced-renice-command):
7494 * calc/calc.el (calc-ensure-consistent-units):
7495 * calendar/icalendar.el (icalendar-import-format-uid):
7496 * net/tramp.el (tramp-save-ad-hoc-proxies):
7497 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7498 * progmodes/flymake.el (flymake-error-bitmap)
7499 (flymake-warning-bitmap, flymake-fringe-indicator-position):
7500 * progmodes/sh-script.el (sh-indent-after-continuation):
7501 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
7502 (verilog-before-save-font-hook, verilog-after-save-font-hook):
7503 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
7504 (vhdl-array-index-record-field-in-sensitivity-list)
7505 (vhdl-indent-comment-like-next-code-line):
7506 * textmodes/reftex-vars.el (reftex-ref-style-alist)
7507 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
7508 (reftex-cite-key-separator, reftex-create-bibtex-header)
7509 (reftex-create-bibtex-footer):
7510 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7511 (rst-indent-literal-normal, rst-indent-literal-minimized)
7512 (rst-indent-comment): Add missing custom :version tags.
7514 * calendar/timeclock.el (timeclock-modeline-display):
7515 Add missing obsolete alias for renamed user option.
7517 * strokes.el (strokes-modeline-string):
7518 * emulation/crisp.el (crisp-mode-modeline-string):
7519 * eshell/esh-mode.el (eshell-status-in-modeline):
7520 Aliases to defcustoms must come before the defcustom.
7522 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
7523 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7524 (cal-tex-cursor-week-monday): Doc fixes.
7525 (cal-tex-cursor-week2-summary): Doc fix.
7526 Rename from cal-tex-cursor-week-at-a-glance.
7528 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
7529 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
7531 * calendar/calendar.el (calendar-mode-map):
7532 Add cal-tex-cursor-week2-summary.
7534 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
7536 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
7538 * subr.el (read-passwd-map): New var.
7539 (read-passwd): Use `read-string' again.
7540 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
7542 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
7544 * register.el (append-to-register, prepend-to-register):
7545 Deactivate mark, as does `copy-to-register' (bug#12389).
7547 2012-10-06 Chong Yidong <cyd@gnu.org>
7549 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
7551 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
7553 * international/characters.el: Fix simple mistake ((car chars) ->
7554 elt), delete duplicated code.
7556 2012-10-06 Glenn Morris <rgm@gnu.org>
7558 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
7560 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
7562 * color.el (color-hsl-to-rgb): Fix incorrect results for
7563 small and large hue values. (Bug#12559)
7565 2012-10-05 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7567 Enhancements to docstring formatting when filling paragraphs.
7568 * progmodes/python.el (python-fill-docstring-style): Rename from
7569 python-fill-string-style. Added new style.
7570 (python-fill-string): Use new style. Better checks for
7573 2012-10-05 Glenn Morris <rgm@gnu.org>
7575 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
7577 * color.el (color-name-to-rgb, color-rgb-to-hex)
7578 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
7579 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
7580 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7581 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
7583 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
7585 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
7587 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
7588 to get the correct size across symlinks.
7590 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
7592 2012-10-04 Juri Linkov <juri@jurta.org>
7594 * replace.el (query-replace-interactive): Declare obsolete.
7595 (query-replace-read-from): Add the last incremental search string
7596 to the list of default values accessible via M-n.
7597 (map-query-replace-regexp): Use `read-regexp'.
7598 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7599 (map-query-replace-regexp, replace-string, replace-regexp):
7600 Fix docstrings to replace mentions of `query-replace-interactive'
7601 with alternatives. (Bug#12526)
7603 2012-10-04 Juri Linkov <juri@jurta.org>
7605 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
7606 (dired-pop-to-buffer): Declare obsolete.
7607 (dired-mark-pop-up): Doc fix.
7609 2012-10-04 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7611 Allow user to set docstring style for fill-paragraph.
7612 * progmodes/python.el
7613 (python-fill-comment-function, python-fill-string-function)
7614 (python-fill-decorator-function, python-fill-paren-function):
7615 Remove :safe for defcustoms.
7616 (python-fill-string-style): New defcustom
7617 (python-fill-paragraph-function): Enhance context detection.
7618 (python-fill-string): Honor python-fill-string-style settings.
7620 2012-10-04 Martin Rudalics <rudalics@gmx.at>
7622 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
7623 after setting its buffer (Bug#10805).
7625 2012-10-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7627 Fix cornercase for string syntax.
7628 * progmodes/python.el (python-syntax-propertize-function):
7629 Simplify and enhance the regexp for unescaped quotes. Now it also
7630 matches quotes in weird situations like the single quote in
7632 (python-syntax-stringify): Simplify num-quotes detecting code.
7634 2012-10-03 Glenn Morris <rgm@gnu.org>
7636 * help-macro.el (three-step-help):
7637 Revert 2012-09-29 change. (Bug#12567)
7639 2012-10-03 Martin Rudalics <rudalics@gmx.at>
7641 * menu-bar.el (kill-this-buffer): Don't do anything when
7642 `menu-frame' is not alive or visible (Bug#8184).
7644 * emacs-lisp/debug.el (debug): When quitting the debugger window
7645 restore current buffer (Bug#12502).
7647 2012-10-02 Chong Yidong <cyd@gnu.org>
7649 * progmodes/hideif.el (hif-lookup, hif-defined):
7650 Handle semantic-c-takeover-hideif.
7652 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
7654 Change sampling interval units from ms to ns.
7655 * profiler.el (profiler-sampling-interval): Change units
7656 from ms to ns, multiplying the default by 1000000 so that
7658 (profiler-report-cpu-line-format): Give enough room for
7659 the maximum counters on 64-bit hosts.
7660 (profiler-report-render-calltree-1): Call them "CPU samples",
7661 not "Time (ms)", since they are not milliseconds now (and
7664 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7666 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
7667 Fix querying BBDB for entries without a last name (Bug#11580).
7669 2012-10-02 Chong Yidong <cyd@gnu.org>
7671 * emacs-lisp/eieio.el: Restore Version header.
7673 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7675 * vc/diff-mode.el (diff--auto-refine-data): New var.
7676 (diff-hunk): Use it to delay refinement.
7677 (diff-mode): Remove overlays when we turn off font-lock.
7679 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
7680 (table-initialize-table-fixed-width-mode)
7681 (table-set-table-fixed-width-mode): Remove functions.
7682 (table-command-list): Move initialization into declaration.
7683 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
7684 (table-with-cache-buffer): Use `declare'.
7685 (table-span-cell): Simplify via CSE.
7686 (table-fixed-width-mode): Use define-minor-mode.
7687 (table-call-interactively, table-funcall, table-apply): Remove.
7688 (table-function): New function, to replace them.
7690 * bookmark.el (bookmark-search-pattern): Remove var.
7691 (bookmark-read-search-input): Remove function.
7692 (bookmark-bmenu-search): Reimplement using a minibuffer.
7694 * faces.el (modeline): Remove obsolete face name.
7696 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
7697 and give a non-nil default value.
7698 (add-change-log-entry): Simplify accordingly.
7700 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
7702 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
7703 (vc-git-log-edit-toggle-amend): New function.
7704 (vc-git-log-edit-toggle-signoff): New function.
7705 (vc-git-log-edit-mode): New major mode.
7706 (vc-git-log-edit-mode-map): Keymap for it.
7707 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
7709 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
7711 (log-edit-toggle-header): New function.
7712 (log-edit-extract-headers): Accept function values in HEADERS alist.
7714 2012-10-01 David Engster <deng@randomsample.de>
7716 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
7717 from symbol property and change message to be more consistent with
7719 (eieio-describe-generic): Add filename for each implementation.
7720 Fix indices for generic and normal methods.
7721 (eieio-method-def, eieio-class-def): New buttons.
7722 (eieio-help-find-method-definition)
7723 (eieio-help-find-class-definition): New functions.
7724 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
7725 class, constructor and method definitions.
7727 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
7728 information in symbol property.
7729 (scoped-class): Remove.
7730 (eieio-slot-name-index, call-next-method): Check if it is bound.
7732 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
7734 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
7735 (eieio-custom-mode): New major mode.
7736 (eieio-customize-object): Use it.
7738 2012-10-01 Eric Ludlam <zappo@gnu.org>
7740 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
7741 specifying the expected class, and whether subclassing is allowed.
7742 (eieio-persistent-convert-list-to-object):
7743 (eieio-persistent-validate/fix-slot-value)
7744 (eieio-persistent-slot-type-is-class-p): New functions.
7745 (eieio-named::slot-missing): Doc fix.
7747 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
7748 Stop using unused publd variable.
7750 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7751 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
7752 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
7753 (eieio-speedbar-handle-click): Do not specify a class for the
7754 method. Fixes method invocation order problems with EDE.
7756 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7758 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
7759 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
7761 2012-10-01 Karl Fogel <kfogel@red-bean.com>
7763 * bookmark.el (bookmark-version-control): Give tags in the
7764 :type choices (Bug#12309), and improve doc string.
7765 (bookmark-write-file): Bind `print-circle' to `t' to allow
7766 circular custom bookmark types. (Bug#12503)
7768 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
7770 Revert the FOLLOW-SYMLINKS change for file-attributes.
7771 * files.el (remote-file-name-inhibit-cache, after-find-file):
7772 * time.el (display-time-file-nonempty-p): Undo last change.
7774 * profiler.el (profiler-sampling-interval): Change default back to 1.
7775 See Stefan Monnier in
7776 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
7778 2012-10-01 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7780 Shell output catching a la gud-gdb.
7781 * progmodes/python.el (python-shell-fetch-lines-in-progress)
7782 (python-shell-fetch-lines-string, python-shell-fetched-lines):
7784 (python-shell-fetch-lines-filter): New function.
7785 (python-shell-send-string-no-output): Use them.
7787 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
7789 * profiler.el (profiler-sampling-interval): Rename from
7790 profiler-sample-interval.
7791 (profiler-sampling-interval): Default to 10.
7792 (profiler-find-profile): New command (was profiler-find-log).
7793 (profiler-find-profile-other-window): New command.
7794 (profiler-find-profile-other-frame): New command.
7795 (profiler-profile): Introduce API-level data structure.
7797 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
7799 file-attributes has a new optional arg FOLLOW-SYMLINKS.
7800 * files.el (remote-file-name-inhibit-cache):
7801 * time.el (display-time-file-nonempty-p): Use it.
7802 * files.el (after-find-file): Don't chase links before calling
7803 file-exists-p, as file-exists-p already does the right thing.
7805 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
7807 Merge from standalone RefTeX repository.
7809 The following ChangeLog entries are shortened versions of the
7810 original ones with file paths adapted. A not so strongly edited
7811 version of the original ChangeLog can be found in the commit log.
7813 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
7814 (reftex-arg-cite): Use `reftex-cite-key-separator'.
7815 Correctly handle new value type returned by `reftex-citation'.
7817 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
7818 that entries with whitespace at various places are found.
7819 Doc fix. Include entries that are cross-referenced from cited entries.
7820 Include @String definitions in the resulting bib file. Add header
7821 and footer defined in `reftex-create-bibtex-header' and
7822 `reftex-create-bibtex-footer'.
7823 (reftex-do-citation): Make it possible again to insert
7824 non-existent entries. Save match data when asking for optional
7825 arguments. Return all keys, not just the first one.
7826 (reftex-all-used-citation-keys): Fix regexp to correctly extract
7827 all citations in the same line.
7828 (reftex-parse-bibtex-entry): Accept additional optional argument
7829 `raw' and keep quotes or braces if it is non-nil. Match fields
7830 containing hyphens besides word constituents.
7831 (reftex-get-string-refs): New function.
7832 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
7833 and ask if it should be reread in case it did.
7834 (reftex-pop-to-bibtex-entry)
7835 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
7836 entries with spaces or tabs in front of arguments.
7837 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7838 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
7839 Match entries containing numbers and symbol constituents.
7840 (reftex-do-citation, reftex-figure-out-cite-format):
7841 Use `reftex-cite-key-separator'.
7843 * textmodes/reftex-dcr.el: Move provide statement to end of file.
7844 (reftex-mouse-view-crossref): Explain why point is set.
7846 * textmodes/reftex-global.el: Whitespace changes.
7848 * textmodes/reftex-index.el: Move provide statement to end of
7850 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
7851 (reftex-index-visit-phrases-buffer): Set marker when visiting
7852 buffer. This allows for returning from the phrases file to the
7853 file one was just editing instead of the file where the last
7854 phrases was added from.
7855 (reftex-index-phrases-syntax-table): New variable. Give ?\"
7856 punctuation syntax as it usually is not used as string quote in
7857 TeX-related modes and may occur unmatched. The change also
7858 prevents fontification of quoted content.
7859 (reftex-index-phrases-mode): Use it.
7861 * textmodes/reftex-parse.el (reftex-parse-from-file):
7862 Move backward one char if a `\' was matched after a section macro.
7863 (reftex-parse-from-file): Use beginning of match instead of end as
7866 * textmodes/reftex-ref.el: Adapt creation of
7867 `reftex-<package>-<macro>' functions to new structure of
7868 `reftex-ref-style-alist'.
7869 (reftex-reference): Use `reftex-ref-style-list' function.
7870 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
7871 reference macro if `reftex-ref-macro-prompt' is non-nil.
7872 (reftex-reference): Pass refstyle to `reftex-format-special'.
7873 Determine reference macro by looking at
7874 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
7875 Use only one special format function.
7876 (reftex-varioref-vref, reftex-fancyref-fref)
7877 (reftex-fancyref-Fref): Remove definitions. The functions are now
7878 generated from `reftex-ref-style-alist'.
7879 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
7881 (reftex-format-special): New function.
7883 * textmodes/reftex-sel.el
7884 (reftex-select-cycle-ref-style-internal): Adapt to new structure
7885 of `reftex-ref-style-alist'. Remove code for testing macro type.
7886 (reftex-select-toggle-varioref)
7887 (reftex-select-toggle-fancyref): Remove.
7888 (reftex-select-cycle-ref-style-internal)
7889 (reftex-select-cycle-ref-style-forward)
7890 (reftex-select-cycle-ref-style-backward): New functions.
7891 (reftex-select-label-map): Use `v' and `V' for general cycling
7892 through reference styles. Add `p' for switching between number
7893 and page reference types.
7895 * textmodes/reftex-toc.el (reftex-re-enlarge):
7896 Call `enlarge-window' only if there is something to do because in Emacs
7897 the horizontal version throws an error even if the parameter is 0.
7899 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
7900 (reftex-plug-into-AUCTeX): Doc fix.
7901 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
7902 string. Adapt to new name.
7903 (reftex-ref-style-alist): Change structure so that it is not
7904 possible to use multiple different package names within a style.
7905 Remove the symbols for symbols for macro type distinction.
7906 Add characters for macro selection.
7907 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
7908 (reftex-create-bibtex-footer): New variables.
7909 (reftex-format-ref-function): Mention third argument of special
7911 (reftex-ref-style-alist, reftex-ref-style-default-list):
7913 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
7914 to new implementation. Mark as obsolete. Add compatibility code
7915 for honoring the variable values in case they are set.
7916 (reftex-cite-format-builtin, reftex-bibliography-commands):
7917 Add support for ConTeXt.
7918 (reftex-format-ref-function, reftex-format-cite-function):
7920 (reftex-cite-key-separator): New variable.
7922 * textmodes/reftex.el (reftex-syntax-table-for-bib)
7923 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
7924 `reftex-syntax-table' because parens have to retain their paren
7925 syntax in order for parsing of BibTeX entries like @book(...) to
7927 (reftex-in-comment): Do not error out if `comment-start-skip' is
7928 not set. Deal correctly with escaped comment characters.
7929 (reftex-tie-multifile-symbols): Add doc string.
7930 Initialize `reftex-ref-style-list'.
7931 (reftex-untie-multifile-symbols): Add doc string.
7932 (reftex-add-index-macros): Doc fix.
7933 (reftex-ref-style-activate, reftex-ref-style-toggle)
7934 (reftex-ref-style-list): New functions.
7935 (reftex-mode-menu): Use them. Adapt to new structure of
7936 `reftex-ref-style-alist'.
7937 (reftex-select-with-char): Kill the RefTeX Select buffer when
7939 (reftex-remove-if): New function.
7940 (reftex-erase-all-selection-and-index-buffers)
7941 (reftex-mode-menu): Reference styles are now computed from
7942 `reftex-ref-style-alist'. Fix typo.
7943 (reftex-report-bug): New function.
7944 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
7945 algorithms with O(n log n). Introduce optional argument SORT (not
7948 2012-09-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7950 Enhancements for triple-quote string syntax.
7951 * progmodes/python.el (python-syntax-propertize-function):
7952 Match both quote cases in one regexp.
7953 (python-syntax-stringify): Handle matches properly.
7955 2012-09-30 Juri Linkov <juri@jurta.org>
7957 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
7958 to nil around the call to `insert' to prevent
7959 directory time modification by lock_file. (Bug#2295)
7960 * tar-mode.el (tar-summarize-buffer): Idem.
7962 2012-09-30 Juri Linkov <juri@jurta.org>
7964 * facemenu.el (list-colors-sort): Add option "Luminance".
7965 (list-colors-sort-key): Implement it.
7967 * vc/diff-mode.el (diff-refine-removed):
7968 * vc/ediff-init.el (ediff-fine-diff-A):
7969 * vc/smerge-mode.el (smerge-refined-removed):
7970 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
7972 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
7974 * term/ns-win.el (x-file-dialog): New function.
7976 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
7978 * ido.el (ido-max-directory-size): Default to nil; the current
7979 default is small for POSIX systems, and impractical on Windows 7
7980 now that lstat returns directory sizes for NTFS.
7982 2012-09-30 Martin Rudalics <rudalics@gmx.at>
7984 In buffer display functions handle window-height/window-width
7985 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
7986 * window.el (window--display-buffer): New argument ALIST.
7987 Obey window-height and window-width alist entries.
7988 (window--try-to-split-window): New argument ALIST.
7989 Bind window-combination-limit to t when the window's size shall be
7990 changed and window-combination-limit equals `window-size'.
7991 (display-buffer-in-atom-window)
7992 (display-buffer-in-major-side-window)
7993 (display-buffer-in-side-window, display-buffer-same-window)
7994 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7995 (display-buffer-pop-up-window, display-buffer-below-selected)
7996 (display-buffer-at-bottom, display-buffer-in-previous-window)
7997 (display-buffer-use-some-window): Adjust all callers of
7998 window--display-buffer and window--try-to-split-window.
7999 (fit-frame-to-buffer): New option.
8000 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
8002 (display-buffer-in-major-side-window): Evaluate window-height /
8003 window-width alist entries.
8005 * help.el (temp-buffer-resize-frames)
8006 (temp-buffer-resize-regexps): Remove options.
8007 (temp-buffer-resize-mode): Adjust doc-string.
8008 (resize-temp-buffer-window): Don't consult
8009 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
8010 temp-buffer-resize-frames.
8012 * dired.el (dired-mark-pop-up):
8013 Call display-buffer-below-selected with a fit-window-to-buffer alist
8016 2012-09-30 Chong Yidong <cyd@gnu.org>
8018 * server.el (server-host): Document the security implications.
8019 (server-auth-key): Doc fix.
8021 * startup.el (initial-buffer-choice): Doc fix.
8023 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
8025 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
8028 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
8030 * help-fns.el (help-fns--obsolete): Fix last change.
8032 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
8034 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
8035 (minor-mode-map-alist): Remove redundant code.
8037 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
8038 visited in a buffer.
8039 (cvs-insert-visited-file): New function.
8040 (find-file-hook): Use it.
8042 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
8044 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
8046 (log-edit-empty-buffer-p): Don't require a space after a header.
8048 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
8050 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
8052 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
8053 a proper minor-mode.
8055 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
8057 2012-09-29 Glenn Morris <rgm@gnu.org>
8059 * winner.el (winner-mode): Remove variable (let define-minor-mode
8061 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
8063 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
8064 (winner-mode): Use define-minor-mode.
8066 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
8067 the full definition in loaddefs, rather than duplicating it.
8069 * help-macro.el (three-step-help): No need to autoload defcustom.
8071 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
8072 (inferior-lisp-program, inferior-lisp-load-command)
8073 (inferior-lisp-prompt, inferior-lisp-mode-hook):
8074 No need to autoload defcustoms.
8076 * hippie-exp.el (hippie-expand-try-functions-list)
8077 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
8078 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
8079 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
8080 (hippie-expand-only-buffers): No need to autoload defcustoms.
8081 * progmodes/vhdl-mode.el (vhdl-line-expand):
8082 Explicitly load hippie-exp, so it does not get autoloaded
8083 while hippie-expand-try-functions-list is let-bound.
8085 2012-09-28 Glenn Morris <rgm@gnu.org>
8087 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
8089 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
8090 Only "cl.el" counts as cl these days.
8092 2012-09-28 Juri Linkov <juri@jurta.org>
8094 Display archive errors in the echo area instead of inserting
8097 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
8098 to STDERR-TEST that can be a regexp matching a successful output.
8099 Create a temporary file and redirect stderr to it. Search for
8100 STDERR-TEST in the stderr output and display it in the echo area
8101 if no match is found.
8102 (archive-extract-by-file): New function like
8103 `archive-extract-by-stdout' but extracting archives to files
8104 and looking for successful matches in stdout. Function body is
8105 mostly copied from `archive-rar-extract'.
8106 (archive-rar-extract): Use `archive-extract-by-file'.
8107 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
8109 2012-09-28 Leo Liu <sdl.web@gmail.com>
8111 * pcomplete.el (pcomplete-show-completions):
8112 Use minibuffer-message to make pcomplete usable in minibuffer.
8114 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
8116 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8118 * type-break.el: Use lexical-binding.
8119 (type-break-mode): Use define-minor-mode.
8121 * emacs-lisp/pcase.el (pcase--mark-used): New.
8122 (pcase--u1): Use it (bug#12512).
8124 * custom.el (load-theme): Set buffer-file-name so the load is recorded
8125 in load-history with the right file name.
8127 2012-09-28 Tassilo Horn <tsdh@gnu.org>
8129 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
8130 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
8131 (doc-view-get-bounding-box): Make bounding box slicing work for
8132 ODF and DVI documents.
8134 2012-09-28 Glenn Morris <rgm@gnu.org>
8136 * type-break.el (type-break-mode, type-break-interval)
8137 (type-break-good-rest-interval, type-break-keystroke-threshold):
8138 No need to autoload.
8139 (type-break-good-rest-interval, type-break-keystroke-threshold):
8142 2012-09-28 Chong Yidong <cyd@gnu.org>
8144 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
8147 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8149 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
8151 2012-09-27 Glenn Morris <rgm@gnu.org>
8153 * faces.el (x-display-name): Declare (for without-x builds).
8155 * linum.el (linum-format): Don't autoload it. Improve :type.
8157 * progmodes/tcl.el: Don't require outline when compiling.
8158 (outline-regexp, outline-level): Declare.
8159 * textmodes/sgml-mode.el: Don't require outline when compiling.
8160 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
8162 * term.el (term-ansi-reset):
8163 Try setting term-ansi-face-already-done to nil. (Bug#11785)
8165 * vc/vc.el (vc-next-action): Only gripe about committing read-only
8166 files for RCS and SCCS. (Bug#9781)
8168 2012-09-27 Chong Yidong <cyd@gnu.org>
8170 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
8171 change; value should be t.
8173 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8175 * image-mode.el: Use lexical-binding.
8176 (image-mode-winprops): Use t to stand for the window of
8177 a buffer that's not displayed.
8178 * doc-view.el (doc-view-new-window-function): Handle the new
8180 (doc-view-enlarge): Make it a real nop if the size is not changed.
8181 (doc-view-display): Handle the case where the buffer is not (yet?)
8182 displayed in any window.
8183 (doc-view-saved-settings): New var.
8184 (doc-view-mode): Use it.
8185 (doc-view-fallback-mode): Set it.
8187 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
8188 Set lexical-binding.
8189 (minibuffer-eldef-shorten-default): New var.
8190 (minibuffer-default-in-prompt-regexps): Use it for new default.
8191 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
8193 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8195 * international/uni-bidi.el:
8196 * international/uni-category.el:
8197 * international/uni-name.el:
8198 * international/uni-numeric.el: Regenerate.
8200 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
8201 Stefan Monnier <monnier@iro.umontreal.ca>
8203 * profiler.el: New file.
8205 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
8207 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
8208 (testcover-reinstrument): Simplify with CSE.
8210 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8212 * window.el (temp-buffer-window-setup): Fix typo in docstring.
8214 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
8216 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
8217 (verilog-auto-input, verilog-auto-insert-lisp)
8218 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
8219 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
8220 (verilog-auto-unused, verilog-auto-wire)
8221 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
8222 newline. Reported by Andrew Jones.
8223 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
8224 Reported by Brad Dobbie.
8225 (verilog-batch-delete-trailing-whitespace):
8226 Create verilog-batch-delete-trailing-whitespace.
8227 Reported by Brad Dobbie.
8228 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
8229 parameters from another module. Reported by Dan Katz.
8230 (verilog-auto, verilog-auto-assign-modport)
8231 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
8232 AUTOINOUTMODPORT for UVM interface module shell generation.
8233 Reported by Brad Dobbie.
8234 (verilog-auto-inst-interfaced-ports): Make default nil, as more
8236 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
8237 Reported by Matt Martin.
8239 2012-09-25 Martin Rudalics <rudalics@gmx.at>
8241 * window.el (window--resize-child-windows): When resizing child
8242 windows proportionally, process them in reverse order to
8243 preserve the "when splitting a window the new one gets the odd
8245 (window--resize-root-window-vertically): When resizing the
8246 minibuffer window try to affect only windows at the bottom of the
8249 2012-09-25 Chong Yidong <cyd@gnu.org>
8251 * subr.el (declare): Doc fix.
8253 * help-fns.el (help-fns--obsolete): Handle macros properly.
8255 2012-09-25 Chong Yidong <cyd@gnu.org>
8257 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
8258 this function obsolete.
8260 * calendar/cal-x.el (calendar-two-frame-setup)
8261 (calendar-only-one-frame-setup, calendar-one-frame-setup):
8262 * calendar/calendar.el (american-calendar, european-calendar)
8263 (calendar-for-loop):
8264 * comint.el (comint-dynamic-simple-complete)
8265 (comint-dynamic-complete-as-filename, comint-unquote-filename):
8266 * desktop.el (desktop-load-default):
8267 * dired-x.el (dired-omit-here-always)
8268 (dired-hack-local-variables, dired-default-directory):
8269 * emacs-lisp/derived.el (derived-mode-class):
8270 * emacs-lisp/timer.el (timer-set-time-with-usecs):
8271 * emacs-lock.el (toggle-emacs-lock):
8272 * epa.el (epa-display-verify-result):
8273 * epg.el (epg-sign-keys, epg-start-sign-keys)
8274 (epg-passphrase-callback-function):
8275 * eshell/esh-util.el (eshell-for):
8276 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
8277 (eshell-add-to-window-buffer-names):
8278 * files.el (locate-file-completion):
8279 * imenu.el (imenu-example--create-c-index)
8280 (imenu-example--create-lisp-index)
8281 (imenu-example--lisp-extract-index-name)
8282 (imenu-example--name-and-position):
8283 * international/mule-cmds.el (princ-list):
8284 * international/mule-diag.el (decode-codepage-char):
8285 * international/mule-util.el (detect-coding-with-priority):
8286 * iswitchb.el (iswitchb-read-buffer):
8287 * mail/mailalias.el (mail-complete):
8288 * mail/sendmail.el (mail-sent-via):
8289 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
8290 (mouse-major-mode-menu):
8291 * password-cache.el (password-read-and-add):
8292 * pcomplete.el (pcomplete-parse-comint-arguments):
8293 * progmodes/sh-script.el (sh-maybe-here-document):
8294 * replace.el (query-replace-regexp-eval):
8295 * savehist.el (savehist-load):
8296 * simple.el (choose-completion-delete-max-match):
8297 * term.el (term-dynamic-simple-complete):
8298 * vc/ediff-init.el (ediff-check-version):
8299 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
8300 * vc/vc.el (vc-diff-switches-list):
8301 * view.el (view-return-to-alist-update): Likewise.
8303 * subr.el (eval-next-after-load, makehash, insert-string)
8304 (assoc-ignore-representation, assoc-ignore-case): Use declare to
8306 (mode-line-inverse-video): Variable deleted.
8308 * international/mule-util.el (string-to-sequence): Remove.
8310 * calendar/calendar.el (calendar-version):
8311 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
8312 (icalendar-convert-diary-to-ical):
8313 * cus-edit.el (custom-mode):
8314 * ansi-color.el (ansi-color-unfontify-region):
8315 * international/latin1-disp.el (latin1-char-displayable-p):
8316 * progmodes/cwarn.el (turn-on-cwarn-mode):
8317 * progmodes/which-func.el (which-func-update-1):
8318 Use define-obsolete-function-alias.
8320 * net/newst-backend.el (newsticker-cache-filename):
8321 * net/newst-treeview.el (newsticker-groups-filename):
8322 Fix incorrect obsolescence declaration.
8324 * allout.el (allout-passphrase-hint-string): Likewise.
8325 (allout-init): Use a declare form to mark obsolete.
8327 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
8328 this applies to functions.
8330 * iswitchb.el (iswitchb-read-buffer): Move code of
8331 iswitchb-define-mode-map here, and delete that obsolete function.
8333 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
8334 font-lock-reference-face.
8336 2012-09-25 Glenn Morris <rgm@gnu.org>
8338 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
8341 * eshell/em-term.el (eshell-term-name):
8342 Default to term-term-name. (Bug#12485)
8344 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8346 * progmodes/python.el (python-shell-send-buffer): Better handling
8347 of "if __name__ == '__main__':" conditionals when sending the buffer.
8349 2012-09-24 Glenn Morris <rgm@gnu.org>
8351 * eshell/esh-cmd.el (eshell-find-alias-function):
8352 Tighten up file-name regexp. (Bug#12499)
8354 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8356 Enhancements for triple-quote string syntax.
8357 * progmodes/python.el (python-quote-syntax): Remove.
8358 (python-syntax-propertize-function): New value.
8359 (python-syntax-count-quotes, python-syntax-stringify):
8362 2012-09-24 Chong Yidong <cyd@gnu.org>
8364 * mail/supercite.el (sc-version): Remove obsolete function.
8365 (sc-describe): Don't mark as obsolete, since it is bound.
8366 (sc-submit-bug-report): Remove.
8368 * vc/log-edit.el (cvs-changelog-full-paragraphs)
8369 (cvs-commit-buffer-require-final-newline): Remove.
8370 (log-edit-require-final-newline)
8371 (log-edit-changelog-full-paragraphs): Default to t.
8373 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
8374 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
8375 * vc/vc.el (vc-checkout-carefully): Likewise.
8377 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
8378 (emerge-version): Remove.
8380 * progmodes/compile.el (compile-internal): Remove.
8381 (compilation-parse-errors-function): Fix typo.
8383 * international/mule.el (set-char-table-default): Remove.
8384 (set-coding-priority, make-coding-system, generic-char-p)
8385 (charset-list, charset-bytes, charset-id): Use declare to mark
8386 functions as obsolete.
8388 * vc/pcvs-defs.el (cvs-buffer-name-alist)
8389 (cvs-invert-ignore-marks): Remove references to obsolete vars.
8390 * vc/vc-hooks.el (vc-default-registered): Don't use
8391 vc-master-templates.
8393 * font-lock.el (font-lock-reference-face):
8394 Use define-obsolete-variable-alias.
8396 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
8397 * calendar/calendar.el (calendar-font-lock-keywords):
8398 * calendar/diary-lib.el (diary-font-lock-keywords)
8399 (diary-fancy-font-lock-keywords):
8400 * textmodes/reftex-sel.el (reftex-insert-docstruct):
8401 * textmodes/reftex-index.el (reftex-insert-index):
8402 * textmodes/reftex-cite.el (reftex-format-bib-entry):
8403 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8404 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
8405 * progmodes/prolog.el (prolog-font-lock-keywords):
8406 * progmodes/idlwave.el (idlwave-idl-keywords):
8407 * progmodes/ada-mode.el (ada-font-lock-keywords):
8408 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
8410 2012-09-24 Glenn Morris <rgm@gnu.org>
8412 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
8414 2012-09-23 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8416 * progmodes/python.el (python-indent-line): More consistent cursor
8419 2012-09-23 Stefan Merten <smerten@oekonux.de>
8421 * textmodes/rst.el: Fix compiler warning.
8423 2012-09-23 Roland Winkler <winkler@gnu.org>
8425 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
8426 Transcribe also LaTeX hyphenation.
8427 (bibtex-reformat): Bug fix. Do not quote twice the elements of
8428 bibtex-reformat-previous-options.
8430 2012-09-23 Roland Winkler <winkler@gnu.org>
8432 * proced.el (proced-renice-command): New variable.
8433 (proced-marked-processes): New function.
8434 (proced-with-processes-buffer): New macro.
8435 (proced-send-signal): Use them.
8436 (proced-renice): New command bound to r.
8438 2012-09-23 Roland Winkler <winkler@gnu.org>
8440 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
8441 ibuffer-saved-filter-groups has one element, shortcut the call of
8442 completing-read. (Bug#12331)
8444 2012-09-23 Chong Yidong <cyd@gnu.org>
8446 * bindings.el (mode-line-toggle-read-only):
8447 * bs.el (bs-toggle-readonly):
8448 * buff-menu.el (Buffer-menu-toggle-read-only):
8449 * dired.el (dired-toggle-read-only):
8450 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
8452 2012-09-23 Chong Yidong <cyd@gnu.org>
8454 * image.el (image-type-available-p): Adapt to init-image-library
8457 2012-09-22 Juri Linkov <juri@jurta.org>
8459 * dired.el (dired-mode-map): Add [remap read-only-mode] for
8460 `dired-toggle-read-only'. (Bug#12462)
8462 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8464 * subr.el (temp-output-buffer-show): New function.
8465 (with-output-to-temp-buffer): Call temp-output-buffer-show
8466 instead of internal-temp-output-buffer-show.
8468 2012-09-22 Chong Yidong <cyd@gnu.org>
8470 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
8473 * repeat.el (repeat): Doc fix (Bug#12348).
8475 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
8478 * simple.el (shell-command-on-region): Doc fix.
8479 (read-only-mode): Doc fix.
8481 2012-09-22 Eli Zaretskii <eliz@gnu.org>
8483 * emacs-lisp/timer.el (run-with-idle-timer)
8484 (timer-activate-when-idle): Warn against reinvoking an idle timer
8485 from within its own timer action. (Bug#12447)
8487 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8489 * cus-start.el (window-combination-limit): Add new optional
8491 * window.el (temp-buffer-window-show)
8492 (window--try-to-split-window): Handle new values of
8493 window-combination-limit (Bug#1806).
8494 (split-window): Test window-combination-limit for t instead of
8496 (display-buffer-at-bottom): New buffer display action function.
8497 * help.el (temp-buffer-resize-regexps): New option.
8498 (temp-buffer-resize-mode): Rewrite doc-string.
8499 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
8500 Don't resize reused window. Suggested by Glenn Morris.
8502 2012-09-22 Stefan Merten <smerten@oekonux.de>
8504 * textmodes/rst.el: Revamp section title faces.
8505 (rst-official-version)
8506 (rst-package-emacs-version-alist): Sync with official version
8508 (rst-faces-defaults, rst-set-level-default)
8509 (rst-level-face-max, rst-level-face-base-color)
8510 (rst-level-face-base-light, rst-level-face-format-light)
8511 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
8512 (rst-adornment-faces-alist): Match new setup.
8513 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
8514 (rst-level-5, rst-level-6): New faces.
8516 2012-09-22 Chong Yidong <cyd@gnu.org>
8518 * simple.el (undo): Handle indirect buffers (Bug#8207).
8520 2012-09-21 Leo Liu <sdl.web@gmail.com>
8522 IDO: Disable match re-ordering for buffer switching.
8523 * ido.el (ido-buffer-disable-smart-matches): New variable.
8524 (ido-set-matches-1): Use it. (Bug#2042)
8526 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
8528 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8529 Fix 2011-05-17 change. (Bug#12418)
8531 2012-09-21 Leo Liu <sdl.web@gmail.com>
8533 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
8535 2012-09-21 Glenn Morris <rgm@gnu.org>
8537 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
8538 Be more robust about locating simple.el.
8540 2012-09-21 Glenn Morris <rgm@gnu.org>
8542 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
8544 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
8546 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
8548 2012-09-20 Juri Linkov <juri@jurta.org>
8550 * replace.el (query-replace-read-from): Use `read-regexp' instead
8551 of `read-from-minibuffer' when `regexp-flag' is non-nil.
8552 (occur-read-primary-args): Use `read-regexp' instead of
8554 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
8555 `read-from-minibuffer'.
8556 * isearch.el (isearch-occur): Use `read-regexp' instead of
8558 * dired.el (dired-read-regexp): Use `read-regexp' instead of
8559 `read-from-minibuffer'.
8560 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
8561 of `read-string'. (Bug#7567)
8563 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
8564 and allow accepting a list of strings prepended to a list of
8565 standard default values. Doc fix. (Bug#12321)
8567 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
8569 * replace.el (read-regexp): Don't add ": " when PROMPT already
8570 ends with a colon and space. (Bug#12321)
8572 2012-09-20 Tassilo Horn <tsdh@gnu.org>
8574 * doc-view.el (doc-view-display): Better fix for the cl-assertion
8577 2012-09-20 Stefan Merten <smerten@oekonux.de>
8579 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
8580 Fixes feature request bug#11711.
8581 (rst-mode): Create `imenu-create-index-function'.
8582 (rst-get-stripped-line): Delete after refactoring.
8583 (rst-section-tree, rst-section-tree-rec)
8584 (rst-section-tree-point): Refactor and document properly.
8585 (rst-imenu-find-adornments-for-position)
8586 (rst-imenu-convert-cell, rst-imenu-create-index):
8589 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8591 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
8592 (macroexp--expand-all): Use it.
8593 (macroexp--funcall-and-return): Remove by folding it into its sole
8594 caller (macroexp--warn-and-return).
8595 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
8596 Use macroexp--obsolete-warning.
8598 * calc/calc.el: Fix last change by removing the whole chunk, since it
8599 was only needed back when Calc was not bundled.
8601 2012-09-20 Martin Rudalics <rudalics@gmx.at>
8603 * emacs-lisp/debug.el (debug): Restore assignment to
8604 debugger-old-buffer removed on 2012-09-08.
8606 2012-09-20 Juri Linkov <juri@jurta.org>
8608 * dired-aux.el (dired-diff): Remove (require 'diff) since
8609 `diff-latest-backup-file' is now autoloaded.
8611 2012-09-20 Chong Yidong <cyd@gnu.org>
8613 * vc/diff.el (diff-latest-backup-file): Autoload.
8615 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8617 * calc/calc.el: Remove redundant autoload shape check.
8618 (sel-mode): Don't defvar.
8619 (calc-get-stack-element): Add `sel-mode' arg instead.
8620 (calc-top, calc-top-list): Pass it this additional argument.
8621 * calc/calc-store.el (calc-store-map):
8622 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
8623 (calc-map-equation, calc-outer-product, calc-inner-product):
8624 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
8626 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
8628 2012-09-19 Juri Linkov <juri@jurta.org>
8630 * dired-aux.el (dired-diff): Add (require 'diff) because
8631 `diff-latest-backup-file' is not autoloaded.
8632 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
8633 of `dired-get-filename' to t to not report error when there is
8634 no default file on the current line.
8636 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8638 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
8639 macroexp--eval-if-compile.
8640 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
8641 (macroexp--expand-all): Use them (bug#12371).
8643 * doc-view.el (doc-view-guess-paper-size)
8644 (doc-view-scale-bounding-box): Fix unbound `caddr'.
8646 2012-09-19 Tassilo Horn <tsdh@gnu.org>
8648 New feature: set optimal slice from BoundingBox information.
8649 * doc-view.el (doc-view-mode-map): Add keybinding.
8650 (doc-view-menu): Add menu entry.
8651 (doc-view-set-slice): Adapt docstring.
8652 (doc-view-get-bounding-box, doc-view-guess-paper-size)
8653 (doc-view-scale-bounding-box)
8654 (doc-view-set-slice-from-bounding-box): New functions.
8655 (doc-view-paper-sizes): New defvar.
8657 2012-09-19 Glenn Morris <rgm@gnu.org>
8659 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
8660 (byte-compile-log-warning): Autoload. (Bug#12371)
8662 * calendar/calendar.el (calendar-american-month-header)
8663 (calendar-european-month-header, calendar-iso-month-header)
8664 (calendar-month-header): New options.
8665 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
8666 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
8668 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
8670 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
8672 2012-09-18 Juri Linkov <juri@jurta.org>
8674 * dired-aux.el (dired-diff): Restore original functionality of
8675 getting the default value, but keep new feature of using the
8676 latest existing backup file (`diff-latest-backup-file').
8678 2012-09-18 Juri Linkov <juri@jurta.org>
8680 * dired.el (dired-mark): If the region is active in Transient Mark
8681 mode, mark all files in the active region. Doc fix.
8682 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
8683 Doc fix. (Bug#10624)
8685 2012-09-18 Juri Linkov <juri@jurta.org>
8687 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
8688 attributes for M-n are pulled from the file at point.
8689 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
8690 Suggested by Drew Adams. (Bug#10624)
8692 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
8694 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
8695 whitespace after "end".
8696 (ruby-do-end-to-brace): Collapse block to one line if it fits
8699 2012-09-18 Martin Rudalics <rudalics@gmx.at>
8701 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
8703 (debug): Don't remove debugger window when debugger is expected
8706 2012-09-18 Chong Yidong <cyd@gnu.org>
8708 * custom.el (defface): Doc fix.
8710 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
8712 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
8714 * progmodes/compile.el (compilation-start): Use compilation-always-kill
8715 to initialize query-on-exit; then test that instead (bug#12288).
8717 2012-09-17 Stefan Merten <smerten@oekonux.de>
8719 * textmodes/rst.el: Add support for `testcover'.
8720 (rst-defcustom-testcover, rst-testcover-add-compose)
8721 (rst-testcover-add-1value): New functions.
8722 (rst-portable-mark-active-p): Replace by `use-region-p'.
8723 (rst-update-section, rst-classify-adornment)
8724 (rst-find-title-line): Mark `1value' forms.
8725 (rst-classify-adornment): Remove superfluous form.
8726 (rst-update-section, rst-get-adornments-around)
8727 (rst-adornment-complete-p, rst-get-next-adornment)
8728 (rst-adjust, rst-promote-region)
8729 (rst-display-adornments-hierarchy, rst-straighten-adornments)
8730 (rst-find-pfx-in-region, rst-section-tree-rec)
8731 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
8732 (rst-toc-node, rst-toc, rst-forward-section)
8733 (rst-iterate-leftmost-paragraphs)
8734 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
8735 (rst-bullet-list-region)
8736 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
8737 (rst-compile-find-conf, rst-compile)
8738 (rst-repeat-last-character): Fix style.
8740 2012-09-17 Chong Yidong <cyd@gnu.org>
8742 * comint.el (comint--complete-file-name-data): Don't add a space
8743 if the status is `sole'; that adds a gratuitous space in the
8744 completion-cycling case (Bug#12092).
8746 * pcomplete.el (pcomplete-completions-at-point): Likewise.
8748 2012-09-17 Richard Stallman <rms@gnu.org>
8750 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
8751 only in the mime-shown mode, not in raw mode.
8752 (rmail-mime): Toggle off mime by displaying the message without
8753 mime processing. (Bug#12305)
8755 * mail/rmail.el (rmail-retry-failure):
8756 Turn off mime processing first. (Bug#12037)
8758 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
8760 2012-09-17 Chong Yidong <cyd@gnu.org>
8762 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
8763 (shell-dynamic-complete-functions): Convert to defcustom.
8764 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
8766 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
8767 * comint.el (comint-prompt-read-only):
8768 * custom.el (defcustom):
8769 * hi-lock.el (hi-lock-mode):
8770 * ibuffer.el (ibuffer-formats):
8771 * ielm.el (ielm-prompt-read-only):
8772 * novice.el (disable-command):
8773 * saveplace.el (toggle-save-place):
8774 * speedbar.el (speedbar-supported-extension-expressions):
8775 * startup.el (auto-save-list-file-prefix, init-file-user)
8776 (after-init-hook, inhibit-startup-echo-area-message):
8777 * strokes.el (strokes-help):
8778 * time-stamp.el (time-stamp):
8779 * calendar/calendar.el (calendar, diary-file):
8780 * calendar/diary-lib.el (diary-mail-entries, diary)
8781 (diary-list-entries-hook):
8782 * calendar/holidays.el (holidays, calendar-holidays):
8783 * calendar/lunar.el (lunar-phases):
8784 * calendar/solar.el (sunrise-sunset):
8785 * emulation/edt.el (edt-load-keys):
8786 * emulation/viper.el (viper-mode):
8787 * eshell/em-alias.el (eshell-command-aliases-list):
8788 * eshell/esh-util.el (eshell-convert-numeric-arguments):
8789 * international/ogonek.el (ogonek-information):
8790 * net/tramp-cmds.el (tramp-bug):
8791 * net/quickurl.el (quickurl-reread-hook-postfix):
8792 * play/decipher.el (decipher-font-lock-keywords):
8793 * progmodes/cc-styles.el (c-set-style):
8794 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
8795 * progmodes/inf-lisp.el (inferior-lisp-prompt):
8796 * progmodes/octave-mod.el (octave-mode):
8797 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
8798 * progmodes/verilog-mode.el (verilog-read-defines):
8799 * textmodes/two-column.el (2C-mode): Likewise.
8801 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
8803 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
8804 that holds many addresses.
8806 2012-09-16 Chong Yidong <cyd@gnu.org>
8808 * align.el (align-areas): Call the indication function with
8809 positions instead of markers for arguments (Bug#12343).
8811 * files.el (parse-colon-path): Use split-string (Bug#12351).
8813 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8814 (display-buffer-function): Mark as obsolete.
8816 * progmodes/compile.el (compilation-parse-errors): Accept list
8817 values similar to font-lock-keywords (Bug#12136).
8818 Suggested by Oleksandr Manzyuk.
8819 (compilation-error-regexp-alist): Doc fix.
8821 2012-09-15 Glenn Morris <rgm@gnu.org>
8823 * version.el (emacs-bzr-version-bzr): New function.
8824 (emacs-bzr-get-version): Add optional EXTERNAL argument.
8826 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
8827 checkouts, check the parent dirstate matches the branch.
8828 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
8831 * version.el (emacs-bzr-version): Doc fix.
8832 (emacs-bzr-version-dirstate): New function.
8833 (emacs-bzr-get-version): For lightweight checkouts, if the parent
8834 is local try and check that it matches the branch. If not, just
8835 use dirstate information. (Bug#12441)
8837 2012-09-14 Juri Linkov <juri@jurta.org>
8839 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
8842 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8844 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
8846 * emacs-lisp/edebug.el: Miscellaneous cleanup.
8847 Remove obsolete byte-compiler hack that tried to silence some warnings.
8848 (edebug-submit-bug-report): Remove.
8849 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
8850 Remove aliases, use the un-prefixed name instead.
8851 (edebug-pop-to-buffer): Consider other frames.
8852 (edebug-original-read):: Make it more obvious that it's always defined.
8853 (edebug--make-form-data-entry, edebug--form-data-name)
8854 (edebug--form-data-begin, edebug--form-data-end): Rename from the
8855 single-dashed name, and implement with cl-defstruct.
8856 (edebug-set-form-data-entry): Use the standard accessors.
8857 (edebug-make-top-form-data-entry): Use push.
8858 (edebug-no-match): Drop useless `funcall'.
8859 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
8861 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
8862 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
8863 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
8864 (easy-menu-define, with-custom-print): Remove redundant specs.
8865 (edebug-outside-overriding-local-map)
8866 (edebug-outside-overriding-terminal-local-map): Remove, unused.
8867 (edebug--display): Bind unread-command-events directly to nil rather
8868 than binding it to unread-command-events and later setting it to nil.
8869 (edebug--display): Kill edebug-eval-buffer here...
8870 (edebug--recursive-edit): ...rather than here.
8871 Bind standard-output and standard-input.
8872 (edebug-eval): Check cl-macroexpand-all is fboundp.
8873 (edebug-temp-display-freq-count): Fix last change.
8875 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
8876 * subr.el (noreturn, 1value): Add `debug' spec.
8877 * emacs-lisp/advice.el: Require cl-lib.
8878 (ad-copy-tree): Remove, use copy-tree instead.
8879 (ad-dolist): Remove use dolist or cl-dolist instead.
8880 (ad-do-return): Remove, use cl-return instead.
8881 (defadvice): Add `debug' spec.
8883 2012-09-13 Juri Linkov <juri@jurta.org>
8885 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
8888 2012-09-13 Glenn Morris <rgm@gnu.org>
8890 * calc/calc.el (math-compose-expr):
8891 * calc/calc-ext.el (math-compose-expr):
8892 * progmodes/cc-defs.el (cl-macroexpand-all):
8893 * progmodes/cc-langs.el (delete-duplicates, mapcan)
8894 (cl-macroexpand-all): Update declarations.
8896 * vc/vc.el: No need to require ediff.
8897 (ediff-load-version-control): Declare.
8898 (ediff-vc-internal): Fix declaration.
8899 (vc-version-ediff): Require ediff.
8901 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8903 Use a more backwards-compatible timer format (Bug#12430).
8904 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
8905 being right after USECS, as that better supports old code that
8906 inadvisedly looked directly at the timer vector.
8908 2012-09-13 Kenichi Handa <handa@gnu.org>
8910 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
8911 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
8912 `coding-priority' property of these language environment.
8914 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8916 Fix glitches caused by addition of psec to timers (Bug#12430).
8917 * image.el (image-animate-timer):
8918 * time.el (display-time-world-timer):
8919 Use timer--function and timer--args rather than raw access to
8922 2012-09-13 Glenn Morris <rgm@gnu.org>
8924 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
8925 If not compiling a file, try using load-file-name.
8927 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8929 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
8931 (edebug-update-eval-list): Use `push'.
8933 * emacs-lisp/edebug.el: Use lexical-binding.
8934 Remove the "edebug-" prefix from non-dynamically-scoped variables.
8935 Mark unused args with underscore.
8936 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
8937 (edebug-form-data): Use defvar-local.
8938 (edebug-make-before-and-after-form, edebug-make-after-form):
8940 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
8941 Not dynamically scoped any more.
8942 (edebug--enter-trace): Add arguments `function' and `args'.
8943 Rename from edebug-enter-trace.
8944 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
8945 (edebug--update-coverage): Add `after-index' and `value' args.
8946 Rename from edebug-update-coverage.
8947 (edebug-slow-after): Call it accordingly.
8948 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
8949 edebug-recursive-edit.
8950 (edebug--display): Call it accordingly. Add args `value',
8951 `offset-index', and `arg-mode'. Rename from edebug-display.
8952 (edebug-debugger, edebug): Call it accordingly.
8953 (edebug-eval-display-list): Use dolist.
8955 2012-09-12 Juri Linkov <juri@jurta.org>
8957 * info.el (Info-search): Don't check for isearch-mode and
8958 isearch-regexp before let-binding search-spaces-regexp to
8959 Info-search-whitespace-regexp.
8960 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
8961 search-whitespace-regexp if isearch-lax-whitespace or
8962 isearch-regexp-lax-whitespace is non-nil.
8963 (Info-mode): Don't set local variable search-whitespace-regexp.
8964 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
8966 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8968 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
8969 (debugger-env-macro): Remove support for unread-command-char.
8971 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
8972 the temporary map re-appearing on emulation-mode-map-alists.
8974 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
8977 * ehelp.el (with-electric-help): Accept functions in
8978 electric-help-form-to-execute.
8979 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
8980 And replace unread-command-char -> unread-command-events.
8982 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
8984 Sync with Tramp 2.2.6.
8986 * net/tramp.el (tramp-accept-process-output): Don't use
8987 JUST-THIS-ONE in the XEmacs case.
8989 * net/trampver.el: Update release number.
8991 2012-09-12 Martin Rudalics <rudalics@gmx.at>
8993 * emacs-lisp/debug.el (debugger-previous-window-height):
8995 (debug): When debugger-jumping-flag is non-nil try to restore
8996 height of debugger window. (Bug#8789)
8998 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9000 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
9001 overriding-local-map and pre/post-command-hook here.
9002 (edebug-recursive-edit): Do it here instead (bug#12345).
9003 (edebug-outside-unread-command-char): Remove all uses of
9004 unread-command-char.
9006 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
9007 inhibit-debugger is bound instead.
9009 2012-09-11 Bastien Guerry <bzg@gnu.org>
9011 * subr.el (set-temporary-overlay-map): Add a docstring.
9014 2012-09-11 Bastien Guerry <bzg@gnu.org>
9016 * minibuffer.el (completion-table-subvert): Fix docstring.
9019 2012-09-11 Bastien Guerry <bzg@gnu.org>
9021 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
9023 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
9025 * progmodes/sql.el: Version 3.1
9026 (sql-db2-escape-newlines): New variable.
9027 (sql-escape-newlines-filter): Use it.
9029 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
9031 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
9033 2012-09-10 Dan Nicolaescu <dann@gnu.org>
9035 * vc/diff-mode.el (diff-mode-menu):
9036 Bind diff-remove-trailing-whitespace.
9038 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9040 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
9041 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
9042 (emacs-lisp-byte-code-mode): New functions.
9043 (eval-sexp-add-defvars): Don't skip defvars in column >0.
9044 (eval-defun-2): Remove bogus interactive spec.
9045 (lisp-indent-line): Remove redundant whole-exp code, now done in
9046 indent-according-to-mode.
9047 (save-match-data): Remove redundant indent data.
9049 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
9052 2012-09-09 Juri Linkov <juri@jurta.org>
9054 * replace.el (replace-regexp-lax-whitespace): New defcustom.
9055 (replace-lax-whitespace, query-replace-regexp)
9056 (query-replace-regexp-eval, replace-regexp): Doc fix.
9057 (perform-replace, replace-highlight): Let-bind
9058 isearch-lax-whitespace to replace-lax-whitespace and
9059 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
9061 * isearch.el (isearch-query-replace): Let-bind
9062 replace-lax-whitespace to isearch-lax-whitespace and
9063 replace-regexp-lax-whitespace to
9064 isearch-regexp-lax-whitespace. (Bug#10885)
9066 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
9068 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
9070 2012-09-09 Alan Mackenzie <acm@muc.de>
9072 * progmodes/cc-engine.el (c-state-cache-init):
9073 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
9074 (c-record-parse-state-state):
9075 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
9077 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
9079 * register.el (register-separator): Rename from
9080 separator-register. All uses changed. Doc fix.
9081 (register): Fix version.
9083 2012-09-09 Chong Yidong <cyd@gnu.org>
9085 * replace.el (query-replace-map): Bind four new symbols for
9086 requesting window scrolling.
9088 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
9089 query-replace-map (Bug#8948).
9091 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
9093 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
9094 since they are now in query-replace-map.
9096 * window.el (scroll-other-window-down): Make the arg optional.
9098 2012-09-09 Chong Yidong <cyd@gnu.org>
9100 * files.el (hack-local-variables-confirm): Use quit-window to kill
9101 the *Local Variables* buffer.
9103 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9105 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
9106 not just expect to be at its beginning. Adjust callees.
9107 Succeed when do-end block has no space before the pipe character.
9108 (ruby-brace-to-do-end): When the original block is one-liner,
9109 convert to multiline. Reindent the result.
9111 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
9113 * register.el (register): New group.
9114 (separator-register): New user option.
9115 (increment-register): Route it to `append-to-register', if
9116 register contains text. Implication is that `C-x r +' can now be
9117 used for appending to a text register (bug#12217).
9118 (append-to-register, prepend-to-register): Add separator based on
9119 `separator-register'.
9121 2012-09-08 Alan Mackenzie <acm@muc.de>
9123 AWK Mode: make auto-newline work when there's "==" in the pattern.
9124 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
9126 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
9127 Test more rigorously for "=" token.
9129 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9131 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
9132 Only fail when reached LIMIT.
9134 2012-09-08 Chong Yidong <cyd@gnu.org>
9136 * dired.el (dired-mode-map): Don't bind M-=.
9138 * dired-aux.el (dired-diff): Use backup file as default.
9140 2012-09-08 Drew Adams <drew.adams@oracle.com>
9142 * subr.el (add-to-history): Fix delete usage (Bug#12314).
9144 2012-09-08 Chong Yidong <cyd@gnu.org>
9146 * subr.el (syntax-after, syntax-class): Doc fix.
9148 2012-09-08 Martin Rudalics <rudalics@gmx.at>
9150 * window.el (display-buffer-in-previous-window): New buffer
9151 display action function.
9153 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
9154 (debugger-previous-window): New variable.
9155 (debug): Rewrite using display-buffer-in-previous-window,
9156 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
9158 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9160 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
9162 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
9164 * progmodes/python.el (python-shell-send-string):
9165 When default-directory is remote, create temp file on remote
9167 (python-shell-send-file): When file is remote, pass local view of
9168 file paths to remote Python interpreter. (Bug#12340)
9170 2012-09-07 Chong Yidong <cyd@gnu.org>
9172 * window.el (switch-to-buffer): Doc fix (Bug#12181).
9174 * files.el (after-find-file): Don't fail on a read-only buffer if
9175 require-final-newline is `visit' or `visit-save' (Bug#11156).
9177 * subr.el (read-char-choice): Allow quitting via ESC ESC.
9179 * userlock.el (ask-user-about-supersession-threat):
9180 Use read-char-choice (Bug#12093).
9182 2012-09-07 Chong Yidong <cyd@gnu.org>
9184 * subr.el (buffer-narrowed-p): New function.
9186 * ses.el (ses-widen):
9187 * simple.el (count-words--buffer-message):
9188 * net/browse-url.el (browse-url-of-buffer): Use it.
9190 * simple.el (count-words-region): Don't signal an error if there
9191 is a non-nil prefix arg and the mark is not set.
9193 * help.el (describe-key-briefly): Allow the message to be seen
9194 when invoked from the minibuffer (Bug#7014).
9196 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9198 * progmodes/ruby-mode.el (ruby-end-of-defun)
9199 (ruby-beginning-of-defun): Simplify, allow indentation before
9200 block beginning and end keywords.
9201 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
9202 (ruby-end-of-defun): Expect that the point is at the beginning of
9205 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9207 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
9209 (cl--make-usage-args): Strip _ from argument names.
9211 2012-09-06 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
9213 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
9214 obsolete alias speedbar-key-map.
9215 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
9216 (vhdl-index-menu-init): Don't use obsolete variable
9217 font-lock-maximum-size.
9219 2012-09-06 Chong Yidong <cyd@gnu.org>
9221 * frame.el (window-system-version): Mark as obsolete.
9223 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
9224 of obsolete variable speedbar-key-map.
9226 2012-09-06 Juri Linkov <juri@jurta.org>
9228 * replace.el (replace-lax-whitespace): New defcustom.
9229 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9230 (replace-string, replace-regexp): Mention it in docstrings.
9231 (perform-replace, replace-highlight): Let-bind
9232 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
9233 to the values of replace-lax-whitespace and regexp-flag.
9234 Don't let-bind search-whitespace-regexp. (Bug#10885)
9236 * isearch.el (isearch-query-replace): Let-bind
9237 replace-lax-whitespace instead of let-binding
9238 replace-search-function and replace-re-search-function.
9239 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
9240 and isearch-regexp-lax-whitespace to lazy-highlight variables.
9241 (isearch-toggle-symbol): Set isearch-regexp to nil
9242 in isearch-word mode (like in isearch-toggle-word).
9244 2012-09-06 Juri Linkov <juri@jurta.org>
9246 * replace.el (replace-search-function)
9247 (replace-re-search-function): Set default values to nil.
9248 (perform-replace): Let-bind isearch-related variables based on
9249 replace-related values, call `isearch-search-fun' and let-bind
9250 the result to `search-function'. Remove code that sets
9251 `search-function' and `search-string' separately for
9253 (replace-highlight): Add new argument `delimited-flag' and
9254 rename other arguments to the names used in `perform-replace'.
9255 Let-bind `isearch-word' to the argument `delimited-flag'.
9256 (Bug#10885, bug#10887)
9258 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9260 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
9261 ruby-beginning-of-indent, simplify, allow all keywords to have
9262 indentation before them.
9263 (ruby-beginning-of-indent): Adjust for above. Search until the
9264 found point is not inside a string or comment.
9265 (ruby-font-lock-keywords): Allow symbols to start with "@"
9266 character, give them higher priority than variables.
9267 (ruby-syntax-propertize-function)
9268 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
9269 matchers. Expression expansions are not comments when inside a
9270 string, and there comment syntax status is irrelevant.
9271 (ruby-match-expression-expansion): New function. Check that
9272 expression expansion is inside a string, and it's not escaped.
9273 (ruby-font-lock-keywords): Use it.
9275 2012-09-05 Martin Rudalics <rudalics@gmx.at>
9277 * help.el (temp-buffer-max-height): New default value.
9278 (temp-buffer-resize-frames): New option.
9279 (resize-temp-buffer-window): Optionally resize frame.
9281 * window.el (fit-frame-to-buffer-bottom-margin): New option.
9282 (fit-frame-to-buffer): New function.
9284 2012-09-05 Glenn Morris <rgm@gnu.org>
9286 * emulation/cua-rect.el (cua--init-rectangles):
9287 * textmodes/picture.el (picture-mode-map):
9288 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
9289 like forward-char and backward-char. (Bug#12317)
9291 2012-09-05 Leo Liu <sdl.web@gmail.com>
9293 * progmodes/flymake.el (flymake-warning-re): New variable.
9294 (flymake-parse-line): Use it.
9296 2012-09-05 Glenn Morris <rgm@gnu.org>
9298 * calendar/holidays.el (holiday-christian-holidays):
9299 Rename an entry. (Bug#12289)
9301 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9303 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
9306 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9308 * loadup.el: Load macroexp. Remove hack.
9309 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
9310 (macroexp--expand-all): Use it to get better warnings.
9311 (macroexp--backtrace, macroexp--trim-backtrace-frame)
9312 (internal-macroexpand-for-load): New functions.
9313 (macroexp--pending-eager-loads): New var.
9314 (emacs-startup-hook): New hack to replace one in loadup.el.
9315 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
9316 (cl--compiler-macro-cXXr): Move to top, before they can be used.
9317 (cl-psetf): Simplify.
9318 (cl-defstruct): Add indent rule.
9320 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
9322 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
9323 over `user-mail-address' for the SMTP MAIL FROM envelope.
9324 (smtpmail-via-smtp): Ditto.
9326 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
9328 * progmodes/ruby-mode.el: Clean up keybindings.
9329 (ruby-mode-map): Don't bind ruby-electric-brace,
9330 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
9331 backward-kill-word, reindent-then-newline-and-indent.
9332 (ruby-mark-defun): Remove.
9333 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
9334 (ruby-mode): Set local beginning-of-defun-function and
9335 end-of-defun-function values.
9337 2012-09-03 Martin Rudalics <rudalics@gmx.at>
9339 * window.el (temp-buffer-window-setup-hook)
9340 (temp-buffer-window-show-hook): New hooks.
9341 (temp-buffer-window-setup, temp-buffer-window-show)
9342 (with-temp-buffer-window): New functions.
9343 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
9344 (special-display-popup-frame): Make sure the window used shows BUFFER.
9346 * help.el (temp-buffer-resize-mode): Fix doc-string.
9347 (resize-temp-buffer-window): New optional argument WINDOW.
9349 * files.el (recover-file, save-buffers-kill-emacs):
9350 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
9352 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
9354 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
9355 remote definition of `default-directory', ensure we can connect.
9357 2012-09-02 Juri Linkov <juri@jurta.org>
9359 Toggle whitespace matching mode with M-s SPC.
9360 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
9362 * isearch.el (search-whitespace-regexp): Doc fix.
9363 Remove cons cell customization.
9364 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
9365 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
9367 (isearch-forward, isearch-forward-regexp): Doc fix.
9368 (isearch-toggle-lax-whitespace): New command.
9369 (search-forward-lax-whitespace, search-backward-lax-whitespace)
9370 (re-search-forward-lax-whitespace)
9371 (re-search-backward-lax-whitespace): New functions.
9372 (isearch-whitespace-regexp): Remove function.
9373 (isearch-query-replace): Let-bind replace-search-function and
9374 replace-re-search-function.
9375 (isearch-occur): Let-bind search-spaces-regexp according to the
9376 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
9377 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
9378 condition for C-q SPC.
9379 (isearch-search-fun-default): Use new functions mentioned above.
9380 (isearch-search-forward, isearch-search-backward): Remove functions.
9381 (isearch-search): Don't let-bind search-spaces-regexp.
9382 (isearch-lazy-highlight-space-regexp): Remove variable.
9383 (isearch-lazy-highlight-lax-whitespace)
9384 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
9385 (isearch-lazy-highlight-new-loop): Use them.
9386 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
9388 2012-09-02 Chong Yidong <cyd@gnu.org>
9390 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
9392 2012-09-02 Glenn Morris <rgm@gnu.org>
9394 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
9396 2012-09-01 Glenn Morris <rgm@gnu.org>
9398 * term.el: Tidy up menu definitions.
9399 (term-mode-map): Use easymenu for In/Out, Complete menus.
9400 (term-pager-break-map): Initialize in the defvar.
9401 (term-terminal-menu, term-signals-menu): Define with easymenu.
9402 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
9403 (term-pager-menu): New, extracted from term-process-pager.
9404 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
9405 (term-update-mode-line): Propertize line/char and page items.
9406 (term-process-pager): Move keymap initialization elsewhere.
9408 2012-09-01 Martin Rudalics <rudalics@gmx.at>
9410 * window.el (switch-to-prev-buffer): Handle additional values of
9411 BURY-OR-KILL argument. Don't switch in minibuffer window.
9412 (switch-to-next-buffer): Don't switch in minibuffer window.
9413 (quit-restore-window): New function based on quit-window.
9414 Handle additional values of former KILL argument.
9415 (quit-window): Call quit-restore-window with appropriate
9416 interpretation of KILL argument.
9417 (display-buffer-below-selected): New buffer display action
9420 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
9422 * minibuffer.el (completion-at-point-functions): Complete docstring
9425 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
9427 Better seed support for (random).
9428 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
9429 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
9430 * play/mpuz.el, play/tetris.el, play/zone.el:
9431 * calc/calc-comb.el (math-init-random-base):
9432 * play/blackbox.el (bb-init-board):
9433 * play/life.el (life):
9434 * server.el (server-use-tcp):
9435 * type-break.el (type-break):
9436 Remove unnecessary call to (random t).
9437 * net/sasl.el (sasl-unique-id-function):
9438 Change (random t) to (random), now that the latter is more random.
9439 * play/life.el (life-initialized): Remove no-longer-needed var.
9441 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
9443 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9444 Consider frame's buffer predicate when choosing the buffer.
9447 2012-08-30 Richard Stallman <rms@gnu.org>
9449 * simple.el (special-mode-map): Delete binding for `z'.
9451 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
9453 * progmodes/compile.el (compilation-always-kill): Doc fix.
9455 2012-08-30 Chong Yidong <cyd@gnu.org>
9457 * window.el (display-buffer-reuse-frames): Make the obsolescence
9458 message more informative.
9460 2012-08-30 Glenn Morris <rgm@gnu.org>
9462 * paren.el (show-paren-delay):
9463 Add a :set function. Doc fix. (Bug#12297)
9465 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
9467 * progmodes/compile.el (compilation-always-kill): New var.
9468 (compilation-start): Use it.
9470 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9472 * simple.el (read-only-mode): Move from files.el for bootstrapping.
9473 * files.el (read-only-mode): Move to simple.el.
9475 * files.el (read-only-mode): New minor mode.
9476 (toggle-read-only): Use it and mark obsolete.
9477 (find-file--read-only):
9478 * vc/vc.el (vc-next-action, vc-checkout):
9479 * vc/vc-cvs.el (vc-cvs-checkout):
9480 * obsolete/vc-mcvs.el (vc-mcvs-update):
9481 * ffap.el (ffap--toggle-read-only): Update callers.
9483 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
9485 * eshell/esh-ext.el (eshell-external-command): Do not examine
9486 remote shell scripts.
9487 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
9489 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
9492 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9494 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
9496 2012-08-28 Leo Liu <sdl.web@gmail.com>
9498 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
9499 completion-at-point. (Bug#12220)
9501 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
9503 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
9505 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9507 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
9508 be buffer-local; add delete-trailing-whitespace (bug#12259).
9510 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
9512 * progmodes/hideif.el (hif-compress-define-list):
9513 Fix typo. (Bug#11951)
9515 2012-08-28 Dan Nicolaescu <dann@gnu.org>
9517 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
9518 buffer local setting.
9520 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
9521 rcirc-encode-coding-system.
9523 2012-08-28 Leo Liu <sdl.web@gmail.com>
9525 * net/rcirc.el (rcirc-split-message): New function.
9526 (rcirc-send-message): Use it. (Bug#12051)
9528 2012-08-28 Juri Linkov <juri@jurta.org>
9530 * info.el (Info-fontify-node): Hide empty lines at the end of
9531 the node. (Bug#12272)
9533 2012-08-27 Drew Adams <drew.adams@oracle.com>
9535 * dired.el (dired-pop-to-buffer): Make window start at beginning
9536 of buffer (Bug#12281).
9538 2012-08-26 Chong Yidong <cyd@gnu.org>
9540 * window.el (special-display-regexps, special-display-frame-alist)
9541 (special-display-buffer-names, special-display-function)
9542 (display-buffer-reuse-frames): Mark as obsolete.
9544 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
9546 * help.el (help-print-return-message): Don't treat
9547 display-buffer-reuse-frames specially.
9549 2012-08-26 Chong Yidong <cyd@gnu.org>
9551 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
9552 New variable, replacing gdb-frame-parameters.
9553 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
9554 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
9555 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
9556 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
9557 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
9558 the functions directly with gdb-display-buffer-other-frame-action.
9559 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
9560 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
9561 (gdb-display-stack-buffer, gdb-display-locals-buffer)
9562 (gdb-display-registers-buffer): Define directly.
9563 (def-gdb-display-buffer): Macro deleted.
9564 (gdb-display-buffer): Remove second and third args, callers don't
9565 use them. Defer to the default display-buffer behavior, apart
9566 from making windows dedicated.
9567 (gdb-setup-windows): Don't call display-buffer unnecessarily.
9569 * progmodes/gud.el (gud-display-line): Just use display-buffer.
9571 * window.el (display-buffer-pop-up-frame): Handle a
9572 pop-up-frame-parameters alist entry.
9573 (display-buffer): Document it.
9575 2012-08-26 Chong Yidong <cyd@gnu.org>
9577 * isearch.el (search-whitespace-regexp): Make string and nil
9578 values apply to both ordinary and regexp search. Allow a cons
9579 cell value to distinguish between the two.
9580 (isearch-whitespace-regexp, isearch-search-forward)
9581 (isearch-search-backward): New functions.
9582 (isearch-occur, isearch-search-fun-default, isearch-search)
9583 (isearch-lazy-highlight-new-loop): Use them.
9584 (isearch-forward, isearch-forward-regexp): Doc fix.
9586 2012-08-26 Chong Yidong <cyd@gnu.org>
9588 * faces.el (help-argument-name): Always inherit from italic
9591 2012-08-25 Martin Rudalics <rudalics@gmx.at>
9593 * window.el (window--even-window-heights): Even heights when
9594 WINDOW and the selected window form a vertical combination.
9595 (display-buffer-use-some-window): Provide that window used gets
9596 sized back by quit-window. (Bug#11880) and (Bug#12091)
9598 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
9600 Fix file time stamp problem with bzr and CVS (Bug#12001).
9601 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
9602 in the file's time stamp, since the version control system loses
9605 2012-08-22 Juri Linkov <juri@jurta.org>
9607 * info.el (Info-fontify-node): Hide the suffix of the
9608 Info file name in the header line. (Bug#12187)
9610 2012-08-22 Glenn Morris <rgm@gnu.org>
9612 * calendar/cal-tex.el (cal-tex-weekly-common):
9613 Restore leading blank page.
9615 2012-08-22 Le Wang <l26wang@gmail.com>
9617 * misc.el (forward-to-word, backward-to-word): Activate or extend
9618 the region under `shift-select-mode'. (Bug#12231)
9620 2012-08-22 Bastien Guerry <bzg@gnu.org>
9622 * progmodes/executable.el (executable-prefix): Set to "#!" instead
9623 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
9624 gives details on why the space is never needed.
9626 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9628 * window.el (walk-window-tree, window-with-parameter):
9629 New optional argument MINIBUF to control whether these functions
9630 should run on the minibuffer window.
9631 (window-at-side-list): Don't operate on minibuffer window.
9632 (window-in-direction): Simplify and rewrite doc-string.
9633 (window--size-ignore): Rename to window--size-ignore-p.
9635 (display-buffer-in-atom-window, window--major-non-side-window)
9636 (window--major-side-window, display-buffer-in-major-side-window)
9637 (delete-side-window, display-buffer-in-side-window):
9639 (window--side-check, window-deletable-p, delete-window)
9640 (delete-other-windows, split-window): Handle side windows and
9641 atomic windows appropriately.
9642 (window--display-buffer): Call display-buffer-record-window also
9643 when the window buffer did not change.
9645 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
9647 * help-fns.el (help-fns--key-bindings):
9648 Abbreviate non-symbol remap targets. (Bug#12174)
9650 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9652 * dired.el (dired-mark-remembered): Don't clobber point.
9655 2012-08-22 Glenn Morris <rgm@gnu.org>
9657 * progmodes/bug-reference.el (bug-reference): New custom group.
9658 (bug-reference-bug-regexp): Make it a defcustom.
9660 2012-08-22 Daiki Ueno <ueno@unixuser.org>
9662 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
9663 (js-paren-indent-offset, js-square-indent-offset)
9664 (js-curly-indent-offset): Add :safe (Bug#12257).
9666 2012-08-22 Edward O'Connor <hober0@gmail.com>
9668 * json.el (json-key-format): Add error properties.
9669 (json-encode-key): New function.
9670 (json-encode-hash-table, json-encode-alist, json-encode-plist):
9671 Use json-encode-key.
9673 2012-08-22 Glenn Morris <rgm@gnu.org>
9675 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
9676 (cal-tex-leftday, cal-tex-rightday): Remove functions.
9677 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
9678 Update for above change.
9680 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
9682 * cus-face.el (custom-face-attributes): Fix customize type for the
9683 :underline attribute. (Bug#11805)
9685 2012-08-21 Martin Rudalics <rudalics@gmx.at>
9687 * window.el (window-point-1, set-window-point-1): Remove.
9688 (window-in-direction, record-window-buffer)
9689 (set-window-buffer-start-and-point, split-window-below)
9690 (window--state-get-1, display-buffer-record-window):
9691 Replace calls to window-point-1 and set-window-point-1 by calls to
9692 window-point and set-window-point respectively.
9694 2012-08-21 Glenn Morris <rgm@gnu.org>
9696 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
9697 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
9700 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
9701 (cal-tex-shortday): New function.
9702 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
9703 (cal-tex-cursor-filofax-daily): Use the above.
9705 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
9707 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9708 (cal-tex-cursor-filofax-week): Use them.
9710 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
9712 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9713 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
9715 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
9716 (cal-tex-end-document): Don't rely on buffer name.
9718 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
9720 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
9721 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
9722 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
9725 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
9726 (cal-tex-cursor-week, cal-tex-cursor-week2)
9727 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
9728 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9729 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
9730 (cal-tex-insert-preamble, cal-tex-b-document)
9731 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
9732 Improve cal-tex-cmd usage.
9734 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
9735 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
9736 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
9737 (cal-tex-weekly-paper): New function.
9738 (cal-tex-cursor-week, cal-tex-cursor-week2)
9739 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
9740 (cal-tex-cursor-day): Use it.
9742 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
9743 (cal-tex-cursor-filofax-week): Remove leading blank page.
9745 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9746 Add autoload cookie. For now at least, don't use color, since
9747 no other cal-tex function does.
9749 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
9750 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9751 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
9753 2012-08-21 Juri Linkov <juri@jurta.org>
9755 * info.el (Info-file-attributes): New variable.
9756 (info-insert-file-contents): Add file attributes to
9757 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
9758 `Info-toc-nodes' when previous modtime of the Info file is less
9760 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
9761 of info.el. (Bug#12230)
9763 2012-08-20 Glenn Morris <rgm@gnu.org>
9765 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
9766 * calendar/holidays.el (calendar-holiday-list):
9767 Report errors with display-warning rather than beep'n'sleep.
9769 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
9771 * net/tramp.el (tramp-accept-process-output): Accept only output
9772 from PROC. Otherwise, process filters and sentinels might be
9773 confused. (Bug#12145)
9775 2012-08-20 Chong Yidong <cyd@gnu.org>
9777 * descr-text.el (describe-text-properties-1): Use overlays-in to
9778 report on empty overlays (Bug#3322).
9780 2012-08-20 Glenn Morris <rgm@gnu.org>
9782 * mail/rmailout.el (rmail-output-read-file-name):
9783 Trap and report errors in rmail-output-file-alist elements.
9785 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
9786 since most non-font-lock faces are not also variables).
9788 2012-08-20 Edward Reingold <reingold@iit.edu>
9790 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9791 New function. (Bug12160)
9793 2012-08-19 Glenn Morris <rgm@gnu.org>
9795 * mail/rmailout.el (rmail-output-read-file-name):
9796 Fix previous change (when the alist is nil or does not match).
9798 2012-08-19 Chong Yidong <cyd@gnu.org>
9800 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
9803 2012-08-18 Chong Yidong <cyd@gnu.org>
9805 * simple.el (yank-handled-properties): New defcustom.
9806 (yank-excluded-properties): Add font-lock-face and category.
9809 * subr.el (remove-yank-excluded-properties):
9810 Obey yank-handled-properties. The special handling of font-lock-face
9811 and category is now done this way, instead of being hard-coded.
9812 (insert-for-yank-1): Remove font-lock-face handling.
9813 (yank-handle-font-lock-face-property)
9814 (yank-handle-category-property): New function.
9816 2012-08-17 Glenn Morris <rgm@gnu.org>
9818 * mail/rmailout.el (rmail-output-read-file-name):
9819 Check rmail-output-file-alist against the full message body
9820 in the correct rmail buffer. (Bug#12214)
9822 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
9824 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
9825 Eliminate superfluous prompt. (Bug#12203)
9827 2012-08-17 Chong Yidong <cyd@gnu.org>
9829 * mouse.el (mouse-appearance-menu): If x-select-font returns a
9830 font spec, set the font directly (Bug#3228).
9832 2012-08-17 Martin Rudalics <rudalics@gmx.at>
9834 * window.el (delete-window): Fix last fix.
9836 2012-08-16 Martin Rudalics <rudalics@gmx.at>
9838 * window.el (window-valid-p): Move to window.c.
9839 (window-child, window-child-count, window-last-child)
9840 (window-normalize-window, window-combined-p)
9841 (window-combinations, window-atom-root, window-min-size)
9842 (window-sizable, window-sizable-p, window-size-fixed-p)
9843 (window-min-delta, window-max-delta, window--resizable)
9844 (window--resizable-p, window-resizable, window-total-size)
9845 (window-full-height-p, window-full-width-p, window-body-size)
9846 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
9847 (minimize-window, window-deletable-p, delete-window)
9848 (delete-other-windows, set-window-buffer-start-and-point)
9849 (next-buffer, previous-buffer, split-window, balance-windows-2)
9850 (set-window-text-height, window-buffer-height)
9851 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9852 (truncated-partial-width-window-p): Minor code adjustments.
9853 In doc-strings state whether the argument window has to denote a
9854 live, valid or any window.
9856 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
9858 * progmodes/subword.el (subword-forward-function)
9859 (subword-backward-function, subword-forward-regexp)
9860 (subword-backward-regexp): New variables.
9861 (subword-forward, subword-forward-internal, subword-backward-internal):
9862 Use new variables, eg so that different "word" definitions
9863 can be easily used. (Bug#11411)
9865 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9867 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
9868 for composite selectors.
9869 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
9870 operation just because we can't find a previous revision.
9872 2012-08-15 Chong Yidong <cyd@gnu.org>
9874 * frame.el (set-frame-font): Accept font objects.
9876 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9878 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
9880 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
9882 * man.el (Man-overstrike-face, Man-underline-face)
9883 (Man-reverse-face): Remove variables.
9884 (Man-overstrike, Man-underline, Man-reverse): New faces.
9885 (Man-fontify-manpage): Use them instead of the variables.
9886 (Man-cleanup-manpage): Comment change.
9887 (Man-ansi-color-map): New variable.
9888 (Man-fontify-manpage): Use it.
9889 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
9891 Implement ANSI SGR parameters 22-27 (bug#12146).
9892 * ansi-color.el (ansi-colors): Doc fix.
9893 (ansi-color-context, ansi-color-context-region): Doc fix.
9894 (ansi-color--find-face): New function.
9895 (ansi-color-apply, ansi-color-apply-on-region): Use it.
9896 Rename the local variable `face' to `codes' since it is now a list of
9897 ansi codes. Doc fix.
9898 (ansi-color-get-face): Remove.
9899 (ansi-color-parse-sequence): New function, derived from
9900 ansi-color-get-face.
9901 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
9904 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
9906 * subr.el (read-passwd): Allow use from a minibuffer.
9908 2012-08-14 Eli Zaretskii <eliz@gnu.org>
9910 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
9911 inside comments and strings as identifiers.
9913 * progmodes/gud.el (gud-tooltip-print-command): Quote the
9914 expression to evaluate. This allows to evaluate expressions with
9915 embedded whitespace.
9916 (gud-tooltip-tips): Add a blank before the newline in the
9917 message-box text, for the benefit of message-box emulation on
9920 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
9921 messages from GDB, pop them up in a tooltip to give feedback to
9923 (gdb-tooltip-print-1): Quote the expression to evaluate.
9924 This allows to evaluate expressions with embedded whitespace.
9925 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
9926 if the TTY name is nil or empty (which happens when communicating
9927 with the inferior via pipes, e.g. on MS-Windows).
9928 (gdb-internals): If GDB sends a "&\n" empty debugging message,
9929 don't send that to the GUD buffer.
9931 2012-08-14 Glenn Morris <rgm@gnu.org>
9933 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
9934 Optimize away setq-default with no args, as for setq. (Bug#12195)
9936 2012-08-14 Chong Yidong <cyd@gnu.org>
9938 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
9940 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
9943 2012-08-14 Glenn Morris <rgm@gnu.org>
9945 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
9947 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
9949 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
9950 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9951 Use cached shell name.
9953 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9955 * progmodes/python.el (python-shell-send-string):
9956 (python-shell-send-setup-code): Do not use `format' with `message'.
9958 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
9960 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
9961 (ruby-percent-literal-beg-re): New constant.
9962 (ruby-syntax-general-delimiters-goto-beg): Rename to
9963 `ruby-syntax-enclosing-percent-literal', improve literal type check.
9964 (ruby-syntax-propertize-general-delimiters): Rename to
9965 `ruby-syntax-propertize-percent-literal', it's a shorter and more
9966 popular term. Adjust comments everywhere.
9967 (ruby-syntax-propertize-percent-literal): Only propertize when not
9968 inside a simple string or comment. When the literal is unclosed,
9969 leave the text after it unpropertized.
9970 (ruby-syntax-methods-before-regexp): New constant.
9971 (ruby-syntax-propertize-function): Use it to recognize regexps.
9972 Don't look at the text after regexp, just use the whitelist.
9974 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
9976 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
9977 non-nil always load the compiled file if it exists. (Bug#12197)
9979 2012-08-14 Chong Yidong <cyd@gnu.org>
9981 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
9982 (hi-lock-set-pattern): When deciding whether to use font lock or
9983 overlays, look at font-lock-mode instead of font-lock-fontified
9985 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
9986 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
9988 2012-08-14 Daiki Ueno <ueno@unixuser.org>
9990 * subr.el (internal--after-with-selected-window): Fix typo
9993 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9995 Use `completion-table-dynamic' for completion functions.
9996 * progmodes/python.el
9997 (python-shell-completion--do-completion-at-point)
9998 (python-shell-completion--get-completions):
10000 (python-shell-completion-complete-at-point): New function.
10001 (python-completion-complete-at-point): Use it.
10003 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
10005 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
10006 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
10008 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10010 * subr.el (function-get): Refine `autoload' arg so it can also
10011 autoload functions for gv.el (bug#12191).
10012 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
10015 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
10016 Prefer pcase-let over destructuring-bind.
10017 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
10018 Also, remove whitespace as we go, rather than after accumulating the
10021 * subr.el (internal--before-with-selected-window)
10022 (internal--after-with-selected-window): Fix typo seleted->selected.
10023 (with-selected-window): Adjust callers.
10024 Reported by Dmitry Gutov <dgutov@yandex.ru>.
10026 2012-08-13 Bastien Guerry <bzg@gnu.org>
10028 * window.el (special-display-popup-frame): Minor docstring
10029 enhancement. (Bug#12172)
10031 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
10033 * tar-mode.el (tar-header-data-end): Only ignore size for files of
10035 (tar-header-block-summarize, tar-get-descriptor): Handle pax
10038 * files.el (hack-local-variables-filter): Remove useless eval.
10040 2012-08-13 Martin Rudalics <rudalics@gmx.at>
10042 * subr.el (with-selected-window): Fix last change.
10044 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10046 * subr.el (internal--before-with-seleted-window)
10047 (internal--after-with-seleted-window): New functions.
10048 (with-selected-window): Use them, to replace dependency on
10051 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
10053 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
10054 binding for `newline'.
10055 (ruby-move-to-block): When moving backward, stop at block opening,
10057 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
10058 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
10059 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
10060 `ruby-toggle-block'.
10062 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10064 * ibuffer.el (ibuffer-do-toggle-read-only):
10065 * dired.el (dired-toggle-read-only):
10066 * buff-menu.el (Buffer-menu-toggle-read-only):
10067 * bindings.el (mode-line-toggle-read-only):
10068 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
10070 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
10072 * descr-text.el (describe-char): Put the overlays over the
10073 "displayed as" character.
10075 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
10077 * calc/calc-units.el (math-default-units-table): Give an
10079 (math-put-default-units): Add options to put composite units and
10080 unit systems in the default units table.
10081 (calc-convert-units): Send composite units to
10082 `math-put-default-units' when appropriate.
10084 2012-08-11 Glenn Morris <rgm@gnu.org>
10086 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
10088 * tutorial.el (help-with-tutorial):
10089 * emacs-lisp/copyright.el (copyright-update-directory):
10090 * emacs-lisp/autoload.el (autoload-find-generated-file)
10091 (autoload-find-file): Disable local eval: (for insurance).
10093 * files.el (hack-local-variables-filter): If an eval: form is not
10094 known to be safe, and enable-local-variables is :safe, then ignore
10095 the form totally, as is done for non-eval forms. (Bug#12155)
10096 This is CVE-2012-3479.
10098 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10100 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
10101 (rx-form): Simplify.
10103 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
10105 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
10106 ?, _, and : are symbol constituents, ! is not (but kinda should be).
10107 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
10108 (ruby-syntax-propertize-function): Adjust for changes in
10109 `ruby-syntax-propertize-heredoc'.
10111 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
10113 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
10114 binding (use `M-;' instead).
10115 (ruby-singleton-class-p): New function.
10116 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
10118 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10120 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
10122 2012-08-10 Chong Yidong <cyd@gnu.org>
10124 * progmodes/python.el (python-shell-get-process-name): Don't mess
10125 with same-window-buffer-names.
10127 * eshell/eshell.el (eshell-add-to-window-buffer-names)
10128 (eshell-remove-from-window-buffer-names): Make obsolete.
10129 (eshell-buffer-name, eshell-unload-hook): Don't use them.
10130 (eshell): Just use pop-to-buffer-same-window instead.
10132 2012-08-10 Chong Yidong <cyd@gnu.org>
10134 * bindings.el: Bind M-= back to count-words-region.
10136 * simple.el (count-words-region): Accept a prefix arg for acting
10137 on the entire buffer.
10138 (count-words--buffer-message): New helper function.
10140 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10142 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
10143 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
10144 (event-start, event-end): Use posn-at-point to return a more
10146 (posnp): New function.
10147 * mouse.el (popup-menu-normalize-position): Use it.
10149 2012-08-10 Masatake YAMATO <yamato@redhat.com>
10151 * mouse.el (popup-menu-normalize-position): New function.
10152 (popup-menu): Use `popup-menu-normalize-position' to normalize
10153 the form for POSITION argument.
10155 * term/x-win.el (x-menu-bar-open):
10156 Use the value returend from (posn-at-point) as position
10157 passed to `popup-menu'.
10159 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10161 * calc/calccomp.el (math-compose-expr): Add extra argument
10162 indicating that parentheses should be put around products in
10163 denominators. Give multiplication precedence over division during
10166 2012-08-09 Chong Yidong <cyd@gnu.org>
10168 * man.el (Man-switches, Man-sed-command, Man-awk-command)
10169 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
10170 (Man-untabify-command, manual-program): Convert to defcustom
10173 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
10175 * descr-text.el (describe-char): Don't insert extra newlines
10178 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
10179 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
10181 * align.el (align-region): Delete temporary markers (Bug#10047).
10182 Plus some code cleanups.
10184 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10186 * progmodes/python.el (python-pdbtrack-tracked-buffer)
10187 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
10188 (python-shell-internal-last-output): Use make-local-variable
10189 instead of make-variable-buffer-local.
10191 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10193 * progmodes/python.el: Enhancements to forward-sexp.
10194 (python-nav-forward-sexp): Rename from
10195 python-nav-forward-sexp-function.
10196 (python-nav--forward-sexp, python-nav--backward-sexp):
10199 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10201 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
10202 modes and simplification modes.
10204 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10206 * delsel.el (delete-selection-pre-hook): Don't propagate the
10207 file-supersession signals (bug#12161).
10209 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10211 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
10212 (cl-map-extents): Add compatibility aliases (bug#12135).
10214 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
10216 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
10217 tests by `ignore-error'.
10218 (tramp-find-shell): Open also a new shell, when cache is already
10219 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
10221 2012-08-08 Juri Linkov <juri@jurta.org>
10223 * bookmark.el: Add `defaults' property to the bookmark record.
10224 (bookmark-current-buffer): Doc fix.
10225 (bookmark-make-record): Add `defaults' property with default values
10226 to the bookmark record.
10227 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
10228 with `bookmark-insert-current-bookmark'.
10229 (bookmark-set): Get `defaults' property from the bookmark record
10230 and use it in `read-from-minibuffer'.
10231 (bookmark-insert-current-bookmark): Remove function.
10233 * info.el (Info-bookmark-make-record): Add `defaults' property
10234 with values of canonical Info node name, the current Info file
10235 name and the current Info node name. (Bug#12107)
10237 2012-08-08 Juri Linkov <juri@jurta.org>
10239 * files.el (basic-save-buffer): Use `buffer-name' as the default
10240 of `read-file-name' when buffer is not visiting a file (bug#12128).
10242 2012-08-08 Juri Linkov <juri@jurta.org>
10244 * info.el (Info-isearch-search): Doc fix.
10245 (Info-search): Change search-failed message from "initial node" to
10246 "end of node" (bug#12078).
10247 (Info-isearch-search): Change `isearch-string-state' to
10248 `isearch--state-string'.
10250 2012-08-08 Glenn Morris <rgm@gnu.org>
10252 * language/persian.el: Remove file.
10253 * language/misc-lang.el: Move unique part of persian.el here.
10254 * loadup.el: Remove language/persian.
10256 2012-08-08 Ă“scar Fuentes <ofv@wanadoo.es>
10258 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
10260 2012-08-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10262 * progmodes/python.el: Fix defsubst warning.
10263 (python-syntax-context) Rename from python-info-ppss-context.
10264 (python-syntax-context-type): Rename from
10265 python-info-ppss-context-type.
10266 (python-syntax-comment-or-string-p): Rename from
10267 python-info-ppss-comment-or-string-p.
10269 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
10271 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
10273 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
10275 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
10276 a defcustom that is quoted with backquote.
10278 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
10279 Fix handling of interactive spec when the body uses return.
10280 (math-do-arg-check, math-define-function-body): Use backquote forms.
10281 * calc/calc-ext.el (math-defcache): Likewise.
10282 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
10283 * allout.el (allout-new-exposure): Likewise.
10284 * calc/calcalg2.el (math-tracing-integral): Likewise.
10285 * info.el (Info-last-menu-item): Likewise.
10286 * emulation/vip.el (vip-loop): Likewise.
10287 * textmodes/artist.el (artist-funcall): Likewise.
10288 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
10289 Construct menu-item directly.
10291 * progmodes/autoconf.el (font-lock-syntactic-keywords):
10294 2012-08-07 Chong Yidong <cyd@gnu.org>
10296 * simple.el (deactivate-mark): Preserve text properties when
10297 saving the primary selection (Bug#8384).
10299 2012-08-07 Kevin Ryde <user42@zip.com.au>
10301 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
10302 (woman-parse-numeric-value): On a bad .IP line, issue a warning
10303 and continue processing (Bug#12110).
10305 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10307 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
10308 syntax-propertize-function (bug#10095).
10310 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10312 * help-fns.el (help-fns--key-bindings, help-fns--signature)
10313 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
10314 describe-function-1.
10315 (describe-function-1): Use them. Move compiler macro after sig.
10316 (help-fns--compiler-macro): Use function-get. Assume we're already in
10317 standard-output. Adjust layout to new call order.
10319 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
10320 re-binding a symbol that has a symbol-macro (bug#12119).
10322 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
10324 * language/persian.el: New file. (Bug#11812)
10325 * loadup.el: Add language/persian.el.
10327 2012-08-06 Chong Yidong <cyd@gnu.org>
10329 * window.el (window--maybe-raise-frame): New function.
10330 (window--display-buffer): Split off from here.
10331 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10332 (display-buffer-pop-up-window, display-buffer-use-some-window):
10333 Obey an inhibit-switch-frame action alist entry.
10334 (display-buffer): Update doc.
10336 * replace.el (occur-after-change-function): Avoid losing focus by
10337 using the inhibit-switch-frame display parameter (Bug#12139).
10339 2012-08-06 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10341 Make internal shell process buffer names start with space.
10342 * progmodes/python.el (python-shell-make-comint): Add optional
10344 (run-python-internal): Use it.
10345 (python-shell-internal-get-or-create-process): Check for new
10346 internal buffer names.
10348 2012-08-06 Glenn Morris <rgm@gnu.org>
10350 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
10351 Do less getting and setting of environment variables.
10353 2012-08-05 Chong Yidong <cyd@gnu.org>
10355 * proced.el (proced): Add substitution string to docstring to
10356 trigger autoloading of the proced library on C-h f (Bug#1768).
10358 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10359 Don't show defvars which have no second argument (Bug#8638).
10361 * imenu.el (imenu-generic-expression): Move documentation here
10362 from imenu--generic-function.
10363 (imenu--generic-function): Refer to imenu-generic-expression.
10365 2012-08-05 Vegard Ă˜ye <vegard_oye@hotmail.com> (tiny change)
10367 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
10368 indentation declaration.
10369 (viper-loop): Add indentation declaration (Bug#7025).
10371 2012-08-05 Chong Yidong <cyd@gnu.org>
10373 * help-fns.el (describe-variable): Add hyperlink for
10374 directory-local variables files. Improve buffer-local and
10375 permanent-local reporting; suggested by MON KEY (Bug#6644).
10377 * help-mode.el (help-dir-local-var-def): New button type.
10379 * files.el (kill-buffer-hook): Provide a defvar.
10381 2012-08-05 Glenn Morris <rgm@gnu.org>
10383 * eshell/esh-ext.el (eshell/addpath):
10384 Also update eshell-path-env. (Bug#12013)
10386 2012-08-05 Chong Yidong <cyd@gnu.org>
10388 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
10390 * fringe.el (fringe-styles): Add docstring.
10391 (fringe--check-mode): New function.
10392 (set-fringe-mode, set-fringe-style): Use it.
10393 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
10395 * files.el (set-auto-mode): Fix invalid setq call.
10397 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10399 * isearch.el: Misc simplification; use defstruct.
10400 (isearch-mode-map): Dense maps now work like sparse ones.
10401 (isearch--state): New defstruct.
10402 (isearch-string-state, isearch-message-state, isearch-point-state)
10403 (isearch-success-state, isearch-forward-state)
10404 (isearch-other-end-state, isearch-word-state, isearch-error-state)
10405 (isearch-wrapped-state, isearch-barrier-state)
10406 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
10407 replaced by defstruct's accessors.
10408 (isearch--set-state): Rename from isearch-top-state and change
10409 calling convention.
10410 (isearch-push-state): Use new isearch--get-state.
10411 (isearch-toggle-word): Disable regexp when enabling word.
10412 (isearch-message-prefix): Remove unused arg _c-q-hack.
10413 (isearch-message-suffix): Remove unused arg _ellipsis.
10415 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
10417 * simple.el (list-processes--refresh): For a server use :host or
10418 :local as the address.
10419 (list-processes): Doc fix.
10421 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
10423 * lisp/mpc.el: Support password in host argument.
10424 (mpc--proc-connect): Parse and use new password element.
10425 Set mpc-proc variable instead of returning process.
10426 (mpc-proc): Adjust accordingly.
10428 2012-08-03 Eli Zaretskii <eliz@gnu.org>
10430 * whitespace.el (whitespace-display-mappings): Use Unicode
10431 codepoints, instead of emacs-mule codepoints. See
10432 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
10435 * files.el (file-truename): Don't skip symlink-chasing part on
10436 windows-nt. Incorporate the resolution of 8+3 short aliases on
10437 Windows into the loop that recursively chases symlinks.
10438 Compare directory and its parent case-insensitively on MS-Windows and
10441 2012-08-03 Chong Yidong <cyd@gnu.org>
10443 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
10445 * sort.el (sort-regexp-fields): Doc fix.
10447 2012-08-03 Tassilo Horn <tsdh@gnu.org>
10449 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
10450 labels regex position point at the expected place.
10452 2012-08-03 MON KEY <monkey@sandpframing.com>
10454 * net/imap.el (imap-interactive-login, imap-authenticate)
10455 (imap-mailbox-lsub, imap-mailbox-list)
10456 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
10457 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
10458 (imap-parse-response): Doc fix.
10460 2012-08-03 JoĂ£o TĂ¡vora <joaotavora@gmail.com>
10462 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
10463 if sexp scanning does not move point (Bug#5734).
10465 2012-08-02 Tassilo Horn <tsdh@gnu.org>
10467 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
10468 Add listings, minted, and ctable packages.
10469 (reftex-label-alist-builtin): Move listings, minted, and ctable
10470 entries before LaTeX.
10471 (reftex-label-alist): Docfix.
10473 2012-08-02 Bastien Guerry <bzg@gnu.org>
10475 * replace.el (occur): Fix docstring (bug#12122).
10477 2012-08-02 Glenn Morris <rgm@gnu.org>
10479 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
10481 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
10483 Obsolete alias inactivate-current-input-method-function (Bug#10150).
10484 * international/mule-cmds.el: Create
10485 inactivate-current-input-method-function as an obsolete alias for
10486 deactivate-current-input-method-function. See Katsumi Yamaoka in
10487 <http://bugs.gnu.org/10150#46>.
10489 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
10491 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
10494 2012-08-01 Glenn Morris <rgm@gnu.org>
10496 * progmodes/autoconf.el (autoconf-definition-regexp):
10497 Add AH_TEMPLATE, adjust submatch numbering.
10498 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
10499 (autoconf-current-defun-function): Update for above change.
10500 (autoconf-current-defun-function): First skip to end of current word.
10502 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
10504 * calendar/cal-html.el (cal-html-insert-agenda-days):
10505 Fix typo. (Bug#12018)
10507 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10509 Shell processes: enhancements to startup and CEDET compatibility.
10510 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
10511 (python-shell-make-comint): accept-process-output at startup.
10512 (run-python-internal): Set inferior-python-mode-hook to nil.
10513 (python-shell-internal-get-or-create-process): call sit-for.
10514 (python-preoutput-result): Add obsolete alias.
10515 (python-shell-internal-send-string): Use it.
10516 (python-shell-send-setup-code): Remove call to
10517 accept-process-output.
10519 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
10521 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
10524 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
10526 * calc-mode.el (calc-basic-simplification-mode): Rename from
10527 `calc-limited-simplification-mode'.
10528 (calc-alg-simplification-mode): New function.
10529 (calc-set-simplify-mode): Adjust message.
10531 * calc.el (calc-set-mode-line): Adjust mode line display for
10532 basic simplification mode.
10534 * calc-help.el (calc-m-prefix-help): Update help message.
10536 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
10537 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
10539 2012-07-31 Bastien Guerry <bzg@gnu.org>
10541 * man.el (man): Fix comment. (bug#12101)
10543 2012-07-31 Martin Rudalics <rudalics@gmx.at>
10545 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
10546 Don't return a non-nil value when no suitable buffer was found.
10548 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10550 * progmodes/python.el (run-python-internal): Disable font lock for
10553 2012-07-30 Stefan Merten <smerten@oekonux.de>
10555 * textmodes/rst.el: Silence `checkdoc-ispell'.
10556 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10557 (rst-official-version, rst-official-cvs-rev)
10558 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
10559 (rst-mode-map): New key binding.
10561 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
10563 Update .PHONY listings in makefiles.
10564 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
10565 autoloads, update-subdirs, updates, bzr-update, update-authors,
10566 compile-onefile, compile-calc, backup-compiled-files,
10567 compile-after-backup, compile-one-process, mh-autoloads,
10568 bootstrap-clean, distclean, maintainer-clean.
10570 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
10572 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
10573 (calc-set-mode-line): Don't display "AlgSimp ".
10575 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
10576 (calc-lim-simplify-mode): New function.
10577 (calc-set-simplify-mode): Default to 'alg.
10578 (calc-default-simplify-mode): Make algebraic simplifications
10581 * calc/calc-ext.el (calc-init-extensions): Remove binding for
10582 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
10584 * calc/calc-help.el (calc-m-prefix-help): Change messages to
10585 indicate new simplification modes.
10587 * calc/README: Mention new default simplification mode.
10589 * calc/calc.el (math-normalize-error): New variable.
10590 (math-normalize): Set `math-normalize-error' to t
10591 when there's an error.
10593 * calc/calc-alg.el (math-simplify): Don't simplify when
10594 `math-normalize' returns an error.
10596 2012-07-29 Eli Zaretskii <eliz@gnu.org>
10598 * international/mule-cmds.el (set-locale-environment): Revert last
10599 change, since display-graphic-p returns nil when this function is
10600 called during startup. Instead...
10602 * term/w32console.el (terminal-init-w32console): ...setup the
10603 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
10605 2012-07-29 Juri Linkov <juri@jurta.org>
10607 * simple.el (goto-line): Don't display default line number in the
10608 prompt because it should be displayed by `read-number' (bug#9952).
10609 Add the current line number to the defaults of `goto-line' to
10610 allow its easier modification by users with `M-n' (bug#9201).
10612 * subr.el (read-number): Support multiple default values like in
10613 other minibuffer reading functions. Replace `read' with
10614 `string-to-number' for consistency with `number-to-string'.
10616 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
10618 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
10619 * emulation/viper-init.el (viper-deactivate-input-method-action):
10620 Rename from viper-inactivate-input-method-action.
10621 (viper-deactivate-input-method):
10622 Rename from viper-inactivate-input-method.
10623 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
10624 * international/mule-cmds.el (deactivate-input-method):
10625 Rename from inactivate-input-method.
10626 Also run input-method-deactivate-hook.
10627 (deactivate-current-input-method-function):
10628 Rename from inactivate-current-input-method-function.
10629 (input-method-deactivate-hook): New hook.
10630 (input-method-inactivate-hook): Mark obsolete.
10631 (inactivate-input-method): Mark obsolete.
10633 * international/quail.el (quail-activate):
10634 Also run quail-deactivate-hook.
10635 (quail-deactivate): Rename from quail-inactivate.
10636 * international/robin.el (robin-activate):
10637 Also run robin-deactivate-hook.
10638 (robin-deactivate): Rename from robin-inactivate.
10640 2012-07-29 Chong Yidong <cyd@gnu.org>
10642 * simple.el (indicate-copied-region): New function.
10643 (kill-ring-save): Split off from here.
10645 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
10646 (kill-rectangle): Set deactivate-mark to t on read-only error.
10648 * register.el (copy-to-register, copy-rectangle-to-register):
10649 Deactivate the mark, and use indicate-copied-region (Bug#10056).
10650 (append-to-register, prepend-to-register): Call indicate-copied-region.
10652 2012-07-29 Juri Linkov <juri@jurta.org>
10654 * simple.el (async-shell-command-buffer): New defcustom.
10655 (shell-command): Use it. (Bug#4719)
10657 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10659 * international/mule-cmds.el (set-locale-environment): In a
10660 console session on MS-Windows, set up keyboard and terminal
10661 encoding from the OEM codepage, not the ANSI codepage.
10664 2012-07-28 Chong Yidong <cyd@gnu.org>
10666 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
10669 2012-07-28 Leo Liu <sdl.web@gmail.com>
10671 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
10672 the alist (bug#12029).
10674 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10676 * makefile.w32-in (custom-deps, finder-data, updates, compile)
10677 (compile-always, compile-first)
10678 ($(lisp)/calendar/cal-loaddefs.el)
10679 ($(lisp)/calendar/diary-loaddefs.el)
10680 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10681 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
10682 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
10683 instead of on update-subdirs.
10684 (bootstrap-clean): Delete $(lisp)/subdirs.el.
10686 2012-07-28 Chong Yidong <cyd@gnu.org>
10688 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
10689 directory if vc-deduce-backend returns nil (Bug#7350).
10691 * simple.el (delete-trailing-lines): New option.
10692 (delete-trailing-whitespace): Obey it (Bug#11879).
10694 2012-07-28 David Engster <deng@randomsample.de>
10696 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
10697 Explanation of new 'symbol-qnames feature in doc-strings.
10698 (xml-maybe-do-ns): Return expanded names as plain symbols if
10699 'symbol-qnames was provided in XML-NS argument (Bug#11916).
10700 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
10702 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10704 Consistent completion in inferior python with emacs -nw.
10705 * progmodes/python.el (inferior-python-mode): replace "<tab>"
10706 binding in inferior-python-mode-map with "\t".
10707 (python-shell-completion-complete-at-point)
10708 (python-completion-complete-at-point): Remove interactive spec.
10710 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10712 * calc/calccomp.el (math-compose-expr): Undo previous change.
10714 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10716 * progmodes/python.el (python-mode-map): Add keybinding for
10718 (python-shell-make-comint): Fix pop-to-buffer call.
10719 (run-python): Autoload. New arg SHOW.
10720 (python-shell-get-or-create-process): Do not pop python process
10723 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
10725 * notifications.el (notifications-on-action-signal)
10726 (notifications-on-closed-signal): Use also the bus address for the map.
10727 (notifications-notify, notifications-close-notification)
10728 (notifications-get-capabilities): Add optional argument BUS.
10730 2012-07-27 Tassilo Horn <tsdh@gnu.org>
10732 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
10733 Add support for the lstlisting and minted environments, and for the
10735 * textmodes/reftex.el (reftex-compile-variables): Also recognize
10736 labels written in keyvals syntax.
10738 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10740 * calc/calccomp.el (math-compose-expr): Use parentheses when
10741 there is a product in the denominator of a fraction.
10743 2012-07-26 Eli Zaretskii <eliz@gnu.org>
10745 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
10746 ($(lisp)/calendar/diary-loaddefs.el)
10747 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10748 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
10749 Fixes failures in parallel bootstrap because subdirs.el is being
10750 rewritten while the autoload files are built at the same time,
10751 which needs to load subdirs.el.
10753 2012-07-26 Martin Rudalics <rudalics@gmx.at>
10755 * mouse.el (popup-menu): Fix doc-string and re-indent code.
10756 (mouse-drag-line): Don't exit tracking when a switch-frame or
10757 switch-window event occurs (Bug#12006).
10759 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10761 * mouse.el (popup-menu): Fix last change.
10763 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10765 Autoload from Lisp with more care. Follow aliases when looking for
10766 function properties.
10767 * subr.el (autoloadp): New function.
10768 (symbol-file): Use it.
10769 (function-get): New function.
10770 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
10772 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
10773 (lisp-indent-function):
10774 * emacs-lisp/gv.el (gv-get):
10775 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
10776 * emacs-lisp/byte-opt.el (byte-optimize-form):
10777 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10778 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
10780 * emacs-lisp/cl.el: Don't propagate function properties any more.
10782 * speedbar.el (speedbar-add-localized-speedbar-support):
10783 * emacs-lisp/disass.el (disassemble-internal):
10784 * desktop.el (desktop-load-file):
10785 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
10786 (describe-function-1):
10787 * emacs-lisp/find-func.el (find-function-noselect):
10788 * emacs-lisp/elp.el (elp-instrument-function):
10789 * emacs-lisp/advice.el (ad-has-proper-definition):
10790 * apropos.el (apropos-safe-documentation, apropos-macrop):
10791 * emacs-lisp/debug.el (debug-on-entry):
10792 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
10793 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
10794 * calc/calc.el (name): Use autoloadp & autoload-do-load.
10796 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
10798 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
10799 function, not an obsolete variable (Bug#12046).
10801 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10803 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
10805 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
10807 * emacs-lisp/pp.el (pp-display-expression): Select old selected
10808 window only if it is still live (Bug#12034).
10810 2012-07-25 Martin Rudalics <rudalics@gmx.at>
10812 * subr.el (redirect-frame-focus): Add advertised calling
10813 convention (Bug#12030).
10815 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
10817 Prefer typical American spelling for "acknowledgment".
10818 * vc/add-log.el (change-log-acknowledgment): Rename from
10819 change-log-acknowledgement, with an alias for the old name.
10821 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
10823 * calc-alg.el (math-simplify-divide): Don't cross multiply
10824 in an equation when the lhs is a variable.
10826 2012-07-24 Julien Danjou <julien@danjou.info>
10828 * net/netrc.el (netrc-find-service-number, netrc-store-data):
10831 2012-07-23 Eli Zaretskii <eliz@gnu.org>
10833 * startup.el (command-line): Don't display an empty user name in
10834 the error message about non-existent home directory, when
10835 init-file-user was set to an empty string. See
10836 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
10837 for the details and context.
10839 2012-07-22 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10841 * ses.el (ses-cell-formula-aset): New macro.
10842 (ses-cell-references-aset): New macro.
10843 (ses-cell-p): New function.
10844 (ses-rename-cell): Do no longer rely on complex operations like
10845 ses-cell-set-formula or ses-set-cell to change the cell and handle
10846 the undo at the same time, but rather use lower level new macros
10847 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
10848 the undo directly. Refresh the mode line.
10850 2012-07-21 Leo Liu <sdl.web@gmail.com>
10852 * progmodes/cc-cmds.el (c-defun-name):
10853 Use match-string-no-properties instead for consistency.
10855 2012-07-20 Leo Liu <sdl.web@gmail.com>
10857 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
10860 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
10862 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
10864 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
10865 * progmodes/bug-reference.el, misearch.el: Provide themselves
10868 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
10869 of narrowed buffer (bug#11966).
10871 2012-07-20 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10873 * ses.el (ses-rename-cell): Set new name also in reference list of
10874 cells of which the renamed cell depends.
10876 2012-07-20 Masatake YAMATO <yamato@redhat.com>
10878 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
10879 to check whether menu-bar is shown or not. If not shown,
10880 show the menu-bar as a popup menu instead of using tmm.
10881 * mouse.el (popup-menu): Accept `point' as `position' argument.
10883 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
10885 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
10886 up inside string symbol literal (bug#11923).
10888 2012-07-20 Eli Zaretskii <eliz@gnu.org>
10890 * startup.el (fancy-startup-text): Read the whole tutorial, not
10891 just its first 256 bytes. Prevents gibberish in display of the
10894 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
10896 Drop idle buffer compaction due to an absence of the
10898 * compact.el: Remove.
10900 2012-07-19 Sam Steingold <sds@gnu.org>
10902 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
10903 vc-bzr-pull & vc-bzr-merge-branch.
10904 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
10905 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
10906 for consistency with compilation-error-regexp-alist.
10907 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
10908 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
10909 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
10910 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
10912 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
10914 * emacs-lisp/chart.el: Use lexical-binding.
10915 (chart-emacs-storage): Don't hardcode the list of entries.
10917 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
10919 Next round of tweaks caused by Fgarbage_collect changes.
10920 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
10922 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
10924 Compact buffers when idle.
10925 * compact.el: New file.
10927 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
10929 * subr.el (eventp): Presume that if it looks vaguely like an event,
10930 it's an event (bug#10190).
10932 2012-07-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10934 Enhancements to ppss related code (thanks Stefan).
10935 * progmodes/python.el (python-indent-context)
10936 (python-indent-calculate-indentation, python-indent-dedent-line)
10937 (python-indent-electric-colon, python-nav-forward-block)
10938 (python-mode-abbrev-table)
10939 (python-info-assignment-continuation-line-p): Simplify checks
10941 (python-info-continuation-line-p): Cleanup.
10942 (python-info-ppss-context): Do not catch 'quote.
10943 (python-info-ppss-context-type)
10944 (python-info-ppss-comment-or-string-p): Simplify.
10946 2012-07-18 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10948 * progmodes/python.el: Enhancements to eldoc support.
10949 (python-info-current-symbol): New function.
10950 (python-eldoc-at-point): Use python-info-current-symbol.
10951 (python-info-current-defun): Fix cornercase on first defun scan.
10952 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
10953 and signal error when no inferior python process is available.
10955 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
10957 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
10958 assume it's always t.
10959 (vc-git-registered): Remove caching, the function is only called
10961 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
10963 2012-07-18 Chong Yidong <cyd@gnu.org>
10965 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
10967 * simple.el (count-words): Report on narrowing (Bug#9959).
10969 * bindings.el: Bind M-= to count-words.
10971 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
10973 2012-07-18 Masatake YAMATO <yamato@redhat.com>
10975 * progmodes/sh-script.el (sh-imenu-generic-expression):
10976 Capture a function with `function' keyword and without parentheses
10977 like "function FOO" (bug#11856).
10979 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
10981 * window.el (split-window-sensibly): Make WINDOW argument
10984 2012-07-18 Chong Yidong <cyd@gnu.org>
10986 * subr.el (keyboard-translate): Doc fix (Bug#7261).
10988 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
10989 and make C-x 8 RET exit isearch (Bug#11439).
10991 * international/iso-transl.el: Move isearch-mode-map key
10992 definitions to isearch.el.
10994 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
10996 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
10997 (eieio-defclass): Use gv-define-setter when possible.
10999 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
11001 Reflect recent changes in Fgarbage_collect.
11002 * emacs-lisp/chart.el (chart-emacs-storage): Change to
11003 reflect new format of data returned by Fgarbage_collect.
11005 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11007 New utility functions + python-info-ppss-context fix (Bug#11910).
11008 * progmodes/python.el (python-info-beginning-of-block-statement-p)
11009 (python-info-ppss-comment-or-string-p): New functions.
11010 (python-info-ppss-context): Small fix for string check.
11012 2012-07-17 Juri Linkov <juri@jurta.org>
11014 * dired-aux.el (dired-do-async-shell-command): Doc fix.
11015 (dired-do-async-shell-command): Don't add `*' at the end of the
11016 command (Bug#11815).
11017 (dired-do-shell-command): Doc fix.
11018 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
11019 Join the individual commands using either "&" or ";" as the
11020 separator depending on the values of these trailing characters.
11021 At the end re-add the trailing "&". (Bug#10598)
11023 * simple.el (async-shell-command): Sync the interactive spec with
11024 `shell-command'. Doc fix.
11025 (shell-command): Doc fix.
11027 2012-07-17 Juri Linkov <juri@jurta.org>
11029 * descr-text.el (describe-char): Fix format args. (Bug#10129)
11031 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11033 Final renames and doc fixes for movement commands (bug#11899).
11034 * progmodes/python.el (python-nav-beginning-of-statement):
11035 Rename from python-nav-statement-start.
11036 (python-nav-end-of-statement): Rename from
11037 python-nav-statement-end.
11038 (python-nav-beginning-of-block): Rename from
11039 python-nav-block-start.
11040 (python-nav-end-of-block): Rename from python-nav-block-end.
11042 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11044 * progmodes/python.el (python-shell-send-string-no-output):
11045 Allow accept-process-output to quit, keeping shell process ready for
11046 future interactions (Bug#11868).
11048 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11050 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
11052 * emacs-lisp/elint.el (elint-find-args-in-code):
11053 Use help-function-arglist, so as to handle lexical byte-code.
11055 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
11056 change (bug#11826).
11058 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11060 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
11061 Avoid spuriously marking the buffer as modified because of c-is-sws.
11063 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
11064 as not-a-comment (bug#11946).
11066 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
11067 for uninterned vars.
11069 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
11070 Use read-event since we don't really want to read chars but bytes.
11072 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
11073 $$..$$ but also $..$ using regexps (bug#11953).
11074 Use tex-verbatim for \url and \path.
11075 (tex-font-lock-keywords): Define as defconst like the others.
11076 (tex-common-initialization): Don't use font-lock-syntax-table any more.
11078 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
11080 * international/mule-cmds.el (ucs-insert): Make it an obsolete
11081 alias for insert-char.
11083 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11085 * progmodes/python.el: Simplified imenu implementation.
11086 (python-nav-jump-to-defun): Remove command.
11087 (python-mode-map): Use `imenu' instead.
11088 (python-nav-list-defun-positions-cache)
11089 (python-imenu-include-defun-type, python-imenu-make-tree)
11090 (python-imenu-subtree-root-label, python-imenu-index-alist):
11092 (python-nav-list-defun-positions, python-nav-read-defun)
11093 (python-imenu-tree-assoc, python-imenu-make-element-tree)
11094 (python-imenu-make-tree, python-imenu-create-index):
11096 (python-mode): Update to interact with imenu by setting
11097 `imenu-extract-index-name-function' only.
11099 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11101 * progmodes/python.el: Enhancements to navigation commands.
11102 (python-nav-backward-sentence)
11103 (python-nav-forward-sentence): Remove.
11104 (python-nav-backward-statement, python-nav-forward-statement)
11105 (python-nav-statement-start, python-nav-statement-end)
11106 (python-nav-backward-block, python-nav-forward-block)
11107 (python-nav-block-start, python-nav-block-end)
11108 (python-nav-forward-sexp-function)
11109 (python-info-current-line-comment-p)
11110 (python-info-current-line-empty-p): New functions.
11111 (python-indent-context): Use `python-nav-statement-start'.
11113 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
11115 * eshell/em-ls.el (eshell/ls): Use `apply'.
11117 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
11118 multi-hops, instead of Tramp internals.
11120 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
11122 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
11123 when F1 and F2 are located on different hosts.
11125 2012-07-14 Chong Yidong <cyd@gnu.org>
11127 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
11128 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
11129 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
11130 (xterm-mouse--read-event-sequence-1000)
11131 (xterm-mouse--read-event-sequence-1006): New functions. For old
11132 mouse protocol, handle M-mouse-X events correctly.
11133 (xterm-mouse-event): New arg specifying mouse protocol.
11134 (turn-on-xterm-mouse-tracking-on-terminal)
11135 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
11136 sequence to toggle extended coordinates on newer XTerms.
11137 This appears to be harmless on terminals which do not support this.
11139 2012-07-14 Leo Liu <sdl.web@gmail.com>
11141 Add fringe bitmap indicators for flymake. (Bug#11253)
11142 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
11143 (flymake-make-overlay): New arg BITMAP.
11144 (flymake-error-bitmap, flymake-warning-bitmap)
11145 (flymake-fringe-indicator-position): New user variables.
11147 * fringe.el: New bitmap exclamation-mark.
11149 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
11151 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
11154 2012-07-14 Chong Yidong <cyd@gnu.org>
11156 * electric.el (electric-pair-post-self-insert-function): Fix pair
11157 insertion in empty-region case (Bug#11520).
11159 2012-07-14 Chong Yidong <cyd@gnu.org>
11161 * bindings.el: Consolidate ctl-x-r-map bindings.
11162 Bind copy-rectangle-as-kill to C-x r w.
11164 * rect.el, register.el: Move bindings to bindings.el.
11166 2012-07-14 Reuben Thomas <rrt@sc3d.org>
11168 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
11170 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
11172 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
11174 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
11176 * bindings.el (top): Use `mapc' instead of `mapcar'.
11178 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
11180 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
11182 * progmodes/sql.el (sql-comint): Suppress the check for program on
11183 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
11186 2012-07-13 Chong Yidong <cyd@gnu.org>
11188 * bindings.el: Assign a non-nil permanent-local property to
11189 per-buffer variables which lack a default value (Bug#11930).
11191 * help-fns.el (describe-variable): In the "automatically becomes
11192 local" notice, take note of permanent-local variables.
11194 2012-07-13 Chong Yidong <cyd@gnu.org>
11196 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
11197 to allow printing the message when called from Lisp.
11199 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11200 Remove toggle-read-only.
11202 * bs.el (bs-toggle-readonly):
11203 * buff-menu.el (Buffer-menu-toggle-read-only):
11204 Remove with-no-warnings around toggle-read-only.
11206 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
11207 Remove with-no-warnings around toggle-read-only.
11208 (ffap-read-only, ffap-read-only-other-window)
11209 (ffap-read-only-other-frame): Callers changed.
11211 * help-mode.el: Don't require view package.
11212 (help-mode-finish): Set buffer-read-only instead of calling
11215 * bindings.el (mode-line-toggle-read-only):
11216 * dired.el (dired-toggle-read-only):
11217 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
11218 with non-nil second arg.
11220 * emacs-lisp/eieio-custom.el (eieio-customize-object):
11221 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
11224 2012-07-12 Eli Zaretskii <eliz@gnu.org>
11226 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
11229 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
11231 More CL cleanups and reduction of use of cl.el.
11232 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
11233 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
11234 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
11235 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
11236 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
11237 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
11238 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
11239 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
11240 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
11241 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
11242 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
11243 * eshell/em-cmpl.el, eshell/em-banner.el:
11244 * calendar/parse-time.el: Use cl-lib.
11245 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
11246 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
11247 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
11248 * term/ns-win.el, term.el, shell.el, ps-samp.el:
11249 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
11250 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
11251 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
11252 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
11253 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
11254 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
11255 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
11256 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
11257 `lambda' rather than with `quote'.
11258 (eshell-do-opt): Adjust accordingly.
11259 (eshell-process-option): Simplify.
11260 * eshell/esh-var.el:
11261 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
11262 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
11263 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
11264 to `pcase--dontcare'.
11265 * emacs-lisp/cl.el (labels): Mark obsolete.
11266 (cl--letf, letf): Move to cl-lib.
11267 (cl--letf*, letf*): Remove.
11268 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
11269 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
11270 (cl-progv): Rewrite.
11271 (cl--letf, cl-letf): Move from cl.el.
11272 (cl-letf*): New macro.
11273 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
11275 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
11277 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
11279 2012-07-11 Chong Yidong <cyd@gnu.org>
11281 * vc/log-edit.el (log-edit-vc-backend): New variable.
11282 (log-edit): Doc fix.
11284 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
11285 argument of log-edit to set up all local variables.
11286 (vc-start-logentry): New optional arg specifying VC backend.
11288 * vc/vc.el (vc-checkin): Use it.
11289 (vc-deduce-fileset): Handle Log Edit buffers.
11290 (vc-diff): Make first argument optional too.
11292 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
11294 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
11296 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
11297 command, just in case. The function is not needed anymore.
11298 (eshell-external-command): Do not call `eshell-remote-command'.
11300 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
11302 Reduce use of (require 'cl).
11303 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
11304 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
11305 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
11306 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
11307 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
11308 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
11309 * battery.el, avoid.el, abbrev.el: Use cl-lib.
11310 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
11311 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
11312 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
11313 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
11314 * calculator.el, autorevert.el, apropos.el: Don't require CL.
11315 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
11316 (byte-compile-unfold-bcf, byte-compile-check-variable):
11317 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
11318 (byte-compile-nilconstp):
11319 * emacs-lisp/autoload.el (make-autoload): Use pcase.
11320 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
11322 * emacs-lisp/gv.el (cond): Make it a valid place.
11323 (if): Simplify slightly.
11325 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
11326 (pcase--self-quoting-p): New function.
11327 (pcase--u1): Use it.
11329 2012-07-10 Glenn Morris <rgm@gnu.org>
11331 * emacs-lisp/authors.el (authors-fixed-entries):
11332 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
11334 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
11336 Rename configure.in to configure.ac (Bug#11603).
11337 * emacs-lisp/authors.el (authors-canonical-file-name):
11338 * progmodes/autoconf.el (autoconf-mode):
11339 Prefer configure.ac to configure.in.
11341 2012-07-08 Chong Yidong <cyd@gnu.org>
11343 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
11344 Implement the mouse-1-click-follows-link handling properly.
11346 * info.el (Info-link-keymap): Use follow-link mechanism for
11347 header-line links (Bug#374).
11349 * simple.el (deactivate-mark): Do not set the primary selection
11350 if another program has acquired it (Bug#11772).
11352 2012-07-07 Kevin Ryde <user42@zip.com.au>
11354 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
11355 (woman-decode-region): Replace escaped-escapes without destroying
11356 bold or underline (Bug#11552).
11357 (woman2-process-escapes): Handle nofill regions (Bug#11591).
11359 2012-07-07 Chong Yidong <cyd@gnu.org>
11361 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
11362 (interprogram-cut-function, interprogram-paste-function):
11363 Mention that we typically mean the clipboard.
11365 2012-07-06 Glenn Morris <rgm@gnu.org>
11367 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
11369 * files.el (toggle-read-only): Restrict message to interactive use.
11371 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
11373 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
11375 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
11377 2012-07-06 Glenn Morris <rgm@gnu.org>
11379 * Makefile.in (compile-one-process): Rename from "recompile".
11381 * Makefile.in (bzr-update): "compile" is the same as "recompile
11382 autoloads", but parallelizable, so use that instead.
11384 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
11386 * window.el (quit-window): Always restore window height when
11387 it's saved in quit-restore parameter (Bug#11810).
11389 2012-07-06 Glenn Morris <rgm@gnu.org>
11391 * simple.el (kill-whole-line): Doc tweak.
11393 2012-07-06 Eli Zaretskii <eliz@gnu.org>
11395 * files.el (file-relative-name): Compare file names
11396 case-insensitively if on MS-Windows or MS-DOS, or if
11397 read-file-name-completion-ignore-case is non-nil. Don't use
11398 case-fold-search for this purpose. (Bug#11827)
11400 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
11402 * calendar/cal-dst.el (calendar-current-time-zone):
11403 Return calendar-current-time-zone-cache if non-nil.
11405 2012-07-17 Masatake YAMATO <yamato@redhat.com>
11406 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11408 * calendar/cal-dst.el (calendar-current-time-zone):
11409 Return calendar-current-time-zone-cache if non-nil.
11411 2012-07-06 Glenn Morris <rgm@gnu.org>
11413 * Makefile.in (cvs-update): Remove old alias.
11415 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
11417 Sync with Tramp 2.2.6-pre.
11419 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
11420 compatible declaration.
11422 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11423 Protect `list-load-path-shadows' call.
11425 * net/tramp-compat.el (top): Require packages, which aren't
11426 autoloaded anymore for XEmacs. Protect call of
11427 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
11428 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
11429 it hurts at least for SXEmacs.
11430 (tramp-compat-temporary-file-directory): In XEmacs, there is no
11431 standard-value for `temporary-file-directory'.
11433 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
11434 Redirect stderr to /dev/null.
11435 (tramp-sh-handle-write-region): uid and gid can be floats.
11436 Reported by Russell Sim <russell.sim@gmail.com>.
11437 (tramp-sh-handle-vc-registered): Hide errors.
11438 (tramp-vc-file-name-handler): Use dummy results for `process-file'
11439 and `start-file-process'.
11440 (tramp-maybe-open-connection): Check also whether `non-essential'
11443 2012-07-04 Chong Yidong <cyd@gnu.org>
11445 * xml.el (xml--parse-buffer): Use xml-syntax-table.
11446 (xml-parse-tag): Likewise, and avoid changing entity tables.
11447 (xml-syntax-table): Define from scratch, making sure not to give
11448 x2000 and other Unicode spaces whitespace syntax, since those are
11450 (xml-parse-fragment): Delete unused function.
11451 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
11452 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
11453 (xml-entity-ref, xml-pe-reference-re)
11454 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
11455 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
11456 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
11457 (xml-entity-value-re): Use syntax references in regexps where
11458 possible; no need to define inside a let-binding.
11459 (xml-parse-dtd): Use xml-pe-reference-re.
11460 (xml-entity-or-char-ref-re): New defconst.
11461 (xml-parse-string, xml-substitute-special): Use it.
11463 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11465 * files.el (locate-dominating-file): Allow `name' to be a predicate.
11466 (find-file--read-only): New function.
11467 (find-file-read-only, find-file-read-only-other-window)
11468 (find-file-read-only-other-frame): Use it.
11469 (insert-file-contents-literally): Don't `fset'.
11470 (get-free-disk-space): Use locate-dominating-file.
11472 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
11473 function is already compiled.
11475 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
11477 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
11479 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
11480 files on the same host.
11482 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
11484 * help-fns.el (describe-function-1): Only call
11485 help-fns--autoloaded-p when we have a file name. (Bug#11848)
11487 2012-07-03 Chong Yidong <cyd@gnu.org>
11489 * xml.el: Protect parser against XML bombs.
11490 (xml-entity-expansion-limit): New variable.
11491 (xml-parse-string, xml-substitute-special): Use it.
11492 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
11494 2012-07-03 Glenn Morris <rgm@gnu.org>
11496 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11497 Allow linking to specific messages in debbugs reports (eg 123#5).
11499 2012-07-02 Chong Yidong <cyd@gnu.org>
11501 * xml.el: Fix entity and character reference expansion, allowing
11502 them to expand into markup as per XML spec.
11503 (xml-default-ns): New variable.
11504 (xml-entity-alist): Use XML spec definitions for lt and amp.
11505 (xml-parse-region): Make first two arguments optional.
11506 Discard text properties.
11507 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
11508 All callers changed.
11509 (xml-parse-tag): Call xml-parse-tag-1. For backward
11510 compatibility, this function should not modify buffer contents.
11511 (xml-parse-tag-1): Fix opening-tag regexp.
11512 (xml-parse-string): Rewrite, handling entity and character
11513 references properly.
11514 (xml--entity-replacement-text): Signal an error if a parameter
11515 entity is undefined.
11517 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11519 * comint.el (comint-output-filter): Filter out repeated prompts.
11521 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
11522 and file-name-absolute-p.
11523 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
11526 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
11529 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
11530 Rename from byte-compile--refiy-function. All uses changed.
11532 2012-07-01 Chong Yidong <cyd@gnu.org>
11534 * xml.el (xml--parse-buffer): New function. Move most of
11535 xml-parse-region here.
11536 (xml-parse-region): Copy region into a temporary buffer, since
11537 parameter entity substitution requires changing buffer contents.
11538 Use xml--parse-buffer.
11539 (xml-parse-file): Use xml--parse-buffer.
11540 (xml-parse-dtd): Make parameter entity substitution work right.
11541 Use proper regexps for ELEMENT declarations (Bug#7172).
11543 2012-06-30 Glenn Morris <rgm@gnu.org>
11545 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
11547 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
11548 Remove outdated and unnecessary dbus declarations.
11550 2012-06-30 Eli Zaretskii <eliz@gnu.org>
11552 * emacs-lisp/timer.el (timer-until): Subtract results of
11553 float-time, instead of taking float-time of the result of
11554 time-subtract, since float-time signals an error for negative time
11557 2012-06-30 Chong Yidong <cyd@gnu.org>
11559 * xml.el (xml-*-re): Convert defvars into defconsts, and
11560 eval-and-compile them so eval-and-compile works on derivatives.
11561 (xml--entity-replacement-text): Use eval-and-comple.
11563 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
11565 * vc/vc-git.el (vc-git-registered): Use cache property
11567 (vc-git-mode-line-string): Call `vc-working-revision' instead of
11568 `vc-git-working-revision' in order to benefit from the cache.
11569 (vc-git-root): Use cache property `git-root'. (Bug#11757)
11571 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
11573 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
11574 removed (likely outside Emacs). (Bug#11757)
11576 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11578 * emacs-lisp/cl-lib.el: Require macroexp.
11580 2012-06-30 Chong Yidong <cyd@gnu.org>
11582 * xml.el: Implement XML parameter entities.
11583 (xml-parameter-entity-alist): New variable.
11584 (xml-parse-region, xml-parse-fragment): Preserve previous values
11585 of xml-entity-alist and xml-parameter-entity-alist, so that
11586 repeated calls on different documents do not change them.
11587 (xml-parse-tag): Fix doctype regexp.
11588 (xml--entity-replacement-text): New function.
11589 (xml-parse-dtd): Use it. Don't handle system entities; doing that
11590 properly requires url retrieval which is unimplemented.
11591 (xml-escape-string): Doc fix.
11593 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11595 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
11597 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
11599 * fringe.el (fringe-mode): Doc fix.
11601 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
11603 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
11605 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
11606 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
11608 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
11610 * calendar/cal-dst.el (calendar-current-time-zone):
11611 Return calendar-current-time-zone-cache if non-nil.
11613 2012-06-29 Masatake YAMATO <yamato@redhat.com>
11615 * progmodes/which-func.el (which-func-format):
11616 Add mouse-face. (Bug#11698)
11618 2012-06-29 Leo Liu <sdl.web@gmail.com>
11620 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
11622 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11624 * minibuffer.el (minibuffer-confirm-exit-commands):
11625 Add completion-at-point (bug#11725).
11627 2012-06-29 Glenn Morris <rgm@gnu.org>
11629 * progmodes/f90.el (f90-font-lock-keywords-2):
11630 Add some preprocessor elements. (Bug#10499)
11632 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11634 * progmodes/cperl-mode.el (cperl-update-syntaxification):
11635 Use syntax-propertize (bug#11739).
11637 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
11639 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
11641 2012-06-28 Julien Danjou <julien@danjou.info>
11643 * term.el (term-handle-colors-array): Use a set of new faces to
11644 color the terminal. Also uses :inverse-video property.
11645 (term-default-fg-color): Set to nil by default, deprecate in favor
11647 (term-default-bg-color): Set to nil by default, deprecate in favor
11649 (term-current-face): Use `term-face' by default.
11650 (term-bold-attribute): Variable deleted.
11652 2012-06-28 Glenn Morris <rgm@gnu.org>
11654 * simple.el (completion-list-mode-finish):
11655 Don't use toggle-read-only. (Since completion-list-mode has
11656 a special mode-class, it wasn't doing anything extra anyway.)
11658 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
11660 Make inlining of other-mode interpreted functions work (bug#11799).
11661 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
11662 (byte-compile): Use it to fix compilation of lexical-binding closures.
11663 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
11664 function, if needed.
11666 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11668 * help-mode.el (help-make-xrefs): Don't just withstand
11669 cyclic-variable-indirection but any error in documentation-property.
11671 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
11673 * bindings.el (bindings--define-key): New function.
11674 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
11675 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
11676 * bindings.el: Use it to purecopy define-key bindings.
11678 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
11680 * emacs-lisp/cl.el (flet): Mark obsolete.
11681 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
11682 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
11683 * progmodes/js.el (js-c-fill-paragraph):
11684 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
11685 (ebrowse-switch-member-buffer-to-derived-class):
11686 * play/5x5.el (5x5-solver): Use cl-flet.
11688 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
11689 (cl--symbol-function): New macro.
11690 (cl--letf, cl--letf*): Use it.
11692 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
11693 Strip "toggle-" if any.
11695 2012-06-27 Glenn Morris <rgm@gnu.org>
11697 * info.el (Info-default-directory-list): Move here from paths.el.
11698 * paths.el: Remove file, which is now empty.
11699 * loadup.el: No longer load "paths".
11701 * custom.el (custom-initialize-delay): Doc fix.
11703 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11704 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
11705 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
11706 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
11707 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
11708 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
11709 * eshell/eshell.el (eshell-defgroup): Remove alias.
11711 2012-06-27 Chong Yidong <cyd@gnu.org>
11713 * help.el (help-enable-auto-load): New variable.
11715 * help-fns.el (help-fns--autoloaded-p): New function.
11716 (describe-function-1): Refer to a function as "autoloaded" if it
11717 was autoloaded at any time in the past. Perform autoloading if
11718 help-enable-auto-load is non-nil.
11720 2012-06-26 Eli Zaretskii <eliz@gnu.org>
11722 * makefile.w32-in (compile, compile-always): Depend on
11723 update-subdirs, not on subdirs.el. Otherwise, several different
11724 sub-targets of 'bootstrap' running in parallel could
11725 simultaneously write to subdirs.el, producing a garbled file.
11727 2012-06-26 Sam Steingold <sds@gnu.org>
11729 * files.el (file-name-base): New convenience function.
11730 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
11731 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
11732 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
11733 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
11734 * textmodes/ispell.el, textmodes/reftex-ref.el:
11735 * textmodes/tex-mode.el: Use it.
11736 Did not touch cedet and org because they are maintained elsewhere.
11738 2012-06-26 Martin Rudalics <rudalics@gmx.at>
11740 * calendar/calendar.el (calendar-exit): Don't try to delete or
11741 iconify last frame. See:
11742 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
11744 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
11746 * server.el (server-process-filter): Remember dir in the
11747 process's `server-client-directory' properties.
11749 2012-06-24 Chong Yidong <cyd@gnu.org>
11751 * xml.el (xml-parse-tag): Correctly handle comment embedded in
11754 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
11756 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
11758 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11760 * help-fns.el (describe-variable): Don't croak when doc is not found.
11761 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
11762 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
11763 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
11764 * emacs-lisp/smie.el (smie-next-sexp): CSE.
11765 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
11767 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
11769 2012-06-23 Chong Yidong <cyd@gnu.org>
11771 * info.el (Info-mouse-follow-link): Accept symbol values of
11772 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
11773 (Info-fontify-node): Use Info-link-keymap for all navigation
11774 buttons, with link-args property to perform the desired action.
11775 (Info-link-keymap): Doc fix.
11776 (Info-next-link-keymap, Info-prev-link-keymap)
11777 (Info-up-link-keymap): Delete now-unused keymaps.
11779 2012-06-23 Chong Yidong <cyd@gnu.org>
11781 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
11783 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
11786 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
11788 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11790 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
11793 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
11794 the requote function doesn't work properly (bug#11714).
11796 2012-06-23 Glenn Morris <rgm@gnu.org>
11798 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
11800 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11802 Further GV/CL cleanups.
11803 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
11805 (gv--defun-declaration): New function.
11806 (defun-declarations-alist): Use it.
11807 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
11808 (gv-place): Autoload.
11809 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
11810 original definition of dotimes and dolist.
11811 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
11812 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
11813 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
11814 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11815 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
11816 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
11817 to the function's definition.
11818 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
11822 * env.el: Don't use CL.
11824 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
11826 Support higher-resolution time stamps (Bug#9000).
11828 * calendar/time-date.el (with-decoded-time-value): New arg
11829 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
11830 (encode-time-value): New optional arg PICO. New type 3.
11831 (time-to-seconds) [!float-time]: Support the new picoseconds
11832 component if it's used.
11833 (seconds-to-time, time-subtract, time-add):
11834 Support ps-resolution time stamps as well.
11836 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
11837 (timerp): Timer vectors now have length 9, not 8.
11838 (timer--time): Support new-style (4-part) time stamps.
11839 (timer-next-integral-multiple-of-time): Time stamps now have
11840 picosecond resolution, so take a bit more care about rounding.
11841 (timer-relative-time, timer-inc-time): New optional arg psecs.
11842 (timer-set-time-with-usecs): Set psecs to 0.
11843 (timer--activate): Check psecs component, too.
11845 * proced.el (proced-time-lessp): Support ps-resolution stamps.
11847 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11849 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
11850 Move the non-essential binding to the post/pre-command-hook where it is
11851 more obviously correct.
11853 * subr.el (read-passwd): Don't use a history at all.
11854 * savehist.el (savehist-save): Remove password saved accidentally
11855 because of the above bug.
11857 2012-06-22 Bastien Guerry <bzg@gnu.org>
11859 * files.el (toggle-read-only): Display a message telling whether
11860 the buffer is read-only or not (bug#11726).
11862 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11864 * emacs-lisp/gv.el: New file.
11865 * subr.el (push, pop): Extend to generalized variables.
11866 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
11867 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
11868 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
11869 gv-define-simple-setter, and gv-define-expander.
11870 Remove setf-methods defined in gv. Rename cl-setf -> setf.
11871 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
11872 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
11873 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
11874 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
11876 (cl-defstruct): Don't define setf-method any more.
11877 * emacs-lisp/cl.el (flet): Don't autoload.
11878 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
11879 (define-setf-expander, defsetf, define-modify-macro)
11880 (cl-struct-setf-expander): Move from cl-lib.el.
11881 * emacs-lisp/syntax.el:
11882 * emacs-lisp/ewoc.el:
11883 * emacs-lisp/smie.el:
11884 * emacs-lisp/cconv.el:
11885 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
11886 (timer--time): Use gv-define-simple-setter.
11887 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
11888 to avoid coding-system problems in subr.el. Adjust all users.
11889 (macroexp--maxsize, macroexp-small-p): New functions.
11890 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
11891 * scroll-bar.el (scroll-bar-mode):
11892 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11893 (normal-erase-is-backspace-mode): Don't use the `eq' place.
11894 * winner.el (winner-configuration, winner-make-point-alist)
11895 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
11896 * files.el (locate-file-completion-table): Avoid list*.
11898 2012-06-22 Chong Yidong <cyd@gnu.org>
11900 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
11901 (dired-create-files): Doc fix (Bug#11329).
11902 (dired-do-copy): Doc fix (Bug#11334).
11903 (dired-mark-read-string): Doc fix (Bug#11553).
11905 * dired.el (dired-recursive-copies, dired-recursive-deletes):
11906 Doc fix (Bug#11326).
11907 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
11908 (dired-dwim-target): Doc fix.
11910 * wdired.el (wdired-mode): Doc fix.
11912 2012-06-22 Glenn Morris <rgm@gnu.org>
11914 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
11915 (pcmpl-rpm-cache-stamp-file): New constant.
11916 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
11917 (pcmpl-rpm-packages): Optionally cache list of packages.
11919 * pcmpl-rpm.el (pcmpl-rpm): New group.
11920 (pcmpl-rpm-query-options): New option.
11921 (pcmpl-rpm-packages): No need to inline it.
11922 Use pcmpl-rpm-query-options.
11924 * calendar/calendar.el (calendar-in-read-only-buffer):
11925 Avoid some needless mode changes.
11927 2012-06-21 Chong Yidong <cyd@gnu.org>
11929 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
11930 (desktop-path): Remove . from the default value (Bug#10977).
11931 (desktop-read): Use user-emacs-directory if desktop-path is nil.
11933 2012-06-20 Chong Yidong <cyd@gnu.org>
11935 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
11937 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
11939 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
11942 2012-06-20 Chong Yidong <cyd@gnu.org>
11944 * term.el (term-window-width): Handle the case of a missing right
11946 (term-check-size): Use window-text-height (Bug#5445).
11947 (term-mode): Use define-derived-mode. Minor cleanups.
11948 Set font-lock-defaults (Bug#7692).
11949 (term-move-columns, term-insert-char, term-emulate-terminal)
11950 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
11952 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
11954 * net/ange-ftp.el (ange-ftp-get-passwd):
11955 Bind `enable-recursive-minibuffers'.
11956 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
11958 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
11960 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
11962 2012-06-19 Glenn Morris <rgm@gnu.org>
11964 * progmodes/python.el (python-mode): Derive from prog-mode.
11966 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
11968 * emulation/edt.el (edt-default-menu-bar-update-buffers)
11969 (edt-user-menu-bar-update-buffers): New functions.
11970 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
11972 2012-06-19 Chong Yidong <cyd@gnu.org>
11974 * subr.el (with-selected-window): Preserve the selected window's
11975 terminal's top-frame (Bug#4702).
11977 * window.el (save-selected-window): Likewise.
11979 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11981 * progmodes/python.el (python-rx-constituents): Move backquote.
11982 (python-skeleton-define, python-define-auxiliary-skeleton):
11985 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
11987 * minibuffer.el (read-file-name-default): Revert the patch from
11990 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11992 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
11993 (pcase--u1, pcase--q1): Don't use apply-partially.
11995 2012-06-18 Glenn Morris <rgm@gnu.org>
11997 * progmodes/python.el (python-proc, python-buffer)
11998 (python-send-receive, python-send-string): Fix obsolete versions.
12000 2012-06-18 Martin Rudalics <rudalics@gmx.at>
12002 * window.el (special-display-p): Completely remove stringp
12003 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
12005 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
12007 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
12009 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
12011 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
12012 * net/tramp-sh.el (tramp-maybe-open-connection):
12013 Throw if `non-essential' is non-nil.
12015 2012-06-17 Martin Rudalics <rudalics@gmx.at>
12017 * window.el (special-display-p): Signal an error if BUFFER-NAME
12018 is not a string (Bug#11713).
12020 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
12022 * progmodes/python.el (python-info-beginning-of-backslash):
12023 Rename from python-info-beginning-of-backlash, as a spelling fix.
12025 2012-06-17 Chong Yidong <cyd@gnu.org>
12027 * term.el (term-emulate-terminal): If term-check-size is called,
12028 move point to the process mark without resetting point (Bug#4635).
12030 2012-06-17 Glenn Morris <rgm@gnu.org>
12032 * international/mule-cmds.el (mule-menu-keymap)
12033 (set-language-environment, set-locale-environment): Doc tweaks.
12035 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
12037 * cus-face.el (custom-face-attributes): Add wave-style underline
12039 * faces.el (set-face-attribute): Update docstring to describe
12040 wave-style underline attribute.
12042 2012-06-16 Chong Yidong <cyd@gnu.org>
12044 * term/xterm.el (terminal-init-xterm): Discard input before
12045 querying background mode (Bug#10959).
12047 2012-06-16 Stefan Merten <smerten@oekonux.de>
12049 * textmodes/rst.el: Added and corrected some comments.
12050 (rst-re-alist-def): Improve symbol syntax.
12051 (rst-mode-syntax-table): Correct syntax entries.
12052 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
12053 (rst-official-version, rst-official-cvs-rev): Update version
12056 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
12058 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
12059 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
12061 2012-06-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
12063 * progmodes/python.el: New python.el merge.
12064 (python-guess-indent): Obsolete var.
12065 (python-indent-guess-indent-offset): New defcustom.
12066 (python-indent): Obsolete var.
12067 (python-indent-offset): New defcustom.
12068 (python-python-command, python-jython-command): Delete var.
12069 (python-shell-interpreter): New defcustom.
12070 (python-pdbtrack-do-tracking-p): Delete var.
12071 (python-pdbtrack-activate): New defcustom.
12072 (python-use-skeletons): Obsolete var.
12073 (python-skeleton-autoinsert): New defcustom.
12074 (inferior-python-filter-regexp, python-continuation-offset)
12075 (python-honour-comment-indentation, python-indent-string-contents)
12076 (python-jython-packages, python-mode-hook)
12077 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
12078 (python-shell-prompt-alist)
12079 (python-source-modes): Delete defcustoms.
12080 (python-check-buffer-name, python-eldoc-setup-code)
12081 (python-eldoc-string-code, python-ffap-setup-code)
12082 (python-ffap-string-code, python-fill-comment-function)
12083 (python-fill-decorator-function, python-fill-paren-function)
12084 (python-fill-string-function, python-imenu-include-defun-type)
12085 (python-imenu-make-tree, python-imenu-subtree-root-label)
12086 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
12087 (python-shell-compilation-regexp-alist)
12088 (python-shell-completion-module-string-code)
12089 (python-shell-completion-pdb-string-code)
12090 (python-shell-completion-setup-code)
12091 (python-shell-completion-string-code)
12092 (python-shell-enable-font-lock, python-shell-exec-path)
12093 (python-shell-extra-pythonpaths)
12094 (python-shell-internal-buffer-name, python-shell-interpreter-args)
12095 (python-shell-process-environment)
12096 (python-shell-prompt-block-regexp)
12097 (python-shell-prompt-output-regexp)
12098 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
12099 (python-shell-send-setup-max-wait, python-shell-setup-codes)
12100 (python-shell-virtualenv-path): New defcustoms.
12101 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
12102 (inferior-python-mode-syntax-table, python--prompt-regexp)
12103 (python-buffer, python-command python-python-command)
12104 (python-default-template, python-imports, python-indent-index)
12105 (python-indent-list, python-indent-list-length)
12106 (python-mode-running, python-pdbtrack-is-tracking-p)
12107 (python-preoutput-continuation, python-preoutput-leftover)
12108 (python-preoutput-result, python-preoutput-skip-next-prompt)
12109 (python-prev-dir/file, python-recursing)
12110 (python-saved-check-command, python-version-checked)
12111 (python-which-func-length-limit)
12112 (view-return-to-alist): Delete vars.
12113 (python-check-custom-command, python-dotty-syntax-table)
12114 (python-imenu-index-alist, python-indent-current-level)
12115 (python-indent-dedenters, python-indent-levels)
12116 (python-nav-beginning-of-defun-regexp)
12117 (python-nav-list-defun-positions-cache)
12118 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
12119 (python-shell-internal-buffer)
12120 (python-skeleton-available): New vars.
12121 (def-python-skeleton): Delete macro.
12122 (python-skeleton-define): New macro.
12123 (python-define-auxiliary-skeleton, python-rx): New macros.
12124 (python-insert-class): Delete command.
12125 (python-skeleton-class): New command.
12126 (python-insert-def): Delete command.
12127 (python-skeleton-def): New command.
12128 (python-insert-for): Delete command.
12129 (python-skeleton-for): New command.
12130 (python-insert-if): Delete command.
12131 (python-skeleton-if): New command.
12132 (python-insert-try/except, python-insert-try/finally): Delete commands.
12133 (python-skeleton-try): New command.
12134 (python-insert-while): Delete command.
12135 (python-skeleton-while): New command.
12136 (python-backspace): Delete command.
12137 (python-indent-dedent-line-backspace): New command.
12138 (python-electric-colon): Delete command.
12139 (python-indent-electric-colon): New command.
12140 (python-guess-indent): Delete command.
12141 (python-indent-guess-indent-offset): New command.
12142 (python-shift-left): Delete command.
12143 (python-indent-shift-left): New command.
12144 (python-shift-right): Delete command.
12145 (python-indent-shift-right): New command.
12146 (python-find-function): Delete command.
12147 (python-nav-jump-to-defun): New command.
12148 (python-next-statement): Delete command.
12149 (python-nav-forward-sentence): New command.
12150 (python-previous-statement): Delete command.
12151 (python-nav-backward-sentence): New command.
12152 (python-fill-paragraph): Delete command.
12153 (python-fill-paragraph-function): New command.
12154 (python-send-buffer): Delete command.
12155 (python-shell-send-buffer): New command.
12156 (python-send-defun): Delete command.
12157 (python-shell-send-defun): New command.
12158 (python-send-region, python-send-region-and-go): Delete commands.
12159 (python-shell-send-region)
12160 (python-shell-switch-to-shell): New commands.
12161 (python-send-string): Delete command.
12162 (python-shell-send-string): New command.
12163 (python-switch-to-python): Delete command.
12164 (python-shell-switch-to-shell): New command.
12165 (python-describe-symbol): Delete command.
12166 (python-eldoc-at-point): New command.
12167 (python--set-prompt-regexp, python-args-to-list)
12168 (python-after-info-look, python-check-version)
12169 (python-check-comint-prompt, python-find-imports)
12170 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
12171 (python-unload-function, python-expand-template)
12172 (python-maybe-jython, python-preoutput-filter)
12173 (python-pdbtrack-get-source-buffer)
12174 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
12175 (python-pdbtrack-toggle-stack-tracking)
12176 (python-pdbtrack-track-stack-file, python-initial-text)
12177 (python-first-word, python-comment-line-p, python-send-command)
12178 (python-setup-brm, python-sentinel, python-set-proc)
12179 (python-skip-out, python-input-filter, python-outdent-p)
12180 (python-outline-level, python-backslash-continuation-line-p)
12181 (python-end-of-block, python-end-of-statement, python-mark-block)
12182 (python-beginning-of-block, python-beginning-of-statement)
12183 (python-blank-line-p, python-beginning-of-string)
12184 (python-open-block-statement-p): Delete functions.
12185 (python-indent-line, python-indent-line-1): Delete functions.
12186 (python-indent-line): New function.
12187 (python-indentation-levels): Delete function.
12188 (python-indent-calculate-levels): New function.
12189 (python-proc): Delete function.
12190 (python-shell-get-process): New function.
12191 (python-send-receive): Delete function.
12192 (python-shell-send-string-no-output): New function.
12193 (python-module-path): Delete function.
12194 (python-ffap-module-path): New function.
12195 (python-completion-at-point)
12196 (python-symbol-completions): Delete functions.
12197 (python-completion-complete-at-point): New function.
12198 (python-load-file): Delete function.
12199 (python-shell-send-file): New function.
12200 (python-calculate-indentation): Delete function.
12201 (python-indent-calculate-indentation): New function.
12202 (python-skip-comments/blanks): Delete function.
12203 (python-util-forward-comment): New function.
12204 (python-continuation-line-p): Delete function.
12205 (python-info-continuation-line-p): New function.
12206 (python-which-func, python-current-defun): Delete function.
12207 (python-info-current-defun): New function.
12208 (python-beginning-of-defun): Delete function.
12209 (python-nav-beginning-of-defun): New function.
12210 (python-close-block-statement-p)
12211 (python-block-end-p): Delete function.
12212 (python-info-closing-block): New function.
12213 (python-comint-output-filter-function)
12214 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
12215 (python-fill-comment, python-fill-decorator, python-fill-paren)
12216 (python-fill-string, python-imenu-make-element-tree)
12217 (python-imenu-make-tree, python-imenu-tree-assoc)
12218 (python-indent-context, python-indent-dedent-line)
12219 (python-indent-line-function)
12220 (python-indent-post-self-insert-function)
12221 (python-indent-toggle-levels)
12222 (python-info-assignment-continuation-line-p)
12223 (python-info-beginning-of-backlash)
12224 (python-info-block-continuation-line-p)
12225 (python-info-closing-block-message)
12226 (python-info-line-ends-backslash-p)
12227 (python-info-looking-at-beginning-of-defun)
12228 (python-info-ppss-context, python-info-ppss-context-type)
12229 (python-nav-list-defun-positions, python-nav-read-defun)
12230 (python-nav-sentence-end, python-nav-sentence-start)
12231 (python-pdbtrack-comint-output-filter-function)
12232 (python-pdbtrack-set-tracked-buffer)
12233 (python-shell-calculate-exec-path)
12234 (python-shell-calculate-process-environment)
12235 (python-shell-completion--do-completion-at-point)
12236 (python-shell-completion--get-completions)
12237 (python-shell-completion-complete-at-point)
12238 (python-shell-completion-complete-or-indent)
12239 (python-shell-get-or-create-process)
12240 (python-shell-get-process-name)
12241 (python-shell-internal-get-or-create-process)
12242 (python-shell-internal-get-process-name)
12243 (python-shell-internal-send-string, python-shell-make-comint)
12244 (python-shell-parse-command, python-shell-send-setup-code)
12245 (python-skeleton-add-menu-items)
12246 (python-util-clone-local-variables, python-util-position)
12247 (run-python-internal, python-indentation-levels)
12248 (python-nav-beginning-of-defun)
12249 (python-completion-complete-at-point): New functions.
12250 (run-python): Change arguments. New API requirements.
12252 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12254 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
12257 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
12258 (macroexp--expand-all): Use it.
12260 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
12261 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
12262 Use `cl-function' instead.
12264 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
12266 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
12267 Suggested by Stefan Monnier while discussing bug#11657.
12269 2012-06-14 Sam Steingold <sds@gnu.org>
12271 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
12273 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
12275 * play/doctor.el (doctor-doc): Remove parameter and use
12276 doctor-sent instead of sent.
12277 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
12279 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12281 * files.el: Require cl-lib.
12282 (file-name-non-special): Replace case -> cl-case.
12284 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
12286 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
12287 mapping from #' to function*.
12289 2012-06-13 Chong Yidong <cyd@gnu.org>
12291 * mouse.el (mouse-drag-track): Do not set the mark if the user
12292 releases the mouse without selecting anything (Bug#11588).
12294 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12296 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
12297 as well (bug#11646).
12299 * loadup.el: Count byte-code functions as well.
12301 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
12302 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
12304 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
12305 (bug#11649). Add cl-defun and cl-defmacro.
12307 2012-06-13 Drew Adams <drew.adams@oracle.com>
12309 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12312 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
12314 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
12315 Otherwise, it blocks in batch mode.
12317 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
12319 * help-mode.el (bookmark-make-record-default): Declare.
12321 2012-06-13 Chong Yidong <cyd@gnu.org>
12323 * emacs-lisp/package.el (list-packages): Compute a list of
12324 packages that are newly-available since the last list-packages
12326 (package-menu--new-package-list): New var.
12327 (package-menu--generate, package-menu--print-info)
12328 (package-menu--status-predicate, package-menu-mark-install):
12329 Handle new status label "new".
12331 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12333 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
12334 conversion to backquotes.
12336 2012-06-12 Chong Yidong <cyd@gnu.org>
12338 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
12339 Rename from gud-inhibit-global-bindings.
12341 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
12343 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
12344 hook from nxml-glyph-set-hook.
12346 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
12349 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
12351 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
12352 Convert to defcustom.
12354 2012-06-12 Drew Adams <drew.adams@oracle.com>
12356 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12358 (help-mode): Use them.
12360 2012-06-11 Glenn Morris <rgm@gnu.org>
12362 * progmodes/fortran.el (fortran-font-lock-keywords-3):
12363 Use preprocessor face for directives.
12364 (fortran-directive-re): Doc fix.
12366 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12368 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
12369 conversion to backquotes (bug#11652).
12371 Fix compiler-expansion of CL's cXXr functions (bug#11673).
12372 * emacs-lisp/cl-lib.el (cl--defalias): New function.
12373 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
12374 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
12375 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12376 (cl-ninth, cl-tenth): Mark them as inlinable.
12377 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
12378 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
12379 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
12380 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
12381 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
12382 (cl-list*, cl-adjoin): Don't put an autoload manually.
12383 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
12384 (cl--compiler-macro-list*): Add autoload cookie.
12385 (cl--compiler-macro-cXXr): New function.
12387 * help-fns.el (help-fns--compiler-macro): New function extracted from
12388 describe-function-1; follow aliases and use `compiler-macro' property.
12389 (describe-function-1): Use it.
12391 2012-06-11 Chong Yidong <cyd@gnu.org>
12393 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
12394 is uninstalled, if imagemagick is installed.
12396 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12398 * emacs-lisp/cl-lib.el: Use lexical-binding.
12399 (cl-map-extents, cl-maclisp-member): Remove.
12400 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
12401 (cl--set-substring, cl--block-wrapper, cl--block-throw)
12402 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
12403 * emacs-lisp/cl-extra.el: Use lexical-binding.
12404 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
12405 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
12406 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
12407 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
12408 * emacs-lisp/cl-seq.el: Use lexical-binding.
12409 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
12410 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
12411 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
12412 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
12413 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
12416 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
12418 Sync with Tramp 2.2.6-pre.
12420 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
12421 `print-length' and `print-level' to nil, in order to avoid
12422 truncation. Reported by Christopher Schmidt
12423 <christopher@ristopher.com>.
12425 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
12427 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
12429 (tramp-compat-copy-directory): Add optional argument
12430 COPY-CONTENTS. It is not handled yet.
12432 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
12433 (tramp-ftp-file-name-p): Simplify.
12435 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
12436 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
12439 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
12440 (tramp-methods): Do not use `tramp-password-end-of-line'.
12441 (tramp-completion-function-alist-putty): Handle UNIX case.
12442 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
12443 (tramp-do-file-attributes-with-stat)
12444 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
12445 gid as real numbers. They could run out of integer range on cygwin.
12446 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
12447 (tramp-sh-handle-expand-file-name): Handle hops.
12448 (tramp-open-connection-setup-interactive-shell):
12449 Use `tramp-cleanup'. Move check for busyboxes ...
12450 (tramp-find-shell): ... here. Simplify implementation.
12451 Set "remote-shell" property also for alternative shells.
12452 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
12453 If failing, a regular file would be written otherwise.
12454 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
12455 (tramp-find-inline-encoding): Cache the coding commands in the
12456 process cache. Apply test command on the remote side, if defined.
12457 (tramp-find-inline-compress): Cache the compress commands in the
12459 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
12460 when requested. Handle hops.
12461 (tramp-current-connection): New defvar.
12462 (tramp-maybe-open-connection): Use `tramp-cleanup'.
12463 Throw `suppress', if there was a failed connection shortly before.
12464 Handle user interrupt. (Bug#10187)
12465 (tramp-get-inline-compress, tramp-get-inline-coding):
12466 Read connection properties from the process cache.
12468 * net/tramp-smb.el (tramp-smb-server-version)
12469 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
12471 (tramp-smb-prompt): Extend for powershell prompt.
12472 (tramp-smb-file-name-handler-alist): Add handlers for
12473 `process-file', `shell-command' and `start-file-process'.
12474 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
12475 (tramp-smb-winexe-shell-command-switch): New defcustoms.
12476 (tramp-smb-file-name-p): Simplify.
12477 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
12478 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
12479 (tramp-smb-shell-quote-argument): New defuns.
12480 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
12481 Implement using "tar". By this, time-stamps are preserved.
12482 (tramp-smb-handle-copy-file): Handle also the case of directories.
12483 (tramp-smb-do-file-attributes-with-stat)
12484 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
12485 Use `tramp-get-connection-buffer').
12486 (tramp-smb-handle-rename-file): Use "rename", when source and
12487 target are on the same share.
12488 (tramp-smb-maybe-open-connection): Handle wrong passwords.
12489 Use `tramp-smb-server-version'.
12490 (tramp-smb-wait-for-output): Remove prompt.
12492 * net/tramp.el (top): Require 'cl.
12493 (tramp-methods, tramp-rsh-end-of-line):
12494 Remove `tramp-password-end-of-line' from docstring.
12495 (tramp-save-ad-hoc-proxies): New defcustom.
12496 (tramp-completion-function-alist): Adapt docstring.
12497 (tramp-default-password-end-of-line): Remove defcustom.
12498 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
12499 (tramp-user-regexp, tramp-file-name-regexp-unified)
12500 (tramp-file-name-regexp-url): Extend regexp by hop separator.
12501 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
12502 (tramp-remote-file-name-spec-regexp): New defconst.
12503 (tramp-file-name-structure): Extend structure for hops.
12504 (tramp-get-method-parameter): Move up.
12505 (tramp-file-name-p, tramp-dissect-file-name)
12506 (with-parsed-tramp-file-name): Handle hops.
12507 (tramp-file-name-hop): New defun.
12508 (tramp-make-tramp-file-name): New optional arg HOP.
12509 (tramp-message-show-progress-reporter-message): New defvar.
12510 (tramp-with-progress-reporter): Use it. We cannot use
12511 `tramp-message-show-message' here, because this suppresses also
12513 (tramp-error-with-buffer): Suppress buffer view, if
12514 `tramp-message-show-message' is nil.
12515 Use `tramp-get-connection-buffer'.
12516 (tramp-cleanup): New defun.
12517 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
12518 (tramp-file-name-handler): If `debug-on-error' is set, propagate
12519 an error unchanged.
12520 (tramp-completion-handle-file-name-all-completions): Handle hops.
12521 Fix an error when called from ido.
12522 (tramp-completion-dissect-file-name): Use better local variable
12523 name. Add hop to the vector.
12524 (tramp-handle-insert-file-contents): Use progress-reporter for the
12526 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
12528 (tramp-check-for-regexp): Simplify search.
12529 (tramp-enter-password): Remove it. Move implementation ...
12530 (tramp-action-password): ... here.
12531 (tramp-mode-string-to-int, tramp-local-host-p)
12532 (tramp-make-tramp-temp-file, tramp-read-passwd)
12533 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
12534 Set tramp-autoload cookie.
12536 * net/trampver.el: Update release number.
12538 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12539 Michael Albinus <michael.albinus@gmx.de>
12541 * net/tramp.el (tramp-set-completion-function): Fix docstring.
12542 (tramp-parse-group, tramp-parse-file)
12543 (tramp-parse-shostkeys-sknownhosts): New defuns.
12544 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
12545 (tramp-parse-shosts-group, tramp-parse-sconfig)
12546 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
12547 (tramp-parse-sknownhosts, tramp-parse-hosts)
12548 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
12550 (tramp-parse-passwd-group, tramp-parse-netrc-group)
12551 (tramp-parse-putty-group): Don't narrow.
12552 (tramp-parse-putty): Make a loop.
12553 (tramp-file-name-handler): Catch the `suppress' signal.
12555 2012-06-11 Chong Yidong <cyd@gnu.org>
12557 * image.el (imagemagick-register-types): Put the ImageMagick entry
12558 at the end of image-type-file-name-regexps.
12560 2012-06-11 Johan BockgĂ¥rd <bojohan@gnu.org>
12562 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
12563 (pcase, pcase-let*, pcase-dolist): Use them.
12565 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12567 * emacs-lisp/pcase.el (pcase--let*): New function.
12568 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
12569 (pcase--expand): Use macroexp-let².
12571 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
12573 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
12574 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
12575 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
12576 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
12577 * emacs-lisp/derived.el: Use pcase instead of `cl'.
12578 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
12580 2012-06-10 Glenn Morris <rgm@gnu.org>
12582 * mail/rmail.el (rmail-yank-current-message): Leave point at
12583 correct position. (Bug#11660)
12585 2012-06-10 Chong Yidong <cyd@gnu.org>
12587 * allout-widgets.el: Fix code header.
12589 2012-06-10 Chong Yidong <cyd@gnu.org>
12591 * cus-edit.el (customize-changed-options-previous-release):
12594 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
12596 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
12598 2012-06-09 Chong Yidong <cyd@gnu.org>
12600 * ebuff-menu.el (electric-buffer-list): Preserve header line.
12602 2012-06-09 Martin Rudalics <rudalics@gmx.at>
12604 * window.el (special-display-popup-frame): Don't use
12605 window--display-buffer (Bug#11651).
12607 2012-06-09 Eli Zaretskii <eliz@gnu.org>
12609 Fix parallel builds: make sure loaddefs.el is not being written
12610 while Lisp files are compiled.
12611 (compile): Don't depend on 'mh-autoloads'.
12612 (compile-CMD, compile-SH): Depend on 'autoloads'.
12613 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
12615 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
12617 2012-06-09 Chong Yidong <cyd@gnu.org>
12619 * face-remap.el (face-remap-add-relative, face-remap-set-base)
12620 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
12621 Doc fixes (Bug#11225).
12623 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
12625 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
12626 a function if there's a clear indication that it has a compiler-macro.
12627 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
12628 (macro-declarations-alist): Add arglist to declaration functions.
12629 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
12630 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
12631 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
12632 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
12633 Also add autoload to find the compiler macro.
12634 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
12635 (cl--compiler-macro-member, cl--compiler-macro-assoc)
12636 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
12637 (cl--compiler-macro-get): New functions, replacing calls to
12638 cl-define-compiler-macro.
12639 (cl-typep) [compiler-macro]: Use macroexp-let².
12641 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
12643 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
12644 string properly, fixes Bug#11473.
12646 2012-06-08 Chong Yidong <cyd@gnu.org>
12648 * faces.el (set-face-attribute): Doc fix.
12649 (modify-face): Don't use :bold and :italic.
12650 (error, warning, success): Tweak definitions.
12652 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
12653 (custom-modified, custom-set, custom-changed, custom-themed)
12654 (custom-saved, custom-button, custom-button-mouse)
12655 (custom-button-pressed, custom-state, custom-comment-tag)
12656 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
12657 (custom-group-subtitle): Use new-style face specs.
12658 (custom-invalid-face, custom-rogue-face, custom-modified-face)
12659 (custom-set-face, custom-changed-face, custom-saved-face)
12660 (custom-button-face, custom-button-pressed-face)
12661 (custom-documentation-face, custom-state-face)
12662 (custom-comment-face, custom-comment-tag-face)
12663 (custom-variable-tag-face, custom-variable-button-face)
12664 (custom-face-tag-face, custom-group-tag-face-1)
12665 (custom-group-tag-face): Remove obsolete face alias.
12667 * epa.el (epa-validity-high, epa-validity-medium)
12668 (epa-validity-low, epa-mark, epa-field-name, epa-string)
12669 (epa-field-name, epa-field-body):
12670 * font-lock.el (font-lock-comment-face, font-lock-string-face)
12671 (font-lock-keyword-face, font-lock-builtin-face)
12672 (font-lock-function-name-face, font-lock-variable-name-face)
12673 (font-lock-type-face, font-lock-constant-face):
12674 * ido.el (ido-first-match, ido-only-match, ido-subdir)
12675 (ido-virtual, ido-indicator, ido-incomplete-regexp):
12676 * speedbar.el (speedbar-button-face, speedbar-file-face)
12677 (speedbar-directory-face, speedbar-tag-face)
12678 (speedbar-selected-face, speedbar-highlight-face)
12679 (speedbar-separator-face):
12680 * whitespace.el (whitespace-newline, whitespace-space)
12681 (whitespace-hspace, whitespace-tab, whitespace-trailing)
12682 (whitespace-line, whitespace-space-before-tab)
12683 (whitespace-space-after-tab, whitespace-indentation)
12684 (whitespace-empty):
12685 * emulation/cua-base.el (cua-global-mark):
12686 * eshell/em-prompt.el (eshell-prompt):
12687 * net/newst-plainview.el (newsticker-new-item-face)
12688 (newsticker-old-item-face, newsticker-immortal-item-face)
12689 (newsticker-obsolete-item-face, newsticker-date-face)
12690 (newsticker-statistics-face, newsticker-default-face):
12691 * net/newst-reader.el (newsticker-feed-face)
12692 (newsticker-extra-face, newsticker-enclosure-face):
12693 * net/newst-treeview.el (newsticker-treeview-face)
12694 (newsticker-treeview-new-face, newsticker-treeview-old-face)
12695 (newsticker-treeview-immortal-face)
12696 (newsticker-treeview-obsolete-face)
12697 (newsticker-treeview-selection-face):
12698 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
12699 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
12700 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
12701 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
12702 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
12703 (nxml-outline-active-indicator, nxml-outline-ellipsis):
12704 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
12706 * progmodes/vera-mode.el (vera-font-lock-number)
12707 (vera-font-lock-function, vera-font-lock-interface):
12708 * textmodes/table.el (table-cell): Use new-style face specs, and
12709 don't use the old :bold and :italic attributes.
12711 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
12712 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
12713 (ebrowse-member-class, ebrowse-progress): Likewise.
12714 (ebrowse-tree-mark-face, ebrowse-root-class-face)
12715 (ebrowse-file-name-face, ebrowse-default-face)
12716 (ebrowse-member-attribute-face, ebrowse-member-class-face)
12717 (ebrowse-progress-face): Remove obsolete faces.
12719 * progmodes/flymake.el (flymake-errline, flymake-warnline):
12720 Inherit from error and warning faces respectively.
12722 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
12724 (flyspell-incorrect-face, flyspell-duplicate-face):
12725 Remove obsolete aliases.
12727 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
12729 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12732 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12734 * startup.el (argv, argi): Make lexically scoped.
12735 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
12736 * emacs-lisp/cl-macs.el: Use lexical-binding.
12737 Rename cl-bind-* to cl--bind-*.
12738 * files.el: Don't require `cl' since it doesn't use it.
12739 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
12741 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
12743 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
12744 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
12745 instead of calling external sort utility.
12746 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
12748 2012-06-08 Eli Zaretskii <eliz@gnu.org>
12750 * descr-text.el (describe-char): Mention how to insert the
12751 character, if the current input method doesn't support it.
12752 See the discussion in this thread for the details:
12753 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
12755 2012-06-08 Sam Steingold <sds@gnu.org>
12757 * bindings.el (global-map): Bind XF86Forward to next-buffer and
12758 XF86Back to previous-buffer.
12759 (minibuffer-local-map): Bind them to next-history-element and
12760 previous-history-element respectively.
12761 * help-mode.el (help-mode-map): Bind them to help-go-forward and
12762 help-go-back respectively.
12763 * info.el (Info-mode-map): Bind them to Info-history-forward and
12764 Info-history-back respectively.
12765 These are the keys next to Up on the ThinkPad keyboard.
12767 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12769 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
12770 * emacs-lisp/cl-macs.el: Provide itself.
12771 (cl--labels-convert-cache): New var.
12772 (cl--labels-convert): New function.
12773 (cl-flet, cl-labels): New implementation with new semantics, relying on
12775 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
12776 (cl-closure-vars, cl--function-convert-cache)
12777 (cl--function-convert): Move from cl-macs.el.
12778 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
12779 rename by removing the "cl-" prefix.
12780 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
12782 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12784 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
12785 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
12786 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
12787 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
12788 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
12789 (cl-hash-table-count): Add old compatibility aliases.
12791 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
12792 Use macroexpand-all-environment instead.
12793 (cl--old-macroexpand): New var.
12794 (cl--sm-macroexpand): New function.
12795 (cl-symbol-macrolet): Use it during macro expansion.
12796 (cl--function-convert-cache): New var.
12797 (cl--function-convert): New function, extracted from
12798 cl-macroexpand-all.
12799 (cl-lexical-let): Use it.
12801 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
12802 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
12803 (cl-member): Remove old alias.
12805 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
12806 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
12807 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
12808 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
12809 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
12810 (cl-macroexpand-cmacs): Remove var.
12811 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
12812 Use macroexpand-all instead.
12814 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12816 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
12817 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
12818 (macroexp-copyable-p): New functions and macros.
12819 * emacs-lisp/edebug.el (edebug-unwrap):
12820 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
12821 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
12822 (pcase--let*): Remove.
12823 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
12824 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
12825 macroexp-const-p instead.
12826 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
12828 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
12829 instead of "cl-" for internal definitions. Use macroexp-const-p.
12830 (cl-old-bc-file-form): Remove var.
12831 (cl-const-exprs-p): Remove fun.
12832 (cl-labels, cl-macrolet): Use backquote.
12833 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
12834 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
12835 (cl-define-setf-expander): Rename from cl-define-setf-method.
12836 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
12838 * international/mule-cmds.el: Don't require CL.
12839 (view-hello-file): Don't use `letf'.
12841 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12843 * tmm.el (tmm-prompt): Use string-prefix-p.
12844 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
12845 (tmm-add-prompt): Use minibuffer-completion-help.
12846 (tmm-delete-map): Remove.
12848 * subr.el (kbd): Make it its own function.
12850 2012-06-07 Stefan Merten <smerten@oekonux.de>
12852 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
12853 Silence compiler warnings. Fix versions.
12854 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
12855 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
12856 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
12857 (rst-package-emacs-version-alist): Correct Emacs version to
12858 represent major merge with upstream.
12859 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
12861 2012-06-06 Glenn Morris <rgm@gnu.org>
12863 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
12864 Only print environment variables if set.
12866 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12868 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
12869 (macroexp--cons): Rename from maybe-cons.
12870 (macroexp--accumulate): Rename from macroexp-accumulate.
12871 (macroexp--all-forms): Rename from macroexpand-all-forms.
12872 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
12873 (macroexp--expand-all): Rename from macroexpand-all-1.
12875 2012-06-06 Sam Steingold <sds@gnu.org>
12877 * calendar/calendar.el (calendar-in-read-only-buffer):
12878 Call `special-mode' to enable the standard read-only keybindings.
12880 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12882 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
12883 with "loading" messages (bug#11635).
12885 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
12887 * files.el (enable-remote-dir-locals): New option.
12888 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
12890 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12891 Ensure, that the temp directory is local.
12893 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
12894 `temporary-file-directory'.
12896 * progmodes/python.el (python-send-region): Ensure, that the
12897 temporary file is created also in the remote case.
12899 2012-06-06 Glenn Morris <rgm@gnu.org>
12901 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
12902 (vc-rcs-update-changelog): Use it.
12904 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
12906 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
12907 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
12908 (vc-sccs-diff): Replace use of the external vcdiff script.
12910 2012-06-05 Glenn Morris <rgm@gnu.org>
12912 * ledit.el: Move to obsolete/.
12914 2012-06-05 Sam Steingold <sds@gnu.org>
12916 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
12919 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12921 * emacs-lisp/cust-print.el: Move to obsolete.
12923 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
12924 compiler-macro expansion.
12926 Add native compiler-macro support.
12927 * emacs-lisp/macroexp.el (macroexpand-all-1):
12928 Support compiler-macros directly. Properly follow aliases and apply
12929 the compiler macros more thoroughly.
12930 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
12931 macroexpand now properly follows aliases.
12932 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
12933 (cl-compiler-macroexpand): Use new prop.
12934 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
12936 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
12938 2012-06-05 Martin Rudalics <rudalics@gmx.at>
12940 * window.el (get-lru-window, get-mru-window, get-largest-window):
12941 New argument NOT-SELECTED to avoid picking the selected window.
12942 (window--display-buffer-1, window--display-buffer-2): Replace by
12943 new function window--display-buffer
12944 (display-buffer-same-window, display-buffer-reuse-window)
12945 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12946 Use window--display-buffer.
12947 (display-buffer-use-some-window): Remove temporary dedication
12948 hack by calling get-lru-window and get-largest-window with
12949 NOT-SELECTED argument non-nil. Call window--display-buffer.
12951 2012-06-05 Glenn Morris <rgm@gnu.org>
12953 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
12954 Replace external vcdiff script.
12956 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12958 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
12960 2012-06-04 Chong Yidong <cyd@gnu.org>
12962 * image.el (imagemagick-types-inhibit): Revert last change.
12964 (imagemagick-enabled-types): Remove CIN and EPS*.
12966 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12968 * emacs-lisp/cl-lib.el: Rename from cl.el.
12969 * emacs-lisp/cl.el: New compatibility file.
12970 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
12971 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
12972 to obey the "cl-" prefix.
12973 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
12975 2012-06-03 Glenn Morris <rgm@gnu.org>
12977 * emacs-lisp/authors.el (authors-aliases): Addition.
12979 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
12982 2012-06-03 Stefan Merten <smerten@oekonux.de>
12984 * textmodes/rst.el: Add comments.
12985 (rst-transition, rst-adornment): New faces.
12986 (rst-adornment-faces-alist): Make default safe to reevaluate.
12988 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
12989 Improve customization tags.
12990 (rst-define-level-faces): Clarify meaning.
12992 2012-06-03 Chong Yidong <cyd@gnu.org>
12994 * progmodes/compile.el (compilation-mode-line-fail)
12995 (compilation-mode-line-run, compilation-mode-line-exit):
12997 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
12999 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
13001 * progmodes/which-func.el (which-func-update-ediff-windows):
13002 New function. Use it in ediff-select-hook (Bug#11478).
13004 2012-06-03 Chong Yidong <cyd@gnu.org>
13006 * bindings.el: Remove explicit help text from format-mode-line.
13007 It is now supplied by mode-line-default-help-echo.
13008 (mode-line-front-space, mode-line-end-spaces)
13009 (mode-line-misc-info): New variables.
13010 (mode-line-modes, mode-line-position): Move the default value to
13011 the variable definition.
13012 (mode-line-default-help-echo): New defcustom.
13013 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
13014 (mode-line-modified-help-echo): New functions.
13015 (mode-line-mule-info, mode-line-modified): Use them.
13016 (mode-line-eol-desc, propertized-buffer-identification):
13017 Consistency fixes for help text.
13018 (mode-line-coding-system-map): Allow using mouse-3 to invoke
13019 set-buffer-file-coding-system (Bug#289).
13020 (mode-line-mule-info-help-echo): Update help text.
13022 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13024 * simple.el (execute-extended-command): Set real-this-command
13027 2012-06-02 Chong Yidong <cyd@gnu.org>
13029 Remove incorrect uses of "modeline" in comments, docstrings, and
13030 function/variable names (Bug#10329).
13032 * cus-edit.el (mode-line):
13033 * dframe.el (dframe-mouse-hscroll):
13034 * emacs-lisp/re-builder.el:
13035 * emacs-lisp/easy-mmode.el (define-minor-mode):
13036 * frame.el (set-frame-name):
13037 * help.el (lookup-minor-mode-from-indicator):
13038 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
13039 * progmodes/cc-cmds.el (c-toggle-auto-newline)
13040 (c-toggle-hungry-state):
13041 * progmodes/antlr-mode.el (antlr-language-alist):
13042 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
13043 * progmodes/vhdl-mode.el (vhdl-mode):
13044 * progmodes/which-func.el (which-func, which-func-cleanup-function):
13045 * term/ns-win.el (ns-face-at-pos):
13046 * term/sup-mouse.el (sup-mouse-report):
13047 * textmodes/flyspell.el (flyspell-mode-line-string):
13048 * textmodes/ispell.el (ispell-highlight-face):
13049 * textmodes/reftex-global.el:
13050 * vc/vc-arch.el (vc-arch-mode-line-string):
13051 * vc/vc-cvs.el (vc-cvs-mode-line-string):
13052 * vc/vc-git.el (vc-git-mode-line-string):
13053 * vc/vc-hooks.el (vc-display-status)
13054 (vc-default-mode-line-string):
13055 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
13057 * ansi-color.el (ansi-color-faces-vector): Change default faces.
13059 * dired.el (dired-sort-set-mode-line): Rename from
13060 dired-sort-set-modeline. All callers changed.
13062 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
13063 eshell-status-in-modeline.
13065 * foldout.el (foldout-mode-line-string): Rename from
13066 foldout-modeline-string. All callers changed.
13067 (foldout-update-mode-line): Rename from foldout-update-modeline.
13069 * subr.el (redraw-modeline): Make into obsolete alias.
13071 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
13072 timeclock-modeline-display. Make old name an alias.
13073 (timeclock-update-mode-line): Likewise. All callers changed.
13074 (timeclock-mode-line-display): No need to check before using
13076 (timeclock-relative, timeclock-day-over-hook)
13077 (timeclock-use-elapsed, timeclock-mode-string)
13078 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
13080 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
13081 crisp-mode-modeline-string.
13083 * play/solitaire.el (solitaire-build-mode-line): Rename from
13084 solitaire-build-modeline. All callers changed.
13086 * play/zone.el (zone-hiding-mode-line): Rename from
13087 zone-hiding-modeline. All callers changed.
13088 (zone): Remove unusued `modeline-hidden-level' property.
13090 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
13091 xscheme-modeline-initialize. All callers changed.
13093 * strokes.el (strokes-lighter): Rename from
13094 strokes-modeline-string.
13096 * textmodes/sgml-mode.el (html-face-tag-alist)
13097 (html-tag-face-alist): Use mode-line face instead of obsolete
13100 2012-06-02 Stefan Merten <smerten@oekonux.de>
13102 * textmodes/rst.el: Always require `cl'.
13103 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
13105 2012-06-02 Chong Yidong <cyd@gnu.org>
13107 * image.el (imagemagick-enabled-types): Rename from
13108 imagemagick-types-enable. Add many more types.
13109 (imagemagick-types-inhibit): Change default to nil.
13110 (imagemagick-filter-types): Caller changed.
13112 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13114 * emacs-lisp/cl-macs.el: Use backquotes.
13115 (cl-transform-function-property): Use eval-and-compile rather than
13117 (defstruct): Use declare-function instead of with-no-warnings.
13119 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
13120 (byte-compile-output-docform): Re-add the print-circle bindings.
13121 (byte-compile-fix-header): Use #$ just because it's shorter.
13122 (byte-compile-output-file-form): Remove defun/defmacro.
13124 2012-06-01 Martin Rudalics <rudalics@gmx.at>
13126 * simple.el (choose-completion): Remove now obsolete binding for
13129 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
13131 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
13132 in order to avoid "Stack overflow in regexp matcher".
13134 2012-05-31 Glenn Morris <rgm@gnu.org>
13136 * image.el: For clarity, call imagemagick-register-types at
13137 top-level, rather than relying on a custom :initialize.
13138 (imagemagick-types-enable): New option. (Bug#11557)
13139 (imagemagick-filter-types): New function. (Bug#7406)
13140 (imagemagick-register-types): Use imagemagick-filter-types.
13141 If disabling support, remove elements altogether rather
13142 than using an impossible regexp.
13143 (imagemagick-types-inhibit): Give it the default init function.
13145 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13147 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
13148 Handle arbitrary file name lengths (Bug#11585).
13150 2012-05-31 Martin Rudalics <rudalics@gmx.at>
13152 * desktop.el (desktop-read): Clear previous and next buffers for
13153 all windows and bury *Messages* buffer (bug#11556).
13155 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13157 Add `declare' for `defun'. Align `defmacro's with it.
13158 * emacs-lisp/easy-mmode.el (define-minor-mode)
13159 (define-globalized-minor-mode): Don't autoload the var definitions.
13160 * emacs-lisp/byte-run.el: Use lexical-binding.
13161 (defun-declarations-alist, macro-declarations-alist): New vars.
13162 (defmacro, defun): Use them.
13163 (make-obsolete, define-obsolete-function-alias)
13164 (make-obsolete-variable, define-obsolete-variable-alias):
13166 (macro-declaration-function): Mark obsolete.
13167 * emacs-lisp/autoload.el: Use lexical-binding.
13168 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
13170 2012-05-30 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
13172 * textmodes/ispell.el (ispell-with-no-warnings):
13174 (ispell-kill-ispell, ispell-change-dictionary):
13175 Use `called-interactively-p' for Emacs instead of obsolete
13178 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13180 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
13181 (macro-declaration-function): Move var from C code.
13182 (macro-declaration-function): Define function with defalias.
13183 * emacs-lisp/macroexp.el (macroexpand-all-1):
13184 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
13185 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
13186 defun/defmacro any more.
13187 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
13188 Provide fallback for unknown arglist.
13189 (byte-compile-arglist-warn): Change calling convention.
13190 (byte-compile-output-file-form): Move print-vars binding.
13191 (byte-compile-output-docform): Simplify accordingly.
13192 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
13193 (byte-compile-defmacro-declaration): Remove.
13194 (byte-compile-file-form-defmumble): Generalize to defalias.
13195 (byte-compile-output-as-comment): Return byte-positions.
13196 Simplify callers accordingly.
13197 (byte-compile-lambda): Use `assert'.
13198 (byte-compile-defun, byte-compile-defmacro): Remove.
13199 (byte-compile-file-form-defalias):
13200 Use byte-compile-file-form-defmumble.
13201 (byte-compile-defalias-warn): Remove.
13203 2012-05-29 Stefan Merten <smerten@oekonux.de>
13205 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
13206 possible. Fix authors. Improve comments. Improve loading of `cl'.
13208 (rst-mode-abbrev-table): Merge definition.
13209 (rst-mode): Make sure `font-lock-defaults' is buffer local.
13210 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
13212 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
13214 * calendar/icalendar.el
13215 (icalendar-export-region): Export UID properly.
13217 2012-05-29 Leo Liu <sdl.web@gmail.com>
13218 * calendar/icalendar.el (icalendar-import-format):
13219 Add `icalendar-import-format-uid' (Bug#11525).
13220 (icalendar-import-format-uid): New.
13221 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
13224 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13226 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
13227 different alternative patterns.
13228 (pcase-codegen): Be more careful to preserve identity.
13229 (pcase--u1): Don't forget to mark vars as used.
13231 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
13232 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
13233 (byte-compile-from-buffer): ...rather than here.
13235 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
13236 functions from byte-compile-function-environment.
13238 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
13240 * window.el (window-deletable-p): Avoid deleting the root window
13241 of a frame with an active minibuffer.
13243 2012-05-29 Martin Rudalics <rudalics@gmx.at>
13245 * simple.el (choose-completion): Use quit-window (Bug#11567).
13247 2012-05-29 Chong Yidong <cyd@gnu.org>
13249 * whitespace.el (whitespace-cleanup): Fix usage of
13250 whitespace-empty-at-bob-regexp (Bug#11492).
13252 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13254 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
13255 revert (Bug#11488).
13257 2012-05-29 Juri Linkov <juri@jurta.org>
13259 * isearch.el (isearch-mode-map): Bind `M-s _' to
13260 `isearch-toggle-symbol'. Bind `M-s c' to
13261 `isearch-toggle-case-fold'.
13262 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
13263 (isearch-forward): Add `M-s _' to the docstring.
13264 (isearch-forward-symbol, isearch-toggle-case-fold)
13265 (isearch-symbol-regexp): New functions. (Bug#11381)
13267 2012-05-29 Juri Linkov <juri@jurta.org>
13269 * isearch.el (isearch-word): Add docstring. (Bug#11381)
13270 (isearch-occur, isearch-search-and-update): If `isearch-word' is
13271 a function, call it to get the regexp.
13272 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
13273 property `isearch-message-prefix' instead of the string "word ".
13274 (isearch-search-fun-default): For the case of `isearch-word',
13275 return a lambda that calls re-search-forward/re-search-backward
13276 with a regexp returned by `word-search-regexp' or by the function
13279 2012-05-29 Juri Linkov <juri@jurta.org>
13281 * isearch.el (isearch-search-fun-default): New function.
13282 (isearch-search-fun): Move default part to the new function
13283 `isearch-search-fun-default'.
13284 (isearch-search-fun-function): Set the default value to
13285 `isearch-search-fun-default'. (Bug#11381)
13287 * comint.el (comint-history-isearch-end):
13288 Use `isearch-search-fun-default'.
13289 (comint-history-isearch-search): Use `isearch-search-fun-default'
13290 and remove spacial case for `isearch-word'.
13291 (comint-history-isearch-wrap): Remove spacial case for
13294 * hexl.el (hexl-isearch-search-function):
13295 Use `isearch-search-fun-default'.
13297 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
13298 Use `word-search-regexp' for `isearch-word'.
13300 * misearch.el (multi-isearch-search-fun):
13301 Use `isearch-search-fun-default'.
13303 * simple.el (minibuffer-history-isearch-search):
13304 Use `isearch-search-fun-default' and remove spacial case for
13306 (minibuffer-history-isearch-wrap): Remove spacial case for
13309 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
13310 Remove spacial case for `isearch-word'.
13311 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
13313 2012-05-28 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
13315 Decrease XEmacs incompatibilities.
13316 * textmodes/flyspell.el (flyspell-check-pre-word-p):
13317 Use `string-match'.
13318 (flyspell-delete-region-overlays): Use alternative definition for
13320 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
13321 (flyspell-word): Use `process-kill-without-query' if XEmacs.
13322 (flyspell-mode-on): Use `interactive-p' if XEmacs.
13323 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
13324 `define-obsolete-face-alias' under XEmacs, but old method.
13326 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
13327 `with-no-warnings' definition or Emacs alias.
13328 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
13329 (ispell-word): Do not use `region-p' if XEmacs.
13331 2012-05-28 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
13333 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
13334 Check for `ispell-dictionary-base-alist' instead of full
13335 `ispell-dictionary-alist'.
13336 (ispell-init-process): Show spellchecker when starting new Ispell
13339 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13341 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
13342 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
13344 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
13346 * version.el (motif-version-string, gtk-version-string)
13347 (ns-version-string): Declare.
13349 2012-05-27 Juri Linkov <juri@jurta.org>
13351 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
13352 after the `eval-defun-1' specialcaseing
13353 like in `edebug-eval-defun' (bug#10181).
13355 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
13356 like in `eval-defun-1'.
13358 2012-05-27 Eli Zaretskii <eliz@gnu.org>
13360 * mail/sendmail.el (mail-yank-region):
13361 Recognize rmail-yank-current-message in addition to insert-buffer.
13362 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
13363 a *mail* buffer created through rmail-start-mail with sendmail as
13366 2012-05-27 Chong Yidong <cyd@gnu.org>
13368 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
13369 Default to 256 (Bug#11267).
13371 * help.el (describe-mode): Doc fix.
13373 2012-05-26 Glenn Morris <rgm@gnu.org>
13375 * w32-fns.el (w32-init-info): Remove.
13376 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
13378 * info.el (info-initialize): For self-contained NS builds, put the
13379 included info/ directory at the front. (Bug#2791)
13381 * paths.el (Info-default-directory-list): Make it a defcustom,
13382 mainly so that we can use custom-initialize-delay.
13384 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
13386 * subr.el (buffer-has-markers-at): Mark obsolete.
13388 * subr.el (lambda): Use declare.
13390 * emacs-lisp/lisp-mode.el (lambda):
13391 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
13393 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13395 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
13397 2012-05-26 Glenn Morris <rgm@gnu.org>
13399 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
13401 2012-05-25 Glenn Morris <rgm@gnu.org>
13403 * paths.el: Remove no-byte-compile.
13404 * loadup.el: No need to load paths.el uncompiled.
13406 * image.el (imagemagick-types-inhibit): Doc fix.
13408 * version.el: Remove no-byte-compile and associated formatting.
13409 * loadup.el: No need to load version.el uncompiled. AFAICS, this
13410 is ancient code from when there was an "inc-vers.el".
13412 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13414 * progmodes/gdb-mi.el: Minor style changes.
13415 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
13416 Turn into minor modes.
13417 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
13418 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
13419 (gdb-shell): Remove unneeded let-binding.
13420 (gdb-get-many-fields): Eliminate O(n²) behavior.
13422 2012-05-25 Eli Zaretskii <eliz@gnu.org>
13424 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
13425 platforms that don't link in fontset.c.
13427 2012-05-25 Juri Linkov <juri@jurta.org>
13429 Use the same diff color scheme as in modern VCSes (bug#10181).
13431 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
13432 to avoid confusion with `diff-added' that now uses green colors.
13433 (diff-removed): Use shades of red.
13434 (diff-added): Use shades of green.
13435 (diff-changed): Leave just the yellow color.
13436 (diff-use-changed-face): New variable.
13437 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
13438 how to highlight context diff changes.
13439 (diff-refine-change): Use shades of yellow.
13440 (diff-refine-removed): New face that uses shades of red.
13441 (diff-refine-added): New face that uses shades of green.
13442 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
13443 `diff-refine-removed' in the call to `smerge-refine-subst'
13444 depending on the value of `diff-use-changed-face'.
13446 * vc/smerge-mode.el (smerge-mine): Use shades of red.
13447 (smerge-other): Use shades of green.
13448 (smerge-base): Use shades of yellow.
13449 (smerge-refined-change): Empty face.
13450 (smerge-refined-removed): New face that uses shades of red.
13451 (smerge-refined-added): New face that uses shades of green.
13452 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
13453 args `props-r' and `props-a', and use them. Doc fix.
13454 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
13455 on its value use different faces `smerge-refined-change',
13456 `smerge-refined-removed', `smerge-refined-added' in the call to
13457 `smerge-refine-subst'.
13459 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
13460 Add face condition `min-colors 88' with shades of red.
13461 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
13462 `min-colors 88' with shades of green.
13463 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
13464 `min-colors 88' with shades of yellow.
13466 2012-05-24 Glenn Morris <rgm@gnu.org>
13468 * paths.el (prune-directory-list, remote-shell-program): Move to...
13469 * files.el (prune-directory-list, remote-shell-program): ...here.
13470 For the latter, delay initialization, prefer ssh, just search PATH.
13472 * paths.el (term-file-prefix): Move to faces.el (the only user).
13473 * faces.el (term-file-prefix): Move here, make it a defcustom.
13475 * paths.el (news-directory, news-path, news-inews-program):
13476 Move to gnus/nnspool.el.
13478 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
13480 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
13481 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
13482 Make the latter a defcustom, with a delayed initialization.
13484 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
13485 These were deleted from Gnus itself late 2010.
13487 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
13489 * progmodes/which-func.el (which-func-ff-hook):
13490 Check against user-error, not error.
13492 * emacs-lisp/edebug.el (top): Do not load or set up loading of
13493 cl-specs.el, which no longer exists.
13495 2012-05-22 Glenn Morris <rgm@gnu.org>
13497 * info.el (info-emacs-bug): New command.
13498 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
13499 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
13501 2012-05-21 Glenn Morris <rgm@gnu.org>
13503 * makefile.w32-in (update-subdirs-SH):
13504 * Makefile.in (update-subdirs): Update for moved update-subdirs.
13506 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13508 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
13510 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13511 Simplify Maven regexp, and make sure the file can't start with a space
13514 2012-05-21 Glenn Morris <rgm@gnu.org>
13516 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
13517 Scrap superfluous subshells.
13519 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
13521 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
13522 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
13524 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
13526 * calc/calc.el (calc-ensure-consistent-units): New variable.
13528 * calc/calc-units.el (math-consistent-units-p)
13529 (math-check-unit-consistency): New functions.
13530 (calc-quick-units, calc-convert-units):
13531 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
13533 (calc-extract-units): Fix typo.
13535 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13537 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
13539 * textmodes/flyspell.el: Commenting style, plus code simplifications.
13540 (flyspell-default-deplacement-commands): Don't spell check after
13541 repeated window/frame switches (e.g. triggered by mouse-movement).
13542 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
13543 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
13544 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
13545 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
13546 Remove unused vars.
13547 (flyspell-get-casechars, flyspell-get-not-casechars):
13548 Simplify; Don't bother removing a ] just to add it back.
13549 * textmodes/ispell.el (ispell-program-name): Use executable-find.
13551 2012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
13553 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
13555 (math-function-table): Add support for more C functions.
13557 2012-05-18 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
13559 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13560 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13561 Protect delay handling for otherchars against empty otherchars.
13563 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13565 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
13566 their respective macro declarations.
13567 * skeleton.el (define-skeleton):
13568 * progmodes/compile.el (define-compilation-mode):
13569 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
13570 (define-ibuffer-filter):
13571 * emacs-lisp/generic.el (define-generic-mode):
13572 * emacs-lisp/easy-mmode.el (define-minor-mode)
13573 (define-globalized-minor-mode):
13574 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
13575 * emacs-lisp/byte-run.el (defsubst):
13576 * custom.el (deftheme): Add doc-string metadata.
13578 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13580 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
13582 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13584 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
13586 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
13587 * emacs-lisp/cl-macs.el: Idem.
13588 * emacs-lisp/cl-specs.el: Remove.
13590 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13592 Minor renaming of internal CL functions and variables.
13593 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
13594 (cl--position): Rename from cl-position.
13595 (cl--delete-duplicates): Rename from cl-delete-duplicates.
13596 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
13597 (cl--random-state): Rename from *random-state*.
13599 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13601 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
13602 parens around the arg list (bug#11499).
13604 2012-05-17 Juri Linkov <juri@jurta.org>
13606 * isearch.el (word-search-regexp, word-search-backward)
13607 (word-search-forward, word-search-backward-lax)
13608 (word-search-forward-lax): Move functions from search.c
13609 (bug#10145, bug#11381).
13611 2012-05-16 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
13613 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13614 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13615 Delay for otherchars as for normal word components.
13617 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13619 * minibuffer.el (completion--sifn-requote): Fix last change.
13620 (minibuffer-local-must-match-filename-map):
13621 Move define-obsolete-variable-alias before its var.
13623 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13625 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
13627 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
13629 (completion--string-equal-p): New function.
13630 (completion--twq-all): Use it to get better assertion failure data.
13632 Only handle ".." and '..' quoting in shell-mode (bug#11466).
13633 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
13634 (shell--requote-argument): New functions.
13635 (shell-completion-vars): Use them.
13636 (shell--parse-pcomplete-arguments): Rename from
13637 shell-parse-pcomplete-arguments.
13638 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
13639 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
13640 Obey comint-file-name-quote-list.
13642 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
13643 (smie-indent-keyword): Use it.
13645 2012-05-14 Stefan Merten <smerten@oekonux.de>
13647 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
13649 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13651 * net/rlogin.el (rlogin-mode-map): Fix last change.
13653 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
13655 * mail/smtpmail.el (smtpmail-send-command): Send the command and
13656 the following \r\n using a single `process-send-string', since the
13657 Lotus SMTP server refuses to accept any commands if they are sent
13658 with two `process-send-string's (Bug#11444).
13660 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13662 * shell.el (shell-parse-pcomplete-arguments):
13663 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
13665 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13667 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
13668 (image-transform-scale, image-transform-right-angle-fudge): New vars.
13669 (image-transform-width, image-transform-fit-width): New functions.
13670 (image-transform-properties): Use them.
13671 (image-transform-check-size): New function.
13672 (image-toggle-display-image): Use it (for testing).
13673 (image-transform-set-rotation): Reduce angle mod 360.
13674 Delete obsolete comment.
13676 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13678 * image-mode.el: Fix scaling (bug#11399).
13679 (image-transform-resize): Doc fix.
13680 (image-transform-properties): Default scale is 1 and height should
13683 2012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
13685 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
13686 than hard-coding `car', to fix misbehavior when moving forward.
13688 2012-05-13 Chong Yidong <cyd@gnu.org>
13690 * emacs-lisp/tabulated-list.el (tabulated-list-format)
13691 (tabulated-list-entries, tabulated-list-padding)
13692 (tabulated-list-sort-key): Make permanent-local.
13694 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
13695 (electric-buffer-list): Put electric buffer menu
13696 command descriptions in this docstring, instead of the docstring
13697 of electric-buffer-menu-mode. Code cleanups.
13698 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
13699 Electric-buffer-menu-mode.
13700 (electric-buffer-update-highlight): Minor code cleanup.
13702 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
13704 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
13707 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13709 Move define-obsolete-variable-alias before the var's definition.
13710 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
13711 * tooltip.el (tooltip-hook):
13712 * textmodes/reftex-toc.el (reftex-toc-map):
13713 * textmodes/reftex-sel.el (reftex-select-label-map)
13714 (reftex-select-bib-map):
13715 * textmodes/reftex-index.el (reftex-index-map)
13716 (reftex-index-phrases-map):
13717 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
13718 * progmodes/meta-mode.el (meta-mode-map):
13719 * novice.el (disabled-command-hook):
13720 * loadhist.el (unload-hook-features-list):
13721 * frame.el (blink-cursor):
13722 * files.el (find-file-not-found-hooks, write-file-hooks)
13723 (write-contents-hooks):
13724 * emulation/tpu-edt.el (GOLD-map):
13725 * emacs-lock.el (emacs-lock-from-exiting):
13726 * emacs-lisp/generic.el (generic-font-lock-defaults):
13727 * emacs-lisp/chart.el (chart-map):
13728 * dos-fns.el (register-name-alist):
13729 * dired-x.el (dired-omit-files-p):
13730 * desktop.el (desktop-enable):
13731 * cus-edit.el (custom-mode-hook):
13732 * buff-menu.el (buffer-menu-mode-hook):
13733 * bookmark.el (bookmark-read-annotation-text-func)
13734 (bookmark-exit-hooks):
13735 * allout.el (allout-mode-deactivate-hook)
13736 (allout-exposure-change-hook, allout-structure-added-hook)
13737 (allout-structure-deleted-hook, allout-structure-shifted-hook):
13738 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
13739 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
13740 comes before the corresponding variable's definition.
13742 2012-05-12 Chong Yidong <cyd@gnu.org>
13744 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
13745 (Buffer-menu-mouse-select): Restore function (Bug#11459).
13746 (Buffer-menu-mode-map): Bind it.
13747 (Buffer-menu--pretty-name): Add a mouse-face property.
13749 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
13751 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
13752 (prolog-upper-case-string, prolog-lower-case-string)
13753 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
13754 (prolog-use-smie, prolog-smie-grammar): New vars.
13755 (prolog-smie-forward-token, prolog-smie-backward-token)
13756 (prolog-smie-rules): New funs.
13757 (prolog-comment-indent): Remove.
13758 (prolog-mode-variables): Use default comment indentation instead.
13760 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
13761 (prolog-mode): Don't call them any more.
13762 (prolog-electric-colon, prolog-electric-dash)
13763 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
13765 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
13767 * minibuffer.el (completion--twq-all): Again, allow case differences.
13769 * term.el: Move keymap initialization code to be more idiomatic.
13770 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
13771 (term-terminal-menu): Move initialization into declaration.
13772 (term-escape-char): Let the user set it in her .emacs.
13774 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
13775 Provide SMIE-based indentation (not enabled by default yet).
13776 (sh-mode-map): Don't bind electric keys.
13777 Use electric-pair-mode instead of skeleton-pair.
13778 (sh-assignment-regexp): Fit within 80 columns.
13779 (sh-indent-supported): Specify actual shell name instead of boolean.
13780 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
13781 (sh-maybe-here-document): Use it. Make obsolete.
13782 (sh-electric-here-document-mode) New minor mode.
13783 (sh-mode): Use it. Don't set sh-indent-supported-here here.
13784 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
13785 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
13786 (sh-smie-rc-grammar, sh-use-smie): New vars.
13787 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
13788 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
13789 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
13790 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
13791 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
13792 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
13793 (sh-set-shell): Use smie-setup if requested.
13795 * term.el (term-set-escape-char): Properly set term-escape-char.
13796 See http://stackoverflow.com/questions/10524656.
13798 2012-05-10 Chong Yidong <cyd@gnu.org>
13800 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
13801 Use url-generic-parse-url, and handle host names and Windows
13802 filenames properly.
13803 (ffap-url-unwrap-remote): Use url-generic-parse-url.
13804 (ffap-url-unwrap-remote): Accept list values, specifying a list of
13805 URL schemes to work on.
13806 (ffap--toggle-read-only): New function.
13807 (ffap-read-only, ffap-read-only-other-window)
13808 (ffap-read-only-other-frame): Use it.
13809 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
13810 necessary for ffap-url-unwrap-remote.
13812 2012-05-10 Dave Abrahams <dave@boostpro.com>
13814 * cus-start.el (create-lockfiles): Add it.
13816 2012-05-09 Chong Yidong <cyd@gnu.org>
13818 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
13819 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
13821 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13823 * shell.el (shell-completion-vars): Fix last change (bug#11348).
13825 2012-05-09 Chong Yidong <cyd@gnu.org>
13827 * ansi-color.el (ansi-color-process-output): Check for validity of
13828 comint-last-output-start before using it. This avoids a bad
13829 interaction with gdb-mi's input/output buffer.
13831 2012-05-09 Glenn Morris <rgm@gnu.org>
13833 * files.el (dir-locals-read-from-file):
13834 Mention dir-locals in any error message.
13836 2012-05-09 Chong Yidong <cyd@gnu.org>
13838 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
13839 package (Bug#11410).
13841 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
13842 variables into description.
13844 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13846 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
13847 shell-delimiter-argument-list (bug#11348).
13848 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
13850 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
13852 * textmodes/rst.el: Silence byte-compiler warnings.
13853 (rst-re-alist, rst-reset-section-caches): Move around.
13854 (rst-re): Use `characterp', not `char-valid-p'.
13855 (font-lock-beg, font-lock-end): Declare.
13857 * progmodes/idlw-shell.el (specs): Remove reference to deleted
13858 variable `idlwave-shell-activate-alt-keybindings' and simplify.
13860 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
13862 2012-05-08 Glenn Morris <rgm@gnu.org>
13864 * files.el (auto-mode-alist): Treat ".make" like ".mk".
13866 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13868 * vc/log-edit.el: Add GNU coding standards highlighting.
13869 (log-edit-font-lock-gnu-style)
13870 (log-edit-font-lock-gnu-keywords): New vars.
13871 (log-edit-font-lock-keywords): New fun.
13872 (log-edit-mode): Don't fold case in font-lock.
13873 (log-edit-font-lock-keywords): Do not assume case-folding.
13875 * imenu.el: Misc cleanup. Make docstrings out of comments.
13876 Use lexical-binding.
13877 (imenu--index-alist, imenu--last-menubar-index-alist)
13878 (imenu-menubar-modified-tick): Use defvar-local.
13879 (imenu--split-menu): Remove unused var.
13880 (imenu--cleanup-seen): Declare as global.
13881 (imenu--cleanup): Use dolist.
13883 * subr.el (defvar-local): Add debug spec and doc-string position.
13885 2012-05-08 Glenn Morris <rgm@gnu.org>
13887 * language/burmese.el, language/cham.el, language/czech.el:
13888 * language/english.el, language/georgian.el, language/greek.el:
13889 * language/japanese.el, language/khmer.el, language/korean.el:
13890 * language/lao.el, language/misc-lang.el, language/romanian.el:
13891 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
13892 * language/thai.el, language/utf-8-lang.el:
13893 Remove no-byte-compile setting.
13895 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
13897 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13899 * progmodes/make-mode.el (makefile-browse):
13900 Remove unnecessary interactive. (Bug#11324)
13902 2012-05-07 Glenn Morris <rgm@gnu.org>
13904 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
13906 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
13908 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13910 * loadup.el: Preload newcomment.el.
13911 * newcomment.el: Move autoload-only code to toplevel.
13913 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
13914 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
13915 Handle new :right-align column property.
13916 (tabulated-list-print-col): Idem, plus use `display' text-property to
13917 try and preserve alignment for variable pitch fonts.
13919 2012-05-07 Chong Yidong <cyd@gnu.org>
13921 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
13922 (tabulated-list-use-header-line): New var.
13923 (tabulated-list-init-header): Use it.
13924 (tabulated-list-print-fake-header): New function.
13925 (tabulated-list-print): Use it.
13926 (tabulated-list-sort-button-map): Add non-header-line commands.
13927 (tabulated-list-init-header): Add column name property to basic
13929 (tabulated-list-col-sort): Handle non-header-line button case.
13930 (tabulated-list--sort-by-column-name): Fix a corner case.
13932 * buff-menu.el (list-buffers--refresh):
13933 Handle Buffer-menu-use-header-line.
13935 2012-05-06 Chong Yidong <cyd@gnu.org>
13937 * buff-menu.el: Convert to Tabulated List mode.
13938 (Buffer-menu-buffer+size-width): Make obsolete.
13939 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
13940 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
13941 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
13942 documentation into docstring of buffer-menu.
13943 (Buffer-menu-toggle-files-only): Add an informative message.
13944 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
13945 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
13946 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
13947 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
13948 (Buffer-menu-execute, Buffer-menu-select)
13949 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
13950 (Buffer-menu-bury): Use Tabulated List machinery.
13951 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
13952 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
13954 (list-buffers--refresh): New function.
13955 (list-buffers-noselect): Use it.
13956 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
13957 (Buffer-menu--pretty-file-name): New helper functions.
13959 * loadup.el: Preload tabulated-list.
13961 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
13962 tabulated-list-sort-column.
13963 (tabulated-list-init-header): Add the initial aligning space even
13964 if tabulated-list-padding is zero.
13966 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
13968 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
13969 whose cdr is not a cons cell correctly (bug#11038).
13971 2012-05-06 Chong Yidong <cyd@gnu.org>
13973 * emacs-lisp/tabulated-list.el (tabulated-list-format):
13974 Accept additional plist in column descriptors.
13975 (tabulated-list-init-header): Obey it.
13976 (tabulated-list-get-entry): New function.
13977 (tabulated-list-put-tag): Use it. Use string-width instead of
13979 (tabulated-list--column-number): New function.
13980 (tabulated-list-print): Use it.
13981 (tabulated-list-print-col): New function.
13982 Set `tabulated-list-column-name' property on each column's text.
13983 (tabulated-list-print-entry): Use it.
13984 (tabulated-list-delete-entry, tabulated-list-set-col):
13986 (tabulated-list-sort-column): New command (Bug#11337).
13988 * buff-menu.el (list-buffers): Move C-x C-b binding from
13989 buff-menu.el to bindings.el.
13991 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
13992 :advertised-binding feature.
13994 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
13996 * progmodes/compile.el (compilation-internal-error-properties):
13997 Calculate start position correctly when end-col is set but
13998 end-line is not (Bug#11382).
14000 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
14002 * man.el (Man-unindent): Use text-property-default-nonsticky to
14003 prevent untabify from inheriting face properties (Bug#11408).
14005 2012-05-05 Stefan Merten <smerten@oekonux.de>
14007 * textmodes/rst.el: Major merge with upstream development up to
14008 Docutils SVN r7399 / rst.el V1.2.1.
14010 Clarify maintainership and authors.
14012 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
14013 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
14014 (rst-official-version, rst-official-cvs-rev, rst-version)
14015 (rst-package-emacs-version-alist): New functions and variables
14016 for version information.
14018 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
14019 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
14020 (rst-mode-syntax-table, rst-mode): New and corrected functions
14021 and variables representing reStructuredText features.
14023 (rst-re): New function for reStructuredText regexes. Use in
14026 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
14027 (rst-mode-map): Rebind keys.
14029 (rst-mode-lazy, rst-font-lock-keywords)
14030 (rst-font-lock-extend-region)
14031 (rst-font-lock-extend-region-internal)
14032 (rst-font-lock-extend-region-extend)
14033 (rst-font-lock-find-unindented-line-limit)
14034 (rst-font-lock-find-unindented-line-match)
14035 (rst-adornment-level, rst-font-lock-adornment-level)
14036 (rst-font-lock-adornment-match)
14037 (rst-font-lock-handle-adornment-pre-match-form)
14038 (rst-font-lock-handle-adornment-matcher): Major revision of
14039 font-locking. Integrate with other code. Use `jit-lock-mode'.
14041 (rst-preferred-adornments, rst-adjust-hook)
14042 (rst-new-adornment-down, rst-preferred-bullets)
14043 (rst-preferred-bullets, rst-indent, rst-indent-width)
14044 (rst-indent-field, rst-indent-literal-normal)
14045 (rst-indent-literal-minimized, rst-indent-comment): Change,
14046 extend and improve customization.
14048 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
14049 (rst-normalize-cursor-position, rst-get-decoration)
14050 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
14051 (rst-rstrip, rst-toc-insert-find-delete-contents)
14052 (rst-shift-fill-region, rst-compute-bullet-tabs)
14053 (rst-debug-print-tabs, rst-debug-mark-found)
14054 (rst-shift-region-guts, rst-shift-region-right)
14055 (rst-shift-region-left, rst-use-char-classes)
14056 (rst-font-lock-keywords-function)
14057 (rst-font-lock-indentation-point)
14058 (rst-font-lock-find-unindented-line-begin)
14059 (rst-font-lock-find-unindented-line-end)
14060 (rst-font-lock-find-unindented-line)
14061 (rst-font-lock-adornment-point, rst-font-lock-level)
14062 (rst-adornment-level-alist): Remove functions and variables.
14064 (rst-compare-adornments, rst-get-adornment-match)
14065 (rst-suggest-new-adornment, rst-get-adornments-around)
14066 (rst-adornment-complete-p, rst-get-next-adornment)
14067 (rst-adjust-adornment, rst-display-adornments-hierarchy)
14068 (rst-straighten-adornments): Standardize function names to
14069 use "adornment" instead of "decoration". Correct callers.
14070 Similar standardizing in many places.
14072 (rst-update-section, rst-adjust, rst-promote-region)
14073 (rst-enumerate-region, rst-bullet-list-region)
14074 (rst-repeat-last-character): Correct use of `interactive'.
14076 (rst-classify-adornment, rst-find-all-adornments)
14077 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
14078 (rst-find-leftmost-column, rst-repeat-last-character):
14079 Refactor functions.
14081 (rst-find-title-line, rst-reset-section-caches)
14082 (rst-get-adornments-around, rst-adjust-adornment-work)
14083 (rst-arabic-to-roman, rst-roman-to-arabic)
14084 (rst-insert-list-pos, rst-insert-list-new-item)
14085 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
14088 (rst-all-sections, rst-section-hierarchy)
14089 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
14092 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
14093 configuration instead of only buffer. Change where necessary.
14095 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
14096 (rst-shift-region, rst-adaptive-fill): New functions for
14097 indentation and filling.
14099 (rst-comment-line-break, rst-comment-indent)
14100 (rst-comment-insert-comment, rst-comment-region)
14101 (rst-uncomment-region): New functions for handling comments.
14103 (rst-compile): Quote shell arguments.
14105 (rst-compile-pdf-preview, rst-compile-slides-preview):
14106 Delete temporary files after use.
14108 2012-05-05 Glenn Morris <rgm@gnu.org>
14110 * calendar/cal-html.el: Optionally include holidays in the output.
14111 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
14112 (cal-html-holidays): New option.
14113 (cal-html-css-default): Add holiday entry.
14114 (holiday-in-range): Autoload it.
14115 (cal-html-htmlify-entry): Add optional class argument.
14116 (cal-html-htmlify-list): Add optional holidays argument.
14117 (cal-html-insert-agenda-days): Include holidays in the output.
14118 (cal-html-one-month): Maybe include holidays.
14120 * calendar/holidays.el (holiday-in-range):
14121 Move here from cal-tex-list-holidays.
14122 * calendar/cal-tex.el (cal-tex-list-holidays):
14123 Make it an obsolete alias for holiday-in-range. Update all callers.
14125 2012-05-05 Chong Yidong <cyd@gnu.org>
14127 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
14130 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
14132 * files.el (file-auto-mode-skip): New var.
14133 (set-auto-mode-1): Use it.
14135 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14137 * repeat.el: Use lexical-binding.
14138 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
14139 (repeat-undo-count): Remove.
14141 * progmodes/octave-mod.el (octave-abbrev-start):
14142 * progmodes/f90.el (f90-abbrev-start):
14143 * face-remap.el (text-scale-adjust):
14144 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
14146 * emacs-lisp/pcase.el (pcase--let*): New function.
14147 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
14149 (pcase--split-pred): Be more clever about ruling out overlap between
14150 a predicate and some constant pattern.
14151 (pcase--q1): Use `null' instead of (eq foo nil).
14153 * subr.el (setq-local, defvar-local): New macros.
14154 (kbd): Redefine as an alias.
14155 (with-selected-window): Leave unrelated frames alone.
14156 (set-temporary-overlay-map): New function.
14158 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14160 * subr.el (user-error): New function.
14161 * window.el (switch-to-buffer):
14162 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
14163 (smerge-match-conflict):
14164 * simple.el (previous-matching-history-element)
14165 (next-matching-history-element, goto-history-element, undo-more)
14167 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
14168 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
14169 (next-file, tags-loop-scan, list-tags, complete-tag):
14170 * progmodes/compile.el (compilation-loop):
14171 * mouse.el (mouse-minibuffer-check):
14172 * man.el (Man-bgproc-sentinel, Man-goto-page):
14173 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
14174 (Info-history-forward, Info-follow-reference, Info-menu)
14175 (Info-extract-menu-item, Info-extract-menu-counting)
14176 (Info-forward-node, Info-backward-node, Info-next-menu-item)
14177 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
14178 (Info-next-reference, Info-prev-reference, Info-index)
14179 (Info-index-next, Info-follow-nearest-node)
14180 (Info-copy-current-node-name):
14181 * imenu.el (imenu--make-index-alist)
14182 (imenu-default-create-index-function, imenu-add-to-menubar):
14183 * files.el (basic-save-buffer, recover-file):
14184 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14185 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
14186 (checkdoc-message-text, checkdoc-defun):
14187 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
14188 * cus-edit.el (customize-changed-options, customize-rogue)
14189 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
14190 (custom-variable-mark-to-reset-standard)
14191 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
14193 * completion.el (check-completion-length):
14194 * comint.el (comint-search-arg)
14195 (comint-previous-matching-input-string-position)
14196 (comint-previous-matching-input)
14197 (comint-replace-by-expanded-history-before-point, comint-send-input)
14198 (comint-copy-old-input, comint-backward-matching-input)
14199 (comint-goto-process-mark, comint-set-process-mark):
14200 * calendar/calendar.el (calendar-cursor-to-date): Use it.
14201 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
14203 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14205 * dabbrev.el (dabbrev--ignore-case-p): New function.
14206 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
14209 * files.el (automount-dir-prefix): Mark as obsolete.
14211 2012-05-04 Glenn Morris <rgm@gnu.org>
14213 * patcomp.el, play/bruce.el: Move to obsolete/.
14215 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
14217 Fix minor Y10k bugs.
14218 * arc-mode.el (archive-unixdate):
14219 * autoinsert.el (auto-insert-alist):
14220 * calc/calc-forms.el (math-this-year):
14221 * emacs-lisp/copyright.el (copyright-current-year)
14222 (copyright-update-year, copyright):
14223 * tar-mode.el (tar-clip-time-string):
14224 * time.el (display-time-update):
14225 Don't assume years have 4 digits.
14227 2012-05-04 Chong Yidong <cyd@gnu.org>
14229 * dos-w32.el (file-name-buffer-file-type-alist)
14230 (direct-print-region-use-command-dot-com):
14231 * ffap.el (ffap-menu-regexp):
14232 * find-file.el (ff-special-constructs):
14233 * follow.el (follow-debug):
14234 * forms.el (forms--debug):
14235 * iswitchb.el (iswitchb-all-frames):
14236 * ido.el (ido-all-frames):
14237 * emacs-lisp/timer.el (timer-max-repeats):
14238 * mail/feedmail.el (feedmail-mail-send-hook)
14239 (feedmail-mail-send-hook-queued):
14240 * mail/footnote.el (footnote-signature-separator):
14241 * mail/mailabbrev.el (mail-alias-separator-string)
14242 (mail-abbrev-mode-regexp):
14243 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
14244 * progmodes/idlwave.el (idlwave-libinfo-file)
14245 (idlwave-default-completion-case-is-down)
14246 (idlwave-library-routines): Convert defvars to defcustoms.
14248 * mail/rmail.el (rmail-decode-mime-charset):
14249 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
14250 (idlwave-shell-fix-inserted-breaks)
14251 (idlwave-shell-activate-alt-keybindings)
14252 (idlwave-shell-use-breakpoint-glyph):
14253 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
14255 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14257 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
14259 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
14261 * progmodes/verilog-mode.el (font-lock-keywords):
14262 Fix mis-highligting auto. Reported by Craig Barner.
14263 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
14264 defines from global name space. Reported by Dan Dever.
14265 (verilog-auto-reset, verilog-auto-reset-widths)
14266 (verilog-auto-tieoff): Support using unbased numbers for
14267 AUTORESET and AUTOTIEOFF.
14268 (verilog-submit-bug-report): Update variable list.
14269 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
14270 parenthesis from not matching. Reported by Michael Rytting.
14271 (verilog-auto-template-lint): Fix hash error when linting modules
14272 with no used templates.
14273 (verilog-warn, verilog-warn-error)
14274 (verilog-warn-fatal): When non-interactive report multiple
14275 warnings before exiting. Suggested by Brad Dobbie.
14276 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
14277 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
14278 to report unused template errors. Reported by Brad Dobbie.
14279 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
14280 nets, bug438. Reported by Vns Blore.
14281 (verilog-auto-inout-module, verilog-auto-reg)
14282 (verilog-read-decls, verilog-read-sub-decls-sig)
14283 (verilog-signals-edit-wire-reg, verilog-signals-with):
14284 Fix passing of Verilog data types in ANSI input/output ports
14285 such as "output logic" into the AUTOs. Special case "wire" and
14286 "reg" for backwards compatibility presuming Verilog 2001.
14287 (verilog-auto-ascii-enum): Add "auto enum" as alias.
14288 (verilog-preprocess): Fix replication of preprocess output.
14289 Reported by Brad Dobbie.
14290 (verilog-auto-inst-interfaced-ports):
14291 Create verilog-auto-inst-interfaced-ports, bug429.
14292 Reported by Julian Gorfajn.
14293 (verilog-after-save-font-hook)
14294 (verilog-before-save-font-hook): New variable.
14295 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
14296 (verilog-save-font-mods): Wrap disabling fontification, reported
14298 (verilog-do-indent, verilog-pretty-declarations-auto)
14299 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
14300 Reported by Pierre-David Pfister.
14301 (verilog-set-auto-endcomments): Fix endtask auto comments outside
14302 of class declarations, bug292. Reported by Kevin Heilman.
14303 (verilog-read-decls): Fix 'parameter type' not appearing in
14304 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
14305 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
14306 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
14307 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
14308 Reported by David Kravitz.
14310 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
14312 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
14313 assignment with tests in ifs and for loops.
14314 (verilog-extended-complete-re, verilog-complete-reg): Change so
14315 that DPI inport functions don't look like fuction declarations.
14316 (verilog-pretty-expr): Don't line up assignment
14317 operations to the test and increment in if and for loops
14318 (verilog-extended-complete-re, verilog-complete-reg): Change so
14319 that DPI inport functions don't look like fuction declarations.
14321 2012-05-03 Kenichi Handa <handa@m17n.org>
14323 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
14324 decoding, and show a warning message without signaling an error
14327 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14329 * emacs-lisp/bytecomp.el
14330 (byte-compile-file-form-custom-declare-variable): Compile all elements,
14331 since cconv.el might have introduced :fun-body, internal-make-closure,
14332 and friends for bytecomp to handle (bug#11391).
14333 * custom.el (defcustom): Avoid ((λ ..) ..).
14335 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
14337 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
14339 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
14341 * notifications.el (dbus-debug):
14342 * term/linux.el (gpm-mouse-enable):
14343 * term/screen.el (xterm-register-default-colors): Declare.
14345 2012-05-02 Chong Yidong <cyd@gnu.org>
14347 * cus-start.el (gc-cons-percentage, exec-suffixes)
14348 (dos-display-scancodes, dos-hyper-key, dos-super-key)
14349 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
14350 (make-cursor-line-fully-visible, void-text-area-pointer)
14351 (font-list-limit): Add customization data.
14353 * allout.el (allout-exposure-change-functions)
14354 (allout-structure-added-functions)
14355 (allout-structure-deleted-functions)
14356 (allout-structure-shifted-functions): Rename abnormal hooks from
14357 *-hook, and convert to defcustoms.
14358 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
14359 Convert to defcustoms.
14360 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
14362 * allout-widgets.el: Hook callers changed.
14364 2012-05-02 Eli Zaretskii <eliz@gnu.org>
14366 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
14367 the yanked message in preference to the default value of
14368 buffer-file-coding-system.
14370 2012-05-02 Martin Rudalics <rudalics@gmx.at>
14372 * window.el (display-buffer--action-function-custom-type):
14375 2012-05-02 Alan Mackenzie <acm@muc.de>
14377 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
14379 2012-05-01 Glenn Morris <rgm@gnu.org>
14381 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
14383 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
14385 * cus-edit.el (custom-variable-documentation): Simplify with format.
14387 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14388 Stefan Monnier <monnier@iro.umontreal.ca>
14390 * simple.el (suggest-key-bindings, execute-extended-command):
14391 Move from keyboard.c.
14393 2012-05-01 Chong Yidong <cyd@gnu.org>
14395 * follow.el: Eliminate advice.
14396 (set-process-filter, process-filter, sit-for): Advice deleted.
14397 (follow-mode-off-hook): Obsolete hook removed.
14398 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
14400 (follow-auto): Use a :set function.
14401 (follow-mode): Rewritten. Don't advise process filters.
14402 (follow-switch-to-current-buffer-all, follow-scroll-up)
14403 (follow-scroll-down): Assume follow-mode is bound.
14404 (follow-comint-scroll-to-bottom)
14405 (follow-align-compilation-windows): New functions.
14406 (follow--window-sorter): New function.
14407 (follow-all-followers): Use it to explicitly sort windows by their
14408 positions; don't make assumptions about next-window order.
14409 (follow-windows-start-end, follow-delete-other-windows-and-split)
14410 (follow-calc-win-start): Doc fix.
14411 (follow-windows-aligned-p, follow-select-if-visible): Don't call
14412 vertical-motion unnecessarily.
14413 (follow-adjust-window): New function.
14414 (follow-post-command-hook): Use it.
14415 (follow-call-set-process-filter, follow-call-process-filter)
14416 (follow-intercept-process-output, follow-tidy-process-filter-alist)
14417 (follow-stop-intercept-process-output, follow-generic-filter):
14419 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
14420 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
14421 New functions, replacing advice on scroll-bar-* commands.
14422 (follow-mwheel-scroll): New function (Bug#4112).
14424 * comint.el (comint-adjust-point): New function.
14425 (comint-postoutput-scroll-to-bottom): Use it.
14426 Call follow-comint-scroll-to-bottom for Follow mode buffers.
14428 2012-05-01 Glenn Morris <rgm@gnu.org>
14430 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
14431 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
14432 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
14433 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
14434 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
14435 Remove no-byte-compile setting.
14437 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
14439 * minibuffer.el (completion-table-with-quoting): Fix compatibility
14440 all-completions code to not return a number in the last cdr.
14442 2012-04-30 Leo Liu <sdl.web@gmail.com>
14444 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
14447 2012-04-29 Chong Yidong <cyd@gnu.org>
14449 * follow.el (follow-calc-win-end): Rewrite to handle partial
14450 screen lines correctly (Bug#8390).
14451 (follow-avoid-tail-recenter): Minor cleanup.
14453 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14455 Avoid the obsolete `assoc' package.
14456 * speedbar.el (speedbar-refresh): Avoid adelete.
14457 (speedbar-file-lists): Simplify and avoid aput.
14458 * man.el (Man--sections, Man--refpages): New vars, replacing
14459 Man-sections-alist and Man-refpages-alist.
14460 (Man-build-section-alist, Man-build-references-alist):
14461 Use them; avoid aput.
14462 (Man--last-section, Man--last-refpage): New vars.
14463 (Man-follow-manual-reference): Use them.
14464 Use the `default' arg of completing-read.
14465 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
14467 2012-04-27 Chong Yidong <cyd@gnu.org>
14469 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
14471 * startup.el (x-apply-session-resources): New function.
14473 * term/ns-win.el (ns-initialize-window-system):
14474 * term/w32-win.el (w32-initialize-window-system):
14475 * term/x-win.el (x-initialize-window-system): Use it to properly
14476 set menu-bar-mode and other vars from X resources, even if the
14477 initial frame is not a window-system frame (Bug#2299).
14479 * subr.el (read-key): Avoid running filter function when setting
14480 up temporary tool bar entries (Bug#9922).
14482 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14484 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
14487 2012-04-27 Chong Yidong <cyd@gnu.org>
14489 * select.el (xselect--encode-string): New function, split from
14490 xselect-convert-to-string.
14491 (xselect-convert-to-string): Use it.
14492 (xselect-convert-to-filename, xselect-convert-to-os)
14493 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
14494 returned strings are properly encoded (Bug#11315).
14496 2012-04-27 Chong Yidong <cyd@gnu.org>
14498 * simple.el (delete-active-region): Move to killing custom group.
14500 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14502 * progmodes/which-func.el (which-func-current): Quote %
14503 characters for mode-line processing.
14505 2012-04-27 Chong Yidong <cyd@gnu.org>
14507 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
14508 reaching eob (Bug#11286).
14510 2012-04-27 Eli Zaretskii <eliz@gnu.org>
14512 * progmodes/gdb-mi.el (gdb-control-level): New variable.
14513 (gdb): Make it buffer-local and init to zero.
14514 (gdb-control-commands-regexp): New variable.
14515 (gdb-send): Don't wrap in "-interpreter-exec console" if
14516 gdb-control-level is positive. Increment gdb-control-level
14517 whenever the command matches gdb-control-commands-regexp, and
14518 decrement it each time the command is "end". (Bug#11279)
14520 2012-04-27 Martin Rudalics <rudalics@gmx.at>
14522 * window.el (adjust-window-trailing-edge, enlarge-window)
14523 (shrink-window, window-resize):
14524 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
14525 windows (Bug#11276).
14527 2012-04-27 Chong Yidong <cyd@gnu.org>
14529 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
14530 fix "missing prefix" warning. All callers changed.
14532 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14534 * emacs-lisp/assoc.el: Move to obsolete/.
14536 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14538 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
14540 * term/ns-win.el (ns-define-service):
14541 * progmodes/pascal.el (pascal-goto-defun):
14542 * progmodes/js.el (js--read-tab):
14543 * progmodes/etags.el (tags-lazy-completion-table):
14544 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
14545 * emacs-lisp/ewoc.el (ewoc--wrap):
14546 * emacs-lisp/assoc.el (aput, adelete, amake):
14547 * doc-view.el (doc-view-convert-current-doc):
14548 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
14550 2012-04-26 Chong Yidong <cyd@gnu.org>
14552 * image.el (image-type-from-buffer): Only return supported image
14555 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
14556 value, for symmetry with diff-end-of-hunk.
14557 (diff-split-hunk, diff-find-source-location)
14558 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
14559 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
14560 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
14561 compute the relevant hunk or file properly (Bug#6005).
14562 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
14564 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14573 * vc/vc.el: Replace lexical-let by lexical-binding.
14574 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
14575 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
14576 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
14578 2012-04-26 Chong Yidong <cyd@gnu.org>
14580 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
14581 (diff-mode-shared-map): Bind it to / and [remap undo].
14583 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
14584 (ediff-window-setup-function): Use it as the default, to set up
14585 windows based on whether the current frame is graphical (Bug#2138).
14586 (ediff-choose-window-setup-function-automatically): Make obsolete.
14588 * vc/ediff-init.el: Always define ediff-pixel-width/height.
14590 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14592 * ffap.el: Remove old code for obsolete package.
14593 (ffap-complete-as-file-p): Remove.
14595 Use completion-table-with-quoting for comint and pcomplete.
14596 * comint.el (comint--unquote&requote-argument)
14597 (comint--unquote-argument, comint--requote-argument): New functions.
14598 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
14599 (comint-quote-filename): Use regexp-opt-charset.
14600 (comint--common-suffix, comint--common-quoted-suffix)
14601 (comint--table-subvert): Remove.
14602 (comint-unquote-function, comint-requote-function): New vars.
14603 (comint--complete-file-name-data): Use them with
14604 completion-table-with-quoting.
14605 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
14606 * pcomplete.el (pcomplete-arg-quote-list)
14607 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
14608 (pcomplete-unquote-argument-function): Default to non-nil.
14609 (pcomplete-unquote-argument): Simplify.
14610 (pcomplete--common-quoted-suffix): Remove.
14611 (pcomplete-requote-argument-function): New var.
14612 (pcomplete--common-suffix): New function.
14613 (pcomplete-completions-at-point): Use completion-table-with-quoting
14614 and completion-table-subvert.
14616 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
14617 (minibuffer--double-dollars): Preserve properties.
14618 (completion--sifn-requote): New function.
14619 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
14621 * minibuffer.el: Add support for completion of quoted/escaped data.
14622 (completion-table-with-quoting, completion-table-subvert): New funs.
14623 (completion--twq-try, completion--twq-all): New functions.
14624 (completion--nth-completion): New function.
14625 (completion-try-completion, completion-all-completions): Use it.
14627 2012-04-25 Leo Liu <sdl.web@gmail.com>
14629 * progmodes/python.el (python-pdbtrack-get-source-buffer):
14630 Use compilation-message if available to find real filename.
14632 2012-04-25 Chong Yidong <cyd@gnu.org>
14634 * vc/diff-mode.el (diff-setup-whitespace): New function.
14635 (diff-mode): Use it.
14637 * vc/diff.el (diff-sentinel):
14638 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
14639 Whitespace mode variables based on diff style (Bug#8612).
14641 2012-04-25 Leo Liu <sdl.web@gmail.com>
14643 * progmodes/python.el (python-send-region): Add suffix .py to the
14646 * files.el (auto-mode-alist): Use javascript-mode instead.
14648 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
14650 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
14652 * net/soap-client.el (soap-resolve-references-for-sequence-type)
14653 (soap-resolve-references-for-array-type): Hack to prevent self
14654 references, see Bug#9.
14655 (soap-parse-envelope): Report the contents of the 'detail' node
14656 when receiving a fault reply.
14657 (soap-parse-envelope): Report the contents of the entire 'detail' node.
14659 * net/soap-inspect.el (soap-sample-value-for-simple-type)
14660 (soap-inspect-simple-type): New function.
14662 * net/soap-client.el (soap-simple-type): New struct.
14663 (soap-default-xsd-types, soap-default-soapenc-types)
14664 (soap-decode-basic-type, soap-encode-basic-type):
14665 support unsignedInt and double basic types.
14666 (soap-resolve-references-for-simple-type)
14667 (soap-parse-simple-type, soap-encode-simple-type): New function.
14668 (soap-parse-schema): Parse xsd:simpleType declarations.
14670 * net/soap-client.el (soap-default-xsd-types)
14671 (soap-default-soapenc-types): Add integer, byte and anyURI types.
14672 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
14673 the local name of "soapenc:Array".
14674 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
14675 decoding integer, byte and anyURI xsd types.
14677 2012-04-25 Chong Yidong <cyd@gnu.org>
14679 * cus-edit.el (custom-buffer-create-internal): Update header text.
14681 2012-04-25 Eli Zaretskii <eliz@gnu.org>
14683 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
14684 settings on 'system-type', not on 'window-system'. On MS-Windows,
14685 set interactive-mode on in GDB.
14687 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14689 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
14690 (ruby-syntax-propertize-regexp): Remove.
14691 (ruby-syntax-propertize-function): Split regexp into chunks.
14692 Match following code directly.
14694 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
14696 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
14697 (ruby-syntax-propertize-regexp): New function.
14698 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
14699 by a special keyword.
14701 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
14702 (ruby-syntax-general-delimiters-goto-beg)
14703 (ruby-syntax-propertize-general-delimiters): New functions.
14704 (ruby-syntax-propertize-function): Use them to handle GDL.
14705 (ruby-font-lock-keywords): Move old handling of GDL...
14706 (ruby-font-lock-syntactic-keywords): .. to here.
14707 (ruby-calculate-indent): Adjust indentation for GDL.
14709 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
14711 * notifications.el (top): Remove unneeded declarations.
14712 (notifications-specification-version): Change to "1.2".
14713 (notifications-interface, notifications-notify-method)
14714 (notifications-close-notification-method): Fix docstring.
14715 (notifications-get-capabilities-method): New defconst.
14716 (notifications-notify): Add :action-items, :resident and
14717 :transient hints. Change "image_data" to "image-data" and
14718 "image_path" to "image-path".
14719 (notifications-get-capabilities): New defun.
14721 2012-04-24 Leo Liu <sdl.web@gmail.com>
14723 * progmodes/python.el: Move hideshow setup to the end.
14725 2012-04-24 Martin Rudalics <rudalics@gmx.at>
14727 * window.el (handle-select-window): Clear echo area since this is
14728 no more done by read_char (Bug#11304).
14730 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14732 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
14733 and `/ M' to filter-derived-mode.
14734 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
14735 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
14736 (ibuffer-mark-by-mode): Use default rather than initial-input.
14737 (ibuffer-filter-by-derived-mode): Autoload and require-match.
14739 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
14741 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
14742 (ibuffer-filter-by-derived-mode): New filter.
14743 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
14745 2012-04-23 Andreas Politz <politza@fh-trier.de>
14747 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
14749 2012-04-23 Chong Yidong <cyd@gnu.org>
14751 * cus-edit.el (customize-apropos, customize-apropos-options):
14752 Disable matching of non-option variables (Bug#11176).
14753 (customize-option, customize-option-other-window)
14754 (customize-changed-options): Doc fix.
14755 (customize-apropos-options, customize-apropos-faces)
14756 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
14758 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
14759 Fix word list splitting (Bug#11132).
14760 (apropos-symbol, apropos-keybinding, apropos-label)
14761 (apropos-property, apropos-function-button)
14762 (apropos-variable-button, apropos-misc-button): New faces.
14763 (apropos-symbol-face, apropos-keybinding-face)
14764 (apropos-label-face, apropos-property-face, apropos-match-face):
14765 Variables removed (Bug#8396).
14766 (apropos-library-button, apropos-format-plist, apropos-print)
14767 (apropos-print-doc, apropos-describe-plist): Callers changed.
14769 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
14771 * net/xesam.el (xesam-mode-map): Use let-bound map in
14772 initialization. (Bug#11292)
14774 2012-04-23 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
14776 Preserve ispell session localwords when switching back to
14779 * textmodes/ispell.el (ispell-buffer-session-localwords):
14780 New buffer-local variable to hold buffer session localwords.
14781 (ispell-kill-ispell): Add option 'clear to delete session
14783 (ispell-command-loop, ispell-change-dictionary)
14784 (ispell-buffer-local-words): Preserve session localwords when
14787 * textmodes/flyspell.el (flyspell-process-localwords)
14788 (flyspell-do-correct): Preserve session localwords when needed.
14790 2012-04-23 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
14792 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
14793 using obsolete `translation-table-for-input'.
14794 (ispell-word, ispell-process-line, ispell-complete-word):
14795 Use plain `insert' instead of removed `ispell-insert-word'.
14797 2012-04-22 Chong Yidong <cyd@gnu.org>
14799 * cus-edit.el (custom-variable-menu)
14800 (custom-variable-reset-saved, custom-face-menu)
14801 (custom-face-reset-saved): If there is no saved value, make the
14802 "reset-saved" operation bring back the default (Bug#9509).
14803 (custom-face-state): Properly detect themed faces.
14805 * faces.el (face-spec-set): Stop supporting deprecated form of
14808 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
14810 Move functions from C to Lisp. Make non-blocking method calls
14811 the default. Implement further D-Bus standard interfaces.
14813 * net/dbus.el (dbus-message-internal): Declare function.
14814 Remove unneeded function declarations.
14815 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
14816 (dbus-message-type-method-return, dbus-message-type-error)
14817 (dbus-message-type-signal): Declare variables. Remove local
14819 (dbus-interface-dbus, dbus-interface-peer)
14820 (dbus-interface-introspectable, dbus-interface-properties)
14821 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
14823 (dbus-interface-objectmanager): New defconst.
14824 (dbus-call-method, dbus-call-method-asynchronously)
14825 (dbus-send-signal, dbus-method-return-internal)
14826 (dbus-method-error-internal, dbus-register-service)
14827 (dbus-register-signal, dbus-register-method): New defuns, moved
14829 (dbus-call-method-handler, dbus-setenv)
14830 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
14832 (dbus-call-method-non-blocking): Make it an obsolete function.
14833 (dbus-unregister-object, dbus-unregister-service)
14834 (dbus-handle-event, dbus-register-property)
14835 (dbus-property-handler): Obey the new structure of
14836 `bus-registered-objects'.
14837 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
14838 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14839 Use `dbus-call-method'.
14841 2012-04-22 Chong Yidong <cyd@gnu.org>
14843 * cus-edit.el (custom-commands, custom-reset-menu)
14844 (Custom-reset-standard): Tweak labels.
14845 (custom-reset-button-menu): Change default to t.
14846 (custom-buffer-create-internal): For the custom-reset-button-menu
14847 case, put the revert button first.
14848 (custom-group-subtitle): New face.
14849 (custom-group-value-create): Align docstring to a specific column.
14851 * wid-edit.el (widget-documentation-link-add): Don't handle
14852 indentation in this function.
14853 (widget-documentation-string-indent-to): New function.
14854 (widget-documentation-string-value-create): Use it.
14856 * autorevert.el (auto-revert):
14857 * epg-config.el (epg):
14858 * ibuffer.el (ibuffer):
14861 * eshell/eshell.el (eshell):
14862 * net/ange-ftp.el (ange-ftp):
14863 * progmodes/ebnf2ps.el (postscript):
14864 * progmodes/flymake.el (flymake):
14865 * progmodes/prolog.el (prolog):
14866 * progmodes/verilog-mode.el (verilog-mode):
14867 * progmodes/which-func.el (which-func):
14868 * term/xterm.el (xterm):
14869 * textmodes/picture.el (picture):
14870 * textmodes/tildify.el (tildify):
14871 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
14872 customization buffers.
14874 2012-04-22 Alan Mackenzie <acm@muc.de>
14876 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
14877 Adding a ) can hide the resulting (..) from searches. Fix it.
14878 Bound the backward search to the position of the existing (.
14880 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
14882 * progmodes/verilog-mode.el (verilog-mode): Check whether
14883 which-func-modes is t before adding verilog-mode.
14884 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
14886 2012-04-21 Leo Liu <sdl.web@gmail.com>
14888 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
14890 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
14892 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
14893 filling of the last column of a table (Bug#5635).
14894 (woman-find-next-control-line): New arg, specifying an additional
14895 regexp component for the control line.
14896 (woman2-roff-buffer): Use it.
14897 (woman-break-table): New function.
14898 (woman2-TS): Use it.
14900 2012-04-21 Chong Yidong <cyd@gnu.org>
14902 * woman.el (woman-set-buffer-display-table, woman-decode-region)
14903 (woman-horizontal-escapes, woman-negative-vertical-space)
14904 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
14905 (WoMan-warn-ignored): Use ?\s instead of ?\ .
14907 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14909 * minibuffer.el (completion-file-name-table): Complete user names.
14911 2012-04-20 Leo Liu <sdl.web@gmail.com>
14913 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
14916 2012-04-20 Chong Yidong <cyd@gnu.org>
14918 * server.el (server-execute): Respect initial-buffer-choice if it
14919 is a string and there are no files to open (Bug#2825).
14920 (server-create-window-system-frame, server-create-tty-frame):
14921 Don't switch buffers here.
14922 (server-process-filter): Only try to open a window system frame if
14923 compiled with graphical support (Bug#8314).
14925 2012-04-20 Dan Nicolaescu <dann@gnu.org>
14927 * battery.el (battery-echo-area-format): Display remaining time
14928 for sysfs backend too (Bug#11269).
14929 (battery-linux-sysfs): Fix conditional for the charge.
14931 2012-04-20 Chong Yidong <cyd@gnu.org>
14933 * progmodes/gdb-mi.el (gdb): Revert previous change.
14934 (gdb-inferior-io--init-proc): New function.
14935 (gdb-init-1): Use it.
14936 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
14937 responsible for allocating a new pty and hooking it to gdb when
14938 the old pty gets an EIO due to process exit.
14939 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
14940 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
14941 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
14943 2012-04-20 Eli Zaretskii <eliz@gnu.org>
14945 * window.el (window-min-size, window-sizable, window-min-delta)
14946 (window-max-delta, window--resizable, window-resizable)
14947 (window-total-size, window-full-height-p, window-full-width-p)
14948 (window-in-direction, window--resize-mini-window, window-resize)
14949 (window--resize-child-windows-normal)
14950 (window--resize-child-windows, window--resize-siblings)
14951 (window--resize-this-window, adjust-window-trailing-edge)
14952 (enlarge-window, shrink-window): Doc fixes.
14954 2012-04-20 Chong Yidong <cyd@gnu.org>
14956 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
14957 New function to call delete-process on the gdb-inferior buffer's pty.
14958 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
14959 pty process (Bug#11273).
14960 (gdb-update): New arg to suppress talking to the gdb process.
14961 (gdb-done-or-error): Use it.
14962 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
14963 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
14964 sentinel not being called.
14966 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
14968 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
14970 2012-04-20 Glenn Morris <rgm@gnu.org>
14972 * net/network-stream.el (open-network-stream): Doc fix.
14974 2012-04-20 Chong Yidong <cyd@gnu.org>
14976 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
14978 2012-04-20 Alan Mackenzie <acm@muc.de>
14980 Ensure searching for keywords is case sensitive.
14982 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
14983 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
14984 (c-defun-name, c-mark-function, c-cpp-define-name)
14985 (c-comment-indent, c-scan-conditionals, c-indent-defun)
14986 (c-context-line-break): Bind case-fold-search to nil.
14988 * progmodes/cc-mode.el (c-font-lock-fontify-region):
14989 Bind case-fold-search to nil.
14991 2012-04-20 Chong Yidong <cyd@gnu.org>
14993 * mail/sendmail.el (mail-bury): Call return action with the right
14994 Rmail buffer (Bug#11242).
14996 * server.el (server-process-filter): Handle corner case where both
14997 tty and nowait options are present (Bug#11102).
14999 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15001 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
15002 (top level): Put into the executable the ident-style '$Id:' tag on
15003 windows-nt as well.
15005 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15007 * electric.el (electric-indent-post-self-insert-function): Check that
15008 electric-indent-mode is enabled in current buffer.
15010 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15012 * imenu.el (imenu-progress-message): Restore; it is "used" in
15013 erc/erc-imenu.el and net/snmp-mode.el.
15015 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15017 * avoid.el (mouse-avoidance-mode): Mark unused arg.
15018 (mouse-avoidance-nudge-mouse): Remove unused binding.
15020 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
15022 * descr-text.el (describe-char):
15023 * progmodes/python.el (python-describe-symbol):
15024 Don't call `toggle-read-only', set `buffer-read-only'.
15026 * imenu.el (imenu-default-goto-function): Mark unused args.
15027 (imenu-progress-message): Remove obsolete macro; all callers changed.
15029 * subr.el (keymap-canonicalize): Remove unused binding.
15030 (read-passwd): Mark unused arg.
15032 * tutorial.el (tutorial--display-changes): Remove unused binding.
15033 (tutorial--save-tutorial-to): Remove unused variable.
15035 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
15036 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
15037 (package-generate-autoloads, package-menu--generate)
15038 (package-menu--find-upgrades): Remove unused bindings.
15040 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
15041 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
15042 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
15043 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
15044 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
15045 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
15046 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
15047 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
15048 (cua-delete-char-rectangle): Mark unused args.
15049 (cua-align-rectangle): Remove unused binding.
15051 * mail/rmail.el (compilation--message->loc)
15052 (epa--find-coding-system-for-mime-charset): Declare.
15054 * net/dbus.el (dbus-register-service): Declare.
15055 (dbus-name-owner-changed-handler): Remove unused binding.
15057 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
15058 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
15059 (nxml-scan-backward-within): Mark unused arg.
15060 (nxml-dynamic-markup-word): Remove unused binding.
15062 * mouse.el (mouse-menu-major-mode-map):
15063 * emacs-lisp/authors.el (authors-scan-change-log)
15064 (authors-add-to-author-list):
15065 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
15066 * emacs-lisp/smie.el (smie-auto-fill):
15067 * mail/sendmail.el (mail-bury):
15068 * mail/unrmail.el (unrmail):
15069 * net/tls.el (open-tls-stream):
15070 * textmodes/picture.el (picture-mouse-set-point):
15071 Remove unused bindings.
15073 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
15075 * net/tramp.el (tramp-action-password): Let-bind
15076 `enable-recursive-minibuffers' to t.
15078 2012-04-18 Sam Steingold <sds@gnu.org>
15080 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
15081 instead of 'string to accommodate values like [f11].
15082 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
15083 * progmodes/gdb-mi.el: Likewise.
15085 2012-04-18 Leo Liu <sdl.web@gmail.com>
15087 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
15089 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
15092 2012-04-18 Chong Yidong <cyd@gnu.org>
15094 * simple.el (line-move): Use forward-line if in batch mode
15097 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
15099 * files.el (after-find-file): Do not try to add a final newline if
15100 the buffer is read-only (Bug#11156).
15102 2012-04-17 Richard Stallman <rms@gnu.org>
15104 * mail/rmail.el (rmail-start-mail):
15105 Pass (rmail-mail-return...) for the return-action.
15106 Pass (rmail-yank-current-message...) for the yank-action.
15107 (rmail-yank-current-message): New function.
15108 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
15109 (rmail-reply): Likewise.
15110 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
15112 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
15113 buffer, not the last. Reject temp buffers. Use the rmail-mode
15114 buffer, not newbuf.
15116 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
15118 * server.el (server-ensure-safe-dir): Simplify.
15120 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15122 * emacs-lisp/smie.el: Provide smarter auto-filling.
15123 (smie-auto-fill): New function.
15124 (smie-setup): Use it.
15126 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
15128 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
15130 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
15131 (comment-indent): Use it.
15133 2012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
15135 * ses.el: The overall change is to add cell renaming, that is
15136 setting fancy names for cell symbols other than name matching
15137 "\\`[A-Z]+[0-9]+\\'" regexp .
15138 (ses-localvars): Add ses--renamed-cell-symb-list.
15139 (ses-create-cell-variable): New defun.
15140 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
15141 (ses-relocate-formula): Relocate formulas only for cells the
15142 symbols of which are not renamed, i.e. symbols whose names do not
15143 match regexp "\\`[A-Z]+[0-9]+\\'".
15144 (ses-relocate-all): Relocate values only for cells the symbols of
15145 which are not renamed.
15146 (ses-load): Create cells variables as the (ses-cell ...) are read,
15147 in order to check row col consistency with cell symbol name only
15148 for cells that are not renamed.
15149 (ses-replace-name-in-formula): New defun.
15150 (ses-rename-cell): New defun.
15152 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
15154 * progmodes/perl-mode.el (perl-indent-parens-as-block):
15155 New option (bug#11118).
15156 (perl-calculate-indent): Respect it.
15158 2012-04-17 Glenn Morris <rgm@gnu.org>
15160 * dired-aux.el (dired-mark-read-string): Doc fix.
15162 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
15164 * dired-aux.el (dired-mark-read-string): Offer optional completion.
15165 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
15167 2012-04-17 Glenn Morris <rgm@gnu.org>
15169 * mouse.el (mouse-drag-track):
15170 * speedbar.el (speedbar-frame-mode):
15171 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
15173 2012-04-16 Leo Liu <sdl.web@gmail.com>
15175 * progmodes/python.el: Trivial cleanup.
15177 2012-04-16 Glenn Morris <rgm@gnu.org>
15179 * vc/vc.el (vc-string-prefix-p):
15180 * vc/pcvs-util.el (cvs-string-prefix-p):
15181 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
15182 * mpc.el (mpc-string-prefix-p):
15183 Make all of these into obsolete aliases for string-prefix-p.
15185 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
15187 * textmodes/two-column.el: Move custom options to the start.
15188 (frame-width): Remove compat definition.
15189 (2C-associate-buffer, 2C-dissociate):
15190 Use with-current-buffer rather than save-excursion.
15191 (2C-dissociate): Force a mode-line update.
15192 (2C-autoscroll): Use ignore-errors.
15194 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
15197 * emacs-lisp/cl-extra.el (*random-state*):
15198 Remove unnecessary declaration.
15200 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
15202 * play/cookie1.el (cookie-snarf):
15203 Give an explicit error if input file cannot be read.
15205 * play/yow.el (yow-file): Use expand-file-name rather than concat.
15207 * progmodes/perl-mode.el (c-macro-expand):
15208 Remove unnecessary autoload (it is in loaddefs.el).
15210 * textmodes/picture.el (picture-desired-column)
15211 (picture-update-desired-column): Convert comments to doc-strings.
15212 (picture-substitute): Remove function.
15213 (picture-mode-map): Initialize in the defvar.
15215 * woman.el: Remove eval-after-load for tar-mode.
15216 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
15217 (woman-tar-extract-file): Autoload it.
15219 * frame.el (automatic-hscrolling): Make this alias obsolete.
15221 2012-04-12 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
15223 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
15224 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
15225 (ispell-dictionary-base-alist): Revert to original XEmacs
15226 friendly version for default. [:alpha:] will be added in
15227 `ispell-set-spellchecker-params' if needed.
15229 2012-04-16 Chong Yidong <cyd@gnu.org>
15231 * image.el (imagemagick--file-regexp): New variable.
15232 (imagemagick-register-types): Use it.
15233 (imagemagick-types-inhibit): Add :set function. Allow new value
15234 of t to inhibit all types.
15236 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
15237 so we can preload it.
15239 * loadup.el (fboundp): Preload regexp-opt, needed by
15240 imagemagick-register-types.
15242 2012-04-15 Chong Yidong <cyd@gnu.org>
15244 * frame.el (scrolling): Remove nearly unused customization group.
15246 * scroll-all.el (scroll-all-mode): Move to windows group.
15248 2012-04-15 Chong Yidong <cyd@gnu.org>
15250 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
15252 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15254 Avoid the use of ((lambda ...) ...) in lexical-binding code.
15255 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
15257 2012-04-15 Glenn Morris <rgm@gnu.org>
15259 * simple.el (process-file-side-effects): Doc fix.
15261 2012-04-15 Glenn Morris <rgm@gnu.org>
15263 * international/mule-cmds.el (set-language-environment): Doc fix.
15265 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15267 * server.el (server-auth-key, server-generate-key): Doc fixes.
15268 (server-get-auth-key): Doc fix. Use `string-match-p'.
15269 (server-start): Reflow docstring.
15271 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
15273 * server.el (server-generate-key): `called-interactively-p'
15274 requires a parameter.
15276 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
15278 * server.el (server-auth-key): New variable.
15279 (server-generate-key, server-get-auth-key): New function.
15280 (server-start): Use the new variable and functions to allow
15281 setting a permanent server key (bug#9423).
15283 2012-04-14 Leo Liu <sdl.web@gmail.com>
15285 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
15287 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
15290 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
15291 Emacs uses American spelling.
15293 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15295 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
15296 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
15297 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
15298 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
15300 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15302 * progmodes/which-func.el (which-func-modes): Change default.
15304 2012-04-14 Kim F. Storm <storm@cua.dk>
15306 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
15307 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
15309 2012-04-14 Chong Yidong <cyd@gnu.org>
15311 * custom.el (custom-theme-set-variables): Doc fix.
15313 2012-04-14 Glenn Morris <rgm@gnu.org>
15315 * international/mule.el (set-auto-coding-for-load): Doc fix.
15317 2012-04-14 Alan Mackenzie <acm@muc.de>
15319 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
15320 imenu work again for Objective C Mode. Correct the *-index values,
15321 these having been disturbed by a previous change in 2011-08.
15323 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
15324 Correct two search limits.
15326 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15328 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
15330 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
15332 * international/characters.el: Fix sorting.
15334 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15336 * international/characters.el: Add more missing Latin case pairs.
15338 2012-04-14 Glenn Morris <rgm@gnu.org>
15340 * files.el (dir-locals-set-class-variables): Doc fix.
15342 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15344 * international/characters.el: Add set-case-syntax-pair call for
15345 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
15346 counterpart. (Bug#11209)
15348 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
15350 2012-04-14 Glenn Morris <rgm@gnu.org>
15352 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15354 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15356 * textmodes/ispell.el (ispell-dictionary-base-alist):
15357 Add data for Hebrew.
15359 2012-04-14 Chong Yidong <cyd@gnu.org>
15361 * net/rcirc.el (rcirc-cmd-quit):
15362 Revert 2012-03-18 change (Bug#11192).
15364 2012-04-14 Glenn Morris <rgm@gnu.org>
15366 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
15368 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15370 * minibuffer.el (completion-in-region-mode-map):
15371 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
15373 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
15375 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
15377 2012-04-13 Masatake YAMATO <yamato@redhat.com>
15379 * minibuffer.el (minibuffer-local-filename-syntax): New variable
15380 to allow `C-M-f' and `C-M-b' to move to the nearest path
15381 separator (bug#9511).
15383 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
15385 * avoid.el: Require cl when compiling. And also move the
15386 `provide' to the end.
15388 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15390 * avoid.el (mouse-avoidance-banish-position): New variable.
15391 (mouse-avoidance-banish-destination): Use it (bug#10165).
15393 2012-04-13 Leo Liu <sdl.web@gmail.com>
15395 * progmodes/which-func.el (which-func-modes): Add objc-mode.
15397 2012-04-13 Ken Brown <kbrown@cornell.edu>
15399 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
15400 this is no longer needed now that cygstart understands file:// URLs.
15401 (browse-url-filename-alist): For the same reason, don't modify
15402 file:// URLs on Cygwin.
15404 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
15406 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
15407 the region on shift if the binding is already shifted (bug#11221).
15409 2012-04-12 Glenn Morris <rgm@gnu.org>
15411 * mail/mailpost.el: Move to obsolete/.
15413 2012-04-12 Drew Adams <drew.adams@oracle.com>
15415 * imenu.el (imenu--generic-function): Ignore invisible definitions
15418 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
15420 * hexl.el (hexl-bits): New variable.
15421 (hexl-options): Mention the variable in the doc string.
15422 (hexl-rulerise, hexl-line-displen): New functions.
15423 (hexl-mode): Mention the new variable.
15424 (hexl-mode, hexl-current-address, hexl-current-address):
15426 (hexl-ascii-start-column): New function.
15427 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
15428 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
15430 2012-04-12 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
15432 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
15433 '("-i" ENCODING), in 2 separate command-line arguments, to specify
15434 the encoding, as expected by hunspell.
15436 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
15438 * battery.el (battery--linux-sysfs-regexp): New const.
15439 (battery-status-function): Use it. Remove yeeloong special case.
15440 (battery-yeeloong-sysfs): Remove.
15441 (battery-echo-area-format): Remove yeeloong special case.
15443 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15445 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
15446 Reported by Noah Friedman.
15448 * subr.el (read-passwd): Use read-string.
15450 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15452 * vcursor.el (vcursor-move): Increase the priority of the overlay
15455 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15457 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
15458 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
15460 2012-04-11 William Stevenson <yhvh2000@gmail.com>
15462 * textmodes/artist.el (artist-mode): Convert artist-mode to use
15463 define-minor-mode (bug#10760).
15465 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15467 * progmodes/grep.el (rgrep): Tweak the find command line so
15468 that directories matching `grep-find-ignored-files' won't be
15469 pruned (bug#10351).
15471 2012-04-11 Chong Yidong <cyd@gnu.org>
15473 * startup.el (command-line): Remove support for long-obsolete
15474 variable font-lock-face-attributes.
15476 2012-04-11 Glenn Morris <rgm@gnu.org>
15478 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
15480 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15482 * window.el (window--state-get-1): Obey window-point-insertion-type.
15484 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
15486 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
15487 to previous function when point is on the first character of a
15488 function. Take care of that in `narrow-to-defun' (bug#6157).
15490 2012-04-11 Glenn Morris <rgm@gnu.org>
15492 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
15493 not just file-errors.
15495 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
15496 (vc-bzr-sha1): Use internal sha1.
15498 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15500 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
15502 2012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
15504 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
15505 that start in the middle of the line (bug#10496).
15507 2012-04-10 Dan Nicolaescu <dann@gnu.org>
15509 * battery.el (battery-linux-proc-acpi): Only one battery is
15510 discharged at a time, but that seems to confuse battery.el when
15511 computing `rate-type' for the battery not being discharged
15514 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15516 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
15518 * international/quail.el: Use dolist and simplify.
15519 (quail-define-package, quail-update-keyboard-layout)
15520 (quail-define-rules): Use dolist.
15521 (quail-insert-kbd-layout, quail-get-translation): CSE.
15523 * tmm.el: Use dolist, remove left over hook.
15524 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
15526 (calendar-load-hook): Don't mess with it.
15528 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
15529 Use derived-mode-p. Run the diff asynchronously.
15531 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15533 * obsolete/mouse-sel.el: Add an Obsolete-since header.
15535 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
15537 * misc.el: Display absolute path of loaded DLLs (bug#10424).
15538 (list-dynamic-libraries--loaded): New function.
15539 (list-dynamic-libraries--refresh): Use it.
15541 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
15543 * progmodes/python.el (python-fill-paragraph):
15544 Make python-fill-region in a multiline string work when font-lock is
15545 disabled (bug#7018).
15547 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
15549 * language/european.el (cp775): Add oem/legacy (en)coding on
15550 DOS/MS Windows for the Baltic languages. There are still plenty
15551 of texts written in this encoding/codepage (bug#6519).
15553 2012-04-10 Glenn Morris <rgm@gnu.org>
15555 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
15556 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
15558 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
15560 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
15561 next-line "n" and previous-line "p" in order to make recentf more
15562 consistent with ibuffer, dired or org-mode (bug#9387).
15564 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15566 * image.el (put-image): Return the overlay created instead of the
15567 optional input string (bug#7834). Note that this may break code
15568 that is (for some reason or other) depending on `put-image'
15569 returning the string.
15571 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
15573 * simple.el (zap-to-char): Allow zapping using input methods
15576 * textmodes/fill.el (fill-region): Leave point and mark where they
15577 were before filling (bug#5399).
15579 2012-04-09 Glenn Morris <rgm@gnu.org>
15581 * version.el (emacs-bzr-get-version):
15582 Handle lightweight checkouts of local branches.
15584 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
15586 * international/characters.el: Recover lost case pairs. (Bug#11209)
15588 2012-04-09 Chong Yidong <cyd@gnu.org>
15590 * custom.el (custom-variable-p): Return nil for non-symbol
15591 arguments instead of signaling an error.
15592 (user-variable-p): Obsolete alias for custom-variable-p.
15594 * apropos.el (apropos-variable):
15595 * files-x.el (read-file-local-variable):
15596 * simple.el (set-variable):
15597 * woman.el (woman-mini-help):
15598 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
15600 2012-04-09 Glenn Morris <rgm@gnu.org>
15602 * startup.el (normal-top-level): Don't look for leim-list.el
15603 in places where it will not be found. (Bug#910)
15605 * international/mule-cmds.el (set-default-coding-systems):
15606 * files.el (normal-mode):
15607 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
15608 This function was removed with ucs-tables.el in 2008.
15610 2012-04-08 Eli Zaretskii <eliz@gnu.org>
15612 * textmodes/ispell.el (ispell-check-version): For hunspell, set
15613 ispell-encoding8-command to "-i", without a trailing space.
15614 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
15615 separate command-line arguments, to specify the encoding, since
15616 that's how hunspell expects it.
15618 2012-04-08 Glenn Morris <rgm@gnu.org>
15620 * loadup.el: Load bindings before cus-start.
15621 This reduces somewhat the number of "rogue" settings in emacs -Q.
15623 2012-04-07 Glenn Morris <rgm@gnu.org>
15625 * version.el (emacs-bzr-get-version): New function.
15626 (emacs-bzr-version): New variable.
15627 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
15628 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
15630 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15632 * international/uni-bidi.el, international/uni-category.el:
15633 * international/uni-combining.el, international/uni-decimal.el:
15634 * international/uni-decomposition.el, international/uni-digit.el:
15635 * international/uni-lowercase.el, international/uni-mirrored.el:
15636 * international/uni-name.el, international/uni-numeric.el:
15637 * international/uni-titlecase.el, international/uni-uppercase.el:
15638 Update for Unicode 6.1.
15640 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15642 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
15644 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
15646 * window.el (shrink-window): Mention the `window-min-height'
15647 variable in the doc string.
15649 2012-04-05 Bastien Guerry <bzg@altern.org>
15651 * color.el (color-lighten-name): Fix typo.
15653 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15655 * server.el (server--on-display-p): New function.
15656 (server--on-display-p): Use it.
15658 2012-04-04 GĂ¡bor Vida <vidagabor@gmail.com> (tiny change)
15660 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
15663 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15665 * comint.el (comint--common-quoted-suffix): Check string boundary
15666 before comparing (bug#11158).
15667 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
15669 2012-04-04 Chong Yidong <cyd@gnu.org>
15671 * minibuffer.el (completion-extra-properties): Doc fix.
15673 * subr.el (delayed-warnings-hook): Doc fix.
15675 2012-04-04 Daiki Ueno <ueno@unixuser.org>
15677 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
15678 selection (Bug#11159).
15679 (epa-insert-keys): Inform that the default public key will be
15680 exported if no key is selected.
15682 2012-04-04 Richard Stallman <rms@gnu.org>
15684 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
15686 2012-04-03 Chong Yidong <cyd@gnu.org>
15688 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
15689 mail-insert-file, not its obsolete alias mail-attach-file.
15691 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
15693 * notifications.el (notifications-notify): Fix docstring.
15695 2012-04-02 Glenn Morris <rgm@gnu.org>
15697 * emacs-lisp/authors.el (authors-aliases): Another addition.
15699 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
15701 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
15702 `tramp-compat-call-process' instead of `tramp-local-call-process'.
15703 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
15705 2012-04-01 Chong Yidong <cyd@gnu.org>
15707 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
15708 Handle root directory properly.
15709 (copy-directory): Caller changed.
15711 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15712 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
15714 2012-03-31 Glenn Morris <rgm@gnu.org>
15716 * term/xterm.el (xterm-extra-capabilities): Doc fix.
15718 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
15720 * calendar/calendar.el (calendar-window-list)
15721 (calendar-hide-window): Restore. (Bug#11140)
15722 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
15724 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
15726 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15728 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15729 Check if file is a symlink (Bug#10489).
15731 * files.el (copy-directory): Likewise.
15733 2012-03-30 Chong Yidong <cyd@gnu.org>
15735 * image.el (imagemagick-types-inhibit)
15736 (imagemagick-register-types): Doc fix.
15738 2012-03-30 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
15740 * textmodes/ispell.el (ispell-get-extended-character-mode):
15741 Disable extended-char-mode for hunspell. hunspell does not support it
15742 and treats ~word as ordinary words in pipe mode.
15744 2012-03-30 Glenn Morris <rgm@gnu.org>
15746 * tutorial.el (help-with-tutorial): Ensure local variables don't
15747 happen to make the buffer read-only. (Bug#11127)
15749 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15751 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
15752 (perl-calculate-indent): Return `noindent' in strings.
15754 2012-03-28 Sam Steingold <sds@gnu.org>
15756 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
15757 instead of the broken adhockery which does not prevent calendar
15758 buffers from being displayed at random after exit.
15759 (calendar-window-list, calendar-hide-window): Remove the broken
15762 2012-03-28 Glenn Morris <rgm@gnu.org>
15764 * replace.el (query-replace-map): Doc fix.
15766 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
15768 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
15769 contents. (Bug#11109)
15771 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15773 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
15775 (avl-tree--check, avl-tree--check-node): New funs.
15777 2012-03-27 Martin Rudalics <rudalics@gmx.at>
15779 * window.el (switch-to-visible-buffer): New option.
15780 (switch-to-prev-buffer, switch-to-next-buffer):
15781 Observe switch-to-visible-buffer. Make sure that checking for a window
15782 showing a buffer already is done on the same frame.
15784 2012-03-27 Glenn Morris <rgm@gnu.org>
15786 * startup.el (mail-host-address): Doc fix.
15788 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15790 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
15791 than 197 variables.
15793 2012-03-26 Ami Fischman <ami@fischman.org>
15795 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
15797 2012-03-26 Glenn Morris <rgm@gnu.org>
15799 * files.el (save-buffers-kill-emacs): Doc fix.
15801 * startup.el (normal-top-level, command-line, command-line-1):
15802 Give them doc strings.
15804 2012-03-25 Eli Zaretskii <eliz@gnu.org>
15806 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
15807 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
15809 2012-03-25 Chong Yidong <cyd@gnu.org>
15811 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
15812 theme if it was previously enabled before (Bug#11031).
15814 * cus-theme.el (custom-theme-write-faces): Retrieve current face
15815 spec with custom-face-get-current-spec if its :shown-value is not
15816 determined yet (Bug#9337).
15817 (customize-create-theme, custom-theme-revert): Doc fixes.
15819 * button.el (button-at): Minor addition to docstring.
15821 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
15823 * vc/vc.el (vc-merge): Fix a prompt.
15825 2012-03-24 Chong Yidong <cyd@gnu.org>
15827 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
15830 * button.el (button-at): Minor addition to docstring.
15832 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
15834 * newcomment.el (comment-choose-indent): No space after BOL.
15836 2012-03-22 Sam Steingold <sds@gnu.org>
15838 * window.el (switch-to-prev-buffer): Revert last patch because the
15839 bug turned out to be an advertised feature (Elisp manual 28.14).
15841 2012-03-22 Glenn Morris <rgm@gnu.org>
15843 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
15844 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
15846 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15848 * net/network-stream.el (network-stream-open-starttls): Make error
15849 message under Windows be less misleading.
15851 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
15853 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
15854 understands (bug#9942).
15856 2012-03-22 Chong Yidong <cyd@gnu.org>
15858 * simple.el (end-of-visible-line): Handle return value of
15859 next-single-property-change properly (Bug#9371).
15861 2012-03-22 Kenichi Handa <handa@m17n.org>
15863 * international/quail.el (quail-insert-kbd-layout): Fix previous
15864 change. To avoid unwanted bidi reordering, use
15865 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
15867 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
15869 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
15870 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
15871 (ruby-beginning-of-indent): Be more careful with the difference
15872 between word-boundary and symbol boundary.
15873 (ruby-mode-syntax-table): Make : a symbol constituent.
15875 2012-03-21 Andreas Politz <politza@fh-trier.de>
15877 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
15879 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15881 * progmodes/etags.el (tags-completion-at-point-function):
15884 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
15886 2012-03-21 Sam Steingold <sds@gnu.org>
15888 * progmodes/etags.el (tags-completion-at-point-function):
15889 Avoid the error when point is inside the pattern.
15891 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
15893 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
15896 2012-03-21 Drew Adams <drew.adams@oracle.com>
15898 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
15900 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
15902 * ido.el (ido-set-current-directory, ido-read-internal)
15903 (ido-choose-completion-string, ido-completion-help): Handle nil
15904 value of ido-completion-buffer (Bug#11008).
15906 2012-03-21 Sam Steingold <sds@gnu.org>
15908 * window.el (switch-to-prev-buffer): Do not switch to a visible
15909 window previous buffer, just like with the frame previous buffers.
15911 2012-03-21 Chong Yidong <cyd@gnu.org>
15913 * faces.el (make-face, make-empty-face, copy-face):
15914 * face-remap.el (face-remap-add-relative, face-remap-set-base):
15917 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15919 * wid-edit.el (widget-complete-field): Remove (bug#11051).
15920 (widget-complete): Remove broken use of it.
15922 2012-03-20 Chong Yidong <cyd@gnu.org>
15924 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15925 Use string-width and truncate-string-width to handle arbitrary
15928 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
15930 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
15931 to draw rectangles, not squares. (Regression introduced by revno
15932 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
15934 2012-03-18 Chong Yidong <cyd@gnu.org>
15936 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
15937 it is not yet defined (for temacs).
15939 2012-03-18 Leo Liu <sdl.web@gmail.com>
15941 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
15944 2012-03-17 Eli Zaretskii <eliz@gnu.org>
15946 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
15947 (ispell-choices-win-default-height, ispell-silently-savep)
15948 (ispell-dictionary-alist, ispell-encoding8-command)
15949 (ispell-check-version, ispell-aspell-find-dictionary)
15950 (ispell-valid-dictionary-list, ispell-words-keyword)
15951 (ispell-get-word, ispell-internal-change-dictionary)
15952 (ispell-region, ispell-skip-region-list)
15953 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
15954 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
15955 (ispell-message-text-end, ispell-message)
15956 (ispell-buffer-local-parsing): Doc fix.
15958 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
15960 * htmlfontify.el: Add support for code block fontification for ODT
15961 export (Bug #9914).
15962 (hfy-optimisations): Define new option
15964 (hfy-fontify-buffer): Honor above setting.
15965 (hfy-begin-span, hfy-end-span): New routines factored out form
15966 `hfy-fontify-buffer'.
15967 (hfy-begin-span-handler, hfy-end-span-handler): New variables
15968 that permit insertion of custom tags.
15969 (hfy-fontify-buffer): Use above handlers.
15970 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
15971 (hfy-face-to-css): Re-defined to be a variable.
15972 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
15973 over multiple runs. This is made possible by having the caller let
15974 bind a special variable `hfy-user-sheet-assoc'.
15975 (htmlfontify-string): New defun.
15976 (hfy-compile-face-map): Make sure that the last char in the
15977 buffer is correctly fontified.
15978 (hfy-face-resolve-face): Whitespace only change.
15980 2012-03-17 Eli Zaretskii <eliz@gnu.org>
15982 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
15983 message more clear.
15985 2012-03-16 Leo Liu <sdl.web@gmail.com>
15987 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
15989 2012-03-16 Alan Mackenzie <acm@muc.de>
15991 Further optimize the handling of large macros.
15993 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
15994 limit to a call of `c-literal-limits'.
15995 (c-determine-+ve-limit): New function.
15996 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
15997 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
15998 In CASE 5B, restrict a search limit to 500.
15999 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
16001 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
16002 Restrict macro bounds to +-500 from after-change's BEG END.
16004 2012-03-16 Leo Liu <sdl.web@gmail.com>
16006 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
16008 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
16010 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
16011 `special-mode' setting of `buffer-read-only'. (Bug#11010)
16013 2012-03-16 Glenn Morris <rgm@gnu.org>
16015 * view.el (view-buffer, view-buffer-other-window)
16016 (view-buffer-other-frame): Doc fixes re special mode-class.
16018 * subr.el (eval-after-load): If named feature is provided not from
16019 a file, run after-load forms. (Bug#10946)
16021 * calendar/calendar.el (calendar-insert-at-column):
16022 Handle non-unit-width characters a bit better. (Bug#10978)
16024 2012-03-15 Chong Yidong <cyd@gnu.org>
16026 * emacs-lisp/ring.el (ring-extend): New function.
16027 (ring-insert+extend): Extend the ring correctly (Bug#11019).
16029 * comint.el (comint-read-input-ring)
16030 (comint-add-to-input-history): Grow comint-input-ring lazily.
16032 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16034 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
16035 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
16037 * imenu.el: Fix multiple inheritance breakage (bug#9199).
16038 (imenu-add-to-menubar): Don't add a redundant index.
16039 (imenu-update-menubar): Handle a dynamically composed keymap.
16041 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
16043 * mail/sendmail.el (mail-encode-header):
16044 Bind rfc2047-encode-encoded-words to nil.
16046 2012-03-13 Glenn Morris <rgm@gnu.org>
16048 * calendar/calendar.el (calendar-string-spread):
16049 Handle non-unit-width characters a bit better. (Bug#10978)
16051 2012-03-13 Leo Liu <sdl.web@gmail.com>
16053 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
16054 directory and file as argument (Bug#10822).
16056 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16058 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
16059 For dynamically generated code, follow $PC.
16060 (gdb-disassembly-handler-custom): Handle no function name case.
16062 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
16064 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
16065 * emulation/ws-mode.el (ws-query-replace):
16066 * sort.el (sort-regexp-fields):
16067 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
16069 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16071 * dabbrev.el: Fix cycle completion order (bug#10963).
16072 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
16073 (dabbrev-completion): Don't use an obarray; provide
16074 a cycle-sort-function.
16076 2012-03-12 Leo Liu <sdl.web@gmail.com>
16078 * simple.el (kill-new): Use equal-including-properties for comparison.
16079 (kill-do-not-save-duplicates): Doc fix.
16081 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16083 * dabbrev.el: Fix cycle completion (bug#10963).
16084 Use lexical binding and wrap to 80 columns.
16085 (dabbrev-completion): Delay computing the list of completions.
16087 2012-03-12 Kenichi Handa <handa@m17n.org>
16089 * international/quail.el (quail-insert-kbd-layout): Surround each
16090 row by LRO and PDF instead of inserting many LRMs. Pad the left
16091 and right of each non-spacing marks. Insert invisible space
16092 between lower and upper characters to prevent composition.
16094 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16096 * minibuffer.el (minibuffer-complete): Don't get confused when the
16097 function is run twice via different commands (bug#10958).
16098 (complete-with-action): Fix docstring.
16100 2012-03-12 Chong Yidong <cyd@gnu.org>
16102 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
16103 (nxml-completion-at-point-function): New function.
16104 (nxml-mode): Use it.
16105 (nxml-bind-meta-tab-to-complete-flag): Default to t.
16107 * emacs-lisp/package.el (package-unpack, package-unpack-single):
16108 Load generated autoloads file before byte compiling (Bug#10970).
16109 (package--make-autoloads-and-compile): New helper fun.
16111 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
16113 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
16115 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
16117 * autorevert.el (auto-revert-handler): Ensure, that
16118 file-readable-p is applied only for local files or in
16119 auto-revert-tail-mode.
16121 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
16123 * server.el (server-eval-at): Handle non-tcp connections.
16124 Decode result string.
16126 * server.el (server-msg-size): New constant.
16127 (server-reply-print): New function.
16128 (server-eval-and-print): Use it.
16129 (server-eval-at): Use server-quote-arg and server-unquote-arg.
16130 Handle -print-nonl.
16132 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
16134 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
16137 2012-03-11 Chong Yidong <cyd@gnu.org>
16139 * simple.el (goto-line): Doc fix (Bug#9938).
16141 * subr.el (save-window-excursion): Doc fix (Bug#9979).
16143 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
16144 when finished (Bug#10963).
16146 2012-03-11 Martin Rudalics <rudalics@gmx.at>
16148 * window.el (split-window-below): Fix bug in case where
16149 split-window-keep-point is nil (Bug#10971).
16151 2012-03-11 Juri Linkov <juri@jurta.org>
16153 * replace.el (replace-highlight): Set isearch-word to nil
16154 unconditionally. (Bug#10887)
16156 2012-03-10 Eli Zaretskii <eliz@gnu.org>
16158 * net/mairix.el (mairix-replace-invalid-chars): Rename from
16159 mairix-replace-illegal-chars; all callers changed. Don't remove
16160 ^, ~, and = characters: they are meaningful in mairix search specs.
16161 (mairix-widget-create-query): Add usage information about mairix
16162 search forms: negating words, searching for substrings, etc.
16164 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
16166 * international/fontset.el (font-encoding-alist): Add an entry for
16167 ksx1001 (Bug#5667).
16169 2012-03-10 Richard Stallman <rms@gnu.org>
16171 * mail/sendmail.el (mail-encode-header):
16172 Set rfc2047-encode-encoded-words.
16174 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
16176 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
16177 view buffer means not swapped.
16178 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
16179 (rmail-write-region-annotate): Error if real text has disappeared.
16181 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
16183 2012-03-10 Chong Yidong <cyd@gnu.org>
16185 * emulation/cua-rect.el (cua--init-rectangles):
16186 * emulation/cua-base.el (cua--init-keymaps):
16187 Add delete-forward-char to remappings (Bug#9666).
16189 2012-03-10 Martin Rudalics <rudalics@gmx.at>
16191 * speedbar.el (speedbar-unhighlight-one-tag-line):
16192 Avoid unhighlighting due to frame switching (Bug#10275).
16194 2012-03-10 Chong Yidong <cyd@gnu.org>
16196 * minibuffer.el (completion-in-region, completion-help-at-point):
16197 Give the completion field overlay a high priority (Bug#6830).
16199 * dired.el (dired-goto-file): Recognize absolute file name
16200 listings (Bug#7126).
16201 (dired-goto-file-1): New helper function.
16202 (dired-toggle-read-only): Inhibit warnings.
16204 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
16206 * net/dbus.el (dbus-property-handler): Return empty array if
16207 there are no properties.
16209 2012-03-09 Leo Liu <sdl.web@gmail.com>
16211 * savehist.el (savehist-printable): Stricter check for string
16214 2012-03-09 Eli Zaretskii <eliz@gnu.org>
16216 * mail/smtpmail.el (smtpmail-send-it):
16217 Bind coding-system-for-write to *-unix, so that FCC files are kept in
16220 2012-03-09 Glenn Morris <rgm@gnu.org>
16222 * files.el (dir-locals-find-file):
16223 Don't check result is regular, readable.
16224 (dir-locals-read-from-file): Demote errors.
16226 2012-03-08 Eli Zaretskii <eliz@gnu.org>
16228 * international/quail.el (quail-insert-kbd-layout):
16229 Insert invisible LRM characters before each character in a keyboard
16230 layout cell, to prevent their reordering by bidi display engine.
16231 For details, see the discussion in
16232 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
16234 2012-03-08 Alan Mackenzie <acm@muc.de>
16236 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
16237 the starting position; make it extend the marked region when
16238 invoked repeatedly - all under appropriate circumstances.
16239 Fixes bugs #5525, #10906.
16241 2012-03-08 Glenn Morris <rgm@gnu.org>
16243 * files.el (locate-dominating-file, dir-locals-find-file):
16244 Undo 2012-03-06 change.
16246 2012-03-07 Eli Zaretskii <eliz@gnu.org>
16248 * international/quail.el (quail-help):
16249 Force bidi-paragraph-direction be left-to-right. See discussion in
16250 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
16253 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
16255 Avoid superfluous registering of signals. (Bug#10807)
16257 * notifications.el (notifications-on-action-object)
16258 (notifications-on-close-object): New defvars.
16259 (notifications-on-action-signal, notifications-on-closed-signal):
16260 Unregister the signal if not needed any longer.
16261 (notifications-notify): Register `notifications-action-signal' or
16262 `notifications-closed-signal', if :on-action or :on-close has been
16263 passed as argument.
16265 2012-03-07 Chong Yidong <cyd@gnu.org>
16267 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
16270 2012-03-06 Glenn Morris <rgm@gnu.org>
16272 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16273 (x-disown-selection-internal, x-get-selection-internal):
16274 Doc fix (add arglist signatures). (Bug#10783)
16276 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16278 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16279 Handle breakpoints with no "type".
16281 2012-03-06 Glenn Morris <rgm@gnu.org>
16283 * files.el (locate-dominating-file): Add optional predicate argument.
16284 (dir-locals-find-file): Make use of above change.
16286 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
16288 * info.el (Info-insert-dir): Also try "dir.gz".
16290 2012-03-06 Glenn Morris <rgm@gnu.org>
16292 * files.el (dir-locals-find-file):
16293 Ignore non-readable or non-regular files. (Bug#10928)
16295 * files.el (locate-dominating-file): Doc fix.
16297 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
16299 * calendar/calendar.el (calendar-set-mode-line):
16300 `getenv' returns a string. (Bug#10951)
16302 2012-03-05 Leo Liu <sdl.web@gmail.com>
16304 * simple.el (backward-delete-char-untabify): Constrain point to
16307 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
16309 2012-03-05 Chong Yidong <cyd@gnu.org>
16311 * simple.el (count-words): If called from Lisp, return the word
16312 count, for symmetry with `count-lines'. Arglist changed.
16313 (count-words--message): Args changed. Consolidate counting code
16314 from count-words and count-words-region.
16315 (count-words-region): Caller changed.
16316 (count-lines-region): Make it an obsolete alias.
16318 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
16320 * saveplace.el (save-place-to-alist)
16321 (save-place-ignore-files-regexp): Allow value nil to disable this
16324 2012-03-04 Chong Yidong <cyd@gnu.org>
16326 * faces.el (face-spec-reset-face): For the default face, reset the
16327 attributes to default values (Bug#10748).
16329 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16331 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
16332 previous patch: Check `message-send-mail-function', and not the
16333 default function (bug#10897).
16335 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
16337 * notifications.el (notifications-on-action-signal)
16338 (notifications-on-closed-signal): Check for unique service name of
16339 incoming event. Fix error in removing entry.
16340 (top): Register for signals with wildcard service name.
16341 (notifications-notify): Use daemon unique service name for map entries.
16343 2012-03-04 Chong Yidong <cyd@gnu.org>
16345 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
16347 2012-03-04 Glenn Morris <rgm@gnu.org>
16349 * abbrev.el (copy-abbrev-table, abbrev-table-p)
16350 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
16351 (expand-abbrev, define-abbrev-table): Doc fixes.
16353 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16355 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
16356 `message-default-send-mail-function' and not `send-mail-function'
16357 when doing the prompting for `sendmail-query-once' before sending
16358 in Message buffers (bug#10897).
16360 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
16361 This is inconsistent with all the other stream functions, which leave
16362 the setting up to the higher levels (if so wanted) (bug#10931).
16364 2012-03-02 Alan Mackenzie <acm@muc.de>
16366 Depessimize the handling of very large macros.
16368 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
16369 (c-macro-cache-syntactic): New variables to implement a one
16370 element macro cache.
16371 (c-invalidate-macro-cache): New function.
16372 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
16373 Adapt to use the new cache.
16374 (c-state-safe-place): Use better the cache of safe positions.
16375 (c-state-semi-nonlit-pos-cache)
16376 (c-state-semi-nonlit-pos-cache-limit):
16377 New variables for...
16378 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
16379 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
16380 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
16381 Use c-state-semi-safe-place.
16383 * progmodes/cc-langs.el (c-get-state-before-change-functions):
16384 Add c-invalidate-macro-cache to the C, C++, Obj entries.
16386 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
16388 * jka-compr.el (jka-compr-call-process):
16389 Apply `file-accessible-directory-p' only when the default directory is
16392 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
16394 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
16395 access of FILE2, if FILE1 does not exist.
16397 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
16398 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
16400 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
16401 Add "PAGER=" to `process-environment'.
16403 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
16405 * progmodes/sql.el: Bug fix
16406 (sql-get-login-ext): Save login values in globals.
16407 (sql-get-login): Use new version of `sql-get-login-ext'.
16408 (sql-interactive-mode): Set global `sql-connection' to nil.
16409 (sql-connect): Set global values for connection.
16410 (sql-product-interactive): Save global values as buffer local.
16412 2012-02-29 Leo Liu <sdl.web@gmail.com>
16414 * abbrev.el (define-abbrevs): Reset sys to nil.
16416 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16418 * files.el (file-equal-p): Rename from `files-equal-p'.
16419 Return nil when one or both files don't exist.
16420 (file-subdir-of-p): Now only top directory must exists,
16421 return nil if it doesn't.
16422 (copy-directory): No need to test with `file-subdir-of-p' after
16424 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
16427 2012-02-28 Glenn Morris <rgm@gnu.org>
16429 * shell.el (shell-mode):
16430 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
16431 * play/landmark.el (landmark-font-lock-face-O):
16432 * play/handwrite.el (handwrite):
16433 * play/gomoku.el (gomoku-O):
16434 * net/browse-url.el (browse-url-browser-display):
16435 * international/mule.el (define-charset):
16436 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
16437 * filesets.el (filesets-find-file-delay):
16438 * eshell/em-xtra.el (eshell-xtra):
16439 * eshell/em-unix.el (eshell-grep):
16440 * emulation/viper.el (viper-mode):
16441 * emacs-lisp/regexp-opt.el (regexp-opt-group):
16442 * emacs-lisp/easymenu.el (easy-menu-define):
16443 * calendar/timeclock.el (timeclock-use-display-time):
16445 * bookmark.el (bookmark-save-flag):
16446 Doc fix (standardize possessive apostrophe usage).
16448 2012-02-27 Chong Yidong <cyd@gnu.org>
16450 * emulation/viper-cmd.el (viper-intercept-ESC-key):
16451 Fix key-binding lookup for ESC key (Bug#9146).
16453 * font-lock.el (font-lock-specified-p): Rename from
16454 font-lock-spec-present. Callers changed.
16456 2012-02-27 Daniel Hackney <dan@haxney.org>
16458 * emacs-lisp/package.el (package-compute-transaction):
16459 Handle holding a package version to t in package-load-list.
16461 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
16463 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
16464 (tramp-get-inode, tramp-get-device): Use cached values.
16466 2012-02-26 Alan Mackenzie <acm@muc.de>
16468 Check there is a font-lock specification before doing initial
16471 * font-core.el (font-lock-mode): Move the conditional from
16472 :after-hook to font-lock-initial-fontify.
16473 (font-lock-default-function): Move the check for a specification
16474 to font-lock-spec-present.
16476 * font-lock.el (font-lock-initial-fontify): Call ...
16477 (font-lock-spec-present): New function.
16479 2012-02-26 Jim Blandy <jimb@red-bean.com>
16481 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
16482 (gdb-send): Apply it to the operand of the '-interpreter-exec
16483 console' command, so that we can pass arguments with (say) quotes
16484 in them. Store exact string sent in gdb-debug-log (Bug#10765).
16486 2012-02-26 Chong Yidong <cyd@gnu.org>
16488 * help-fns.el (describe-function-1): Clarify description of
16489 remapping (Bug#10844).
16491 * files.el (files-equal-p): Doc fix.
16492 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
16493 and quit the loop once a mismatch is found.
16495 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
16497 * bs.el (bs--show-with-configuration): Don't throw an error
16498 if the window cannot be split; otherwise, subsequent calls to
16499 bs-show fail, restoring a stale window config. (Bug#10882)
16501 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
16503 * term/ns-win.el (global-map): Bind ns-drag-file to
16504 ns-find-file (Bug#5855, Bug#10050).
16506 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
16508 * calendar/parse-time.el (parse-time-string): Allow extractor to
16511 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
16513 * net/tramp.el (tramp-file-name-for-operation):
16514 Add `files-equal-p' and `file-subdir-of-p'.
16516 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16517 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16518 Add COPY-CONTENTS argument.
16520 2012-02-25 Chong Yidong <cyd@gnu.org>
16522 Add custom groups for VC backends, for consistency with vc-bzr.
16524 * vc/vc-arch.el (vc-arch):
16525 * vc/vc-cvs.el (vc-cvs):
16526 * vc/vc-git.el (vc-git):
16527 * vc/vc-hg.el (vc-hg):
16528 * vc/vc-mtn.el (vc-mtn):
16529 * vc/vc-rcs.el (vc-rcs):
16530 * vc/vc-sccs.el (vc-sccs):
16531 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
16532 All relevant defcustoms reassigned.
16534 2012-02-25 Chong Yidong <cyd@gnu.org>
16536 * newcomment.el (comment-styles): Add autoload (Bug#10868).
16538 * term/x-win.el (x-initialize-window-system): Reduce default for
16539 x-selection-timeout to 5 seconds (Bug#8869).
16541 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16543 * files.el (files-equal-p, file-subdir-of-p): New functions.
16544 (copy-directory): Error when trying to copy a directory on itself.
16545 Add missing copy-contents arg to tramp handler.
16546 * dired-aux.el (dired-copy-file-recursive): Same.
16547 (dired-create-files): Modify destination when source is equal to
16548 dest when copying files.
16549 Return also when dest is a subdir of source. (Bug#10489)
16551 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
16553 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
16556 2012-02-23 Alan Mackenzie <acm@muc.de>
16558 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
16559 parameter "after-hook:" to allow the expansion to run code after
16560 the execution of the mode hooks.
16562 * font-lock.el (font-lock-initial-fontify): New function extracted
16563 from font-lock-mode-internal.
16565 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
16568 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16570 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
16571 (completion--cache-all-sorted-completions): New function.
16572 (completion-all-sorted-completions): Use it.
16573 (completion--do-completion, minibuffer-force-complete):
16574 Use it to re-instate the flush hook.
16576 * icomplete.el (icomplete-completions): Replace last fix with a better
16579 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
16581 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
16582 when it might call us back infinitely (bug#10797).
16584 2012-02-23 Glenn Morris <rgm@gnu.org>
16586 * minibuffer.el (completion-category-overrides): Doc fix.
16588 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16590 * minibuffer.el (completion-table-with-context): Fix inf-loop.
16591 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
16593 2012-02-23 Glenn Morris <rgm@gnu.org>
16595 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
16596 (authors-obsolete-files-regexps, authors-ignored-files)
16597 (authors-ambiguous-files, authors-renamed-files-alist):
16600 2012-02-23 Juri Linkov <juri@jurta.org>
16602 * isearch.el (isearch-occur): Sync interactive spec with occur's
16603 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
16605 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
16607 2012-02-22 Juri Linkov <juri@jurta.org>
16609 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
16610 (ucs-insert): Doc fix. Check for hex digits in the string.
16611 Don't display `nil' in the error message. (Bug#10857)
16613 2012-02-22 Alan Mackenzie <acm@muc.de>
16615 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
16617 2012-02-22 Glenn Morris <rgm@gnu.org>
16619 * ffap.el (ffap-c-path):
16620 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
16622 2012-02-22 Chong Yidong <cyd@gnu.org>
16624 * custom.el (load-theme): Doc fix.
16626 2012-02-22 Glenn Morris <rgm@gnu.org>
16628 * dired-x.el (dired-guess-shell-alist-default):
16629 Remove escape sequences from nroff output. (Bug#172)
16631 2012-02-21 Glenn Morris <rgm@gnu.org>
16633 * vc/emerge.el (emerge-defvar-local):
16634 Set `permanent-local' property rather than unused `preserved'.
16636 * textmodes/picture.el (picture-delete-char): New alias.
16637 (picture-mode-map): Use it. (Bug#10860)
16638 (picture-mode): Doc fix.
16640 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
16642 * newcomment.el (uncomment-region-default): Remove unused binding.
16644 2012-02-21 Glenn Morris <rgm@gnu.org>
16646 * textmodes/picture.el (picture-motion, picture-motion-reverse)
16647 (picture-self-insert, picture-tab-chars): Doc fix.
16648 (picture-mode-map): Fix C-a, C-e.
16650 2012-02-20 Glenn Morris <rgm@gnu.org>
16652 * emacs-lisp/authors.el (authors-aliases): Add another entry.
16654 2012-02-20 Leo Liu <sdl.web@gmail.com>
16656 * icomplete.el (icomplete-completions): Check FROM arg before
16657 passing to substring (Bug#10850).
16659 2012-02-19 Chong Yidong <cyd@gnu.org>
16661 * comint.el: Require ansi-color.
16662 (comint-output-filter-functions): Add ansi-color-process-output.
16664 * ansi-color.el: Don't set comint-output-filter-functions; it is
16665 now in the initial value defined in comint.el.
16666 (ansi-color-apply-face-function): New variable.
16667 (ansi-color-apply-on-region): Use it.
16668 (ansi-color-apply-overlay-face): New function.
16670 * shell.el (shell): No need to require ansi-color.
16671 (shell-mode): Use ansi-color-apply-face-function to highlight
16672 color escapes using font-lock-face property (Bug#10835).
16674 2012-02-19 Chong Yidong <cyd@gnu.org>
16676 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
16677 mode-line formats (Bug#10839).
16679 2012-02-18 Glenn Morris <rgm@gnu.org>
16681 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
16683 * mail/undigest.el (unforward-rmail-message): Doc fix.
16685 * saveplace.el (save-place-ignore-files-regexp): Add :version.
16687 2012-02-18 Eli Zaretskii <eliz@gnu.org>
16689 * international/characters.el (script-list): Sync with the latest
16690 Unicode Character Database.
16692 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
16694 * international/titdic-cnv.el: Remove duplicate coding tag.
16695 * language/cham.el: Likewise.
16696 * language/tai-viet.el: Likewise.
16698 2012-02-18 Glenn Morris <rgm@gnu.org>
16700 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
16701 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
16702 (calendar-bahai-all-holidays-flag, calendar-other-dates):
16703 * calendar/diary-lib.el (diary-abbreviated-year-flag):
16704 * calendar/holidays.el (holiday-bahai-holidays)
16705 (calendar-holidays, list-holidays):
16706 Use utf-8 BahĂ¡'Ă in doc-strings, menus, etc.
16708 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
16710 * saveplace.el (save-place-ignore-files-regexp): New variable
16711 allowing for excluding files from saving their location of point.
16712 The default value matches the temporary commit message editing
16713 files from Git, SVN, Bazaar, and Mercurial.
16714 (save-place-to-alist): Use it.
16716 2012-02-17 Lawrence Mitchell <wence@gmx.li>
16717 Stefan Monnier <monnier@iro.umontreal.ca>
16719 * newcomment.el (uncomment-region-default): Don't leave extra space
16720 when an arg is provided (bug#8150).
16722 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
16724 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
16726 2012-02-17 Glenn Morris <rgm@gnu.org>
16728 * net/socks.el: Require network-stream. (Bug#10599)
16730 2012-02-17 Kenichi Handa <handa@m17n.org>
16732 * international/charprop.el:
16733 * international/uni-name.el:
16734 * international/uni-old-name.el:
16735 * international/uni-comment.el: Regenerate.
16737 2012-02-16 Glenn Morris <rgm@gnu.org>
16739 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
16740 Interactively in calendar buffer, give an error if not on a date.
16742 2012-02-15 Glenn Morris <rgm@gnu.org>
16744 * shell.el (shell-delimiter-argument-list):
16745 Revert 2011-02-17 change. (Bug#8027)
16747 2012-02-15 Chong Yidong <cyd@gnu.org>
16749 * minibuffer.el (completion-at-point-functions): Doc fix.
16751 * custom.el (defcustom): Doc fix; note use of defvar.
16753 2012-02-15 Glenn Morris <rgm@gnu.org>
16755 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
16758 2012-02-14 Glenn Morris <rgm@gnu.org>
16760 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
16762 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
16764 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
16765 way the ports list is computed.
16766 (smtpmail-query-smtp-server): Prompt the user for a port number if
16767 we can't connect to any of the standard ports (bug#10810).
16769 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
16771 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
16773 2012-02-13 Glenn Morris <rgm@gnu.org>
16775 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
16777 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
16779 * net/gnutls.el (gnutls-trustfiles): New variable.
16780 (gnutls-negotiate): Use it.
16782 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
16784 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
16785 does its stuff if Gnus is running.
16787 2012-02-13 Alan Mackenzie <acm@muc.de>
16789 Fix a loop in c-set-fl-decl-start.
16791 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
16792 c-backward-syntactic-ws actually moves backwards.
16794 2012-02-13 Leo Liu <sdl.web@gmail.com>
16796 * net/rcirc.el (rcirc-markup-attributes): Move point to the
16797 beginning so that all \C-o chars are removed.
16799 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
16801 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
16803 2012-02-12 Alan Mackenzie <acm@muc.de>
16805 Fix infinite loop with long macros.
16806 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
16808 2012-02-12 Chong Yidong <cyd@gnu.org>
16810 * window.el (display-buffer): Doc fix (Bug#10785).
16812 2012-02-12 Glenn Morris <rgm@gnu.org>
16814 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16815 (x-disown-selection-internal, x-get-selection-internal):
16816 Sync docs with the xselect.c versions.
16818 * allout-widgets.el: Add missing license notice.
16820 2012-02-11 Glenn Morris <rgm@gnu.org>
16822 * select.el (x-get-selection-internal, x-own-selection-internal)
16823 (x-disown-selection-internal):
16824 * x-dnd.el (x-get-selection-internal): Update declarations.
16826 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
16828 * window.el (window-sides-slots):
16829 * tool-bar.el (tool-bar-position):
16830 * term/xterm.el (xterm-extra-capabilities):
16831 * ses.el (ses-self-reference-early-detection):
16832 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
16833 (verilog-auto-wire-type)
16834 (verilog-auto-delete-trailing-whitespace)
16835 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
16836 (verilog-auto-tieoff-declaration):
16837 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
16838 (sql-oracle-statement-starters, sql-oracle-scan-on):
16839 * progmodes/prolog.el (prolog-align-comments-flag)
16840 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
16841 (prolog-left-indent-regexp, prolog-paren-indent-p)
16842 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
16843 (prolog-types, prolog-mode-specificators)
16844 (prolog-determinism-specificators, prolog-directives)
16845 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
16846 (prolog-electric-dot-flag)
16847 (prolog-electric-dot-full-predicate-template)
16848 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
16849 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
16850 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
16851 (prolog-program-switches, prolog-prompt-regexp)
16852 (prolog-debug-on-string, prolog-debug-off-string)
16853 (prolog-trace-on-string, prolog-trace-off-string)
16854 (prolog-zip-on-string, prolog-zip-off-string)
16855 (prolog-use-standard-consult-compile-method-flag)
16856 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
16857 (prolog-imenu-max-lines, prolog-info-predicate-index)
16858 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
16859 (prolog-char-quote-workaround):
16860 * progmodes/cc-vars.el (c-defun-tactic):
16861 * net/tramp.el (tramp-encoding-command-interactive)
16862 (tramp-local-end-of-line):
16863 * net/soap-client.el (soap-client):
16864 * net/netrc.el (netrc-file):
16865 * net/gnutls.el (gnutls):
16866 * minibuffer.el (completion-category-overrides)
16867 (completion-cycle-threshold)
16868 (completion-pcm-complete-word-inserts-delimiters):
16869 * man.el (Man-name-local-regexp):
16870 * mail/feedmail.el (feedmail-display-full-frame):
16871 * international/characters.el (glyphless-char-display-control):
16872 * eshell/em-ls.el (eshell-ls-date-format):
16873 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
16874 (lisp-lambda-list-keyword-parameter-indentation)
16875 (lisp-lambda-list-keyword-parameter-alignment):
16876 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
16877 * dired-x.el (dired-omit-verbose):
16878 * cus-theme.el (custom-theme-allow-multiple-selections):
16879 * calc/calc.el (calc-highlight-selections-with-faces)
16880 (calc-lu-field-reference, calc-lu-power-reference)
16881 (calc-note-threshold):
16882 * battery.el (battery-mode-line-limit):
16883 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
16884 (archive-7z-update):
16885 * allout.el (allout-prefixed-keybindings)
16886 (allout-unprefixed-keybindings)
16887 (allout-inhibit-auto-fill-on-headline)
16888 (allout-flattened-numbering-abbreviation):
16889 * allout-widgets.el (allout-widgets-auto-activation)
16890 (allout-widgets-icons-dark-subdir)
16891 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
16892 (allout-widgets-theme-dark-background)
16893 (allout-widgets-theme-light-background)
16894 (allout-widgets-item-image-properties-emacs)
16895 (allout-widgets-item-image-properties-xemacs)
16896 (allout-widgets-run-unit-tests-on-load)
16897 (allout-widgets-time-decoration-activity)
16898 (allout-widgets-hook-error-post-time)
16899 (allout-widgets-track-decoration):
16900 Add missing :version tags to new defcustoms and defgroups.
16902 * progmodes/sql.el (sql-ansi-statement-starters)
16903 (sql-oracle-statement-starters): Add custom type.
16905 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
16906 (prolog-system-version): Give it a type.
16908 2012-02-11 Eli Zaretskii <eliz@gnu.org>
16910 * term/pc-win.el (x-select-text, x-selection-owner-p)
16911 (x-own-selection-internal, x-disown-selection-internal)
16912 (x-get-selection-internal): Sync doc strings and argument lists
16913 with xselect.c, common-win.el and x-win.el. (Bug#10783)
16915 2012-02-11 Leo Liu <sdl.web@gmail.com>
16917 * progmodes/python.el (python-end-of-statement): Fix infinite
16920 2012-02-10 Glenn Morris <rgm@gnu.org>
16922 * international/mule-cmds.el (unify-8859-on-encoding-mode)
16923 (unify-8859-on-decoding-mode): Properly mark as obsolete.
16925 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
16927 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
16928 about SMTP before checking the From header.
16930 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
16931 into own function for reuse by emacsbug.el.
16933 2012-02-10 Leo Liu <sdl.web@gmail.com>
16935 * subr.el (condition-case-unless-debug): Rename from
16936 condition-case-no-debug. All callers changed.
16937 (with-demoted-errors): Fix caller.
16939 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
16940 * nxml/rng-valid.el (rng-do-some-validation):
16941 * emacs-lisp/package.el (package-refresh-contents)
16942 (package-menu-execute):
16943 * desktop.el (desktop-create-buffer):
16944 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
16946 2012-02-10 Glenn Morris <rgm@gnu.org>
16948 * textmodes/bibtex.el:
16949 Add missing :version tags for new/changed defcustoms.
16951 * files.el (remote-file-name-inhibit-cache): Doc fixes.
16953 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
16955 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
16956 (smtpmail-via-smtp): Use it, or fall back on the From address.
16957 (smtpmail-send-it): Ditto.
16959 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
16961 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
16962 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
16963 (byte-compile-tmp-var): New const.
16964 (byte-compile-defvar): Use it to minimize .elc size.
16965 Just use `defvar' rather than simulate it (bug#10761).
16967 2012-02-09 Glenn Morris <rgm@gnu.org>
16969 * files.el (rename-uniquely): Doc fix. (Bug#3806)
16971 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
16974 * progmodes/compile.el (compilation-error-screen-columns)
16975 (compilation-first-column, compilation-filter-start): Doc fixes.
16977 * vc/log-view.el (log-view-toggle-entry-display):
16978 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
16980 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
16981 (report-emacs-bug-can-use-xdg-email):
16982 (report-emacs-bug-insert-to-mailer): Doc fixes.
16983 (report-emacs-bug): Message fix.
16985 * net/browse-url.el (browse-url-can-use-xdg-open)
16986 (browse-url-xdg-open): Doc fixes.
16988 * electric.el (electric-indent-mode, electric-pair-mode)
16989 (electric-layout-rules, electric-layout-mode): Doc fixes.
16990 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
16992 2012-02-08 Martin Rudalics <rudalics@gmx.at>
16994 * server.el (server-unselect-display): Don't inadvertently kill
16995 the current buffer. (Bug#10729)
16997 2012-02-08 Glenn Morris <rgm@gnu.org>
16999 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
17000 (sql-list-table): Doc fixes.
17002 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
17003 Comment out (does nothing).
17005 * completion.el (dynamic-completion-mode):
17006 * dirtrack.el (dirtrack-debug-mode):
17007 * electric.el (electric-layout-mode):
17008 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
17009 * face-remap.el (text-scale-mode, buffer-face-mode):
17010 * iimage.el (iimage-mode):
17011 * image-mode.el (image-transform-mode):
17012 * minibuffer.el (completion-in-region-mode):
17013 * scroll-lock.el (scroll-lock-mode):
17014 * simple.el (next-error-follow-minor-mode):
17015 * tar-mode.el (tar-subfile-mode):
17016 * tooltip.el (tooltip-mode):
17017 * vcursor.el (vcursor-use-vcursor-map):
17018 * wid-browse.el (widget-minor-mode):
17019 * emulation/tpu-edt.el (tpu-edt-mode):
17020 * emulation/tpu-extras.el (tpu-cursor-free-mode):
17021 * international/iso-ascii.el (iso-ascii-mode):
17022 * language/thai-util.el (thai-word-mode):
17023 * mail/supercite.el (sc-minor-mode):
17024 * net/goto-addr.el (goto-address-mode):
17025 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
17026 * progmodes/cwarn.el (cwarn-mode):
17027 * progmodes/flymake.el (flymake-mode):
17028 * progmodes/glasses.el (glasses-mode):
17029 * progmodes/hideshow.el (hs-minor-mode):
17030 * progmodes/pascal.el (pascal-outline-mode):
17031 * textmodes/enriched.el (enriched-mode):
17032 * vc/smerge-mode.el (smerge-mode):
17033 Doc fixes (minor mode argument).
17035 2012-02-07 Eli Zaretskii <eliz@gnu.org>
17037 * ls-lisp.el (ls-lisp-sanitize): New function.
17038 (ls-lisp-insert-directory): Use it to fix or remove any elements
17039 in file-alist with missing attributes. (Bug#4673)
17041 2012-02-07 Alan Mackenzie <acm@muc.de>
17043 Fix spurious recognition of c-in-knr-argdecl.
17045 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
17046 putative K&R region.
17048 2012-02-07 Alan Mackenzie <acm@muc.de>
17050 * progmodes/cc-engine.el (c-forward-objc-directive):
17051 Prevent looping in "#pragma mark @implementation".
17053 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
17055 * notifications.el (notifications-on-closed-signal): Make `reason'
17056 optional. (Bug#10744)
17058 2012-02-07 Glenn Morris <rgm@gnu.org>
17060 * emacs-lisp/easy-mmode.el (define-minor-mode):
17061 Doc fixes for the macro and the mode it defines.
17063 * image.el (imagemagick-types-inhibit): Doc fix.
17065 * cus-start.el (imagemagick-render-type): Add it.
17067 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
17069 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
17070 Set the default at load time, too, so that `font-lock-fontify-buffer'
17071 can be called without setting up the entire mode first. This fixes
17072 a bug in `mm-inline-text' with C MIME parts.
17074 2012-02-06 Chong Yidong <cyd@gnu.org>
17076 * simple.el (list-processes--refresh): Delete exited processes
17079 * comint.el (comint-next-prompt): next-single-char-property-change
17080 and prev-single-char-property-change never return nil (Bug#8657).
17082 * custom.el (defcustom): Doc fix (Bug#9711).
17084 2012-02-05 Chong Yidong <cyd@gnu.org>
17086 * cus-edit.el (custom-variable-reset-backup): Quote the value
17087 before storing it in the customized-value property (Bug#6712).
17088 (custom-display): Add a customization type tag.
17089 (custom-buffer-create-internal): Improve tooltip message.
17091 * wid-edit.el (widget-field-value-get): New optional arg to
17092 suppress trailing whitespace truncation.
17093 (character): Use it (Bug#2689).
17095 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
17097 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
17098 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
17100 2012-02-05 Chong Yidong <cyd@gnu.org>
17102 * cus-edit.el (custom-variable-value-create): For mismatched
17103 types, show the current value (Bug#7600).
17105 * custom.el (defcustom): Doc fix.
17107 2012-02-05 Glenn Morris <rgm@gnu.org>
17109 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
17111 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
17113 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
17114 (pp-buffer): Use `ignore-errors', `looking-at-p'.
17115 (pp-last-sexp): Use `looking-at-p'.
17117 2012-02-04 Glenn Morris <rgm@gnu.org>
17119 * files.el (revert-buffer):
17120 Doc fix (mention revert-buffer-in-progress-p).
17122 * emacs-lisp/ert-x.el (ert-simulate-command):
17123 Check deferred-action-list (which is obsolete) is bound.
17125 * subr.el (with-wrapper-hook): Doc fixes.
17127 * simple.el (filter-buffer-substring-functions)
17128 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
17130 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
17132 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
17133 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
17135 2012-02-04 Leo Liu <sdl.web@gmail.com>
17137 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
17139 2012-02-04 Glenn Morris <rgm@gnu.org>
17141 * image.el (image-extension-data): Add obsolete alias.
17143 * isearch.el (isearch-update): Doc fix.
17145 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
17147 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
17149 2012-02-03 Glenn Morris <rgm@gnu.org>
17151 * image.el (image-animated-p): Doc fix. Use image-animated-types.
17152 (image-animate-timeout): Doc fix.
17154 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
17156 2012-02-02 Glenn Morris <rgm@gnu.org>
17158 * server.el (server-auth-dir): Doc fix.
17159 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
17161 * subr.el (run-mode-hooks): Doc fix.
17163 2012-02-02 Juri Linkov <juri@jurta.org>
17165 * image-mode.el (image-toggle-display-image): Remove tautological
17166 `major-mode' from the `derived-mode-p' test.
17168 2012-02-02 Kenichi Handa <handa@m17n.org>
17170 * composite.el (compose-region): Cancel previous change.
17172 2012-02-02 Kenichi Handa <handa@m17n.org>
17174 * composite.el (compose-region, compose-string): Signal error for
17175 a null string component (Bug#6988).
17177 2012-02-01 Chong Yidong <cyd@gnu.org>
17179 * view.el (view-buffer-other-window, view-buffer-other-frame):
17180 Handle special modes like view-buffer (Bug#10650).
17181 (view-buffer): Simplify.
17183 * frame.el (set-frame-font): Tweak meaning of third argument.
17185 * dynamic-setting.el (font-setting-change-default-font):
17186 Use set-frame-font (Bug#9982).
17188 2012-02-01 Glenn Morris <rgm@gnu.org>
17190 * progmodes/compile.el (compilation-internal-error-properties):
17191 Respect compilation-first-column in the "*compilation*" buffer.
17193 * emacs-lisp/easy-mmode.el (define-minor-mode):
17194 Relax :variable's test for a named function.
17196 2012-01-31 Alan Mackenzie <acm@muc.de>
17198 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
17201 2012-01-31 Chong Yidong <cyd@gnu.org>
17203 * frame.el (set-frame-font): New arg ALL-FRAMES.
17205 * menu-bar.el (menu-set-font): Use set-frame-font.
17207 * faces.el (face-spec-reset-face): Don't apply unspecified
17208 attribute values to the default face.
17210 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
17212 * progmodes/cwarn.el (cwarn): Remove dead link.
17213 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
17214 Remove * from defcustom docstrings.
17215 (turn-on-cwarn-mode): Make obsolete.
17216 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
17217 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
17219 2012-01-31 Glenn Morris <rgm@gnu.org>
17221 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
17222 Fix :variable handling of mode a symbol not equal to modefun.
17223 Allow named functions to be used as the cdr of :variable.
17225 2012-01-30 Glenn Morris <rgm@gnu.org>
17227 * emacs-lisp/authors.el (authors-fixed-entries):
17228 Remove reference to deleted file rnewspost.el.
17230 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
17232 * window.el (window-with-parameter): Remove unused variable `windows'.
17233 (window--side-check): Remove unused variable `code'.
17234 (window--resize-siblings): Remove unused variable `first'.
17235 (adjust-window-trailing-edge): Remove unused variable `failed'.
17236 (window-deletable-p, window--delete): Remove unused variable `buffer'.
17237 Use `let', not `let*'.
17238 (balance-windows-2): Remove unused variable `found'.
17239 (window--state-put-2): Remove unused variable `splits'.
17240 (window-state-put): Remove unused variable `selected'.
17241 (same-window-p): Use `string-match-p'.
17242 (display-buffer-assq-regexp): Remove unused variable `value'.
17243 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17244 Mark argument ALIST as ignored.
17245 (pop-to-buffer): Remove unused variable `old-window'.
17247 2012-01-29 Eli Zaretskii <eliz@gnu.org>
17249 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
17250 and .lzma compressed files.
17252 2012-01-29 Chong Yidong <cyd@gnu.org>
17254 * frame.el (window-system-default-frame-alist): Doc fix.
17256 * dynamic-setting.el (font-setting-change-default-font): Don't
17257 change the default face if SET-FONT argument is non-nil (Bug#9982).
17259 2012-01-29 Samuel Bronson <naesten@gmail.com>
17261 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
17263 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
17265 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
17266 breakpoints in files outside current directory (Bug#6098).
17268 2012-01-29 Chong Yidong <cyd@gnu.org>
17270 * progmodes/python.el: Require ansi-color at top-level.
17272 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
17273 Define and use in Emacs Lisp mode (Bug#9360).
17274 (lisp-mode-abbrev-table): Add doc.
17275 (lisp-mode-variables): Don't set local-abbrev-table.
17276 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
17278 2012-01-28 Roland Winkler <winkler@gnu.org>
17280 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
17282 2012-01-28 Roland Winkler <winkler@gnu.org>
17284 * textmodes/bibtex.el (bibtex-entry-alist): New function.
17285 (bibtex-set-dialect): Use it. Either set global values of
17286 dialect-dependent variables or bind these variables buffer-locally
17288 (bibtex-mode): Call bibtex-set-dialect via
17289 hack-local-variables-hook.
17290 (bibtex-dialect): Update docstring.
17291 Add safe-local-variable predicate.
17292 (bibtex-entry-alist, bibtex-field-alist): Initialize via
17293 bibtex-set-dialect.
17294 (bibtex-mode-map): Define menu for each dialect.
17295 (bibtex-entry): Fix docstring.
17297 2012-01-28 Chong Yidong <cyd@gnu.org>
17299 * eshell/esh-arg.el (eshell-quote-argument): New function.
17301 * eshell/esh-ext.el (eshell-invoke-batch-file):
17302 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
17303 first arg to eshell-parse-command (Bug#10523).
17305 2012-01-28 Drew Adams <drew.adams@oracle.com>
17307 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
17308 `default-directory' is non-nil.
17310 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17312 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
17313 line that displays system-configuration-options. (Bug#9924)
17315 2012-01-28 Drew Adams <drew.adams@oracle.com>
17317 * descr-text.el (describe-char): Show information about POS, in
17318 addition to information about the character at POS. Improve and
17319 update the doc string. Change "code point" to "code point in
17320 charset", to avoid confusion with the character's Unicode code
17321 point shown above that. (Bug#10129)
17323 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17325 * descr-text.el (describe-char): Show the raw character, not only
17326 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
17327 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
17330 2012-01-28 Phil Hagelberg <phil@hagelb.org>
17332 * emacs-lisp/package.el (package-install):
17333 Run package-refresh-contents if there is no archive yet (Bug#9798).
17335 2012-01-28 Chong Yidong <cyd@gnu.org>
17337 * emacs-lisp/package.el (package-maybe-load-descriptor):
17338 New function, split from package-maybe-load-descriptor.
17339 (package-maybe-load-descriptor): Use it.
17340 (package-download-transaction): Fully load required packages
17341 inside the loop, so that `require' calls work (Bug#10593).
17342 (package-install): No need to call package-initialize now.
17344 2012-01-28 Chong Yidong <cyd@gnu.org>
17346 * simple.el (deactivate-mark): Doc fix (Bug#8614).
17348 * tooltip.el (tooltip-mode): Doc fix.
17349 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
17351 * frame.el (set-cursor-color): Doc fix (Bug#352).
17353 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
17354 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
17356 * cus-edit.el (custom-buffer-create-internal): Fix search button
17357 action (Bug#10542).
17358 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
17360 2012-01-27 Eduard Wiebe <usenet@pusto.de>
17362 * dired.el (dired-mark-files-regexp):
17363 Include any subdirectory components. (Bug#10445)
17365 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
17367 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
17368 Handle [host]:port syntax. (Bug#10533)
17370 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
17372 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
17374 2012-01-26 Glenn Morris <rgm@gnu.org>
17376 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
17377 * term.el (term-raw-escape-map): Use Control-X-prefix.
17378 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
17380 2012-01-25 Martin Rudalics <rudalics@gmx.at>
17382 * window.el (window-state-get, window--state-get-1): Don't deal
17383 with fixed-sizeness of windows. Simplify code.
17385 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
17387 * window.el (window--state-get-1, window--state-put-2):
17388 Don't save and restore the mark.
17390 2012-01-25 Chong Yidong <cyd@gnu.org>
17392 * custom.el (custom-variable-p): Doc fix.
17394 2012-01-25 Glenn Morris <rgm@gnu.org>
17396 * dired.el (dired-goto-file): Handle some of the more common
17397 characters that `ls -b' escapes. (Bug#10596)
17399 * progmodes/compile.el (compilation-next-error-function):
17400 Respect compilation-first-column in the "*compilation*" buffer.
17401 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
17403 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
17405 2012-01-24 Glenn Morris <rgm@gnu.org>
17407 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
17409 2012-01-24 Julien Danjou <julien@danjou.info>
17411 * color.el (color-rgb-to-hsl): Fix value computing.
17412 (color-hue-to-rgb): New function.
17413 (color-hsl-to-rgb): New function.
17414 (color-clamp, color-saturate-hsl, color-saturate-name)
17415 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
17416 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
17418 2012-01-24 Glenn Morris <rgm@gnu.org>
17420 * vc/vc-rcs.el (vc-rcs-create-tag):
17421 * vc/vc-sccs.el (vc-sccs-create-tag):
17422 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
17424 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
17426 * eshell/esh-util.el (eshell-read-hosts-file):
17427 Skip comment lines. (Bug#10549)
17429 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
17431 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
17433 * subr.el (display-delayed-warnings): Doc fix.
17434 (collapse-delayed-warnings): New function to collapse identical
17436 (delayed-warnings-hook): Add it.
17438 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
17440 * net/tramp.el (tramp-action-login): Set connection property "login-as".
17442 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
17443 (tramp-default-user-alist): Don't add "pscp".
17444 (tramp-do-copy-or-rename-file-out-of-band): Use connection
17445 property "login-as", if set. (Bug#10530)
17447 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
17449 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
17450 "plink1" and "psftp". (Bug#10530)
17452 2012-01-21 Kenichi Handa <handa@m17n.org>
17454 * international/mule-cmds.el (prefer-coding-system): Show a
17455 warning message if the default value of file-name-coding-system
17458 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17460 * windmove.el (windmove-reference-loc):
17461 Fix windmove-reference-loc miscalculation.
17463 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
17465 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
17468 2012-01-21 Glenn Morris <rgm@gnu.org>
17470 * international/mule.el (auto-coding-alist): Add .tbz.
17472 * files.el (local-enable-local-variables): Doc fix.
17473 (inhibit-local-variables-regexps): Rename from
17474 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
17475 Doc fix. Add some extensions from auto-coding-alist.
17476 (inhibit-local-variables-suffixes):
17477 Rename from inhibit-first-line-modes-suffixes. Doc fix.
17478 (inhibit-local-variables-p):
17479 New function, extracted from set-auto-mode-1.
17480 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
17481 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
17482 (hack-local-variables): Doc fix. Make the mode-only case
17483 respect enable-local-variables and friends.
17484 Respect inhibit-local-variables-regexps for file-locals, but
17485 not for directory-locals.
17486 (set-visited-file-name):
17487 Take account of inhibit-local-variables-regexps.
17488 Whether it applies may change as the file name is changed.
17489 * jka-cmpr-hook.el (jka-compr-install):
17490 * jka-compr.el (jka-compr-uninstall):
17491 Update for inhibit-first-line-modes-suffixes name change.
17493 2012-01-20 Martin Rudalics <rudalics@gmx.at>
17495 * help-macro.el (make-help-screen): Temporarily restore original
17496 binding for minor-mode-map-alist (Bug#10454).
17498 2012-01-19 Julien Danjou <julien@danjou.info>
17500 * color.el (color-name-to-rgb): Use the white color to find the max
17501 color component value and return correctly computed values.
17502 (color-name-to-rgb): Add missing float conversion for max value.
17504 2012-01-19 Martin Rudalics <rudalics@gmx.at>
17506 * window.el (window--state-get-1, window-state-get): Do not use
17507 special state value for window-persistent-parameters.
17508 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
17509 (window--state-put-2): Reset all window parameters to nil before
17510 assigning values of persistent parameters.
17512 2012-01-18 Alan Mackenzie <acm@muc.de>
17514 Eliminate sluggishness and hangs in fontification of "semicolon
17517 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
17518 Change value 10000 -> 3000.
17519 (c-state-safe-place): Reformulate so it doesn't stack up an
17520 infinite number of wrong entries in c-state-nonlit-pos-cache.
17521 (c-determine-limit-get-base, c-determine-limit): New functions to
17522 determine backward search limits disregarding literals.
17523 (c-find-decl-spots): Amend commenting.
17524 (c-cheap-inside-bracelist-p): New function which detects "={".
17526 * progmodes/cc-fonts.el
17527 (c-make-font-lock-BO-decl-search-function): Give a limit to a
17529 (c-font-lock-declarations): Fix an occurrence of point being
17530 undefined. Check additionally for point being in a bracelist or
17531 near a macro invocation without a semicolon so as to avoid a
17532 fruitless time consuming search for a declarator. Give a more
17533 precise search limit for declarators using the new
17536 2012-01-18 Glenn Morris <rgm@gnu.org>
17538 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
17539 (set-auto-mode): Doc fixes.
17541 2012-01-17 Glenn Morris <rgm@gnu.org>
17543 * isearch.el (search-nonincremental-instead): Fix doc typo.
17545 * dired.el (dired-insert-directory): Handle newlines in directory name.
17546 (dired-build-subdir-alist): Unescape newlines in directory name.
17548 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
17550 * net/tramp.el (tramp-local-end-of-line): New defcustom.
17551 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
17552 (tramp-action-terminal): Use it. (Bug#10530)
17554 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
17556 * minibuffer.el (completion--replace): Strip properties (bug#10062).
17558 2012-01-16 Martin Rudalics <rudalics@gmx.at>
17560 * window.el (window-state-ignored-parameters): Remove variable.
17561 (window--state-get-1): Rename argument MARKERS to IGNORE.
17562 Handle persistent window parameters. Make copy of clone-of
17563 parameter only if requested. (Bug#10348)
17564 (window--state-put-2): Install a window parameter only if it has
17565 a non-nil value or an existing parameter shall be overwritten.
17567 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
17569 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
17571 2012-01-14 Eli Zaretskii <eliz@gnu.org>
17573 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
17574 don't pass the (nil) value of `upnode' to string-match.
17576 2012-01-14 Chong Yidong <cyd@gnu.org>
17578 * startup.el (command-line): Fix X resource class for cursorColor.
17579 Fix values recognized by the cursorBlink resource.
17581 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
17583 * epg.el (epg--make-temp-file): Avoid permission race condition
17584 when running on old Emacs versions (bug#10403).
17586 2012-01-14 Glenn Morris <rgm@gnu.org>
17588 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
17590 2012-01-13 Alan Mackenzie <acm@muc.de>
17592 Fix filling for when filladapt mode is enabled.
17594 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
17595 c-mask-paragraph, pass in `fill-paragraph' rather than
17596 `fill-region-as-paragraph'. (This is a reversion of a previous
17598 * progmodes/cc-mode.el (c-basic-common-init):
17599 Make fill-paragraph-handle-comment buffer local and set it to nil.
17601 2012-01-13 Glenn Morris <rgm@gnu.org>
17603 * dired.el (dired-switches-escape-p): New function.
17604 (dired-insert-directory): Use dired-switches-escape-p.
17605 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
17607 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
17609 2012-01-12 Glenn Morris <rgm@gnu.org>
17611 * mail/sendmail.el (mail-mode): Update paragraph-separate for
17612 changes in adaptive-fill-regexp. (Bug#10276)
17614 2012-01-11 Alan Mackenzie <acm@muc.de>
17616 Fix Emacs bug #10463 - put `widen's around the critical spots.
17618 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
17619 widen around each invocation of c-state-pp-to-literal. Remove an
17620 unused let variable.
17622 2012-01-11 Glenn Morris <rgm@gnu.org>
17624 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
17627 2012-01-10 Chong Yidong <cyd@gnu.org>
17629 * net/network-stream.el (network-stream-open-starttls):
17630 Avoid emitting a confusing error message when the server gives a bad
17631 response to the capability command.
17633 2012-01-10 Glenn Morris <rgm@gnu.org>
17635 * mail/unrmail.el (unrmail): Tweak previous change.
17637 2012-01-09 Chong Yidong <cyd@gnu.org>
17639 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
17641 2012-01-08 Alan Mackenzie <acm@muc.de>
17643 Optimize font locking in long enum definitions.
17645 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
17646 arm to a cond form to handle enums.
17647 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
17648 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
17650 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
17652 * files.el (move-file-to-trash): Preserve default file modes on error.
17655 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17657 * faces.el (set-face-attribute): Clarify the meaning of the nil
17660 * subr.el (with-selected-frame): Mention that the selected frame
17661 is restored (bug#9980).
17663 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
17666 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
17667 (password-read): Don't autoload unused function.
17669 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
17671 * progmodes/which-func.el (which-func-mode): Turn into a
17672 non-interactive function and mark as obsolete (bug#10428).
17674 2012-01-06 Chong Yidong <cyd@gnu.org>
17676 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
17677 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
17678 functions, along with 1 and -1.
17680 2012-01-06 Eli Zaretskii <eliz@gnu.org>
17682 * time.el (display-time-load-average)
17683 (display-time-default-load-average): Doc fixes. See the thread
17685 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
17688 2012-01-06 Glenn Morris <rgm@gnu.org>
17690 * mail/unrmail.el (unrmail): Give an explicit error if the input file
17691 has no messages. (Bug#10377)
17693 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
17694 than Info-edit. (Bug#10385)
17696 * time.el (display-time-load-average, display-time-next-load-average):
17699 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
17700 local setting of buffer-read-only to the input buffer. (Bug#10419)
17702 * calendar/calendar.el (calendar-mode):
17703 Locally set scroll-margin to 0. (Bug#10379)
17705 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
17707 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
17709 2012-01-05 Glenn Morris <rgm@gnu.org>
17711 * eshell/em-unix.el (diff-no-select): Autoload it.
17712 (eshell/diff): Use diff-no-select. (Bug#10420)
17714 2012-01-05 Chong Yidong <cyd@gnu.org>
17716 * shell.el (shell-dynamic-complete-functions): Revert last change.
17717 (shell-command-completion-function): New function.
17718 (shell-completion-vars): Use it to implement
17719 shell-completion-execonly (Bug#10417).
17721 * custom.el (enable-theme): Don't set custom-safe-themes.
17723 * cus-theme.el (custom-theme-merge-theme):
17724 Ignore custom-enabled-themes and custom-safe-themes.
17726 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
17728 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
17729 first prompt in `sql-interacive-mode'.
17730 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
17732 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
17733 (sql-product-interactive): Bug fix: Set `sql-buffer' in
17734 context of original buffer. Invoke `sql-login-hook'.
17736 2012-01-04 Eli Zaretskii <eliz@gnu.org>
17738 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
17739 letters in cite-prefix.
17741 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17743 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
17745 2012-01-03 Chong Yidong <cyd@gnu.org>
17747 * shell.el (shell-dynamic-complete-functions):
17748 Put pcomplete-completions-at-point, so as to try
17749 comint-filename-completion first (Bug#10417).
17751 2012-01-02 Richard Stallman <rms@gnu.org>
17753 * battery.el (battery-status-function):
17754 Detect when to use battery-yeeloong-sysfs.
17755 (battery-echo-area-format): Add string for Yeeloong.
17756 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
17757 (battery-yeeloong-sysfs): New function.
17759 2012-01-02 Chong Yidong <cyd@gnu.org>
17761 * dirtrack.el (dirtrack-list): Eliminate unused third element.
17762 (dirtrack): Merge code for handling relative filenames in prompt
17763 from shell-dir-cookie-watcher.
17764 (dirtrack-debug-message): New arg to avoid excess format calls.
17766 * shell.el (shell-dir-cookie-re): Variable deleted.
17767 (shell-dir-cookie-watcher): Function deleted.
17768 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
17769 with dirtrack-mode.
17771 2012-01-01 Eli Zaretskii <eliz@gnu.org>
17773 * term/w32-win.el (dynamic-library-alist) <gnutls>:
17774 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
17777 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
17779 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
17781 2011-12-31 Eli Zaretskii <eliz@gnu.org>
17783 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
17784 headers of non-MIME messages, when rmail-enable-mime is non-nil.
17786 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
17788 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
17789 also for alternative shells.
17790 (tramp-open-connection-setup-interactive-shell): Check, whether
17791 the shell is a busybox.
17792 (tramp-send-command): Don't suppress multiple prompts for
17793 busyboxes, it hurts.
17795 2011-12-28 Chong Yidong <cyd@gnu.org>
17797 * progmodes/gdb-mi.el (gdb-get-source-file-list)
17798 (gdb-get-source-file): Move mode line update to
17799 gdb-get-source-file (Bug#10087).
17801 2011-12-25 Chong Yidong <cyd@gnu.org>
17803 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
17804 gud-gdb-marker-filter without taking it as an argument.
17805 (gud-gdb-run-command-fetch-lines): Caller changed.
17806 (gud-gdb-completion-function): New variable.
17807 (gud-gdb-completion-at-point): Use it.
17808 (gud-gdb-completions-1): Split from gud-gdb-completions.
17810 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
17811 function as separate arguments.
17812 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
17813 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
17814 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
17815 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
17816 (gdb-stopped, def-gdb-auto-update-trigger)
17817 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
17818 (gdb-get-changed-registers, gdb-get-main-selected-frame):
17820 (gud-gdbmi-completions): New function.
17821 (gdb): Use it for generating the completion table.
17823 2011-12-24 Alan Mackenzie <acm@muc.de>
17825 Introduce a mechanism to widen the region used in context font
17826 locking. Use this to protect declarations from losing their contexts.
17828 * progmodes/cc-langs.el (c-before-font-lock-functions):
17829 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
17830 (c-before-context-fontification-functions): New defvar, a list of
17831 functions to be run just before context (etc.) font locking.
17833 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
17834 New, functionality extracted from
17835 c-neutralize-syntax-in-and-mark-CPP.
17836 (c-in-after-change-fontification): New variable.
17837 (c-after-change): Set c-in-after-change-fontification.
17838 (c-set-fl-decl-start): Rejig its interface, so it can be called
17839 from both after-change and context fontifying.
17840 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
17842 (c-standard-font-lock-fontify-region-function): New variable.
17843 (c-font-lock-fontify-region): New function.
17845 2011-12-24 Juri Linkov <juri@jurta.org>
17847 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
17850 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
17852 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
17853 existence of source file. (Bug#10325)
17855 2011-12-23 Alan Mackenzie <acm@muc.de>
17857 Fix unstable fontification inside templates.
17859 * progmodes/cc-langs.el (c-before-font-lock-functions):
17860 Newly created from the singular version. The (c c++ objc) entry now
17861 additionally has c-set-fl-decl-start. The other languages (apart
17862 from AWK) have that as a single entry.
17864 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17865 The functionality for "local" declarations has been extracted to
17866 c-set-fl-decl-start.
17868 * progmodes/cc-mode.el (c-common-init, c-after-change):
17869 Changes due to pluralisation of c-before-font-lock-functions.
17870 (c-set-fl-decl-start): New function, extracted from
17871 c-font-lock-enclosing-decls and enhanced.
17873 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
17875 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
17877 2011-12-22 Juri Linkov <juri@jurta.org>
17879 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
17881 2011-12-22 Chong Yidong <cyd@gnu.org>
17883 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
17885 2011-12-21 Drew Adams <drew.adams@oracle.com>
17887 * files.el (file-remote-p): Fix docstring. (Bug#10319)
17889 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17891 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
17893 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
17895 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
17896 highlighting and support. Fix up comments for capitalization.
17897 (cfengine-mode-debug): New var.
17898 (cfengine3-mode): Change the modeline indicator to "CFE3".
17899 (cfengine3-font-lock-keywords): Improve defun highlighting.
17900 (cfengine2-actions): Rename from `cfengine-actions'.
17901 (cfengine2-font-lock-keywords): Rename from
17902 `cfengine-font-lock-keywords'.
17903 (cfengine2-imenu-expression): Rename from
17904 `cfengine-imenu-expression'.
17905 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
17906 (cfengine2-beginning-of-defun): Rename from
17907 `cfengine-beginning-of-defun'.
17908 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
17909 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
17910 (cfengine2-mode): Rename from `cfengine-mode'. Change the
17911 modeline indicator to "CFE2".
17912 (cfengine-mode): Defalias to `cfengine-auto-mode'.
17913 (cfengine-mode-abbrevs): Mark obsolete.
17915 2011-12-21 Chong Yidong <cyd@gnu.org>
17917 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
17920 2011-12-20 Martin Rudalics <rudalics@gmx.at>
17922 * window.el (window-normalize-buffer-to-display): Remove.
17923 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
17925 2011-12-19 Chong Yidong <cyd@gnu.org>
17927 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
17928 Don't signal an error in a predicate function; return non-nil.
17929 (vc-dir-mark-file): Move the error here.
17930 (vc-dir-mark-unmark): If acting on the region, keep going if one
17931 of the entries cannot be marked/unmarked.
17932 (vc-dir-mark-all-files): If current entry is a directory, mark
17933 only child files, as documented.
17935 2011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
17937 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
17938 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
17941 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
17943 * term/ns-win.el (ns-get-selection-internal)
17944 (ns-store-selection-internal): Declare.
17945 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
17946 Declare as obsolete.
17947 (ns-get-pasteboard, ns-paste-secondary):
17948 Use ns-get-selection-internal.
17949 (ns-set-pasteboard, ns-copy-including-secondary):
17950 Use ns-store-selection-internal.
17952 2011-12-17 Chong Yidong <cyd@gnu.org>
17954 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
17955 (vc-deduce-fileset): Doc fix.
17957 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
17959 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
17961 2011-12-13 Sam Steingold <sds@gnu.org>
17963 * man.el (Man-getpage-in-background): When running under a
17964 window-system, ignore $MANWIDTH and $COLUMNS.
17966 2011-12-15 Kenichi Handa <handa@m17n.org>
17968 * language/ethio-util.el: Change coding tag to utf-8-emacs.
17969 (setup-ethiopic-environment-internal): Comment out key-binding for
17970 ethio-toggle-punctuation.
17972 2011-12-13 Alan Mackenzie <acm@muc.de>
17974 Add the switch statement to AWK Mode.
17976 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
17977 "default" to the keywords regexp.
17979 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
17980 expression as the rest.
17981 (c-nonlabel-token-key): Allow string literals for AWK.
17982 Refactor for the other modes.
17984 Large brace-block initialisation makes CC Mode slow: Fix.
17985 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
17986 routines. Limit backward searching in c-font-lock-enclosing.decl.
17988 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
17989 pp-state and literal type in addition to the limits.
17990 (c-state-safe-place): New defun, extracted from c-state-literal-at.
17991 (c-state-literal-at): Use the above new defun.
17992 (c-slow-in-literal, c-fast-in-literal): Remove.
17993 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
17995 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
17996 being in a literal. Add a limit for backward searching.
17998 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
18001 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
18003 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
18005 2011-12-13 Martin Rudalics <rudalics@gmx.at>
18007 * window.el (delete-other-windows): Use correct frame in call to
18008 window-with-parameter.
18010 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
18012 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
18013 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
18014 (makefile-gmake-statements, makefile-makepp-statements):
18015 Use it and add new makepp keywords.
18016 (makefile-makepp-font-lock-keywords): Add new patterns.
18017 (makefile-match-function-end): Match new [...] and [[...]].
18019 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
18021 * ses.el (ses-call-printer-return, ses-cell-property-get)
18022 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
18023 (ses-create-cell-variable, ses-reset-header-string)
18024 (ses-cell-set-formula, ses-repair-cell-reference-all)
18025 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
18026 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
18027 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
18028 (ses-aset-with-undo, ses-load, ses-truncate-cell)
18029 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
18030 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
18031 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
18032 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
18033 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
18034 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
18035 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
18036 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
18038 2011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
18040 * ses.el: The overall change is to add cell renaming, that is
18041 setting fancy names for cell symbols other than name matching
18042 "\\`[A-Z]+[0-9]+\\'" regexp .
18043 (ses-create-cell-variable): New defun.
18044 (ses-relocate-formula): Relocate formulas only for cells the
18045 symbols of which are not renamed, i.e. symbols whose names do not
18046 match regexp "\\`[A-Z]+[0-9]+\\'".
18047 (ses-relocate-all): Relocate values only for cells the symbols of
18048 which are not renamed.
18049 (ses-load): Create cells variables as the (ses-cell ...) are read,
18050 in order to check row col consistency with cell symbol name only
18051 for cells that are not renamed.
18052 (ses-replace-name-in-formula): New defun.
18053 (ses-rename-cell): New defun.
18055 2011-12-11 Chong Yidong <cyd@gnu.org>
18057 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
18058 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
18060 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
18062 * window.el (other-window): Fix docstring.
18064 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18066 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
18067 `from' or `to' address before taking its substring.
18068 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
18069 encoded name is chopped in the middle of the encoded string, and
18070 thus displayed encoded.
18072 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
18074 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
18076 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18078 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
18079 to use texinfo-update-node and commands that call it if the
18080 Texinfo file uses @node lines without next/prev/up pointers.
18081 Correct outdated description about texinfo-master-menu.
18082 (texinfo-all-menus-update, texinfo-master-menu)
18083 (texinfo-update-node, texinfo-every-node-update)
18084 (texinfo-multiple-files-update): Doc fix. Warn against updating
18085 all the @node lines.
18086 (texinfo-master-menu): Only call texinfo-update-node if the prefix
18087 argument is numeric. Explain better in the doc string what the
18088 function really does.
18089 (texinfo-insert-master-menu-list): Improve the error message
18090 displayed if there's no menu in the Top node.
18091 (Bug#2975) See also this thread:
18092 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
18094 2011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
18096 * speedbar.el (speedbar-supported-extension-expressions):
18097 Add .adb and .ads, commonly used for Ada source code (bug#10256).
18099 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
18101 * printing.el (pr-mode-alist):
18102 * simple.el (filter-buffer-substring-functions)
18103 (completion-list-insert-choice-function):
18104 * window.el (window-with-parameter, window-atom-root)
18105 (window-sides-slots, window-size-fixed, window-min-delta)
18106 (window-max-delta, window--resize-mini-window)
18107 (window--resize-child-windows-normal, window-tree)
18108 (delete-other-windows, quit-window, split-window)
18109 (display-buffer-record-window, special-display-buffer-names)
18110 (special-display-regexps, special-display-popup-frame)
18111 (same-window-p, split-window-sensibly)
18112 (display-buffer-overriding-action, display-buffer-alist)
18113 (display-buffer-base-action, display-buffer, switch-to-buffer)
18114 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
18115 (fit-window-to-buffer, recenter-positions)
18116 (mouse-autoselect-window-state, mouse-autoselect-window-select):
18117 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
18118 and remove unneeded backslashes in docstrings.
18120 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
18122 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
18124 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
18125 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
18127 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
18128 when reading the makefile (bug#10116).
18130 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
18132 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
18135 2011-12-06 Glenn Morris <rgm@gnu.org>
18137 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
18139 2011-12-06 Chong Yidong <cyd@gnu.org>
18141 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
18143 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
18145 * textmodes/table.el (table-shorten-cell): Fix typo.
18147 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
18149 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
18151 2011-12-05 Eli Zaretskii <eliz@gnu.org>
18153 * descr-text.el (describe-char): Fix display of strong
18154 right-to-left characters and directional embeddings and overrides.
18156 * simple.el (what-cursor-position): Fix display of codepoints of
18157 strong right-to-left characters.
18159 2011-12-05 Chong Yidong <cyd@gnu.org>
18161 * faces.el (read-color): Doc fix.
18163 2011-12-05 Glenn Morris <rgm@gnu.org>
18165 * align.el (align--set-marker): Add doc-string.
18166 Don't try to move something that is not a marker. (Bug#10216)
18168 2011-12-04 Glenn Morris <rgm@gnu.org>
18170 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
18171 overly zealous deletion of trailing whitespace.
18173 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
18175 * server.el (server-delete-client): On Windows, do not try to delete
18177 (server-process-filter): On Windows, treat requests for a tty frame as
18178 if they were for a GUI frame if the running server is in GUI mode.
18180 2011-12-03 Glenn Morris <rgm@gnu.org>
18182 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
18184 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
18186 * electric.el: Streamline electric-indent's hook.
18187 (electric-indent-chars): Revert to simple list.
18188 (electric-indent-functions): New var.
18189 (electric-indent-post-self-insert-function): Use it.
18191 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
18192 there's no inferior buffer (bug#10196).
18193 (prolog-consult-compile): Don't use toggle-read-only.
18195 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
18197 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
18198 interrupt. (Bug#10187)
18200 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
18202 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
18205 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
18208 2011-12-02 Juri Linkov <juri@jurta.org>
18210 * info.el (Info-search): Display "end of manual" when Isearch
18211 reaches the end of single-file Info manual. (Bug#9918)
18213 2011-12-02 Eli Zaretskii <eliz@gnu.org>
18215 * isearch.el (isearch-message-prefix): Run the input method part
18216 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
18218 2011-12-02 Juri Linkov <juri@jurta.org>
18220 * isearch.el (isearch-occur): Use `word-search-regexp' for
18222 (isearch-search-and-update): Add condition for `isearch-word' and
18223 call `word-search-regexp'. (Bug#10145)
18225 2011-12-01 Glenn Morris <rgm@gnu.org>
18227 * eshell/em-hist.el (eshell-hist-initialize):
18228 Handle eshell-history-size nil and HISTSIZE set or unset.
18229 (eshell-history-file-name, eshell-history-size): Fix custom type.
18231 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
18233 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
18235 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
18237 * progmodes/verilog-mode.el (verilog-pretty-expr):
18238 Rework verilog-pretty-expr to handle new assignment operators in system
18239 verilog, such as += *= and the like.
18240 (verilog-assignment-operator-re): Regular expression to find the
18241 assigment operator in a verilog assignment.
18242 (verilog-assignment-operation-re): Regular expression to find an
18243 assignment statement for pretty-expr.
18244 (verilog-in-attribute-p): Query returns true if point is in an
18245 attribute context; used to skip these for expression line up from
18247 (verilog-in-parameter-p): Query returns true if point is in an
18248 parameter definition context; used to skip these for expression
18249 line up from pretty-expr.
18250 (verilog-in-parenthesis-p): Query returns true if point is in a
18251 parenthetical expression, specifically ( ) but not [ ] or { };
18252 used by pretty-expr.
18253 (verilog-just-one-space): If there is no space, don't add one.
18254 (verilog-get-lineup-indent-2): Specifically skip just attribute
18255 contexts for expression lineup, rather than skipping all
18256 parenthetical expressions.
18257 (verilog-calculate-indent): Fix comment, and fix indent.
18258 (verilog-do-indent): Indent declarations in lists (suggested by
18260 (verilog-mode-abbrev-table): Populate abbrev mode with the various
18262 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
18265 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
18267 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
18268 parameters with embedded comments. Reported by Ray Stevens.
18269 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
18270 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
18271 Reported by Tim Holt.
18272 (verilog-auto): Fix AUTOing a upper module then AUTOing module
18273 instantiated by upper module causing wrong expansion until AUTOed a
18274 second time. Reported by K C Buckenmaier.
18275 (verilog-diff-auto): Fix showing .* as a difference when
18276 `verilog-auto-star-save' off. Reported by Dan Dever.
18277 (verilog-auto-reset, verilog-read-always-signals)
18278 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
18279 temporary signals in reset list if
18280 verilog-auto-reset-blocking-in-non is nil, and match assignment
18281 style to each signal's assignment type, bug381.
18282 Reported by Thomas Esposito.
18283 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
18284 (verilog-uvm-statement-re): Support UVM indentation and
18285 highlighting, with old OVM keywords only.
18286 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
18287 Support AUTOTIEOFF creating non-wire data types.
18288 Suggested by Jonathan Greenlaw.
18289 (verilog-auto-insert-lisp, verilog-delete-to-paren)
18290 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
18291 (verilog-inject-sense, verilog-read-inst-pins)
18292 (verilog-read-sub-decls, verilog-read-sub-decls-line):
18293 Fix mismatching parenthesis inside commented out code when deleting
18294 AUTOINST, bug383. Reported by Jonathan Greenlaw.
18295 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
18296 non-numeric vector width. Reported by Alex Reed.
18297 (verilog-auto-ascii-enum): Add "onehot" option to work around not
18298 detecting signals with parameter widths. Reported by Alex Reed.
18299 (verilog-auto-delete-trailing-whitespace):
18300 With `verilog-auto-delete-trailing-whitespace' remove trailing
18301 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
18302 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
18303 Fix verilog-scan-cache corruption when running user AUTO expansion
18304 hooks that call indentation routines.
18305 (verilog-simplify-range-expression): Fix typo ignoring lower case
18307 (verilog-delete-auto): Fix delete-autos to also remove user created
18308 automatics, as long as they start with AUTO.
18309 (verilog-batch-diff-auto, verilog-diff-auto)
18310 (verilog-diff-function): Add `verilog-diff-auto' and bind to
18311 "C-c?" to report differences in AUTO expansion, ignoring spaces.
18312 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
18313 (verilog-in-paren-quick, verilog-re-search-backward-quick)
18314 (verilog-re-search-forward-quick, verilog-syntax-ppss):
18315 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
18316 is disabled and its cache will get corrupt, causing AUTOS not to
18317 expand. Instead use only -quick functions.
18318 (verilog-scan-region): Fix scanning over escaped quotes.
18319 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
18320 (verilog-re-search-backward-quick)
18321 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
18322 related functions now ignore strings, to fix misparsing of strings
18323 with magic comments embedded in them.
18324 (verilog-read-auto-template):
18325 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
18326 Reported by Brad Dobbie.
18327 (verilog-read-auto-template):
18328 Fix 'verilog-auto-inst-template-numbers' with comments.
18329 Reported by Brad Dobbie.
18330 (verilog-auto-inst, verilog-auto-inst-param)
18331 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
18332 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
18333 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
18334 debugging templates without merge conflicts, bug357.
18335 Reported by Brad Dobbie.
18336 (verilog-read-auto-template):
18337 Fix verilog-auto-inst-template-numbers with multiple templates.
18338 Reported by Brad Dobbie.
18339 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
18340 abbrevs so user won't be asked to save.
18341 (verilog-read-auto-lisp-present): Fix to start at beginning of
18342 buffer in case called outside of verilog-auto.
18343 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
18344 to "X-2". Reported by Matthew Myers.
18345 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
18346 all inputs from module templates. Reported by Leith Johnson.
18347 (verilog-module-inside-filename-p): Fix locating programs as with
18349 (verilog-auto-inst-port): Fix vl-width expressions when using
18350 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
18351 (verilog-decls-get-regs, verilog-decls-get-signals,
18352 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
18353 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
18354 verilog-read-decls): Combine reg and wire structures into one var
18355 structure to represent SystemVerilog concepts.
18356 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
18357 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
18358 (verilog-auto-wire-type, verilog-insert-definition):
18359 Add verilog-auto-wire-type and AUTOLOGIC to support using
18360 SystemVerilog "logic" keyword instead of "wire"/"reg".
18361 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
18362 to declares outputs that also have assignments (presumably in an
18363 ifdef or generate if so there's not a driver conflict).
18364 Reported by Matthew Myers.
18365 (verilog-auto-declare-nettype, verilog-insert-definition):
18366 Add verilog-auto-declare-nettype to fix declarations using
18367 `default_nettype none. Reported by Julian Gorfajn.
18368 (verilog-read-always-signals-recurse, verilog-read-decls)
18369 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
18370 malformed end statement, bug325. Reported by Joshua Wise and
18372 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
18373 (verilog-inst-comment-re): Fix not deleting Interfaced comment
18374 when expanding .* in interfaces, bug320.
18375 Reported by Pierre-David Pfister.
18376 (verilog-read-module-name): Fix import statements between module
18377 name and open parenthesis, bug317.
18378 Reported by Pierre-David Pfister.
18379 (verilog-simplify-range-expression): Fix simplification of
18380 multiplications inside AUTOWIRE connections, bug303.
18381 (verilog-auto-inst-port): Support parameter expansion in
18382 multidimensional arrays.
18383 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
18384 after "assert property". Reported by Julian Gorfajn.
18385 (verilog-simplify-range-expression): Fix "couldn't merge" errors
18386 with multiplication, bug303.
18387 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
18388 Reported by Jan Frode Lonnum.
18390 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
18392 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
18393 (hfy-shell-file-name, hfy-shell):
18394 * international/fontset.el (x-decompose-font-name): Fix typos.
18396 2011-11-29 Ken Brown <kbrown@cornell.edu>
18398 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
18399 (gdb-version): Remove defvar.
18400 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
18401 (gdb-gud-context-command, gdb-non-stop-handler)
18402 (gdb-current-context-command, gdb-stopped): Use it.
18403 (gdb-init-1): Enable pretty printing here.
18404 (gdb-non-stop-handler): Don't enable pretty-printing here.
18405 Check to see if the target supports non-stop mode; if not, turn off
18406 non-stop mode. Use the following.
18407 (gdb-check-target-async): New defun.
18408 (gud-watch, gdb-stopped): Fix whitespace.
18409 (gdb-get-source-file): Don't try to display the source file if
18410 `gdb-main-file' is nil.
18412 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18414 * align.el: Try to generate fewer markers (bug#10047).
18415 (align--set-marker): New macro.
18416 (align-region): Use it.
18418 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18420 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
18422 2011-11-29 Chong Yidong <cyd@gnu.org>
18424 * indent.el (indent-for-tab-command, indent-according-to-mode):
18426 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
18428 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
18430 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
18431 aware of remote file names. (Bug#10124)
18433 2011-11-29 Chong Yidong <cyd@gnu.org>
18435 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
18437 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
18439 * files.el (find-file): Don't use force-same-window (bug#10144).
18440 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
18441 use pop-to-buffer if the selected window can't be used.
18442 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
18444 2011-11-28 Eli Zaretskii <eliz@gnu.org>
18446 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
18449 2011-11-28 Chong Yidong <cyd@gnu.org>
18451 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
18453 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
18455 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
18456 gdb-get-source-file-list on gdb-create-source-file-list.
18458 2011-11-26 Eli Zaretskii <eliz@gnu.org>
18460 * whitespace.el (whitespace-newline): Use a different foreground
18461 color for 16-color light-background displays.
18463 2011-11-24 Chong Yidong <cyd@gnu.org>
18465 * window.el (display-buffer--special-action): Doc fix.
18467 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
18469 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
18470 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
18471 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
18472 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
18473 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
18474 (avl-tree-stack-first):
18475 * emacs-lisp/cconv.el (cconv--analyse-use):
18476 * net/gnutls.el (gnutls-negotiate): Fix typos.
18478 2011-11-24 Glenn Morris <rgm@gnu.org>
18480 * lpr.el (lpr-windows-system, lpr-lp-system):
18481 * mail/binhex.el (binhex-begin-line):
18482 * progmodes/grep.el (grep-history, grep-find-history):
18483 * textmodes/flyspell.el:
18484 * vc/pcvs-defs.el (cvs-global-menu):
18485 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
18486 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
18487 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
18489 * net/tls.el: Fix case of "GnuTLS".
18491 * paths.el (rmail-file-name): Format doc-string for make-docfile.
18493 * version.el (emacs-build-system): Give it a doc-string.
18495 2011-11-24 Juri Linkov <juri@jurta.org>
18497 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
18499 2011-11-24 Glenn Morris <rgm@gnu.org>
18501 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
18502 if called on a non-mime message just toggle the headers. (Bug#8006)
18504 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
18506 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
18507 (allout-lead-with-comment-string, allout-structure-deleted-hook)
18508 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
18509 (allout-rebullet-heading, allout-open-sibtopic)
18510 (allout-toggle-current-subtree-encryption)
18511 (allout-toggle-subtree-encryption, allout-encrypt-string)
18512 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
18513 (allout-distinctive-bullets-string, allout-auto-activation):
18514 * window.el (window-normalize-buffer-to-display):
18515 * progmodes/verilog-mode.el (verilog-batch-indent):
18516 * textmodes/bibtex.el (bibtex-field-braces-opt)
18517 (bibtex-field-strings-opt):
18518 * vc/cvs-status.el (cvs-tree-merge):
18521 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
18523 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
18524 `non-essential' to t, in order to avoid remote connections.
18526 2011-11-23 Eli Zaretskii <eliz@gnu.org>
18528 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18529 On MS-DOS and MS-Windows, compare with loaddefs.el
18530 case-insensitively.
18532 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18534 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
18536 2011-11-23 Glenn Morris <rgm@gnu.org>
18538 * paths.el (rmail-file-name): Reformat the doc-string so that it
18541 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
18542 (rmail-auto-file): Ignore case in the "special" field names,
18543 as mail-fetch-field does for all others.
18545 * mail/rmail.el (rmail-forward):
18546 * mail/rmailkwd.el (rmail-set-label):
18547 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
18548 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
18550 * mail/rmail.el (rmail-current-message): Doc fix.
18552 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
18554 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
18556 * server.el (server-eval-and-print): Allow C-g (bug#6585).
18558 2011-11-22 Glenn Morris <rgm@gnu.org>
18560 * mail/rmailmm.el (test-rmail-mime-handler)
18561 (test-rmail-mime-bulk-handler)
18562 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
18564 2011-11-21 Juri Linkov <juri@jurta.org>
18566 * calc/calc.el (calc-read-key-sequence):
18567 Let-bind `input-method-function' to nil. (Bug#10018)
18569 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18571 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
18572 Tell the caller that the next line needs recomputation, even
18573 though it doesn't start a sexp (bug#10094).
18575 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
18577 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
18579 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18581 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18582 Use force-same-window.
18584 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18586 * descr-text.el (describe-char-unicode-data):
18587 * json.el (json-string-escape):
18588 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
18589 (Footnote-unicode, Footnote-style-p):
18590 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
18592 2011-11-20 Chong Yidong <cyd@gnu.org>
18594 * window.el (replace-buffer-in-windows): Restore interactive spec.
18596 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18598 * electric.el (electric-indent-mode): Fix last change (too optimistic).
18600 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
18601 (byte-compile-global-not-obsolete-vars): New var.
18602 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
18604 (byte-compile-warn-obsolete): Align text with the one in *Help*.
18606 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18608 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
18609 * progmodes/pascal.el (electric-pascal-equal):
18610 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
18611 * xml.el (xml-substitute-special): Fix typos.
18613 2011-11-20 Glenn Morris <rgm@gnu.org>
18615 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
18616 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
18618 (rmail-decode-mime-charset): Mark as obsolete.
18620 * mail/rmailsum.el (rmail-message-regexp-p-1):
18621 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
18622 Before using mime functions, check they are set. (Bug#10077)
18624 2011-11-19 Juri Linkov <juri@jurta.org>
18626 * info.el (Info-finder-find-node): Use `package--builtins' instead
18627 of `package-alist'. Use node names formed by the pattern "Keyword "
18628 and the keyword name.
18630 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18632 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
18634 2011-11-19 Juri Linkov <juri@jurta.org>
18636 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
18637 that calls `revert-buffer' on all Info buffers. (Bug#9915)
18638 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
18639 `old-history', `old-history-forward'. Add let-binding
18640 `window-selected'. Remove calls to `kill-buffer',
18641 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
18642 before calling `Info-find-node', so `Info-find-node-2' will reread
18643 the Info file. Restore window positions only when `window-selected'
18646 2011-11-19 Juri Linkov <juri@jurta.org>
18648 * isearch.el (isearch-lazy-highlight-new-loop):
18649 Remove condition `(not isearch-error)'. (Bug#9918)
18651 * misearch.el (multi-isearch-search-fun): Add condition
18652 `(not bound)' to ignore lazy-highlighting search.
18653 Add the search-failed message "end of multi" when the end of
18654 multi-sequence is reached. Uncapitalize the search-failed
18655 message "Repeat for next buffer".
18657 * info.el (Info-search): Add the search-failed message
18658 "end of the manual" when the end of the manual is reached
18661 2011-11-19 Juri Linkov <juri@jurta.org>
18663 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
18664 Use non-destructive `remove' instead of `delete' because
18665 `Info-history-list' stored to `Info-isearch-initial-history-list' in
18666 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
18668 2011-11-19 Juri Linkov <juri@jurta.org>
18670 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
18671 to nil instead of binding `search-ring' and `regexp-search-ring'.
18674 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18676 * simple.el (line-move): Force movement by logical lines for any
18677 hscrolled window, not only when auto-hscroll-mode is on.
18678 (line-move-visual): Update doc string to that effect. (Bug#10076)
18680 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18682 * language/european.el (macintosh): Define as alias for mac-roman.
18684 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18686 * mail/rmailmm.el (rmail-mime-display-header)
18687 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
18688 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
18689 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
18690 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
18691 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
18693 (rmail-mime-entity-segment): To get past the tagline, move forward
18694 2 more lines, to account for the 2 empty lines that precede and
18695 follow the line with the buttons.
18696 (rmail-mime-update-tagline): Move one more line, to get past the
18697 empty line that follows the buttons in the tagline. (Bug#9520)
18699 2011-11-19 Martin Rudalics <rudalics@gmx.at>
18701 * window.el (window-max-delta-1, window-min-delta-1)
18702 (window-min-size-1, window-state-get-1, window-state-put-1)
18703 (window-state-put-2): Use "window--" prefix.
18705 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
18707 * emacs-lisp/smie.el: Improve warnings and conflict detection.
18708 (smie-warning-count): New var.
18709 (smie-set-prec2tab): Use it.
18710 (smie-bnf->prec2): Improve warnings. Add docstring.
18711 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
18712 (smie-bnf--set-class): New function.
18713 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
18716 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
18717 (compilation-error-properties, compilation-move-to-column):
18718 Handle compilation-first-column while in the target buffer.
18720 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
18721 Don't hardcode point-min==1.
18723 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
18724 (eshell-rewrite-for-command): Remove workaround.
18725 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
18726 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
18727 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
18729 * files-x.el (modify-file-local-variable): Obey commenting conventions.
18731 2011-11-17 Glenn Morris <rgm@gnu.org>
18733 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18734 Ignore buffer-local generated-autoload-file if it is the same
18735 as the global value. (Bug#10049)
18737 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
18739 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
18740 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
18741 (reftex-toc-previous-heading, reftex-toc-max-level)
18742 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
18743 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
18744 (reftex-toc-do-promote, reftex-toc-promote-prepare)
18745 (reftex-toc-promote-action, reftex-toc-extract-section-number)
18746 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
18747 (reftex-toc-rename-label, reftex-toc-visit-location)
18748 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
18749 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
18750 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
18751 leaving "*toc*" only for references to the buffer.
18753 2011-11-17 Martin Rudalics <rudalics@gmx.at>
18755 * window.el (window-resize, delete-window, split-window):
18756 Replace window-splits by window-combination-resize.
18757 * cus-start.el (window-splits): Replace by window-combination-resize.
18759 2011-11-17 Glenn Morris <rgm@gnu.org>
18761 * progmodes/sh-script.el (sh-font-lock-keywords-var):
18762 Make bash entry derive from sh entry, not shell entry.
18764 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
18766 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
18769 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18771 * menu-bar.el (menu-bar-file-menu):
18772 * printing.el (pr-ps-utility):
18773 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
18774 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
18775 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
18776 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
18777 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
18778 (icalendar--convert-cyclic-to-ical)
18779 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
18780 (icalendar--convert-ical-to-diary)
18781 (icalendar--convert-recurring-to-diary)
18782 (icalendar--convert-non-recurring-all-day-to-diary)
18783 (icalendar-import-format-sample):
18784 * progmodes/idlw-shell.el (idlwave-shell-mode):
18785 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
18786 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
18787 (vhdl-ps-print-init): Fix typos.
18789 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
18791 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
18792 FSF and collapse date sequence, obscure author/maintainer email address
18793 better, remove extra version line, track relocation of author's webpage.
18795 * progmodes/python.el (python-pdbtrack-input-prompt)
18796 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
18797 regular python pdb prompts. Adjustments shamelessly taken exactly as
18798 suggested in EmacsWiki page (tiny change):
18799 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
18801 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18803 * expand.el (expand-pos, expand-index, expand-point):
18804 Remove redundant info from docstring.
18805 (expand-add-abbrevs): Doc fix.
18806 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
18807 (expand-sample-perl-mode-expand-list): Fix typos.
18809 * net/dbus.el (dbus-event-member-name):
18810 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
18811 * term/pc-win.el (msdos-create-frame-with-faces):
18812 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
18814 2011-11-16 Martin Rudalics <rudalics@gmx.at>
18816 * window.el (split-window, window-state-get-1)
18817 (window-state-put-1, window-state-put-2): Rename occurrences of
18818 window-nest to window-combination-limit.
18819 * cus-start.el (window-nest): Rename to window-combination-limit.
18821 2011-11-16 Chong Yidong <cyd@gnu.org>
18823 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
18824 regexp (Bug#10033).
18826 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
18828 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
18829 `completing-read' will remove *Completions* and will preserve
18830 current-buffer for us.
18831 (tmm-add-prompt): Users of *Completions* will always (re)set its
18833 (tmm-old-comp-map): Remove.
18835 2011-11-16 Glenn Morris <rgm@gnu.org>
18837 * mail/rmailedit.el: Require rmailmm when compiling.
18838 (rmail-old-mime-state): New declaration.
18839 (rmail-edit-current-message): If editing a mime message,
18840 edit the "raw" message from the mbox buffer.
18841 (rmail-cease-edit): Handle mime messages. (Bug#9840)
18843 2011-11-15 Glenn Morris <rgm@gnu.org>
18845 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
18846 which wasn't being used. Add optional arg to force given state.
18847 (rmail-mime): Add optional arg to force given state.
18849 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
18851 * allout.el (allout-encryption-plaintext-sanitization-regexps):
18852 * frame.el (display-mm-dimensions-alist):
18853 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
18854 (outline-move-subtree-down):
18855 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
18856 (newsticker--treeview-do-get-node):
18857 * net/quickurl.el (quickurl-list-buffer-name):
18858 * progmodes/dcl-mode.el (dcl-mode):
18859 * progmodes/gdb-mi.el (gdb-mapcar*):
18860 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
18862 2011-11-15 Glenn Morris <rgm@gnu.org>
18864 * mail/rmail.el (rmail-file-coding-system): It's only ever used
18865 in a boolean sense, so just make it a boolean, and fix the doc.
18866 (rmail-show-mime-function, rmail-mime-feature)
18867 (rmail-require-mime-maybe): Doc fixes.
18868 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
18870 * mail/rmailmm.el (rmail-show-mime): Doc fix.
18872 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
18874 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
18875 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
18876 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
18877 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
18879 2011-11-15 Glenn Morris <rgm@gnu.org>
18881 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
18882 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
18883 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
18884 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
18885 (rmail-mime, rmail-show-mime): Doc fixes.
18887 * term/ns-win.el (mode-line-frame-identification):
18888 Leave it alone. (Bug#10051)
18890 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
18892 * mail/rmailout.el (rmail-output-to-rmail-buffer):
18893 Handle empty buffers. (Bug#9978)
18895 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
18897 * international/mule.el (define-charset):
18898 * mail/rmailmm.el (rmail-mime-find-header-encoding):
18899 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
18900 * progmodes/verilog-mode.el (verilog-backward-token):
18901 * textmodes/ispell.el (lookup-words):
18902 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
18904 2011-11-14 Glenn Morris <rgm@gnu.org>
18906 * progmodes/executable.el
18907 (executable-make-buffer-file-executable-if-script-p):
18908 Handle file-modes returning nil.
18910 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
18911 message - not necessary, and causes problems. (Bug#9831)
18913 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
18915 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
18917 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
18918 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
18919 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
18921 2011-11-12 Martin Rudalics <rudalics@gmx.at>
18923 * window.el (window-resize, delete-window): Use window-splits
18924 variable instead of function.
18925 (window-state-get-1, window-state-put-2, window-state-put):
18926 Don't deal with windows' splits status.
18928 2011-11-12 Glenn Morris <rgm@gnu.org>
18930 * apropos.el (apropos-do-all, apropos-library, apropos-value)
18931 (apropos-documentation): Doc fixes.
18933 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
18935 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
18936 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
18938 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
18940 * electric.el (electric-indent-post-self-insert-function): Make it
18941 possible for a char to only indent in some circumstances.
18942 (electric-indent-mode): Simplify.
18944 2011-11-11 Martin Rudalics <rudalics@gmx.at>
18946 * window.el (windows-with-parameter): Remove unused function.
18947 (windows-at-side): Rename to window-at-side-list.
18948 (window-check, window-atom-check, window-atom-check-1)
18949 (window-side-check, window-size-ignore, window-size-fixed-1)
18950 (window-in-direction-2): Prefix with "window--".
18951 (window-tree-1): Rename to window--subtree, fix doc-string.
18953 2011-11-11 Glenn Morris <rgm@gnu.org>
18955 * subr.el (eval-after-load): If FILE is already loaded,
18956 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
18958 2011-11-10 Glenn Morris <rgm@gnu.org>
18960 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
18961 Call svn via vc-svn-command rather than vc-do-command.
18962 (vc-svn-command): Add --non-interactive. (Bug#9993)
18963 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
18965 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18966 Add toggle-read-only. (Bug#7292)
18967 * files.el (toggle-read-only): Mention that it should only
18968 be used interactively. (Bug#10006)
18970 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
18972 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18973 Adjust regexp for OCaml warnings.
18975 * electric.el (electric-pair-post-self-insert-function): Let user
18976 turn it off buffer-locally (bug#9932).
18978 * progmodes/python.el (python-beginning-of-statement):
18979 Rewrite (bug#2703).
18981 * progmodes/compile.el: Better handle TABs (bug#9749).
18982 (compilation-internal-error-properties)
18983 (compilation-next-error-function): Obey the target buffer's
18984 compilation-error-screen-columns.
18986 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
18988 * progmodes/meta-mode.el: Remove obsolete comments.
18989 (meta-right-comment-regexp, meta-ignore-comment-regexp):
18990 Fix typos in docstrings.
18992 2011-11-09 Martin Rudalics <rudalics@gmx.at>
18994 * window.el (window-size-fixed-p): Rewrite doc-string.
18995 (window-resizable-p): Rename to window--resizable-p. Update callers.
18996 (window--resizable): New function. Make all callers of
18997 window-resizable call window--resizable instead.
18998 (window-resizable): Rewrite in terms of window--resizable.
19000 2011-11-08 Glenn Morris <rgm@gnu.org>
19002 * progmodes/delphi.el (delphi-mode-syntax-table):
19003 Let define-derived-mode define a proper syntax table. (Bug#9994)
19005 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19007 * window.el: Stay away from defsubst.
19008 (window-list-no-nils): Remove.
19009 (window-state-get-1, window-state-get): Use backquote instead.
19011 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19013 * emacs-lisp/find-func.el (find-function-read):
19014 Fix incorrect use of default argument in `completing-read'.
19016 2011-11-08 Martin Rudalics <rudalics@gmx.at>
19018 * window.el (display-buffer-function, special-display-function):
19019 Mention display-buffer-record-window but do not mention
19020 help-setup parameter in doc-strings.
19021 (window-min-delta): Fix doc-string typo.
19023 2011-11-08 Chong Yidong <cyd@gnu.org>
19025 * window.el (window-total-height, window-total-width): Doc fix.
19026 (window-body-size): Move from C.
19027 (window-body-height, window-body-width): Move to C.
19029 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19031 * window.el: Make special-display like display-buffer-alist (bug#9532).
19032 (display-buffer--special-action): New function, morphed
19033 from display-buffer--special.
19034 (display-buffer): Use it to handle special-display-buffers at higher
19035 priority (just after display-buffer-alist).
19036 (display-buffer-fallback-action, display-buffer--other-frame-action)
19037 (pop-to-buffer-same-window): Remove display-buffer--special.
19039 2011-11-07 Glenn Morris <rgm@gnu.org>
19041 * calendar/cal-menu.el (cal-menu-set-date-title):
19042 Do nothing if not in a calendar. (Bug#9976)
19044 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
19046 * files.el (find-file): Always use selected-window.
19048 2011-11-07 Martin Rudalics <rudalics@gmx.at>
19050 * window.el (window-combinations): Make WINDOW argument
19051 mandatory. Rewrite doc-string.
19052 (walk-window-subtree, window-atom-check, window-min-delta)
19053 (window-max-delta, window--resize-this-window)
19054 (window--resize-root-window-vertically, window-tree)
19055 (balance-windows, window-state-put): Rewrite doc-strings as to
19056 not mention the term "subwindow".
19057 (window--resize-subwindows-skip-p): Rename to
19058 window--resize-child-windows-skip-p.
19059 (window--resize-subwindows-normal): Rename to
19060 window--resize-child-windows-normal.
19061 (window--resize-subwindows): Rename to
19062 window--resize-child-windows.
19063 (window-or-subwindow-p): Rename to window--in-subtree-p.
19065 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19067 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
19068 Ensure that mbox format messages end in two newlines (Bug#9974).
19070 2011-11-06 Chong Yidong <cyd@gnu.org>
19072 * window.el (window-combination-p): Function deleted; its
19073 side-effect is not used in any existing code.
19074 (window-combinations, window-combined-p): Call window-*-child
19077 2011-11-05 Chong Yidong <cyd@gnu.org>
19079 * window.el (window-valid-p): Rename from window-any-p.
19080 (window-size-ignore, window-state-get): Callers changed.
19081 (window-normalize-window): Rename from window-normalize-any-window.
19082 New arg LIVE-ONLY, replacing window-normalize-live-window.
19083 (window-normalize-live-window): Delete.
19084 (window-combination-p, window-combined-p, window-combinations)
19085 (walk-window-subtree, window-atom-root, window-min-size)
19086 (window-sizable, window-sizable-p, window-size-fixed-p)
19087 (window-min-delta, window-max-delta, window-resizable)
19088 (window-resizable-p, window-full-height-p, window-full-width-p)
19089 (window-current-scroll-bars, window-point-1, set-window-point-1)
19090 (window-at-side-p, window-in-direction, window-resize)
19091 (adjust-window-trailing-edge, maximize-window, minimize-window)
19092 (window-deletable-p, delete-window, delete-other-windows)
19093 (record-window-buffer, unrecord-window-buffer)
19094 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
19095 (quit-window, split-window, window-state-put)
19096 (set-window-text-height, fit-window-to-buffer)
19097 (shrink-window-if-larger-than-buffer): Callers changed.
19099 2011-11-04 Eli Zaretskii <eliz@gnu.org>
19101 * mail/rmail.el (rmail-simplified-subject): Decode subject with
19102 rfc2047-decode-string.
19103 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
19106 * window.el (window-body-height, window-body-width): Mention in
19107 the doc string that the return values are in frame's canonical
19110 2011-11-03 Alan Mackenzie <acm@muc.de>
19112 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
19113 change in cc-engine.el.
19115 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
19117 * window.el (switch-to-buffer): Use `force-same-window' interactively.
19119 2011-11-02 Martin Rudalics <rudalics@gmx.at>
19121 * window.el (quit-window): Call unrecord-window-buffer after
19122 showing another buffer in the window. (Bug#9937)
19123 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
19125 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
19127 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
19128 Accept status with more than 9 shelves. (Bug#9935)
19129 Reported by Colin D Bennett <colin@gibibit.com>.
19131 2011-11-01 Martin Rudalics <rudalics@gmx.at>
19133 * help.el (with-help-window): Don't reference
19134 temp-buffer-show-specifiers in doc-string.
19136 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
19138 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
19141 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19143 * whitespace.el: New version 13.2.2.
19144 (whitespace-newline-mode): Disable properly. Reported by Sarah
19147 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
19149 * net/newst-treeview.el: Remove "Time-stamp".
19150 (newsticker--group-manage-orphan-feeds): Do not call
19151 newsticker--treeview-tree-update.
19152 (newsticker-treeview-update, newsticker-treeview):
19153 Call newsticker--treeview-tree-update if necessary.
19155 2011-10-30 Martin Rudalics <rudalics@gmx.at>
19157 * window.el (window-iso-combination-p, window-iso-combined-p)
19158 (window-iso-combinations): Remove "iso-" infix.
19159 Suggested by Chong Yidong.
19160 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
19161 (window-max-delta-1, window-resize, window--resize-siblings)
19162 (window--resize-this-window, adjust-window-trailing-edge)
19163 (split-window, balance-windows-1)
19164 (shrink-window-if-larger-than-buffer):
19165 * calendar/calendar.el (calendar-generate-window):
19166 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
19168 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
19170 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
19171 in place (bug#9907).
19172 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
19173 (eshell-rewrite-if-command, eshell-rewrite-for-command)
19174 (eshell-structure-basic-command, eshell-rewrite-while-command)
19175 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
19176 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
19177 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
19178 (eshell-do-pipelines-synchronously, eshell-eval-command):
19179 Use backquotes and prefer setq to set.
19180 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
19181 (eshell-macrop): Use functionp.
19182 (eshell-do-eval): Handle multiple expressions in `while' body.
19184 2011-10-30 Chong Yidong <cyd@gnu.org>
19186 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
19187 instead of set-mark (Bug#9810).
19189 2011-10-30 Chong Yidong <cyd@gnu.org>
19191 * window.el (split-window-below, split-window-right): Rename from
19192 split-window-above-each-other and split-window-side-by-side
19193 respectively. All callers changed.
19194 (split-window-sensibly, split-window-sensibly): Use them.
19195 (split-window-keep-point): Doc fix.
19197 * isearch.el: Add isearch-scroll property to split-window-below
19198 and split-window-right.
19200 * follow.el (follow-mode):
19201 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19202 * progmodes/ada-xref.el (ada-gdb-application):
19203 * emulation/vip.el (vip-buffer-in-two-windows):
19204 * image-dired.el (image-dired-dired-with-window-configuration):
19205 * dired-x.el (dired-do-find-marked-files):
19206 * dired.el (dired-pop-to-buffer):
19207 * bs.el (bs--show-with-configuration):
19208 * vc/emerge.el (emerge-setup-windows):
19209 * textmodes/two-column.el (2C-two-columns):
19210 * textmodes/reftex-toc.el (reftex-toc):
19211 * progmodes/gdb-mi.el (gdb-setup-windows):
19212 * progmodes/fortran.el (fortran-window-create):
19213 * net/newst-treeview.el (newsticker--treeview-window-init):
19214 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
19215 * emulation/tpu-edt.el (tpu-gold-map):
19216 * emulation/crisp.el (crisp-mode-map):
19217 * calendar/calendar.el (calendar-basic-setup): Callers changed.
19219 2011-10-29 Chong Yidong <cyd@gnu.org>
19221 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
19223 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
19225 * textmodes/flyspell.el (flyspell-word): Fix char offset for
19226 forged Ispell output (Bug#7904).
19228 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
19230 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19232 * doc-view.el: Avoid ugly errors about not finding nil.
19233 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
19234 (doc-view-dvipdf-program, doc-view-unoconv-program)
19235 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
19236 Avoid nil or absolute file name as default value.
19237 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
19239 2011-10-28 Alan Mackenzie <acm@muc.de>
19241 * progmodes/cc-defs.el (c-version): -> 5.32.2.
19243 2011-10-28 Alan Mackenzie <acm@muc.de>
19245 Amend the handling of c-beginning/end-of-defun in nested declaration
19248 * progmodes/cc-vars.el (c-defun-tactic): Move here from
19249 cc-langs.el. Change it to a defcustom.
19251 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
19254 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19255 Prevent "class foo : bar" being spuriously recognized as a label.
19257 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
19258 Add parameter `inclusive' (to include enclosing braces in the region).
19259 (c-widen-to-enclosing-decl-scope): New function.
19260 (c-while-widening-to-decl-block): New macro.
19261 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
19262 outward for defun boundaries, and correspondingly change symbol
19263 `respect-enclosure' to `go-outward'.
19264 (c-declaration-limits): Change algorithm to report only the "innermost"
19265 defun's boundaries.
19267 2011-10-28 Deniz Dogan <deniz@dogan.se>
19269 * net/rcirc.el (rcirc-mode): Use hard newlines.
19271 2011-10-28 Alan Mackenzie <acm@muc.de>
19273 Amend to indent and fontify macros "which include their own semicolon"
19274 correctly, using the "virtual semicolon" mechanism.
19276 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
19278 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
19279 Recode to scan one line at a time rather than having \n and \r
19280 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
19281 (c-forward-label): Amend for virtual semicolons.
19282 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
19284 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
19285 of the new C macros.
19287 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
19288 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
19289 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
19290 (c-opt-cpp-macro-define): Make into a full language variable.
19291 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
19292 AWK Mode (including \n, \r) removed, no longer needed.
19294 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
19295 Invoke c-make-macro-with-semi-re.
19297 * progmodes/cc-vars.el (c-macro-with-semi-re):
19298 (c-macro-names-with-semicolon): New variables.
19299 (c-make-macro-with-semi-re): New function.
19301 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19303 * vc/log-edit.el: Fill empty field rather than adding new one.
19304 (log-edit-add-field): New function.
19305 (log-edit-insert-changelog): Use it.
19307 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19309 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
19311 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19313 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
19314 (gdb--check-interpreter): New function.
19317 2011-10-27 Glenn Morris <rgm@gnu.org>
19319 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
19320 (least-positive-float, least-negative-float)
19321 (least-positive-normalized-float, least-negative-normalized-float)
19322 (float-epsilon, float-negative-epsilon):
19323 Remove unnecessary declarations.
19325 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
19326 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
19327 (least-positive-float, least-negative-float)
19328 (least-positive-normalized-float, least-negative-normalized-float)
19329 (float-epsilon, float-negative-epsilon): Add doc-strings,
19330 based on those in cl.texi.
19332 * files.el (set-visited-file-name): If the major-mode changed,
19333 reload the local variables. (Bug#9796)
19335 2011-10-27 Chong Yidong <cyd@gnu.org>
19337 * subr.el (change-major-mode-after-body-hook): New hook.
19338 (run-mode-hooks): Run it.
19340 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19341 Use change-major-mode-before-body-hook.
19343 * simple.el (fundamental-mode):
19344 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
19345 change introducing fundamental-mode-hook.
19347 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
19349 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
19351 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
19353 * ido.el (ido-file-name-all-completions-1): Do not require
19354 tramp.el explicitly. (Bug#7583)
19356 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
19358 * progmodes/octave-mod.el:
19359 * progmodes/octave-inf.el: Update maintainer.
19361 2011-10-26 Chong Yidong <cyd@gnu.org>
19363 * subr.el (with-wrapper-hook): Rewrite doc.
19365 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
19367 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
19368 filenames "/method:foo:". (Bug#9793)
19370 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
19372 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
19375 2011-10-24 Glenn Morris <rgm@gnu.org>
19377 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
19379 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
19381 * notifications.el: Add the requirement of a running D-Bus session
19382 bus to the Commentary.
19384 2011-10-24 Juri Linkov <juri@jurta.org>
19386 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19387 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
19390 2011-10-24 Juri Linkov <juri@jurta.org>
19392 * info.el (Info-following-node-name-re): Add newline to the list
19393 of allowed characters for leading space. (Bug#9824)
19395 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
19397 * progmodes/octave-inf.el (inferior-octave-mode-map):
19398 Fix C-c C-h binding.
19399 * progmodes/octave-mod.el (octave-help): Remove.
19401 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
19403 Sync with Tramp 2.2.3.
19405 * net/tramp-cache.el (top): Pacify byte-compiler using
19406 `init-file-user' and `site-run-file'.
19408 * net/trampver.el: Update release number.
19410 2011-10-23 Chong Yidong <cyd@gnu.org>
19412 * files.el (toggle-read-only): Remove obsolete comment about
19415 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
19416 for toggle-read-only. Note that this hasn't called vc-next-action
19417 since 2008-05-02, though it wasn't documented at the time.
19419 * vc/ediff-init.el (ediff-toggle-read-only-function):
19420 Use toggle-read-only.
19422 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
19424 Fix bug #9560, sporadic wrong indentation; improve instrumentation
19427 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
19428 correct faulty logical expression.
19429 (c-parse-state-state, c-record-parse-state-state):
19430 (c-replay-parse-state-state): New defvar/defuns.
19431 (c-debug-parse-state): Use new functions.
19433 2011-10-22 Martin Rudalics <rudalics@gmx.at>
19435 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
19436 last fix. Use window-in-direction correctly.
19438 2011-10-21 Chong Yidong <cyd@gnu.org>
19440 * progmodes/idlwave.el (idlwave-mode):
19441 * progmodes/vera-mode.el (vera-mode): No need to set
19442 require-final-newline; that's done in prog-mode.
19443 Suggested by Stefan Monnier.
19445 2011-10-21 Martin Rudalics <rudalics@gmx.at>
19447 * mouse.el (mouse-drag-window-above)
19448 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
19449 (mouse-drag-mode-line-1, mouse-drag-header-line)
19450 (mouse-drag-vertical-line-rightward-window): Remove.
19451 (mouse-drag-line): New function.
19452 (mouse-drag-mode-line, mouse-drag-header-line)
19453 (mouse-drag-vertical-line): Call mouse-drag-line.
19454 * window.el (window-at-side-p, windows-at-side): New functions.
19456 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
19458 * tar-mode.el (tar-grind-file-mode):
19459 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
19461 2011-10-21 Chong Yidong <cyd@gnu.org>
19463 * progmodes/idlwave.el (idlwave-mode):
19464 * progmodes/vera-mode.el (vera-mode):
19465 Use mode-require-final-newline.
19467 2011-10-20 Glenn Morris <rgm@gnu.org>
19469 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
19471 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
19473 * emulation/cua-base.el (cua-set-mark): Fix case of string.
19475 2011-10-20 Chong Yidong <cyd@gnu.org>
19477 * emulation/cua-base.el (cua-mode):
19478 * mail/footnote.el (footnote-mode):
19479 * mail/mailabbrev.el (mail-abbrevs-mode):
19480 * net/xesam.el (xesam-minor-mode):
19481 * progmodes/bug-reference.el (bug-reference-mode):
19482 * progmodes/cap-words.el (capitalized-words-mode):
19483 * progmodes/compile.el (compilation-minor-mode)
19484 (compilation-shell-minor-mode):
19485 * progmodes/gud.el (gud-tooltip-mode):
19486 * progmodes/hideif.el (hide-ifdef-mode):
19487 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
19488 * progmodes/subword.el (subword-mode):
19489 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
19490 * progmodes/which-func.el (which-function-mode):
19491 * term/tvi970.el (tvi970-set-keypad-mode):
19492 * term/vt100.el (vt100-wide-mode):
19493 * textmodes/flyspell.el (flyspell-mode):
19494 * textmodes/ispell.el (ispell-minor-mode):
19495 * textmodes/nroff-mode.el (nroff-electric-mode):
19496 * textmodes/paragraphs.el (use-hard-newlines):
19497 * textmodes/refill.el (refill-mode):
19498 * textmodes/reftex.el (reftex-mode):
19499 * textmodes/rst.el (rst-minor-mode):
19500 * textmodes/sgml-mode.el (html-autoview-mode)
19501 (sgml-electric-tag-pair-mode):
19502 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
19503 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
19504 * emulation/crisp.el (crisp-mode):
19505 * emacs-lisp/eldoc.el (eldoc-mode):
19506 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
19507 minor mode behavior.
19509 2011-10-19 Juri Linkov <juri@jurta.org>
19511 * descr-text.el (describe-char): Add #x2010 and #x2011 to
19512 the list of hard-coded chars with escape-glyph face.
19514 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
19516 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
19518 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
19520 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
19523 2011-10-19 Glenn Morris <rgm@gnu.org>
19525 * vc/vc-bzr.el (vc-bzr-after-dir-status):
19526 Ignore ignored files. (Bug#9726)
19528 2011-10-19 Chong Yidong <cyd@gnu.org>
19530 Doc fix for minor modes, stating that an omitted argument enables
19531 the mode unconditionally when called from Lisp.
19533 * abbrev.el (abbrev-mode):
19534 * allout.el (allout-mode):
19535 * autoinsert.el (auto-insert-mode):
19536 * autoarg.el (autoarg-mode, autoarg-kp-mode):
19537 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
19538 (global-auto-revert-mode):
19539 * battery.el (display-battery-mode):
19540 * composite.el (global-auto-composition-mode)
19541 (auto-composition-mode):
19542 * delsel.el (delete-selection-mode):
19543 * desktop.el (desktop-save-mode):
19544 * dired-x.el (dired-omit-mode):
19545 * dirtrack.el (dirtrack-mode):
19546 * doc-view.el (doc-view-minor-mode):
19547 * double.el (double-mode):
19548 * electric.el (electric-indent-mode, electric-pair-mode):
19549 * emacs-lock.el (emacs-lock-mode):
19550 * epa-hook.el (auto-encryption-mode):
19551 * follow.el (follow-mode):
19552 * font-core.el (font-lock-mode):
19553 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
19554 * help.el (temp-buffer-resize-mode):
19555 * hilit-chg.el (highlight-changes-mode)
19556 (highlight-changes-visible-mode):
19557 * hi-lock.el (hi-lock-mode):
19558 * hl-line.el (hl-line-mode, global-hl-line-mode):
19559 * icomplete.el (icomplete-mode):
19560 * ido.el (ido-everywhere):
19561 * image-file.el (auto-image-file-mode):
19562 * image-mode.el (image-minor-mode):
19563 * iswitchb.el (iswitchb-mode):
19564 * jka-cmpr-hook.el (auto-compression-mode):
19565 * linum.el (linum-mode):
19566 * longlines.el (longlines-mode):
19567 * master.el (master-mode):
19568 * mb-depth.el (minibuffer-depth-indicate-mode):
19569 * menu-bar.el (menu-bar-mode):
19570 * minibuf-eldef.el (minibuffer-electric-default-mode):
19571 * mouse-sel.el (mouse-sel-mode):
19572 * msb.el (msb-mode):
19573 * mwheel.el (mouse-wheel-mode):
19574 * outline.el (outline-minor-mode):
19575 * paren.el (show-paren-mode):
19576 * recentf.el (recentf-mode):
19577 * reveal.el (reveal-mode, global-reveal-mode):
19578 * rfn-eshadow.el (file-name-shadow-mode):
19579 * ruler-mode.el (ruler-mode):
19580 * savehist.el (savehist-mode):
19581 * scroll-all.el (scroll-all-mode):
19582 * scroll-bar.el (scroll-bar-mode):
19583 * server.el (server-mode):
19584 * shell.el (shell-dirtrack-mode):
19585 * simple.el (auto-fill-mode, transient-mark-mode)
19586 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
19587 (line-number-mode, column-number-mode, size-indication-mode)
19588 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
19589 * strokes.el (strokes-mode):
19590 * time.el (display-time-mode):
19591 * t-mouse.el (gpm-mouse-mode):
19592 * tool-bar.el (tool-bar-mode):
19593 * tooltip.el (tooltip-mode):
19594 * type-break.el (type-break-mode-line-message-mode)
19595 (type-break-query-mode):
19596 * view.el (view-mode):
19597 * whitespace.el (whitespace-mode, whitespace-newline-mode)
19598 (global-whitespace-mode, global-whitespace-newline-mode):
19599 * xt-mouse.el (xterm-mouse-mode): Doc fix.
19601 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19602 Fix autogenerated docstring.
19604 2011-10-19 Juri Linkov <juri@jurta.org>
19606 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
19607 by checking environment variables "DESKTOP_SESSION" and
19608 "XDG_CURRENT_DESKTOP". (Bug#9779)
19610 2011-10-19 Juri Linkov <juri@jurta.org>
19612 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
19613 (browse-url-chromium-program, browse-url-chromium-arguments):
19615 (browse-url-default-browser): Check for `browse-url-chromium' and
19616 call `browse-url-chromium-program'.
19617 (browse-url-chromium): New command. (Bug#9779)
19619 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
19621 * facemenu.el (list-colors-duplicates): On Windows, detect more
19622 duplicates by assuming that only colors matching "^System" are
19623 special "system colors". (Bug#9722)
19625 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
19627 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
19628 to distinguish the author from the committer.
19630 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
19632 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
19634 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
19636 * international/mule.el (sgml-html-meta-auto-coding-function):
19637 Add support for detecting encoding in HTML5 specified only as
19638 <meta charset="UTF-8">. Implementation just makes http-equiv and
19639 content-type parts from HTML4 encoding string optional. (Bug#9716)
19641 2011-10-18 Glenn Morris <rgm@gnu.org>
19643 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
19645 2011-10-18 Chong Yidong <cyd@gnu.org>
19647 * faces.el (cursor): Doc fix.
19649 2011-10-17 Chong Yidong <cyd@gnu.org>
19651 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
19653 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
19655 * dirtrack.el (dirtrack): Support shell buffers with path
19656 prefixes, e.g. tramp-based remote shells. (Bug#9647)
19658 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
19660 * json.el: Bump version to 1.3 and note change in History.
19661 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
19663 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
19665 * comint.el (comint-insert-input, comint-send-input)
19666 (comint-get-old-input-default, comint-backward-matching-input)
19667 (comint-next-prompt): Use nil instead of `input' for field property of
19668 past user input (bug#114).
19670 * minibuffer.el (completion--replace): Inherit surrounding properties
19672 (minibuffer-complete-and-exit): Use it.
19674 * comint.el (comint--table-subvert): Quote the all-completions output
19677 2011-10-17 Martin Rudalics <rudalics@gmx.at>
19679 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
19681 * menu-bar.el (menu-bar-file-menu): Add entry for making new
19682 window on right of selected. (Bug#9350) Reword other window
19683 entries and separate them from frame entries.
19685 2011-10-15 Glenn Morris <rgm@gnu.org>
19687 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
19690 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
19692 * net/network-stream.el (network-stream-open-starttls):
19693 Improve detection of failure due to lack of TLS support.
19695 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
19696 putting the input text in front and in bold.
19698 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
19700 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
19702 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
19705 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
19706 unread-command-events rather than pushing yet-another event.
19708 2011-10-14 Eli Zaretskii <eliz@gnu.org>
19710 * mail/sendmail.el (sendmail-query-once): Improve the wording of
19711 the explanation of the possible choices. Make the options passed
19712 to completing-read shorter.
19714 2011-10-13 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
19716 * textmodes/flyspell.el (flyspell-large-region): Make sure
19717 extended character mode is used if defined (Bug#1339).
19719 2011-10-13 Eli Zaretskii <eliz@gnu.org>
19721 * simple.el (what-cursor-position): Fix the display of the
19722 character info for LRE, LRO, RLE, and RLO characters by appending
19725 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
19727 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
19728 even in case of error; add debug spec; simplify data flow.
19729 (with-timeout-handler): Remove.
19731 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
19733 Fix Bug#6019, Bug#9315.
19735 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
19736 complete `buffer-file-name', the local file name part could look
19737 remotely (for example on VMS).
19739 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
19740 `tramp-run-real-handler'.
19741 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
19742 already quoted by '"'.
19744 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
19745 Let `file-name-handler-alist' be nil, the local file name part
19746 could look remotely (for example on VMS).
19748 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
19750 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
19752 (flyspell-post-command-hook): ...to here.
19754 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19756 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
19758 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
19759 using completion. Protect against "slow" callers.
19760 Remove the "message hack".
19762 2011-10-11 Juri Linkov <juri@jurta.org>
19764 * isearch.el (isearch-lazy-highlight-word): New variable.
19765 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
19768 2011-10-11 Glenn Morris <rgm@gnu.org>
19770 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
19771 like f90-previous-statement does.
19773 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19775 * eshell/eshell.el (eshell-command): History should be saved
19776 only in interactive use, to avoid error.
19778 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19780 * minibuffer.el (completion-file-name-table): Fix last change,
19781 i.e. ignore normal errors but not the other ones.
19783 2011-10-10 Martin Rudalics <rudalics@gmx.at>
19785 * window.el (special-display-buffer-names)
19786 (special-display-regexps): Remove some remnants of earlier
19787 changes from doc-strings.
19788 (quit-windows-on): New function.
19790 * vc/vc.el (vc-revert, vc-rollback):
19791 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
19792 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
19793 (Bug#6183) (Bug#7074) (Bug#7447)
19795 2011-10-09 Martin Rudalics <rudalics@gmx.at>
19797 * window.el (frame-auto-hide-function): Add version tag.
19800 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
19802 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
19805 2011-10-09 Leo Liu <sdl.web@gmail.com>
19807 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
19810 2011-10-08 Glenn Morris <rgm@gnu.org>
19812 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
19813 before the first code statement zero indent. (Bug#9690)
19815 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
19817 * simple.el (count-words-region): Always count in the region.
19818 Report the number of lines and characters too.
19819 (count-words): New command, which counts in the buffer if the
19820 region is inactive, as count-words-region used to.
19821 (count-words--message): New function. Handle plurals.
19822 (count-lines-region): Make it an alias for count-words-region.
19824 * bindings.el (esc-map): Replace count-lines-region with
19825 count-words-region.
19827 2011-10-08 Martin Rudalics <rudalics@gmx.at>
19829 * window.el (window--delete): Delete dedicated frame
19830 unconditionally when argument KILL is non-nil. (Bug#9699)
19831 (switch-to-buffer): Fix doc-string typo.
19833 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19835 * eshell/eshell.el (eshell-command): Avoid using hooks.
19837 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
19839 * bindings.el ([M-left],[M-right]): Bind to left-word and
19840 right-word respectively.
19842 2011-10-07 Glenn Morris <rgm@gnu.org>
19844 * cus-start.el (debug-on-quit): Fix custom type.
19846 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19848 * subr.el (define-key-after): Clarify that the function is not
19849 useful for non-menu keymaps.
19851 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
19853 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19855 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
19856 in current minibuffer (Fix bug with recursive minibuffers).
19858 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
19860 * progmodes/gdb-mi.el (gdb): Doc fix.
19862 2011-10-05 Martin Rudalics <rudalics@gmx.at>
19864 * window.el (frame-auto-hide-function): New option replacing
19865 frame-auto-delete. Suggested by Stefan Monnier.
19866 (window--delete): Call frame-auto-hide-function instead of
19867 investigating frame-auto-delete.
19868 (window-point-1, set-window-point-1): New functions.
19869 (window-in-direction, record-window-buffer, window-state-get-1)
19870 (display-buffer-record-window): Use window-point-1 instead of
19872 (set-window-buffer-start-and-point): Use set-window-point-1.
19874 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19876 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
19878 2011-10-05 Glenn Morris <rgm@gnu.org>
19880 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
19881 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
19883 2011-10-05 Leo Liu <sdl.web@gmail.com>
19885 * subr.el (read-char-choice): Fix argument to buffer-live-p which
19886 works with buffer object.
19888 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19890 * mpc.el (mpc-tool-bar-map): Add labels.
19892 2011-10-04 Glenn Morris <rgm@gnu.org>
19894 * calendar/holidays.el (calendar-check-holidays): Doc fix.
19896 2011-10-04 Martin Rudalics <rudalics@gmx.at>
19898 * window.el (window--delete): New function.
19899 (frame-auto-delete): Resuscitate option.
19900 (bury-buffer, replace-buffer-in-windows)
19901 (quit-window): Rewrite using window--delete.
19902 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19903 Pass display-buffer-mark-dedicated to window--display-buffer-2
19906 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19908 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
19909 returns a list (bug#9554). Add remote file name completion.
19910 * comint.el (comint--table-subvert): Curry and get quote&unquote
19911 functions as arguments.
19912 (comint--complete-file-name-data): Adjust call accordingly.
19913 * pcomplete.el (pcomplete--table-subvert): Remove.
19914 (pcomplete-completions-at-point): Use comint--table-subvert instead.
19916 * minibuffer.el (completion-table-case-fold): Use currying.
19917 (completion--styles-type, completion--cycling-threshold-type):
19919 (completion-styles, completion-category-overrides)
19920 (completion-cycle-threshold): Use them.
19921 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
19922 completion-table-case-fold.
19924 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
19926 * minibuffer.el (completion-category-overrides): Fix type of styles
19927 and add more user friendly tags (bug#9660).
19929 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19931 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
19932 (mule-input-method-string): New widget.
19933 (default-input-method, language-info-custom-alist): Use it.
19935 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
19937 * pcomplete.el: Require comint.
19938 (pcomplete--common-suffix): Remove.
19939 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
19940 (pcomplete--table-subvert): Sync with comint--table-subvert.
19941 (pcomplete--entries): Use comint-completion-file-name-table.
19942 * comint.el (comint-unquote-filename): Simplify.
19943 (comint-completion-file-name-table): New function (bug#9616).
19944 (comint--complete-file-name-data): Use it.
19946 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
19947 (pcmpl-gnu-tar-buffer): Remove.
19948 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
19949 around. Make sure pcomplete-suffix-list is only changed temporarily.
19950 Don't look inside the tar's file if it's too large.
19952 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
19954 * cus-edit.el (custom-mode-map):
19955 * epa.el (epa-key-list-mode-map):
19956 * man.el (Man-mode-map):
19957 * startup.el (splash-screen-keymap):
19958 * simple.el (special-mode-map): Use scroll-up-command and
19959 scroll-down-command.
19961 * progmodes/idlw-help.el (idlwave-help-mode-map):
19962 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
19963 * net/newst-plainview.el (newsticker-mode-map):
19964 * emulation/ws-mode.el (wordstar-mode-map):
19965 * emulation/vi.el (vi-com-map):
19966 * calc/calc-graph.el (calc-graph-show-dumb):
19967 * term/sun.el (terminal-init-sun):
19968 * term/ns-win.el (global-map):
19969 * progmodes/grep.el (grep-mode-map):
19970 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
19971 * mail/rmail.el (rmail-mode-map):
19972 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
19974 * custom.el (custom-safe-themes, load-theme): Treat value of t for
19975 custom-safe-themes as special.
19977 2011-10-01 Julien Danjou <julien@danjou.info>
19979 * notifications.el (notifications-notify): Fix docstring.
19981 2011-10-01 Per Starbäck <per@starback.se>
19983 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
19985 2011-09-30 Martin Rudalics <rudalics@gmx.at>
19987 * startup.el (command-line-1): Fix last fix by inserting
19988 initial-scratch-message into *scratch* before displaying it.
19989 (Bug#9605) and (Bug#9636)
19991 2011-09-29 Eli Zaretskii <eliz@gnu.org>
19993 * simple.el (line-move): If auto-hscroll-mode is disabled and the
19994 window is hscrolled, move by logical lines. (Bug#9607)
19995 (line-move-visual): Update the doc string to the above effect.
19997 2011-09-29 Martin Rudalics <rudalics@gmx.at>
19999 * window.el (display-buffer-record-window): When WINDOW is the
20000 selected window use `point' instead of `window-point'. (Bug#9626)
20002 * startup.el (command-line-1): Use insert-before-markers when
20003 inserting initial-scratch-message. (Bug#9605)
20005 * help.el (help-window): Remove variable.
20007 2011-09-29 Glenn Morris <rgm@gnu.org>
20009 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
20011 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
20013 * descr-text.el (describe-char-categories): Accept category
20014 descriptions more than one line long.
20016 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
20018 * simple.el (delete-trailing-whitespace): Fix last change.
20020 * progmodes/perl-mode.el (perl-syntax-propertize-function):
20021 Don't confuse "y => 3" as the beginning of a `y' operation.
20023 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
20024 object has more than 4 slots (bug#9613).
20026 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
20028 * subr.el (with-output-to-temp-buffer):
20029 * net/quickurl.el (quickurl, quickurl-browse-url):
20030 Fix typos in docstrings.
20032 2011-09-27 Eli Zaretskii <eliz@gnu.org>
20034 * minibuffer.el (completion-styles)
20035 (completion-category-overrides): Cross reference each other in doc
20038 2011-09-27 Glenn Morris <rgm@gnu.org>
20040 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
20041 to split-string. (Bug#9606)
20043 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20045 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
20048 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
20050 * emacs-lisp/package.el (list-packages): Fix echo area message.
20052 2011-09-27 Leo Liu <sdl.web@gmail.com>
20054 * ido.el (ido-read-internal): Accept cons cell HIST arg.
20056 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
20058 * net/dbus.el (dbus-unregister-object): Don't release services for
20059 registered signals. (Bug#9581)
20061 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
20063 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
20064 function that picks between cfengine 2 and 3 support
20065 automatically. Update docs accordingly.
20067 2011-09-22 Kenichi Handa <handa@m17n.org>
20069 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
20071 (indian-itrans-v5-table-for-tamil): New variable.
20072 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
20074 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
20076 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
20077 that's true if the current command involved collapsing of text.
20078 It's reset to false at the beginning of the next command.
20079 (allout-post-command-business): Move the cursor to the beginning
20080 of entry if the cursor is hidden and collapsing activity just
20083 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
20085 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
20086 tracking (Bug#9541).
20088 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
20090 * net/newst-reader.el (newsticker-html-renderer)
20091 (newsticker-show-news): Automatically load html rendering package
20092 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
20093 because w3m-fill-column is let-bound" and the error "Symbol's value
20094 as variable is void: w3m-fill-column".
20096 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
20098 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
20099 Release services only if they are defined. (Bug#9581)
20101 2011-09-23 Richard Stallman <rms@gnu.org>
20103 * textmodes/paragraphs.el (forward-sentence): For backwards case,
20104 distinguish start of paragraph from start of its text.
20106 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
20108 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
20109 (rmail-generate-viewer-buffer): Put that hook on view buffer.
20110 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
20112 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
20114 * international/mule-diag.el (mule-diag): Insert a newline after
20115 each fontset description.
20117 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20119 * simple.el (delete-trailing-whitespace):
20120 Document last change; simplify.
20122 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
20124 * simple.el (delete-trailing-whitespace): Also delete
20125 extra newlines at the end of the buffer.
20127 * textmodes/picture.el: Make motion commands obey shift-select-mode.
20128 (picture-newline): Use forward-line so as to ignore fields.
20130 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20132 * subr.el (with-wrapper-hook): Fix edebug spec.
20134 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
20136 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
20139 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
20141 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
20142 Fix nasty bug using wrong cached values.
20144 2011-09-23 Alan Mackenzie <acm@muc.de>
20146 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
20148 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
20150 * window.el (pop-to-buffer): Ensure right window is selected if we
20151 chose another frame.
20153 2011-09-22 Eli Zaretskii <eliz@gnu.org>
20155 * simple.el (what-cursor-position): Use get-char-property-change
20156 and next-single-char-property-change, to be able to show display
20157 properties that come from overlays as well as text properties.
20159 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
20161 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
20163 * cmuscheme.el (run-scheme, switch-to-scheme):
20164 * cus-edit.el (customize-group, custom-buffer-create)
20165 (customize-browse):
20167 * shell.el (shell):
20168 * mail/sendmail.el (mail):
20169 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
20171 2011-09-22 Richard Stallman <rms@gnu.org>
20173 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
20174 move back only to line beg, don't move back over blank lines.
20176 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
20178 * files.el (copy-directory): Set directory attributes only in case
20179 they could be retrieved from the source directory. (Bug#9565)
20181 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
20183 * progmodes/hideshow.el (hs-looking-at-block-start-p)
20184 (hs-find-block-beginning, hs-hide-level-recursive):
20185 Ignore strings as well as comments. (Bug#9502)
20187 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
20189 * progmodes/sql.el (sql-comint-postgres):
20190 Convert port number to a string. (Bug#9566)
20192 2011-09-22 Martin Rudalics <rudalics@gmx.at>
20194 * window.el (quit-window): Undedicate window when switching to
20195 previous buffer. Reported by Thierry Volpiatto
20196 <thierry.volpiatto@gmail.com>.
20197 (special-display-popup-frame): When popping up a new frame reset
20198 its previous buffers to nil. Simplify code.
20200 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
20202 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
20203 and process filter, as done also in `shell-command'.
20205 2011-09-21 Martin Rudalics <rudalics@gmx.at>
20207 * window.el (set-window-buffer-start-and-point):
20208 Call set-window-start with NOFORCE argument t.
20209 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20210 (quit-window): Reword doc-string. Handle new format of
20211 quit-restore parameter. Don't delete window if it has a
20212 previous buffer we can show instead of the present one.
20213 (display-buffer-record-window): Rewrite using a new format for
20214 the quit-restore window parameter
20215 (special-display-popup-frame, display-buffer-same-window)
20216 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20217 (display-buffer-pop-up-window, display-buffer-use-some-window):
20218 Adapt symbol passed to display-buffer-record-window.
20219 * help.el (help-window-setup): Handle new format of quit-restore
20222 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
20224 * faces.el (face-list): Fix docstring (bug#9564).
20226 * window.el (display-buffer--action-function-custom-type):
20227 Don't include internal functions in the Custom interface.
20229 2011-09-20 Juri Linkov <juri@jurta.org>
20231 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
20232 (Info-forward-node, Info-backward-node, Info-next-preorder)
20233 (Info-last-preorder): Use it. (Bug#9528)
20235 2011-09-20 Juri Linkov <juri@jurta.org>
20237 * info.el (Info-last-preorder): Visit last menu item only when
20238 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
20240 2011-09-20 Julien Danjou <julien@danjou.info>
20242 * password-cache.el (password-cache-remove): Remove entries even if the
20243 value is nil, so that password with a nil value (negative caching) is
20244 possible to invalidate.
20246 2011-09-20 Lawrence Mitchell <wence@gmx.li>
20248 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
20249 all whitespace around breakpoint. (Bug#9553)
20250 (f90-find-breakpoint): Only break at whitespace inside a comment.
20252 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
20254 * minibuffer.el (completion-file-name-table): Keep track of errors.
20255 (completion-table-with-predicate): Handle the case where pred1 is nil.
20256 * pcomplete.el (pcomplete-completions-at-point): Simplify.
20258 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20260 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
20261 (debugger-return-value): Signal an error if the debugging context does
20262 not await any return value.
20264 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
20265 * image-mode.el (image-toggle-display-text)
20266 (image-toggle-display-image): Stay away from evil `intangible'.
20268 2011-09-19 Leo Liu <sdl.web@gmail.com>
20270 * replace.el (occur-revert-arguments): Make it permanent-local.
20271 (occur-mode): Don't call font-lock-defontify.
20273 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
20275 * net/ldap.el (ldap-search-internal): Don't push empty search
20278 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20280 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
20282 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
20284 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
20285 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
20287 2011-09-18 Juri Linkov <juri@jurta.org>
20289 * buff-menu.el (Buffer-menu-mode-map):
20290 * dired.el (dired-mode-map):
20291 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
20292 (lisp-interaction-mode-map):
20293 * emacs-lisp/package.el (package-menu-mode-map):
20294 * epa.el (epa-key-list-mode-map):
20295 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
20296 (menu-bar-options-menu):
20297 * outline.el (outline-mode-menu-bar-map):
20298 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
20299 * vc/vc-dir.el (vc-dir-menu-map):
20300 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
20301 Capitalize non-function content words in menu item strings.
20303 * dired.el (dired-mode-map): Add menu item for
20304 `image-dired-dired-toggle-marked-thumbs'.
20306 2011-09-18 Juri Linkov <juri@jurta.org>
20308 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
20309 to `isearch-case-fold-search' and restore its original value
20310 after the `isearch-mode' call.
20312 2011-09-18 Juri Linkov <juri@jurta.org>
20314 * progmodes/grep.el (grep-process-setup): Don't check code for 1
20315 because `zgrep' returns 1 for successful matches (bug#9226).
20317 2011-09-18 Juri Linkov <juri@jurta.org>
20319 * info.el (Info-extract-menu-node-name): Check the second match
20320 for empty string (second test-case of bug#9528).
20321 (Info-last-preorder): Let-bind `Info-history' to nil to not add
20322 intermediate nodes to the history (first test-case of bug#9528).
20324 2011-09-18 Juri Linkov <juri@jurta.org>
20326 * info.el (Info-mode-syntax-table): New variable.
20327 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
20329 2011-09-18 Juri Linkov <juri@jurta.org>
20331 * info.el (Info-file-supports-index-cookies):
20332 Increment line-beginning-position's arg from 3 to 4 because makeinfo
20333 outputs one more line for long file names (bug#4142).
20335 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20337 * newcomment.el (comment-normalize-vars): If prompting for
20338 comment-start, set comment-start-skip too (Bug#8424).
20340 2011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
20342 * icomplete.el: Fix previous fix of Bug#5849.
20343 (icomplete-mode): Don't set completion-show-inline-help.
20344 (icomplete-minibuffer-setup): Set completion-show-inline-help
20345 locally during icompletion.
20347 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20349 * woman.el (woman2-process-escapes): Don't delete unrecognized
20350 escapes (Bug#7843).
20352 * files.el (inhibit-first-line-modes-regexps): Add image files.
20353 (hack-local-variables-prop-line): Return nil for malformed
20354 prop-lines (Bug#9044).
20356 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
20358 * net/tramp.el (top): Don't require 'shell.
20359 (tramp-methods): Fix docstring.
20360 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
20361 Return complete remote file name. Handle "smb" case.
20362 Use `tramp-tmpdir', if defined for the respective method.
20363 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
20365 * net/tramp-compat.el (top): Require 'shell.
20367 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20368 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
20369 `tramp-current-host'.
20370 (tramp-get-remote-tmpdir): Remove.
20372 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
20373 `tramp-tmpdir' entries.
20374 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
20375 (tramp-smb-handle-file-attributes): Ignore errors.
20376 (tramp-smb-wait-for-output): Check also for process end.
20378 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
20380 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
20381 when sending QUIT (bug#9312).
20383 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
20385 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
20386 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
20387 occur-mode-display-occurrence.
20388 (occur-edit-mode): Add usage message.
20389 (occur-cease-edit): New command.
20390 (occur-after-change-function): Use text properties to find the
20391 position of the prefix text.
20392 (occur-engine): Set stickiness of prefix text properties.
20394 2011-09-17 Glenn Morris <rgm@gnu.org>
20396 * progmodes/etags.el (complete-tag):
20397 Fix call to completion-in-region. (Bug#9526)
20399 2011-09-17 Juri Linkov <juri@jurta.org>
20401 * textmodes/ispell.el (ispell-word): Add to the error message
20402 the word, ispell program name and current dictionary (bug#9121).
20403 (ispell-tex-arg-end): Capitalize "error" in the error message.
20405 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
20407 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
20410 2011-09-17 Juri Linkov <juri@jurta.org>
20412 * window.el (window-safe-min-height, window-safe-min-width):
20413 Fix typos (followup to bug#9522).
20415 2011-09-17 Sven Joachim <svenjoac@gmx.de>
20417 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
20419 2011-09-16 Eli Zaretskii <eliz@gnu.org>
20421 * simple.el (line-move): If goal-column is set, move by logical
20422 lines, not by display lines. (Bug#971)
20423 (next-line, previous-line, goal-column, line-move-visual): Doc fix
20424 to reflect the above change.
20426 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
20428 * image.el (imagemagick-register-types): Use regexp-opt.
20430 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20432 * window.el (display-buffer-base-action): Rename from
20433 display-buffer-default-action. Make default value empty.
20434 (display-buffer-overriding-action): Convert to defvar.
20435 (display-buffer-fallback-action): New var.
20437 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20439 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
20441 (package--add-to-archive-contents): If there is a duplicate entry
20442 with an older version, remove it.
20443 (package-menu-mark-delete, package-menu-mark-install)
20444 (package-menu-mark-unmark): Make unused args optional.
20445 (package-menu-mark-obsolete-for-deletion):
20446 Use package-menu-get-status instead of a regexp search.
20447 (package-menu-get-status): Use tabulated-list-entry.
20448 (package-menu-mark-upgrades): New command.
20449 (package-menu-mode-map): Bind it to U. Add it to menu bar.
20450 (package-menu-execute): Do installation before deletion.
20451 (package-menu-refresh, package-menu-execute): Use derived-mode-p
20452 instead of checking major-mode.
20453 (package-menu--find-upgrades): New function.
20455 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20457 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
20458 passwords in the log buffer.
20459 (smtpmail-process-filter): Update the process marker so that the
20460 "broken by peer" status message is inserted in the right place.
20462 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
20464 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
20465 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
20466 bibtex-completion-at-point-function.
20467 (bibtex-completion-at-point-function): Use them.
20469 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
20471 * mpc.el (mpc-constraints-tag-lookup): New function.
20472 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
20473 also to browser "album|playlist".
20475 2011-09-14 Juri Linkov <juri@jurta.org>
20477 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
20478 (isearch-edit-string): Use length of `isearch-string' when
20479 `isearch-fail-pos' returns nil.
20480 (isearch-message): Remove duplicate code and call
20481 `isearch-fail-pos' with arg `t'.
20483 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
20485 * replace.el (occur-mode-goto-occurrence): Don't force using other
20488 * dired-aux.el (dired-do-chmod): Don't provide initial input.
20490 2011-09-14 Martin Rudalics <rudalics@gmx.at>
20492 * window.el (display-buffer-window): Remove.
20493 (display-buffer-record-window): Use help-setup window parameter
20494 instead of variable display-buffer-window.
20495 (display-buffer-function, special-display-buffer-names)
20496 (special-display-function): Mention help-setup parameter instead
20497 of display-buffer-window in doc-string.
20498 * help.el (help-window-setup): New argument help-window.
20499 Use help-window-setup parameter instead of display-buffer-window.
20500 Reword some messages.
20501 (with-help-window): Pass window used for displaying the buffer
20502 to help-window-setup. Don't set display-buffer-window.
20504 2011-09-13 Glenn Morris <rgm@gnu.org>
20506 * emacs-lisp/debug.el (debugger-make-xrefs):
20507 Preserve point. (Bug#9462)
20509 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20511 * window.el (window-deletable-p): Use next-frame.
20513 2011-09-13 Martin Rudalics <rudalics@gmx.at>
20515 * window.el (window-auto-delete): Remove.
20516 (window-deletable-p): Remove argument FORCE. Don't deal with
20517 dedication and previous buffers.
20518 (switch-to-prev-buffer): Don't delete window.
20519 (delete-windows-on): Delete a window's frame if and only if the
20520 window is dedicated.
20521 (replace-buffer-in-windows): Delete buffer's window or frame if
20522 and only if window is dedicated.
20523 (quit-window): Handle quit-restore as before last change.
20524 (bury-buffer): Delete window only if window-deletable-p returns t.
20526 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20528 * window.el (window-deletable-p): Never delete the last frame on a
20531 2011-09-13 Glenn Morris <rgm@gnu.org>
20533 * help.el (describe-key-briefly): Copy previous standard-output change.
20535 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
20537 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
20539 2011-09-13 Glenn Morris <rgm@gnu.org>
20541 * emacs-lisp/lisp-mode.el (lisp-indent-function):
20542 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
20544 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
20546 * dired-aux.el (dired-mark-read-string): Don't return default
20547 value on empty input (Bug#9361).
20548 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
20549 Omit initial minibuffer contents.
20550 (dired-do-chmod): Signal an error on empty input.
20551 (dired-mark-read-string): Don't return default on empty input.
20553 * files.el (file-modes-symbolic-to-number): Doc fix.
20555 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20557 * international/mule-cmds.el (ucs-completions): Remove.
20558 (read-char-by-name): Use complete-with-action instead; add metadata.
20560 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20562 * window.el (display-buffer--action-function-custom-type)
20563 (display-buffer--action-custom-type): New vars.
20564 (display-buffer-alist, display-buffer-default-action)
20565 (display-buffer-overriding-action): Add defcustom types.
20567 * frame.el (delete-other-frames): Doc fix (Bug#276).
20569 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20571 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
20573 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20575 Change modes that used same-window-* vars to use switch-to-buffer.
20577 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
20578 Use switch-to-buffer.
20580 * cus-edit.el (customize-group, custom-buffer-create)
20581 (customize-browse, custom-buffer-create-other-window):
20582 Use switch-to-buffer or switch-to-buffer-other-window.
20584 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
20585 (Info-prev, Info-up, Info-speedbar-goto-node)
20586 (info-display-manual): Use switch-to-buffer.
20587 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
20589 * mail/sendmail.el (mail): Use switch-to-buffer.
20590 (mail-recover): Use switch-to-buffer-other-window.
20592 * cmuscheme.el (run-scheme, switch-to-scheme):
20594 * shell.el (shell):
20595 * net/rlogin.el (rlogin):
20596 * net/telnet.el (telnet, rsh):
20597 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
20599 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20601 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
20603 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20605 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
20606 so don't mention it (bug#9301).
20607 (dired-sort-toggle-or-edit): Clarify string further.
20609 * faces.el (face-spec-set-match-display): Make `(type graphic)'
20610 match `x', `w32' and `ns', like the manual says (bug#9029).
20612 * subr.el (eval-after-load): Doc string clarification (bug#9125).
20613 (process-kill-buffer-query-function): Mention the buffer name in
20616 * image-mode.el (image-next-line): The line parameter is mandatory
20619 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
20620 which can be useful (bug#9301).
20622 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
20624 * subr.el (match-string): Mention that the current buffer should
20625 be the same as the search was done in (bug#9282).
20627 * facemenu.el: Disable the remove-* commands if the mark isn't
20630 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20632 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
20634 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
20636 * replace.el (occur-mode-goto-occurrence)
20637 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
20638 and display-buffer.
20640 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
20643 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
20644 special-display and same-window variables.
20645 (mail-other-window): Use switch-to-buffer-other-window.
20646 (mail-other-frame): USe switch-to-buffer-other-frame.
20648 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
20649 Use display-buffer-other-frame.
20650 (gdb-display-gdb-buffer): Use pop-to-buffer.
20652 * progmodes/gud.el (gud-goto-info): Use info-other-window.
20654 * progmodes/python.el: Don't set same-window-buffer-names.
20656 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
20658 * window.el (display-buffer-alist): Add *Python*.
20660 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20662 * window.el (display-buffer-alist): Add entry for buffers
20663 previously handled same-window-*.
20664 (display-buffer-alist, display-buffer-default-action)
20665 (display-buffer-overriding-action): Mark as risky.
20666 (display-buffer-alist): Document action function changes.
20667 (display-buffer--same-window-action)
20668 (display-buffer--other-frame-action): New variables.
20669 (switch-to-buffer, display-buffer-other-frame): Use them.
20670 (display-buffer): Rename reuse-frame entry to reusable-frames.
20671 (display-buffer-reuse-selected-window): Function deleted.
20672 (display-buffer-reuse-window): Handle reusable-frames alist entry.
20673 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
20674 (display-buffer-special): New function.
20675 (display-buffer--maybe-pop-up-frame-or-window): Rename from
20676 display-buffer-reuse-or-pop-window. Split off special-display
20677 part into display-buffer-special.
20678 (display-buffer-use-some-window): Don't perform any special
20679 pop-up-frames handling.
20680 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
20681 (display-buffer--maybe-same-window): Rename from
20682 display-buffer-maybe-same-window.
20684 * info.el: Don't set same-window-regexps.
20685 (info-setup): New function.
20686 (info-other-window, info): Call it.
20688 * cus-edit.el: Don't set same-window-regexps.
20689 (customize-group): New argument.
20690 (customize-group-other-window): Use it.
20691 (customize-face, customize-face-other-window): Likewise.
20692 (custom-buffer-create-other-window): Use pop-to-buffer directly.
20696 * progmodes/gud.el: Don't set same-window-regexps.
20701 * mail/sendmail.el:
20702 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
20704 2011-09-10 Juri Linkov <juri@jurta.org>
20706 * isearch.el (isearch-edit-string): Remove obsolete mention of
20707 `C-w' (`isearch-yank-word-or-char') from docstring.
20708 (isearch-query-replace): Fix typo in docstring (bug#9466).
20710 2011-09-10 Juri Linkov <juri@jurta.org>
20712 * paren.el (show-paren-function): Don't show escaped parens.
20713 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
20715 2011-09-10 Eli Zaretskii <eliz@gnu.org>
20717 * mail/sendmail.el (mml-to-mime, mml-attach-file)
20718 (mm-default-file-encoding): Remove autoload forms, they are
20719 replaced with autoload cookies in mml.el and mm-encode.el.
20720 (mail-add-attachment): New command.
20721 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
20722 (mail-mode): Mention mail-insert-file and mail-add-attachment in
20724 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
20726 2011-09-10 Reuben Thomas <rrt@sc3d.org>
20728 * simple.el (count-words-region): Use buffer if there's no region
20731 2011-09-09 Juri Linkov <juri@jurta.org>
20733 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
20734 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
20735 (wdired-isearch-filter-read-only): New function. (Bug#6362)
20737 2011-09-09 Alan Mackenzie <acm@muc.de>
20739 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
20740 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
20742 2011-09-09 Eli Zaretskii <eliz@gnu.org>
20744 Fix for Savannah bug#9392.
20745 * simple.el (mail-encode-mml): New defvar.
20747 * mail/rmail.el (mail-encode-mml): Add a defvar.
20748 (rmail-enable-mime-composing): Default to t.
20749 (rmail-forward): Use MIME method of forwarding only if both
20750 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
20751 Set mail-encode-mml non-nil if the MIME method was used.
20753 * mail/sendmail.el (mml-to-mime): Add autoload form.
20754 (mail-encode-mml): Add a defvar.
20755 (mail-mode): Make mail-encode-mml buffer-local and initialize it
20757 (mail-send): If mail-encode-mml is non-nil, run the outgoing
20758 message through mml-to-mime, and reset mail-encode-mml to nil.
20760 2011-09-09 Glenn Morris <rgm@gnu.org>
20762 * woman.el (woman-if-body): When processing an .el block,
20763 do not delete the next .el block as well. (Bug#9447)
20764 (woman-special-characters): Add oq, cq, and hy characters.
20766 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20768 * window.el (window-deletable-p): Make sure window is live before
20769 invoking window-prev-buffers.
20771 2011-09-08 Leo Liu <sdl.web@gmail.com>
20773 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
20775 2011-09-08 Juri Linkov <juri@jurta.org>
20777 * progmodes/compile.el (compilation-environment): Make it
20778 a defcustom (bug#8340).
20780 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20782 * window.el (frame-auto-delete): Rename to window-auto-delete.
20783 Make it control auto-deletion of windows and/or frames.
20784 (window-deletable-p): New argument FORCE. Rewrite conditions
20785 for deleting window/frame. (Bug#9419)
20786 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
20787 Rewrite handling of case when window/frame can be deleted.
20788 (delete-windows-on): Call window-deletable-p with new FORCE
20789 argument t. (Bug#9456)
20791 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
20793 * help-mode.el (help-mode): Restore autoload.
20795 2011-09-07 Juri Linkov <juri@jurta.org>
20797 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
20798 `compilation-environment'. Set buffer-local
20799 `compilation-environment' to `thisenv' later after (funcall mode).
20802 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
20803 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
20804 instead of replacing its value. (Bug#8340)
20806 2011-09-07 Juri Linkov <juri@jurta.org>
20808 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
20809 based on text properties put by `grep-filter' instead of matching
20811 (grep-mode): Set buffer-local `compilation-error-screen-columns'
20812 to the value of `grep-error-screen-columns' (bug#9438).
20814 2011-09-07 Juri Linkov <juri@jurta.org>
20816 * simple.el (next-error-highlight, next-error-highlight-no-select):
20817 Doc fix (bug#9432).
20819 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
20821 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20822 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
20824 2011-09-07 Leo Liu <sdl.web@gmail.com>
20826 * net/rcirc.el (rcirc-mode): Conditionally initialize
20829 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
20831 * emacs-lisp/find-func.el (find-function-C-source): Only set
20832 find-function-C-source-directory after checking that we found a source
20833 file there (bug#9440).
20835 2011-09-06 Alan Mackenzie <acm@muc.de>
20837 * isearch.el (isearch-other-meta-char): Wherever a key list is
20838 unread, "unread" the prefix arg, too. This fixes bug #8901.
20840 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
20842 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
20844 2011-09-05 Juri Linkov <juri@jurta.org>
20846 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
20848 2011-09-05 Juri Linkov <juri@jurta.org>
20850 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
20851 keeping point where processing of grep matches begins, and
20852 continue to delete remaining escape sequences from the same point.
20853 (grep-filter): Make leading zero optional in "0?1;31m" because
20854 git-grep emits "\033[1;31m" escape sequences unlike expected
20855 "\033[01;31m" as GNU Grep does (bug#9408).
20856 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
20858 2011-09-05 Juri Linkov <juri@jurta.org>
20860 * subr.el (y-or-n-p): Capitalize "yes".
20862 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
20864 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
20865 `tramp-cache-unload-hook' where appropriate.
20866 (tramp-methods): Rename `tramp-remote-sh' to
20867 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
20868 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
20870 * net/tramp-sh.el (top): Don't require 'shell.
20871 (tramp-methods): Add `tramp-remote-shell' and
20872 `tramp-remote-shell-args' entries.
20873 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
20874 (tramp-sh-handle-shell-command): Remove.
20875 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20876 Use `tramp-remote-shell'.
20878 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
20880 * mail/sendmail.el (sendmail-query-once-function): Delete.
20881 (sendmail-query-once): Save directly to send-mail-function.
20882 Update message-send-mail-function too.
20884 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
20886 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20888 * progmodes/python.el (python-mode-map): Use correct function to
20889 start python interpreter from menu-bar (as reported by Geert
20891 (inferior-python-mode-map): Fix typo.
20892 (python-shell-map): Remove.
20894 2011-09-03 Deniz Dogan <deniz@dogan.se>
20896 * net/rcirc.el (rcirc-print): Simplify code for
20897 rcirc-scroll-show-maximum-output. There is no need to walk
20898 through all windows to find the right one.
20900 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20902 * help.el (help-return-method): Doc fix.
20904 2011-09-03 Martin Rudalics <rudalics@gmx.at>
20906 * window.el (window-deletable-p): Don't return a non-nil value
20907 when there's a buffer that was shown in the window before.
20909 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20910 Set window's previous buffers to nil.
20912 2011-09-03 Eli Zaretskii <eliz@gnu.org>
20914 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
20915 newline before and after the tag line, so it doesn't interfere
20916 with determining the paragraph direction of bidirectional text.
20918 2011-09-03 Leo Liu <sdl.web@gmail.com>
20920 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
20922 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
20924 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
20925 (pop-to-buffer): Change interactive spec. Pass second argument
20926 directly to display-buffer.
20927 (display-buffer): Fix interactive spec. Use functionp to
20928 distinguish between a function and a list of functions.
20930 * abbrev.el (edit-abbrevs):
20931 * arc-mode.el (archive-extract):
20932 * autoinsert.el (auto-insert):
20933 * bookmark.el (bookmark-bmenu-list):
20934 * files.el (find-file):
20935 * view.el (view-buffer):
20936 * progmodes/compile.el (compilation-goto-locus):
20937 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
20939 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
20941 * window.el (display-buffer-alist): Doc fix.
20942 (display-buffer): Add docstring. Don't treat
20943 display-buffer-default specially.
20944 (display-buffer-reuse-selected-window)
20945 (display-buffer-same-window, display-buffer-maybe-same-window)
20946 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20947 (display-buffer-pop-up-window)
20948 (display-buffer-reuse-or-pop-window)
20949 (display-buffer-use-some-window): New functions.
20950 (display-buffer-default-action): Use them.
20951 (display-buffer-default): Delete.
20952 (pop-to-buffer-1): Fix choice of actions.
20954 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
20956 * minibuffer.el (completion--insert-strings): Don't get confused by
20957 completion entries that end with an LF char.
20959 2011-09-01 Eli Zaretskii <eliz@gnu.org>
20961 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
20963 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
20965 * window.el (display-buffer): Restore interactive spec.
20966 (display-buffer-same-window, display-buffer-other-window):
20968 (pop-to-buffer-1): New function. Use the above.
20969 (pop-to-buffer, pop-to-buffer-same-window): Use it.
20970 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
20972 * view.el (view-buffer-other-window, view-buffer-other-frame):
20973 Just use pop-to-buffer.
20975 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20977 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
20979 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
20981 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
20983 2011-08-31 Richard Stallman <rms@gnu.org>
20985 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
20986 of the separation of rmail-view-buffer from rmail-buffer.
20987 If you say no to "replace original", the decrypt is in the
20988 view buffer. If you say yes, the decrypt goes into the
20991 2011-08-31 Martin Rudalics <rudalics@gmx.at>
20993 * window.el (display-buffer-window): Rewrite doc-string.
20994 (display-buffer-record-window): New function.
20995 (display-buffer-macro-specifiers)
20996 (display-buffer-even-window-sizes, display-buffer-set-height)
20997 (display-buffer-set-width, display-buffer-in-window)
20998 (display-buffer-reuse-window, display-buffer-split-specifiers)
20999 (display-buffer-side-specifiers, display-buffer-split-window-1)
21000 (display-buffer-split-window, display-buffer-split-atom-window)
21001 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21002 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
21003 (display-buffer-other-window-means-other-frame)
21004 (display-buffer-normalize-special)
21005 (display-buffer-normalize-default)
21006 (display-buffer-normalize-argument)
21007 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
21008 (display-buffer-normalize-specifiers, display-buffer-frame)
21009 (display-buffer-same-window, display-buffer-same-frame)
21010 (display-buffer-other-window)
21011 (display-buffer-same-frame-other-window)
21012 (display-buffer-other-frame, pop-to-buffer-same-window)
21013 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
21014 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
21015 (switch-to-buffer-same-frame)
21016 (switch-to-buffer-other-window-same-frame)
21017 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
21018 (display-buffer-alist-set-1, display-buffer-alist-set-2)
21019 (display-buffer-alist-set): Remove.
21020 (display-buffer-function, special-display-buffer-names)
21021 (special-display-regexps, special-display-function):
21022 In doc-string refer to display-buffer-window and quit-restore
21024 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
21025 (special-display-frame-alist, special-display-popup-frame)
21026 (same-window-buffer-names, same-window-regexps, same-window-p)
21027 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21028 (split-window-preferred-function, split-height-threshold)
21029 (split-width-threshold, window-splittable-p)
21030 (split-window-sensibly, window--try-to-split-window)
21031 (window--frame-usable-p, even-window-heights)
21032 (window--even-window-heights, window--display-buffer-1)
21033 (window--display-buffer-2, display-buffer-other-frame):
21034 Restore old Emacs 23 code, order and doc-strings where applicable.
21035 (display-buffer-default, display-buffer-assq-regexp): New functions.
21036 (display-buffer-alist): Rewrite doc-string.
21037 (display-buffer-default-action)
21038 (display-buffer-overriding-action): New variables.
21039 (display-buffer, switch-to-buffer): Rewrite.
21040 (pop-to-buffer): Restore Emacs 23 behavior but use
21041 window-normalize-buffer-to-display.
21042 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
21043 Restore Emacs 23 behavior but use
21044 window-normalize-buffer-to-switch-to.
21045 (pop-to-buffer-same-window): Rewrite.
21046 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
21047 Rewrite using Emacs 23 options.
21049 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
21051 * net/tramp.el (tramp-root-regexp): Remove.
21052 (tramp-completion-file-name-regexp-unified)
21053 (tramp-completion-file-name-regexp-separate)
21054 (tramp-completion-file-name-regexp-url): Don't use leading volume
21055 letter on w32 systems. (Bug#5303, Bug#9311)
21056 (tramp-drop-volume-letter): Simplify definition.
21057 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
21059 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
21061 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
21064 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
21066 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
21068 2011-08-29 Juri Linkov <juri@jurta.org>
21070 * isearch.el (isearch-done): Don't display message "Mark saved"
21071 when arg `edit' is non-nil to prevent its flicker in the echo area.
21073 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21075 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
21076 obsolete packages for deletion.
21078 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
21080 * help-mode.el (help-mode-map): Add special-mode-map to parent.
21081 (help-mode): Derive help-mode from special-mode. Don't invoke
21082 view-mode from help-mode.
21083 (help-xref-override-view-map): Remove.
21084 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
21085 view-mode is not used anymore.
21087 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21089 * server.el (server-port): Doc fix.
21091 * cus-theme.el (custom-theme-choose-mode): Inherit from
21092 special-mode (Bug#9124).
21093 (custom-theme-choose-mode-map): Add special-mode to parent.
21095 2011-08-28 Alan Mackenzie <acm@muc.de>
21097 * progmodes/cc-fonts.el
21098 (c-make-font-lock-BO-decl-search-function): New function.
21099 (c-basic-matchers-after - "Fontify the clauses after various
21100 keywords"): Extract the three keyword lists for the 3 erroneous
21101 constructs from the list of four, and use the new function above
21102 in place of an old one.
21104 2011-08-28 Deniz Dogan <deniz@dogan.se>
21106 * net/rcirc.el (rcirc-insert-prev-input)
21107 (rcirc-insert-next-input): Remove unused argument.
21109 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21111 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
21113 2011-08-27 Alan Mackenzie <acm@muc.de>
21115 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
21116 handle function pointer parameters properly.
21118 2011-08-27 Martin Rudalics <rudalics@gmx.at>
21120 * window.el (display-buffer-reuse-window): Fix case where
21121 selected window was reused with non-nil OTHER-WINDOW argument.
21124 2011-08-27 Deniz Dogan <deniz@dogan.se>
21126 * net/rcirc.el (rcirc-check-auth-status): Adding support for
21127 oftc's NickServ messages.
21129 2011-08-27 Glenn Morris <rgm@gnu.org>
21131 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
21133 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
21135 * emacs-lisp/package.el (package-install): Call package-initialize
21136 if called interactively.
21138 2011-08-26 Leo Liu <sdl.web@gmail.com>
21140 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
21142 2011-08-25 Juri Linkov <juri@jurta.org>
21144 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
21145 `search-whitespace-regexp' (bug#9364).
21147 2011-08-25 Juri Linkov <juri@jurta.org>
21149 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
21150 `regexp-search-ring' to their global values to protect from
21151 updating by `read-from-minibuffer' (bug#9185).
21153 2011-08-25 Juri Linkov <juri@jurta.org>
21155 * textmodes/ispell.el (ispell-command-loop): Add newline
21156 at the end of the "Use option `i'..." line.
21158 2011-08-25 Juri Linkov <juri@jurta.org>
21160 * battery.el (display-battery-mode): If `battery-status-function'
21161 or `battery-mode-line-format' is nil, display the message and set
21162 `display-battery-mode' to nil (bug#9363).
21164 2011-08-25 Eli Zaretskii <eliz@gnu.org>
21166 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
21167 bidi-string-mark-left-to-right; they are unnecessary now.
21169 2011-08-25 Deniz Dogan <deniz@dogan.se>
21171 * net/quickurl.el: Documentation typo fixes.
21173 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
21175 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
21177 2011-08-25 Glenn Morris <rgm@gnu.org>
21179 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
21181 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
21182 (smtpmail-via-smtp): Handle nil response from smtp.
21184 2011-08-24 Juri Linkov <juri@jurta.org>
21186 * proced.el (proced-marked): Inherit from `error' instead of
21187 `font-lock-warning-face'.
21189 * ibuffer.el (ibuffer-marked-face): Change default face from
21190 `font-lock-warning-face' to `warning'.
21191 (ibuffer-deletion-face): Change default face from
21192 `font-lock-type-face' to `error'.
21194 * battery.el (battery-update): Use the face `error' instead of
21195 `font-lock-warning-face' (bug#6117).
21197 2011-08-24 Juri Linkov <juri@jurta.org>
21199 * faces.el (success): Change face color from "Green3" to
21200 "ForestGreen" on light background (bug#9353).
21202 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
21204 * window.el (quit-window): Rename from quit-restore-window.
21205 Use same arglist as old quit-window.
21206 (frame-auto-delete): Doc fix.
21208 * view.el (view-mode-exit): Use quit-window.
21210 2011-08-24 Juri Linkov <juri@jurta.org>
21212 * isearch.el (isearch-ring-adjust1): Start visiting previous
21213 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
21214 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
21215 for empty search string (when the last search string is reused
21216 automatically) to adjust the isearch ring to the last element and
21217 prepare the correct index for further M-p commands (bug#9185).
21219 2011-08-24 Kenichi Handa <handa@m17n.org>
21221 * international/ucs-normalize.el: If decomposition property of
21222 CHAR is the default one (i.e. a list of CHAR itself), treat it as
21224 (nfd, nfkd): Likewise.
21226 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21228 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
21229 from process filters aren't reliably transmitted to the surrounding
21230 accept-process-output.
21231 (mpc-proc-check): New function.
21232 (mpc-proc-sync): Use it (bug#8293)
21234 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21236 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
21237 Add compatibility functions (bug#9313).
21239 2011-08-23 Eli Zaretskii <eliz@gnu.org>
21241 * cus-start.el (all): Add entry for bidi-paragraph-direction.
21243 * international/uni-bidi.el: Regenerate.
21245 2011-08-23 Kenichi Handa <handa@m17n.org>
21247 * international/charprop.el:
21248 * international/uni-bidi.el:
21249 * international/uni-category.el:
21250 * international/uni-combining.el:
21251 * international/uni-comment.el:
21252 * international/uni-decimal.el:
21253 * international/uni-decomposition.el:
21254 * international/uni-digit.el:
21255 * international/uni-lowercase.el:
21256 * international/uni-mirrored.el:
21257 * international/uni-name.el:
21258 * international/uni-numeric.el:
21259 * international/uni-old-name.el:
21260 * international/uni-titlecase.el:
21261 * international/uni-uppercase.el: Regenerate.
21263 2011-08-23 Martin Rudalics <rudalics@gmx.at>
21265 * help.el (help-window-setup): Fix message displayed when other
21266 window is reused. (Bug#9341)
21268 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21270 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
21271 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
21273 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
21275 * shell.el (shell-parse-pcomplete-arguments): New function.
21276 (shell-completion-vars): Use it instead (bug#9160).
21278 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
21280 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
21281 strings and comments (bug#9333).
21283 * emacs-lisp/debug.el (debug-arglist): New function.
21284 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
21285 (debug-on-entry-1): Handle interpreted closures (bug#9120).
21287 2011-08-22 Juri Linkov <juri@jurta.org>
21289 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21290 Revert regexp that highlights output switches to its old
21291 pre-2010-10-28 value and remove one `?' from it (bug#9319).
21293 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
21294 to check for empty output (bug#9226).
21296 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
21298 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
21299 symbol-constituent as the default, as that stops font-lock from
21300 working properly (Bug#8843).
21302 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21304 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
21305 `coding-system-for-*' around the process open call to avoid
21306 auth-source side effects.
21307 (smtpmail-try-auth-methods): Expand the secret password.
21308 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
21311 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21313 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
21315 * emacs-lisp/find-func.el (find-function-noselect): New arg
21318 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
21319 signal an error for built-in functions (Bug#6664).
21321 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21323 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
21324 (smtpmail-try-auth-methods): Use it.
21326 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21328 * font-lock.el (font-lock-fontify-region)
21329 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
21330 (font-lock-default-unfontify-buffer)
21331 (font-lock-default-fontify-region)
21332 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
21334 * progmodes/compile.el (compilation-error-properties):
21335 Fix confusion between file struct and message struct (Bug#9319).
21336 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
21339 * net/browse-url.el (browse-url-firefox): Don't call
21340 browse-url-firefox-sentinel unless using -remote (Bug#9328).
21342 2011-08-20 Glenn Morris <rgm@gnu.org>
21344 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
21346 * tutorial.el (tutorial--default-keys): Update some default bindings.
21348 * files.el (hack-local-variables): Fully ignore case for "mode:".
21350 2011-08-20 Alan Mackenzie <acm@muc.de>
21352 Resolve invalid use of a regexp in regexp-opt.
21354 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
21355 detection for a java annotation.
21357 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
21358 detection for a java annotation.
21360 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
21362 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
21364 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
21366 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
21369 2011-08-20 Alan Mackenzie <acm@muc.de>
21371 Fontify CPP expressions correctly when starting in the middle of
21372 such a construct. Mainly for when jit-lock etc. starts a chunk
21375 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
21377 (c-make-font-lock-search-form): New function, extracted from
21378 c-make-font-lock-search-function.
21379 (c-make-font-lock-search-function): Use the above function.
21380 (c-make-font-lock-context-search-function): New function.
21381 (c-cpp-matchers): Enhance the preprocessor expression case with
21383 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
21384 which takes an expression.
21386 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
21388 2011-08-20 Martin Rudalics <rudalics@gmx.at>
21390 * window.el (display-buffer-reuse-window)
21391 (display-buffer-pop-up-window): Don't reuse or split a side
21394 2011-08-19 Glenn Morris <rgm@gnu.org>
21396 * files.el (hack-local-variables-prop-line, hack-local-variables):
21397 Downcase "Mode:". (Bug#9331)
21399 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
21401 * international/characters.el: Add L and R categories.
21403 * subr.el (bidi-string-mark-left-to-right): Rename from
21404 string-mark-left-to-right. Use category search.
21406 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
21408 2011-08-18 Juri Linkov <juri@jurta.org>
21410 * faces.el (error, warning, success): New faces with definitions
21411 copied from old default values of `font-lock-warning-face',
21412 `compilation-warning', `compilation-info' (bug#6117).
21414 * font-lock.el (font-lock-warning-face): Inherit from `error'.
21416 * progmodes/compile.el (compilation-error): Inherit from `error'.
21417 (compilation-warning): Inherit from `warning'.
21418 (compilation-info): Inherit from `success'.
21420 * dired.el (dired-marked): Inherit from `warning'.
21421 (dired-flagged): Inherit from `error'.
21423 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21425 * mail/smtpmail.el (auth-source): Require to avoid problems with
21426 binding variables (bug#9298). Also clean up some unused
21429 * net/network-stream.el (network-stream-open-starttls):
21430 Support using starttls.el without using gnutls-cli.
21432 2011-08-17 Juri Linkov <juri@jurta.org>
21434 * progmodes/grep.el (rgrep): Handle the case when
21435 `grep-find-command' is a cons cell (bug#9278).
21437 2011-08-17 Martin Rudalics <rudalics@gmx.at>
21439 * window.el (display-buffer-pop-up-frame): Run frame creation
21440 function with BUFFER current (as special-display-popup-frame
21441 does). Reported by Drew Adams.
21443 2011-08-17 Daiki Ueno <ueno@unixuser.org>
21445 * epa-mail.el: Simplify GnuPG group expansion using
21447 (epa-mail-group-alist, epa-mail-group-modtime)
21448 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
21449 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
21450 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
21453 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
21455 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
21457 2011-08-16 Alan Mackenzie <acm@muc.de>
21459 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
21460 Correct, to avoid the inside of macros.
21462 2011-08-16 Richard Stallman <rms@gnu.org>
21464 * epa-mail.el: Handle GnuPG group definitions.
21465 (epa-mail-group-alist, epa-mail-group-modtime)
21466 (epa-mail-gnupg-conf-file): New variables.
21467 (epa-mail-parse-groups, epa-mail-sync-groups)
21468 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
21469 (epa-mail-expand-recipients): New functions.
21470 (epa-mail-encrypt): Call epa-mail-expand-recipients.
21472 * mail/rmail.el (rmail-epa-decrypt): New command.
21474 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
21475 Don't bind buffer-read-only, just inhibit-read-only.
21476 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
21477 (epa-decrypt-armor-in-region): Make error message clearer.
21479 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
21481 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
21482 and "a2b" to "ab" for `prefix'.
21484 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
21486 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
21488 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
21489 Fourquet (Bug#8804).
21491 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
21493 * startup.el (argi): Declare as global variable (bug#9275).
21495 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
21497 * subr.el (string-mark-left-to-right): Search the entire string
21498 for RTL script, not just the terminating character. Doc fix.
21500 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
21502 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
21504 (js--regexp-literal, js-syntax-propertize-function): Remove.
21505 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
21506 (js-mode-map): Don't rebind electric keys.
21507 (js-insert-and-indent): Remove.
21508 (js-mode): Setup electric-layout and electric-indent instead.
21510 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
21512 2011-08-12 Daiki Ueno <ueno@unixuser.org>
21514 * epa.el (epa-progress-callback-function): Fix the logic of
21515 displaying progress.
21516 * epa-file.el (epa-file-insert-file-contents): Make progress
21517 display more user-friendly.
21518 (epa-file-write-region): Ditto.
21520 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
21522 * subr.el (string-mark-left-to-right): New function.
21524 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
21525 Use string-mark-left-to-right.
21526 (list-buffers-noselect): Caller changed.
21528 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21529 Use string-mark-left-to-right.
21530 (tabulated-list-print): Recenter after moving point.
21532 2011-08-10 Juri Linkov <juri@jurta.org>
21534 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
21535 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
21536 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
21538 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
21540 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
21543 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
21545 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
21546 character. (Bug#6594)
21548 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
21550 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
21551 (image-dired--with-db-file): New macro.
21552 (image-dired-write-tags, image-dired-remove-tag)
21553 (image-dired-create-gallery-lists, image-dired-write-comments)
21554 (image-dired-get-comment, image-dired-mark-tagged-files)
21555 (image-dired-list-tags, image-dired-gallery-generate): Use it.
21556 (image-dired-gallery-generate): Use insert-file-contents.
21558 * time.el (display-time-world-list, display-time-world-display):
21559 * time-stamp.el (time-stamp-string):
21560 * vc/add-log.el (add-change-log-entry): Use setenv instead of
21561 set-time-zone-rule (Bug#7337).
21563 2011-08-08 Daiki Ueno <ueno@unixuser.org>
21565 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
21566 (epg-error-to-string, epg-errors-to-string): New function.
21567 (epg-wait-for-completion): Reverse errors list.
21568 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
21569 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
21570 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
21571 (epg-sign-keys, epg-generate-key-from-file)
21572 (epg-generate-key-from-string): Format errors by using
21573 epg-errors-to-string (bug#9255).
21574 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
21576 2011-08-07 Juri Linkov <juri@jurta.org>
21578 * faces.el (list-faces-display): Remove extra angle bracket
21579 from `help-mode-map'.
21581 * info.el (Info-history-toc-nodes): Doc fix.
21583 * longlines.el (longlines-mode): Doc fix.
21585 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
21587 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
21588 of statements and in a few more cases (bug#9183).
21590 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
21592 (cl-transform-lambda): Use them (bug#9239).
21594 2011-08-05 Martin Rudalics <rudalics@gmx.at>
21596 * window.el (display-buffer-same-window)
21597 (display-buffer-same-frame, display-buffer-other-window)
21598 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21599 (pop-to-buffer-other-window)
21600 (pop-to-buffer-same-frame-other-window)
21601 (pop-to-buffer-other-frame): Make them defuns.
21602 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
21604 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21606 * subr.el (make-composed-keymap): Move from C. Change calling
21607 convention, and improve docstring to bring attention to a subtle point.
21608 * minibuffer.el (completing-read-default): Adjust accordingly.
21610 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
21612 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
21613 (tramp-open-shell): Use `tramp-shell-quote-argument'.
21615 * net/trampver.el: Update release number.
21617 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21619 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
21622 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21624 * mail/sendmail.el (sendmail-query-once): Restore the current
21625 buffer after querying (bug#9074).
21627 * dired.el (dired-flagged): Use different faces for marked and
21628 flagged files (bug#6117).
21630 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
21633 * ido.el (ido-mode): Switch off the message if called
21636 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
21637 before 587, since it appears that that's more likely to work for
21640 * cus-edit.el (custom-file): When running under emacs -q, always
21641 refuse to save the customizations, even if the .emacs file doesn't
21644 * info.el: Remove the `Info-beginning-of-buffer' function
21647 * net/network-stream.el (network-stream-open-starttls):
21648 Use `starttls-available-p' to see whether starttls.el can be used.
21650 2011-08-01 Martin Rudalics <rudalics@gmx.at>
21652 * window.el (display-buffer-in-window): Don't set dedicated status
21653 of window here (Bug#9215).
21654 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21655 (display-buffer-pop-up-side-window)
21656 (display-buffer-in-side-window): Set dedicated status of window here.
21658 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
21660 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
21661 before binding generated-autoload-file.
21663 2011-08-01 Deniz Dogan <deniz@dogan.se>
21665 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
21667 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
21669 Sync with Tramp 2.2.2.
21671 * net/trampver.el: Update release number.
21673 2011-07-30 Juri Linkov <juri@jurta.org>
21675 * dired-aux.el (dired-touch-initial): Remove function.
21676 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
21677 current time, and `default' to the last modification time of the
21678 current marked file (bug#6887).
21680 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
21682 * simple.el (goto-line): Use string-to-number to provide a
21683 numeric argument to read-number (bug#9163).
21685 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
21687 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
21688 connection process, it could be nil.
21690 2011-07-27 Leo Liu <sdl.web@gmail.com>
21692 Simplify url handling in rcirc-mode.
21694 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
21695 (rcirc-browse-url-at-mouse): Remove.
21696 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
21698 2011-07-26 Alan Mackenzie <acm@muc.de>
21700 Fontify bitfield declarations properly.
21702 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
21703 (c-symbol-chars): Now exported as a lang variable.
21704 (c-not-primitive-type-keywords): New lang variable.
21706 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
21707 QT keyword "more" to prevent "more slots: ...." being spuriously
21708 parsed as a bitfield declaration.
21710 * progmodes/cc-engine.el (c-beginning-of-statement-1):
21711 Refactor and enhance to handle bitfield declarations.
21712 (c-punctuation-in): New function.
21713 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
21714 declarations properly.
21716 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
21718 * calendar/icalendar.el (icalendar--all-events): Take care of
21719 multiple vcalendars in a single file.
21720 (icalendar--convert-float-to-ical): Checkdoc fixes.
21722 2011-07-25 Deniz Dogan <deniz@dogan.se>
21724 * image.el (insert-image): Clarifying docstring.
21726 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
21728 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
21729 `tramp-send-command-and-check' if there is no error.
21730 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
21732 2011-07-22 Alan Mackenzie <acm@muc.de>
21734 Prevent cc-langs.elc being loaded at run time.
21736 * progmodes/cc-mode.el: Remove two autoload forms which loaded
21739 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
21740 "(require 'cc-langs)". Quote a form so it will evaluate at
21741 (cc-mode's) compilation time.
21743 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
21745 * net/tramp.el (tramp-file-name-handler): Avoid recursive
21746 loading. (Bug#9114)
21748 2011-07-21 Martin Rudalics <rudalics@gmx.at>
21750 * window.el (display-buffer-pop-up-window)
21751 (display-buffer-pop-up-side-window)
21752 (display-buffer-in-side-window): Call display-buffer-set-height
21753 and display-buffer-set-width after setting the new window's
21754 buffer so `fit-window-to-buffer' and friends work on the right buffer.
21756 2011-07-20 Sam Steingold <sds@gnu.org>
21758 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
21759 (etags-tags-included-tables): Call `convert-standard-filename' on
21760 the file names contained in TAGS so that windows Emacs can handle
21761 TAGS files created by cygwin ctags.
21763 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
21765 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
21766 which apparently didn't work.
21768 2011-07-19 Roland Winkler <winkler@gnu.org>
21770 * proced.el (proced-send-signal): For *Marked Processes* buffer
21771 put point at beginning of buffer.
21773 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
21775 * proced.el (proced-format): Make header lines align with the text
21778 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21780 * view.el (view-buffer): Allow running in `special' modes if we're
21781 visiting a file (bug#8615).
21783 2011-07-19 Martin Rudalics <rudalics@gmx.at>
21785 * window.el (display-buffer-alist-of-strings-p)
21786 (display-buffer-alist-set-1, display-buffer-alist-set-2):
21788 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
21791 2011-07-18 Alan Mackenzie <acm@muc.de>
21793 Fontify declarators properly when, e.g., a jit-lock chunk begins
21794 inside a declaration.
21796 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
21798 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21800 (c-complex-decl-matchers): Insert reference to
21801 c-font-lock-enclosing-decls.
21803 * progmodes/cc-engine.el (c-backward-single-comment):
21804 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
21805 to nil around calls to (forward-comment -1).
21807 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21809 * image.el (put-image): Doc typo fix.
21811 * progmodes/etags.el (tags-search): Doc typo fix.
21813 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
21814 password if we get errors 550 to 554.
21816 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
21818 * net/gnutls.el (gnutls-log-level): Remove.
21820 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
21821 indentation character (bug#6380).
21823 * files.el (buffer-offer-save): Made permanently local (bug#6241).
21825 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
21826 to clarify what the problem is (bug#4291).
21828 * simple.el (current-kill): Clarify what
21829 `interprogram-paste-function' does (bug#7500).
21830 (auto-fill-mode): Document `auto-fill-function' in relation to
21831 `auto-fill-mode' (bug#2470).
21833 2011-07-16 Lawrence Mitchell <wence@gmx.li>
21835 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
21836 method if slot is read-only (bug#9035).
21838 2011-07-16 Martin Rudalics <rudalics@gmx.at>
21840 * frame.el (select-frame-set-input-focus): New argument NORECORD.
21841 * window.el (pop-to-buffer): Select window used even if it was
21842 selected before, see discussion of (Bug#8615), (Bug#6954).
21843 Pass argument NORECORD on to select-frame-set-input-focus.
21845 2011-07-15 Glenn Morris <rgm@gnu.org>
21847 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
21850 2011-07-09 Lawrence Mitchell <wence@gmx.li>
21852 * net/gnutls.el (gnutls-min-prime-bits): New variable.
21853 (gnutls-negotiate): Use it.
21855 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21857 * net/gnutls.el (gnutls-negotiate):
21858 Upcase `gnutls-algorithm-priority'.
21860 2011-07-15 Glenn Morris <rgm@gnu.org>
21862 * jka-compr.el (jka-compr-verbose): Move from here...
21863 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
21864 Add missing :version tag.
21865 * info.el: No need to require jka-compr when compiling.
21867 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21869 * net/gnutls.el (gnutls-algorithm-priority): New variable.
21870 (gnutls-negotiate): Use it.
21872 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
21874 * info.el (Info-beginning-of-buffer): New command.
21875 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
21876 announcing `b' as the key (bug#8325).
21877 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
21879 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
21881 * international/mule-cmds.el
21882 (describe-specified-language-support): Make the error message
21883 clearer (bug#8905).
21885 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
21887 * isearch.el (isearch-barrier): Add a doc string, since it's
21888 mentioned in a function doc string (bug#8678).
21890 2011-07-15 Martin Rudalics <rudalics@gmx.at>
21892 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
21893 buffer argument (Bug#9083) and self-identifying label argument.
21895 2011-07-15 Glenn Morris <rgm@gnu.org>
21897 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
21899 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21901 * man.el (Man-fontify-manpage): Fix message when formatting the
21902 man page (bug#7929).
21904 2011-07-14 Eli Zaretskii <eliz@gnu.org>
21906 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
21907 argument LRM; if non-nil, append an invisible LRM character to the
21909 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
21910 last argument non-nil, when formatting buffer names.
21911 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
21912 paragraph direction.
21914 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21916 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
21917 the man page name (bug#7929).
21919 * image.el (put-image): Mention the `put-image' overlay property
21922 * scroll-bar.el (set-scroll-bar-mode): Mention that
21923 `scroll-bar-mode' lists the values (bug#7772).
21925 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
21926 command (bug#7729).
21928 * rect.el (apply-on-rectangle): Return the point after the last
21930 (string-rectangle): Go to the point after the last operation
21933 * printing.el (pr-toggle-region): Clarify the documentation
21934 slightly (bug#7493).
21936 * time.el (display-time-update):
21937 Allow `display-time-mail-function' to return nil (bug#7158).
21938 Fix suggested by Detlev Zundel.
21940 * vc/diff.el (diff): Clarify the order the file names are read
21943 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
21944 the doc string (bug#7015).
21946 * font-lock.el (font-lock-maximum-decoration): Mention what
21947 numeric levels mean (bug#6935).
21949 * startup.el (initial-buffer-choice): Don't mention the `none'
21950 selection, which is against policy.
21952 2011-07-14 Martin Rudalics <rudalics@gmx.at>
21954 * window.el (display-buffer-normalize-special):
21955 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
21957 2011-07-14 Eli Zaretskii <eliz@gnu.org>
21959 * subr.el (version<, version<=, version=): Mention "-CVS" and
21960 "-12345" alpha version numbers.
21962 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
21964 * bindings.el: Add advertised binding for set-mark-command
21967 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
21969 * bindings.el (mode-line-other-buffer):
21970 * bookmark.el (bookmark-bmenu-2-window):
21971 * bs.el (bs-cycle-next, bs-cycle-previous):
21972 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
21975 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
21978 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
21980 * follow.el (follow-debug-message, follow-redisplay):
21981 * jka-cmpr-hook.el (with-auto-compression-mode):
21982 Fix typos in docstrings.
21984 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21986 * subr.el (with-silent-modifications): Clarify somewhat what the
21987 macro inhibits (bug#6525).
21989 * simple.el (eval-expression): Note what it does if called
21990 interactively (bug#6495).
21992 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
21994 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
21995 Use pop-to-buffer buffer-or-name if it is nil.
21997 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21998 Remove switch-to-buffer.
22000 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22002 * files.el (make-directory): Clarify that an error will be raised
22003 if there's an error (bug#6397).
22005 * startup.el (initial-buffer-choice): Add `none' as a choice
22008 * subr.el (add-hook): Clarify section about buffer-local hooks
22011 * dired.el (dired-flagged): Clarify doc string (bug#6117).
22013 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22015 * tabify.el (untabify): Preserve the current column so that point
22016 doesn't move (bug#6032).
22018 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22020 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
22021 Rewrite to avoid awkward possessive "s" (bug#5986).
22023 2011-07-13 Glenn Morris <rgm@gnu.org>
22025 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
22026 (dired-insert-directory): Give a message the first time
22027 if ls is found not to support --dired.
22029 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22031 * simple.el (toggle-truncate-lines): Clarify what is toggled
22032 (bug#5580). Text by Drew Adams.
22034 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22036 * simple.el (blink-matching-open): Make the error message from the
22037 last change less verbose.
22039 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
22041 * font-lock.el (font-lock-comment-face): Use the high contrast
22042 "yellow" color for font-lock-comment-face on low color terminals
22043 using a dark background color (bug#4221).
22045 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22047 * dired.el (dired-insert-set-properties): Make the doc string
22048 reflect what it does now (bug#5325).
22050 * simple.el (blink-matching-open): Say that we were unable to find
22051 the match within the limit, if we're limited (bug#5122).
22053 * international/mule-cmds.el (prefer-coding-system): Add an
22054 example (bug#4869).
22056 * progmodes/etags.el (tags-search): Document `file-list-form'
22059 2011-07-13 Lawrence Mitchell <wence@gmx.li>
22061 * net/browse-url.el (browse-url-default-browser)
22062 (browse-url-browser-function): Make the default browser choice a
22063 bit more logical (bug#4300). Also clean up the doc string.
22065 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22067 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
22068 binary endings (bug#4440).
22070 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22072 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
22073 which can be pretty annoying (bug#8971).
22075 * jka-compr.el (jka-compr-verbose): New variable, and use
22076 throughout (bug#8971).
22078 * info.el (Info-find-file): Fall back on the installation
22079 directory if we can't find the info node anywhere else.
22081 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
22083 * vc/vc.el (vc-revert-file):
22084 Don't set file time-stamp in the past. (Bug#5181)
22086 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22088 * files.el (after-find-file): Give a better error message when
22089 trying to find a symlink that points to a file that doesn't exist
22092 * progmodes/cc-vars.el: Remove (probably) misleading comment
22095 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
22097 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
22099 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22101 * mouse-sel.el: Hack restoring functionality, while keeping
22102 compatibility with 2010-07-03 changes to mouse selection.
22103 (mouse-sel-primary-overlay): New var.
22104 (mouse-sel-selection-alist): Use it.
22105 (mouse-sel-mode): Doc fix; remove points that are default features
22108 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
22110 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22111 Fix previous fix (bug#2490).
22113 2011-07-12 Roland Winkler <winkler@gnu.org>
22115 * textmodes/bibtex.el (bibtex-initialize):
22116 Use pop-to-buffer-same-window.
22117 (bibtex-search-entries): Fix interactive call.
22119 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22121 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22122 Fontise bytecomp Error lines more correctly (bug#2490).
22123 Fix suggested by Johan BockgĂ¥rd.
22125 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
22127 * dired-x.el (dired-guess-default): Use `delete-dups'.
22129 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22131 * dired.el (dired-mark-prompt):
22132 * dired-aux.el (dired-read-shell-command): Doc fix.
22134 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22136 * mail/sendmail.el (sendmail-query-once):
22137 Use `customize-save-variable' unconditionally, now that it works under
22140 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22142 * cus-edit.el (custom-file): Take an optional no-error variable.
22143 (customize-save-variable): Set the variable, and give a warning if
22144 running under "emacs -q".
22146 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
22148 * loadhist.el (unload-feature-special-hooks):
22149 Add `auto-coding-functions', `fill-nobreak-predicate' and
22150 `find-directory-functions' (bug#5327).
22152 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22154 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
22156 * cus-edit.el (custom-guess-name-alist): -alist variables should
22157 use the `alist' type (bug#3120). Suggested by Drew Adams.
22159 * printing.el: Add documentation to all the `pr-toggle-' commands.
22161 2011-07-11 Leo Liu <sdl.web@gmail.com>
22163 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
22164 backends where it makes sense (bug#2623).
22166 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22168 * dired-x.el (dired-guess-default): Remove duplicate shell command
22169 entries (bug#2028).
22170 (dired-guess-default): Fix grammar in doc string (bug#2028).
22171 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
22173 * subr.el (remove-duplicates): New conveniency function.
22175 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
22177 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
22180 2011-07-10 Martin Rudalics <rudalics@gmx.at>
22182 * window.el (display-buffer-normalize-default): Don't invert
22183 meaning of even-window-heights. Reported by Eli Zaretskii
22186 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
22188 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
22190 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
22192 * window.el (display-buffer): Fix arguments to
22193 display-buffer-reuse-window in last change.
22195 * faces.el (link): Use a less saturated blue on light backgrounds.
22197 * startup.el (fancy-startup-text, fancy-about-text)
22198 (fancy-startup-tail): Use font-lock faces, for background safety.
22200 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
22202 * emulation/viper-cmd.el (viper-change-state-to-vi):
22203 Limit triggering of abbrev expansion (Bug#9038).
22205 2011-07-09 Martin Rudalics <rudalics@gmx.at>
22207 * window.el (display-buffer-default-specifiers): Remove.
22208 (display-buffer-macro-specifiers): Remove default specifiers.
22209 (display-buffer-alist): Default to nil.
22210 (display-buffer-reuse-window): New optional argument other-window.
22211 (display-buffer-pop-up-window): Allow splitting internal
22212 windows. Check whether a live window was created.
22213 (display-buffer-other-window-means-other-frame)
22214 (display-buffer-normalize-arguments): Rename to
22215 display-buffer-normalize-argument and rewrite. Set the
22216 other-window specifier.
22217 (display-buffer-normalize-special): New function.
22218 (display-buffer-normalize-options): Rename to
22219 display-buffer-normalize-default and rewrite.
22220 (display-buffer-normalize-options-inhibit): Remove.
22221 (display-buffer-normalize-specifiers): Rewrite.
22222 (display-buffer): Process other-window specifier and call
22223 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
22225 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
22226 (display-buffer-alist-set): Don't handle 'unset default values.
22227 (display-buffer-in-window, display-buffer-alist-set):
22228 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
22229 <tassilo@member.fsf.org>.
22231 2011-07-09 Leo Liu <sdl.web@gmail.com>
22233 * register.el (insert-register): Restore accidental change on
22234 2011-06-26. (Bug#9028)
22236 2011-07-09 Glenn Morris <rgm@gnu.org>
22238 * subr.el (remq): Handle the empty list. (Bug#9024)
22240 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
22242 * mail/sendmail.el (send-mail-function): No longer delay custom
22244 * custom.el (custom-initialize-delay): Doc fix.
22246 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22248 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
22250 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
22252 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
22253 human-friendly prompt.
22255 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22257 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
22258 provided by a particular plugin.
22260 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
22262 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
22263 save customizations (with "emacs -Q"), just set the variable
22264 instead of erroring out.
22266 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22268 2011-07-08 Juri Linkov <juri@jurta.org>
22270 * arc-mode.el (archive-zip-expunge, archive-zip-update)
22271 (archive-zip-update-case): Use 7z if found by `executable-find'.
22272 The order of searching the available programs is the same as in
22273 `archive-zip-extract' (bug#8968).
22275 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22277 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
22278 (menu-bar-options-menu): Tweak descriptions.
22280 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22282 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
22283 menu items into verb phrases (bug#1421). Also refill to fit under
22286 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22288 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
22289 (Info-read-node-name): Doc fix (Bug#1084).
22291 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
22292 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
22293 (end-of-sexp, beginning-of-sexp)
22294 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
22295 (forward-symbol, forward-same-syntax, word-at-point)
22296 (sentence-at-point): Doc fix (Bug#1144).
22298 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22300 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
22301 should cover it (bug#1281).
22303 * cus-edit.el (custom-show): Mark as obsolete.
22305 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
22306 negotiation fails, then possibly try again with a non-encrypted
22307 connection (bug#9017).
22309 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
22312 2011-07-07 Richard Stallman <rms@gnu.org>
22314 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
22315 property, and handle its changed format.
22316 Look for the correct line number.
22317 Use file's line contents (but not past first =) to find
22318 correct line in message.
22320 2011-07-07 Kenichi Handa <handa@m17n.org>
22322 * international/characters.el (build-unicode-category-table):
22324 (unicode-category-table): Set it by unicode-property-table-internal.
22326 * international/mule-cmds.el (char-code-property-alist): Move to
22328 (get-char-code-property): Call unicode-property-table-internal to
22329 load a file. Call get-unicode-property-internal where necessary.
22330 (put-char-code-property): Call unicode-property-table-internal to
22331 load a file. Call put-unicode-property-internal where necessary.
22332 put-unicode-property-internal where necessary.
22333 (char-code-property-description):
22334 Call unicode-property-table-internal to load a file.
22336 * international/charprop.el:
22337 * international/uni-bidi.el:
22338 * international/uni-category.el:
22339 * international/uni-combining.el:
22340 * international/uni-comment.el:
22341 * international/uni-decimal.el:
22342 * international/uni-decomposition.el:
22343 * international/uni-digit.el:
22344 * international/uni-lowercase.el:
22345 * international/uni-mirrored.el:
22346 * international/uni-name.el:
22347 * international/uni-numeric.el:
22348 * international/uni-old-name.el:
22349 * international/uni-titlecase.el:
22350 * international/uni-uppercase.el: Regenerate.
22352 * loadup.el: Load international/charprop.el before
22353 international/characters.
22355 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22357 * window.el (next-buffer, previous-buffer): Signal an error if
22358 called from a minibuffer window.
22360 * bindings.el: Revert 2011-07-04 change.
22362 2011-07-06 Richard Stallman <rms@gnu.org>
22364 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
22365 (rmail-mime-insert-bulk, rmail-mime-insert-text):
22366 Treat markers like ints.
22367 (rmail-mime-entity): Doc fix.
22369 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22371 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
22372 defcustom again for backwards compatibility.
22374 * simple.el (shell-command-on-region): Fill.
22376 * dired-aux.el (dired-kill-line): Add a doc string.
22378 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
22379 to "\\sw\\|\\s_" (bug#358).
22381 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
22382 (dired-unmark-backward): Ditto.
22383 (dired-flag-backup-files): Ditto.
22385 * dired-x.el (dired-mark-sexp): Ditto.
22387 2011-07-06 Richard Stallman <rms@gnu.org>
22389 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
22390 (rmail-mime-entity): New arg TRUNCATED.
22391 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
22393 (rmail-mime-save): Warn if entity is truncated.
22394 (rmail-mime-toggle-hidden): Likewise, for showing.
22395 (rmail-mime-process-multipart): Record when an entity is truncated.
22397 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
22398 if ENTITY is a string.
22400 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22402 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
22403 of faces when `M-C-x'-ing their definitions (bug#8378).
22404 Also clean up the code slightly.
22406 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
22407 because that makes the colors go away.
22409 * mail/sendmail.el (send-mail-function): Change the default to
22410 `sendmail-query-once'.
22411 (sendmail-query-once): Add an autoload cookie.
22413 * net/network-stream.el (network-stream-open-starttls): Try using
22414 a plain connection even if the server offered STARTTLS, and we
22415 kinda wanted to use it, if Emacs doesn't have any STARTTLS
22416 capability. This should make smtpmail.el work in slightly more
22419 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
22421 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22423 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
22425 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
22427 * progmodes/sql.el: Version 3.0
22428 (sql-product-alist): Add product :completion-object,
22429 :completion-column, and :statement attributes.
22430 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
22431 (sql-mode-syntax-table): Mark all punctuation.
22432 (sql-font-lock-keywords-builder): Temporarily remove fallback on
22434 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
22435 (sql-mode-oracle-font-lock-keywords): Improve.
22436 (sql-oracle-show-reserved-words): New function for development.
22437 (sql-product-font-lock): Simplify for source code buffers.
22438 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
22440 (sql-highlight-product): Set product specific syntax table.
22441 (sql-mode-map): Add statement movement functions.
22442 (sql-ansi-statement-starters, sql-oracle-statement-starters):
22444 (sql-statement-regexp, sql-beginning-of-statement)
22445 (sql-end-of-statement, sql-signum): New functions.
22446 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
22447 (sql-show-sqli-buffer): Bug fix.
22448 (sql-interactive-mode): Store connection data as buffer local.
22449 (sql-connect): Add NEW-NAME parameter. Redesign interaction
22450 with sql-interactive-mode.
22451 (sql-save-connection): Save buffer local settings.
22452 (sql-connection-menu-filter): Change menu entry name.
22453 (sql-product-interactive): Bug fix.
22454 (sql-preoutput-hold): New variable.
22455 (sql-interactive-remove-continuation-prompt): Bug fixes.
22456 (sql-debug-redirect): New variable.
22457 (sql-str-literal): New function.
22458 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
22460 (sql-oracle-save-settings, sql-oracle-restore-settings)
22461 (sql-oracle-list-all, sql-oracle-list-table): New functions.
22462 (sql-completion-object, sql-completion-column)
22463 (sql-completion-sqlbuf): New variables.
22464 (sql-build-completions-1, sql-build-completions)
22465 (sql-try-completion): New functions.
22466 (sql-read-table-name): Use them.
22467 (sql-contains-names): New buffer local variable.
22468 (sql-list-all, sql-list-table): Use it.
22469 (sql-oracle-completion-types): New variable.
22470 (sql-oracle-completion-object, sql-sqlite-completion-object)
22471 (sql-postgres-completion-object): New functions.
22473 2011-07-06 Glenn Morris <rgm@gnu.org>
22475 * window.el (pop-to-buffer): Doc fix.
22477 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
22479 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
22481 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
22483 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
22485 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
22487 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
22489 * button.el (button): Inherit from link face. Suggested by Dan
22492 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22494 * progmodes/gdb-mi.el: Fit in 80 columns.
22495 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
22498 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
22499 if imenu is simply not configured (bug#8941).
22501 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
22503 * allout.el (allout-post-undo-hook): New allout outline-change
22504 event hook to signal undo activity.
22505 (allout-post-command-business): Run allout-post-undo-hook if an
22506 undo just occurred.
22507 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
22508 * allout-widgets.el (allout-widgets-after-undo-function):
22509 Ensure the integrity of the current item's decoration after it has been
22510 in the vicinity of an undo.
22511 (allout-widgets-mode): Include allout-widgets-after-undo-function
22512 on the new allout-post-undo-hook.
22514 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22516 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
22517 Let define-derived-mode define it.
22518 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
22519 cycles of abbrev-table inheritance (bug#8998).
22521 2011-07-05 Roland Winkler <winkler@gnu.org>
22523 * textmodes/bibtex.el: Add support for biblatex.
22524 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
22525 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
22526 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
22527 (bibtex-entry-alist, bibtex-field-alist): New variables.
22528 (bibtex-entry-field-alist): Obsolete alias for
22529 bibtex-BibTeX-entry-alist.
22530 (bibtex-entry-alist, bibtex-field-alist): New widgets.
22531 (bibtex-set-dialect): New command.
22532 (bibtex-entry-type, bibtex-entry-head)
22533 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
22534 Bind via bibtex-set-dialect.
22535 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
22536 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
22537 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
22538 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
22539 Define via bibtex-set-dialect.
22540 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
22541 Obey bibtex-no-opt-remove-re.
22542 (bibtex-vec-push, bibtex-vec-incr): New functions.
22543 (bibtex-format-entry, bibtex-field-list)
22544 (bibtex-print-help-message, bibtex-validate)
22545 (bibtex-search-entries): Use new format of bibtex-entry-alist.
22547 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22549 * progmodes/compile.el (compilation-goto-locus):
22550 * net/tramp-cmds.el (tramp-append-tramp-buffers):
22551 * bs.el (bs-cycle-next, bs-cycle-previous):
22552 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
22553 * bindings.el (mode-line-other-buffer):
22554 * autoinsert.el (auto-insert):
22555 * arc-mode.el (archive-extract):
22556 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
22558 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22560 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
22561 Fix check of `emacs-lock-unlockable-modes'.
22562 Coerce true values of `emacs-lock--try-unlocking' to t.
22564 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22566 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
22567 * emacs-lock.el: New file.
22569 2011-07-05 Julien Danjou <julien@danjou.info>
22571 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
22572 than `boundp' to check if face is set.
22574 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22576 * register.el (registerv-make):
22577 * window.el (window-min-height): Fix typos in docstrings.
22579 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
22581 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
22584 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22586 * server.el (server-execute): Catch quit and call
22587 `server-return-error' to pass the error back to emacsclient and
22588 close the connection (bug#8942).
22590 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
22592 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
22593 insecure exception for current topic. Also note that auto-saves
22594 are handled differently.
22596 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
22597 State variables for tracking auto-save inhibition situation.
22599 (allout-write-contents-hook-handler): Rename from
22600 'allout-write-file-hook-handler', and describe how it depends on
22601 write-contents-functions sensitivity to non-nil value to prevent
22604 (allout-auto-save-hook-handler): Remove. auto-save does not check
22605 this in individual buffers, only in the starting buffer, so this
22606 is not the right way for us to inhibit auto-save in a buffer
22607 according to its condition.
22609 (allout-mode): Use new allout-write-contents-hook-handler, and
22610 only with write-contents-functions. Remove auto-save provisions -
22611 they're implemented elsewhere.
22613 (allout-before-change-handler): If undo is in progress, note that
22614 for attention of allout-post-command-business.
22616 (allout-post-command-business): If the command we're following was
22617 an undo, check for change in the status of encrypted items and
22618 adjust auto-save inhibitions accordingly.
22620 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
22621 according to whether there are or aren't any plain-text topics
22622 pending encryption.
22624 (allout-inhibit-auto-save-info-for-decryption):
22625 Adjust buffer-saved-size and some allout state to inhibit auto-saves
22626 if there are plain-text topics pending encryption.
22628 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
22629 buffer-saved-size and some allout state to not inhibit auto-saves
22630 if there are no longer any plain-text topics pending encryption.
22632 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
22633 No longer provide for exemption of the current topic.
22635 2011-07-04 Juri Linkov <juri@jurta.org>
22637 Add 7z operations to delete and save changed members (bug#8968).
22638 * arc-mode.el (archive-7z-expunge, archive-7z-update):
22640 (archive-7z-write-file-member): New function.
22641 (archive-7z-summarize): Fix the number of dashes in the
22644 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22646 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
22649 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
22651 * bindings.el: Ignore next-buffer and previous-buffer in
22652 minibuffer-local-map.
22654 * font-lock.el (font-lock-builtin-face): Change light background
22655 color to dark slate blue (Bug#6693).
22657 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
22659 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
22661 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22663 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
22664 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22665 Add switch-to-buffer.
22667 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22669 * isearch.el (isearch-search-fun-function): Clarify further the
22670 meaning of the function returned.
22672 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
22674 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
22676 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
22677 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
22679 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
22680 `tramp-default-remote-path' does not exist.
22681 (tramp-send-command-and-read): New optional argument NOERROR.
22682 (tramp-open-connection-setup-interactive-shell)
22683 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
22684 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
22685 (tramp-process-sentinel): Flush also process' connection property.
22686 (tramp-sh-handle-start-file-process): Do not set process
22687 sentinel. It is done now ...
22688 (tramp-maybe-open-connection): ... here. (Bug#8929)
22690 2011-07-04 MON KEY <monkey@sandpframing.com>
22692 * play/animate.el (animate-string): Doc fixes and allow changing
22693 the buffer name (bug#5417).
22695 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22697 * play/animate.el (animation-buffer-name): Rename from *animate*.
22699 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
22701 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
22702 This is simpler and helps future-proof the code.
22703 (timer-until): Use time-subtract and float-time.
22704 (timer--time-less-p): Use time-less-p.
22706 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22708 * type-break.el (timep): Use the value of `float-time' to avoid a
22709 byte-compiler warning.
22711 * server.el (server-eval-and-print): Return any result, even nil.
22713 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
22715 * type-break.el: Accept time formats that the builtins accept.
22716 (timep, type-break-time-difference): Accept any format that
22717 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
22718 This is simpler and helps future-proof the code.
22719 (type-break-time-difference): Round rather than ignoring
22720 subseconds components.
22722 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22724 * info.el (Info-apropos-matches): Make non-interactive, since it
22725 doesn't seem to do anything useful as a command (bug#8829).
22727 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
22729 * frame.el (frame-background-mode, frame-set-background-mode):
22730 Move from faces.el.
22731 (frame-default-terminal-background): New function.
22733 * custom.el (custom-push-theme): Don't record faces in `changed'
22734 theme; this doesn't work correctly for per-frame face settings.
22735 (disable-theme): Use face-set-after-frame-default to reset faces.
22736 (custom--frame-color-default): New function.
22738 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22740 * dired.el (dired-flagging-regexp): Remove unused variable
22743 2011-03-29 Kevin Ryde <user42@zip.com.au>
22745 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22746 `perl-Test2' extend to match possible "fail #N" rep count
22749 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22751 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
22752 `smtpmail-via-smtp' now returns the error instead of nil.
22754 * isearch.el (isearch-search-fun-function): Clarify the doc string
22757 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
22759 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
22760 unnecessary spaces (bug#8987).
22762 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22764 * net/network-stream.el (open-network-stream): Use the
22765 :end-of-capability command thoughout.
22767 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
22769 * net/network-stream.el (open-network-stream): Add the
22770 :end-of-capability command parameter, used by pop3.el.
22772 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22774 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
22776 * fringe.el (fringe-query-style): Remove redundant text " (type ?
22777 for list)" (bug#6475).
22779 * files.el (file-expand-wildcards): Ignore non-readable
22780 sub-directories while trying to find matches instead of signaling
22781 an error (bug#6297).
22783 * man.el (Man-reference-regexp): Allow matching possible
22784 word-wrapped references (bug#6289).
22786 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
22787 for consistency with the other vc buffers (bug#6197).
22788 (vc-checkin): Ditto.
22790 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
22792 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
22794 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22796 * custom.el (defcustom): Clarify that :set is only used in the
22797 Customize user interface (bug#6089).
22799 * progmodes/flymake.el (flymake-mode): If the buffer isn't
22800 associated with a file, refuse to run instead of erroring out
22803 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
22804 the doc string, since it appears that using `fill-column' always
22805 controls the width (bug#7845).
22807 * simple.el (shell-command-on-region): Say where the error output
22808 went if `shell-command-default-error-buffer' is set (bug#6857).
22810 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
22812 * allout.el (allout-yank-processing): Adjust cursor position for
22813 backwards-deleted space.
22815 (allout-rebullet-heading): Register changes with
22816 allout-exposure-changed-hook, so the modified topic is properly
22819 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22821 * minibuffer.el (completion-in-region): Document PREDICATE
22824 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
22825 of keyword/argument pairs (bug#6904).
22827 * replace.el (multi-occur):
22828 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
22830 2011-07-02 Drew Adams <drew.adams@oracle.com>
22832 * dired.el (dired-mark-if): Make the message about whether it's
22833 marking or unmarking clearer (bug#8523).
22835 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22837 * disp-table.el (display-table-print-array): New function.
22838 (describe-display-table): Use it to print the vectors more pretty
22841 2011-07-02 Martin Rudalics <rudalics@gmx.at>
22843 * window.el (window-state-get-1): Don't assign clone numbers.
22844 Add clone-of item to list of window parameters.
22845 (window-state-put-2): Don't process clone numbers.
22846 (display-buffer-alist): Fix doc-string.
22848 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
22850 * subr.el (remq): Don't allocate if it's not needed.
22851 (keymap--menu-item-binding, keymap--menu-item-with-binding)
22852 (keymap--merge-bindings): New functions.
22853 (keymap-canonicalize): Use them to refine the canonicalization.
22854 * minibuffer.el (minibuffer-local-completion-map)
22855 (minibuffer-local-must-match-map): Move initialization from C.
22856 (minibuffer-local-filename-completion-map): Move initialization from C;
22857 don't inherit from anything here.
22858 (minibuffer-local-filename-must-match-map): Make obsolete.
22859 (completing-read-default): Use make-composed-keymap to combine
22860 minibuffer-local-filename-completion-map with either
22861 minibuffer-local-must-match-map or
22862 minibuffer-local-filename-completion-map.
22864 2011-07-01 Glenn Morris <rgm@gnu.org>
22866 * type-break.el (type-break-time-sum): Use dolist.
22868 * textmodes/flyspell.el (flyspell-word-search-backward):
22869 Replace CL function.
22871 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22873 * mouse.el (mouse--strip-first-event): New function.
22874 (function-key-map): Use it to map fringe clicks to normal clicks
22877 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
22878 (vc-bzr-revision-completion-table): Add support for annotate and date.
22880 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
22881 inherit from parent.
22883 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22885 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
22886 (dired-show-file-type): Doc fixup (bug#8818).
22888 * dired.el (dired-mode): Fix up the doc string as suggested by
22889 Drew Adams (bug#8817).
22891 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
22892 cookie, since the manual says that it should be possible to add
22893 this function to `find-file-hook' (bug#8709).
22895 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
22897 * progmodes/cfengine.el: Moved all cfengine3.el functionality
22898 here. Noted Ted Zlatanov as the maintainer.
22899 (cfengine-common-settings, cfengine-common-syntax): New functions
22900 to set up common things between `cfengine-mode' and
22902 (cfengine3-mode): New mode.
22903 (cfengine3-defuns cfengine3-defuns-regex
22904 (cfengine3-class-selector-regex cfengine3-category-regex)
22905 (cfengine3-vartypes cfengine3-font-lock-keywords)
22906 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
22907 (cfengine3-indent-line): Add from cfengine3.el.
22909 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
22911 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
22913 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
22915 2011-07-01 Martin Rudalics <rudalics@gmx.at>
22917 * window.el (same-window-buffer-names, same-window-regexps)
22918 (same-window-p, special-display-frame-alist)
22919 (special-display-popup-frame, special-display-function)
22920 (special-display-buffer-names, special-display-regexps)
22921 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
22922 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22923 (split-window-preferred-function, split-height-threshold)
22924 (split-width-threshold, even-window-heights)
22925 (display-buffer-mark-dedicated, window-splittable-p)
22926 (split-window-sensibly, window-safely-shrinkable-p):
22928 (display-buffer): Don't spread args with function specifier
22929 because special-display-popup-frame won't like it.
22931 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
22933 Time-stamp simplifications and fixes.
22934 These improve accuracy slightly, and future-proof the code
22935 against some potential changes to current-time format.
22937 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
22938 by using time-since and float-time.
22940 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
22941 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
22942 + NNN microseconds".
22944 * type-break.el (type-break-time-sum): Rewrite using time-add.
22946 * play/hanoi.el (hanoi-current-time-float): Remove.
22947 All uses replaced by float-time.
22949 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
22950 This yields a more-accurate answer.
22951 (rng-time-to-float): Remove; no longer needed.
22953 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
22955 * calendar/timeclock.el (timeclock-seconds-to-time):
22956 Defalias to seconds-to-time, since they're the same thing.
22958 * emacs-lisp/elp.el (elp-elapsed-time):
22959 * emacs-lisp/benchmark.el (benchmark-elapse):
22960 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
22962 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22964 * window.el (bury-buffer): Don't iconify the only frame.
22965 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
22966 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
22968 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
22970 * eshell/em-smart.el (eshell-smart-display-navigate-list):
22971 Add mouse-yank-primary.
22973 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
22975 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
22977 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22979 * emacs-lisp/find-func.el (find-library--load-name): New fun.
22980 (find-library-name): Use it to find relative load names when provided
22981 absolute file name (bug#8803).
22983 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
22985 * textmodes/flyspell.el (flyspell-word): Consider words that
22986 differ only in case as potential doublons (bug#5687).
22988 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
22989 Remove two rather uninteresting debugging-like messages to make
22990 debbugs.el more silent.
22992 * comint.el (comint-password-prompt-regexp): Accept "Response" as
22993 a password-like phrase.
22995 2011-06-30 Masatake YAMATO <yamato@redhat.com>
22997 * progmodes/cc-guess.el: New file.
22999 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
23001 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
23002 derived from `c-basic-common-init'.
23004 * progmodes/cc-mode.el (top-level): Require cc-guess.
23005 (c-basic-common-init): Use `cc-choose-style-for-mode'.
23007 2011-06-30 Lawrence Mitchell <wence@gmx.li>
23009 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
23011 2011-06-30 Alan Mackenzie <acm@muc.de>
23013 * progmodes/cc-engine.el (c-guess-continued-construct):
23014 Correct the handling of template-args-cont, particularly for when font
23015 lock is disabled. Name this case as "CASE G".
23017 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
23019 * allout.el (allout-yank-processing): Fix injection of extra space
23020 between bullet and non-whitespace character in first topic when
23021 pasting, ensuring that the actual spacing in the pasted topic
23022 following the bullet char is preserved. This extra space was
23023 causing pasted encrypted topics to get a decrypted status even
23024 when the content was actually still encrypted. Now the decryption
23025 status from before the paste is preserved.
23027 (allout-flag-region): Set all allout overlays so they evaporate
23028 when reduced to zero length (evanescent), to prevent overlay
23031 2011-06-30 Glenn Morris <rgm@gnu.org>
23033 * w32-fns.el (w32-charset-info-alist): Declare.
23035 * find-dired.el (find-grep-options): Simplify.
23037 * term/ns-win.el (ns-set-resource): Declare.
23039 * ses.el (row, col): Declare dynamic variables honestly.
23041 * textmodes/reftex-parse.el (index-tags): Declare.
23043 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
23045 * cus-edit.el (customize-push-and-save): New function.
23047 * files.el (hack-local-variables-confirm): Use it.
23049 * custom.el (load-theme): New arg NO-CONFIRM.
23050 Use customize-push-and-save (Bug#8720).
23051 (custom-enabled-themes): Doc fix.
23053 * cus-theme.el (customize-create-theme)
23054 (custom-theme-merge-theme): Callers to load-theme changed.
23056 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23058 * thingatpt.el (thing-at-point-short-url-regexp): Require that
23059 short URLs have at least one dot in them (bug #7614).
23061 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
23062 nil, because using a pty is apparently too slow (bug #895).
23064 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
23066 * mail/sendmail.el (sendmail-query-once): New function.
23067 (sendmail-query-once-function): New variable.
23069 2011-06-29 Glenn Morris <rgm@gnu.org>
23071 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
23073 * ses.el (top-level): Require cl when compiling.
23074 (ses-set-localvars): Fix error statement.
23075 Call it at compile time to silence a storm of warnings.
23077 2011-06-29 Martin Rudalics <rudalics@gmx.at>
23079 * window.el (normalize-live-buffer): Rename to
23080 window-normalize-buffer.
23081 (normalize-live-frame): Rename to window-normalize-frame.
23082 (normalize-any-window): Rename to window-normalize-any-window.
23083 (normalize-live-window): Rename to window-normalize-live-window.
23084 (make-window-atom): Rename to window-make-atom.
23085 (window-resize-reset): Rename to window--resize-reset.
23086 (window-resize-reset-1): Rename to window--resize-reset-1.
23087 (resize-mini-window): Rename to window--resize-mini-window.
23088 (resize-subwindows-skip-p): Rename to
23089 window--resize-subwindows-skip-p.
23090 (resize-subwindows-normal): Rename to
23091 window--resize-subwindows-normal.
23092 (resize-subwindows): Rename to window--resize-subwindows.
23093 (resize-other-windows): Rename to window--resize-siblings.
23094 (resize-this-window): Rename to window--resize-this-window.
23095 (resize-root-window): Rename to window--resize-root-window.
23096 (resize-root-window-vertically): Rename to
23097 window--resize-root-window-vertically.
23098 (normalize-buffer-to-display): Rename to
23099 window-normalize-buffer-to-display.
23100 (normalize-buffer-to-switch-to): Rename to
23101 window-normalize-buffer-to-switch-to.
23102 Correspondingly update all callers of the functions listed
23104 (display-buffer-alist, display-buffer-normalize-arguments)
23105 (display-buffer-normalize-options, display-buffer)
23106 (display-buffer-alist-set): Use "function" instead of
23109 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
23111 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
23112 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
23113 debbugs.gnu.org. Mention acknowledgment email.
23115 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
23117 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
23118 buffer multibyteness, since it shouldn't matter.
23120 2011-06-28 Martin Rudalics <rudalics@gmx.at>
23122 * window.el (display-buffer-in-side-window): Handle dedicated
23123 windows as in display-buffer-reuse-window.
23124 (display-buffer-normalize-alist): Use value of override
23126 (display-buffer-normalize-specifiers): Use value of
23127 other-window-means-other-frame specifier.
23128 (display-buffer-alist): Rewrite some texts in widgets.
23129 (display-buffer): Spread arguments when calling function
23130 specified by fun-with-args.
23132 2011-06-28 Deniz Dogan <deniz@dogan.se>
23134 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
23137 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
23138 selectors (Bug#5732).
23139 (css-proprietary-nmstart-re): Use `regexp-opt'.
23141 2011-06-27 Jari Aalto <jari.aalto@cante.net>
23143 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
23144 (eshell-ls-date-format): New defcustom.
23145 (eshell-ls-file): Use it.
23147 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23149 * help-fns.el (describe-variable): Fix message for terminal-local vars.
23151 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
23153 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
23154 (ange-ftp-make-tmp-name): New arg.
23155 (ange-ftp-file-local-copy): Use it.
23157 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
23159 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
23160 no-conversion (Bug#8870).
23162 2011-06-27 Martin Rudalics <rudalics@gmx.at>
23164 * window.el (window-right, window-left, window-child)
23165 (window-child-count, window-last-child)
23166 (window-iso-combination-p, walk-window-tree-1)
23167 (window-atom-check-1, window-tree-1, delete-window)
23168 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
23169 new naming conventions - window-vchild, window-hchild,
23170 window-next and window-prev are now called window-top-child,
23171 window-left-child, window-next-sibling and window-prev-sibling
23173 (resize-window-reset): Rename to window-resize-reset.
23174 (resize-window-reset-1): Rename to window-resize-reset-1.
23175 (resize-window): Rename to window-resize.
23176 (window-min-height, window-min-width)
23177 (resize-mini-window, resize-this-window, resize-root-window)
23178 (resize-root-window-vertically, adjust-window-trailing-edge)
23179 (enlarge-window, shrink-window, maximize-window)
23180 (minimize-window, delete-window, quit-restore-window)
23181 (split-window, balance-windows, balance-windows-area-adjust)
23182 (balance-windows-area, window-state-put-2)
23183 (display-buffer-even-window-sizes, display-buffer-set-height)
23184 (display-buffer-set-width, set-window-text-height)
23185 (fit-window-to-buffer): Rename all "resize-window" prefixed
23186 calls to use the "window-resize" prefix convention.
23187 (display-buffer-alist): Fix symbol for label specifier.
23188 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
23189 corresponding specifier.
23190 Reported by Juanma Barranquero <lekktu@gmail.com>.
23192 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23194 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
23196 (ses-call-printer): Does not pass an empty string to formatter when the
23197 cell is empty to keep from barking printer Calc math-format-value.
23199 2011-06-27 Richard Stallman <rms@gnu.org>
23201 * battery.el (battery-mode-line-limit): New variable.
23202 (battery-update): Handle it.
23204 * mail/rmailmm.el (rmail-mime-process-multipart):
23205 Handle truncated messages.
23207 2011-06-27 Glenn Morris <rgm@gnu.org>
23209 * progmodes/flymake.el (flymake-err-line-patterns):
23210 Allow for column numbers in the ant/javac pattern. (Bug#8866)
23212 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23214 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
23215 (ses--clean-!, ses--clean-_): New functions.
23216 (ses-range): Add configurability of readout order, and conversion
23219 * ses.el (ses-repair-cell-reference-all): New function.
23220 (ses-cell-symbol): Set macro as safe, so that it can be used in
23223 * ses.el: Update cycle detection algorithm.
23224 (ses-localvars): Add ses--Dijkstra-attempt-nb and
23225 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
23226 (ses-set-localvars): New function.
23227 (ses-make-cell): Add property-list as a cell element.
23228 (ses-cell-property-get-fun, ses-cell-property-get)
23229 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
23230 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
23232 (ses-cell-property-set, ses-cell-property-pop)
23233 (ses-cell-property-get-handle): New macro.
23234 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
23235 New aliases, used for code readability.
23236 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
23238 (ses-self-reference-early-detection): New defcustom.
23239 (ses-formula-references): Robustify against self-referring cells.
23240 (ses-mode): Use ses-set-localvars.
23241 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
23242 before lauching the update processing.
23243 (ses-initialize-Dijkstra-attempt): New function.
23244 (ses-recalculate-cell): Update for cycle detection based on
23245 Dijkstra algorithm.
23247 * ses.el: Fix commenting and indenting convention.
23249 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23251 * bs.el (bs-cycle-next): Complete last change.
23253 2011-06-27 Drew Adams <drew.adams@oracle.com>
23255 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
23257 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
23259 * net/network-stream.el (network-stream-open-starttls):
23260 Don't re-get capabilities unless we've reestablished connection.
23261 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
23263 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
23264 to binary to possibly avoid line encoding issues on Windows (among
23267 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23269 * net/network-stream.el (open-network-stream): Return an :error
23270 saying what the problem was, if possible.
23272 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
23275 * net/network-stream.el (network-stream-open-starttls): If we
23276 wanted to use STARTTLS, and the server offered it, but we weren't
23277 able to because we had no STARTTLS support, then close the connection.
23278 (open-network-stream): Return an :error element, if present.
23280 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23282 * hl-line.el (hl-line-sticky-flag): Doc fix.
23283 (global-hl-line-sticky-flag): New option (Bug#8323).
23284 (global-hl-line-highlight): Obey it.
23286 * vc/vc.el (vc-revert-show-diff): Default to t.
23288 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
23290 * allout-widgets.el (allout-widgets-post-command-business):
23291 Stop decorating intermediate isearch matches. They're not being
23292 undecorated when an isearch is continued past, and isearch
23293 automatically collapses them. This leads to "widget leaks", where
23294 decorated items accumulate in collapsed areas. Lines with lots of
23295 hidden widgets can slow down cursor travel, substantially.
23296 Too much complicated machinery would be needed to ensure undecoration,
23297 so we're doing without this nicety.
23299 (allout-widgets-tally-string): Don't try to do a hash-table-count
23300 of allout-widgets-tally when it's nil. This eliminates spurious "Error
23301 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
23302 *Messages* when allout-widgets-maintain-tally is t.
23304 2011-06-26 Martin Rudalics <rudalics@gmx.at>
23306 * window.el (display-buffer-normalize-argument): Rename to
23307 display-buffer-normalize-arguments. Handle special meaning of
23308 LABEL argument. Respect special-display-function when popping up
23309 a new frame. Fix code searching for a window showing the buffer
23311 (display-buffer-normalize-specifiers):
23312 Call display-buffer-normalize-arguments.
23313 (display-buffer-in-window): Don't undedicate the window if its
23314 buffer remains the same.
23315 Reported by Drew Adams <drew.adams@oracle.com>.
23316 (display-buffer-alist): Add choice for same-window macro
23318 (display-buffer): Mention special meaning of LABEL argument in
23319 doc-string. Fix quoting. Don't pop up a new frame even as
23322 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
23324 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
23325 avoid deleting the current window in some cases (bug#8911).
23327 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
23329 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
23332 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23334 * net/network-stream.el (network-stream-open-starttls):
23335 Use built-in TLS support if `gnutls-available-p' is true.
23336 (network-stream-open-tls): Ditto.
23338 2011-06-26 Leo Liu <sdl.web@gmail.com>
23340 * register.el (registerv): New struct.
23341 (registerv-make): New function.
23342 (jump-to-register, describe-register-1, insert-register):
23343 Support the jump-func, print-func and insert-func slot of a registerv
23346 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23348 * vc/vc.el (vc-revert-show-diff): New defcustom.
23349 (vc-diff-internal): New arg specifying diff buffer.
23350 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
23351 reuse an existing *vc-diff* buffer (Bug#8927).
23353 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
23355 2011-06-26 Glenn Morris <rgm@gnu.org>
23357 * progmodes/f90.el (f90-critical-indent): New option.
23358 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
23359 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
23360 (f90-mode): Doc fix.
23361 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
23362 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
23363 (f90-beginning-of-block, f90-next-block, f90-indent-region)
23364 (f90-match-end): Handle block, critical.
23366 2011-06-25 Glenn Morris <rgm@gnu.org>
23368 * calendar/diary-lib.el (diary-included-files): Doc fix.
23369 (diary-include-files): New function, extracted from
23370 diary-include-other-diary-files and diary-mark-included-diary-files.
23371 (diary-include-other-diary-files, diary-mark-included-diary-files):
23372 Just call diary-include-files.
23373 (diary-mark-entries): Reset diary-included-files on first call.
23375 * calendar/diary-lib.el (diary-mark-entries)
23376 (diary-mark-included-diary-files):
23377 Visit included diary-files in temp buffers.
23379 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
23380 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
23381 (f90-start-block-re, f90-imenu-generic-expression)
23382 (f90-looking-at-program-block-start, f90-no-block-limit):
23383 Add support for submodules.
23385 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23386 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
23388 2011-06-25 Eli Zaretskii <eliz@gnu.org>
23390 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
23391 buffer-file-type before setting its value, to avoid disastrous
23392 global effects on decoding files for DOS/Windows systems. (Bug#8780)
23394 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23396 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
23398 * ses.el (ses-unload-function):
23399 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
23401 * proced.el (proced-unload-function):
23402 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
23404 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
23406 * server.el (server-create-window-system-frame): Add parameters arg.
23407 (server-process-filter): Doc fix. Handle frame-parameters.
23409 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23411 Fix bug#8730, bug#8781.
23413 * loadhist.el (unload--set-major-mode): New function.
23414 (unload-feature): Use it.
23416 * progmodes/python.el (python-after-info-look): Add autoload cookie.
23417 (python-unload-function): New function.
23419 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
23421 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
23423 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
23425 * net/browse-url.el (browse-url-firefox-program): Add icecat to
23426 the candidates list.
23428 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
23430 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
23432 2011-06-23 Richard Stallman <rms@gnu.org>
23434 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
23435 (rmail-variables): Set next-error-move-function.
23436 (rmail-what-message): Take argument POS.
23437 (rmail-next-error-move): New function.
23439 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
23441 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
23442 messages for adjacent non-terminals.
23444 2011-06-23 Richard Stallman <rms@gnu.org>
23446 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
23447 (rmail-show-message-1): Preserve buffer modified flag.
23448 (rmail-start-mail): Don't specify use of rmail-mail-return;
23449 that's done by mail-bury now.
23450 (rmail-mail-return): Handle arg NEWBUF.
23452 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
23454 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
23457 2011-06-23 Martin Rudalics <rudalics@gmx.at>
23459 * window.el (get-lru-window, get-mru-window)
23460 (get-largest-window): Never return a minibuffer window.
23461 (display-buffer-pop-up-window): Fix a bug that could lead to
23462 reusing the minibuffer window.
23463 (display-buffer): Pass original specifier argument to
23464 display-buffer-function instead of the normalized one.
23465 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
23467 2011-06-22 Leo Liu <sdl.web@gmail.com>
23469 * minibuffer.el (completing-read-function)
23470 (completing-read-default): Move from minibuf.c.
23472 2011-06-22 Richard Stallman <rms@gnu.org>
23474 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
23475 to Rmail even if not started by a special Rmail command.
23477 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
23478 Copy the buffer currently showing just one message.
23480 2011-06-22 Roland Winkler <winkler@gnu.org>
23482 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
23483 (bibtex-clean-entry): First delete the old key so that a
23484 customized algorithm for generating the new key does not get
23485 confused by the old key.
23486 (bibtex-url): Obey regexp of first step.
23487 (bibtex-search-entries): Do not use add-to-list with local
23490 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23492 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
23493 stored a user name, then query for the password first, instead of
23494 waiting for SMTP to give an error message and the trying again.
23496 2011-06-22 Lawrence Mitchell <wence@gmx.li>
23498 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
23499 BUFFER in call-process.
23501 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23503 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
23505 (smtpmail-try-auth-methods): Require user name and password from
23508 2011-06-22 Martin Rudalics <rudalics@gmx.at>
23510 * window.el (display-buffer-default-specifiers)
23511 (display-buffer-alist): Remove entries for pop-up-frame-alist.
23512 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
23513 (split-window): Normalize SIDE argument (Bug#8916).
23515 * frame.el (pop-up-frame-alist, pop-up-frame-function)
23516 (special-display-frame-alist, special-display-popup-frame):
23517 Remove duplicate declarations. These are now in window.el.
23519 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
23521 * mail/smtpmail.el (smtpmail-via-smtp):
23522 Set :use-starttls-if-possible so that we always use STARTTLS if the
23523 server supports it. SMTP servers that support STARTTLS commonly
23526 * net/network-stream.el (network-stream-open-starttls): Support
23527 upgrading to STARTTLS always, even if we don't have built-in support.
23528 (open-network-stream): Add the :always-query-capabilities keyword.
23530 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
23531 upgrades with `open-network-stream', and rely solely on
23532 auth-source for all credentials. Big changes throughout the file,
23534 (smtpmail-auth-credentials): Remove.
23535 (smtpmail-starttls-credentials): Remove.
23536 (smtpmail-via-smtp): Check for servers saying they want AUTH after
23539 * net/network-stream.el (network-stream-open-starttls):
23540 Provide support for client certificates both for external and built-in
23542 (auth-source): Require.
23543 (open-network-stream): Document the :client-certificate keyword.
23544 (network-stream-certificate): Change cert-cert to cert and
23547 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
23549 * net/tramp-cache.el (top): Don't load the persistency file when
23550 "emacs -Q" has been called.
23552 2011-06-21 Tim Harper <timcharper@gmail.com>
23554 * term/ns-win.el (ns-initialize-window-system):
23555 Set application-specific `ApplePressAndHoldEnabled' system
23556 resource to NO as it is not yet supported by the NS port.
23558 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
23560 * misc.el (list-dynamic-libraries--refresh): Compute header here...
23561 (list-dynamic-libraries): ...not here.
23563 2011-06-21 Leo Liu <sdl.web@gmail.com>
23565 * subr.el (sha1): Implement sha1 using secure-hash.
23567 2011-06-21 Martin Rudalics <rudalics@gmx.at>
23569 * window.el (display-buffer-alist): In default value do not
23570 enforce searching a window on any but the selected frame.
23571 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
23572 (display-buffer-select-window): Remove function.
23573 (display-buffer-in-window): When a window on another frame gets
23574 reused, do not select it any more but just raise its frame if
23575 necessary (Bug#8851) and (Bug#8856).
23576 (display-buffer-normalize-options): Handle pop-up-frames related
23577 options more faithfully.
23578 (pop-to-buffer): Don't rely on `display-buffer' selecting the
23579 window if it is on another frame.
23580 (display-buffer-alist, display-buffer-default-specifiers):
23581 Don't make new frame unsplittable by default.
23582 (display-buffer-normalize-argument): Fix doc-string typo and use
23583 'same-frame-other-window instead of 'other-window when associating
23584 with display-buffer-macro-specifiers.
23586 2011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
23588 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
23590 (5x5-mode-map, 5x5-mode-menu): Bind them.
23591 (5x5-draw-grid): Tweak the solver's rendering.
23593 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23595 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
23596 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
23598 2011-06-21 Drew Adams <drew.adams@oracle.com>
23600 * menu-bar.el: Use function variable instead of switch-to-buffer.
23601 (menu-bar-select-buffer-function): New variable.
23602 (menu-bar-update-buffers): Use it (bug#8876).
23604 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23606 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
23609 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
23611 * x-dnd.el (x-dnd-version-from-flags)
23612 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
23613 and long as number (Bug#8899).
23614 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
23616 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
23618 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
23619 (completion-try-completion, completion-all-completions): Compute the
23620 metadata argument if it's missing; make it optional (bug#8795).
23622 * wid-edit.el: Use lex-bind and move towards completion-at-point.
23623 (widget-complete): Use new :completion-function property.
23624 (widget-completions-at-point): New function.
23625 (default): Use :completion-function instead of :complete.
23626 (widget-default-completions): Rename from widget-default-complete;
23628 (widget-string-complete, widget-file-complete, widget-color-complete):
23630 (file, symbol, function, variable, coding-system, color):
23631 * international/mule-cmds.el (default-input-method, charset)
23632 (language-info-custom-alist):
23633 * cus-edit.el (face): Use new property :completions.
23635 * progmodes/pascal.el (pascal-completions-at-point): New function.
23636 (pascal-mode): Use it.
23637 (pascal-mode-map): Use completion-at-point.
23638 (pascal-toggle-completions): Make obsolete.
23639 (pascal-complete-word, pascal-show-completions):
23640 * progmodes/octave-mod.el (octave-complete-symbol):
23641 Redefine as obsolete alias.
23642 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
23643 Signal absence of completion info for old Octave,
23644 (inferior-octave-complete): Redefine as obsolete alias.
23645 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
23646 (meta-completions-at-point): Rename from meta-complete-symbol and
23647 adapt it for use on completion-at-point-functions.
23648 (meta-common-mode): Use it.
23649 (meta-looking-at-backward, meta-match-buffer): Remove.
23650 (meta-complete-symbol): Redefine as obsolete alias.
23651 (meta-common-mode-map): Use completion-at-point.
23652 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
23653 (makefile-mode-map): Use completion-at-point.
23654 (makefile-completions-at-point): Rename from makefile-complete and
23655 adapt it for use on completion-at-point-functions.
23656 (makefile-mode): Use it.
23657 (makefile-complete): Redefine as obsolete alias.
23659 2011-06-20 Deniz Dogan <deniz@dogan.se>
23661 * net/rcirc.el: Delete trailing whitespaces once and for all.
23663 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
23665 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
23667 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
23669 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
23671 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
23673 2011-06-19 Martin Rudalics <rudalics@gmx.at>
23675 * window.el (display-buffer-other-window-means-other-frame):
23676 Call display-buffer-normalize-alist.
23677 (display-buffer-normalize-specifiers-1): Rename to
23678 display-buffer-normalize-argument. New argument other-frame.
23680 (display-buffer-normalize-specifiers-2): Rename to
23681 display-buffer-normalize-options.
23682 (display-buffer-normalize-alist-1): New function.
23683 (display-buffer-normalize-specifiers-3): Rename to
23684 display-buffer-normalize-alist.
23685 Call display-buffer-normalize-alist-1.
23686 (display-buffer-normalize-options-inhibit): New variable.
23687 (display-buffer-normalize-specifiers): Rewrite calling
23688 display-buffer-normalize-alist,
23689 display-buffer-normalize-argument, and
23690 display-buffer-normalize-options. Don't call the latter if
23691 display-buffer-normalize-options-inhibit is non-nil.
23692 (frame-auto-delete): New option.
23693 (window-deletable-p): Use frame-auto-delete.
23694 (window-list-no-nils, window-state-ignored-parameters)
23695 (window-state-get-1, window-state-get, window-state-put-list)
23696 (window-state-put-1, window-state-put-2, window-state-put):
23698 (display-buffer-normalize-options): Move special-display-p group
23699 after pop-up-frame group (Bug#8851) and (Bug#8856).
23701 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
23703 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
23705 (rx-submatch-n): New function.
23708 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
23711 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
23713 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
23715 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
23716 anytime existing face settings are present (Bug#8889).
23718 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
23719 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
23720 Remove unused argument.
23722 2011-06-18 Martin Rudalics <rudalics@gmx.at>
23724 * window.el (display-buffer-default-specifiers):
23725 Remove pop-up-frame. Add pop-up-window-min-height,
23726 pop-up-window-min-width, and another reuse-window specifier
23727 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
23728 (display-buffer-normalize-specifiers-2):
23729 Handle split-height-threshold and split-width-threshold also when
23730 pop-up-windows is unset. Add a reuse-window specifier for the
23731 case popping up a new window fails.
23732 (special-display-popup-frame): Remove double quoting.
23733 (display-buffer-normalize-specifiers-1): Fix thinko.
23735 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
23737 * shell.el (shell-completion-vars): Set pcomplete-termination-string
23738 according to comint-completion-addsuffix.
23740 * pcomplete.el: Convert to lexical binding and fix bug#8819.
23741 (pcomplete-suffix-list): Mark as obsolete.
23742 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
23743 pcomplete-seen in the closure.
23744 (pcomplete-comint-setup): Setup completion-at-point as well.
23745 (pcomplete--entries): New function.
23746 (pcomplete--env-regexp): New var.
23747 (pcomplete-entries): Rewrite to work with partial-completion and
23748 without relying on pcomplete-suffix-list.
23749 (pcomplete-pare-list): Remove, unused.
23751 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23753 * window.el (display-buffer-alist): Set pop-up-window-min-height
23754 and pop-up-window-min-width in default value. Reported by
23755 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
23756 other-window-means-other-frame.
23757 (display-buffer-macro-specifiers): Comment out entry for
23758 other-window specifier.
23759 (display-buffer-other-window-means-other-frame): New function.
23760 (display-buffer-normalize-specifiers-1): New arguments
23761 buffer-name and label. Treat other-window case specially.
23762 (display-buffer-normalize-specifiers-2): Treat other-window case
23764 (display-buffer-normalize-specifiers-3): New function.
23765 (display-buffer-normalize-specifiers):
23766 Call display-buffer-normalize-specifiers-3.
23768 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23770 * window.el (same-window-p): Fix two typos introduced when
23771 adding with-no-warnings.
23772 (display-buffer-normalize-specifiers-1): Don't check
23773 pop-up-frames for 'unset initialization.
23774 (display-buffer-normalize-specifiers-2): Major rewrite using
23775 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
23776 (pop-up-frames, display-buffer-reuse-frames)
23777 (display-buffer-mark-dedicated): Don't initialize to 'unset.
23778 Suggested by David Engster <deng@randomsample.de>.
23779 (even-window-heights): Initialize to 'unset.
23780 (display-buffer-alist-set): Handle new 'unset initializations.
23781 (display-buffer-macro-specifiers): Don't pop up a new frame in the
23784 2011-06-16 Martin Rudalics <rudalics@gmx.at>
23786 * window.el (display-buffer-normalize-specifiers-1):
23787 Respect current value of pop-up-frames for most reasonable values of
23788 second argument of display-buffer (Bug#8865).
23789 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
23790 (switch-to-buffer-other-window-same-frame)
23791 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
23793 (display-buffer): Don't check noninteractive when calling
23794 display-buffer-pop-up-frame.
23795 (display-buffer-pop-up-frame): Never pop up a frame in
23796 noninteractive mode (Bug#8857).
23797 (enlarge-window, shrink-window): Don't report an error when the
23798 window can't be resized as requested (Bug#8862).
23800 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23802 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
23804 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
23806 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
23808 2011-06-15 Alan Mackenzie <acm@muc.de>
23810 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
23811 for declarators, disable knr checking to speed up for normal files.
23812 2: Refactor, replacing a sequence of nested if forms by a cond form.
23814 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
23816 * net/network-stream.el (open-network-stream): Add the keyword
23817 :always-query-capabilities for the case where you want to force a
23818 `plain' network connection, but the protocol still requires the
23819 capabilitiy command (i.e., SMTP and EHLO).
23821 * subr.el (process-live-p): Rename from `process-alive-p' for
23822 consistency with other `-live-p' functions.
23824 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23826 * window.el (same-window-buffer-names, same-window-regexps)
23827 (special-display-frame-alist, special-display-popup-frame)
23828 (special-display-function, special-display-buffer-names)
23829 (special-display-regexps, pop-up-frame-alist)
23830 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
23831 (pop-up-windows, split-window-preferred-function)
23832 (split-height-threshold, split-width-threshold, even-window-heights)
23833 (display-buffer-mark-dedicated): Don't encourage the use of
23834 display-buffer-alist from Elisp code.
23836 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
23838 * progmodes/python.el (python-mode): Derive from prog-mode.
23839 * progmodes/ps-mode.el (ps-mode):
23840 * progmodes/mixal-mode.el (mixal-mode):
23841 * progmodes/cfengine.el (cfengine-mode):
23842 * progmodes/ld-script.el (ld-script-mode): Likewise.
23844 2011-06-15 Martin Rudalics <rudalics@gmx.at>
23846 * window.el (display-buffer-alist): Trim default value to avoid
23847 popping up a new frame (Bug#8857) or reusing an arbitrary window
23849 (display-buffer): Do not fall back on popping up a new frame in
23850 batch mode (Bug#8857).
23852 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
23854 * cus-theme.el (describe-theme-1): Use custom-theme-p.
23855 (custom-theme-summary): New function.
23856 (customize-themes): Use it.
23858 2011-06-13 Glenn Morris <rgm@gnu.org>
23860 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
23862 2011-06-13 Martin Rudalics <rudalics@gmx.at>
23864 * help.el (help-window): Remove variable.
23865 (help-window-point-marker, temp-buffer-max-height)
23866 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
23867 (help-print-return-message): Don't set help-window.
23868 (resize-temp-buffer-window): Rewrite cod eand doc-string.
23869 (help-window-setup-finish): Remove.
23870 (help-window-display-message, help-window-setup)
23871 (with-help-window): Major rewrite based on new
23872 display-buffer-window variable.
23874 * help-mode.el (help-mode-finish): Remove help-window related
23877 * view.el (view-exits-all-viewing-windows): Remove reference to
23878 view-return-to-alist in doc-string.
23879 (view-return-to-alist): Make obsolete.
23880 (view-buffer): Call pop-to-buffer-same-window and remove
23882 (view-buffer-other-window): Call pop-to-buffer-other-window and
23883 simplify code. Ignore second argument.
23884 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
23885 simplify code. Ignore second argument.
23886 (view-return-to-alist-update): Make obsolete.
23887 (view-mode-enter): Rename second argument to QUIT-RESTORE.
23888 Rewrite using quit-restore window parameters.
23889 (view-mode-exit): Rename second argument to EXIT-ONLY.
23890 Rewrite using quit-restore-window.
23891 (View-exit, View-exit-and-edit, View-leave, View-quit)
23892 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
23893 appropriate arguments.
23894 (view-end-message): Use quit-restore window parameter.
23896 * window.el (display-buffer-function): Rewrite doc-string.
23897 (display-buffer-window, display-buffer-alist): New variables.
23898 (display-buffer-split-specifiers)
23899 (display-buffer-side-specifiers)
23900 (display-buffer-macro-specifiers): New constants.
23901 (display-buffer-even-window-sizes, display-buffer-set-height)
23902 (display-buffer-set-width, display-buffer-select-window)
23903 (display-buffer-in-window, display-buffer-reuse-window)
23904 (display-buffer-split-window-1, display-buffer-split-window)
23905 (display-buffer-split-atom-window, display-buffer-pop-up-window)
23906 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
23907 (display-buffer-in-side-window, normalize-buffer-to-display)
23908 (display-buffer-normalize-specifiers-1)
23909 (display-buffer-normalize-specifiers-2)
23910 (display-buffer-normalize-specifiers, display-buffer-frame):
23912 (display-buffer): Major rewrite.
23913 (display-buffer-other-window, display-buffer-other-frame)
23914 (pop-to-buffer, switch-to-buffer-other-window)
23915 (switch-to-buffer-other-frame): Rewrite.
23916 (display-buffer-same-window, display-buffer-same-frame)
23917 (display-buffer-same-frame-other-window)
23918 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
23919 (pop-to-buffer-other-window)
23920 (pop-to-buffer-same-frame-other-window)
23921 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
23922 (switch-to-buffer-other-window-same-frame): New functions.
23923 (same-window-p, special-display-p): Rewrite disabling warnings.
23925 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23926 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
23928 (same-window-buffer-names, same-window-regexps)
23929 (special-display-frame-alist, special-display-popup-frame)
23930 (special-display-function, special-display-buffer-names)
23931 (special-display-regexps, pop-up-frame-alist)
23932 (pop-up-frame-function, split-window-preferred-function)
23933 (split-height-threshold, split-width-threshold)
23934 (even-window-heights): Make obsolete.
23936 2011-06-12 Glenn Morris <rgm@gnu.org>
23938 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
23939 Misc simplifications.
23941 2011-06-12 Martin Rudalics <rudalics@gmx.at>
23943 * window.el (window-safely-shrinkable-p): Restore function which
23944 was inadvertently removed in change from 2011-06-11. Declare as
23947 * calendar/calendar.el (calendar-generate-window):
23948 Use window-iso-combined-p instead of combination of one-window-p and
23949 window-safely-shrinkable-p.
23951 2011-06-12 Glenn Morris <rgm@gnu.org>
23953 * progmodes/fortran.el (fortran-mode-syntax-table):
23954 * progmodes/f90.el (f90-mode-syntax-table):
23955 Set % to punctuation. (Bug#8820)
23956 (f90-find-tag-default): Remove, no longer needed.
23958 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
23960 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
23962 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
23964 * image.el (image-animated-p): Return animation delay in seconds.
23965 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
23966 (image-animate-timeout): Remove DELAY argument. Don't assume
23967 every subimage has the same delay; get it from image-animated-p.
23968 (image-animate): Caller changed.
23970 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
23972 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
23973 to ignored backtrace functions.
23975 2011-06-11 Glenn Morris <rgm@gnu.org>
23977 * calendar/appt.el (appt-disp-window-function): Doc fix.
23978 (appt-check): Handle overlapping appointments. (Bug#8337)
23980 2011-06-11 Martin Rudalics <rudalics@gmx.at>
23982 * window.el (window-tree-1, window-tree): New functions, moving
23983 the latter to window.el.
23984 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
23985 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
23986 (bw-refresh-edges): Remove.
23987 (balance-windows-1, balance-windows-2): New functions.
23988 (balance-windows): Rewrite in terms of window tree functions,
23989 balance-windows-1 and balance-windows-2.
23990 (bw-adjust-window): Remove.
23991 (balance-windows-area-adjust): New function with functionality of
23992 bw-adjust-window but using resize-window.
23993 (set-window-text-height): Rewrite doc-string.
23994 Use normalize-live-window and resize-window.
23995 (enlarge-window-horizontally, shrink-window-horizontally):
23996 Rename argument to DELTA.
23997 (window-buffer-height): New function.
23998 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
23999 Rewrite using new window resize routines.
24000 (kill-buffer-and-window, mouse-autoselect-window-select):
24001 Use ignore-errors instead of condition-case.
24002 (quit-window): Call delete-frame instead of delete-windows-on
24003 for the only buffer on frame.
24005 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24007 * loadup.el (top-level): Load window before files for the sake
24008 of replace-buffer-in-windows.
24010 * files.el (read-buffer-to-switch)
24011 (switch-to-buffer-other-window)
24012 (switch-to-buffer-other-frame, display-buffer-other-frame):
24015 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
24016 (previous-buffer): Move to window.el.
24018 * bindings.el (unbury-buffer): Move to window.el.
24020 * window.el (delete-other-windows-vertically): Move after
24021 definition of delete-other-windows.
24022 (other-window, delete-windows-on, replace-buffer-in-windows):
24023 Move here from window.c.
24024 (record-window-buffer, unrecord-window-buffer)
24025 (set-window-buffer-start-and-point, switch-to-prev-buffer)
24026 (switch-to-next-buffer): New functions.
24027 (get-next-valid-buffer, last-buffer, next-buffer): Move here
24028 from simple.el. Call switch-to-next-buffer.
24029 (previous-buffer): Move here from simple.el.
24030 Call switch-to-prev-buffer.
24031 (bury-buffer): Move here from buffer.c. Switch to previous
24032 buffer when window cannot be deleted.
24033 (unbury-buffer): Move here from bindings.el.
24034 (ctl-x-map): Move binding for other-window from window.c to
24036 (read-buffer-to-switch, switch-to-buffer-other-window)
24037 (switch-to-buffer-other-frame): Move here from files.el.
24038 (normalize-buffer-to-switch-to): New functions.
24039 (switch-to-buffer): Move here from buffer.c.
24040 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
24042 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24044 * window.el (window-min-height, window-min-width): Move here
24045 from window.c. Add defcustoms and rewrite doc-strings.
24046 (resize-mini-window, resize-window): New functions.
24047 (adjust-window-trailing-edge, enlarge-window, shrink-window):
24048 Move here from window.c.
24049 (maximize-window, minimize-window): New functions.
24050 (delete-window, delete-other-windows, split-window): Move here
24052 (window-split-min-size): New function.
24053 (split-window-keep-point): Mention split-window-above-each-other
24054 instead of split-window-vertically.
24055 (split-window-above-each-other, split-window-vertically):
24056 Rename split-window-vertically to split-window-above-each-other
24057 and provide defalias for old definition.
24058 (split-window-side-by-side, split-window-horizontally):
24059 Rename split-window-horizontally to split-window-side-by-side
24060 and provide defalias for the old definition.
24061 (ctl-x-map): Move bindings for delete-window,
24062 delete-other-windows and enlarge-window here from window.c.
24063 Replace bindings for split-window-vertically and
24064 split-window-horizontally by bindings for
24065 split-window-above-each-other and split-window-side-by-side.
24067 * cus-start.el (all): Remove entries for window-min-height and
24068 window-min-width. Add entries for window-splits and
24071 2011-06-09 Glenn Morris <rgm@gnu.org>
24073 * calendar/appt.el (appt-mode-line): New function.
24074 (appt-check, appt-disp-window): Use it.
24076 * files.el (hack-one-local-variable-eval-safep):
24077 Allow minor-modes with explicit +/-1 arguments.
24079 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
24081 * term/xterm.el (xterm): Add defgroup.
24082 (xterm-extra-capabilities): Add defcustom to supply known xterm
24083 capabilities, skip querying them, or query them (default).
24084 (terminal-init-xterm): Use it.
24085 (terminal-init-xterm-modify-other-keys): New function to set up
24086 modifyOtherKeys support to simplify `terminal-init-xterm'.
24088 2011-06-09 Martin Rudalics <rudalics@gmx.at>
24090 * window.el (resize-window-reset, resize-window-reset-1)
24091 (resize-subwindows-skip-p, resize-subwindows-normal)
24092 (resize-subwindows, resize-other-windows, resize-this-window)
24093 (resize-root-window, resize-root-window-vertically)
24094 (window-deletable-p, window-or-subwindow-p)
24095 (frame-root-window-p): New functions.
24097 2011-06-09 Glenn Morris <rgm@gnu.org>
24099 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
24100 (ange-ftp-get-files): Use it.
24102 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
24104 * mail/sendmail.el (mail-recover-1, mail-recover):
24105 * files.el (recover-file, recover-session):
24106 Handle dired-listing-switches not being just a single short option.
24108 2011-06-09 Glenn Morris <rgm@gnu.org>
24110 * calendar/appt.el (appt-display-message, appt-disp-window):
24111 Handle lists of appointments.
24113 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24115 * window.el (one-window-p): Move down in code.
24116 Rewrite doc-string.
24117 (window-current-scroll-bars): Rewrite doc-string.
24118 Normalize live window argument.
24119 (walk-windows, get-window-with-predicate, count-windows):
24120 Rewrite doc-string. Use window-list-1.
24121 (window-in-direction-2, window-in-direction, get-mru-window):
24124 2011-06-08 Reuben Thomas <rrt@sc3d.org>
24126 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
24127 Doc fix (Bug#8713).
24129 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
24131 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
24133 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
24135 * loadhist.el (unload-feature-special-hooks):
24136 Add `comint-output-filter-functions'.
24138 2011-06-08 Ivan Kanis <gnu@kanis.fr>
24140 * calendar/appt.el (appt-check): Move some initializations into the let.
24142 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24144 * window.el (window-height): Defalias to window-total-height.
24145 (window-width): Defalias to window-body-width.
24147 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
24149 * image-mode.el (image-toggle-animation): New command.
24150 (image-mode-map): Bind it to RET.
24151 (image-mode): Update message.
24152 (image-toggle-display-image): Avoid a spurious cache flush.
24153 (image-transform-rotation): Doc fix.
24154 (image-transform-properties): Return quickly in the normal case.
24155 (image-animate-loop): Rename from image-animate-max-time.
24157 * image.el (image-animate-max-time): Move to image-mode.el.
24158 (create-animated-image): Remove unnecessary function.
24159 (image-animate): Rename from image-animate-start. New arg.
24160 (image-animate-stop): Remove; just use image-animate-timer.
24161 (image-animate-timer): Use car-safe.
24162 (image-animate-timeout): Rename argument.
24164 2011-06-07 Martin Rudalics <rudalics@gmx.at>
24166 * window.el (get-lru-window, get-largest-window): Move here from
24167 window.c. Rename first argument to ALL-FRAMES.
24168 Rephrase doc-strings.
24169 (get-buffer-window-list): Rewrite using window-list-1.
24170 Rephrase doc-string.
24171 (window-safe-min-height, window-safe-min-width): New constants.
24172 (window-size-ignore, window-min-size, window-min-size-1)
24173 (window-sizable, window-sizable-p, window-size-fixed-1)
24174 (window-size-fixed-p, window-min-delta-1, window-min-delta)
24175 (window-max-delta-1, window-max-delta, window-resizable)
24176 (window-resizable-p, window-total-height, window-total-width)
24177 (window-body-width): New functions.
24178 (window-full-height-p, window-full-width-p): Rewrite using
24180 (window-body-height): Rewrite using window-body-size.
24182 2011-06-06 Martin Rudalics <rudalics@gmx.at>
24184 * window.el (window-right, window-left, window-child)
24185 (window-child-count, window-last-child, window-any-p)
24186 (normalize-live-buffer, normalize-live-frame)
24187 (normalize-any-window, normalize-live-window)
24188 (window-iso-combination-p, window-iso-combined-p)
24189 (window-iso-combinations)
24190 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
24191 (windows-with-parameter, window-with-parameter)
24192 (window-atom-root, make-window-atom, window-atom-check-1)
24193 (window-atom-check, window-side-check, window-check):
24195 (ignore-window-parameters, window-sides, window-sides-vertical)
24196 (window-sides-slots): New variables.
24197 (window-size-fixed): Move down in code. Minor doc-string fix.
24199 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
24201 * comint.el (comint-dynamic-complete-as-filename)
24202 (comint-dynamic-complete-filename): Correctly call
24203 completion-in-region.
24205 2011-06-05 Deniz Dogan <deniz@dogan.se>
24207 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
24210 2011-06-05 Deniz Dogan <deniz@dogan.se>
24212 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
24213 (rcirc): Use it to prompt for encryption.
24215 2011-06-05 Roland Winkler <winkler@gnu.org>
24217 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
24218 (bibtex-search-entries): New command bound to C-c C-a.
24219 (bibtex-display-entries): New function.
24221 2011-06-05 Roland Winkler <winkler@gnu.org>
24223 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
24224 (bibtex-insert-kill): After yanking insert newline if necessary.
24225 (bibtex-initialize): Call bibtex-string-files-init only once.
24226 (bibtex-mode): Do not call easy-menu-add.
24227 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
24228 (bibtex-yank): Set arg properly if nil.
24230 2011-06-05 Roland Winkler <winkler@gnu.org>
24232 * textmodes/bibtex.el (bibtex-search-entry-globally):
24234 (bibtex-search-entry): Use it.
24236 2011-06-05 Roland Winkler <winkler@gnu.org>
24238 * textmodes/bibtex.el (bibtex-entry-format): New option
24240 (bibtex-format-entry, bibtex-reformat): Honor this option.
24241 (bibtex-parse-entry): Return fields in proper order.
24243 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
24245 * doc-view.el (doc-view-remove-if): Move computation of result out
24246 of `dolist' to silence misleading lexical-binding warning.
24248 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
24250 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
24251 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
24253 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24255 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
24258 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24260 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
24261 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
24262 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
24263 (tramp-parse-putty):
24264 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
24265 (tramp-completion-function-alist-ssh)
24266 (tramp-completion-function-alist-telnet)
24267 (tramp-completion-function-alist-su)
24268 (tramp-completion-function-alist-putty): Set `tramp-autoload'
24271 * net/tramp-ftp.el:
24273 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
24274 load "tramp.el" `tramp-set-completion-function'.
24276 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
24278 * shell.el: Require and use pcomplete.
24279 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
24280 (shell-completion-vars): Set pcomplete-default-completion-function.
24282 2011-06-04 Deniz Dogan <deniz@dogan.se>
24284 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
24287 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24289 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
24291 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
24293 * bs.el (bs--mark-unmark, bs--nth-wrapper):
24294 * mpc.el (mpc-select-extend, mpc-songpointer-context):
24295 * vc/log-view.el (log-view-beginning-of-defun):
24296 * vc/smerge-mode.el (smerge-apply-resolution-patch)
24297 (smerge-refine-forward, smerge-refine-chopup-region):
24298 Silence warning for unused `dotimes' counter variables.
24300 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24302 * net/tramp.el (tramp-with-progress-reporter): Rename from
24303 with-progress-reporter. Use `declare'.
24304 * net/tramp-smb.el:
24306 * net/tramp-gvfs.el: Update all uses.
24308 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
24310 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
24311 buffer isn't killed before making it current.
24313 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24315 Silence various byte-compiler warnings.
24316 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
24317 `access-type' and new obsolescence format.
24318 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
24320 (byte-compile-check-variable): New `access-type' argument.
24321 Only warn if the access-type is obsolete.
24322 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24323 (byte-compile-variable-set): Adjust callers.
24324 * help-fns.el (describe-variable): Adjust to new obsolescence format.
24325 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
24326 setting it as obsolete.
24327 * simple.el (minibuffer-completing-symbol):
24328 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
24329 access as obsolete.
24330 * minibuffer.el (minibuffer-completing-file-name): Don't make it
24332 * international/quail.el (quail-mouse-choose-completion): Remove unused
24333 code referring to obsolete var.
24334 (quail-choose-completion-string): Remove.
24335 * server.el (server-clients-with, server-kill-buffer-query-function)
24336 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
24337 * proced.el (proced-send-signal):
24338 * emacs-lisp/lisp.el (lisp-complete-symbol):
24339 Replace completion-annotate-function with completion-extra-properties.
24341 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24343 * simple.el (goto-line): Use read-number.
24344 (overriding-map-is-bound): Remove.
24345 (saved-overriding-map): Change default.
24346 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
24347 Take the map as argument.
24348 (universal-argument, negative-argument, digit-argument): Use it.
24349 (restore-overriding-map): Adjust.
24350 (do-auto-fill): Use fill-forward-paragraph.
24351 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
24353 * minibuffer.el (minibuffer-inactive-mode-map): New var.
24354 (minibuffer-inactive-mode): New major mode.
24355 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
24356 the *Messages* buffer" hack.
24357 (mouse-popup-menubar): Don't burp if the event is a normal key.
24359 Miscellaneous tweaks.
24360 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
24361 lexical scoping as in subr.el's dolist and dotimes.
24362 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
24363 Silence compiler warning.
24364 * thingatpt.el (forward-whitespace): Trivial coding style fix.
24365 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
24366 * international/ccl.el (ccl-compile): Trivial simplification.
24367 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
24368 * emacs-lisp/testcover.el (testcover-end): Remove spurious
24369 `printflag' argument.
24370 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
24371 Purecopy the whole obsolescence data.
24373 2011-06-01 Leo Liu <sdl.web@gmail.com>
24375 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
24376 improve doc-string as suggested by Marco Pessotto
24377 <melmothx@gmail.com>.
24378 (rcirc-print): Fix last change.
24380 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24382 * minibuffer.el (complete-with-action): Return nil for the metadata and
24383 boundaries of non-functional tables.
24384 (completion-table-dynamic): Return nil for the metadata.
24385 (completion-table-with-terminator): Add default case, using
24386 complete-with-action.
24387 (completion--metadata): New function.
24388 (completion-all-sorted-completions, minibuffer-completion-help): Use it
24389 to try and avoid pathological performance problems.
24390 (completion--embedded-envvar-table): Return `category' metadata.
24392 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
24394 * subr.el (process-alive-p): New tiny convenience function.
24396 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24398 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
24399 content but also its previous major mode.
24401 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
24403 * emacs-lisp/debug.el (debug): Restore the previous content of the
24404 *Backtrace* buffer when we exit with C-M-c.
24406 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24408 * minibuffer.el: Add metadata method to completion tables.
24409 (completion-category-overrides): New defcustom.
24410 (completion-metadata, completion--field-metadata)
24411 (completion-metadata-get, completion--styles)
24412 (completion--cycle-threshold): New functions.
24413 (completion-try-completion, completion-all-completions):
24414 Add `metadata' argument to choose completion-styles.
24415 (completion--do-completion): Use metadata to choose cycling.
24416 (completion-all-sorted-completions): Use metadata for sorting.
24417 Remove :completion-cycle-penalty which is not needed any more.
24418 (completion--try-word-completion): Add `metadata' argument.
24419 (minibuffer-completion-help): Check metadata for annotation function
24421 (completion-file-name-table): Return `category' metadata.
24422 (minibuffer-completing-file-name): Make obsolete.
24423 * simple.el (minibuffer-completing-symbol): Make obsolete.
24424 * icomplete.el (icomplete-completions): Pass new `metadata' param to
24425 completion-try-completion.
24427 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
24429 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
24431 2011-05-30 Leo Liu <sdl.web@gmail.com>
24433 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
24434 (rcirc-print): Decode all incoming messages (bug#8744).
24435 (rcirc-decode-coding-system): Allow value nil for automatic coding
24438 2011-06-01 Glenn Morris <rgm@gnu.org>
24440 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
24442 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24444 * image.el (image-animate-max-time): Allow nil and t values.
24446 (create-animated-image): Doc fix.
24447 (image-animate-start): Remove second arg; just use
24448 image-animate-max-time.
24449 (image-animate-timeout): Doc fix. Args changed.
24451 * image-mode.el (image-toggle-display-image): Ensure that the
24452 image spec passed to the animate timer is the same object as in
24453 the buffer's display property (Bug#6981).
24454 (image-transform-properties): Doc fix.
24456 * image.el (image-animate-max-time): Default to nil.
24458 2011-05-29 Martin Rudalics <rudalics@gmx.at>
24460 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
24461 entire buffer list (Bug#8184).
24463 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24465 * image.el (imagemagick-types-inhibit)
24466 (imagemagick-register-types): Doc fix.
24468 2011-05-29 Deniz Dogan <deniz@dogan.se>
24470 * net/rcirc.el (rcirc): Use the user's stored encryption method by
24473 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24475 * select.el: Don't perform clipboard-manager saving in hooks;
24476 leave the hooks empty.
24478 2011-05-28 Leo Liu <sdl.web@gmail.com>
24480 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
24481 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
24482 (occur-edit-mode): New major mode (Bug#8463).
24483 (occur-after-change-function): New function.
24484 (occur-engine): Give Occur tags a read-only property.
24486 2011-05-28 Kevin Ryde <user42@zip.com.au>
24488 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
24490 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24492 * bindings.el (help-echo): Make the initial non-indicator dash
24493 empty on graphical terminals (Bug#7295).
24495 * files.el (auto-mode-alist): Move config rule after the
24496 in-stripping one (Bug#8547).
24498 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
24500 * startup.el (normal-splash-screen): Remove gratuitous mode-line
24501 setting (Bug#8740).
24503 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
24505 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
24506 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
24509 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24511 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
24513 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
24515 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
24516 (hs-hide-block-at-point, hs-find-block-beginning)
24517 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
24520 2011-05-28 Glenn Morris <rgm@gnu.org>
24522 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
24524 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24526 * help-fns.el (describe-function-1): If the function is a derived
24527 major mode, print the parent mode.
24529 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
24530 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
24532 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
24534 * minibuffer.el (completion--capf-wrapper): Check applicability before
24535 returning non-nil for non-exclusive completion data.
24536 * progmodes/etags.el (tags-completion-at-point-function):
24537 * info-look.el (info-lookup-completions-at-point): Mark as
24539 (info-complete): Adjust accordingly.
24541 * info-look.el: Convert to lexical-binding and completion-at-point.
24542 (info-lookup-completions-at-point): New function.
24543 (info-complete): Use it and completion-in-region.
24545 2011-05-28 Drew Adams <drew.adams@oracle.com>
24547 * isearch.el: Let M-e start with point at the first mismatched char.
24548 (isearch-fail-pos): New function.
24549 (isearch-edit-string): Use it.
24551 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24553 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24555 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
24557 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
24558 traversal functions for avl-trees.
24559 (avl-tree--stack): New struct.
24560 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
24561 (avl-tree-enter): Add optional `updatefun' arg.
24562 (avl-tree--do-enter): Add optional `updatefun' arg.
24563 Change return value.
24564 (avl-tree-delete): Add optional `test' and `nilflag' args.
24565 (avl-tree--do-delete): Add `test' and `nilflag' args.
24566 Change return value.
24567 (avl-tree-member): Add optional `nilflag'
24568 (avl-tree-member-p): New function.
24569 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
24570 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
24571 (avl-tree-stack-empty-p): New functions.
24573 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
24574 avl-tree--del-balance1 and make it work both ways.
24575 (avl-tree--del-balance2): Remove.
24576 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
24577 make it work both ways.
24578 (avl-tree--enter-balance2): Remove.
24579 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
24581 (avl-tree--mapc, avl-tree-map): Add direction argument.
24583 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
24585 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
24587 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
24589 * select.el: Support clipboard managers with built-in function
24590 x-clipboard-manager-save, via delete-frame-functions and
24592 (xselect-convert-to-targets): Add MULTIPLE target to list.
24593 (xselect-convert-to-save-targets): New function.
24595 2011-05-27 Kenichi Handa <handa@m17n.org>
24597 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
24598 let-binding rfc2047-encode-encoded-words to nil.
24600 2011-05-27 Glenn Morris <rgm@gnu.org>
24602 * mail/emacsbug.el: Don't require url-util.
24604 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
24606 * files.el (set-auto-mode):
24607 Also respect mode: entries at the end of the file. (Bug#8586)
24609 2011-05-26 Glenn Morris <rgm@gnu.org>
24611 * files.el (hack-local-variables-prop-line, hack-local-variables):
24612 Downcase mode names, as seems to be traditional.
24613 (hack-local-variables, hack-local-variables-apply): Doc fixes.
24615 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
24616 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
24618 2011-05-25 Julien Danjou <julien@danjou.info>
24620 * textmodes/rst.el (rst-define-level-faces): Do not define face
24621 symbol if it is already defined.
24623 2011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
24625 * play/5x5.el (5x5-new-game, 5x5-randomize):
24626 Reset 5x5-solver-output to nil when a new grid is cast.
24627 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
24628 these debugging traces, as defmacro breaks the compiled code.
24630 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24632 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24634 2011-05-24 Leo Liu <sdl.web@gmail.com>
24636 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
24637 (vc-bzr-sha1): Adapt.
24639 * sha1.el: Remove. Function `sha1' is now builtin.
24641 * bindings.el: Provide sha1 feature.
24643 2011-05-24 Kenichi Handa <handa@m17n.org>
24645 * mail/sendmail.el: Require `rfc2047'.
24646 (mail-insert-from-field): Do not perform RFC2047 encoding.
24647 (mail-encode-header): New function.
24648 (sendmail-send-it): Set buffer-file-coding-system of the work
24649 buffer to the return value of select-message-coding-system.
24650 Call mail-encode-header.
24652 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
24654 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
24656 * mail/supercite.el (sc-default-cite-frame):
24657 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
24659 2011-05-24 Glenn Morris <rgm@gnu.org>
24661 * progmodes/python.el (brm-menu): Declare.
24663 * emulation/viper.el (viper-set-hooks): Declare.
24665 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
24666 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
24667 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
24668 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
24669 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
24670 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
24672 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
24674 Add an :exit-function for completion-at-point.
24676 * minibuffer.el (completion--done): New fun.
24677 (completion--do-completion): Use it. New arg `expect-exact'.
24678 (minibuffer-complete, minibuffer-complete-word): Don't output message,
24679 since completion--do-completion does it for us now.
24680 (minibuffer-force-complete): Use completion--done and
24681 completion--replace. Handle sole-completion case with more care.
24682 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
24683 (completion-extra-properties): New var.
24684 (completion-annotate-function): Make obsolete.
24685 (minibuffer-completion-help): Adjust accordingly.
24686 Use completion-list-insert-choice-function.
24687 (completion-at-point, completion-help-at-point):
24688 Bind completion-extra-properties.
24689 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
24690 * simple.el (completion-list-insert-choice-function): New var.
24691 (completion-setup-function): Preserve it.
24692 (choose-completion): Pay attention to it, shuffle the code a bit.
24693 (choose-completion-string): New arg `insert-function'.
24695 * textmodes/bibtex.el: Convert to lexical binding.
24696 (bibtex-mode-map): Use completion-at-point.
24697 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
24698 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
24699 (bibtex-complete): Define as obsolete alias.
24700 (bibtex-complete-internal): Remove.
24701 (bibtex-format-entry): Remove unused sub-group in regexp.
24702 * shell.el (shell--command-completion-data)
24703 (shell-environment-variable-completion):
24704 * pcomplete.el (pcomplete-completions-at-point):
24705 * comint.el (comint--complete-file-name-data): Use :exit-function
24706 instead of completion-table-with-terminator so it also works for
24709 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24711 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
24713 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
24716 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
24718 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
24720 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
24721 customization variable and implement: If non-nil, auto-fill will
24722 be inhibited while on topic's header line.
24724 2011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
24726 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
24727 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
24728 always have a solution in grid size = 5 cases.
24729 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
24730 (5x5-solver-output, 5x5-log-buffer): New vars.
24731 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
24732 Make these variables buffer local to achieve 5x5 multi-session-ness.
24733 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
24734 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
24735 (5x5-solve-suggest): New funs.
24736 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
24737 randomize a grid so that we ensure that there is always a solution.
24738 (5x5-make-random-grid): Allow other movement than flipping.
24740 2011-05-23 Kevin Ryde <user42@zip.com.au>
24742 * emacs-lisp/advice.el (ad-read-advised-function):
24743 Use `function-called-at-point' as the default, if it has
24744 advice and passes PREDICATE.
24746 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24748 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
24749 byte-compile-lambda if it's actually a lambda.
24751 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
24752 Fix function quoting. Use backquote better.
24754 2011-05-22 Yuanle Song <sylecn@gmail.com>
24756 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
24757 matching (Bug#8516).
24759 2011-05-22 Jari Aalto <jari.aalto@cante.net>
24761 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
24762 different face (Bug#8178).
24764 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
24766 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
24767 defface (Bug#8144).
24769 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
24771 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
24772 funcall as well (bug#8712). Warn when performing those conversions.
24773 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
24775 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
24777 2011-05-22 Glenn Morris <rgm@gnu.org>
24779 * files.el (hack-local-variables-prop-line): Small simplifications.
24780 (hack-local-variables, hack-local-variables-prop-line):
24781 If MODE-ONLY, return the mode, rather than just `t'.
24783 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
24785 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
24787 2011-05-21 Glenn Morris <rgm@gnu.org>
24789 * files.el (hack-local-variables-prop-line, hack-local-variables):
24790 If only interested in the mode, don't bother doing the other stuff.
24792 * image-mode.el (image-after-revert-hook):
24793 Redraw all frames on which the image is visible. (Bug#8567)
24795 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
24797 * wid-edit.el (widget-checklist-match-inline):
24798 Fix 2011-04-19 change. (Bug#8649)
24800 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
24802 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
24803 Also allow singlespace after single-letter capitals followed by a dot.
24805 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
24806 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
24808 2011-05-20 Nix <nix@esperi.org.uk>
24810 * files.el (basic-save-buffer-2):
24811 Fix handling of break-hardlink-on-save with non-existent files.
24813 2011-05-19 Deniz Dogan <deniz@dogan.se>
24815 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
24816 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
24818 2011-05-19 Glenn Morris <rgm@gnu.org>
24820 * progmodes/f90.el (f90-type-def-re):
24821 Handle "type, bind(c)". (Bug#8691)
24823 * emacs-lisp/autoload.el (batch-update-autoloads):
24824 Set autoload-excludes by parsing loadup.el rather than Makefiles.
24826 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
24828 * net/tramp.el (tramp-process-actions): Set "first-password-request"
24829 property for the correct connection in case of multihops.
24831 2011-05-18 Glenn Morris <rgm@gnu.org>
24833 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
24834 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
24836 Rationalize calendar handling of day and month abbrev-arrays.
24837 * calendar/calendar.el (calendar-customized-p): New function.
24838 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
24839 (calendar-day-name-array, calendar-month-name-array): Doc fix.
24841 (calendar-abbrev-length, calendar-day-abbrev-array)
24842 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
24843 (calendar-day-abbrev-array, calendar-month-abbrev-array):
24844 Elements may no longer be nil.
24845 (calendar-day-name, calendar-month-name):
24846 Update for changed nature of abbrev arrays.
24847 * calendar/diary-lib.el (diary-name-pattern):
24848 Update for changed nature of abbrev arrays.
24849 (diary-mark-entries-1): Update calendar-make-alist calls.
24850 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
24851 * calendar/cal-html.el (cal-html-day-abbrev-array):
24852 Simply inherit from calendar-day-abbrev-array.
24854 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
24856 * progmodes/grep.el (grep-mode): Disable default
24857 compilation-directory-matcher setting (bug#8684).
24859 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
24861 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
24862 instead of "head" and "tail". There were problems with SunOS 5.9,
24863 and it performs better.
24865 2011-05-17 Glenn Morris <rgm@gnu.org>
24867 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
24869 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
24870 Replace obsolete function.
24872 * shell.el (pcomplete-parse-arguments-function): Declare.
24874 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
24875 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
24876 (appt-check): Doc fixes.
24877 (appt-disp-window-function, appt-delete-window-function):
24878 Remove needless special case in custom :type.
24879 (appt-display-count): Default to 0, not nil.
24880 (appt-check): Reset appt-display-count to 0, not nil.
24882 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
24884 * progmodes/python.el (python-font-lock-keywords):
24885 Add the Python 3.X keyword "nonlocal" (bug#8639).
24887 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
24889 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
24891 2011-05-16 Kevin Ryde <user42@zip.com.au>
24893 * info-look.el (makefile-automake-mode): New setups, looking in
24894 automake manual, then makefile-mode.
24895 (makefile-mode): Remove automake manual, have it just in
24896 makefile-automake-mode since there's various things different or
24897 not relevant to plain make.
24898 (makefile-mode): Remove "other-modes" non-existent automake-mode,
24899 believe a hypothetical automake-mode would go to makefile-mode,
24900 not the other way around.
24902 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
24904 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
24905 hunk-end tags (Bug#8672).
24907 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
24908 vc-annotate-show-diff-revision-at-line (Bug#8671).
24910 2011-05-14 Glenn Morris <rgm@gnu.org>
24912 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
24913 in the middle of an existing one with multiple authors. (Bug#8645)
24914 (change-log-font-lock-keywords): Also handle multiple author lines
24915 with leading tabs. (Bug#8644)
24917 * calendar/appt.el (appt-check): Rename some local variables.
24918 Some simplification/reordering.
24920 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
24921 (feedmail-sendmail-f-doesnt-sell-me-out)
24922 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24923 (feedmail-debug-sit-for, feedmail-queue-express-hook)
24924 (feedmail-queue-runner-message-sender): Set :version.
24925 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
24926 (bbdb-dwim-net-address, vm-mail): Declare.
24927 (feedmail-binmail-gnulinuxish-template):
24928 Rename from feedmail-binmail-linuxish-template.
24929 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
24930 Use insert-buffer-substring.
24932 2011-05-14 Bill Carpenter <bill@carpenter.org>
24934 * mail/feedmail.el (feedmail-patch-level): Increase.
24935 (feedmail-debug): New custom group.
24936 (feedmail-confirm-outgoing-timeout)
24937 (feedmail-sendmail-f-doesnt-sell-me-out)
24938 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24939 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
24940 (feedmail-sender-line, feedmail-from-line)
24941 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
24942 (feedmail-spray-this-address)
24943 (feedmail-spray-address-fiddle-plex-list)
24944 (feedmail-queue-use-send-time-for-date)
24945 (feedmail-queue-use-send-time-for-message-id)
24946 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
24947 (feedmail-buffer-eating-function):
24949 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
24950 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
24951 (feedmail-message-action-scroll-down): New functions.
24952 (feedmail-queue-directory, feedmail-queue-draft-directory):
24953 Use expand-file-name.
24954 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
24955 Remove C-v help entry.
24956 (feedmail-queue-buffer-file-name): New variable.
24957 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
24958 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
24959 (feedmail-message-action-send-strong, feedmail-message-action-edit)
24960 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
24961 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
24962 (feedmail-message-action-toggle-spray)
24963 (feedmail-run-the-queue-no-prompts)
24964 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
24965 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
24966 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
24967 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
24968 (feedmail-envelope-deducer, feedmail-fiddle-from)
24969 (feedmail-fiddle-sender, feedmail-default-date-generator)
24970 (feedmail-fiddle-date, feedmail-fiddle-message-id)
24971 (feedmail-fiddle-spray-address)
24972 (feedmail-fiddle-list-of-spray-fiddle-plexes)
24973 (feedmail-fiddle-list-of-fiddle-plexes)
24974 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
24975 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
24976 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
24977 Change default. Doc fix.
24978 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
24979 (feedmail-binmail-linuxish-template): New constant.
24980 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
24981 Respect feedmail-sendmail-f-doesnt-sell-me-out.
24982 (feedmail-send-it): Add debug call.
24983 Use feedmail-queue-buffer-file-name, and
24984 feedmail-send-it-immediately-wrapper.
24985 (feedmail-message-action-send): Add debug call.
24986 Use feedmail-send-it-immediately-wrapper.
24987 (feedmail-queue-express-to-queue): Add debug call.
24988 Run feedmail-queue-express-hook.
24989 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
24990 (feedmail-message-action-help-blat):
24991 Rename from feedmail-queue-send-edit-prompt-help-first.
24992 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
24993 Check line-endings. Handle errors better.
24994 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
24995 Doc fix. Add debug call.
24996 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
24997 Use feedmail-queue-send-edit-prompt-inner.
24998 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
24999 (feedmail-queue-send-edit-prompt-inner): New function, extracted
25000 from feedmail-queue-send-edit-prompt.
25001 (feedmail-queue-send-edit-prompt-help)
25002 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
25003 (feedmail-tidy-up-slug): Add debug call.
25004 Respect feedmail-queue-slug-suspect-regexp.
25005 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
25006 (feedmail-dump-message-to-queue): Add debug call.
25007 Expand queue-directory.
25008 (feedmail-dump-message-to-queue): Change message slightly.
25009 Use feedmail-say-chatter.
25010 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
25011 (feedmail-send-it-immediately-wrapper): New function.
25012 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
25013 Insert empty string rather than newline. Handle full-frame case.
25014 Use catch/throw. Use feedmail-say-chatter.
25015 (feedmail-fiddle-from): Try mail-host-address.
25016 (feedmail-default-message-id-generator): Doc fix.
25017 Bind system-time-locale. Handle missing end.
25018 (feedmail-fiddle-x-mailer): Add debug call.
25019 Handle feedmail-x-mailer-line being nil.
25020 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
25021 Add debug call. Use buffer-substring-no-properties.
25022 (feedmail-say-debug, feedmail-say-chatter): New functions.
25023 (feedmail-find-eoh): Give an explicit error.
25025 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
25027 * net/newst-treeview.el (newsticker-treeview-face): Change default
25028 family from helvetica to sans.
25029 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
25030 etc/images/newsticker.
25032 * net/newst-reader.el (newsticker-feed-face): Change default
25033 family from helvetica to sans.
25035 * net/newst-plainview.el (newsticker-new-item-face)
25036 (newsticker-old-item-face, newsticker-immortal-item-face)
25037 (newsticker-obsolete-item-face, newsticker-date-face)
25038 (newsticker-statistics-face): Change default family from
25040 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
25041 etc/images/newsticker.
25043 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
25044 (newsticker--process-auto-mark-filter-match): Tell user about
25047 2011-05-13 Didier Verna <didier@xemacs.org>
25049 Common Lisp indentation improvements on defmethod and lambda-lists.
25050 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
25052 (lisp-lambda-list-keyword-parameter-indentation)
25053 (lisp-lambda-list-keyword-parameter-alignment)
25054 (lisp-lambda-list-keyword-alignment): New customizable user options.
25055 (lisp-indent-defun-method): Improve docstring.
25056 (extended-loop-p): Fix comment.
25057 (lisp-indent-lambda-list-keywords-regexp): New variable.
25058 (lisp-indent-lambda-list): New function.
25059 (lisp-indent-259): Use it.
25060 (lisp-indent-defmethod): Support for more than one
25061 method qualifier and properly indent methods lambda-lists.
25062 (defgeneric): Provide a missing common-lisp-indent-function property.
25064 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
25066 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
25067 bounds for the empty string (bug#8667).
25069 2011-05-13 Glenn Morris <rgm@gnu.org>
25071 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
25073 * mail/sendmail.el (sendmail-program): Try executable-find first.
25074 (sendmail-send-it): `sendmail-program' cannot be unbound.
25076 * calendar/appt.el (appt-make-list): Simplify.
25077 (appt-time-msg-list): Doc fix.
25078 (appt-check): Change mode-line message at the time of the appointment.
25080 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
25082 * progmodes/ld-script.el (ld-script-keywords)
25083 (ld-script-builtins): Update keywords list.
25085 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25087 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
25089 * shell.el (shell-completion-vars): New function.
25091 * simple.el (read-shell-command): Use it.
25092 (blink-matching-open): No need for " [...]" in minibuffer-message.
25094 2011-05-12 Glenn Morris <rgm@gnu.org>
25096 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
25097 (appt-check): Simplify.
25099 2011-05-12 Eli Zaretskii <eliz@gnu.org>
25101 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
25102 literal "/dev/null".
25104 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25106 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
25109 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
25111 * progmodes/which-func.el (which-function):
25112 Use add-log-current-defun instead of add-log-current-defun-function,
25113 which might not be defined (Bug#8260).
25115 2011-05-12 Glenn Morris <rgm@gnu.org>
25117 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
25118 Let byte-compile-initial-macro-environment always take precedence.
25120 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25122 * net/rcirc.el: Add support for SSL/TLS connections.
25123 (rcirc-server-alist): New field `encryption'.
25124 (rcirc): Check `encryption' settings.
25125 (rcirc-connect): New arg `encryption'. Use open-network-stream.
25126 Merge make-local-variable into `set'.
25127 (rcirc--connection-open-p): New function.
25128 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
25129 the process is not a network process (e.g. running gnutls-cli).
25130 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
25131 Make rcirc-(en|de)code-coding-system local here.
25132 (rcirc-mode): Merge make-local-variable into `set'.
25133 (rcirc-parent-buffer): Make permanent buffer-local.
25134 (rcirc-multiline-minor-mode): Don't do it here.
25135 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
25136 there's no server buffer.
25138 2011-05-11 Glenn Morris <rgm@gnu.org>
25140 * newcomment.el (comment-kill): Prefix "unused" local.
25142 * term/w32console.el (get-screen-color): Declare.
25144 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
25145 Handle symbol elements of byte-compile-initial-macro-environment.
25147 2011-05-10 Leo Liu <sdl.web@gmail.com>
25149 * bookmark.el (bookmark-bmenu-mode-map):
25150 Bind bookmark-bmenu-search to `/'.
25152 * mail/footnote.el: Convert to utf-8 encoding.
25153 (footnote-unicode-string, footnote-unicode-regexp): New variable.
25154 (Footnote-unicode): New function.
25155 (footnote-style-alist): Add unicode style to the list.
25156 (footnote-style): Doc fix.
25158 2011-05-10 Jim Meyering <meyering@redhat.com>
25160 Fix doubled-word typos.
25161 * international/quail.el (quail-insert-kbd-layout): and and -> and
25162 * kermit.el: and and -> and
25163 * net/ldap.el (ldap-search-internal): to to -> to
25164 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
25165 * progmodes/js.el (js-mode): and and -> and
25166 * textmodes/artist.el (artist-move-to-xy): at at -> at
25167 (artist-draw-region-trim-line-endings): if if -> if
25168 And Safetyc -> Safety.
25169 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
25171 2011-05-10 Glenn Morris <rgm@gnu.org>
25172 Stefan Monnier <monnier@iro.umontreal.ca>
25174 * files.el (hack-one-local-variable-eval-safep):
25175 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
25177 2011-05-10 Glenn Morris <rgm@gnu.org>
25179 * calendar/diary-lib.el (diary-list-entries-hook)
25180 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
25181 (diary-nongregorian-marking-hook, diary-list-entries)
25182 (diary-include-other-diary-files, diary-mark-entries)
25183 (diary-mark-included-diary-files): Doc fixes.
25185 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25187 * misc.el: Require tabulated-list.el during compilation.
25189 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25191 * progmodes/compile.el (compilation-start):
25192 Run compilation-filter-hook for the async case too.
25193 (compilation-filter-hook): Doc fix.
25195 2011-05-09 Deniz Dogan <deniz@dogan.se>
25197 * wdired.el: Remove outdated installation comment. Fix usage
25200 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25202 * misc.el: Implement new command `list-dynamic-libraries'.
25203 (list-dynamic-libraries--loaded-only-p): New variable.
25204 (list-dynamic-libraries--refresh): New function.
25205 (list-dynamic-libraries): New command.
25207 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25209 * progmodes/compile.el (compilation-error-regexp-alist-alist):
25210 Fix the ant regexp to handle end-line and end-column info from jikes.
25211 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
25212 higher priority to avoid clobbering by gnu.
25214 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25216 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
25217 if the face has existing theme settings (Bug#8454).
25219 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
25221 * progmodes/perl-mode.el (perl-imenu-generic-expression):
25222 Only match variables declared via `my' or `our' (Bug#8261).
25224 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
25225 special file names `.' and `..' (Bug#8259).
25227 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25229 * progmodes/grep.el (grep-mode-font-lock-keywords):
25230 Remove buffer-changing entries.
25231 (grep-filter): New function.
25232 (grep-mode): Add it to compilation-filter-hook.
25234 * progmodes/compile.el (compilation-filter-hook)
25235 (compilation-filter-start): New defvars.
25236 (compilation-filter): Call compilation-filter-hook prior to
25237 updating the process mark.
25239 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
25241 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
25243 2011-05-07 Eli Zaretskii <eliz@gnu.org>
25245 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
25246 mailclient-send-it even if window-system is nil. (Bug#8595)
25248 * term/w32console.el (terminal-init-w32console):
25249 Call get-screen-color and use its output to set the frame
25250 background-mode. (Bug#8597)
25252 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
25254 Make bytecomp.el understand that defmethod defines funs (bug#8631).
25255 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
25257 (defgeneric, eieio--defmethod): Use them.
25258 (eieio-defgeneric): Remove.
25259 (defmethod): Call defgeneric in a way visible to the byte-compiler.
25261 2011-05-07 Glenn Morris <rgm@gnu.org>
25263 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
25264 Use let rather than let*.
25265 (timeclock-find-discrep): Remove unused local.
25267 * calendar/diary-lib.el (diary-comment-start): Doc fix.
25269 * calendar/appt.el (appt-time-msg-list): Doc fix.
25271 2011-05-06 Noah Friedman <friedman@splode.com>
25273 * apropos.el (apropos-print-doc): Only use
25274 emacs-lisp-docstring-fill-column when it is bound to an integer,
25275 per that variable's documentation.
25277 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
25279 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
25280 and warnings are not silently discarded (e.g. use -d instead of -P).
25282 2011-05-06 Glenn Morris <rgm@gnu.org>
25284 * calendar/appt.el (appt-message-warning-time): Doc fix.
25285 (appt-warning-time-regexp): New option.
25286 (appt-make-list): Respect appt-message-warning-time.
25288 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
25290 (diary-add-to-list): Strip comments from the displayed string.
25291 (diary-mode): Set comment-start and comment-end.
25293 * vc/diff-mode.el (smerge-refine-subst): Declare.
25294 (diff-refine-hunk): Don't require smerge-mode when compiling.
25296 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
25298 * simple.el (list-processes): Return nil as the docstring says.
25300 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25302 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
25304 (ange-ftp-write-region, ange-ftp-insert-file-contents)
25305 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
25306 determining of binary transfer. (Bug#7383)
25308 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25310 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25311 Fix port computation bug. (Bug#8618)
25313 2011-05-05 Glenn Morris <rgm@gnu.org>
25315 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
25317 * simple.el (shell-dynamic-complete-functions)
25318 (comint-dynamic-complete-functions): Declare.
25320 * net/network-stream.el (gnutls-negotiate):
25321 * simple.el (tabulated-list-print): Fix declarations.
25323 * progmodes/gud.el (syntax-symbol, syntax-point):
25324 Remove unnecessary and incorrect declarations.
25326 * emacs-lisp/check-declare.el (check-declare-scan):
25327 Handle byte-compile-initial-macro-environment in bytecomp.el.
25329 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
25331 Fix earlier half-done eieio-defmethod change (bug#8338).
25332 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
25333 Streamline and change calling convention.
25334 (defmethod): Adjust accordingly and simplify.
25335 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
25336 new eieio--defmethod.
25337 (slot-boundp): Minor CSE simplification.
25339 2011-05-05 Milan Zamazal <pdm@zamazal.org>
25341 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
25342 (glasses-make-readable): Use glasses-separate-capital-groups.
25344 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
25346 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
25347 (warning-series): Doc fix.
25348 (display-warning): Don't try to create the buffer if we just found it.
25350 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
25352 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
25353 (autoload-find-generated-file): New function.
25354 (generate-file-autoloads): Bind generated-autoload-file to
25356 (update-file-autoloads, update-directory-autoloads):
25357 Use autoload-find-generated-file. If called interactively, prompt for
25358 output file (Bug#7989).
25359 (batch-update-autoloads): Doc fix.
25361 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
25363 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
25365 2011-05-04 Glenn Morris <rgm@gnu.org>
25367 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
25368 function, so it follows changes in calendar-date-style.
25369 (diary-fancy-date-matcher): New function.
25370 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
25371 (diary-fancy-font-lock-fontify-region-function):
25372 Use diary-fancy-date-pattern as a function.
25374 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
25375 non-numbers for `year' etc pseudo-variables. (Bug#8583)
25377 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
25379 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
25380 instead of positional arguments. Allow :keylist and :crlfiles
25382 (open-gnutls-stream): Call it.
25384 * net/network-stream.el (network-stream-open-starttls): Adjust to
25385 call `gnutls-negotiate' with :process and :hostname arguments.
25387 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
25389 * minibuffer.el (completion--message): New function.
25390 (completion--do-completion, minibuffer-complete)
25391 (minibuffer-force-complete, minibuffer-complete-word): Use it.
25392 (completion--do-completion): Don't ignore completion-auto-help when in
25395 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
25396 internal encoding (e.g. tibetan zero is not whitespace).
25397 (global-whitespace-mode): Prefer save-current-buffer.
25398 (whitespace-trailing-regexp): Remove useless save-match-data.
25399 (whitespace-empty-at-bob-regexp): Minor simplification.
25401 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
25403 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
25405 2011-05-03 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
25407 * textmodes/ispell.el (ispell-add-per-file-word-list):
25408 Use `concat' to create string for insertion.
25410 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25412 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
25413 Avoid open-line which runs post-self-insert-hook.
25414 (bibtex-fill-entry): Remove unused `end' var.
25416 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
25418 * textmodes/ispell.el (ispell-add-per-file-word-list):
25419 Protect against `nil' value of `comment-start' (Bug#8579).
25421 2011-05-03 Leo Liu <sdl.web@gmail.com>
25423 * isearch.el (isearch-yank-pop): New command.
25424 (isearch-mode-map): Bind it to `M-y'.
25425 (isearch-forward): Mention it.
25427 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25429 * simple.el (minibuffer-complete-shell-command): Remove.
25430 (minibuffer-local-shell-command-map): Use completion-at-point.
25431 (read-shell-command): Setup completion vars here instead.
25432 (read-expression-map): Bind TAB to symbol completion.
25434 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
25435 error directly rather via storing it into `results'.
25437 2011-05-02 Leo Liu <sdl.web@gmail.com>
25439 * vc/diff.el: Fix description.
25441 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
25443 * server.el (server-eval-at): New function.
25445 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
25447 * net/network-stream.el (open-network-stream): Take a :nowait
25448 parameter and pass it on to `make-network-process'.
25449 (network-stream-open-plain): Ditto.
25451 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
25453 * faces.el (face-spec-set-match-display): Don't match toolkit
25454 options on terminal frames.
25456 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
25458 * progmodes/pascal.el: Use lexical binding.
25459 (pascal-mode-map): Remove author preferences.
25461 * pcomplete.el (pcomplete-std-complete): Don't abuse
25462 completion-at-point.
25464 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25466 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
25467 removing code that has been dead since 1991 or so.
25469 * startup.el (command-line): When warning about "_emacs", use a
25470 delayed warning to allow the user to filter it out.
25472 2011-04-28 Deniz Dogan <deniz@dogan.se>
25474 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
25475 user has not joined.
25477 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25479 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
25480 aren't any completions at point.
25482 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25484 * subr.el (display-delayed-warnings): New function.
25485 (delayed-warnings-hook): New variable.
25487 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25489 * minibuffer.el (completion-at-point, completion-help-at-point):
25490 Don't presume that a given completion-at-point-function will always
25491 use the same calling convention.
25493 * pcomplete.el (pcomplete-completions-at-point):
25494 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
25495 pcomplete-seen is non-nil.
25496 (pcomplete-comint-setup): Also recognize the new comint/shell
25497 completion functions.
25498 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
25499 pcomplete-seen is non-nil.
25501 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
25503 * calendar/icalendar.el (diary-lib): Add require statement.
25504 (icalendar--create-uid): Read out a uid from a text-property on
25505 the first character in the entry. This allows for code to add its
25506 own uid to the entry.
25507 (icalendar--convert-float-to-ical): Add export of
25508 `diary-float'-entries save for those with the optional DAY
25511 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
25513 * subr.el (shell-quote-argument): Use alternate escaping strategy
25514 when we spot a variable reference in a string.
25516 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25518 * cus-start.el (all): Define customization for debug-on-event.
25520 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25522 * subr.el (shell-quote-argument): Escape correctly under Windows.
25524 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25526 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
25528 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
25530 * net/tramp.el (tramp-process-actions): Add POS argument.
25531 Delete region between POS and (pos).
25533 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25534 Use `nil' position in `tramp-process-actions' call.
25535 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
25537 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
25538 position in `tramp-process-actions' call.
25540 * net/trampver.el: Update release number.
25542 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25544 * custom.el (defcustom): Obey lexical-binding.
25546 Fix octave-inf completion problems reported by Alexander Klimov.
25547 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
25548 Inherit from octave-mode-syntax-table.
25549 (inferior-octave-mode): Set info-lookup-mode.
25550 (inferior-octave-completion-at-point): New function.
25551 (inferior-octave-complete): Use it and completion-in-region.
25552 (inferior-octave-dynamic-complete-functions): Use it as well, and use
25553 comint-filename-completion.
25554 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
25555 symbol elements which shouldn't be word elements.
25556 (octave-font-lock-keywords, octave-beginning-of-defun)
25557 (octave-function-header-regexp): Adjust regexps accordingly.
25558 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
25560 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
25562 * net/gnutls.el (gnutls-errorp): Declare before first use.
25564 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
25566 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
25567 verify-error, and verify-hostname-error parameters. Check whether
25568 default trustfile exists before going to use it. Add missing
25569 argument to gnutls-message-maybe call. Return value.
25570 Reported by Claudio Bley <claudio.bley@gmail.com>.
25571 (open-gnutls-stream): Add usage example.
25573 * net/network-stream.el (network-stream-open-starttls): Give host
25574 parameter to `gnutls-negotiate'.
25575 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
25576 * subr.el (shell-quote-argument): Escape correctly under Windows.
25578 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
25580 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
25581 Use correct match group (bug#8438).
25583 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25585 * emacs-lisp/package.el (package-built-in-p): Fix typo.
25586 (package-menu--generate): New arg specifying packages to show.
25587 (package-menu-refresh, package-menu-execute, list-packages):
25589 (package-show-package-list): New function, replacing deleted
25590 package--list-packages (renamed because it is non-internal).
25592 * finder.el (finder-list-matches): Use package-show-package-list
25593 instead of deleted package--list-packages.
25595 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
25596 Based on a previous implementation by Juanma Barranquero (Bug#8366).
25597 (vc-annotate-mode-map): Bind it to RET.
25599 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
25601 * progmodes/etags.el (next-file): Don't use set-buffer to change
25602 buffers (Bug#8478).
25604 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25606 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
25608 * apropos.el (apropos-label-face): Avoid variable-pitch face.
25609 (apropos-accumulator): Doc fix.
25610 (apropos-function, apropos-macro, apropos-command)
25611 (apropos-variable, apropos-face, apropos-group, apropos-widget)
25612 (apropos-plist): Add face property.
25613 (apropos-symbols-internal): Fix indentation.
25614 (apropos-print): Simplify help, and recognize apropos-multi-type.
25615 (apropos-print-doc): Use button-type-get to extract the button's
25616 face property. Fill docstring (Bug#8352).
25618 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
25620 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
25622 * play/mpuz.el (mpuz-silent): Doc fix.
25623 (mpuz-mode-map): Use mapc.
25624 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
25625 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
25626 Fix typos in docstrings.
25628 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
25629 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
25631 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
25633 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
25635 * minibuffer.el (completion--do-completion): Avoid the "Next char
25636 not unique" prompt if icomplete-mode is enabled (Bug#5849).
25638 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
25639 mouse-2 into unread-command-events, it is interpreted correctly.
25641 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
25642 (image-toggle-display): Doc fix.
25644 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
25646 * textmodes/page.el (what-page): Use line-number-at-pos to
25647 calculate line number (Bug#6825).
25649 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25651 * eshell/esh-mode.el (find-tag-interactive): Declare function.
25652 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
25653 Pass argument NO-DEFAULT to `find-tag-interactive'.
25655 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25657 Lexical-binding cleanup.
25659 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
25660 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
25661 * progmodes/ada-prj.el (ada-prj-initialize-values)
25662 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
25663 (ada-prj-show-value):
25664 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
25665 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
25666 (antlr-invalidate-context-cache, antlr-options-menu-filter)
25667 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
25668 * progmodes/bug-reference.el (bug-reference-push-button):
25669 * progmodes/fortran.el (fortran-line-length):
25670 * progmodes/glasses.el (glasses-change):
25671 * progmodes/octave-mod.el (octave-fill-paragraph):
25672 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
25673 (python-pdbtrack-grub-for-buffer, python-sentinel):
25674 * progmodes/sql.el (sql-save-connection):
25675 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
25676 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
25677 Mark unused parameters.
25679 * progmodes/compile.el (compilation--flush-directory-cache)
25680 (compilation--flush-parse, compile-internal): Mark unused parameters.
25681 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
25682 (compilation-next-error-function): Remove unused variable `timestamp'.
25684 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
25685 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
25687 * progmodes/dcl-mode.el (dcl-end-of-command):
25688 Remove unused variable `start'.
25689 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
25690 (dcl-option-value-basic, dcl-option-value-offset)
25691 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
25692 Mark unused parameters.
25693 (dcl-save-local-variable): Remove unused variable `val'.
25696 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
25697 Mark unused parameters.
25698 (delphi-ignore-changes): Move before first use.
25699 (delphi-charset-token-at): Remove unused variable `start'.
25700 (delphi-else-start): Remove unused variable `if-count'.
25701 (delphi-comment-block-start, delphi-comment-block-end):
25702 Remove unused variable `kind'.
25703 (delphi-indent-line): Remove unused variable `new-point'.
25705 * progmodes/ebrowse.el (ebrowse-files-list)
25706 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
25707 Mark unused parameters. Don't quote `lambda'.
25708 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
25709 Don't quote `lambda'.
25710 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
25711 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
25712 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
25713 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
25714 Use `ignore-errors'.
25715 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
25716 (ebrowse-view/find-file-and-search-pattern)
25717 (ebrowse-view/find-member-declaration/definition):
25718 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
25719 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
25720 Rename parameter PREFIX-ARG to PREFIX.
25721 (ebrowse-tags-read-name): Remove unused variables `start' and
25723 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
25726 * progmodes/etags.el (local-find-tag-hook): Declare.
25727 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
25728 Mark unused parameters.
25730 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
25731 (executable-interpret): Mark unused parameter.
25733 * progmodes/flymake.el (flymake-process-sentinel)
25734 (flymake-after-change-function)
25735 (flymake-create-temp-with-folder-structure)
25736 (flymake-get-include-dirs-dot): Mark unused parameters.
25737 (flymake-safe-delete-directory): Remove unused variable `err'.
25739 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
25740 (speedbar-timer-fn, speedbar-line-text)
25741 (speedbar-change-expand-button-char, speedbar-delete-subblock)
25742 (speedbar-center-buffer-smartly): Declare functions.
25743 (gdb-find-watch-expression): Remove unused variable `array'.
25744 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
25745 (gdb-starting): Mark unused parameters.
25746 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
25747 (gdb-table-string): Remove unused variable `res'.
25748 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
25749 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
25750 (gdb-display-buffer): Remove unused variable `cur-size'.
25752 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
25753 allow lexical-binding compilation.
25754 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
25755 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
25756 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
25757 Mark unused parameters.
25758 (gud-gdb-marker-filter): Remove unused variable `match'.
25759 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
25760 lambda expressions and funcall them, instead of using `fset'.
25762 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
25763 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
25765 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
25766 variable `header-beg'; use `let'.
25768 * progmodes/icon.el (indent-icon-exp): Remove unused variables
25769 `restart', `last-sexp' and `at-do'.
25771 * progmodes/js.el (js--debug): Mark unused parameter.
25772 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
25773 (js--splice-into-items): Remove unused variable `item'.
25774 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
25776 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
25777 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
25778 (makefile-complete): Remove unused variable `try'.
25779 (makefile-fill-paragraph, makefile-match-function-end):
25780 Mark unused parameters.
25782 * progmodes/octave-inf.el (inferior-octave-complete):
25783 Remove unused variable `proc'.
25784 (inferior-octave-output-digest): Mark unused parameter.
25786 * progmodes/perl-mode.el (perl-calculate-indent):
25787 Remove unused variable `err'.
25789 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
25790 (prolog-indent-line): Mark unused parameters.
25791 (prolog-indent-line): Remove unused variable `beg'.
25793 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
25794 (reporter-dont-compact-list): Declare.
25796 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
25797 Remove unused variable `char'.
25798 (sh-debug): Mark unused parameter.
25799 (sh-get-indent-info): Remove unused variable `start'.
25800 (sh-calculate-indent): Remove unused variable `var'.
25802 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
25803 (simula-electric-keyword): Remove unused variable `null'.
25804 (simula-search-backward, simula-search-forward): Remove unused
25805 variables `begin' and `end'.
25807 * progmodes/vera-mode.el (vera-guess-basic-syntax):
25808 Remove unused variable `pos'.
25809 (vera-electric-tab, vera-comment-uncomment-region):
25810 Mark unused parameters.
25811 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
25813 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
25815 * emacs-lisp/package.el (package--builtins, package-alist)
25816 (package-load-descriptor, package-built-in-p, package-activate)
25817 (define-package, package-installed-p)
25818 (package-compute-transaction, package-buffer-info)
25819 (package--push): Doc fix. Distinguish more clearly between
25820 version strings and version lists.
25822 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
25824 Lexical-binding cleanup.
25826 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
25827 (5x5-make-mutate-best):
25828 * play/fortune.el (fortune-in-buffer):
25829 * play/gomoku.el (gomoku-init-display):
25830 * play/solitaire.el (solitaire, solitaire-do-check):
25831 * play/tetris.el (tetris-default-update-speed-function):
25832 Mark unused parameters.
25834 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
25835 (bubbles--shift): Remove unused variable `char-org'.
25836 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
25837 (bubbles--show-images): Remove unused variable `char'.
25839 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
25840 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
25841 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
25842 (decipher-analyze-buffer): Use ?\s.
25843 (decipher-make-checkpoint): Remove unused variable `mapping'.
25845 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
25847 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
25848 Remove unused variable `result'; use `let'.
25850 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
25851 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
25852 (gametree-children-shown-p, gametree-compute-reduced-score):
25853 Use `ignore-errors'.
25855 * play/handwrite.el (ps-lpr-switches): Declare.
25856 (handwrite): Remove unused variables `pmin' and `lastp'.
25858 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
25860 * play/landmark.el (landmark-init-display)
25861 (landmark-update-naught-weights): Mark unused parameters.
25862 (landmark-y): Remove unused variable `noise'. Simplify.
25863 (landmark-human-plays): Remove unused variable `score'.
25865 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
25866 (mpuz-try-proposal): Remove unused variable `game'.
25868 * play/zone.el (life-patterns): Declare.
25870 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
25872 * vc/vc.el (ediff-vc-internal): Declare function.
25874 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25876 * shell.el: Use lexical-binding and std completion UI.
25877 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
25878 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
25879 comint-preoutput-filter-functions rather than on
25880 comint-output-filter-functions.
25881 (shell-command-completion, shell--command-completion-data)
25882 (shell-filename-completion, shell-environment-variable-completion)
25883 (shell-c-a-p-replace-by-expanded-directory): New functions.
25884 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
25885 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
25886 (shell-dynamic-complete-environment-variable): Use them.
25887 (shell-dynamic-complete-as-environment-variable)
25888 (shell-dynamic-complete-as-command): Remove.
25889 (shell-match-partial-variable): Match past point.
25890 * comint.el: Clean up use of completion-at-point-functions.
25891 (comint-completion-at-point): New function.
25892 (comint-mode): Use it completion-at-point-functions.
25893 (comint-dynamic-complete): Make it obsolete.
25894 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
25895 (comint-c-a-p-replace-by-expanded-history): New function.
25896 (comint-dynamic-complete-functions)
25897 (comint-replace-by-expanded-history): Use it.
25898 * minibuffer.el (completion-table-with-terminator): Allow dynamic
25899 termination strings. Try harder to avoid second try-completion.
25900 (completion-in-region-mode-map): Disable bindings that don't work yet.
25902 * comint.el: Use lexical-binding. Require CL.
25903 (comint-dynamic-complete-functions): Use comint-filename-completion.
25904 (comint-completion-addsuffix): Tweak custom type.
25905 (comint-filename-completion, comint--common-suffix)
25906 (comint--common-quoted-suffix, comint--table-subvert)
25907 (comint--complete-file-name-data): New functions.
25908 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
25909 (comint-dynamic-list-filename-completions): Use them.
25910 (comint-dynamic-simple-complete): Make obsolete.
25912 * minibuffer.el (completion-in-region-mode):
25913 Keep completion-in-region-mode--predicate global.
25914 (completion-in-region--postch):
25915 Assume completion-in-region-mode--predicate is not null.
25917 * progmodes/flymake.el (flymake-start-syntax-check-process):
25918 Obey `dir'. Simplify.
25920 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
25921 we're in VC after all.
25923 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
25925 * vc/vc.el (vc-diff-build-argument-list-internal)
25926 (vc-version-ediff, vc-ediff): New commands.
25927 (vc-version-diff): Use vc-diff-build-argument-list-internal.
25929 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25931 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
25934 * obsolete/erc-hecomplete.el: Make obsolete.
25935 * obsolete/: Standardize obsolescence info in the header.
25937 2011-04-20 Glenn Morris <rgm@gnu.org>
25939 * calendar/solar.el (solar-horizontal-coordinates):
25940 Use the longitude argument rather than `calendar-longitude'.
25941 (solar-date-next-longitude): Remove unused locals.
25943 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
25945 * whitespace.el: New version 13.2.1.
25947 2011-04-20 felix <EmacsWiki> (tiny change)
25949 * whitespace.el (global-whitespace-mode): Keep highlight when
25950 switching between major modes on a file.
25952 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
25954 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
25955 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
25956 multi-line comments as well.
25958 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
25960 Lexical-binding cleanup.
25962 * arc-mode.el (archive-mode-revert):
25963 * cmuscheme.el (scheme-interactively-start-process):
25964 * custom.el (custom-initialize-delay):
25965 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
25966 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
25967 * emacs-lock.el (emacs-lock-clear-sentinel):
25968 * ezimage.el (defezimage):
25969 * follow.el (follow-avoid-tail-recenter):
25970 * fringe.el (set-fringe-mode-1):
25971 * generic-x.el (bat-generic-mode-compile):
25972 * help-mode.el (help-info-variable, help-do-xref)
25973 (help-mode-revert-buffer):
25974 * help.el (view-emacs-todo):
25975 * iswitchb.el (iswitchb-completion-help):
25976 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
25977 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
25978 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
25979 * locate.el (locate-update):
25980 * longlines.el (longlines-encode-region)
25981 (longlines-after-change-function):
25982 * outline.el (outline-isearch-open-invisible):
25983 * ps-def.el (declare-function, charset-dimension, char-width)
25985 * ps-mule.el (ps-mule-plot-string):
25986 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
25987 (recentf-edit-list-select, recentf-edit-list-validate)
25988 (recentf-open-files-action):
25989 * rect.el (delete-whitespace-rectangle-line)
25990 (rectangle-number-line-callback):
25991 * register.el (window-configuration-to-register)
25992 (frame-configuration-to-register):
25993 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
25994 * select.el (xselect-convert-to-string, xselect-convert-to-length)
25995 (xselect-convert-to-targets, xselect-convert-to-delete)
25996 (xselect-convert-to-filename, xselect-convert-to-charpos)
25997 (xselect-convert-to-lineno, xselect-convert-to-colno)
25998 (xselect-convert-to-os, xselect-convert-to-host)
25999 (xselect-convert-to-user, xselect-convert-to-class)
26000 (xselect-convert-to-name, xselect-convert-to-integer)
26001 (xselect-convert-to-atom, xselect-convert-to-identity):
26002 * subr.el (declare, ignore, process-kill-without-query)
26003 (text-clone-maintain):
26004 * terminal.el (te-get-char, te-tic-sentinel):
26005 * tool-bar.el (tool-bar-make-keymap):
26006 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
26007 * type-break.el (type-break-mode, type-break-noninteractive-query):
26008 * view.el (View-back-to-mark):
26009 * wid-browse.el (widget-browse-action, widget-browse-widget)
26010 (widget-browse-widgets, widget-browse-sexp):
26011 * widget.el (define-widget-keywords):
26012 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
26013 Mark unused parameters.
26015 * align.el (align-adjust-col-for-rule): Mark unused parameter.
26016 (align-areas): Remove unused variable `look'.
26017 (align-region): Remove unused variables `real-end' and `pos-list'.
26019 * apropos.el (apropos-score-doc): Remove unused variable `i'.
26021 * bindings.el (mode-line-modified, mode-line-remote):
26022 Mark unused parameters.
26023 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
26025 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
26026 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
26028 * comint.el (comint-history-isearch-pop-state)
26029 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
26030 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
26031 (comint-substitute-in-file-name): Doc fix.
26033 * completion.el (cmpl-statistics-block): Mark unused parameter.
26034 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
26035 (save-completions-to-file, load-completions-from-file):
26036 Remove unused local variable `e'.
26038 * composite.el (compose-chars): Remove unused variable `len'.
26039 (lgstring-insert-glyph): Remove unused variable `g'.
26040 (compose-glyph-string): Remove unused variables `ascent',
26041 `descent', `lbearing' and `rbearing'.
26042 (compose-glyph-string-relative): Remove unused variables
26043 `lbearing', `rbearing' and `wadjust'.
26044 (compose-gstring-for-graphic): Remove unused variables `header',
26045 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
26046 (compose-gstring-for-terminal): Remove unused variables `header'
26047 and `nchars'. Use `let', not `let*'.
26049 * cus-edit.el (Custom-set, Custom-save, custom-reset)
26050 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
26051 (Custom-buffer-done, custom-buffer-create-internal)
26052 (custom-browse-visibility-action, custom-browse-group-tag-action)
26053 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
26054 (widget-magic-mouse-down-action, custom-toggle-parent)
26055 (custom-add-parent-links, custom-toggle-hide-variable)
26056 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
26057 (custom-toggle-hide-face, face, hook, custom-group-link-action)
26058 (custom-face-menu-create, custom-variable-menu-create, get)
26059 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
26060 (custom-reset-standard-save-and-update): Remove unused variable `value'.
26061 (customize-apropos): Remove unused variable `tests'.
26062 (custom-group-value-create): Remove unused variable `hidden-p'.
26063 (sort-fold-case): Declare.
26065 * cus-theme.el (custom-reset-standard-faces-list)
26066 (custom-reset-standard-variables-list): Declare.
26067 (customize-create-theme, custom-theme-revert, custom-theme-write)
26068 (custom-theme-choose-mode, customize-themes, custom-theme-save):
26069 Mark unused parameters.
26071 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
26073 * delim-col.el (delimit-columns-max): Move defvar before first use.
26075 * descr-text.el (describe-char-categories): Don't quote `lambda'.
26076 (describe-char): Don't quote `lambda'. Mark unused parameter.
26078 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
26079 (auto-insert): Declare.
26080 (desktop-restore-file-buffer): Rename desktop-* parameters;
26082 (desktop-create-buffer): Rename desktop-* parameters and bind them.
26083 (desktop-buffer): Rename desktop-* parameters.
26085 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
26086 (dframe-reposition-frame-xemacs, dframe-help-echo)
26087 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
26088 Mark unused parameters.
26090 * dired-aux.el (backup-extract-version-start, overwrite-query)
26091 (overwrite-backup-query, rename-regexp-query)
26092 (rename-non-directory-query): Declare.
26093 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
26094 (dired-add-entry): Remove unused variable `orig-file-name'.
26095 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
26096 Use parameter PRESERVE-TIME instead of accessing dynamic variable
26097 `dired-copy-preserve-time' directly.
26098 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
26099 (dired-insert-subdir-newpos): Rename unused variable `pos'.
26101 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
26102 (dired-virtual-revert, dired-make-relative-symlink):
26103 Mark unused parameters.
26104 (manual-program): Declare.
26105 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
26106 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
26107 wrapped in `with-no-warnings' to avoid replacing one warning by another.
26109 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
26111 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
26113 * echistory.el (electric-history-in-progress, Helper-return-blurb):
26116 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
26118 * electric.el (Electric-command-loop): Rename parameter
26119 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
26121 * expand.el (expand-in-literal): Remove unused variable `here'.
26123 * facemenu.el (facemenu-add-new-color):
26124 Remove unused variable `docstring'.
26126 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
26127 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
26128 (face-attr-construct): Mark unused parameter. Doc fix.
26129 (read-color): Remove unused variable `hex-string'.
26131 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
26132 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
26133 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
26134 (display-buffer-other-frame): Remove unused variable `old-window'.
26135 (kill-buffer-hook): Declare.
26136 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
26137 Mark unused parameters.
26138 (after-find-file): Pass 1 to `auto-save-mode', not t.
26140 * files-x.el (auto-insert): Declare.
26141 (modify-file-local-variable-prop-line): Remove unused variable `val'.
26143 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
26144 variable `buf'. Mark unused parameter.
26145 (find-lisp-insert-directory): Mark unused parameter.
26147 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
26148 (format-encode-region): Remove unused variables `cur-buf' and `result'.
26149 (format-common-tail): Remove, unused.
26150 (format-deannotate-region): Remove unused variable `loc'.
26151 (format-annotate-region): Remove unused variable `p'.
26152 (format-annotate-single-property-change): Remove unused variables
26153 `default' and `tail'.
26155 * forms.el (read-file-filter): Declare.
26156 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
26158 * frame.el (frame-creation-function-alist): Mark unused parameter.
26159 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
26161 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
26162 Remove unused parameters.
26163 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
26164 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
26166 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
26167 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
26168 (hfy-prepare-tag-map): Mark unused parameters.
26169 (htmlfontify-buffer): Use `called-interactively-p'.
26171 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
26172 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
26173 (ibuffer-do-occur): Mark unused parameters.
26174 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
26175 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
26177 * ibuffer.el: Don't quote `lambda'.
26178 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
26179 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
26180 Mark unused parameters.
26182 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
26183 (ido-completing-read): Mark unused parameters.
26184 (ido-copy-current-word): Mark unused parameters;
26185 remove unused variable `name'.
26186 (ido-sort-merged-list): Remove unused parameter `dirs'.
26188 * ielm.el (ielm-input-sender): Mark unused parameter.
26189 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
26190 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
26191 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
26192 `ielm-string' as a dynamic variable accessible from the IELM prompt.
26193 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
26195 * image-dired.el (image-dired-display-thumbs): Remove unused
26196 variables `curr-file' and `count'.
26197 (image-dired-remove-tag): Remove unused variable `start'.
26198 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
26199 variable `curr-file'
26200 (image-dired-rotate-original): Remove unused variable `temp-file'.
26201 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
26202 Remove unused variable `file'.
26203 (image-dired-gallery-generate): Remove unused variable `curr'.
26204 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
26206 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
26208 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
26210 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
26212 * isearch.el (minibuffer-history-symbol): Declare.
26213 (isearch-edit-string): Remove unused variable `err'.
26214 (isearch-message-prefix, isearch-message-suffix):
26215 Mark unused parameters.
26217 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
26219 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
26221 * makesum.el (double-column): Remove unused variable `cnt'.
26223 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
26224 (ido-ignore-item-temp-list): Declare.
26226 * mouse-drag.el (mouse-drag-throw): Remove unused variables
26227 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
26228 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
26229 (mouse-drag-drag): Remove unused variables `mouse-delta' and
26232 * mouse-sel.el (mouse-extend-internal):
26233 Remove unused variable `orig-window-frame'.
26235 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
26236 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
26237 Move declarations before first use.
26238 (pcomplete-opt): Mark unused parameters; doc fix.
26240 * proced.el (proced-revert): Mark unused parameter.
26241 (proced-send-signal): Remove unused variable `err'.
26243 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
26244 Rename parameter PREFIX-ARG to ARG.
26245 (ps-basic-plot-string, ps-basic-plot-whitespace):
26246 Mark unused parameters.
26248 * replace.el (replace-count): Define.
26249 (occur-revert-function): Mark unused parameters.
26250 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
26251 (isearch-case-fold-search, isearch-string): Declare.
26252 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
26253 bind `case-fold-search'. Remove unused variables `beg' and `end',
26255 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
26256 COUNT and bind `replace-count'.
26257 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
26260 * savehist.el (print-readably, print-string-length): Declare.
26262 * shadowfile.el (shadow-expand-cluster-in-file-name):
26263 Remove unused variable `cluster'.
26264 (shadow-copy-file): Remove unused variable `i'.
26265 (shadow-noquery, shadow-clusters, shadow-site-cluster)
26266 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
26267 (shadow-define-literal-group, shadow-define-regexp-group)
26268 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
26270 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
26271 (shell): Use `called-interactively-p'.
26272 (shell-directory-tracker): Remove unused variable `chdir-failure'.
26274 * simple.el (compilation-context-lines, comint-file-name-quote-list)
26275 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
26276 (delete-backward-char): Remove unused variable `ocol'.
26277 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
26278 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
26279 (event-apply-hyper-modifier, event-apply-shift-modifier)
26280 (event-apply-control-modifier, event-apply-meta-modifier):
26281 Mark unused parameters.
26282 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
26283 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
26285 * speedbar.el (speedbar-ignored-directory-expressions)
26286 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
26287 (speedbar-find-file, speedbar-dir-follow)
26288 (speedbar-directory-buttons-follow, speedbar-tag-find)
26289 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
26290 (speedbar-buffers-line-directory, speedbar-buffer-click):
26291 Mark unused parameters.
26292 (speedbar-tag-file): Remove unused variable `mode'.
26293 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
26295 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
26297 * talk.el (talk): Remove unused variable `display'.
26299 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
26300 (tar-write-region-annotate): Mark unused parameter.
26302 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
26303 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
26304 Declare them, wrapped in `with-no-warnings' to avoid replacing one
26305 warning by another.
26307 * time-stamp.el (time-stamp-string-preprocess):
26308 Remove unused variable `require-padding'.
26310 * tree-widget.el (widget-glyph-enable): Declare.
26311 (tree-widget-action): Mark unused parameter.
26313 * w32-fns.el (x-get-selection): Mark unused parameter.
26314 (autoload-make-program, generated-autoload-file): Declare.
26316 * wdired.el (wdired-revert): Mark unused parameters.
26317 (wdired-xcase-word): Remove unused variable `err'.
26319 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
26320 (whitespace-help-scroll): Remove unused variable `data-help'.
26322 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
26323 (widget-image-insert, widget-after-change, default)
26324 (widget-default-format-handler, widget-default-notify)
26325 (widget-default-prompt-value, widget-info-link-action)
26326 (widget-url-link-action, widget-function-link-action)
26327 (widget-variable-link-action, widget-file-link-action)
26328 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
26329 (widget-field-prompt-internal, widget-field-action, widget-field-match)
26330 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
26331 (widget-insert-button-action, widget-delete-button-action, visibility)
26332 (widget-documentation-link-action, widget-documentation-string-action)
26333 (widget-const-prompt-value, widget-regexp-match, symbol)
26334 (widget-coding-system-prompt-value)
26335 (widget-key-sequence-value-to-external, sexp)
26336 (widget-sexp-value-to-internal, character, vector, cons)
26337 (widget-choice-prompt-value, widget-boolean-prompt-value)
26338 (widget-color--choose-action): Mark unused parameters.
26339 (widget-item-match-inline, widget-choice-match-inline)
26340 (widget-checklist-match, widget-checklist-match-inline)
26341 (widget-group-match): Rename parameter VALUES to VALS.
26342 (widget-field-value-set): Remove unused variable `size'.
26343 (widget-color-action): Remove unused variables `value' and `start'.
26345 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
26346 variable `dir'. Doc fix.
26347 (windmove-find-other-window): Don't pass it.
26349 * window.el (count-windows): Mark unused parameter.
26350 (bw-adjust-window): Remove unused variable `err'.
26352 * woman.el (woman-file-name): Remove unused variable `default'.
26353 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
26354 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
26355 (global-font-lock-mode): Declare.
26356 (woman-decode-region): Mark unused parameter.
26357 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
26359 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
26360 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
26361 (x-dnd-handle-moz-url): Remove unused variable `title'.
26362 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
26364 * xml.el (xml-parse-tag, xml-parse-attlist):
26365 Remove unused variable `pos'.
26367 2011-04-19 Glenn Morris <rgm@gnu.org>
26369 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
26370 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
26371 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
26372 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
26373 * calendar/cal-html.el (cal-html-insert-minical):
26374 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
26375 (calendar-mark-date-pattern):
26376 Prefix "unused" locals.
26378 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
26379 optional argument `style'.
26381 * calendar/appt.el (appt-make-list):
26382 * calendar/cal-china.el (calendar-chinese-date-string):
26383 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
26384 (diary-hebrew-yahrzeit):
26385 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
26386 * calendar/calendar.el (calendar-generate-window):
26387 * calendar/time-date.el (time-to-days):
26388 Remove unused local variables.
26390 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
26392 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
26393 glyphless-char-display table.
26394 (tabulated-list-glyphless-char-display): New var.
26396 2011-04-18 Sam Steingold <sds@gnu.org>
26398 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
26399 to acknowledgments.
26401 2011-04-17 Glenn Morris <rgm@gnu.org>
26403 * calendar/diary-lib.el (diary-sexp-entry):
26404 * calendar/holidays.el (holiday-sexp):
26405 Set debug-on-error rather than the removed stack-trace-on-error.
26407 2011-04-16 Glenn Morris <rgm@gnu.org>
26409 * progmodes/f90.el: Use lexical-binding.
26410 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
26412 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26414 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
26415 (mail-mode): Setup mailalias completion here instead.
26416 * mail/mailalias.el: Use lexical-binding.
26417 (pattern, mailalias-done): Declare dynamic.
26418 (mail-completion-at-point-function): New function, from mail-complete.
26419 (mail-complete): Use it.
26420 (mail-completion-expand): New function.
26421 (mail-get-names): Use it.
26422 (mail-directory, mail-directory-process, mail-directory-stream):
26423 Don't use `pattern' for lexically bound arg.
26425 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
26427 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
26428 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
26429 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
26431 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
26432 (byte-save-window-excursion, byte-temp-output-buffer-setup)
26433 (byte-interactive-p): Define them again, for use when inlining
26436 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
26438 * loadup.el: Use `string-to-number', not `string-to-int'.
26440 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26442 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
26443 gud-gdb-complete-command.
26444 (gud-gdb-completions): New function, from gud-gdb-complete-command.
26445 (gud-gdb-completion-at-point): New function.
26446 (gud-gdb-completions): Remove.
26448 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
26450 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
26451 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
26452 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
26453 whether `executable-find' is bound.
26455 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
26457 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
26459 * minibuffer.el (completion-in-region-mode-predicate)
26460 (completion-in-region-mode--predicate): New vars.
26461 (completion-in-region, completion-in-region--postch)
26462 (completion-in-region-mode): Use them.
26463 (completion--capf-wrapper): Also return the hook function.
26464 (completion-at-point, completion-help-at-point):
26465 Adjust and provide a predicate.
26467 Preserve arg names for advice of subr and lexical functions (bug#8457).
26468 * help-fns.el (help-function-arglist): Consolidate the subr and
26469 new-byte-code cases. Add argument `preserve-names' to extract names
26470 from the docstring when needed.
26471 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
26472 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
26473 (ad-arglist): Use help-function-arglist's new arg.
26474 (ad-definition-type): Use cond.
26476 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
26478 * autorevert.el (auto-revert-handler):
26479 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
26480 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
26481 Don't quote lambda.
26483 * image-mode.el (image-transform-set-scale):
26484 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
26486 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
26488 * net/network-stream.el (network-stream-open-starttls): Only do
26489 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
26490 Upgrades via gnutls-cli are too slow to be done opportunistically.
26492 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
26494 * dframe.el (dframe-current-frame): Remove spurious quote.
26496 2011-04-12 Glenn Morris <rgm@gnu.org>
26498 * calendar/cal-tex.el (cal-tex-end-document):
26499 Try to automatically use latin1 input if needed.
26501 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
26502 Don't try to cons a mark onto an empty element.
26504 2011-04-11 Leo Liu <sdl.web@gmail.com>
26506 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
26508 (ido-kill-buffer-at-head): Support killing virtual buffers.
26510 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
26512 * minibuffer.el (completion-show-inline-help): New var.
26513 (completion--do-completion, minibuffer-complete)
26514 (minibuffer-force-complete, minibuffer-complete-word):
26515 Inhibit minibuffer messages if completion-show-inline-help is nil.
26517 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
26518 to avoid interference from inline help (Bug#5849).
26520 2011-04-10 Leo Liu <sdl.web@gmail.com>
26522 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
26525 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
26527 * image-mode.el (image-toggle-display-image): Signal an error if
26529 (image-transform-mode, image-transform-resize)
26530 (image-transform-set-rotation): Doc fix.
26531 (image-transform-set-resize): Delete.
26532 (image-transform-set-scale, image-transform-fit-to-height)
26533 (image-transform-fit-to-width): Handle image-toggle-display-image
26534 and image-transform-resize directly.
26536 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
26538 * doc-view.el (doc-view-fit-width-to-window)
26539 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
26540 New functions for fitting the shown image to the Emacs window size.
26541 (doc-view-mode-map): Add bindings for the new functions.
26543 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
26545 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
26546 Fix typo in docstring.
26548 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26550 * files.el (file-size-human-readable): Produce one digit after
26551 decimal, like "ls -lh" does.
26553 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
26554 the file size representation.
26556 * simple.el (list-processes): If async subprocesses are not
26557 available, error out with a clear error message.
26559 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
26561 * help.el (help-form-show): New function, to be called from C.
26562 Put help-form output in a buffer named differently than *Help*.
26564 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26566 * files.el (file-size-human-readable): New function.
26568 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
26569 computing the representation inline. Don't require `cl'.
26571 2011-04-08 Glenn Morris <rgm@gnu.org>
26573 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
26575 * net/browse-url.el (browse-url-firefox):
26576 Test system-type, not system-configuration.
26578 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
26579 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
26580 Use log-edit-empty-buffer-p. (Bug#7598)
26582 * net/rlogin.el (rlogin-process-connection-type): Simplify.
26583 (rlogin-mode-map): Initialize in the defvar.
26584 (rlogin): Use ignore-errors.
26586 * replace.el (occur-mode-map): Some fixes for menu items.
26588 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
26590 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
26592 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26594 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
26595 issuing unused warnings.
26597 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
26600 * simple.el: Lisp reimplement of list-processes. Based on an
26601 earlier reimplementation by Leo Liu, but using tabulated-list.el.
26602 (process-menu-mode): New major mode.
26603 (list-processes--refresh, list-processes):
26604 (process-menu-visit-buffer): New functions.
26606 * files.el (save-buffers-kill-emacs): Don't assume any return
26607 value of list-processes, which is undocumented anyway.
26609 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26611 * emacs-lisp/tabulated-list.el: New file.
26613 * emacs-lisp/package.el: Use Tabulated List mode.
26614 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
26615 (package-menu-mode): Derive from tabulated-list-mode. Set up the
26616 table format using Tabulated List mode variables.
26617 (package--push): New macro, replacing package-list-maybe-add.
26618 (package-menu--generate): Use package--push. Renamed from
26619 package--generate-package-list.
26620 (package-menu-refresh, list-packages): Use it.
26621 (package-menu--print-info): Rename from package-print-package.
26622 Return insertion data instead of inserting it directly.
26623 (package-menu-describe-package, package-menu-execute):
26624 Use tabulated-list-get-id.
26625 (package-menu-mark-delete, package-menu-mark-install)
26626 (package-menu-mark-unmark, package-menu-backup-unmark)
26627 (package-menu-mark-obsolete-for-deletion):
26628 Use tabulated-list-put-tag.
26629 (package--list-packages, package-menu-revert)
26630 (package-menu-get-package, package-menu-get-version)
26631 (package-menu-sort-by-column): Functions deleted.
26632 (package-menu-package-list, package-menu-sort-key): Vars deleted.
26633 (package-menu--status-predicate, package-menu--version-predicate)
26634 (package-menu--name-predicate)
26635 (package-menu--description-predicate): Handle arguments in the
26636 Tabulated List format.
26637 (package-list-packages-no-fetch): Call list-packages.
26639 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
26641 * files.el (after-find-file-from-revert-buffer): Remove variable.
26642 (after-find-file): Don't bind it.
26643 (revert-buffer-in-progress-p): New variable.
26644 (revert-buffer): Bind it.
26645 Pass nil for `after-find-file-from-revert-buffer'.
26647 * saveplace.el (save-place-find-file-hook): Use new variable
26648 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
26650 2011-04-06 Glenn Morris <rgm@gnu.org>
26652 * Makefile.in (AUTOGEN_VCS): New variable.
26653 (autoloads): Use $AUTOGEN_VCS.
26655 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
26656 * calendar/calendar.el (calendar-mode-map):
26657 Check for toolkit scroll bars. (Bug#8305)
26659 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26661 * minibuffer.el (completion-in-region--postch)
26662 (completion-in-region-mode): Remove unnecessary messages.
26664 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
26666 * font-lock.el (font-lock-refresh-defaults):
26667 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
26668 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
26670 * info.el (Info-directory-list, Info-read-node-name-2)
26671 (Info-split-parameter-string): Doc fixes.
26672 (Info-virtual-nodes): Reflow docstring.
26673 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
26674 (Info-apropos-toc-nodes, info-finder, Info-get-token)
26675 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
26676 Fix typos in docstrings.
26677 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
26678 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
26679 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
26680 (Info-restore-desktop-buffer): Mark unused parameters.
26681 (Info-directory-find-file, Info-directory-find-node)
26682 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
26683 (Info-virtual-index-find-node, Info-apropos-find-file)
26684 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
26685 Mark unused parameters; fix typos in docstrings.
26686 (Info-virtual-index): Remove unused local variable `nodename'.
26688 2011-04-05 Deniz Dogan <deniz@dogan.se>
26690 * net/rcirc.el: Update my e-mail address.
26691 (rcirc-mode-map): Remove M-o binding.
26693 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26695 * startup.el (command-line): Save the cursor's theme-face
26696 directly, instead of using face-override-spec.
26698 * custom.el (load-theme): Minor optimization in assigning faces.
26700 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26702 * help-fns.el (describe-variable): Complete all variables having
26703 documentation, including keywords.
26704 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
26706 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26708 Convert to lexical-binding.
26710 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
26711 (bs--get-marked-string, bs--get-modified-string)
26712 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
26713 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
26714 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
26716 * ehelp.el (electric-help-execute-extended)
26717 (electric-help-ctrl-x-prefix):
26718 * hexl.el (hexl-revert-buffer-function):
26719 * linum.el (linum-after-change, linum-after-scroll):
26720 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
26722 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
26724 2011-04-04 Daiki Ueno <ueno@unixuser.org>
26731 * epg.el: Use lexical binding.
26733 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
26735 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
26737 * textmodes/flyspell.el (flyspell-word): Recognize default
26738 dictionary case for flyspell-mark-duplications-exceptions.
26739 Use regexp matching for languages.
26740 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
26741 default dictionary (Bug#7926).
26743 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
26745 * emacs-lisp/package.el (package--with-work-buffer):
26746 Recognize https URLs.
26748 * net/network-stream.el: Move from gnus/proto-stream.el.
26749 Change prefix to network-stream throughout.
26750 (open-protocol-stream): Merge into open-network-stream, leaving
26751 open-protocol-stream as an alias. Handle nil BUFFER args.
26753 * subr.el (open-network-stream): Move to net/network-stream.el.
26755 2011-04-02 Glenn Morris <rgm@gnu.org>
26757 * find-dired.el (find-exec-terminator): New option.
26758 (find-ls-option): Test for -ls support.
26759 (find-ls-subdir-switches): Test for -b in find-ls-option.
26760 (find-dired, find-grep-dired): Doc fixes.
26761 (find-dired): Use find-exec-terminator.
26763 * find-dired.el (find-ls-option, find-ls-subdir-switches)
26764 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
26765 (find-name-arg): Remove purecopy.
26767 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
26768 (grep-compute-defaults): Check for `-exec COMMAND +' support.
26769 Set grep-find-use-xargs, grep-find-command, and grep-find-template
26770 accordingly. Don't add the null-device if not needed.
26772 * files.el (save-some-buffers): Doc fix.
26774 2011-04-02 Eli Zaretskii <eliz@gnu.org>
26776 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
26778 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
26780 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
26781 Use `dolist' rather than `mapcar'.
26783 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
26785 Add lexical binding.
26787 * subr.el (apply-partially): Use new closures rather than CL.
26788 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
26789 (dolist, dotimes): Use slightly different expansion for lexical code.
26790 (functionp): Move to C.
26791 (letrec): New macro.
26792 (with-wrapper-hook): Use it and apply-partially instead of CL.
26793 (eval-after-load): Preserve lexical-binding.
26794 (save-window-excursion, with-output-to-temp-buffer): Turn them
26797 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
26799 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
26801 (help-add-fundoc-usage): Don't add `Not documented'.
26802 (help-function-arglist): Handle closures, subroutines, and new
26803 byte-code-functions.
26804 (help-make-usage): Remove leading underscores.
26805 (describe-function-1): Handle closures.
26806 (describe-variable): Use special-variable-p for completion.
26808 * files.el (lexical-binding): Declare safe.
26810 * emacs-lisp/pcase.el: Don't use destructuring-bind.
26811 (pcase--memoize): Rename from pcase-memoize. Change weakness.
26812 (pcase): Add `let' pattern.
26813 Change memoization so it actually works.
26814 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
26815 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
26818 * emacs-lisp/macroexp.el: Use lexical binding.
26819 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
26820 Don't convert ' to #' without checking that it's indeed quoting
26823 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
26824 Use eval-sexp-add-defvars.
26825 (eval-sexp-add-defvars): New fun.
26827 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
26829 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
26831 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
26832 than the internal `byte-compile-lambda'.
26833 (defmethod): Don't hide code under quotes.
26834 (eieio-defmethod): New `code' argument.
26836 * emacs-lisp/eieio-comp.el: Remove.
26838 * emacs-lisp/edebug.el (edebug-eval-defun)
26839 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
26840 (edebug-toggle): Avoid `eval'.
26842 * emacs-lisp/disass.el (disassemble-internal): Handle new
26844 (disassemble-1): Handle new byte codes.
26846 * emacs-lisp/cl.el (pushnew): Silence warning.
26848 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
26849 (cl-byte-compile-throw): Remove.
26850 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
26852 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
26855 * emacs-lisp/cconv.el: New file.
26857 * emacs-lisp/bytecomp.el: Use lexical binding instead of
26858 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
26859 (byte-compile-initial-macro-environment):
26860 Handle declare-function here.
26861 (byte-compile--lexical-environment): New var.
26862 (byte-stack-ref, byte-stack-set, byte-discardN)
26863 (byte-discardN-preserve-tos): New lap codes.
26864 (byte-interactive-p): Don't use any more.
26865 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
26867 (byte-compile-lapcode): Use them and handle new lap codes.
26868 (byte-compile-obsolete): Remove.
26869 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
26870 (byte-compile-arglist-warn): Check late def of inlinable funs.
26871 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
26872 since they should have been expanded by now.
26873 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
26874 (byte-compile-from-buffer): Remove unused second arg.
26875 (byte-compile-preprocess): New function.
26876 (byte-compile-toplevel-file-form): New function to distinguish
26877 file-form calls from outside from file-form calls from hunk-handlers.
26878 (byte-compile-file-form): Simplify.
26879 (byte-compile-file-form-defsubst): Remove.
26880 (byte-compile-file-form-defmumble): Simplify now that
26881 byte-compile-lambda always returns a byte-code-function.
26882 (byte-compile): Preprocess.
26883 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
26884 Remove, not used any more.
26885 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
26886 (byte-compile-make-args-desc): New funs.
26887 (byte-compile-lambda): Handle lexical functions. Always return
26888 a byte-code-function.
26889 (byte-compile-reserved-constants): New var, to make up room for
26890 closed-over variables.
26891 (byte-compile-constants-vector): Obey it.
26892 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
26893 (byte-compile-macroexpand-declare-function): New function.
26894 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
26895 byte-code-functions.
26896 (byte-compile-form): Check obsolescence here.
26897 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
26898 (byte-compile-variable-ref): Remove.
26899 (byte-compile-dynamic-variable-op): New fun.
26900 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
26901 (byte-compile-variable-set): New funs.
26902 (byte-compile-discard): Add 2 args.
26903 (byte-compile-stack-ref, byte-compile-stack-set)
26904 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
26905 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
26906 macroexpand-all instead.
26907 (byte-compile-quote-form): Remove.
26908 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
26909 (byte-compile-bind, byte-compile-unbind): New funs.
26910 (byte-compile-let): Handle let* and lexical binding.
26911 (byte-compile-let*): Remove.
26912 (byte-compile-catch, byte-compile-unwind-protect)
26913 (byte-compile-track-mouse, byte-compile-condition-case):
26914 Handle a new :fun-body form, used for lexical scoping.
26915 (byte-compile-save-window-excursion)
26916 (byte-compile-with-output-to-temp-buffer): Remove.
26917 (byte-compile-defun): Simplify.
26918 (byte-compile-stack-adjustment): New fun.
26919 (byte-compile-out): Use it.
26920 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
26922 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
26925 * emacs-lisp/byte-opt.el: Use lexical binding.
26926 (byte-inline-lapcode): Remove (to bytecomp).
26927 (byte-compile-inline-expand): Pay attention to inlining to/from
26928 lexically bound code.
26929 (byte-compile-unfold-lambda): Don't handle byte-code-functions
26931 (byte-optimize-form-code-walker): Don't handle save-window-excursion
26932 any more and don't call compiler-macros.
26933 (byte-compile-splice-in-already-compiled-code): Remove.
26934 (byte-code): Don't inline any more.
26935 (disassemble-offset): Receive `bytes' as argument rather than via
26937 (byte-compile-tag-number): Declare before first use.
26938 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
26939 `return' even if make-spliceable.
26940 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
26941 obsolete interactive-p.
26942 (byte-optimize-lapcode): Optimize new lap-codes.
26943 Don't trip up on new form of `byte-constant' lap code.
26945 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
26947 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
26949 * custom.el (custom-initialize-default, custom-declare-variable):
26952 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
26954 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
26955 (COMPILE_FIRST): Add macroexp and cconv.
26956 * makefile.w32-in: Mirror changes in Makefile.in.
26958 * vc/cvs-status.el:
26962 * vc/smerge-mode.el:
26963 * textmodes/bibtex-style.el:
26964 * textmodes/css-mode.el:
26972 * emacs-lisp/smie.el:
26975 * abbrev.el: Use lexical binding.
26977 2011-04-01 Eli Zaretskii <eliz@gnu.org>
26979 * info.el (info-display-manual): New function.
26981 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
26983 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
26985 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
26987 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
26988 an entry for that server in rcirc-authinfo. (Bug#8385)
26990 2011-03-31 Glenn Morris <rgm@gnu.org>
26992 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
26994 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
26996 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
26998 * progmodes/python.el (python-default-interpreter)
26999 (python-python-command-args, python-jython-command-args)
27000 (python-which-shell, python-which-args, python-which-bufname)
27001 (python-file-queue, python-comint-output-filter-function)
27002 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
27003 variables and functions.
27005 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
27007 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
27008 (completion-in-region-mode): New minor mode.
27009 (completion-in-region): Use it.
27010 (completion-in-region--data, completion-in-region-mode-map): New vars.
27011 (completion-in-region--postch): New function.
27012 (completion--capf-misbehave-funs, completion--capf-safe-funs):
27014 (completion--capf-wrapper): New function.
27015 (completion-at-point): Use it to track well-behavedness of
27017 (completion-help-at-point): New command.
27019 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
27021 * vc/add-log.el (add-change-log-entry): Don't use whitespace
27022 syntax class to search for whitespace on a single line
27023 (Message-ID: <4D938140.4030905@redhat.com>).
27025 2011-03-30 Leo Liu <sdl.web@gmail.com>
27027 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
27029 (edit-abbrevs-map): Bind them here.
27030 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
27032 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
27034 * allout.el (allout-hide-by-annotation, allout-flag-region):
27035 Reduce possibility of overlay leakage by making them volatile.
27037 * allout-widgets.el (allout-widgets-tally): Define as nil so the
27038 hash is not shared between buffers. Mode initialization is
27039 responsible for giving it a useful starting value.
27040 (allout-item-span): Reduce possibility of overlay leakage by
27041 making them volatile.
27042 (allout-widgets-count-buttons-in-region): Add diagnostic function
27043 for tracking down button overlay leaks.
27045 2011-03-29 Leo Liu <sdl.web@gmail.com>
27047 * ido.el (ido-read-internal): Use the default history var
27048 minibuffer-history if no HISTORY is specified.
27050 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
27052 * net/imap.el (imap-shell-open, imap-process-connection-type):
27053 Use imap-process-connection-type for 'shell' streams as well as
27054 Kerberos, SSL, other subprocesses.
27056 2011-03-28 Leo Liu <sdl.web@gmail.com>
27058 * abbrev.el (abbrev-table-empty-p): New function.
27059 (prepare-abbrev-list-buffer): Place empty abbrev tables after
27060 nonempty ones. (Bug#5937)
27062 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
27064 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
27066 2011-03-27 Leo Liu <sdl.web@gmail.com>
27068 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
27069 for foreground and background colors.
27070 (ansi-color-make-color-map): Adapt.
27072 2011-03-25 Leo Liu <sdl.web@gmail.com>
27074 * midnight.el (midnight-time-float): Remove. Note it calculates
27075 the microsecond component incorrectly and seconds-to-time does the
27077 Remove redundant (require 'timer).
27079 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
27080 (ido-completions): Remove unused arguments. (Bug#8329)
27082 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
27084 * minibuffer.el (completion--flush-all-sorted-completions):
27085 Remove itself from hook.
27086 (completion-at-point): Let the functions perform the completion
27087 immediately and return nil or t.
27088 * comint.el (comint-dynamic-complete-functions): Now identical to
27089 completion-at-point-functions.
27090 (comint-dynamic-list-input-ring): Remove unused var `index'.
27091 (comint--match-partial-filename, comint--unquote&expand-filename):
27092 New funs, split from comint-match-partial-filename.
27093 (comint-dynamic-complete): Use completion-at-point.
27094 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
27096 2011-03-24 Drew Adams <drew.adams@oracle.com>
27098 * thingatpt.el: Support `defun'.
27100 2011-03-23 Leo Liu <sdl.web@gmail.com>
27102 * abbrevlist.el: Move to obsolete/abbrevlist.el.
27104 * help-mode.el (help-mode-finish): Tweak regexp.
27106 2011-03-23 Glenn Morris <rgm@gnu.org>
27108 * eshell/esh-opt.el (eshell-eval-using-options):
27109 Do not bind unused local variable `eshell-option-stub'.
27111 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
27113 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27115 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
27116 keymap variable in `with-no-warnings' to avoid a warning when the
27117 keymap has been already `defconst'ed.
27119 2011-03-22 Leo Liu <sdl.web@gmail.com>
27121 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
27122 encode all chars in abbrevs; otherwise use emacs-mule or
27123 utf-8-emacs. (Bug#8308)
27125 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27127 * simple.el (backward-delete-char-untabify):
27128 Avoid warning about using `delete-backward-char'.
27130 * image.el (image-type-file-name-regexps): Make it variable.
27131 `imagemagick-register-types' modifies it, and the user may want
27132 to add new extensions for known image types.
27133 (imagemagick-register-types): Throw error if not using ImageMagick.
27135 2011-03-22 Leo Liu <sdl.web@gmail.com>
27137 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
27138 located before rcirc-prompt-end-marker.
27139 (rcirc-complete): Error if point is not after rcirc prompt.
27140 Handle the case when table is nil.
27141 (rcirc-user-authenticated): Define to fix compiler warning.
27143 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
27145 * custom.el (custom--inhibit-theme-enable): Make it affect only
27146 custom-theme-set-variables and custom-theme-set-faces.
27147 (provide-theme): Ignore custom--inhibit-theme-enable.
27148 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
27149 (custom-enabling-themes): Delete variable.
27150 (enable-theme): Accept only loaded themes as arguments.
27151 Ignore the special custom-enabled-themes variable.
27152 (custom-enabled-themes): Forbid themes from setting this.
27153 Eliminate use of custom-enabling-themes.
27154 (custom-push-theme): Quote "changed" custom var entry.
27156 2011-03-21 Leo Liu <sdl.web@gmail.com>
27158 * ido.el (ido-read-internal): Add ido-selected to history instead
27161 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
27163 * subr.el (deferred-action-list, deferred-action-function):
27166 2011-03-21 Leo Liu <sdl.web@gmail.com>
27168 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
27169 change on 2011-02-13 (bug#8309).
27171 * minibuffer.el (read-file-name-function): Change default value.
27172 (read-file-name--defaults): Rename from read-file-name-defaults.
27173 (read-file-name-default): Rename from read-file-name.
27174 (read-file-name): Call read-file-name-function.
27176 2011-03-21 Glenn Morris <rgm@gnu.org>
27178 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
27181 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
27183 * cus-theme.el: Add missing provide statement.
27184 (customize-create-theme): Extract theme value correctly.
27185 (custom-theme-visit-theme): Autoload.
27186 (customize-create-theme): Prompt before inserting default faces.
27188 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
27190 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
27191 units and musical notes.
27193 2011-03-20 Leo Liu <sdl.web@gmail.com>
27195 * ido.el (ido-read-internal): Use completing-read-default.
27196 (ido-completing-read): Fix compatibility with completing-read.
27198 2011-03-20 Christian Ohler <ohler@gnu.org>
27200 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
27201 (ert-delete-all-tests): Use `called-interactively-p' rather than
27203 (ert--make-xrefs-region): Respect END.
27205 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27207 * dired-aux.el (dired-create-directory): Signal an error if the
27208 directory already exists (Bug#8246).
27210 * facemenu.el (list-colors-display): Call list-faces-display
27211 inside with-help-window.
27212 (list-colors-print): Use display property to align the final
27213 column, instead of checking window-width.
27215 2011-03-19 Eli Zaretskii <eliz@gnu.org>
27217 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
27218 windows-nt systems.
27219 (emerge-protect-metachars): Quote correctly for ms-dos and
27220 windows-nt systems.
27222 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
27224 * info.el (info-initialize): Replace all uses of `:' with
27225 path-separator for compatibility with non-Unix systems.
27226 Cache quoting of path-separator. (Bug#8258)
27228 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
27230 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
27231 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
27232 (mouse-avoidance-mode): Fix typos in docstrings.
27234 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27236 * startup.el (package-subdirectory-regexp): Move from package.el.
27237 Omit \\` and \\', and let callers add them.
27239 * emacs-lisp/package.el (package-strip-version)
27240 (package-load-all-descriptors): Add \\` and \\' to
27241 package-subdirectory-regexp before using it.
27242 (package-untar-buffer): New arg DIR; ensure that file untars only
27243 into this expected directory. Remove superfluous delete-region.
27244 (package-unpack): Caller changed.
27245 (package-tar-file-info): Use package-subdirectory-regexp.
27247 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
27249 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
27250 diff-mode-shared-map (bug#8284).
27251 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
27253 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
27255 * calendar/time-date.el (format-seconds): Use assoc instead of
27256 assoc-string, since assoc-string doesn't exist in XEmacs.
27258 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
27260 * custom.el (custom-known-themes): Reflow docstring.
27261 (custom-theme-load-path): Fix typo in docstring.
27262 (load-theme): Fix typo in error message.
27263 (custom-available-themes, custom-variable-theme-value):
27264 Use `let', not `let*'.
27266 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
27268 * calc/README: Mention inclusion of musical notes.
27270 * calc/calc-units.el (calc-lu-quant): Rename from
27271 `calc-logunits-quantity'.
27272 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
27273 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
27274 (calc-db): Rename from `calc-dblevel'.
27275 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
27276 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
27277 (calc-np): Rename from `calc-nplevel'.
27278 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
27279 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
27280 (calc-lu-plus): Rename from `calc-logunits-add'.
27281 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
27282 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
27283 (calc-lu-minus): Rename from `calc-logunits-sub'.
27284 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
27285 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
27286 (calc-lu-times): Rename from `calc-logunits-mul'.
27287 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
27288 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
27289 (calc-lu-divide): Rename from `calc-logunits-div'.
27290 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
27291 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
27293 * calc/calc-ext.el (calc-init-extensions): Update the names of the
27294 functions being autoloaded.
27296 * calc/calc.el (calc-lu-power-reference): Rename from
27297 `calc-logunits-power-reference'.
27298 (calc-lu-field-reference): Rename from
27299 `calc-logunits-field-reference'.
27301 * calc/calc-help.el (calc-l-prefix-help):
27302 Mention musical note functions.
27304 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
27306 * minibuffer.el (completion-all-sorted-completions):
27307 Use :completion-cycle-penalty text property if present.
27309 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
27311 * allout.el (allout-yank-processing): Adjust for new rebulleting
27312 regime so bullet being yanked is used without prompting the user
27315 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27317 * startup.el (command-line): Warn the user that _emacs is deprecated.
27319 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27321 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
27322 (delphi-verbose, delphi-comment-face, delphi-string-face)
27323 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
27324 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
27325 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
27326 (delphi-new-comment-line, delphi-font-lock-defaults)
27327 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
27328 Fix typos in docstrings.
27330 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
27332 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
27333 Invert the roles of character and string values for INSTEAD, so a
27334 string is used for the more common case of a defaulting prompt.
27336 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27338 * progmodes/ruby-mode.el (ruby-backward-sexp):
27339 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
27340 * play/gamegrid.el (gamegrid-make-face):
27341 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
27342 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
27343 * notifications.el (notifications-notify):
27344 * net/xesam.el (xesam-search-engines):
27345 * net/quickurl.el (quickurl-list-insert):
27346 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
27348 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
27350 * startup.el (command-line): Update package subdirectory regexp.
27352 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27354 * allout.el (allout-abbreviate-flattened-numbering)
27355 (allout-mode-deactivate-hook): Fix up obsolescence "date".
27357 * subr.el (read-char-choice): Only show the cursor after the prompt,
27358 not after the answer.
27360 2011-03-15 Kevin Ryde <user42@zip.com.au>
27362 * help-fns.el (variable-at-point): Skip leading quotes, if any
27365 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27367 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
27370 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
27372 * shell.el (shell): When called interactively, offer to change the
27373 shell file name on remote hosts.
27375 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
27377 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
27378 integration for LDAP parameters. The host, base, user or binddn,
27379 and secret tokens can be specified in a netrc file, for instance.
27380 This is optional because an `auth-source' parameter must be
27381 specified in the search attributes.
27383 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
27385 * help.el (describe-mode): Link to the mode's definition (bug#8185).
27387 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27389 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
27390 into declaration. Remove redundant and harmful binding.
27392 2011-03-12 Eli Zaretskii <eliz@gnu.org>
27394 * files.el (file-ownership-preserved-p): Pass `integer' as an
27395 explicit 2nd argument to `file-attributes'. If the file's owner
27396 is the Administrators group on Windows, and the current user is
27397 Administrator, consider that a match.
27399 * server.el (server-ensure-safe-dir): Consider server directory
27400 safe on MS-Windows if its owner is the Administrators group while
27401 the current Emacs user is Administrator. Use `=' to compare
27402 numerical UIDs, since they could be integers or floats.
27404 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
27406 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
27408 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
27410 Sync with Tramp 2.2.1.
27412 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
27414 * net/trampver.el: Update release number.
27416 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27418 * progmodes/compile.el (compilation--previous-directory): Fix up
27419 various nil/dead-marker mismatches (bug#8014).
27420 (compilation-directory-properties, compilation-error-properties):
27421 Don't call it at a position past the one we're about to change.
27423 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
27424 Disable obsolescence warnings in the file that declares it.
27426 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
27428 * allout-widgets.el (allout-widgets-tally):
27429 Initialize allout-widgets-tally as a hash table rather than nil to
27430 prevent mode-line redisplay warnings. Also, clarify the module
27431 description and fix a comment typo.
27433 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
27435 * help-fns.el (describe-variable): Don't complete keywords.
27436 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
27438 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
27440 * emacs-lisp/package.el (package-version-join): Impose a standard
27441 string representation for pre/alpha/beta version lists.
27442 (package-unpack-single): Standardize the directory name by passing
27443 it through package-version-join.
27444 (package-strip-rcs-id): Accept any version string that does not
27445 signal an error in version-to-list.
27447 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
27449 * simple.el (delete-trailing-whitespace): Return nil for the
27450 benefit of `write-file-functions'.
27452 2011-03-10 Glenn Morris <rgm@gnu.org>
27454 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
27456 * vc/vc-git.el (vc-git-program): New option.
27457 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
27458 (vc-git--call): Use it.
27460 * eshell/esh-util.el (eshell-condition-case): Doc fix.
27462 * cus-edit.el (Custom-newline): If no button at point, look
27463 for a subgroup button at start-of-line. (Bug#2298)
27465 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
27467 2011-03-10 Julien Danjou <julien@danjou.info>
27469 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
27470 `cursor-type' is nil.
27472 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
27474 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
27476 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
27478 * allout.el: Change so yank of distinctive-bullet items
27479 preserves the existing header prefix, rebulleting it if necessary,
27480 rather than replacing it. This is necessary for proper operation
27481 of cooperative addons like allout-widgets.
27482 (allout-make-topic-prefix, allout-rebullet-heading):
27483 Change SOLICIT arg to INSTEAD, and interpret additionally a string
27484 value as alternate bullet to be used, instead of prompting the user
27485 for a bullet character.
27487 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
27489 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
27490 Do not use `tramp-file-name-port', because this returns also
27491 `tramp-default-port'.
27493 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
27495 * net/rcirc.el (rcirc-handler-001): Remove useless
27496 with-rcirc-process-buffer.
27497 (rcirc-check-auth-status): Swap arguments to string-match.
27499 2011-03-09 Glenn Morris <rgm@gnu.org>
27501 * shell.el (shell-mode):
27502 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
27504 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
27505 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
27507 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27509 * emacs-lisp/package.el (package-refresh-contents)
27510 (package-menu-execute): Use condition-case-no-debug.
27512 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
27514 * simple.el (shell-command-to-string): Use `process-file'.
27516 * emacs-lisp/package.el (package-tar-file-info): Handle also
27519 * emacs-lisp/package-x.el (package-upload-buffer-internal):
27520 Use `equal' for upload base check.
27522 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
27524 * textmodes/texinfo.el (texinfo-environments):
27525 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
27527 2011-03-08 Glenn Morris <rgm@gnu.org>
27529 * cus-start.el (cursor-in-non-selected-windows):
27530 Fix :set quoting oddness. (Bug#8192)
27532 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
27533 in some setf expressions. (Bug#2159)
27535 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27537 * custom.el (custom-available-themes): Return themes in
27538 alphabetical order.
27540 See ChangeLog.15 for earlier changes.
27542 ;; Local Variables:
27546 Copyright (C) 2011-2013 Free Software Foundation, Inc.
27548 This file is part of GNU Emacs.
27550 GNU Emacs is free software: you can redistribute it and/or modify
27551 it under the terms of the GNU General Public License as published by
27552 the Free Software Foundation, either version 3 of the License, or
27553 (at your option) any later version.
27555 GNU Emacs is distributed in the hope that it will be useful,
27556 but WITHOUT ANY WARRANTY; without even the implied warranty of
27557 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27558 GNU General Public License for more details.
27560 You should have received a copy of the GNU General Public License
27561 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.