1 2013-05-23 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
3 * lisp/textmodes/reftex-parse.el
4 (reftex-locate-bibliography-files): Accept options for
6 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7 Add addbibresource. Basic Biblatex support.
9 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
11 * net/tramp-gvfs.el (top):
12 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13 when loading package. (Bug#14447)
15 2013-05-23 Glenn Morris <rgm@gnu.org>
17 * progmodes/js.el: No need to load comint when compiling.
18 (ring-insert, comint-send-string, comint-send-input)
19 (comint-last-input-end, ido-chop): Declare.
21 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
22 * vc/ediff-mult.el: Adjust requires.
23 (ediff-directories-internal, ediff-directory-revisions-internal)
24 (ediff-patch-file-internal): Declare.
25 * vc/ediff-ptch.el: Adjust requires.
26 (ediff-use-last-dir, ediff-buffers-internal): Declare.
27 (ediff-find-file): Autoload.
28 * vc/ediff-util.el: No need to load ediff when compiling.
29 (ediff-regions-internal): Declare.
30 * vc/ediff-wind.el: Adjust requires.
31 (ediff-compute-toolbar-width): Define when compiling.
32 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
33 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
34 (dired-get-filename, dired-get-marked-files)
35 (ediff-last-dir-patch, ediff-patch-default-directory)
36 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
37 (ediff-patch-buffer-internal): Declare.
39 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
40 (ispell-process, ispell-buffer-local-words, lm-summary)
41 (lm-section-start, lm-section-end): Declare.
42 (checkdoc-ispell-init): Simplify.
44 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
45 (he-string-member, he-reset-string, he-substitute-string): Declare.
47 * eshell/em-ls.el: Adjust requires.
48 (eshell-glob-regexp): Declare.
49 * eshell/em-tramp.el: Adjust requires.
50 (eshell-parse-command): Autoload.
51 * eshell/em-xtra.el: Adjust requires.
52 (eshell-parse-command): Autoload.
53 * eshell/esh-ext.el: Adjust requires.
54 (eshell-parse-command, eshell-close-handles): Autoload.
55 * eshell/esh-io.el: Adjust requires.
56 (eshell-output-filter): Autoload.
57 * eshell/esh-util.el: No need to load tramp when compiling.
58 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
60 (eshell-parse-ange-ls): Require ange-ftp and tramp.
61 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
62 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
63 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
64 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
65 * eshell/esh-opt.el, eshell/esh-proc.el:
66 * eshell/esh-var.el: Adjust requires.
67 * eshell/eshell.el: Do not require esh-util twice.
68 (eshell-add-input-to-history): Declare.
69 (eshell-command): Check history module is active before using it.
71 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
73 2013-05-22 Leo Liu <sdl.web@gmail.com>
75 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
77 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
79 * autorevert.el (auto-revert-notify-add-watch)
80 (auto-revert-notify-handler): Add `attrib' for the inotify case,
81 it indicates changes in file modification time.
83 2013-05-22 Glenn Morris <rgm@gnu.org>
85 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
86 Always delete the autoloaded function from the noruntime and
87 unresolved functions lists.
89 * allout.el: No need to load epa, epg, overlay when compiling.
90 (epg-context-set-passphrase-callback, epg-list-keys)
91 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
92 (epg-key-user-id-list): Declare.
94 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
95 (viper-set-parsing-style-toggling-macro)
96 (viper-set-emacs-state-searchstyle-macros):
97 Use called-interactively-p on Emacs.
98 (viper-looking-back): Make it an obsolete alias. Update callers.
99 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
100 Use looking-back rather than viper-looking-back.
101 (viper-tmp-insert-at-eob, viper-enlarge-region)
102 (viper-read-string-with-history, viper-register-to-point)
103 (viper-append-to-register, viper-change-state-to-vi)
104 (viper-backward-char-carefully, viper-forward-char-carefully)
105 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
106 (viper-change-state-to-emacs): Declare.
107 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
108 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
109 * emulation/viper-mous.el: Do not load viper-cmd.
110 (viper-backward-char-carefully, viper-forward-char-carefully)
111 (viper-forward-word, viper-adjust-window): Declare.
113 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
115 * progmodes/idlw-help.el (idlwave-help-fontify):
116 Use called-interactively-p.
118 * term/w32console.el (w32-get-console-codepage)
119 (w32-get-console-output-codepage): Declare.
121 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
122 Remove unnecessary declarations.
123 (dframe-message): Doc fix.
125 * info.el (dframe-select-attached-frame, dframe-current-frame):
128 * speedbar.el (speedbar-message): Make it an obsolete alias.
130 (speedbar-with-attached-buffer)
131 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
132 (speedbar-with-writable): Use backquote.
133 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
134 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
135 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
136 rather than speedbar- aliases.
137 * mail/rmail.el: Load dframe rather than speedbar when compiling.
138 (speedbar-make-specialized-keymap, speedbar-insert-button)
139 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
140 (speedbar-do-function-pointer): Declare.
141 (rmail-speedbar-button, rmail-speedbar-find-file)
142 (rmail-speedbar-move-message):
143 Use dframe-with-attached-buffer rather than speedbar- alias.
144 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
145 (dframe-message, speedbar-make-specialized-keymap)
146 (speedbar-add-expansion-list, speedbar-mode-functions-list)
147 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
148 (speedbar-insert-button, dframe-select-attached-frame)
149 (dframe-maybee-jump-to-attached-frame)
150 (speedbar-change-initial-expansion-list)
151 (speedbar-previously-used-expansion-list-name): Declare.
152 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
153 Use dframe-message, dframe-with-attached-buffer rather than
155 (gud-sentinel): Silence compiler.
156 * progmodes/vhdl-mode.el (speedbar-refresh)
157 (speedbar-do-function-pointer, speedbar-add-supported-extension)
158 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
159 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
160 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
161 (speedbar-file-lists, speedbar-make-tag-line)
162 (speedbar-line-directory, speedbar-goto-this-file)
163 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
164 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
165 (speedbar-make-button, speedbar-reset-scanners)
166 (speedbar-files-item-info, speedbar-line-text)
167 (speedbar-find-file-in-frame, speedbar-set-timer)
168 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
169 (speedbar-with-writable): Do not (re)define it.
170 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
171 rather than speedbar- alias.
173 2013-05-21 Leo Liu <sdl.web@gmail.com>
175 * progmodes/octave.el (octave-mode-menu): Update and re-organize
177 (octave-mode): Tweak fill-nobreak-predicate.
178 (inferior-octave-startup): Check process to avoid infinite loop.
179 (inferior-octave): Pop to buffer first to show abornmal process
182 2013-05-21 Glenn Morris <rgm@gnu.org>
184 * printing.el (pr-menu-bar): Define when compiling.
186 2013-05-21 Leo Liu <sdl.web@gmail.com>
188 * progmodes/octave.el (octave-auto-fill): Remove.
189 (octave-indent-new-comment-line): Improve.
190 (octave-mode): Use auto fill mode through
191 comment-line-break-function and fill-nobreak-predicate
192 (octave-goto-function-definition): Support DEFUN_DLD.
193 (octave-beginning-of-defun): Small Tweak
194 (octave-help): Show parent directory.
196 2013-05-21 Glenn Morris <rgm@gnu.org>
198 * files.el (dired-unmark):
199 * progmodes/gud.el (gdb-input): Update declarations.
201 * calculator.el (electric, ehelp): No need to load when compiling.
202 (Electric-command-loop, electric-describe-mode): Declare.
204 * doc-view.el (doc-view-current-converter-processes): Move before use.
206 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
207 Move MODE-set-explicitly definition before use.
209 * international/mule-diag.el (mule-diag):
210 Don't use obsolete window-system-version.
212 * mail/feedmail.el (smtpmail): No need to load when compiling.
213 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
215 * mail/mail-utils.el (rfc822): No need to load when compiling.
216 (rfc822-addresses): Autoload it.
217 (mail-strip-quoted-names): Trivial simplification.
219 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
220 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
222 * net/snmp-mode.el (tempo): Don't duplicate requires.
224 * progmodes/prolog.el (info): No need to load when compiling.
225 (comint): Require before shell requires it.
226 (Info-goto-node): Autoload it.
227 (Info-follow-nearest-node): Declare.
228 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
230 * textmodes/artist.el (picture-mode-exit): Declare.
232 * textmodes/reftex-parse.el (reftex-parse-from-file):
233 Trivial rewrite so the compiler can parse it better.
235 2013-05-20 Leo Liu <sdl.web@gmail.com>
237 * progmodes/octave.el (octave-help-mode-map)
238 (octave-help-mode-finish-hook): New variables.
239 (octave-help-mode, octave-help-mode-finish): New functions.
240 (octave-help): Use octave-help-mode.
242 2013-05-20 Glenn Morris <rgm@gnu.org>
244 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
246 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
248 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
249 start at point, so that expansion starting right after opening
250 slash in a regexp is recognized.
251 (ruby-syntax-before-regexp-re): New defvar, extracted from
252 ruby-syntax-propertize-function. Since the value of this regexp
253 is looked up at runtime now, we should be able to turn
254 `ruby-syntax-methods-before-regexp' into a defcustom later.
255 (ruby-syntax-propertize-function): Split regexp matching into two
256 parts, for opening and closing slashes. That allows us to skip
257 over string interpolations and support multiline regexps.
258 Don't call `ruby-syntax-propertize-expansions', instead use another rule
259 for them, which calls `ruby-syntax-propertize-expansion'.
260 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
261 call to `ruby-syntax-propertize-function'.
262 (ruby-syntax-propertize-expansion): Extracted from
263 `ruby-syntax-propertize-expansions'. Handles one expansion.
264 (ruby-syntax-propertize-percent-literal): Leave point right after
265 the percent symbol, so that the expression expansion rule can
266 propertize the contents.
267 (ruby-syntax-propertize-heredoc): Leave point at bol following the
269 (ruby-syntax-propertize-expansions): Remove.
271 2013-05-18 Juri Linkov <juri@jurta.org>
273 * man.el (Man-default-man-entry): Remove `-' from the end
274 of the default value. (Bug#14400)
276 2013-05-18 Glenn Morris <rgm@gnu.org>
278 * comint.el (comint-password-prompt-regexp):
279 Allow "password for XXX" where XXX contains colons (eg https://...).
281 2013-05-18 Leo Liu <sdl.web@gmail.com>
283 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
284 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
285 (octave-source-directories): Don't check process.
286 (octave-source-directories, octave-find-definition): Doc fix.
288 2013-05-18 Glenn Morris <rgm@gnu.org>
290 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
291 Remove backspace/delete bindings. (Bug#14392)
293 * cus-dep.el (custom-make-dependencies): Sort the output.
294 (custom-versions-load-alist): Convert comment to doc.
296 2013-05-17 Leo Liu <sdl.web@gmail.com>
298 * newcomment.el (comment-search-backward): Stricter in finding
299 comment start. (Bug#14303)
301 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
302 (octave-comment-start-skip): Properly anchored.
304 2013-05-17 Leo Liu <sdl.web@gmail.com>
306 * emacs-lisp/smie.el (smie-highlight-matching-block-mode): Clean
307 up when turned off. (Bug#14395)
308 (smie--highlight-matching-block-overlay): No longer buffer-local.
309 (smie-highlight-matching-block): Adjust.
311 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
313 Doc string fix for "nanoseconds" (Bug#14406).
314 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
315 Fix doc string typo that had "nanoseconds" instead of "microseconds".
317 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
319 * calc/calc-units.el (math-extract-units): Preserve powers
322 2013-05-17 Leo Liu <sdl.web@gmail.com>
324 * subr.el (delete-consecutive-dups): New function.
325 * ido.el (ido-set-matches-1): Use it.
326 * progmodes/octave.el (inferior-octave-completion-table): Use it.
327 * ido.el (ido-remove-consecutive-dups): Remove.
329 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
331 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
332 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
333 regexp-opt's `words'.
335 2013-05-16 Leo Liu <sdl.web@gmail.com>
337 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
338 (smie--highlight-matching-block-overlay)
339 (smie--highlight-matching-block-lastpos)
340 (smie--highlight-matching-block-timer): New variables.
341 (smie-highlight-matching-block): New function.
342 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
343 (smie-setup): Conditionally enable smie-blink-matching-open.
345 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
347 Sync with upstream verilog-mode r840.
348 * progmodes/verilog-mode.el (verilog-mode-version)
349 (verilog-mode-release-date): Update.
350 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
351 (verilog-sig-tieoff): Fix string error on
352 AUTORESET with colon define, bug594. Reported by Andrew Hou.
353 (verilog-read-decls): Fix parameters confusing
354 AUTOINST interfaces, bug565. Reported by Leith Johnson.
356 2013-05-16 Eli Zaretskii <eliz@gnu.org>
358 * subr.el (reveal-filename): New function.
360 * loadup.el: Compute Emacs executable versions on MS-Windows,
361 where executables have the .exe extension. Add a hard link
362 emacs-XX.YY.ZZ.exe on MS-Windows.
364 * Makefile.in (XARGS_LIMIT): New variable.
365 (custom-deps, finder-data, autoloads)
366 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
367 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
368 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
369 (compile-main): Limit xargs according to $(XARGS_LIMIT).
371 2013-05-16 Leo Liu <sdl.web@gmail.com>
373 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
374 (octave-mode-menu, octave-mode-map): Remove its uses.
376 2013-05-16 Reto Zimmermann <reto@gnu.org>
378 Sync with upstream vhdl mode v3.34.2.
379 * progmodes/vhdl-mode.el: Use `push' throughout.
380 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
381 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
382 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
383 (vhdl-actual-generic-name): New option to derive actual generic name.
384 (vhdl-port-paste-signals): Replace formal by actual generics.
385 (vhdl-beautify): New name for old group vhdl-align. Update users.
386 (vhdl-beautify-options): New option.
387 (vhdl-last-input-event): New compat alias. Use throughout.
388 (vhdl-goto-line): Replace user level function `goto-line'.
389 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
390 vhdl-fix-statement-buffer.
391 (vhdl-create-mode-menu): Add some entries.
392 (vhdl-align-region-groups): Respect vhdl-beautify-options.
393 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
394 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
395 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
396 to force statements on one line.
397 (vhdl-remove-trailing-spaces-region):
398 New, split from vhdl-remove-trailing-spaces.
399 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
400 Respect vhdl-beautify-options.
401 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
402 (vhdl-update-sensitivity-list): Not add with index if exists without.
403 Not include array index with signal. Ignore keywords in comments.
404 (vhdl-get-visible-signals): Regexp tweaks.
405 (vhdl-template-component-inst): Handle empty library.
406 (vhdl-template-type): Add template for 'enum' type.
407 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
408 Use vhdl-replace-string.
409 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
410 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
411 (vhdl-speedbar-initialize): Update for above name change.
412 (vhdl-compose-wire-components): Fix in handling of constants.
413 (vhdl-error-regexp-emacs-alist): New variable.
414 (vhdl-error-regexp-add-emacs): New function;
415 adds support for new compile.el (Emacs 22+)
416 (vhdl-generate-makefile-1): Change target order for single lib. units.
417 Allow use of absolute file names.
419 2013-05-16 Leo Liu <sdl.web@gmail.com>
421 * simple.el (prog-indent-sexp): Indent enclosing defun.
423 2013-05-15 Glenn Morris <rgm@gnu.org>
425 * cus-start.el (show-trailing-whitespace): Move to editing basics.
426 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
427 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
428 (whitespace-highlight): Move to whitespace group.
430 * comint.el (comint-source):
431 * pcmpl-linux.el (pcmpl-linux):
432 * shell.el (shell-faces):
433 * eshell/esh-opt.el (eshell-opt):
434 * international/ccl.el (ccl): Remove empty custom groups.
436 * completion.el (dynamic-completion-mode):
437 * jit-lock.el (jit-lock-debug-mode):
438 * minibuffer.el (completion-in-region-mode):
439 * type-break.el (type-break-mode-line-message-mode)
440 (type-break-query-mode):
441 * emulation/tpu-edt.el (tpu-edt-mode):
442 * progmodes/subword.el (global-subword-mode, global-superword-mode):
443 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
444 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
446 * term/xterm.el (xterm): Change parent group to terminals.
448 * master.el (master): Remove empty custom group.
449 (master-mode): Remove unused :group argument.
450 * textmodes/refill.el (refill): Remove empty custom group.
451 (refill-mode): Remove unused :group argument.
453 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
455 * cus-dep.el: Provide a feature.
456 (custom-make-dependencies): Ignore dotfiles (dir-locals).
457 Don't mistakenly ignore files whose basenames match a basename
458 from preloaded-file-list (eg cedet/ede/simple.el).
459 Add a fallback method for getting :group.
461 2013-05-15 Juri Linkov <juri@jurta.org>
463 * isearch.el (isearch-char-by-name): Rename from
464 `isearch-insert-char-by-name'. Doc fix.
465 (isearch-forward): Mention `isearch-char-by-name' in
466 the docstring. (Bug#13348)
468 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
469 `exit-minibuffer' instead of
470 `isearch-nonincremental-exit-minibuffer'.
471 (isearch-edit-string): Remove mention of
472 `isearch-nonincremental-exit-minibuffer' from docstring.
473 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
474 (isearch-forward-exit-minibuffer)
475 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
477 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
479 * loadup.el: Just use unversioned DOC.
481 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
482 literals as extending to EOB.
483 (nxml-last-fontify-end): Remove unused variable.
484 (nxml-after-change1): Use with-silent-modifications.
485 (nxml-extend-after-change-region): Simplify.
486 (nxml-extend-after-change-region1): Remove function.
487 (nxml-after-change1): Don't adjust for dependent regions.
488 (nxml-fontify-matcher): Simplify.
489 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
490 (xmltok-add-dependent): Remove function.
491 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
492 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
493 (xmltok-scan-prolog-after-processing-instruction-open): Treat
494 unclosed <[[, <?, comment, and other literals as extending to EOB.
495 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
496 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
498 (rng-do-some-validation-1): Don't mark dependent regions.
499 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
500 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
501 (nxml-clear-dependent-regions): Remove functions.
502 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
503 (nxml-ensure-scan-up-to-date):
504 Don't clear&mark dependent regions.
506 2013-05-15 Leo Liu <sdl.web@gmail.com>
508 * progmodes/octave.el (octave-goto-function-definition):
509 Improve and fix callers.
511 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
513 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
514 the setter (bug#14387).
516 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
517 surrounding group (bug#14402).
519 2013-05-14 Juri Linkov <juri@jurta.org>
521 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
524 2013-05-14 Glenn Morris <rgm@gnu.org>
526 * progmodes/f90.el (f90-imenu-generic-expression):
527 Fix typo in 2013-05-08 change. (Bug#14402)
529 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
531 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
532 Remove signals for which replies are never received.
534 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
536 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
537 (gdb-handler-alist, gdb-handler-number): Remove variables.
538 (gdb-handler-list): New variable.
539 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
540 (gdb-pending-handler-p, gdb-handle-reply)
541 (gdb-remove-all-pending-triggers): New functions.
542 (gdb-discard-unordered-replies): New defcustom.
543 (gdb-handler): New defstruct.
544 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
545 instead of gdb-pending-triggers. Update docstring.
546 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
547 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
548 (gdb-var-update-handler, def-gdb-auto-update-trigger)
549 (def-gdb-auto-update-handler, gdb-get-changed-registers)
550 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
551 (gdb-frame-handler): Pending triggers are now automatically managed.
552 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
554 (gdb-input): Automatically handles pending triggers. Update docstring.
555 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
556 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
558 (gdb-done-or-error): Now use gdb-handle-reply.
560 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
562 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
565 2013-05-14 Glenn Morris <rgm@gnu.org>
567 * subr.el (user-emacs-directory-warning): New option.
568 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
570 2013-05-14 Leo Liu <sdl.web@gmail.com>
572 * progmodes/octave.el (octave-font-lock-keywords): Fix error
574 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
575 (octave-font-lock-texinfo-comment): Fix invalid search bound
576 error: wrong side of point.
578 2013-05-14 Glenn Morris <rgm@gnu.org>
580 * progmodes/flymake.el (flymake-xml-program): New option.
581 (flymake-xml-init): Use it.
583 * term/xterm.el: Provide a feature.
585 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
587 2013-05-13 Glenn Morris <rgm@gnu.org>
589 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
590 Add compat aliases as a hack workaround. (Bug#14384)
592 2013-05-13 Leo Liu <sdl.web@gmail.com>
594 * progmodes/octave.el (octave-indent-comment): Fix indentation for
596 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
598 (octave-comment-start-skip): Include %!.
599 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
601 2013-05-12 Leo Liu <sdl.web@gmail.com>
603 * progmodes/octave.el (inferior-octave-startup): Store the value
604 of __octave_srcdir__ for octave-source-directories.
605 (inferior-octave-check-process): New function refactored out of
606 inferior-octave-send-list-and-digest.
607 (octave-source-directories)
608 (octave-find-definition-filename-function): New variables.
609 (octave-source-directories)
610 (octave-find-definition-default-filename): New functions.
611 (octave-find-definition): Improve to find functions implemented in C++.
613 2013-05-12 Glenn Morris <rgm@gnu.org>
615 * calendar/diary-lib.el (diary-outlook-format-1):
616 Don't include dayname in the output. (Bug#14349)
618 2013-05-11 Glenn Morris <rgm@gnu.org>
620 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
622 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
623 Treat cc-provide like provide.
625 2013-05-11 Kevin Ryde <user42@zip.com.au>
627 * cus-dep.el (custom-make-dependencies):
628 Use generated-autoload-load-name for the sake of files such
629 such cedet/semantic/bovine/c.el, where the base file name
630 is not in load-path. (Bug#5277)
632 2013-05-11 Glenn Morris <rgm@gnu.org>
634 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
637 2013-05-11 Leo Liu <sdl.web@gmail.com>
639 * progmodes/octave.el (octave-indent-comment): Improve.
640 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
641 (octave-eldoc-function-signatures, octave-eldoc-function):
643 (octave-mode, inferior-octave-mode): Add eldoc support.
645 2013-05-11 Richard Stallman <rms@gnu.org>
647 * epa.el (epa-decrypt-file): Take output file name as argument
648 and read it using `interactive'.
650 2013-05-11 Leo Liu <sdl.web@gmail.com>
652 * progmodes/octave.el (octave-beginning-of-line)
653 (octave-end-of-line): Check before using up-list because it jumps
654 out of more syntactic contructs since moving to smie.
655 (octave-indent-comment): New function.
656 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
657 (octave-begin-keywords, octave-end-keywords)
658 (octave-reserved-words, octave-smie-bnf-table)
659 (octave-smie-rules): Add new keywords from Octave 3.6.4.
661 2013-05-11 Glenn Morris <rgm@gnu.org>
663 * faces.el (internal-face-x-get-resource):
664 * frame.el (ns-display-monitor-attributes-list):
665 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
667 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
669 * calc/calc-menu.el: Make it loadable in isolation.
671 * net/eudcb-bbdb.el: Make it loadable without bbdb.
672 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
673 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
674 (eudc-bbdb-query-internal): Require 'bbdb.
676 * lpr.el (lpr-headers-switches):
677 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
679 * progmodes/sql.el (sql-login-params): Fix and improve :type.
681 * emulation/edt-mapper.el: In batch mode, error rather than hang.
683 * term.el (term-set-escape-char): Make it idempotent.
685 2013-05-10 Leo Liu <sdl.web@gmail.com>
687 * progmodes/octave.el (inferior-octave-completion-table):
688 No longer a function and all uses changed. Use cache to speed up
689 completion due to bug#11906.
690 (octave-beginning-of-defun): Re-write to be more general.
692 2013-05-10 Glenn Morris <rgm@gnu.org>
694 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
696 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
698 * comint.el (comint-redirect-send-command-to-process): Use :around
699 rather than :override for comint-redirect-filter.
700 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
701 Call it instead of comint-redirect-original-filter-function (which
702 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
704 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
706 * frame.el (display-monitor-attributes-list): Add NS case.
707 (ns-display-monitor-attributes-list): Declare.
709 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
711 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
713 2013-05-09 Glenn Morris <rgm@gnu.org>
715 * international/fontset.el (vertical-centering-font-regexp):
718 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
720 * bookmark.el (bookmark-search-delay):
721 * cus-start.el (vertical-centering-font-regexp):
722 * ps-mule.el (ps-mule-font-info-database-default):
723 * ps-print.el (ps-default-fg, ps-default-bg):
724 * type-break.el (type-break-good-break-interval):
725 * whitespace.el (whitespace-indentation-regexp)
726 (whitespace-space-after-tab-regexp):
727 * emacs-lisp/testcover.el (testcover-1value-functions)
728 (testcover-noreturn-functions, testcover-progn-functions)
729 (testcover-prog1-functions):
730 * emulation/viper-init.el (viper-emacs-state-cursor-color):
731 * eshell/em-glob.el (eshell-glob-translate-alist):
732 * play/tetris.el (tetris-tty-colors):
733 * progmodes/cpp.el (cpp-face-default-list):
734 * progmodes/flymake.el (flymake-allowed-file-name-masks):
735 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
736 (idlwave-help-browser-generic-args):
737 * progmodes/make-mode.el (makefile-special-targets-list):
738 * progmodes/python.el (python-shell-virtualenv-path):
739 * progmodes/verilog-mode.el (verilog-active-low-regexp)
740 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
741 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
742 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
743 * textmodes/reftex-vars.el (reftex-format-label-function):
744 * textmodes/remember.el (remember-diary-file): Fix custom types.
746 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
749 2013-05-09 Leo Liu <sdl.web@gmail.com>
751 * progmodes/octave.el (inferior-octave-completion-at-point):
752 Restore file completion. (Bug#14300)
753 (inferior-octave-startup): Fix incorrect highlighting for the
756 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
758 * progmodes/ruby-mode.el: First cut at SMIE support.
759 (ruby-use-smie): New var.
760 (ruby-smie-grammar): New constant.
761 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
762 (ruby-smie--forward-token, ruby-smie--backward-token)
763 (ruby-smie-rules): New functions.
764 (ruby-mode-variables): Setup SMIE if applicable.
766 2013-05-08 Eli Zaretskii <eliz@gnu.org>
768 * simple.el (line-move-visual): Signal beginning/end of buffer
769 only if vertical-motion moved less than it was requested. Avoids
770 silly incorrect error messages when there are display strings with
771 multiple newlines at EOL.
773 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
775 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
776 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
777 (prolog-char-quote-workaround):
778 * progmodes/cperl-mode.el (cperl-under-as-char):
779 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
781 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
783 (vhdl-mode-syntax-table-init): Remove.
785 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
788 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
790 (ld-script-font-lock-keywords):
791 Change regexps to use things like \_< and \_>.
793 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
794 Change all regexps to use things like \_< and \_>.
796 * progmodes/autoconf.el (autoconf-definition-regexp)
797 (autoconf-font-lock-keywords, autoconf-current-defun-function):
798 Handle a _ with symbol syntax.
799 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
801 * progmodes/ada-mode.el (ada-mode-abbrev-table):
802 Consolidate declaration.
803 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
805 (ada-create-syntax-table): Remove.
806 (ada-capitalize-word): Don't mess with the syntax of "_" since it
807 already has the right syntax nowadays.
808 (ada-goto-next-word): Don't change the syntax of "_".
810 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
813 2013-05-08 Sam Steingold <sds@gnu.org>
815 * thingatpt.el (thing-at-point): Accept optional second argument
816 NO-PROPERTIES to strip the text properties from the return value.
817 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
818 to `thing-at-point' instead of stripping the properties ourselves.
819 Also, when `thing-at-point' fails to find a url, prepend "http://"
820 to the filename at point on the assumption that the user is
821 pointing at something like gnu.org/gnu.
823 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
825 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
826 * faces.el (crm-separator):
827 Silence byte-compiler.
829 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
830 (tool-bar-map): Remove unneeded defvars.
832 2013-05-08 Leo Liu <sdl.web@gmail.com>
834 Re-work a fix for bug#10994 based on Le Wang's patch.
835 * ido.el (ido-remove-consecutive-dups): New helper.
836 (ido-completing-read): Use it.
837 (ido-chop): Revert fix for bug#10994.
839 2013-05-08 Adam Spiers <emacs@adamspiers.org>
841 * cus-edit.el (custom-save-variables):
842 Pretty-print long values. (Bug#14187)
844 2013-05-08 Glenn Morris <rgm@gnu.org>
846 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
847 (m4-mode-syntax-table): Init in the defvar.
848 (m4-mode-abbrev-table): Let define-derived-mode define it.
850 2013-05-08 Tom Tromey <tromey@redhat.com>
852 * progmodes/m4-mode.el (m4-mode-syntax-table):
853 Do not treat "_" as word constituent. (Bug#14167)
855 2013-05-07 Glenn Morris <rgm@gnu.org>
857 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
858 Remove explicit eshell-isearch-cancel-map.
860 * progmodes/f90.el (f90-smart-end-names): New option.
861 (f90-smart-end): Doc fix.
862 (f90-end-block-optional-name): New constant.
863 (f90-block-match): Respect f90-smart-end-names.
865 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
867 * progmodes/octave.el (octave-smie-forward-token): Be more careful
868 about implicit semi-colons (bug#14218).
870 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
872 * frame.el (display-monitor-attributes-list)
873 (frame-monitor-attributes): New functions.
875 2013-05-06 Leo Liu <sdl.web@gmail.com>
877 * progmodes/octave.el (octave-syntax-propertize-function): Change
878 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
879 (octave-font-lock-keywords): Use octave-operator-regexp.
880 (octave-completion-at-point): Rename from
881 octave-completion-at-point-function.
882 (inferior-octave-directory-tracker): Robustify.
883 (octave-text-functions): Remove and fix its uses. No such things
886 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
888 * emacs-lisp/trace.el (trace--display-buffer): New function.
889 (trace-make-advice): Use it.
891 2013-05-06 Juri Linkov <juri@jurta.org>
893 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
894 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
896 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
897 in the help string. (Bug#12985)
899 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
901 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
903 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
905 * progmodes/perl-mode.el: Add support for here documents.
906 (perl-syntax-propertize-function): Match here-doc markers.
907 (perl-syntax-propertize-special-constructs): Find their end.
908 (perl-imenu-generic-expression): Use [:alnum:].
910 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
911 (advice--add-function): Refresh the advice if already present
914 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
916 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
918 2013-05-06 Glenn Morris <rgm@gnu.org>
920 * w32-fns.el (w32-charset-info-alist): Declare.
922 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
923 of its defcustom properties.
924 (eshell-cmpl-initialize): No need to load pcomplete.
926 * generic-x.el: No need to require comint when compiling.
928 * net/eudc-export.el: Make it loadable without bbdb.
929 (top-level): Use require rather than load-library.
930 (eudc-create-bbdb-record, eudc-bbdbify-phone)
931 (eudc-batch-export-records-to-bbdb)
932 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
935 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
937 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
938 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
939 some tweaks, instead.
941 2013-05-05 Leo Liu <sdl.web@gmail.com>
943 * progmodes/octave.el (octave-font-lock-keywords)
944 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
945 (inferior-octave-send-list-and-digest): Improve error message.
946 (octave-mode, inferior-octave-mode): Use setq-local.
947 (octave-help): Set info-lookup-mode.
949 2013-05-05 Richard Stallman <rms@gnu.org>
951 * vc/compare-w.el (compare-windows-whitespace):
952 Treat no-break space as whitespace.
954 * mail/rmailsum.el (rmail-summary-rmail-update):
955 Detect empty summary and don't change selected message.
956 (rmail-summary-goto-msg): Likewise.
958 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
959 Doc fixes, rename args.
961 2013-05-05 Alan Mackenzie <acm@muc.de>
963 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
965 2013-05-05 Juri Linkov <juri@jurta.org>
967 * info.el (Info-read-subfile): Use (point-min) instead of (point)
968 to not add the length of the summary segment to the return value.
971 2013-05-05 Leo Liu <sdl.web@gmail.com>
973 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
974 (inferior-octave-output-filter): Remove.
975 (octave-send-region, inferior-octave-startup): Fix callers.
976 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
977 (octave-binary-file-extensions): New user variable.
978 (octave-find-definition): Confirm if opening binary files.
979 (octave-help-file): Use octave-find-definition to get the binary
981 (octave-help): Adjust for octave-help-file change.
983 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
985 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
986 Merge the two entries that handle function definitions.
987 (pascal--syntax-propertize): New const.
988 (pascal-mode): Use it. Use setq-local.
990 2013-05-04 Glenn Morris <rgm@gnu.org>
992 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
993 (diary-from-outlook): Respect diary-from-outlook-function.
995 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
997 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
998 Move the declaration from C.
999 (read-minibuffer, eval-minibuffer): Move from C.
1000 (completion-setup-function): Avoid minibuffer-completion-contents.
1002 2013-05-03 Leo Liu <sdl.web@gmail.com>
1004 * progmodes/octave.el (octave-font-lock-keywords): Do not
1005 dehighlight 'end' in comments or strings.
1006 (octave-completing-read, octave-goto-function-definition):
1008 (octave-help-buffer): New user variable.
1009 (octave-help-file, octave-help-function): New button types.
1010 (octave-help): New command and bind it to C-h ;.
1011 (octave-find-definition): New command and bind it to M-.
1012 (user-error): Alias to error if not defined.
1014 2013-05-02 Leo Liu <sdl.web@gmail.com>
1016 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
1018 (octave-font-lock-keywords): Include [ and {.
1020 2013-05-02 Leo Liu <sdl.web@gmail.com>
1022 * progmodes/octave.el (inferior-octave-startup-file): Change default.
1023 (inferior-octave): Remove calling comint-mode and return the buffer.
1024 (inferior-octave-startup): Cosmetic changes.
1026 2013-05-02 Leo Liu <sdl.web@gmail.com>
1028 * progmodes/octave.el (octave-syntax-propertize-function):
1029 Include the case when ' is at line beginning. (Bug#14336)
1031 2013-05-02 Glenn Morris <rgm@gnu.org>
1033 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
1034 * desktop.el (vc-dir-mode): Just autoload it here.
1036 2013-05-02 Alan Mackenzie <acm@muc.de>
1038 Eliminate variable c-standard-font-lock-fontify-region-function.
1039 * progmodes/cc-mode.el
1040 (c-standard-font-lock-fontify-region-function): Remove.
1041 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
1043 2013-05-01 Leo Liu <sdl.web@gmail.com>
1045 * progmodes/octave.el: Compatible with older emacs-24 releases.
1046 (inferior-octave-has-built-in-variables): Remove. Built-in
1047 variables were removed from Octave in 2007.
1048 (inferior-octave-startup): Fix uses.
1049 (comint-line-beginning-position): Remove compatibility code for
1052 2013-05-01 Juri Linkov <juri@jurta.org>
1054 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
1056 2013-05-01 Juri Linkov <juri@jurta.org>
1058 * comint.el (comint-previous-matching-input): Don't print message
1059 "History item: %d" when `isearch-mode' is active.
1060 (comint-history-isearch-message): Print message "History item: %d"
1061 when `comint-input-ring-index' is not empty and this function is
1062 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
1064 2013-05-01 Leo Liu <sdl.web@gmail.com>
1066 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
1067 definitions. Use completion-at-point to insert keywords.
1068 (octave-abbrev-start): Remove.
1069 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
1071 2013-04-30 Leo Liu <sdl.web@gmail.com>
1073 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
1076 2013-04-30 Alan Mackenzie <acm@muc.de>
1078 Handle arbitrarily long C++ member initialisation lists.
1079 * progmodes/cc-engine.el (c-back-over-member-initializers):
1081 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
1082 (most) member init lists.
1084 2013-04-30 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
1086 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
1089 2013-04-30 Leo Liu <sdl.web@gmail.com>
1091 * progmodes/octave.el (octave-variables): Remove. No builtin
1092 variables any more. All converted to functions.
1093 (octave-font-lock-keywords, octave-completion-at-point-function):
1095 (octave-font-lock-texinfo-comment): New user variable.
1096 (octave-texinfo-font-lock-keywords): New variable for texinfo
1098 (octave-function-comment-block): New face.
1099 (octave-font-lock-texinfo-comment): New function.
1100 (octave-mode): Font lock texinfo comment block.
1102 2013-04-29 Leo Liu <sdl.web@gmail.com>
1104 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
1105 indexing expression.
1106 (octave-continuation-string): Do not use \.
1107 (inferior-octave-complete-impossible): Remove.
1108 (inferior-octave-completion-table)
1109 (inferior-octave-completion-at-point): Remove its uses.
1110 (inferior-octave-startup): completion_matches was introduced to
1111 Octave in 1996 so safe to assume it.
1112 (octave-function-file-comment): Improve to follow how Octave does it.
1113 (octave-update-function-file-comment): Tweak.
1115 2013-04-29 Leo Liu <sdl.web@gmail.com>
1117 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
1118 (inferior-octave-startup): Remove inferior-octave-startup-hook.
1119 (octave-function-file-comment): Fix typo.
1120 (octave-sync-function-file-names): Use read-char-choice.
1122 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
1124 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
1125 to t for the less important warnings.
1127 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1129 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
1131 2013-04-27 Glenn Morris <rgm@gnu.org>
1133 * vc/log-view.el (log-view-current-entry):
1134 Treat "---" separator lines as part of the following rev. (Bug#14169)
1136 2013-04-27 Juri Linkov <juri@jurta.org>
1138 * subr.el (read-number): Doc fix about using it by interactive
1139 code letter `n'. (Bug#14254)
1141 2013-04-27 Juri Linkov <juri@jurta.org>
1143 * desktop.el (desktop-auto-save-timeout): New option.
1144 (desktop-file-checksum): New variable.
1145 (desktop-save): Add optional arg `auto-save' and don't auto-save
1147 (desktop-auto-save-timer): New variable.
1148 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
1149 (after-init-hook): Call `desktop-auto-save-set-timer'.
1150 Suggested by Reuben Thomas <rrt@sc3d.org> in
1151 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
1153 2013-04-27 Leo Liu <sdl.web@gmail.com>
1155 * progmodes/octave.el (octave-function-file-p)
1156 (octave-skip-comment-forward, octave-function-file-comment)
1157 (octave-update-function-file-comment): New functions.
1158 (octave-mode-map): Bind C-c ; to
1159 octave-update-function-file-comment.
1160 (octave-mode-menu): Add octave-update-function-file-comment.
1161 (octave-mode, inferior-octave-mode): Fix doc-string.
1162 (octave-insert-defun): Conform to Octave's coding convention.
1165 * files.el (basic-save-buffer): Don't let errors in
1166 before-save-hook prevent saving buffer.
1168 2013-04-20 Roland Winkler <winkler@gnu.org>
1170 * faces.el (read-face-name): Use completing-read if arg multiple
1173 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
1175 * ls-lisp.el (ls-lisp-insert-directory): If no files are
1176 displayed, move point to after the totals line.
1177 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
1180 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1182 * emacs-lisp/package.el (package-autoload-ensure-default-file):
1183 Add current dir to the load-path.
1184 (package-generate-autoloads): Don't rely on
1185 autoload-ensure-default-file.
1187 2013-04-26 Reuben Thomas <rrt@sc3d.org>
1189 * textmodes/remember.el (remember-store-in-files): Document that
1190 the file name format is passed to `format-time-string'.
1192 2013-04-26 Leo Liu <sdl.web@gmail.com>
1194 * progmodes/octave.el (octave-sync-function-file-names): New function.
1195 (octave-mode): Use it in before-save-hook.
1197 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1199 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
1202 * progmodes/octave.el (octave-smie-forward-token): Properly skip
1203 \n and comment, even if it's not an implicit ; (bug#14218).
1205 2013-04-26 Glenn Morris <rgm@gnu.org>
1207 * subr.el (read-number): Once more use `read' rather than
1208 `string-to-number', to trap non-numeric input. (Bug#14254)
1210 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
1212 * emacs-lisp/syntax.el (syntax-propertize-multiline):
1213 Use `syntax-multiline' text property consistently instead of
1214 `font-lock-multiline'. (bug#14237).
1216 2013-04-26 Glenn Morris <rgm@gnu.org>
1218 * emacs-lisp/shadow.el (list-load-path-shadows):
1219 No longer necessary to check for duplicate simple.el, since
1220 2012-07-07 change to init_lread to not include installation lisp
1221 directories in load-path when running uninstalled. (Bug#14270)
1223 2013-04-26 Leo Liu <sdl.web@gmail.com>
1225 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
1226 (octave-mode, inferior-octave-mode): Use setq-local.
1227 (octave-not-in-string-or-comment-p): Rename to
1228 octave-in-string-or-comment-p.
1229 (octave-in-comment-p, octave-in-string-p)
1230 (octave-in-string-or-comment-p): Replace defsubst with defun.
1232 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
1234 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
1236 2013-04-25 Bastien Guerry <bzg@gnu.org>
1238 * textmodes/remember.el (remember-data-directory)
1239 (remember-directory-file-name-format): Fix custom types.
1241 2013-04-25 Leo Liu <sdl.web@gmail.com>
1243 * progmodes/octave.el (octave-completion-at-point-function):
1244 Make use of inferior octave process.
1245 (octave-initialize-completions): Remove.
1246 (inferior-octave-completion-table): New function.
1247 (inferior-octave-completion-at-point): Use it.
1248 (octave-completion-alist): Remove.
1250 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1252 * progmodes/opascal.el: Use font-lock and syntax-propertize.
1253 (opascal-mode-syntax-table): New var.
1254 (opascal-literal-kind, opascal-is-literal-end)
1255 (opascal-literal-token-at): Rewrite.
1256 (opascal--literal-start-re, opascal-font-lock-keywords)
1257 (opascal--syntax-propertize): New constants.
1258 (opascal-font-lock-defaults): Adjust.
1259 (opascal-mode): Use them. Set comment-<foo> variables as well.
1260 (delphi-comment-face, opascal-comment-face, delphi-string-face)
1261 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
1262 (delphi-other-face, opascal-other-face): Remove face variables.
1263 (opascal-save-state): Remove macro.
1264 (opascal-fontifying-progress-step): Remove constant.
1265 (opascal--ignore-changes): Remove var.
1266 (opascal-set-token-property, opascal-parse-next-literal)
1267 (opascal-is-stable-literal, opascal-complete-literal)
1268 (opascal-is-literal-start, opascal-face-of)
1269 (opascal-parse-region, opascal-parse-region-until-stable)
1270 (opascal-fontify-region, opascal-after-change)
1271 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
1272 (opascal-debug-parse-region, opascal-debug-parse-window)
1273 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
1274 (opascal-debug-fontify-buffer): Remove.
1275 (opascal-debug-mode-map): Adjust accordingly.
1277 2013-04-25 Leo Liu <sdl.web@gmail.com>
1279 Merge octave-mod.el and octave-inf.el into octave.el with some
1281 * progmodes/octave.el: New file renamed from octave-mod.el.
1282 * progmodes/octave-inf.el: Merged into octave.el.
1283 * progmodes/octave-mod.el: Renamed to octave.el.
1285 2013-04-25 Tassilo Horn <tsdh@gnu.org>
1287 * textmodes/reftex-vars.el
1288 (reftex-label-ignored-macros-and-environments): New defcustom.
1290 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
1292 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1294 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
1295 (smie-indent-keyword): Improve the check to ensure that the next
1296 comment is really on the same line.
1297 (smie-indent-comment): Don't align with a subsequent closer (or eob).
1299 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
1300 semi-colons if the line is not otherwise empty (bug#14218).
1302 2013-04-25 Glenn Morris <rgm@gnu.org>
1304 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
1306 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1308 * progmodes/opascal.el (opascal-set-token-property): Rename from
1309 opascal-set-text-properties and only set `token' (bug#14134).
1310 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
1311 (opascal-literal-text-properties): Remove.
1312 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
1315 2013-04-24 Reuben Thomas <rrt@sc3d.org>
1317 * textmodes/remember.el (remember-handler-functions): Add an
1318 option for a new handler `remember-store-in-files'.
1319 (remember-data-directory, remember-directory-file-name-format):
1321 (remember-store-in-files): New function to store remember notes
1322 as separate files within a directory.
1324 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
1326 * progmodes/compile.el (compilation-next-error-function):
1327 Pass "formats" to compilation-find-file (bug#11777).
1329 2013-04-24 Glenn Morris <rgm@gnu.org>
1331 * vc/vc-bzr.el (vc-bzr-print-log):
1332 * vc/vc-hg.el (vc-hg-print-log):
1333 * vc/vc-svn.el (vc-svn-print-log):
1334 Fix START-REVISION with LIMIT != 1. (Bug#14168)
1336 * vc/vc-bzr.el (vc-bzr-print-log):
1337 * vc/vc-cvs.el (vc-cvs-print-log):
1338 * vc/vc-git.el (vc-git-print-log):
1339 * vc/vc-hg.el (vc-hg-print-log):
1340 * vc/vc-mtn.el (vc-mtn-print-log):
1341 * vc/vc-rcs.el (vc-rcs-print-log):
1342 * vc/vc-sccs.el (vc-sccs-print-log):
1343 * vc/vc-svn.el (vc-svn-print-log):
1344 * vc/vc.el (vc-print-log-internal): Doc fixes.
1346 2013-04-23 Glenn Morris <rgm@gnu.org>
1348 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
1349 Remove venerable code attempting to avoid substitute-command-keys.
1351 2013-04-23 Tassilo Horn <tsdh@gnu.org>
1353 * textmodes/reftex-vars.el (reftex-label-regexps):
1354 Call `reftex-compile-variables' after changes to this variable.
1356 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1358 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
1359 Use lexical-binding.
1360 (jit-lock-force-redisplay): Use markers, check buffer's continued
1361 existence and beware narrowed buffers.
1362 (jit-lock-fontify-now): Adjust call accordingly.
1364 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1366 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
1367 to avoid misleading the user.
1369 2013-04-22 Leo Liu <sdl.web@gmail.com>
1371 * info-look.el: Prefer latex2e.info. (Bug#14240)
1373 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
1375 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
1377 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
1378 * net/tramp.el (tramp-call-process): ... here
1379 (tramp-set-completion-function, tramp-parse-putty):
1380 * net/tramp-adb.el (tramp-adb-execute-adb-command):
1381 * net/tramp-gvfs.el (tramp-gvfs-send-command):
1382 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1383 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
1384 (tramp-call-local-coding-command): Use `tramp-call-process'
1385 instead of `tramp-compat-call-process'.
1387 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
1388 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
1389 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
1390 (tramp-find-inline-compress): Improve traces.
1391 (tramp-maybe-send-script): Check for Perl binary.
1392 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
1394 2013-04-22 Daiki Ueno <ueno@gnu.org>
1396 * epg.el (epg-context-pinentry-mode): New function.
1397 (epg-context-set-pinentry-mode): New function.
1398 (epg--start): Pass --pinentry-mode option to gpg command.
1400 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
1402 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
1403 `comint-dynamic-complete' is obsolete since 24.1, replaced by
1404 `completion-at-point'. (Bug#13774)
1406 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
1407 default key binding for `describe-distribution' has been moved to
1408 `C-h C-o'. (Bug#13970)
1410 2013-04-21 Glenn Morris <rgm@gnu.org>
1412 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
1414 (vc-print-log): Clarify interactive prompt.
1416 2013-04-20 Glenn Morris <rgm@gnu.org>
1418 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1419 No longer include timestamp etc information.
1421 2013-04-20 Roland Winkler <winkler@gnu.org>
1423 * faces.el (read-face-name): Bug fix, return just one face if arg
1424 multiple is nil. (Bug#14209)
1426 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1428 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
1429 (remove-function): Autoload.
1431 * comint.el (comint-redirect-original-filter-function): Remove.
1432 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
1433 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
1434 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
1435 * progmodes/prolog.el (prolog-consult-compile):
1436 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
1437 Use add/remove-function instead.
1438 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
1439 (gud-tooltip-process-output, gud-tooltip-tips):
1440 Use add/remove-function instead.
1441 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
1442 (scheme-interaction-mode, exit-scheme-interaction-mode):
1443 Use add/remove-function instead.
1445 * vc/vc-dispatcher.el: Use lexical-binding.
1446 (vc--process-sentinel): Rename from vc-process-sentinel.
1447 Change last arg to be the code to run. Don't use vc-previous-sentinel
1448 and vc-sentinel-commands any more.
1449 (vc-exec-after): Allow code to be a function. Use add/remove-function.
1450 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
1452 2013-04-19 Masatake YAMATO <yamato@redhat.com>
1454 * progmodes/sh-script.el (sh-imenu-generic-expression):
1455 Handle function names with a single character. (Bug#14111)
1457 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
1459 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
1460 for subroutines defined in an eval (bug#14182).
1462 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1464 * bookmark.el (bookmark-completing-read): Improve handling of empty
1467 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1469 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
1471 2013-04-19 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1473 New faster Imenu implementation (bug#14058).
1474 * progmodes/python.el:
1475 (python-imenu-prev-index-position):
1476 (python-imenu-format-item-label-function)
1477 (python-imenu-format-parent-item-label-function)
1478 (python-imenu-format-parent-item-jump-label-function):
1480 (python-imenu-format-item-label)
1481 (python-imenu-format-parent-item-label)
1482 (python-imenu-format-parent-item-jump-label)
1483 (python-imenu--put-parent, python-imenu--build-tree)
1484 (python-imenu-create-index, python-imenu-create-flat-index)
1485 (python-util-popn): New functions.
1486 (python-mode): Set imenu-create-index-function to
1487 python-imenu-create-index.
1489 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1491 * winner.el (winner-active-region): Use region-active-p, activate-mark
1492 and deactivate-mark (bug#14225).
1494 * simple.el (deactivate-mark): Don't inline it.
1496 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
1498 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
1500 2013-04-18 Tassilo Horn <tsdh@gnu.org>
1502 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
1503 file extensions from the archive-mode entry in order to prefer
1504 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
1506 2013-04-18 Leo Liu <sdl.web@gmail.com>
1508 * bindings.el (help-event-list): Add ?\?.
1510 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1512 * subr.el (with-wrapper-hook): Declare obsolete.
1513 * simple.el (filter-buffer-substring-function): New hook.
1514 (filter-buffer-substring): Use it.
1515 (filter-buffer-substring-functions): Mark obsolete.
1516 * minibuffer.el (completion-in-region-function): New hook.
1517 (completion-in-region): Use it.
1518 (completion-in-region-functions): Mark obsolete.
1519 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
1520 * abbrev.el (abbrev-expand-function): New hook.
1521 (expand-abbrev): Use it.
1522 (abbrev-expand-functions): Mark obsolete.
1523 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
1526 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1528 * progmodes/python.el (python-nav--syntactically): Fix cornercases
1529 and do not care about match data.
1531 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1533 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
1534 completion tables when completing error conditions and
1535 `declare' arguments.
1536 (lisp-complete-symbol, field-complete): Mark as obsolete.
1537 (check-parens): Unmatched parens are user errors.
1538 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
1540 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
1542 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
1543 command changed buffer (ie. `flyspell-pre-buffer' is not current
1544 buffer), which prevents making decisions based on invalid value of
1545 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
1546 cause an error when `flyspell-pre-point' was nil after switching
1548 (flyspell-post-command-hook): No longer needs to change buffers when
1549 checking pre-word. While at it remove unnecessary progn.
1551 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1553 * textmodes/ispell.el (ispell-add-per-file-word-list):
1554 Fix `flyspell-correct-word-before-point' error when accepting
1555 words and `coment-padding' is an integer by using
1556 `comment-normalize-vars' (Bug #14214).
1558 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1560 New defun movement commands.
1561 * progmodes/python.el (python-nav--syntactically)
1562 (python-nav--forward-defun, python-nav-backward-defun)
1563 (python-nav-forward-defun): New functions.
1565 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1567 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
1568 (python-syntax-context): Use named compiler-macro for backwards
1569 compatibility with Emacs 24.x.
1571 2013-04-17 Leo Liu <sdl.web@gmail.com>
1573 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
1574 octave-hide-process-buffer.
1576 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1578 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
1581 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
1583 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
1584 Fix adjustment of offset when receiving incomplete responses from GDB
1587 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1589 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
1590 python-mode-abbrev-table.
1591 (python-skeleton-define): Adjust accordingly.
1592 (python-mode-abbrev-table): New table that inherits from it so that
1593 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
1595 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
1596 (abbrev-symbol): Use it.
1597 (abbrev--before-point): Use it since we already handle inheritance.
1599 2013-04-16 Leo Liu <sdl.web@gmail.com>
1601 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
1602 binding to info-lookup-symbol.
1604 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
1606 * minibuffer.el (completion--twq-all):
1607 * term/ns-win.el (ns-initialize-window-system):
1608 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
1610 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1612 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
1615 * doc-view.el (doc-view-start-process): Handle url-handler directories.
1617 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
1619 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
1620 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
1622 (ruby-end-of-defun): Remove the unused arg, change the docstring
1623 to reflect that this function is only used as the value of
1624 `end-of-defun-function'.
1625 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
1626 to reflect an earlier change that beginning/end-of-defun functions
1627 jump between methods in a class definition, as well as top-level
1630 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1632 * minibuffer.el (minibuffer-complete): Don't just scroll
1633 a *Completions* that's been iconified.
1634 (minibuffer-force-complete): Make sure repetitions do cycle when going
1635 through completion-in-region -> minibuffer-complete.
1637 2013-04-15 Alan Mackenzie <acm@muc.de>
1639 Correct the placement of c-cpp-delimiters when there're #s not at
1642 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
1643 place a submatch around the #.
1644 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
1645 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
1648 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1650 * emacs-lisp/nadvice.el: Properly test names when adding advice.
1651 (advice--member-p): New arg `name'.
1652 (advice--add-function, advice-member-p): Use it (bug#14202).
1654 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
1656 Reformulate java imenu-generic-expression.
1657 The old expression contained ill formed regexps.
1659 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
1660 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
1661 (cc-imenu-java-method-arg-regexp): New defconsts.
1662 (cc-imenu-java-build-type-args-regex): New defun.
1663 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
1664 handling of spaces in the regexp.
1666 2013-03-15 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
1668 * textmodes/ispell.el (ispell-command-loop): Remove
1669 flyspell highlight of a word when ispell accepts it (bug #14178).
1671 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
1673 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
1674 uses code from the previous `ange-ftp-run-real-handler'.
1675 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
1676 only in case that function exist. This is needed for proper
1679 2013-04-15 Tassilo Horn <tsdh@gnu.org>
1681 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
1683 * textmodes/reftex.el (reftex-compile-variables): Use it.
1685 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1687 * files.el (normal-mode): Only use default major-mode if no other mode
1690 * emacs-lisp/trace.el (trace-values): New function.
1692 * files.el: Allow : in local variables (bug#14089).
1693 (hack-local-variable-regexp): New var.
1694 (hack-local-variables-prop-line, hack-local-variables): Use it.
1696 2013-04-13 Roland Winkler <winkler@gnu.org>
1698 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
1699 data before it gets modified by bibtex-beginning-of-entry.
1701 2013-04-13 Roland Winkler <winkler@gnu.org>
1703 * textmodes/bibtex.el (bibtex-url): Doc fix.
1705 2013-04-13 Roland Winkler <winkler@gnu.org>
1707 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
1708 does not visit a BibTeX file, exclude it from the list of buffers
1709 returned by bibtex-initialize.
1711 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
1713 * window.el (split-window): Remove interactive form, since as a
1714 command this function is a special case of split-window-below.
1717 2013-04-12 Roland Winkler <winkler@gnu.org>
1719 * faces.el (read-face-name): Do not override value of arg default.
1720 Allow single faces and strings as default values. Remove those
1721 elements from return value that are not faces.
1722 (describe-face): Simplify.
1723 (face-at-point): New optional args thing and multiple so that this
1724 function can provide the same functionality previously provided by
1726 (make-face-bold, make-face-unbold, make-face-italic)
1727 (make-face-unitalic, make-face-bold-italic, invert-face)
1728 (modify-face, read-face-and-attribute): Use face-at-point.
1730 * cus-edit.el (customize-face, customize-face-other-window)
1731 * cus-theme.el (custom-theme-add-face)
1732 * face-remap.el (buffer-face-set)
1733 * facemenu.el (facemenu-set-face): Use face-at-point.
1735 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
1737 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
1739 2013-04-10 Tassilo Horn <tsdh@gnu.org>
1741 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
1742 off leading { and trailing } from field values.
1744 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1746 * emacs-lisp/timer.el (timer--check): New function.
1747 (timer--time, timer-set-function, timer-event-handler): Use it.
1748 (timer-set-idle-time): Simplify.
1749 (timer--activate): CSE.
1750 (timer-event-handler): Give more info in error message.
1751 (internal-timer-start-idle): New function, moved from C.
1753 * mpc.el (mpc-proc): Add `restart' argument.
1754 (mpc-proc-cmd): Use it.
1755 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
1756 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
1759 2013-04-10 Masatake YAMATO <yamato@redhat.com>
1761 * progmodes/sh-script.el: Implement `sh-mode' own
1762 `add-log-current-defun-function' (bug#14112).
1763 (sh-current-defun-name): New function.
1764 (sh-mode): Use the function.
1766 2013-04-09 Bastien Guerry <bzg@gnu.org>
1768 * simple.el (choose-completion-string): Fix docstring (bug#14163).
1770 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1772 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
1774 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
1777 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
1779 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
1782 2013-04-07 Leo Liu <sdl.web@gmail.com>
1784 * pcmpl-x.el: New file.
1786 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
1788 Do not set x-display-name until X connection is established.
1789 This is needed to prevent from weird situation described at
1790 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
1791 * frame.el (make-frame): Set x-display-name after call to
1792 window system initialization function, not before.
1793 * term/x-win.el (x-initialize-window-system): Add optional
1794 display argument and use it.
1795 * term/w32-win.el (w32-initialize-window-system):
1796 * term/ns-win.el (ns-initialize-window-system):
1797 * term/pc-win.el (msdos-initialize-window-system):
1798 Add compatible optional display argument.
1800 2013-04-06 Eli Zaretskii <eliz@gnu.org>
1802 * files.el (normal-backup-enable-predicate): On MS-Windows and
1803 MS-DOS compare truenames of temporary-file-directory and of the
1804 file, so that 8+3 aliases (usually found in $TEMP on Windows)
1805 don't fail comparison by compare-strings. Also, compare file
1806 names case-insensitively on MS-Windows and MS-DOS.
1808 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1810 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
1811 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
1813 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
1815 * whitespace.el (whitespace-color-on, whitespace-color-off):
1816 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
1818 2013-04-05 Jacek ChrzÄ…szcz <chrzaszcz@mimuw.edu.pl> (tiny change)
1820 * ispell.el (ispell-set-spellchecker-params):
1821 Really set `ispell-args' for all equivs.
1823 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1825 * ido.el (ido-completions): Use extra elements of ido-decorations
1827 (ido-decorations): Update docstring.
1829 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
1831 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1832 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
1833 nil during initialization, in order not to miss changes since the
1834 file was opened. (Bug#14140)
1836 2013-04-05 Leo Liu <sdl.web@gmail.com>
1838 * kmacro.el (kmacro-call-macro): Fix bug#14135.
1840 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
1842 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
1844 2013-04-04 Glenn Morris <rgm@gnu.org>
1846 * electric.el (electric-pair-inhibit-predicate): Add :version.
1848 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1850 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
1851 when a package is required several times (bug#14082).
1853 2013-04-04 Roland Winkler <winkler@gnu.org>
1855 * faces.el (read-face-name): Behave as promised by the docstring.
1856 Assume that arg default is a list of faces.
1857 (describe-face): Call read-face-name with list of default faces.
1859 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1861 * bookmark.el: Fix deletion of bookmarks (bug#13972).
1862 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
1863 (bookmark-bmenu-execute-deletions): Only skip first line if it's
1865 (bookmark-exit-hook-internal): Save even if list is empty.
1867 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
1869 * emacs-lisp/package.el (package-pinned-packages): New var.
1870 (package--add-to-archive-contents): Obey it (bug#14118).
1872 2013-04-03 Alan Mackenzie <acm@muc.de>
1874 Handle `parse-partial-sexp' landing inside a comment opener
1875 (Bug#13244). Also adapt to the new values of element 7 of a parse
1878 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
1879 parameter `not-in-delimiter'. Handle being inside comment opener.
1880 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
1881 character in case we're typing a '*' after a '/'.
1882 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
1883 instead by passing the parameter to c-state-pp-to-literal.
1885 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
1886 for elt. 7 of a parse state.
1888 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
1890 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
1891 * international/latin1-disp.el, international/mule-util.el:
1892 * language/cyril-util.el, language/european.el, language/ind-util.el:
1893 * language/lao-util.el, language/thai.el, language/tibet-util.el:
1894 * language/tibetan.el, language/viet-util.el:
1895 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
1897 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1899 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
1900 (electric-pair-post-self-insert-function): Use it.
1901 (electric-pair-default-inhibit): New function, extracted from
1902 electric-pair-post-self-insert-function.
1904 2013-03-31 Roland Winkler <winkler@gnu.org>
1906 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
1908 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1910 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
1912 2013-03-30 FabiĂ¡n Ezequiel Gallina <fabian@anue.biz>
1914 Un-indent after "pass" and "return" statements (Bug#13888)
1915 * progmodes/python.el (python-indent-block-enders): New var.
1916 (python-indent-calculate-indentation): Use it.
1918 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
1920 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
1921 defun. Defining it as defalias could introduce too eager
1922 byte-compiler optimization. (Bug#14030)
1924 2013-03-30 Chong Yidong <cyd@gnu.org>
1926 * iswitchb.el (iswitchb-read-buffer): Fix typo.
1928 2013-03-30 Leo Liu <sdl.web@gmail.com>
1930 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
1931 (kmacro-execute-from-register): Pass the keyboard macro to
1932 kmacro-call-macro or repeating won't work correctly.
1934 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
1936 * progmodes/subword.el: Back to using `forward-symbol'.
1938 * subr.el (forward-whitespace, forward-symbol)
1939 (forward-same-syntax): Move from thingatpt.el.
1941 2013-03-29 Leo Liu <sdl.web@gmail.com>
1943 * kmacro.el (kmacro-to-register): New command.
1944 (kmacro-execute-from-register): New function.
1945 (kmacro-keymap): Bind to 'x'. (Bug#14071)
1947 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
1949 * mpc.el: Use defvar-local and setq-local.
1950 (mpc--proc-connect): Connection failures are not bugs.
1951 (mpc-mode-map): `follow-link' only applies to the buffer's content.
1952 (mpc-volume-map): Bind to the up-events.
1954 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
1956 * progmodes/subword.el (superword-mode): Use `forward-sexp'
1957 instead of `forward-symbol'.
1959 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
1961 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
1962 (edebug--recursive-edit): Use it.
1963 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
1964 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
1966 2013-03-28 Leo Liu <sdl.web@gmail.com>
1968 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
1970 2013-03-27 Eli Zaretskii <eliz@gnu.org>
1972 * facemenu.el (list-colors-callback): New defvar.
1973 (list-colors-redisplay): New function.
1974 (list-colors-display): Install list-colors-redisplay as the
1975 revert-buffer-function. (Bug#14063)
1977 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1979 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
1980 and suffixes don't overlap (bug#14061).
1982 * case-table.el: Use lexical-binding.
1983 (case-table-get-table): New function.
1984 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
1986 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
1988 * progmodes/subword.el: Add `superword-mode' to do word motion
1989 over symbol_words (parallels and leverages `subword-mode' which
1990 does word motion inside MixedCaseWords).
1992 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
1994 * eshell/em-unix.el: Move su and sudo to...
1995 * eshell/em-tramp.el: ...Eshell tramp module.
1997 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1999 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
2000 Change return value to be a sexp. Delay `get-buffer' to after
2001 restoring the desktop (bug#13951).
2003 2013-03-26 Leo Liu <sdl.web@gmail.com>
2005 * register.el: Move semantic tag handling back to
2006 cedet/semantic/senator.el. (Bug#14052)
2008 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2010 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
2011 into the prompt either (bug#13963).
2013 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
2015 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
2016 part of "(error-foo)".
2018 2013-03-24 Juri Linkov <juri@jurta.org>
2020 * replace.el (list-matching-lines-prefix-face): New defcustom.
2021 (occur-1): Pass `list-matching-lines-prefix-face' to the function
2022 `occur-engine' if `face-differs-from-default-p' returns t.
2023 (occur-engine): Add `,' inside backquote construct to evaluate
2024 `prefix-face'. Propertize the prefix with the `prefix-face' face.
2025 Pass `prefix-face' to the functions `occur-context-lines' and
2026 `occur-engine-add-prefix'.
2027 (occur-engine-add-prefix, occur-context-lines): Add optional arg
2028 `prefix-face' and propertize the prefix with `prefix-face'.
2031 2013-03-24 Leo Liu <sdl.web@gmail.com>
2033 * nxml/rng-valid.el (rng-validate-while-idle)
2034 (rng-validate-quick-while-idle): Guard against deleted buffer.
2037 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
2038 is the last entry in kill-buffer-hook.
2040 * files.el (kill-buffer-hook): Doc fix.
2042 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
2044 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
2047 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
2049 2013-03-23 Leo Liu <sdl.web@gmail.com>
2051 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
2054 * nxml/rng-valid.el (rng-validate-mode)
2055 (rng-after-change-function, rng-do-some-validation):
2056 * nxml/rng-maint.el (rng-validate-buffer):
2057 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
2058 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
2059 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
2060 (nxml-extend-after-change-region): Use with-silent-modifications.
2062 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
2065 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
2066 (rng-next-error-1, rng-previous-error-1): Do not let-bind
2067 timer-idle-list. (Bug#13999)
2069 2013-03-23 Juri Linkov <juri@jurta.org>
2071 * info.el (info-index-match): New face.
2072 (Info-index, Info-apropos-matches): Add a nested subgroup to the
2073 main pattern and add text properties with the new face to matches
2074 in index entries relative to the beginning of the index entry.
2077 2013-03-21 Eric Ludlam <zappo@gnu.org>
2079 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
2080 Inhibit read only while inserting objects.
2082 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
2084 * progmodes/cfengine.el: Update docs to mention
2085 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
2086 symbol motion. Remove "_" from the word syntax.
2088 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
2090 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
2091 syntax for both `cfengine2-mode' and `cfengine3-mode'.
2093 2013-03-20 Juri Linkov <juri@jurta.org>
2095 * info.el (Info-next-reference-or-link)
2096 (Info-prev-reference-or-link): New functions.
2097 (Info-next-reference, Info-prev-reference): Use them.
2098 (Info-try-follow-nearest-node): Handle footnote navigation.
2099 (Info-fontify-node): Fontify footnotes. (Bug#13989)
2101 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2103 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
2104 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
2106 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
2108 Suppress unnecessary non-ASCII chatter during build process.
2109 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
2110 (batch-skkdic-convert): Suppress most of the chatter.
2111 It's not needed so much now that machines are faster,
2112 and its non-ASCII component was confusing; see Dmitry Gutov in
2113 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
2115 2013-03-20 Leo Liu <sdl.web@gmail.com>
2117 * ido.el (ido-chop): Fix bug#10994.
2119 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2121 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
2123 (whitespace-color-on, whitespace-color-off):
2124 Use `font-lock-fontify-buffer' (Bug#13817).
2126 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
2128 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
2129 remapping in mode-line.
2130 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
2132 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2134 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
2135 value for `whitespace-line' face (Bug#13875).
2136 (whitespace-font-lock-keywords): Change description.
2137 (whitespace-color-on): Don't save `font-lock-keywords' value, save
2138 the constructed keywords instead.
2139 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
2141 2013-03-19 Leo Liu <sdl.web@gmail.com>
2143 * progmodes/compile.el (compilation-display-error): New command.
2144 (compilation-mode-map, compilation-minor-mode-map): Bind it to
2147 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2149 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
2151 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
2153 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
2155 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
2157 * net/tramp-compat.el (tramp-compat-user-error): New defun.
2159 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2160 * net/tramp-gvfs.el (top):
2161 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
2162 (tramp-handle-shell-command): Use it.
2163 (tramp-dissect-file-name): Raise an error when hostname is a
2164 method name, and neither method nor user is specified.
2166 * net/trampver.el: Update release number.
2168 2013-03-18 Leo Liu <sdl.web@gmail.com>
2170 Make sure eldoc can be turned off properly.
2171 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
2173 (eldoc-display-message-p): Revert last change.
2174 (eldoc-display-message-no-interference-p)
2175 (eldoc-print-current-symbol-info): Tweak.
2177 2013-03-18 Tassilo Horn <tsdh@gnu.org>
2179 * doc-view.el (doc-view-new-window-function): Check the new window
2180 overlay's display property instead the char property of the
2181 buffer's first char. Use `with-selected-window' instead of
2182 `save-window-excursion' with `select-window'.
2183 (doc-view-document->bitmap): Check the current doc-view overlay's
2184 display property instead the char property of the buffer's first char.
2186 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2188 Automate the build of ja-dic.el (Bug#13984).
2189 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
2190 from the input, rather than assume that it's been done for us by the
2191 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
2192 the current date into a ja-dic.el comment, as that complicates
2195 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2197 * whitespace.el: Fix double evaluation.
2198 (whitespace-space, whitespace-hspace, whitespace-tab)
2199 (whitespace-newline, whitespace-trailing, whitespace-line)
2200 (whitespace-space-before-tab, whitespace-indentation)
2201 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
2203 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
2204 (whitespace-color-on): Use a single font-lock-add-keywords call.
2205 Fix double-evaluation of face variables.
2207 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
2209 * net/tramp-adb.el (tramp-adb-parse-device-names):
2210 Use `start-process' instead of `call-process'. Otherwise, the
2211 function might be blocked under MS Windows. (Bug#13299)
2213 2013-03-17 Leo Liu <sdl.web@gmail.com>
2215 Extend eldoc to display info in the mode-line. (Bug#13978)
2216 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
2217 (eldoc-mode-line-string): New variable.
2218 (eldoc-minibuffer-message): New function.
2219 (eldoc-message-function): New variable.
2220 (eldoc-message): Use it.
2221 (eldoc-display-message-p)
2222 (eldoc-display-message-no-interference-p):
2223 Support eldoc-post-insert-mode.
2225 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
2226 (eval-expression): Run it.
2228 2013-03-17 Roland Winkler <winkler@gnu.org>
2230 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
2231 strings in the list of return values.
2233 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2235 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
2236 radix before checking for HMS forms.
2238 2013-03-16 Leo Liu <sdl.web@gmail.com>
2240 * progmodes/scheme.el: Add indentation and font-locking for λ.
2243 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
2245 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
2246 token before point (bug#13942).
2248 2013-03-16 Leo Liu <sdl.web@gmail.com>
2250 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
2252 2013-03-16 Eli Zaretskii <eliz@gnu.org>
2254 * startup.el (command-line-normalize-file-name): Fix handling of
2255 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
2256 <xfq.free@gmail.com> in
2257 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
2259 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
2261 Sync with Tramp 2.2.7.
2263 * net/trampver.el: Update release number.
2265 2013-03-14 Tassilo Horn <tsdh@gnu.org>
2267 * doc-view.el Fix bug#13887.
2268 (doc-view-insert-image): Don't modify overlay associated to
2269 non-live windows, and implement horizontal centering of image in
2270 case it's smaller than the window.
2271 (doc-view-new-window-function): Force redisplay of new windows on
2274 2013-03-13 Karl Fogel <kfogel@red-bean.com>
2276 * saveplace.el (save-place-alist-to-file): Don't sort
2277 `save-place-alist', just pretty-print it (bug#13882).
2279 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
2281 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
2282 whether `default-file-name-coding-system' is bound. It isn't in
2285 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
2287 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
2288 backquotes for `obsolete' (bug#13929).
2290 * international/mule.el (find-auto-coding): Include file name in
2291 obsolescence warning (bug#13922).
2293 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
2295 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
2296 for CFEngine 3-specific indentation.
2297 (cfengine3-indent-line): Use it. Fix up category regex.
2298 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
2300 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2302 * type-break.el (type-break-file-name):
2303 * textmodes/remember.el (remember-data-file):
2304 * strokes.el (strokes-file):
2305 * shadowfile.el (shadow-initialize):
2306 * saveplace.el (save-place-file):
2307 * ps-bdf.el (bdf-cache-file):
2308 * progmodes/idlwave.el (idlwave-config-directory):
2309 * net/quickurl.el (quickurl-url-file):
2310 * international/kkc.el (kkc-init-file-name):
2311 * ido.el (ido-save-directory-list-file):
2312 * emulation/viper.el (viper-custom-file-name):
2313 * emulation/vip.el (vip-startup-file):
2314 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2315 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
2317 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
2319 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
2320 * language/thai-word.el: Switch to UTF-8.
2322 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2324 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
2326 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2328 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
2329 Use with-current-buffer and don't move point.
2330 (net-utils-run-simple): Remove useless code.
2331 (net-utils-remove-ctl-m): Remove unused custom.
2333 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
2335 * international/characters.el (glyphless-set-char-table-range): New fun.
2336 (update-glyphless-char-display): Use it (bug#13744).
2338 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
2340 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
2341 namespaces in the syntax, indent closer for hanging brace
2342 correctly, allow single-quote delimited 'strings', and make
2343 `cfengine3-mode' the default.
2345 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
2347 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
2348 Use lexical-binding. Fix up docstring according to conventions.
2349 (gdbmi-debug-mode): New var.
2350 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
2351 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
2352 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
2353 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
2354 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
2355 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
2356 (gdbmi-bnf-incomplete-record-result): New functions.
2357 (gdb-car<): Remove function.
2358 (gdbmi-record-list): Remove variable.
2359 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
2360 (gdbmi-bnf-result-state-configs): New const.
2361 (gud-gdbmi-marker-filter): Rewrite.
2362 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
2363 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
2364 Add `token' argument.
2365 (gdb-done, gdb-error): New functions.
2366 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
2368 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2370 * term/xterm.el (xterm--report-background-handler): Don't burp
2372 (xterm--version-handler): Extract from terminal-init-xterm.
2373 (xterm--query): Don't mishandle timeout. Remove debugging messages.
2374 Allow multiple handlers.
2375 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
2377 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
2378 (xterm--report-background-handler, xterm--query): New functions.
2379 (terminal-init-xterm): Use them.
2381 2013-03-11 Michael R. Mauger <michael@mauger.com>
2383 * progmodes/sql.el Version 3.2
2384 Please note that my address changed to <michael@mauger.com>;
2385 the <mmaug@yahoo.com> address remains active.
2386 (sql-connection-alist): Updates documentation to fix bug#13715.
2387 (sql-connect): Handle missing `sql-connection-alist' correctly.
2388 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
2389 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
2391 (sql-default-value): New function.
2392 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
2393 values were not used.
2394 (sql-rename-buffer): Make sure alternate buffer name has no text
2396 (sql-input-sender, sql-execute-feature): Fetch variable with
2397 `buffer-local-value' rather than `with-current-buffer'.
2398 (sql-*): Use #' function syntax consistently.
2399 (sql-*): Use message/error/user-error consistently.
2401 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2403 * xt-mouse.el (xterm-mouse-event-read): Remove.
2404 (xterm-mouse--read-event-sequence-1000)
2405 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
2407 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2409 * term/xterm.el (xterm-function-map): Support format used with
2410 formatOtherKeys=1 (bug#13839).
2412 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
2413 (with-no-warnings): Use `declare'.
2415 * whitespace.el (whitespace-enable-predicate): New variable.
2416 (whitespace-enable-predicate): Use it.
2418 * comint.el (comint-send-input, comint-snapshot-last-prompt)
2419 (comint-output-filter, comint-update-fence):
2420 Use with-silent-modifications.
2422 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
2424 * replace.el (occur-read-regexp-defaults-function): New var.
2425 (occur-read-regexp-defaults): New defun.
2426 (occur-read-primary-args): Propagate above change (bug#13892).
2428 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2430 * mouse.el (mouse-drag-track): Remove left-over debugging code.
2432 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
2434 Major rewrite due to changed D-Bus interface of GVFS 1.14.
2436 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
2437 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
2438 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
2440 (tramp-gvfs-file-name-handler-alist) [directory-files]
2441 [directory-files-and-attributes, file-exists-p, file-modes]:
2442 Use Tramp default handler.
2443 [file-acl, file-selinux-context, process-file, set-file-acl]:
2444 [set-file-modes, set-file-selinux-context, shell-command]:
2445 [start-file-process]: Remove handler.
2446 [verify-visited-file-modtime]: New handler.
2447 (tramp-gvfs-dbus-string-to-byte-array)
2448 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
2449 calls of `dbus-string-to-byte-array' and
2450 `tramp-gvfs-dbus-byte-array-to-string'.
2451 (tramp-gvfs-handle-copy-file)
2452 (tramp-gvfs-handle-delete-directory)
2453 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
2454 (tramp-gvfs-handle-file-directory-p)
2455 (tramp-gvfs-handle-file-executable-p)
2456 (tramp-gvfs-handle-file-name-all-completions)
2457 (tramp-gvfs-handle-file-readable-p)
2458 (tramp-gvfs-handle-file-writable-p)
2459 (tramp-gvfs-handle-insert-directory)
2460 (tramp-gvfs-handle-insert-file-contents)
2461 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
2462 (tramp-gvfs-handle-set-visited-file-modtime)
2463 (tramp-gvfs-handle-write-region): Rewrite.
2464 (tramp-gvfs-handle-file-acl)
2465 (tramp-gvfs-handle-file-selinux-context)
2466 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
2467 (tramp-gvfs-handle-set-file-modes)
2468 (tramp-gvfs-handle-set-file-selinux-context)
2469 (tramp-gvfs-handle-shell-command)
2470 (tramp-gvfs-handle-start-file-process)
2471 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
2472 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
2473 over the symlinks. Fix user handling.
2474 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
2475 of the D-Bus signals.
2476 (tramp-gvfs-connection-mounted-p): Handle different names of the
2478 (tramp-gvfs-mount-spec-entry): New defun.
2479 (tramp-gvfs-mount-spec): Use it.
2480 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
2481 there is a share name. Handle different names of the D-Bus
2482 signals and methods. Set connection properties needed for
2483 `tramp-check-cached-permissions'.
2484 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
2487 * net/tramp.el (tramp-backtrace): Move up.
2488 (tramp-error): Dump a backtrace into the debug buffer when
2490 (tramp-file-mode-type-map, tramp-file-mode-from-int)
2491 (tramp-file-mode-permissions, tramp-get-local-uid)
2492 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
2495 * net/tramp-sh.el (tramp-file-mode-type-map)
2496 (tramp-check-cached-permissions, tramp-file-mode-from-int)
2497 (tramp-file-mode-permissions, tramp-get-local-uid)
2498 (tramp-get-local-gid): Move to tramp.el.
2500 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2502 Separate mouse-1-click-follows-link from mouse-drag-region.
2503 * mouse.el (mouse--down-1-maybe-follows-link): New function.
2504 (key-translation-map): Use it to implement mouse-1-click-follows-link.
2505 (mouse-drag-line, mouse-drag-track):
2506 Remove mouse-1-click-follows-link code.
2507 (mouse--remap-link-click-p): Remove.
2509 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
2511 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
2512 (hi-lock-read-regexp-defaults): New defun.
2513 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2514 (hi-lock-face-phrase-buffer): Propagate above change.
2515 Update docstring (bug#13892).
2517 * subr.el (find-tag-default-as-regexp): New defun.
2518 * replace.el (read-regexp): Propagate above change.
2520 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
2522 * calc/calc-units.el (calc-convert-units): Fix the way that default
2523 new units are stored.
2525 2013-03-07 Matthias Meulien <orontee@gmail.com>
2527 * bookmark.el: Define a face to highlight bookmark names in
2528 bookmark menu buffers, where the default is a bold face similarly
2529 to buffer names in buffer menu buffers.
2530 (bookmark-menu-bookmark): New face to highlight bookmark names.
2531 (bookmark-insert-location): Remove duplicated text property to
2532 conform to buffer list (see `list-buffers').
2533 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
2534 `bookmark-menu-bookmark' to bookmark names.
2536 2013-03-07 Matthias Meulien <orontee@gmail.com>
2537 Karl Fogel <kfogel@red-bean.com>
2539 * bookmark.el: Display the bookmark list header similarly to the
2540 buffer list header (see `list-buffers'), where the default is now
2541 an immovable/immutable header line.
2542 (bookmark-bmenu-use-header-line): New variable.
2543 (bookmark-bmenu-inline-header-height): New name for
2544 `bookmark-bmenu-header-height', to avoid confusion with the code
2545 for the new immovable header. All references changed.
2546 (bookmark-bmenu-set-header): New function.
2547 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
2548 Conditionalize header construction accordingly.
2549 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
2550 the inline header height.
2551 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
2552 Conditionalize the skipping of the inline header height.
2554 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
2556 * progmodes/js.el (js--multi-line-declaration-indentation):
2557 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
2559 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
2561 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2562 Only propertize regexp when not inside a string (Bug#13885).
2564 2013-03-06 Alan Mackenzie <acm@muc.de>
2566 Correct the position of point in some line-up functions.
2567 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
2568 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
2569 point at column 0 rather than at a random place in the line.
2571 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
2573 * net/tramp-compat.el (tramp-compat-delete-directory):
2574 Implement TRASH argument.
2576 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
2578 Keep pre-existing highlighting in completion candidates (Bug#13250).
2579 * minibuffer.el (completions-first-difference): State that the
2580 face is "added" in the docstring.
2581 (completions-common-part): Same. And don't inherit from default.
2582 (completion-hilit-commonality): Prepend 'completions-common-part
2583 and 'completion-first-difference faces to the 'face property,
2584 instead of replacing the value(s).
2585 (completion--insert-strings): Same with 'completions-annotations face.
2586 (completion-hilit-commonality): Use 'face instead of
2587 'font-lock-face, because it gets priority if the completion
2588 strings already have 'face set.
2590 2013-03-04 Alan Mackenzie <acm@muc.de>
2592 Replace `last-command-event' by `last-command-char' in XEmacs.
2593 * progmodes/cc-defs.el (c-last-command-char): New macro.
2594 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
2595 (c-semi&comma-no-newlines-before-nonblanks)
2596 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
2597 in place of `last-command-event'.
2598 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
2599 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
2600 (c-electric-paren, c-electric-continued-statement): Use the new
2601 macro in place of `last-command-event'.
2603 2013-03-04 Glenn Morris <rgm@gnu.org>
2605 * files.el (inhibit-local-variables-regexps):
2606 Add .diff and .patch. (Bug#13862)
2608 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
2610 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
2611 whether the "su" command is available on the device.
2613 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2615 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
2616 (tramp-adb-handle-process-file): Remove superfluous setting.
2617 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
2618 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
2619 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
2621 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
2623 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
2624 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
2625 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
2626 Use dict-key rather than dict-name for the error message.
2628 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2630 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
2631 when reverting (bug#13831).
2633 2013-03-01 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
2635 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2636 Always expand affix-file before storing to protect against changed
2637 `default-directory'.
2638 (ispell-print-if-debug): Make sure message is printed at the end
2639 of the debug buffer.
2641 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2643 * net/tramp.el (tramp-obsolete-methods): New defconst.
2644 (tramp-warned-obsolete-methods): New defvar.
2645 (tramp-find-method): Check for obsolete methods. Map them to a
2646 replacement method if appropriate.
2648 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
2650 (top): Remove completion functions for "scp1", "scp2", "ssh1",
2651 "ssh2" and "plink1".
2653 2013-02-28 Dale Sedivec <dale@codefu.org>
2655 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
2656 Return valid syntax-table property value when converting
2657 quotes within text from string syntax to punctuation syntax (bug#13844).
2659 2013-02-28 Juri Linkov <juri@jurta.org>
2661 * dired-aux.el (dired-diff): If file at point is a backup file,
2662 use its original as the default value, and reverse the order
2663 of arguments to the `diff' call. Doc fix. (Bug#13772)
2665 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
2667 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
2668 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
2670 2013-02-28 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
2672 Initial support for hunspell dictionaries auto-detection (Bug#13639)
2674 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2675 Ask hunspell about available and default dictionaries.
2676 (ispell-parse-hunspell-affix-file): Extract relevant info from
2677 hunspell affix file.
2678 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
2679 `ispell-dictionary-alist' entry for given dictionary after info
2680 provided by `ispell-parse-hunspell-affix-file'.
2681 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
2682 of parsed hunspell dicts and associated affix files.
2683 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
2684 of parsed hunspell dicts and associated parameters.
2685 (ispell-set-spellchecker-params):
2686 Call `ispell-find-hunspell-dictionaries' if hunspell and not
2688 (ispell-start-process):
2689 Call `ispell-hunspell-fill-dictionary-entry' for current
2690 dictionary if it is not initialized.
2692 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2694 * imenu.el: Comment nitpicks.
2696 2013-02-28 Sam Steingold <sds@gnu.org>
2698 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
2699 See <http://stackoverflow.com/questions/14720205>.
2701 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2703 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
2704 (net-utils-mode): Use it.
2705 (net-utils--revert-cmd): New var.
2706 (net-utils-run-simple): Set it, and remove bogus interactive spec.
2707 (traceroute): Use net-utils-run-simple.
2709 2013-02-28 Glenn Morris <rgm@gnu.org>
2711 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
2713 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2715 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
2716 (doc-view-fallback-mode): Remove overlays here.
2717 (doc-view-toggle-display): Instead of here. Don't throw away
2718 image-mode-winprops-alist.
2719 (doc-view-goto-page): Don't mess with hscroll.
2721 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2723 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
2724 &optional (bug#13819).
2726 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
2728 * net/tramp-adb.el (tramp-adb-parse-device-names)
2729 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
2731 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
2733 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2734 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
2735 defined. POSIX environments fall back to the "C" locale then and
2736 emit a warning, which shall be suppressed.
2738 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
2740 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
2741 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
2743 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2745 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
2747 2013-02-25 Juri Linkov <juri@jurta.org>
2749 * replace.el (read-regexp): Let-bind `default' to the first
2750 element of `defaults' if it's a list, otherwise it should be
2751 a string or nil. Let-bind `suggestions' to `defaults' if it's
2752 a list, otherwise make a list with the string value. Doc fix.
2755 2013-02-25 Eli Zaretskii <eliz@gnu.org>
2757 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
2758 that match "\`\.#", to avoid compiling lock files, even if they
2759 are readable (as they are on MS-Windows).
2761 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2763 * files.el (basic-save-buffer): Remove redundant directory-creation.
2765 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
2767 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
2768 Add option to force `pi' to remain symbolic.
2769 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
2770 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
2771 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
2772 derivatives, when necessary.
2774 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
2776 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
2777 (ps-mode-octal-region): Use string-make-unibyte.
2779 2013-02-23 Glenn Morris <rgm@gnu.org>
2781 * emulation/viper-cmd.el (viper-submit-report):
2782 * progmodes/ps-mode.el (ps-mode-maintainer-address):
2783 * progmodes/vera-mode.el (vera-mode-help-address):
2784 * textmodes/artist.el (artist-maintainer-address):
2785 * textmodes/reftex.el (reftex-report-bug):
2786 * vc/ediff-util.el (ediff-submit-report):
2787 Add bug-gnu-emacs to bug report address.
2789 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
2790 Remove bug report entries.
2791 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
2793 * emacs-lisp/bytecomp.el (byte-compile-level): New.
2794 (byte-compile-file, byte-compile-from-buffer):
2795 Use separate input/output buffers for each level of recursive
2796 byte-compile-file calls. (Bug#13787)
2798 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
2800 * net/tramp.el (tramp-methods): Fix docstring.
2801 (tramp-ssh-controlmaster-options): Rename it from
2802 `tramp-ssh-controlmaster-template'. Return a string.
2803 (tramp-default-method): Adapt check for
2804 `tramp-ssh-controlmaster-options'.
2806 * net/tramp-sh.el (tramp-methods):
2807 Replace `tramp-ssh-controlmaster-template' by "%c".
2808 (tramp-do-copy-or-rename-file-out-of-band)
2809 (tramp-maybe-open-connection): Use it in format spec. Ensure,
2810 that it is applied for the first hop only.
2812 2013-02-22 Juri Linkov <juri@jurta.org>
2814 * isearch.el (isearch-lazy-highlight-new-loop):
2815 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
2816 to `isearch-other-end' if it is not nil. (Bug#13402)
2818 * replace.el (replace-highlight): Let-bind `isearch-other-end'
2821 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
2822 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
2823 and `isearch-error' to nil.
2825 2013-03-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2827 * progmodes/python.el (python-info-current-defun):
2828 Enhance match-data cluttering prevention.
2830 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
2832 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
2834 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2835 Handle multibyte file names.
2837 2013-02-22 Glenn Morris <rgm@gnu.org>
2839 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
2840 (sgml-transformation-function): Give it a :set function.
2841 (sgml-tag): Doc fix.
2843 * cmuscheme.el (scheme-buffer):
2844 * progmodes/inf-lisp.el (inferior-lisp-buffer):
2845 * progmodes/tcl.el (inferior-tcl-buffer):
2846 * textmodes/tex-mode.el (tex-command): Doc fixes.
2848 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
2850 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
2852 2013-02-21 Bastien Guerry <bzg@gnu.org>
2854 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
2856 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2858 * progmodes/python.el (python-info-current-defun):
2859 Enhance match-data cluttering prevention.
2861 2013-02-21 Glenn Morris <rgm@gnu.org>
2863 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
2864 loaded while outline-regexp is let bound. (Bug#9584)
2866 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2868 * progmodes/python.el (python-info-current-defun): Fix failed
2869 defun name retrieval because of unwanted match-data cluttering.
2871 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
2873 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
2874 defconst. Apply independent check for ControlPersist.
2876 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
2877 temporarily, via "env".
2879 2013-02-21 Glenn Morris <rgm@gnu.org>
2881 * info.el (Info-enable-edit): Remove.
2882 (Info-edit): Disable it rather than using Info-enable.
2883 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
2884 (Info-cease-edit): Make editing of Info files obsolete.
2886 * informat.el (Info-tagify):
2887 Handle buffers not visiting files. (Bug#13763)
2889 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
2891 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
2893 2013-02-21 Glenn Morris <rgm@gnu.org>
2895 * files.el (basic-save-buffer): Move check for existing parent
2896 directory after hooks. (Bug#13773)
2898 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
2900 * simple.el (command-execute): Move from C. Add obsolete check.
2901 (extended-command-history): Move from C.
2903 2013-02-20 Ulrich MĂ¼ller <ulm@gentoo.org>
2905 * jka-cmpr-hook.el (jka-compr-compression-info-list)
2906 (jka-compr-mode-alist-additions): Handle .txz suffix for
2907 XZ-compressed tar archives (bug#13770).
2909 2013-02-20 Bastien Guerry <bzg@gnu.org>
2911 * outline.el (outline-regexp, outline-heading-end-regexp):
2912 Make variables, not options (bug#13731).
2914 2013-02-20 Glenn Morris <rgm@gnu.org>
2916 * image.el (image-current-frame): Change from variable to function.
2917 (image-show-frame): Rename from image-nth-frame. Update callers.
2918 * image-mode.el (image-multi-frame): New variable.
2919 (image-mode-map, image-mode, image-goto-frame):
2920 Use image-multi-frame rather than image-current-frame.
2921 (image-mode, image-goto-frame): Use image-current-frame as
2922 function rather than as variable.
2924 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
2925 * emacs-lisp/cl-macs.el (cl--make-type-test)
2926 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
2928 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
2930 * net/tramp-cache.el (tramp-get-hash-table): New defun.
2931 (tramp-get-file-property, tramp-set-file-property)
2932 (tramp-get-connection-property, tramp-set-connection-property): Use it.
2933 (tramp-flush-file-property, tramp-flush-directory-property):
2934 Rename argument to KEY.
2935 (tramp-flush-connection-property): Simplify a little bit.
2936 (tramp-connection-property-p): New defun.
2937 (top): Reapply saved values only if there isn't a corresponding
2938 entry in `tramp-connection-properties'.
2940 2013-02-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2942 * progmodes/python.el (python-indent-context):
2943 Fix python-info-line-ends-backslash-p call.
2944 (python-info-line-ends-backslash-p)
2945 (python-info-beginning-of-backslash): Respect line-number argument.
2946 (python-info-current-line-comment-p):
2947 Fix behavior when not at beginning-of-line.
2948 (python-util-position): Remove function.
2949 (python-util-goto-line): New function.
2951 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
2953 * eshell/em-unix.el (eshell/su): Require tramp.
2954 (eshell/sudo): Require tramp. Remove now unnecessary check.
2956 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
2957 `tramp-current-connection' in order to avoid an error when several
2958 commands are invoked in a short time in eshell and friends.
2960 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
2962 Cleanup some of EIEIO's namespace.
2963 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
2964 Use it to define all the class-* and object-* field accessors (renamed
2965 to eieio--class-* and eieio--object-*). Update all uses.
2966 (eieio--class-num-slots, eieio--object-num-slots): Rename from
2967 class-num-slots and object-num-slots.
2968 (eieio--check-type): New macro.
2969 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
2970 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
2971 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
2972 (object-assoc-list-safe): Use it.
2973 (eieio-defclass): Tighten regexp.
2974 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
2975 Remove unreachable code.
2976 (object-class-fast): Declare obsolete.
2977 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
2978 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
2979 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
2980 Rename from class-name, object-name, object-set-name-string,
2981 object-class, object-class-name, class-parents, class-children,
2982 class-precedence-list, class-parent; with obsolete alias.
2983 (class-of, class-direct-superclasses, class-direct-subclasses):
2985 (eieio-defmethod): Use `memq'; remove unreachable code.
2986 * emacs-lisp/eieio-base.el (eieio-persistent-read):
2987 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
2988 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
2990 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
2992 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
2995 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
2997 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
2998 Use font-lock-keyword-face for macros and special forms (bug#8345).
3000 2013-02-17 Didier Verna <didier@didierverna.net>
3002 * net/network-stream.el (network-stream-open-starttls):
3003 Check that response to the starttls-command is non-nil. (Bug#13706)
3005 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3007 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
3008 Don't assume all identifier chars have syntax word.
3009 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3010 Remove bar-not-symbol. Adjust callers.
3011 (lisp-mode-variables): Don't set a font-lock-syntax-table.
3013 2013-02-17 Leo Liu <sdl.web@gmail.com>
3015 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
3017 2013-02-17 Glenn Morris <rgm@gnu.org>
3019 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
3021 * image-mode.el (image-mode-map): Add image-dired menu entry.
3023 * image-dired.el (tumme): Make this alias obsolete.
3025 2013-02-16 Glenn Morris <rgm@gnu.org>
3027 * image.el (image-animated-types): Remove.
3028 (image-multi-frame-p): Rename from image-animated-p, and generalize.
3029 (image-animated-p): Make obsolete alias.
3030 (image-animate, image-nth-frame, image-animate-timeout):
3031 Use image-multi-frame-p.
3032 (image-animate-timeout): If no delay, use image-default-frame-delay.
3033 * image-mode.el (image-mode, image-toggle-animation):
3034 Use image-multi-frame-p. (Bug#763, bug#10739)
3035 (image-mode): Adjust startup message for a multi-frame image.
3037 * image-mode.el (image-mode-map): Give it a menu.
3039 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
3041 * net/tramp-cache.el (tramp-connection-properties): New customer
3043 (tramp-get-connection-property): Use it.
3045 * net/tramp-compat.el (top): Require 'trampver.
3047 * net/tramp-sh.el (tramp-remote-process-environment):
3048 Set tramp-autoload cookie.
3050 2013-02-16 Kevin Ryde <user42@zip.com.au>
3052 * info-look.el (info-lookup-select-mode): If major-mode has no
3053 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
3055 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
3057 * replace.el (read-regexp): Tighten the regexp that matches tag.
3058 When tag is retrieved with `find-tag-default', use regexp that
3059 matches tag at point. Also update docstring (Bug#13687).
3061 2013-02-16 Eli Zaretskii <eliz@gnu.org>
3063 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
3064 add watch for the file, not its parent directory, since w32notify
3065 sets up the watch for the directory internally. (Bug#13725)
3067 2013-02-16 Glenn Morris <rgm@gnu.org>
3069 * image.el (image-default-frame-delay): New variable.
3070 (image-animated-p): Use image-default-frame-delay.
3071 (image-minimum-frame-delay): New constant.
3072 (image-animate-timeout): Use image-minimum-frame-delay.
3074 * image.el (image-nth-frame): New, split from image-animate-timeout.
3075 (image-animate-timeout): Use image-nth-frame.
3076 * image-mode.el (image-goto-frame, image-next-frame)
3077 (image-previous-frame): New commands.
3078 (image-mode-map): Add new frame commands.
3080 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
3082 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
3083 If col-desc already has help-echo, use it. (Bug#13563)
3085 2013-02-16 Glenn Morris <rgm@gnu.org>
3087 * image.el (image-current-frame): New variable.
3088 (image-animate-timeout): Set image-current-frame.
3089 * image-mode.el (image-mode): For animated images,
3090 display a frame counter via mode-line-process.
3092 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
3094 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3096 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
3098 2013-02-15 Alan Mackenzie <acm@muc.de>
3100 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
3101 global minor mode has been enabled, call the minor mode function
3102 for a new buffer once only, after the major mode hook, whilst
3103 allowing that hook explicitly to disable the minor mode.
3104 (MODE-disable-in-buffer): New (generated) function.
3105 (disable-MODE): New (generated) buffer local variable.
3107 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
3109 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
3110 `iswitchb-next-match' and `iswitchb-prev-match' resply.
3111 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
3112 `ido-next-match' and `ido-prev-match' resply.
3113 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
3114 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
3115 `icomplete-backward-completions' (Bug#13708).
3117 2013-02-15 Glenn Morris <rgm@gnu.org>
3119 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3121 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3123 * net/goto-addr.el (goto-address-fontify): Add start and end args.
3124 (goto-address-fontify-region): Use them instead of narrowing, so
3125 syntax-ppss has access to the whole buffer.
3127 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3129 * progmodes/python.el: Explain how to restore "cc-mode"-like
3130 forward-sexp movement in header documentation (Bug#13642).
3131 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
3132 comments and strings (GH bug 114).
3134 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3136 * progmodes/python.el (python-info-current-defun): Fix current
3137 defun detection (Bug#13618).
3139 2013-02-15 Chong Yidong <cyd@gnu.org>
3141 * xml.el (xml-parse-string): Fix typo in handling of bad character
3144 2013-02-15 Glenn Morris <rgm@gnu.org>
3146 * play/fortune.el (fortune-compile): Simplify and fix previous change.
3148 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
3150 * net/tramp.el (tramp-debug-message):
3151 Add `tramp-condition-case-unless-debug'.
3152 (tramp-debug-on-error): New defvar.
3153 (tramp-condition-case-unless-debug): New defun.
3154 (tramp-file-name-handler): Use it.
3156 2013-02-14 Juri Linkov <juri@jurta.org>
3158 * info.el (Info-isearch-filter): Treat non-nil values of
3159 `search-invisible' including its default value `open'
3160 like the value `t' to match hidden text. (Bug#13402)
3162 2013-02-14 Glenn Morris <rgm@gnu.org>
3164 * help-fns.el (find-lisp-object-file-name): Give special treatment
3165 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
3167 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
3169 * net/quickurl.el (quickurl-save-urls):
3170 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
3172 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
3174 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
3175 depth for unfinished percent literal. Not using it in the caller.
3176 (ruby-move-to-block): Jump over multiline literals of all types,
3177 ignoring code-looking contents inside them.
3178 (ruby-add-log-current-method): Improve performance at the expense
3179 of accuracy. `ruby-block-contains-point' is relatively slow, so
3180 only use it for method and singleton class blocks.
3182 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3184 Use ControlMaster where applicable. (Bug#13677)
3186 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
3187 replacing `tramp-detect-ssh-controlmaster'.
3188 (tramp-default-method): Use it.
3190 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
3191 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
3193 [scpc, rsyncc]: Remove methods.
3194 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
3196 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
3197 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
3199 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3201 * emacs-lisp/package.el (package--initialized): Move before first use.
3203 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
3205 * icomplete.el (icomplete-hide-common-prefix): New user option.
3206 (icomplete-first-match): New face.
3207 (icomplete-completions): Correct handling of "complete but not
3208 unique" (Bug#12638).
3210 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
3212 * descr-text.el (describe-char): Display the script (bug#13698).
3214 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3216 * tmm.el: Use lexical-binding and current-active-maps.
3217 (tmm-menubar): Use map-keymap and pcase.
3218 (tmm--completion-table): New function.
3219 (tmm-prompt): Use it to fix the menu order.
3220 (tmm-get-keybind): Use current-active-maps.
3222 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
3224 Add dired-hide-details-mode. (Bug#6799)
3226 * locate.el (locate-mode): Set parent mode property to dired-mode.
3228 * find-dired.el (find-dired): Call dired-insert-set-properties on
3229 initial information line. Set process mark on end of buffer.
3230 (find-dired-sentinel):
3231 Call dired-insert-set-properties on summary.
3233 * dired.el (dired-hide-details-hide-symlink-targets)
3234 (dired-hide-details-hide-information-lines): New options.
3235 (dired-insert-directory):
3236 Set properties after final treatment of output.
3237 (dired-insert-set-properties):
3238 Set dired-hide-details-* properties.
3239 (dired-mode-map): Bind dired-hide-details-mode.
3240 (dired-mode): Set buffer-invisibility-spec to a list.
3241 (dired-next-line): Skip hidden lines.
3242 (dired-previous-line): Use dired-next-line.
3243 (dired-hide-details-mode): New minor mode.
3244 (dired-hide-details-update-invisibility-spec): New function.
3246 2013-02-13 Glenn Morris <rgm@gnu.org>
3248 * play/yow.el: Move to obsolete/. (Bug#9384)
3250 2013-02-13 Juri Linkov <juri@jurta.org>
3252 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
3253 to select `ediff-control-frame' and set input focus correctly on Xfce.
3256 2013-02-13 Juri Linkov <juri@jurta.org>
3258 * image-mode.el (image-mode-map):
3259 * doc-view.el (doc-view-mode-map):
3260 * vc/ediff-util.el (ediff-setup-keymap):
3261 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3263 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
3265 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
3266 performance. Instead of recalculating indentation fully for each
3267 line, sum up indentation depth based only on visited lines.
3268 (ruby-parse-partial): Increase the depth after "do" even when END
3270 (ruby-parse-partial): When END is in the middle of a percent
3271 literal, increase the depth if the delimiter chars belong to the
3274 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
3276 * play/fortune.el (fortune-compile): Also make the compiled file
3277 if it does not exist at all, not just if it is old. (Bug#5338)
3279 2013-02-13 Glenn Morris <rgm@gnu.org>
3281 * emacs-lisp/package.el (package-menu-execute): Doc fix.
3283 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
3285 * lisp/emacs-lisp/package.el (package-menu-execute):
3286 Add optional noquery argument. (Bug#13625)
3288 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3290 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
3291 if DIR exists and PARENTS is non-nil.
3293 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
3295 * progmodes/js.el (js--multi-line-declaration-indentation):
3296 Silence byte-compiler warning.
3298 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
3300 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
3302 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
3303 only if it doesn't exist.
3305 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3308 2013-02-12 Tassilo Horn <tsdh@gnu.org>
3310 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
3311 UserInstallation when calling soffice to work around LibreOffice
3314 2013-02-12 Glenn Morris <rgm@gnu.org>
3316 * files.el (basic-save-buffer):
3317 Offer to create a non-existing directory. (Bug#3016)
3319 * calc/calc-graph.el (calc-graph-show-dumb):
3320 * calendar/calendar.el (calendar-mode-map):
3321 * cus-edit.el (custom-mode-map):
3322 * ehelp.el (electric-help-map):
3323 * emulation/vip.el (vip-mode-map):
3324 * epa.el (epa-key-list-mode-map):
3325 * info.el (Info-mode-map):
3326 * mail/rmail.el (rmail-mode-map):
3327 * mail/rmailsum.el (rmail-summary-mode-map):
3328 * man.el (Man-mode-map):
3329 * net/newst-plainview.el (newsticker-mode-map):
3330 * progmodes/cpp.el (cpp-edit-mode-map):
3331 * progmodes/grep.el (grep-mode-map):
3332 * progmodes/idlw-help.el (idlwave-help-mode-map):
3333 * simple.el (special-mode-map):
3334 * startup.el (splash-screen-keymap):
3335 * view.el (view-mode-map):
3336 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3338 2013-02-11 Elias Pipping <pipping@lavabit.com>
3340 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
3343 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
3345 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
3347 2013-02-11 Glenn Morris <rgm@gnu.org>
3349 * vc/diff.el (diff-use-labels): New variable.
3350 (diff-no-select): Use --label rather than -L, and first
3351 check that it is supported. (Bug#11067)
3353 * files.el (enable-dir-local-variables): New variable.
3354 (hack-dir-local-variables): Respect enable-dir-local-variables.
3355 * tutorial.el (help-with-tutorial):
3356 Ignore directory-local variables. (Bug#11127)
3358 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
3359 (vc-svn-global-switches): ... to here. (Bug#13513)
3361 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
3363 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
3364 Handle "foo (bar, default: xxx): " prompts.
3366 2013-02-10 Chong Yidong <cyd@gnu.org>
3368 * files.el (basic-save-buffer-1): Do not set
3369 buffer-file-coding-system-explicit (Bug#4533).
3371 * mail/emacsbug.el (report-emacs-bug): Change binding of
3372 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
3374 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
3376 * calc/calc.el (calc-allow-units-as-numbers): New variable.
3377 * calc/calc-units.el (calc-convert-units): Use new variable.
3379 2013-02-09 Eli Zaretskii <eliz@gnu.org>
3381 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
3383 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
3386 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
3387 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
3388 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
3389 coding-system-for-write instead.
3391 * jka-compr.el (jka-compr-write-region): Don't bind
3394 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
3397 * files.el (file-name-buffer-file-type-alist): Remove defvar.
3398 (insert-file-contents-literally): Remove reference to
3399 file-name-buffer-file-type-alist.
3401 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
3403 (find-buffer-file-type-match, find-buffer-file-type): Remove.
3404 (find-buffer-file-type-coding-system): Remove references to
3405 find-buffer-file-type-match, find-buffer-file-type, and
3407 Don't put find-buffer-file-type-coding-system into
3408 file-coding-system-alist.
3409 (find-file-binary, find-file-text): Bind coding-system-for-read
3410 instead of file-name-buffer-file-type-alist.
3412 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
3414 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
3415 converter (Bug#13622).
3416 (doc-view-unoconv-program): Make obsolete alias.
3417 (doc-view-odf->pdf-converter-program): New variable.
3418 (doc-view-odf->pdf-converter-function): New variable.
3419 (doc-view-mode-p): Use it.
3420 (doc-view-odf->pdf-converter-unoconv):
3421 Rename from `doc-view-odf->pdf-converter-unoconv'.
3422 (doc-view-odf->pdf-converter-soffice): New function.
3423 (doc-view-convert-current-doc):
3424 Use `doc-view-odf->pdf-converter-function'.
3426 2013-02-09 Chong Yidong <cyd@gnu.org>
3428 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
3429 view-echo-area-messages (Bug#13340).
3431 * help.el (view-echo-area-messages): Use display-buffer.
3433 * dired-x.el (dired-do-run-mail): Prompt for confirmation
3436 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
3438 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
3439 Eval body right away, now that we do eager macroexpansion (bug#13605).
3441 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
3442 (fundamental-mode): Use run-mode-hooks.
3444 * eshell/esh-proc.el (eshell/kill): Fix last change.
3445 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
3447 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
3449 * eshell/esh-proc.el (eshell/kill): Rewrite.
3451 * eshell/em-ls.el (show-almost-all): Declare.
3452 (eshell-do-ls): Add support for -A argument.
3454 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
3456 * icomplete.el (icomplete-forward-completions)
3457 (icomplete-backward-completions): Handle corner case (bug#13602).
3459 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
3461 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
3462 be nil. Handle this. (Bug#13636)
3464 2013-02-07 Richard Stallman <rms@gnu.org>
3466 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
3467 `save-buffer-coding-system'.
3469 2013-02-07 Alan Mackenzie <acm@muc.de>
3471 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
3472 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
3473 (c-parse-state-get-strategy): Don't return 'BOD any more.
3474 (c-append-lower-brace-pair-to-state-cache):
3475 Extra parameter HERE instead of narrowing.
3476 Widen to top of buffer before searching backwards for a brace pair.
3477 (c-state-push-any-brace-pair): Add HERE parameter to function call.
3478 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
3479 Narrow to parameter HERE, in place of being called narrowed.
3480 (c-remove-stale-state-cache): Extra parameter HERE in place of
3481 narrowing. Check there's an open brace in the cache before
3482 searching for its match.
3483 (c-invalidate-state-cache-1): Add HERE parameter to function call.
3484 (c-parse-state-1): Don't narrow here for 'forward strategy,
3485 instead passing extra parameter HERE to several functions.
3486 Remove 'BOD strategy.
3488 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
3490 * emacs-lisp/package.el (describe-package-1): Tell what archive is
3491 used to install the package.
3493 2013-02-06 Glenn Morris <rgm@gnu.org>
3495 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
3496 if we can't get user input. (Bug#6567)
3498 * startup.el (command-line): If simple.el is missing,
3499 test and warn about for some possible causes.
3501 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
3503 * cus-start.el (all): Add ns-use-native-fullscreen.
3505 2013-02-05 Glenn Morris <rgm@gnu.org>
3507 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
3509 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3510 Fix directory creation in fallback case.
3512 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3514 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
3515 (vc-update-change-log): Use dolist.
3517 2013-02-04 Chong Yidong <cyd@gnu.org>
3519 * thingatpt.el: Rewrite the URL detection routines, absorbing some
3521 (thing-at-point-beginning-of-url-regexp): New var.
3522 (thing-at-point-uri-schemes): Update list of URI schemes.
3523 (thing-at-point-url-regexp): Variable deleted.
3524 (thing-at-point-markedup-url-regexp): Disallow newlines.
3525 (thing-at-point-newsgroup-regexp)
3526 (thing-at-point-newsgroup-heads)
3527 (thing-at-point-default-mail-uri-scheme): New variables.
3528 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
3529 method to find the possible bounds of the URI at point.
3530 New optional argument to find ill-formed URIs.
3531 (thing-at-point-url-at-point): Rewrite. New arguments for finding
3532 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
3533 the scheme-adding heuristics from ffap-url-at-point.
3534 (thing-at-point--bounds-of-well-formed-url): New function.
3535 Do parens matching to decide whether to include parens in the URI
3538 * ffap.el: Require thingatpt.
3539 (ffap-url-at-point): Delegate URI detection to thing-at-point.
3540 All URI-valid characters are now recognized (Bug#5673).
3541 (ffap-string-at-point): Use use-region-p.
3542 (ffap-url-regexp): Extra character is handled by thing-at-point.
3543 (ffap-string-at-point-mode-alist): Allow parentheses.
3544 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
3545 Convert to aliases; code moved to thingatpt.el.
3546 (ffap-gnus-hook): Use setq-local.
3548 2013-02-04 Glenn Morris <rgm@gnu.org>
3550 * emacs-lisp/ert.el (ert--explain-format-atom):
3551 Don't try to print non-characters as characters. (Bug#13543)
3553 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
3555 * net/tramp.el (tramp-debug-message): Extend function exclude list.
3556 (tramp-backtrace): New defun.
3557 (tramp-handle-insert-file-contents): Use `visit' when inserting
3560 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
3561 Use `remote-file-name-inhibit-cache'.
3563 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
3565 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
3568 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
3569 current-load-list (bug#13366).
3571 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
3573 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3574 Identify g++ template instantiation trace. (Bug#12287)
3575 (compilation-mode-hook, compilation-start-hook)
3576 (compilation-window-height): Simplify docstrings. (Bug#13379)
3578 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3580 * mouse.el (mouse-drag-track): Always deactivate the mark before
3581 running the final event's command since that command is in charge of
3582 activating the mark if needed (bug#13523).
3584 2013-02-02 Juri Linkov <juri@jurta.org>
3586 * replace.el (perform-replace): Move let-bindings of isearch-*
3587 variables deeper to the loop that searches for the next match.
3588 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
3589 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
3592 * isearch.el (isearch-search-fun-default): Check for null
3593 first element of isearch-cmds as a precaution when it's used
3594 with inactive isearch.
3596 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
3598 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
3599 error when buffer in question is narrowed so position 1 is out of
3602 2013-02-02 Glenn Morris <rgm@gnu.org>
3604 * textmodes/remember.el (remember-clipboard): Doc fix.
3606 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3608 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
3609 properties (bug#13179).
3611 2013-02-02 Juri Linkov <juri@jurta.org>
3613 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
3614 instead of hard-coded default face `match'. (Bug#9438)
3616 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
3618 * vc/vc-arch.el (vc-arch-registered):
3619 * vc/vc-bzr.el (vc-bzr-registered):
3620 * vc/vc-cvs.el (vc-cvs-registered):
3621 * vc/vc-git.el (vc-git-registered):
3622 * vc/vc-hg.el (vc-hg-registered):
3623 * vc/vc-mtn.el (vc-mtn-registered):
3624 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
3627 * info.el (Info-next-reference, Info-prev-reference): Add numeric
3628 prefix argument. (Bug#11656)
3630 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
3632 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
3634 2013-02-01 Glenn Morris <rgm@gnu.org>
3636 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
3637 if the backend is known not to support it.
3639 * imenu.el (imenu-default-create-index-function):
3640 Tweak infinite loop test to check for forward motion as well as none.
3642 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
3644 * net/soap-client.el (soap-invoke): Encode the string for
3645 `url-request-data' as UTF-8.
3646 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
3648 2013-02-01 Glenn Morris <rgm@gnu.org>
3650 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
3652 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
3654 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
3656 * net/tramp.el (tramp-tramp-file-p): Comment check for
3657 `string-as-unibyte'. The function does not exist on XEmacs, and
3658 likely we need another approach.
3660 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
3661 `tramp-gw-*' variables are bound.
3663 2013-01-31 Glenn Morris <rgm@gnu.org>
3665 * files.el (basic-save-buffer-2): Choose coding system for
3666 writing the file before backing it up, to reduce delay between
3667 backing up and writing the new version. (Bug#13522)
3669 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
3671 * simple.el (cycle-spacing): New command.
3672 (just-one-space): Use it.
3674 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
3676 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
3677 (opascal-newline-always-indents): Remove custom.
3678 (opascal-tab, opascal-newline): Remove commands.
3679 (opascal-new-comment-line): Insert "\n" instead of calling newline.
3680 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
3681 (opascal-save-match-data): Remove, use save-match-data instead.
3682 (opascal-save-state): Use with-silent-modifications.
3684 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
3687 2013-01-30 Juri Linkov <juri@jurta.org>
3689 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
3690 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
3691 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
3693 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3695 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
3696 column if we're just deleting the backslashes.
3697 (makefile-fill-paragraph): Use eolp.
3699 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3701 * autorevert.el (auto-revert-use-notify): Fix docstring.
3703 2013-01-30 Leo Liu <sdl.web@gmail.com>
3705 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
3707 2013-01-30 Glenn Morris <rgm@gnu.org>
3709 * mouse.el (mouse-drag-line): Avoid pushing same event onto
3710 unread-command-events twice in some cases. This tries to implement
3711 the 2012-07-26 changes in a different way. (Bug#13560)
3713 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3715 * progmodes/python.el
3716 (python-pdbtrack-comint-output-filter-function): Enhancements on
3717 stacktrace detection. (thanks @gnovak)
3719 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3721 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
3722 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
3724 (jit-lock-register): Use setq-local.
3726 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
3728 * calc-units.el (math-default-units-table): Remove initial value.
3729 (calc-convert-units): Treat expressions where all the units cancel as
3730 if they didn't have units.
3732 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3734 * net/tramp.el (tramp-process-connection-type): Fix docstring.
3735 (tramp-completion-reread-directory-timeout): Fix type.
3736 (tramp-connection-min-time-diff): New defcustom.
3738 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3740 2013-01-30 Glenn Morris <rgm@gnu.org>
3742 * imenu.el (imenu-default-create-index-function):
3743 Put back a version of the infinite loop test removed 2013-01-23.
3745 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3747 * progmodes/python.el (python-shell-parse-command):
3748 Find python-shell-interpreter with modified environment.
3750 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3752 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
3754 2013-01-29 Alan Mackenzie <acm@muc.de>
3756 Amend to fontify /regexp/s in actions correctly.
3757 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
3758 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
3759 are no longer included.
3760 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
3761 What used to be these variables without "-line" in the name.
3762 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
3763 (c-awk-non-arith-op-bra-re): Now also matches {.
3764 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
3765 "return", and "case".
3766 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
3768 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
3769 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
3771 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
3773 * autorevert.el (auto-revert-use-notify):
3774 Use `custom-initialize-default' for initialization. (Bug#13583)
3776 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
3778 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3779 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
3780 in `tramp-file-name-handler'.
3781 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
3783 (tramp-compute-multi-hops): Check, whether
3784 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
3786 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
3788 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
3791 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
3793 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
3794 checks made superfluous by the \_< operator.
3795 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
3796 temporarily) broken indentation.
3797 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3798 Highlight nested constants, too. \_< broke that.
3800 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
3802 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
3805 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
3807 * autorevert.el (auto-revert-handler): Notifications which result
3808 from a saved file shall not be taken into account. (Bug#13557)
3810 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
3812 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
3813 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
3814 (lisp-mode): Pass t for it. (Bug#13556)
3816 2013-01-25 Alan Mackenzie <acm@muc.de>
3818 AWK Mode: Fix indentation bug at top level. Bug #12274.
3820 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
3821 just before CASE 5D.
3823 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
3825 * net/socks.el (socks-nslookup-host): Use string-to-number.
3827 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
3829 * autorevert.el (auto-revert-remote-files)
3830 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
3831 (auto-revert-notify-enabled, auto-revert-use-notify)
3832 (auto-revert-notify-watch-descriptor-hash-list)
3833 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
3834 (auto-revert-notify-event-descriptor)
3835 (auto-revert-notify-event-action)
3836 (auto-revert-notify-event-file-name): Doc fix.
3837 (global-auto-revert-mode): Reorder checks.
3838 (auto-revert-notify-rm-watch): Respect changed values of
3839 `auto-revert-notify-watch-descriptor-hash-list'.
3840 (auto-revert-notify-add-watch): Check for
3841 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
3842 `inotify-add-watch'. Watch `default-directory' instead of
3843 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
3844 has a changed meaning now. (Bug#13540)
3845 (auto-revert-notify-handler): Change implementation wrt events
3846 returning from a directory.
3847 (auto-revert-handler): Reorder implementation for checks of remote
3849 (auto-revert-buffers): Fix parentheses error.
3851 2013-01-25 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3853 * progmodes/python.el: Enhancements to header documentation about
3854 skeletons. (Bug#5716)
3856 * imenu.el (imenu-default-create-index-function): Remove useless
3857 infinite loop check. (Bug#13438)
3859 2013-01-25 Alan Mackenzie <acm@muc.de>
3861 Fix a bug in the state cache mechanism. Refactor this a bit.
3863 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
3864 `cache-pos' element from the return value.
3865 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
3866 buffer to enable proper searching from beyond HERE. Amend the
3867 test for detecting the sought brace pair. Amend the value written
3868 to the "brace desert cache" when the brace isn't found.
3869 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
3870 and several other variables analogously.
3871 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
3872 parameter to a locally calculated variable.
3873 (c-parse-state-1): Change the calling conventions to the two
3874 defuns involving `cache-pos'.
3876 2013-01-25 Chong Yidong <cyd@gnu.org>
3878 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
3880 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
3882 * paren.el (show-paren-function): Make sure to set 'priority and
3883 'face only if the overlay does exist.
3885 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
3887 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
3889 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
3891 (tramp-sh-handle-set-file-acl): Improve error checking.
3893 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
3895 * doc-view.el (doc-view-display): Force mode line update until all
3896 document is converted. Suggested by Stefan Monnier (Bug#13164).
3898 2013-01-23 Bastien Guerry <bzg@gnu.org>
3900 * paren.el (show-paren-function): Make sure an overlay exists
3901 before trying to delete it. Also use `pos' as a position only
3902 when it is an integer.
3904 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
3906 * play/gametree.el (gametree-break-line-here): Use point-marker.
3908 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
3910 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3911 Mark descriptive parts with `display' property.
3913 2013-01-21 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
3915 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
3916 New variable to map standard dict names to hunspell ones.
3917 (ispell-set-spellchecker-params): Make sure specific dict names
3918 are used for standard dicts with hunspell.
3920 2013-01-21 Tassilo Horn <tsdh@gnu.org>
3922 * textmodes/reftex-cite.el (reftex-format-citation): Add format
3923 chars for note (%N) and url (%U).
3924 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
3926 2013-01-21 Juri Linkov <juri@jurta.org>
3928 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
3929 in addition to existing separate binding `meta f10' in `global-map'.
3932 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
3934 Improve XEmacs compatibility.
3936 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
3938 * net/tramp-adb.el (top): Require `time-date'.
3939 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
3940 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
3941 Use `tramp-file-name-handler'.
3942 (tramp-adb-maybe-open-connection):
3943 Use `tramp-compat-set-process-query-on-exit-flag'.
3945 * net/tramp-sh.el (tramp-sh-handle-file-acl):
3946 Use `tramp-compat-funcall'.
3948 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
3949 `tramp-compat-funcall'.
3951 2013-01-21 JĂ¼rgen Hötzel <juergen@archlinux.org>
3953 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
3954 reimplementation using "adb shell command ..." instead of running
3955 remote shell interactively.
3957 2013-01-20 Glenn Morris <rgm@gnu.org>
3959 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
3960 Add native profiler menu entries.
3962 * profiler.el (profiler-running-p): New function.
3963 (profiler-cpu-profile): Use profiler-running-p.
3964 (profiler-report-mode-map): Add some more menu entries.
3966 2013-01-19 Glenn Morris <rgm@gnu.org>
3968 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
3969 fixes 2012-12-07 change. (Bug#13499)
3971 2013-01-19 Leo Liu <sdl.web@gmail.com>
3973 * dired.el (dired-get-marked-files): Prune erroneous values due to
3974 last change. (Bug#13152)
3976 2013-01-19 Glenn Morris <rgm@gnu.org>
3978 * progmodes/etags.el (tags-table-check-computed-list):
3979 Preserve point in tags buffer. (Bug#13412)
3981 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
3983 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
3984 Chong Yidong <cyd@gnu.org>
3986 * image-mode.el (image-next-file, image-previous-file):
3987 New commands (Bug#8453).
3988 (image-mode-map): Bind them to n and p.
3989 (image-mode--images-in-directory): New helper function.
3991 2013-01-19 Chong Yidong <cyd@gnu.org>
3993 * image-mode.el (image-mode-fit-frame): Add a frame argument.
3994 Suggested by Drew Adams (Bug#7730). Handle window decorations;
3995 save and restore the old window configuration.
3997 2013-01-18 Leo Liu <sdl.web@gmail.com>
3999 * progmodes/js.el: Tweak autoload cookie for alias.
4001 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4003 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
4004 buffer local, again. This was lost with the fix on 2013-01-12.
4006 2013-01-17 JĂ¼rgen Hötzel <juergen@archlinux.org>
4008 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
4009 order to support several eshell buffers in parallel.
4011 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4013 * autorevert.el (auto-revert-use-notify): In the :set function, do
4014 not modify `kill-buffer-hook'.
4015 (auto-revert-notify-rm-watch):
4016 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
4017 (auto-revert-notify-add-watch): Do not call
4018 `auto-revert-notify-rm-watch', but add it to a buffer local
4021 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4023 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
4024 call to `eval' rather than a backquoted lambda.
4026 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
4028 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
4029 to return an explicit nil.
4030 (advice--remove-function): Change accordingly.
4032 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
4033 the use of nadvice.el.
4035 * progmodes/which-func.el (which-function): Silence imenu errors
4038 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4040 * progmodes/sql.el (sql-imenu-generic-expression):
4041 (sql-mode-font-lock-object-name): Match schema qualified names.
4042 (sql-connect): Use string keys.
4043 (sql-product-interactive): Wait for interpreter prompt.
4044 (sql-comint-oracle): Set process coding based on NLS_LANG.
4046 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4048 * progmodes/sql.el (sql-output-to-send): Remove, unused.
4049 (sql-interactive-remove-continuation-prompt):
4050 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
4052 2013-01-14 Leo Liu <sdl.web@gmail.com>
4054 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
4057 2013-01-14 Glenn Morris <rgm@gnu.org>
4059 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4060 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
4062 2013-01-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4064 * progmodes/python.el (python-nav-end-of-statement):
4065 Fix cornercase when handling multiline strings.
4067 2013-01-13 Richard Stallman <rms@gnu.org>
4069 * mail/sendmail.el (mail-position-on-field): Add doc string.
4071 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4072 Get current message boundaries and pass them to
4073 message-forward-make-body-mime. Minor style changes.
4075 2013-01-13 Eli Zaretskii <eliz@gnu.org>
4077 * cus-start.el (all): Avoid warnings about
4078 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
4080 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
4082 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
4084 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4086 * jit-lock.el (jit-lock-debug-mode): New minor mode.
4087 (jit-lock--debug-fontifying): New var.
4088 (jit-lock--debug-fontify): New function.
4089 * subr.el (condition-case-unless-debug): Don't prevent catching the
4090 error, just let the debbugger run.
4091 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
4092 timer code and don't drop errors silently.
4094 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
4096 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
4097 `permanent-local' property.
4098 (auto-revert-notify-handler): Use `file-equal-p'.
4100 2013-01-12 Eli Zaretskii <eliz@gnu.org>
4102 * autorevert.el (auto-revert-notify-handler): Fix filtering of
4103 file notification by ACTION. For filtering by file name, compare
4104 only the non-directory part of the file name.
4106 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4108 * autorevert.el: Use cl-lib instead of cl.
4110 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
4111 (vc-bzr-checkin): Use it.
4112 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
4113 will preserve match-data.
4115 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
4117 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
4118 (js--declaration-keyword-re): New var.
4119 (js--multi-line-declaration-indentation): New function.
4120 (js--proper-indentation): Use it.
4122 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
4124 * calc/calc.el (calc-highlight-selections-with-faces)
4126 * comint.el (comint-history-isearch-message):
4127 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
4128 * ffap.el (ffap-string-at-point-region, ffap-next)
4129 (ffap-string-at-point, ffap-string-around)
4130 (ffap-copy-string-as-kill, ffap-highlight-overlay)
4132 * font-lock.el (font-lock-keywords-alist)
4133 (font-lock-removed-keywords-alist):
4134 * help-mode.el (help-xref-symbol-regexp):
4135 * info.el (Info-find-emacs-command-nodes):
4136 * international/mule.el (add-to-coding-system-list):
4137 * isearch.el (isearch-message-function, isearch-fail-pos):
4138 * misearch.el (multi-isearch-next-buffer-function):
4139 * newcomment.el (comment-box):
4140 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
4141 (pr-setting-database):
4142 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
4143 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
4144 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
4145 (pike-font-lock-keywords-3):
4146 * progmodes/compile.el (compile):
4147 * progmodes/etags.el (tags-table-files)
4148 (tags-table-files-function, tags-included-tables-function):
4149 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
4150 (gdb-restore-windows):
4151 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
4152 (ps-n-up-filling-database):
4153 * server.el (server-buffer, server-log):
4154 * simple.el (newline, delete-backward-char, delete-forward-char)
4155 (minibuffer-history-isearch-message, kill-line, track-eol)
4156 (temporary-goal-column):
4157 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
4158 (flyspell-default-deplacement-commands):
4159 * textmodes/ispell.el (ispell-accept-output):
4160 * textmodes/sgml-mode.el (html-tag-help):
4161 * vc/compare-w.el (compare-ignore-whitespace)
4162 (compare-ignore-case, compare-windows-dehighlight):
4163 * vc/diff.el (diff):
4164 * whitespace.el (whitespace-point)
4165 (whitespace-font-lock-refontify, whitespace-bob-marker)
4166 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
4168 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
4170 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
4171 (auto-revert-notify-rm-watch): Ignore errors.
4172 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
4173 inotify, and '(size last-write-time) for w32notify.
4174 Set buffer-local `auto-revert-use-notify' to nil when adding a file
4175 watch fails - this is a fallback to the file modification check.
4176 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
4177 (auto-revert-notify-event-action)
4178 (auto-revert-notify-event-file-name): New defuns.
4179 (auto-revert-notify-handler): Use them. Implement first
4180 plausibility checks.
4181 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
4183 2013-01-11 Julien Danjou <julien@danjou.info>
4185 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
4186 max are almost equal. Also return the correct value for V which is
4187 already between 0 and 1.
4189 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
4191 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
4193 2013-01-11 Eli Zaretskii <eliz@gnu.org>
4195 * autorevert.el (auto-revert-notify-rm-watch)
4196 (auto-revert-notify-add-watch): Fix typos in w32notify function
4199 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4201 * autorevert.el (auto-revert-notify-enabled): Move up.
4202 (auto-revert-use-notify): New defcustom.
4203 (auto-revert-mode, global-auto-revert-mode)
4204 (auto-revert-notify-add-watch, auto-revert-handler)
4205 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
4206 `auto-revert-notify-enabled'.
4208 2013-01-10 Elias Pipping <pipping@exherbo.org>
4210 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
4211 * doc-view.el (doc-view-document->bitmap):
4212 Use doc-view-single-page-converter-function instead of
4213 single-page-converter arg; adjust callers.
4215 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
4217 * progmodes/which-func.el (which-function): Understand Semantic's use
4218 of overlays in imenu--index-alist.
4220 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
4222 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
4223 (Man-man-k-use-anchor): New var.
4224 (Man-parse-man-k): New function.
4225 (Man-completion-table): Use it.
4226 (man): Flush the completion cache between uses.
4228 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4230 * autorevert.el: Add file watch support.
4231 (auto-revert-notify-enabled): New defconst.
4232 (auto-revert-notify-watch-descriptor-hash-list)
4233 (auto-revert-notify-watch-descriptor)
4234 (auto-revert-notify-modified-p): New defvars.
4235 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4236 (auto-revert-notify-handler): New defuns.
4237 (auto-revert-mode, global-auto-revert-mode): Remove file watches
4238 when mode is disabled.
4239 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
4240 (auto-revert-buffers): Add file watches for active buffers.
4242 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
4244 * cus-start.el (toplevel): Only allow float values for
4245 scroll-up-aggressively and scroll-down-aggressively.
4246 Allow any number for line-spacing.
4248 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4250 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
4251 (doc-view-pdf->png-converter-function): Use mupdf if available.
4252 (doc-view-djvu->png-converter-function)
4253 (doc-view-ps->png-converter-function): Remove.
4254 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
4255 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
4256 (doc-view-already-converted-p): Adjust accordingly.
4257 (doc-view-mode-p): Simplify.
4258 (doc-view-enlarge): Use setq-local.
4259 (doc-view-pdf->png-converter-ghostscript)
4260 (doc-view-djvu->png-converter-ddjvu)
4261 (doc-view-pdf->png-converter-mupdf): Rework to call
4262 doc-view-start-process directly.
4263 (doc-view-pdf/ps->png): Simplify accordingly.
4264 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
4265 (doc-view-document->bitmap): Rename from doc-view-document->png.
4266 (doc-view-convert-current-doc): Merge pdf and djvu cases.
4267 (doc-view-set-slice-from-bounding-box): Fix completion table.
4268 (doc-view-mode): Use add-hook for after-revert-hook.
4270 2013-01-10 Glenn Morris <rgm@gnu.org>
4272 * emacs-lisp/authors.el (authors-ignored-files)
4273 (authors-valid-file-names, authors-renamed-files-alist):
4274 Add some more entries.
4276 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4278 * image-mode.el (image-mode-winprops): Don't throw away the fallback
4279 `t' pseudo-window entry.
4281 2013-01-10 Alan Mackenzie <acm@muc.de>
4283 Fix bugs in the c-parse-state mechanism. Reuse some markers
4284 instead of continually generating new ones.
4286 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
4287 (c-state-old-cpp-end-marker): New variables.
4288 (c-append-lower-brace-pair-to-state-cache): Start a backward
4289 search for "}" definitively outside CPP constructs.
4290 (c-remove-stale-state-cache): Inform the caller of a need to
4291 search back for a brace pair in certain circumstances.
4292 (c-state-maybe-marker): New macro.
4293 (c-parse-state): Reuse markers when appropriate.
4295 2013-01-10 Glenn Morris <rgm@gnu.org>
4297 * simple.el (execute-extended-command): Doc fix.
4298 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
4300 2013-01-10 Chong Yidong <cyd@gnu.org>
4302 * faces.el (read-face-name): Doc fix.
4304 2013-01-10 Roland Winkler <winkler@gnu.org>
4306 * emacs-lisp/crm.el: Allow any regexp for separators.
4307 (crm-default-separator): All spaces around the default comma separator.
4308 (crm--completion-command): New macro.
4309 (crm-completion-help, crm-complete, crm-complete-word): Use it.
4310 (crm-complete-and-exit): Handle non-single-char separators.
4312 2013-01-09 Elias Pipping <pipping@lavabit.com>
4314 * doc-view.el: Add support for DjVu (bug#13164).
4315 (doc-view-djvu->png-converter-function): New config var.
4316 (doc-view-single-page-converter-function, doc-view--image-type)
4317 (doc-view--image-file-extension): New vars.
4318 (doc-view-mode): Initialize them.
4319 (doc-view-goto-page): Use them.
4320 (doc-view-mode-p): Add support for ddjvu.
4321 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
4322 (doc-view-set-up-single-converter): New funs.
4323 (doc-view-pdf/ps->png): Extend for djvu.
4324 (doc-view-document->png): Rename from doc-view-pdf->png.
4325 (doc-view-convert-current-doc): Handle djvu.
4326 (doc-view-insert-image, doc-view-display)
4327 (doc-view-already-converted-p): Don't hardcode png.
4328 (doc-view-set-doc-type): Recognize djvu docs.
4330 2013-01-09 Elias Pipping <pipping@lavabit.com>
4332 * doc-view.el: Add support for mupdf converter (bug#13164).
4333 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
4334 (doc-view-ps->png-converter-function): New config vars.
4335 (doc-view-pdf->png-converter-ghostscript)
4336 (doc-view-ps->png-converter-ghostscript)
4337 (doc-view-pdf->png-converter-mupdf): New functions.
4338 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
4340 2013-01-09 JĂ¼rgen Hötzel <juergen@archlinux.org>
4342 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
4343 first in session cache: When `tramp-own-remote-path' is in
4344 `tramp-remote-path', the remote path is only set in the session
4347 2013-01-09 Glenn Morris <rgm@gnu.org>
4349 * emacs-lisp/trace.el (trace-function-foreground)
4350 (trace-function-background): Doc fix.
4352 2013-01-09 Juri Linkov <juri@jurta.org>
4354 * international/mule-cmds.el (read-char-by-name): Move let-binding
4355 of completion-ignore-case around completing-read to fix regression
4356 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
4357 `string-match-p' using the nil value of `case-fold-search' and
4358 `completion-ignore-case' in `completion-pcm--all-completions'.
4361 2013-01-09 Glenn Morris <rgm@gnu.org>
4363 * progmodes/compile.el (compilation-parse-errors):
4364 Fix typo. (Bug#13369)
4366 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4368 * comint.el (comint-send-input): Check size of buffer before
4369 waiting for process output, in case already accepted. (Bug#13290)
4371 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
4374 * net/tramp-adb.el (tramp-adb-get-toolbox):
4375 Fix misspelling of 'unknown'.
4377 2013-01-08 Juri Linkov <juri@jurta.org>
4379 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4380 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4381 Use underline style wave on terminals that support it. (Bug#13000)
4383 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4385 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
4386 the predicate returns nil.
4388 * simple.el: Use lexical-binding.
4389 (primitive-undo): Use pcase.
4390 (minibuffer-history-isearch-push-state): Use a closure.
4392 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4394 * simple.el (primitive-undo): Move from undo.c.
4396 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4398 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
4399 (cvs-mode-remove-handled): Use it (bug#13380).
4401 * emacs-lisp/nadvice.el (advice--tweak): New function.
4402 (advice--remove-function, advice--subst-main): Use it.
4404 * emacs-lisp/advice.el: Update commentary.
4406 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
4408 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4409 Remove spurious entry.
4411 2013-01-08 Glenn Morris <rgm@gnu.org>
4413 * net/tramp.el (tramp-default-host-alist): Add :version.
4415 2013-01-08 Juri Linkov <juri@jurta.org>
4417 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
4418 single completion. (Bug#12456)
4419 (info--manual-names): Expand node completions into an explicit list
4420 before appending it to another list. Filter out internal buffers
4421 with the leading space in the buffer name. (Bug#10771)
4423 2013-01-08 Juri Linkov <juri@jurta.org>
4425 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
4426 that defaults to the Top node.
4427 (Info-goto-node, Info-read-node-name): Doc fix to mention that
4428 the short format (FILENAME) goes to the Top node.
4429 (Info-build-node-completions): Rename arg `file' to `filename'.
4432 2013-01-07 Bastien Guerry <bzg@gnu.org>
4434 * menu-bar.el (menu-bar-search-documentation-menu):
4435 Use `apropos-user-option' and fix the help message.
4437 2013-01-07 Bastien Guerry <bzg@gnu.org>
4439 * apropos.el (apropos-do-all): Update docstring.
4440 (apropos-user-option-button): New face.
4441 (apropos-user-option): Rename from `apropos-variable' and update
4443 (apropos-variable): Rewrite, now show all variables by default.
4444 (apropos-print): Mention "User option" instead of "Variable" when
4445 printing doc for user options. (Bug#13276)
4447 2013-01-07 JĂ¼rgen Hötzel <juergen@archlinux.org>
4449 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4450 Handle filename correctly, when parsing "source -> target" symlink
4452 (tramp-adb-handle-set-file-times): New defun.
4454 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
4456 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
4457 advice list when the interactive-spec of ad-Advice-* changes.
4459 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
4461 * wid-edit.el (widget-default-get): Work for inlined elements.
4464 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
4466 * net/tramp.el (tramp-default-host-alist): New defcustom.
4467 (tramp-find-host): Use it.
4468 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
4469 `eshell-directory-change-hook'.
4471 * net/tramp-adb.el (top): Add adb specific entry in
4472 `tramp-default-host-alist'.
4473 (tramp-adb-file-name-host): Remove function.
4474 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4475 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
4477 * net/tramp-sh.el: Move eshell integration code to tramp.el.
4479 2013-01-06 JĂ¼rgen Hötzel <juergen@archlinux.org>
4481 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
4483 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
4485 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
4486 consist of more than one digit.
4487 (tramp-adb-file-name-handler-alist):
4488 Use `tramp-handle-file-exists-p' consistently.
4489 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
4490 (tramp-adb-handle-file-exists-p): Remove function.
4491 (tramp-adb-file-name-host): New defun.
4492 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4494 (tramp-adb-maybe-open-connection): Set "remote-path" property.
4496 2013-01-06 Chong Yidong <cyd@gnu.org>
4498 * vc/vc.el (vc-next-action): Detect buffer modifications
4499 conflicting with locking VCS operation (Bug#11490).
4501 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
4503 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
4505 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4506 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
4508 2013-01-05 JĂ¼rgen Hötzel <juergen@archlinux.org>
4510 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
4511 parsing of ls output using regular expression (handle filenames
4512 with spaces). Use virtual device number.
4513 (tramp-do-parse-file-attributes-with-ls): New defun (Code
4516 2013-01-04 Daiki Ueno <ueno@gnu.org>
4518 * epg.el: Silence byte-compiler warnings.
4519 (epg--start): Use delete-char instead of delete-backward-char.
4520 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
4522 2013-01-04 Daiki Ueno <ueno@gnu.org>
4524 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
4525 Suggested by Eli Zaretskii <eliz@gnu.org>.
4527 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
4529 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
4530 non-negative integers. Otherwise, the default values are used.
4531 (tramp-convert-file-attributes): Convert uid and gid to integers.
4533 2013-01-04 Glenn Morris <rgm@gnu.org>
4535 * term.el (term-handle-colors-array): Ensure face attributes
4536 are fully specified, not nil. (Bug#13337)
4538 * term.el (term-default-fg-color, term-default-bg-color):
4541 * progmodes/etags.el (tags-compression-info-list): Doc fix.
4542 (tag-find-file-of-tag-noselect): Check auto-compression-mode
4543 rather than 'jka-compr being loaded. (Bug#13338)
4545 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
4547 * icomplete.el (icomplete-completions):
4548 Honor icomplete-prospects-height once more following
4549 2012-11-29 changes. (Bug#13224)
4551 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
4553 * subr.el (internal--called-interactively-p--get-frame): Find aliases
4554 of called-interactively-p as well (bug#13237).
4556 * view.el (view--enable, view--disable): Rename from view-mode-enable
4557 and view-mode-disable and assume it's called from view-mode.
4558 (view-mode-enable, view-mode-disable): Redefine as obsolete
4559 compatibility layer above view-mode.
4560 (view-mode-enter): Call `view-mode'.
4562 * files.el (after-find-file): Call `view-mode'.
4564 * doc-view.el (doc-view-scale-internally): New var.
4565 (doc-view-enlarge, doc-view-insert-image): Obey it.
4567 2013-01-03 Daiki Ueno <ueno@gnu.org>
4569 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
4572 2013-01-03 Glenn Morris <rgm@gnu.org>
4574 * mail/rmail.el (rmail-set-header-1): Ignore case.
4575 Handle multi-line headers. (Bug#13330)
4577 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
4578 Handle paragraph starting at beginning of buffer.
4580 * subr.el (eval-after-load): Don't purecopy the form, so that it
4581 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
4583 * emacs-lisp/byte-run.el (defun): Place cl declarations
4584 after any interactive spec. (Bug#13265)
4586 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4588 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
4589 defun. Don't check for DECL if DOCSTRING isn't a string.
4592 2013-01-02 Glenn Morris <rgm@gnu.org>
4594 * eshell/em-cmpl.el (eshell-pcomplete):
4595 More thoroughly imitate pcomplete. (Bug#13293)
4597 * files.el (parse-colon-path): Doc fix. (Bug#12351)
4598 Return nil for empty path elements. (Bug#13296)
4600 2013-01-02 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4602 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
4603 order to improve efficiency (Based on Daniel Colascione's
4604 <dancol@dancol.org> patch). (Bug#13182)
4606 2013-01-02 Glenn Morris <rgm@gnu.org>
4608 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
4610 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4612 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
4613 neither DOCSTRING nor DECL was given. (Bug#13316)
4615 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
4617 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
4619 (tramp-do-copy-or-rename-file): Ignore errors when calling
4620 `set-file-extended-attributes'.
4622 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4623 Add handler for `file-acl'.
4624 (tramp-smb-handle-file-acl): New defun.
4626 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
4628 * calc/README: Mention ISO 8601 week-numbering dates.
4630 2013-01-01 Martin Rudalics <rudalics@gmx.at>
4632 * view.el (view-mode-enable): New argument run-view-mode-hook.
4633 Run view-mode-hook only when it's non-nil (Bug#13315).
4634 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
4637 2012-12-31 JĂ¼rgen Hötzel <juergen@archlinux.org>
4639 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
4640 (No device connected, invalid device name). (Bug #13299)
4642 2012-12-31 Martin Rudalics <rudalics@gmx.at>
4644 * window.el (window-resizable--p): Rename to window-resizable-p.
4645 (window-resize-no-error): New function.
4647 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
4648 broken in fix from 2012-12-28.
4650 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
4652 * subr.el (special-form-p): Don't signal errors on undef aliases.
4654 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
4656 * calc/calc-forms.el (math-parse-date): Try using
4657 `math-parse-iso-date' when it looks like it might be needed.
4658 Allow times of 24:00.
4659 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
4662 2012-12-30 Glenn Morris <rgm@gnu.org>
4664 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
4665 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
4666 (rmail-summary-displayed, rmail-summary): Declare.
4667 (mairix-rmail-display): Just require rmail.
4669 2012-12-30 Chong Yidong <cyd@gnu.org>
4671 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
4672 check for the tarball contents.
4674 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
4676 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
4677 tarfile content listings (Bug#13136).
4679 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
4681 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4682 Insert the undecoded text of the message being forwarded. (Bug#9521)
4684 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
4686 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
4687 integers, if they are real numbers. (Bug#13282)
4689 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
4690 Return `t' on success.
4692 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4693 Add handler for `set-file-selinux-context'.
4695 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
4697 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
4698 (tramp-sh-handle-set-file-acl): Return `t' on success.
4700 2012-12-29 Eli Zaretskii <eliz@gnu.org>
4702 * files.el (backup-buffer-copy, basic-save-buffer-2):
4703 If set-file-extended-attributes fails, fall back on set-file-modes
4704 instead of signaling an error. (Bug#13298)
4705 (basic-save-buffer): Likewise.
4707 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4709 * progmodes/python.el: Support other commands triggering
4710 python-indent-line so indentation cycling continues to work.
4711 (python-indent-trigger-commands): New defcustom.
4712 (python-indent-line): Use it.
4714 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4716 * progmodes/python.el (python-shell-send-region): Add blank lines
4717 for non sent code so backtraces remain correct.
4719 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4721 * progmodes/python.el: Remove cl dependency.
4722 (python-syntax-count-quotes): Replace incf call.
4723 (python-fill-string): Replace setf call.
4725 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
4727 * info.el (info-other-window): New arg, for consistency with info.
4729 2012-12-28 Martin Rudalics <rudalics@gmx.at>
4731 * mail/rmail.el (rmail-maybe-display-summary):
4732 Rewrite (Bug#13066).
4734 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
4736 * epg.el (epg--start): Modify process-environment locally.
4738 2012-12-28 Daiki Ueno <ueno@gnu.org>
4740 * epg.el: Support pinentry-curses.
4741 Suggested by Werner Koch in
4742 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
4743 (epg-agent-file, epg-agent-mtime): New variable.
4744 (epg--start): Record the modified time of gpg-agent socket file,
4745 to restore Emacs frame after pinentry-curses termination.
4746 (epg-wait-for-completion): Restore Emacs frame here.
4748 2012-12-27 Juri Linkov <juri@jurta.org>
4750 * info.el (Info-file-completions): New variable.
4751 (Info-read-node-name-1): Complete node names in the Info file
4752 when a file name is given. Call `Info-build-node-completions'
4754 (Info-build-node-completions): Add new arg `file'. When it is
4755 non-nil, visit it in a temporary buffer and cache its completions in
4756 `Info-current-file-completions'. Move most of the function body to
4757 `Info-build-node-completions-1'.
4758 (Info-build-node-completions-1): New function with the body from
4759 `Info-build-node-completions'. (Bug#12456)
4761 2012-12-27 Juri Linkov <juri@jurta.org>
4763 * frame.el (frame-maximization-style): Remove user option.
4764 (cycle-frame-maximized): Remove function.
4765 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
4766 (toggle-frame-fullscreen): New command bound to <f11> instead of
4767 `toggle-frame-maximized'.
4768 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
4770 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
4772 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
4774 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4775 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4776 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4777 for `file-accessible-directory-p'. (Bug#13275)
4779 2012-12-27 Sam Steingold <sds@gnu.org>
4781 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
4782 continuations, see <http://stackoverflow.com/questions/3582436>.
4784 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
4786 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
4787 "module" and "def" to have indentation before them.
4788 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
4790 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
4792 2012-12-27 Alan Mackenzie <acm@muc.de>
4794 Speed up fontification where there's large brace blocks.
4795 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
4796 to a call of c-beginning-of-decl-1.
4798 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4800 * comint.el (comint-adjust-window-point): New function.
4801 (comint-postoutput-scroll-to-bottom):
4802 Call comint-adjust-window-point (Bug#13248).
4804 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
4806 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
4808 (auto-mode-alist): Associate .gemspec files with ruby-mode
4809 (https://bugs.ruby-lang.org/issues/5453).
4811 2012-12-26 JĂ¼rgen Hötzel <juergen@archlinux.org>
4813 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
4814 Suppress coloring, if possible (required for BusyBox based systems like
4816 (tramp-adb-handle-file-attributes)
4817 (tramp-adb-handle-insert-directory)
4818 (tramp-adb-handle-file-name-all-completions): Use it.
4819 (tramp-adb-get-toolbox): New defun. Check for remote shell
4820 implementation (BusyBox or Toolbox).
4822 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
4824 * startup.el (initial-buffer-choice): Allow function as value
4826 (command-line-1): Handle case where initial-buffer-choice
4827 specifies a function.
4828 * server.el (server-execute): Handle case where
4829 initial-buffer-choice specifies a function.
4831 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4833 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
4835 (smtpmail-try-auth-methods): Forget the user name/password if the
4836 login is unsuccessful (bug#12424).
4838 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
4840 * notifications.el (notifications-notify): Protect body with
4841 `with-demoted-errors'.
4843 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4844 Check properties of remote device. Restart connection, if there is a
4847 2012-12-21 Chong Yidong <cyd@gnu.org>
4849 * sort.el (sort-subr): Doc fix (Bug#13056).
4851 2012-12-21 Bastien Guerry <bzg@gnu.org>
4853 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
4855 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
4857 * simple.el (process-file): Overwrite stderr file, if exists.
4859 2012-12-21 Daiki Ueno <ueno@gnu.org>
4861 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
4862 (epg-error): Set `error-message' property.
4864 2012-12-21 Chong Yidong <cyd@gnu.org>
4866 * international/mule-cmds.el (read-char-by-name): Signal an error
4867 if the user does not supply a valid character (Bug#13177).
4869 * simple.el (transpose-subr-1): Preserve marker positions by
4870 changing the insertion sequence (Bug#13122).
4872 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4874 * simple.el (kill-region): Deactivate mark even for empty regions
4877 2012-12-21 Chong Yidong <cyd@gnu.org>
4879 * help-fns.el (describe-variable): Make sure we get the right
4880 buffer name (Bug#13105). Suggested by Kelly Dean.
4882 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
4884 * comint.el (comint-redirect-previous-input-string): New variable.
4885 (comint-redirect-setup, comint-redirect-cleanup)
4886 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
4887 (comint-redirect-preoutput-filter): Fix verbose message.
4889 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
4891 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
4892 is too long for Tramp. See discussion in
4893 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
4895 * progmodes/compile.el (compilation-start): Remove line escape
4898 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
4900 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
4903 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
4905 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
4906 following non-comment text (bug#13207).
4907 (lm-header-multiline): Continuation lines need to be indented more than
4909 (lm-homepage): New function.
4910 (lm-with-file): Don't be confused if narrowing is in effect.
4912 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4914 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
4915 very beginning of a hunk (e.g. killing the first line).
4917 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
4919 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
4920 and text properties from returned ACL string.
4921 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
4922 for "setfacl" command.
4924 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
4926 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
4927 `tramp-cleanup-this-connection', when the process has died.
4930 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4932 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
4934 2012-12-17 Kevin Ryde <user42@zip.com.au>
4936 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
4938 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
4940 Add support for preserving ACL entries of files.
4942 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
4943 `set-file-acl' handlers.
4945 * net/tramp-adb.el (tramp-adb-handle-copy-file):
4946 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4948 * net/tramp-compat.el (tramp-compat-copy-file):
4949 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4951 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4952 Add `file-acl' and `set-file-acl' handlers.
4953 (tramp-gvfs-handle-copy-file):
4954 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4955 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
4958 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4959 Add `file-acl' and `set-file-acl' handlers.
4960 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
4961 (tramp-sh-handle-set-file-acl): New defuns.
4962 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
4963 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4965 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4966 Add `file-acl' and `set-file-acl' handlers.
4967 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
4969 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4971 * help-macro.el (make-help-screen): Instead of switch-to-buffer
4972 use pop-to-buffer with NORECORD argument t. As buffer name, use
4973 *Metahelp* with a leading space (Bug#13190).
4975 2012-12-16 Romain Francoise <romain@orebokech.com>
4977 * files.el (file-extended-attributes)
4978 (set-file-extended-attributes): New functions.
4979 (backup-buffer): Use them to handle both SELinux context and ACL
4981 (backup-buffer-copy): Work with an alist of extended attributes,
4982 rather than an SELinux context.
4983 (basic-save-buffer-2): Ditto.
4985 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
4987 * battery.el (battery-bsd-apm): New function.
4989 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
4991 * calc/calc.el (calc-standard-date-formats): Adjust one of the
4992 standard date formats.
4994 2012-12-15 Juri Linkov <juri@jurta.org>
4996 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
4997 `isearch-insert-char-by-name'.
4998 (with-isearch-suspended): New defmacro with body mostly from
4999 `isearch-edit-string' except the part that sets
5000 `isearch-new-string' and `isearch-new-message'.
5001 (isearch-edit-string): Use new macro `with-isearch-suspended' with
5002 body that sets `isearch-new-string' and `isearch-new-message'.
5003 (isearch-insert-char-by-name): New command.
5004 * international/mule-cmds.el (read-char-by-name): Let-bind
5005 `enable-recursive-minibuffers' to t.
5006 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
5008 2012-12-15 Juri Linkov <juri@jurta.org>
5010 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
5013 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
5015 * dired-x.el (dired-guess-shell-command): Put colon at the end of
5016 the prompt. (Bug#13045)
5018 2012-12-14 Glenn Morris <rgm@gnu.org>
5020 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
5021 Try to include filename in non-bytecomp warning. (Bug#13132)
5023 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
5025 Fix permissions bugs with setgid directories etc. (Bug#13125)
5026 * files.el (backup-buffer): Don't rely on 9th output of
5027 file-attributes, as it's now a placeholder. Instead, use the new
5028 optional arg of file-ownership-preserved-p.
5029 (file-ownership-preserved-p): New optional arg GROUP.
5030 Fix mishandling of setuid directories that would cause this
5031 function to return t when it should have returned nil.
5032 Document what happens if the file does not exist, and when
5033 it's not known whether the ownership will be preserved.
5034 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
5036 (tramp-get-local-gid): Use group-gid for integer, as that's
5037 faster and more reliable.
5039 2012-12-14 Julien Danjou <julien@danjou.info>
5041 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
5042 Update keywords list, data type and PL/pgSQL.
5044 2012-12-14 Dave Abrahams <dave@boostpro.com>
5046 * vc/ediff-util.el (ediff-buffer-type): New function.
5047 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
5048 rather than taking it as as argument.
5049 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
5051 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
5053 * json.el: Add pretty-print option (bug#12634).
5054 (json-encoding-separator, json-encoding-default-indentation)
5055 (json--encoding-current-indentation, json-encoding-pretty-print)
5056 (json-encoding-lisp-style-closings): New vars.
5057 (json--with-indentation): New macro.
5058 (json-encode-hash-table, json-encode-alist, json-encode-plist)
5059 (json-encode-array): Use it to obey json-encoding-pretty-print.
5060 (json-pretty-print-buffer, json-pretty-print): New commands.
5062 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
5064 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5065 Extract `ruby-syntax-propertize-expansions'.
5066 (ruby-syntax-propertize-expansions): Only change syntax on
5067 certain string delimiters, to punctuation. This way the common
5068 functions like forward-word and thing-at-point still work.
5069 (ruby-match-expression-expansion): Improve readability.
5070 (ruby-block-contains-point): New function.
5071 (ruby-add-log-current-method): Handle several edge cases.
5073 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5075 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
5076 unload-feature finishes even when aborting an ongoing edebug session.
5077 Also, do not worry about edebug-mode, unload-feature takes care of it.
5079 2012-12-13 Andreas Schwab <schwab@suse.de>
5081 * net/tls.el (tls-program): Update customize type.
5083 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5085 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
5086 (edebug-setup-hook, cl-read-load-hooks): Use it.
5087 (edebug-unload-function): New function. (Bug#13163)
5089 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
5091 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
5092 Otherwise, there could be errors in autoloading. (Bug#13151)
5094 2012-12-13 JĂ¼rgen Hötzel <juergen@archlinux.org>
5096 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
5099 2012-12-13 Alan Mackenzie <acm@muc.de>
5101 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
5102 * progmodes/cc-engine.el (c-backward-comments): Add code to work
5103 around `forward-comment' not recognizing ^M as whitespace.
5105 2012-12-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5107 * progmodes/python.el (python-skeleton-class)
5108 (python-skeleton-def): Do not add space after defun name.
5110 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5112 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
5113 (cl--symbol-function): Remove (now that funbound is like nil).
5115 2012-12-12 Glenn Morris <rgm@gnu.org>
5117 * button.el (button--area-button-p): Fix typo.
5119 2012-12-12 Sam Steingold <sds@gnu.org>
5121 * frame.el (frame-maximization-style): New user option.
5122 (toggle-frame-maximized): Toggle frame maximization according to
5123 `frame-maximization-style', bound to <f11>.
5124 (cycle-frame-maximized): Cycle between all maximization styles and
5125 non-maximized frame, bound to shift-<f11>.
5127 2012-12-12 David Cadé <codename68@gmail.com>
5129 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
5131 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
5133 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
5134 (eieio-override-prin1): Don't quote kewords and booleans.
5135 (object-write) <eieio-default-superclass>: Don't put closing parens
5136 on new line, avoid needless empty lines, align values that are objects
5137 with the slot keyword (instead of beginning on the same line).
5138 (eieio-list-prin1): Align value with slot keyword; increase
5139 eieio-print-depth before printing members of the list.
5141 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5143 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
5144 a display text-property.
5145 (report-emacs-bug-hook): Don't bother deleting it any more.
5147 * hilit-chg.el (highlight-save-buffer-state): Delete.
5148 Use with-silent-modifications instead.
5149 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
5151 * button.el: Handle buttons in display text-properties.
5152 (button--area-button-p, button--area-button-string):
5153 Use (STRING . STRING-POS) representation instead of just STRING.
5155 2012-12-11 Eli Zaretskii <eliz@gnu.org>
5157 * makefile.w32-in (compile4-SH): Fix a typo that caused term
5158 subdirectory be skipped.
5160 2012-12-11 Glenn Morris <rgm@gnu.org>
5162 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
5164 * progmodes/f90.el (f90-line-continued, f90-indent-region):
5165 Treat preprocessor lines embedded in continuations like comments.
5166 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
5168 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
5170 * calc/calc.el (calc-standard-date-formats): Add more date
5172 * calc/calc-forms.el (math-parse-iso-date): New function.
5173 (math-parse-date): Use `math-parse-iso-date' when appropriate.
5174 (math-parse-iso-date-validate): Add extra error checking.
5175 (calc-date-notation): Add ability to access new date formats.
5177 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5179 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
5180 font-lock as well as when there's no text-property.
5182 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
5184 * hi-lock.el: Refine the choice of default face.
5185 (hi-lock-keyword->face): New function. Use it wherever we used
5187 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
5188 (hi-lock--last-face): Remove var.
5189 (hi-lock--unused-faces): New var to replace it.
5190 (hi-lock-read-face-name): Use/maintain it.
5191 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
5192 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
5193 if it has another face.
5195 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5197 * subr.el (w32notify-handle-event): New function.
5198 (inotify-handle-event): Doc fix.
5200 2012-12-10 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
5202 * subr.el (inotify-event-p, inotify-handle-event): New functions.
5204 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
5206 * simple.el (just-one-space): Doc fix.
5208 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5210 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
5212 2012-12-10 Le Wang <l26wang@gmail.com>
5214 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
5215 narrowed buffer (bug#12361).
5217 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
5219 * vc/vc-hooks.el (vc-state): Doc fix.
5221 2012-12-10 Glenn Morris <rgm@gnu.org>
5223 * mail/rmail.el (rmail-maybe-display-summary):
5224 Preserve buffer, in case select-window changes it. (Bug#13066)
5226 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5228 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
5229 cl-load-hook where they belong.
5231 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5233 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
5235 2012-12-09 Eli Zaretskii <eliz@gnu.org>
5237 Parallelize byte compilation on MS-Windows.
5238 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
5239 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
5240 (WINS_BASIC): Define as concatenation of the above.
5241 (compile): Subdivide into 4 separate and independent jobs that can
5243 (compile0-CMD, compile0-SH): New targets for compiling
5244 COMPILE_FIRST files, which are prerequisites for the rest of the
5246 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
5247 New targets for parallel compilation with cmd.exe.
5248 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
5249 compiling under a Unixy shell.
5251 2012-12-09 Chong Yidong <cyd@gnu.org>
5253 * simple.el (set-mark-default-inactive): Delete this
5254 accidentally-introduced option.
5255 (set-mark-command, exchange-point-and-mark): Remove calls.
5257 2012-12-09 Glenn Morris <rgm@gnu.org>
5259 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
5260 Respect a defcustom's :set function, if appropriate. (Bug#109)
5261 (eval-defun): Doc fix.
5263 2012-12-08 Juri Linkov <juri@jurta.org>
5265 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
5266 (Info-fontify-node, Info-bookmark-make-record): Remove the
5267 file extension from Info-current-file (Bug#13016).
5269 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5271 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
5272 point, still provide some default.
5273 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
5274 names, since we don't use it right now. Actually return the list.
5275 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
5277 2012-12-07 Chong Yidong <cyd@gnu.org>
5279 * novice.el (disabled-command-function): Remove a spurious help
5280 xref (Bug#13043). Suggested by Kelly Dean.
5282 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
5283 syntax is specified (Bug#13025).
5285 * info.el (Info-set-mode-line): Remove the file extension from
5286 Info-current-file if there is one (Bug#13016).
5288 2012-12-07 Glenn Morris <rgm@gnu.org>
5290 * mail/rmail.el (rmail-mime-decoded): New permanent local.
5291 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
5292 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
5293 and rmail-mime-decoded. (Bug#9841)
5295 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
5296 (batch-unrmail, unrmail): Doc fixes.
5297 (unrmail): Respect unrmail-mbox-format.
5298 * mail/rmail.el (rmail-mbox-format): New option.
5299 (rmail-show-message-1): Respect rmail-mbox-format.
5301 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5303 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
5305 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5307 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
5308 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
5309 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
5310 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
5311 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
5312 (cl-progv): Don't rely on dynamic scoping to find the body.
5313 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
5314 (cl--proclaims-deferred): Rename from the "cl-" prefix.
5315 (cl-declaim): Use backquotes.
5316 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
5317 Use "cl--" prefix for the object's tag.
5319 * ses.el: Use advice-add/remove.
5320 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
5321 (copy-region-as-kill, yank): Use advice-add.
5322 (ses-unload-function): Use advice-remove.
5324 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
5326 * button.el: Make them work in header-lines (bug#12817).
5327 (button-map): Add bindings for header-line and mode-line use.
5328 (button-get, button-put, button-label): `button' may now be a string.
5329 (button-activate): Don't make it a defsubst.
5330 (button--area-button-p, button--area-button-string): New functions.
5331 (make-text-button): Fix the return value when `beg' was a string.
5332 (push-button): Handle the mode-line case.
5334 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5336 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
5337 (sql-signum): Remove. Use `cl-signum' instead.
5338 (sql-read-passwd): Remove; use read-passwd instread.
5339 (sql-get-login-ext): Use read-string.
5340 (sql-get-login): Use dolist and pcase.
5341 (sql--completion-table): Rename from sql-try-completion.
5342 Use complete-with-action.
5343 (sql-mode): Don't change abbrev-all-caps globally.
5344 (sql-connect): Don't rely on dynamic scoping for `new-name'.
5345 (sql-postgres-completion-object): Initialize vars in their `let'.
5346 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
5347 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
5348 (sql-comint-interbase): Use a single append, without setq.
5349 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
5351 * hi-lock.el: Rework the default face and the serialize regexp code.
5352 (hi-lock--auto-select-face-defaults): Remove.
5353 (hi-lock-string-serialize-serial): Remove.
5354 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
5356 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
5358 (hi-lock-set-pattern): Adjust accordingly.
5359 (hi-lock--regexps-at-point): Simplify accordingly.
5360 (hi-lock--auto-select-face-defaults): Remove.
5361 (hi-lock--last-face): New var to replace it.
5362 (hi-lock-read-face-name): Rewrite (bug#11095).
5363 (hi-lock-unface-buffer): Arrange for the face to be the next default.
5365 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
5367 * net/tramp.el (tramp-replace-environment-variables):
5368 Hide compiler warning.
5369 (tramp-file-name-for-operation): Remove `executable-find',
5370 `start-process', `call-process' and `call-process-region'.
5372 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5374 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
5377 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
5379 2012-12-06 Chong Yidong <cyd@gnu.org>
5381 * ffap.el (ffap-replace-file-component): Fix typo.
5383 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5385 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
5386 fix open-paren-like token test (bug#12785).
5388 2012-12-06 Glenn Morris <rgm@gnu.org>
5390 * mail/rmailsum.el (rmail-new-summary): Tweak for
5391 rmail-maybe-display-summary changing buffer. (Bug#13066)
5393 2012-12-06 Juri Linkov <juri@jurta.org>
5395 * info.el (Info-fontify-node): Don't hide the last newline.
5398 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
5400 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
5401 so as to enable message-read-from-minibuffer to expand mail aliases.
5403 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5405 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
5406 the `intangible' property.
5407 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
5409 2012-12-05 Deniz Dogan <deniz@dogan.se>
5411 * net/rcirc.el (rcirc-urls): Update documentation.
5412 (rcirc-condition-filter): New function.
5413 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
5414 and exclude consecutive duplicate URLs (Bug#6082).
5416 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
5418 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5419 Check return code of copy command.
5421 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
5422 Use group `tramp'. Add version.
5424 2012-12-05 Chong Yidong <cyd@gnu.org>
5426 * ffap.el (ffap-url-regexp): Don't require matching at front of
5428 (ffap-url-p): If only a substring matches, return that.
5429 (ffap-url-at-point): Use the return value of ffap-url-p.
5430 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
5431 (find-file-at-point, dired-at-point, dired-at-point-prompter)
5432 (ffap-guess-file-name-at-point): Likewise.
5433 (ffap-replace-file-component): Fix typo.
5435 * info.el (info-display-manual): Add existing Info buffers, whose
5436 files may not be in Info-directory-list, to the completion.
5437 (info--manual-names): New helper function.
5439 2012-12-05 Glenn Morris <rgm@gnu.org>
5441 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
5442 New functions, for detecting and resolving conflicts. (Bug#10709)
5444 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
5446 * hi-lock.el (hi-lock-auto-select-face): New user variable.
5447 (hi-lock-auto-select-face-defaults): New buffer local variable.
5448 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
5449 (hi-lock-unface-buffer): Prompt user with useful defaults.
5450 With prefix arg, unhighlight all hi-lock patterns in buffer.
5452 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5454 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
5456 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
5458 * Makefile.in (TRAMP_SRC):
5459 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
5461 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
5463 * net/tramp-adb.el: New package.
5465 2012-12-04 Chong Yidong <cyd@gnu.org>
5467 * terminal.el: Move to obsolete/.
5469 * longlines.el: Move to obsolete/.
5471 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
5472 Remove code referring to longlines mode.
5474 2012-12-03 Juri Linkov <juri@jurta.org>
5476 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
5478 2012-12-03 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
5480 * textmodes/ispell.el (ispell-init-process)
5481 (ispell-start-process, ispell-internal-change-dictionary):
5482 Make sure personal dictionary name is expanded after initial
5483 `default-directory' value. Use expanded strings for
5484 keep/restart checks and for value (Bug#13019).
5486 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5488 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
5490 2012-12-03 Leo Liu <sdl.web@gmail.com>
5492 * files.el (dir-locals-read-from-file): Check file non-empty
5493 before reading. (Bug#13038)
5495 2012-12-03 Glenn Morris <rgm@gnu.org>
5497 * jka-cmpr-hook.el (jka-compr-get-compression-info):
5498 Remove any version extension before checking filename. (Bug#13006)
5499 (jka-compr-compression-info-list): Belated :version bump.
5501 2012-12-03 Chong Yidong <cyd@gnu.org>
5503 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
5505 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
5506 (buffer-menu): Doc fix (Bug#12294).
5508 2012-12-03 Roland Winkler <winkler@gnu.org>
5510 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
5511 of diary-show-all-entries in the diary buffer (Bug#12994).
5513 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
5515 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
5516 "<STDIN>". This is binary safe.
5518 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5520 * calc/calc-forms.el (math-absolute-from-iso-dt)
5521 (math-date-to-iso-dt, math-parse-iso-date-validate)
5522 (math-iso-dt-to-date): New functions.
5523 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
5524 (math-fd-isoweekday): New variables.
5525 (calc-date-notation, math-parse-standard-date, math-format-date)
5526 (math-format-date-part): Add support for more formatting codes.
5528 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
5530 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
5531 current buffer's file name when called interactively (Bug#12488).
5533 2012-12-02 Juri Linkov <juri@jurta.org>
5535 * info.el (info-display-manual): Don't clobber an existing Info
5536 buffer (Bug#10770). Add completion (Bug#10771).
5538 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
5540 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
5541 before using it for comparison (Bug#5297).
5543 2012-12-01 Jari Aalto <jari.aalto@cante.net>
5545 * textmodes/css-mode.el (css-current-defun-name): New function.
5548 * textmodes/sgml-mode.el (html-current-defun-name): New function.
5549 (html-mode): Use it.
5551 2012-12-01 Chong Yidong <cyd@gnu.org>
5553 Modularize add-log-current-defun (Bug#2224).
5554 Suggested by Jari Aalto.
5556 * vc/add-log.el (add-log-current-defun-function): Doc fix.
5557 (add-log-current-defun): Move mode-specific code to other files.
5558 (add-log-lisp-like-modes, add-log-c-like-modes)
5559 (add-log-tex-like-modes): Variables deleted.
5561 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
5562 (lisp-mode-variables): Use it.
5564 * progmodes/cc-mode.el (c-common-init):
5565 * progmodes/cperl-mode.el (cperl-mode): Set a value for
5566 add-log-current-defun-function.
5568 * progmodes/m4-mode.el (m4-current-defun-name): New function.
5571 * progmodes/perl-mode.el (perl-current-defun-name): New.
5572 (perl-mode): Use it.
5574 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
5575 Use lisp-current-defun-name.
5577 * textmodes/tex-mode.el (tex-current-defun-name): New.
5578 (tex-common-initialization): Use it.
5580 * textmodes/texinfo.el (texinfo-current-defun-name): New.
5581 (texinfo-mode): Use it.
5583 2012-12-01 Chong Yidong <cyd@gnu.org>
5585 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
5586 * progmodes/autoconf.el (autoconf-mode):
5587 * progmodes/js.el (js-mode):
5588 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
5589 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
5590 * progmodes/perl-mode.el (perl-mode):
5591 * progmodes/sh-script.el (sh-mode, sh-set-shell):
5592 * textmodes/css-mode.el (css-mode):
5593 * textmodes/sgml-mode.el (html-mode, sgml-mode)
5594 (sgml-tags-invisible, sgml-guess-indent):
5595 * textmodes/tex-mode.el (tex-common-initialization)
5596 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
5597 (doctex-mode, plain-tex-mode, latex-mode):
5598 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
5600 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
5602 * vc/vc-hg.el (vc-hg-next-revision):
5603 Ensure use of default "tip" output format. (Bug#6968)
5605 2012-12-01 Kim F. Storm <storm@cua.dk>
5607 * startup.el (fancy-startup-tail): Add a clickable link
5610 2012-12-01 Chong Yidong <cyd@gnu.org>
5612 * startup.el (fancy-startup-tail): Improve the message about
5613 auto-save files (Bug#2176).
5615 * files.el (recover-session): Improve the descriptive message, and
5616 use substitute-command-keys.
5618 2012-12-01 Glenn Morris <rgm@gnu.org>
5620 * ido.el (ido-file-internal):
5621 Handle other-window, other-frame for dired. (Bug#13036)
5623 2012-11-30 Glenn Morris <rgm@gnu.org>
5625 * icomplete.el (icomplete-separator): Fix :version.
5627 2012-11-30 Chong Yidong <cyd@gnu.org>
5629 * shell.el (shell): For C-u M-x shell, use an inactive shell
5630 buffer as the default (Bug#1975).
5631 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
5632 (shell-mode): Use them to reapply ansi colorization if Shell mode
5635 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
5637 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
5639 2012-11-30 Samuel Bronson <naesten@gmail.com>
5641 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
5642 flag to xargs, for compatibility with BSD xargs (Bug#11703).
5644 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5646 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
5647 by move-to-column (Bug#3234).
5649 2012-11-30 Chong Yidong <cyd@gnu.org>
5651 * longlines.el (longlines-wrap-line, longlines-encode-region):
5652 Preserve text properties (Bug#1425).
5654 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5656 * vc/vc.el (vc-register): Allow registering a file which is
5657 already registered with a different backend (Bug#10589).
5659 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
5660 Stefan Monnier <monnier@iro.umontreal.ca>
5662 * icomplete.el: Change separator; add ido-style commands.
5663 (icomplete-show-key-bindings): Remove custom var.
5664 (icomplete-get-keys): Remove function.
5665 (icomplete-forward-completions, icomplete-backward-completions):
5667 (icomplete-minibuffer-map): New var.
5668 (icomplete-minibuffer-setup): Use it.
5669 (icomplete-exhibit): Don't delay if the list of completions is known.
5670 (icomplete-separator): New custom.
5671 (icomplete-completions): Use it.
5672 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
5673 (minibuffer-force-complete-and-exit): New command.
5674 (minibuffer--complete-and-exit): New function extracted from
5675 minibuffer-complete-and-exit.
5676 (minibuffer-complete-and-exit): Use it.
5678 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
5679 error message when the file doesn't exist (bug#12974).
5681 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5683 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
5685 2012-11-29 Glenn Morris <rgm@gnu.org>
5687 * files.el (hack-dir-local-variables): Warn if try to set
5688 coding via dir-locals, since it doesn't work. (Bug#7169)
5690 Add desktop support for restoring vc-dir buffers. (Bug#10606)
5691 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
5692 Set buffer-local value of desktop-save-buffer.
5693 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
5695 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
5696 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
5698 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
5699 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
5701 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
5704 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
5706 * calc/calc-forms.el (calc-date-notation): Fix regexp
5707 used to find time codes. Fix symbol for seconds.
5709 2012-11-27 Glenn Morris <rgm@gnu.org>
5711 * emacs-lisp/derived.el (derived-mode-make-docstring):
5712 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
5714 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5716 * textmodes/table.el (table-insert): Don't use `symbol-name' on
5717 lexically scoped variables (bug#13005).
5719 2012-11-27 Glenn Morris <rgm@gnu.org>
5721 * vc/vc-hooks.el (vc-mistrust-permissions):
5722 Default to t, to avoid data-loss. (Bug#11490)
5724 2012-11-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5726 * progmodes/python.el (python-indent-guess-indent-offset):
5727 If indentation is guessed make python-indent-offset buffer-local.
5729 Fix Imenu regression.
5730 * progmodes/python.el (python-nav-beginning-of-defun):
5731 Fix forward movement when statement(s) separates point from defun.
5732 (python-imenu-prev-index-position): New function.
5734 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5736 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
5738 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
5739 Don't set buffer-file-type. Return nil. (Bug#12989)
5741 2012-11-27 Glenn Morris <rgm@gnu.org>
5743 * hippie-exp.el (hippie-expand-try-functions-list):
5744 Re-autoload it. (Bug#12982)
5746 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5748 * descr-text.el (describe-char-padded-string):
5749 Call internal-char-font only on GUI frames. (Bug#11964)
5751 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
5753 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
5754 and obsoletion message.
5756 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5758 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
5759 the constructs to keep outside of the `cl-block' (bug#12977).
5761 2012-11-27 Chong Yidong <cyd@gnu.org>
5763 * mouse.el (mouse-drag-line): Even if the line is not draggable,
5764 keep reading until we get the up-event anyway, in order to process
5765 the up-event for mouse-1-click-follows-link (Bug#12971).
5767 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
5769 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
5770 base function is not yet defined (bug#12965).
5771 (ad-activate-advised-definition): Use ad-compile-function.
5772 (ad-activate): Use cond.
5774 2012-11-25 Leo Liu <sdl.web@gmail.com>
5776 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
5779 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5781 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
5782 reftex-section-info-function in order to be compatible with
5783 Texinfo integration.
5785 * textmodes/reftex.el (reftex-section-pre-regexp)
5786 (reftex-section-post-regexp, reftex-section-info-function):
5788 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
5789 reftex-section-post-regexp, and reftex-section-info-function in order
5790 to be compatible with Texinfo integration.
5792 * textmodes/reftex-toc.el (reftex-toc-promote-action):
5793 use reftex-section-pre-regexp variable in order to be compatible with
5794 Texinfo integration.
5796 2012-11-25 Chong Yidong <cyd@gnu.org>
5798 * faces.el: Make face-spec-set more analogous to setq.
5799 (face-spec-set): Change the third arg to specify whether this
5800 function is being called via defface, customize, or a third party.
5801 Set the appropriate symbol properties. Clear the override spec if
5802 setting via Custom. Initialize face if necessary. (Bug#4988)
5803 (face-spec-recalc): Allow theme faces to completely replace the
5804 defface spec, in the same way as custom faces (Bug#8454).
5806 * cus-face.el (custom-declare-face): Move face initialization to
5808 (custom-theme-set-faces): Don't initialize the face name here, as
5809 that is now done in face-spec-set.
5811 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
5812 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
5813 Simplify by using the new arg to face-spec-set.
5815 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
5816 reset face-override-spec too, and use custom-declare-face.
5818 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
5820 * term/ns-win.el (ns-initialize-window-system): Move creation of
5821 fontsets here (Bug#11964).
5823 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5825 * ses.el (ses-rename-cell): Correct bug on mode-line update after
5828 2012-11-24 Chong Yidong <cyd@gnu.org>
5830 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
5833 * custom.el (custom-theme-set-variables): Use a topological sort
5834 for ordering by custom dependencies (Bug#12952).
5835 (custom--sort-vars, custom--sort-vars-1): New functions.
5837 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
5839 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
5840 lexical-binding (bug#12938).
5842 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
5844 * image-mode.el (image-transform-check-size): Use assertions only
5845 for images of type imagemagick.
5847 Otherwise no error, image-transform-fit-to-{width,height} is
5848 silently ignored, as before. Doc fix.
5850 2012-11-24 Chong Yidong <cyd@gnu.org>
5852 * faces.el (color-defined-p): Doc fix (Bug#12853).
5854 2012-11-24 Juri Linkov <juri@jurta.org>
5856 * dired.el (dired-mark): Add optional arg `interactive'.
5857 Check for `use-region-p' if `interactive' is non-nil.
5858 (dired-unmark, dired-flag-file-deletion): Add optional arg
5859 `interactive'. Call `dired-mark' with the arg `interactive'.
5862 * wdired.el: Revert 2012-10-17 change partly and replace it with
5863 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
5864 (wdired-finish-edit): Add marks for new file names to
5865 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
5866 after `revert-buffer'.
5867 (wdired-do-renames): Remove calls to `dired-remove-file',
5868 `dired-add-file', `dired-add-entry'. (Bug#11795)
5870 2012-11-24 Alan Mackenzie <acm@muc.de>
5872 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
5874 Fix bugs in the state cache. Enhance a debugging mechanism.
5875 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
5876 "brace at column zero" strategy for C++.
5877 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
5878 (c-parse-state-point): New variable.
5879 (c-record-parse-state-state): Record old parse state with
5880 `copy-tree'. Record previous value of point.
5881 (c-debug-parse-state-double-cons): New debugging function.
5882 (c-debug-parse-state): Call the above new function.
5883 (c-toggle-parse-state-debug): Output a confirmatory message.
5885 * progmodes/cc-mode.el (c-before-change, c-after-change):
5886 Call c-invalidate-state-cache from `c-before-change' instead of
5889 2012-11-23 Chong Yidong <cyd@gnu.org>
5891 * find-cmd.el (find-constituents): Add executable, ipath,
5892 readable, samefile, writable, daystart, regextype (Bug#12856).
5894 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
5896 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
5898 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
5900 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
5901 definition. This fixes a bootstrap failure.
5902 (calc-gregorian-switch): In menu, put dates before regions.
5903 This is easier to follow, lines up better in the menu, and lets us
5904 coalesce regions that switch at the same time. Give country
5905 names, not "Vatican", as that's better for non-expert users.
5906 Use names that are stable between the date of switch and now, e.g.,
5907 Bohemia and Moravia (which existed then and now) and not
5908 Czechoslovakia (which didn't exist then and doesn't exist now).
5909 What is now the U.S. mostly did not switch at the same time as
5910 Britain, so omit the U.S. Correct spelling of "Britain".
5911 Catholic Switzerland was too much of a mess, so omit it.
5913 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
5915 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
5916 after the variable is changed.
5918 2012-11-21 Daniel Colascione <dancol@dancol.org>
5920 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
5921 in SQL declarations for font-lock.
5922 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
5924 2012-11-21 Glenn Morris <rgm@gnu.org>
5926 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
5927 (face-italic-p): Add optional argument "inherit".
5929 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
5930 Remove -p suffix from names, for consistency with other set-face-*.
5931 (set-face-inverse-video): Fix interactive spec.
5932 * play/gamegrid.el (gamegrid-make-mono-tty-face):
5933 * textmodes/table.el (table--update-cell-face):
5934 Use set-face-inverse-video rather than now obsolete alias.
5936 2012-11-21 Eli Zaretskii <eliz@gnu.org>
5938 * simple.el (line-move): Don't call line-move-partial if
5939 scroll-conservatively is in effect. (Bug#12927)
5941 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5943 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
5944 Fallback on completion-at-point rather than
5945 pcomplete-expand-and-complete, and only if pcomplete actually failed.
5946 (eshell-cmpl-initialize): Setup completion-at-point.
5948 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
5950 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
5952 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
5954 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
5955 are remote, check out-of-band property for both.
5957 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5959 * window.el (switch-to-buffer): Re-add the warning that was lost in the
5962 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
5964 More minor time fixes.
5965 * calendar/time-date.el: Commentary fix.
5966 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
5967 too much other code depends on (0 0) time stamps.
5968 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
5969 Add a couple of FIXME comments.
5971 Minor cleanup for times as lists of four integers.
5972 * files.el (dir-locals-directory-cache):
5973 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
5975 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
5976 * ps-bdf.el (bdf-file-newer-than-time):
5977 Process four-integers time stamps, not two. Doc fixes.
5979 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5981 * uniquify.el (uniquify-managed): Use defvar-local.
5982 (rename-buffer, create-file-buffer): Advise with advice-add.
5983 (uniquify-unload-function): Unadvise accordingly.
5985 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
5986 (trace-buffer): Don't purecopy.
5987 (trace-entry-message, trace-exit-message): Add `context' arg.
5988 (trace--timer): New var.
5989 (trace-make-advice): Adjust for use in nadvice.
5990 Add `context' argument. Delay `display-buffer' via a timer.
5991 (trace-function-internal): Use advice-add.
5992 (trace--read-args): New function.
5993 (trace-function-foreground, trace-function-background): Use it.
5994 (trace-function): Rename to trace-function-foreground and redefine as
5995 an alias to that new name.
5996 (untrace-function, untrace-all): Adjust to the use of nadvice.
5998 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
6000 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
6002 * subr.el (called-interactively-p-functions): New var.
6003 (internal--called-interactively-p--get-frame): New macro.
6004 (called-interactively-p, interactive-p): Rewrite in Lisp.
6005 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
6006 (called-interactively-p-functions): Use it.
6007 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
6008 (called-interactively-p-functions): Use it.
6009 * allout.el (allout-called-interactively-p): Don't assume
6010 called-interactively-p is a subr.
6012 2012-11-20 Glenn Morris <rgm@gnu.org>
6014 * profiler.el (profiler-report-mode-map): Add a menu.
6015 No need to bind `q' because we derive from special-mode.
6016 (profiler-report-find-entry): Handle calls from the menu-bar.
6018 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
6020 * emacs-lisp/byte-run.el (defun-declarations-alist):
6021 Allow a compiler-macro to be a lambda expression.
6023 * progmodes/python.el: Use cl-lib. Move var declarations outside of
6025 (python-syntax-context): Add compiler-macro.
6026 (python-font-lock-keywords): Simplify with De Morgan.
6028 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
6030 * files.el (load-file): Require match in minibuffer selection, as was
6031 the case in Emacs-20 before we changed the spec to allow .elc files
6034 * json.el: Don't require cl since we don't use it.
6035 * color.el: Don't require cl.
6036 (color-complement): `caddr' -> `nth 2'.
6038 * calendar/time-date.el (time-to-seconds): De-obsolete.
6040 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
6042 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
6044 (math-date-to-julian-dt): Adjust the initial approximation for the
6045 year to deal with the new definition of the DATE.
6047 2012-11-19 Daniel Colascione <dancol@dancol.org>
6049 * term/w32-win.el (cygwin-convert-path-from-windows):
6050 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6052 2012-11-18 Chong Yidong <cyd@gnu.org>
6054 * filecache.el (file-cache--read-list): New function.
6055 (file-cache-add-directory-list, file-cache-add-file-list)
6056 (file-cache-delete-file-list, file-cache-delete-directory-list):
6057 Use it to read a list of files or directories (Bug#12846).
6058 (file-cache-add-file, file-cache-add-directory)
6059 (file-cache-delete-file-list, file-cache-delete-file-regexp)
6060 (file-cache-delete-directory): Print an message.
6062 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
6064 * calc/calc-forms.el (math-date-to-dt): Use integer date when
6065 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
6067 2012-11-18 Glenn Morris <rgm@gnu.org>
6069 * image.el (insert-image, insert-sliced-image): Doc fix.
6071 2012-11-18 Chong Yidong <cyd@gnu.org>
6073 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
6076 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6078 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
6079 response when the target file is in a subdirectory (Bug#12757).
6081 2012-11-18 Chong Yidong <cyd@gnu.org>
6083 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
6085 2012-11-18 Glenn Morris <rgm@gnu.org>
6087 * emacs-lisp/cl-lib.el (face-underline-p):
6088 Use set-face-underline rather than the alias set-face-underline-p.
6090 * window.el (with-temp-buffer-window): Doc fix.
6091 * subr.el (with-output-to-temp-buffer):
6092 Add doc xref to with-temp-buffer-window.
6094 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
6096 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
6097 * calc/calc.el (math-format-date-cache): Declare.
6099 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
6101 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
6102 It also uses January 1, 1 AD as its day number 1.
6103 * calc/calc-forms.el (math-julian-date-beginning)
6104 (math-julian-date-beginning-int): Implement this.
6106 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
6108 * descr-text.el (quail-find-key):
6109 * dired.el (desktop-file-name):
6110 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
6111 * generic-x.el (comint-mode, comint-exec):
6112 * image-dired.el (widget-forward):
6113 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
6114 (speedbar-change-expand-button-char)
6115 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
6116 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
6117 * printing.el (easy-menu-add-item, easy-menu-remove-item)
6118 (widget-field-action, widget-value-set):
6119 * speedbar.el (imenu--make-index-alist):
6120 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
6121 (ring-length, ring-insert):
6122 * vcursor.el (compare-windows-skip-whitespace):
6123 * woman.el (dired-get-filename):
6126 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
6128 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6130 * calc/calc.el (calc-gregorian-switch): New variable.
6132 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
6133 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
6134 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
6135 (math-leap-year-p): Add option to distinguish between Julian
6136 and Gregorian calendars.
6137 (math-day-number): Use `math-day-in-year' to do the computations.
6138 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
6139 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
6140 to do the computations.
6141 (math-date-to-dt): Use `math-date-to-julian-dt' and
6142 `math-date-to-gregorian-dt' to do the computations.
6143 (calcFunc-weekday, math-format-date-part): Use the new version of
6144 the DATE to determine the weekday.
6145 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
6148 2012-11-17 Eli Zaretskii <eliz@gnu.org>
6150 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
6151 Cygwin; otherwise use 'file:'. (Bug#12914)
6152 (cygwin-convert-path-from-windows): Declare, to avoid
6153 byte-compiler warnings.
6155 2012-11-17 Andreas Politz <politza@fh-trier.de>
6157 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
6158 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
6159 prefix and negative numeric prefix args (Bug#12795).
6161 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
6163 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
6164 Don't signal an error with a score that is too low to add to the
6165 list of top scores. (Bug#12779)
6167 2012-11-17 Chong Yidong <cyd@gnu.org>
6169 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
6171 * filecache.el (file-cache-add-file): Handle relative file name in
6172 the argument (Bug#12694).
6174 2012-11-16 JĂ¼rgen Hötzel <juergen@archlinux.org> (tiny change)
6176 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
6178 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6180 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
6182 * emacs-lisp/cl-lib.el: Set more meaningful version number.
6184 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6186 * window.el (enlarge-window, shrink-window): Don't mention return
6187 value in doc-string (Bug#12896).
6188 (window--display-buffer): Don't resize frames - it won't work
6189 with all window managers and defeat pop-up-frame-alist.
6190 (display-buffer-alist): In doc-string explain that CONDITION can
6191 be a function and which arguments are passed to it (Bug#12854).
6192 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
6193 expressions (Bug#12854).
6194 (display-buffer): Pass ACTION argument to
6195 display-buffer-assq-regexp.
6197 2012-11-16 Glenn Morris <rgm@gnu.org>
6199 * window.el (fit-frame-to-buffer-bottom-margin)
6200 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
6202 * faces.el (face-underline-p): Use face-attribute-specified-or.
6204 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
6206 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
6208 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6210 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
6212 2012-11-16 Glenn Morris <rgm@gnu.org>
6214 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
6215 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
6217 * faces.el (face-underline-p): Doc fix. Handle :underline being
6218 things other than `t' (a string, a list).
6219 (face-inverse-video-p): Doc fix.
6220 (set-face-underline): Rename it back from set-face-underline-p.
6221 Doc fix. Allow interactive input of values other than t.
6222 (read-face-attribute): Apply formatting to :underline,
6223 since like :box and :stipple it can take list values.
6225 * term.el (ansi-term): Don't let C-x escape-char binding
6226 clobber the more standard C-c binding. (Bug#12842)
6228 * subr.el (set-temporary-overlay-map): Doc fix.
6230 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6232 * window.el (record-window-buffer)
6233 (display-buffer-record-window): When copying the markers to
6234 window-point preserve window-point-insertion-type. (Bug#12588)
6236 2012-11-16 Glenn Morris <rgm@gnu.org>
6238 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
6239 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
6240 Use new names for hooks rather than obsolete aliases.
6242 2012-11-15 Daniel Colascione <dancol@dancol.org>
6244 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
6245 prefix instead of "file:" so that when FILE-NAME begins with "//",
6246 as it does when the target file is on a network share, url-handler
6249 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6251 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
6252 a preactivated advice from an old advice.el; they're not compatible!
6254 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
6256 * emacs-lisp/nadvice.el (advice--make-interactive-form):
6257 Fix string-spec case.
6259 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
6261 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6263 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
6264 (advice--buffer-local-function-sample): New var.
6265 (advice--set-buffer-local, advice--buffer-local): New functions.
6266 (add-function, remove-function): Use them.
6268 2012-11-15 Drew Adams <drew.adams@oracle.com>
6270 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
6272 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6274 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
6275 potential binding of print-gensym to t, and prettify (back)quotes in
6276 case they appear in args's default values (bug#12884).
6278 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6280 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
6281 (advice-eval-interactive-spec): New function.
6282 (advice--make-interactive-form): Support around advice (bug#12844).
6284 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
6286 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
6287 more strict. Add docstring.
6288 (ruby-expression-expansion-re): Extract from
6289 `ruby-match-expression-expansion'.
6290 (ruby-syntax-propertize-function): After everything else, search
6291 for expansions in string literals, mark their insides as
6292 whitespace syntax and save match data for font-lock.
6293 (ruby-font-lock-keywords): Use the 2nd group from expression
6295 (ruby-match-expression-expansion): Use the match data saved to the
6296 text property in ruby-syntax-propertize-function.
6298 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6300 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
6303 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6305 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
6306 start/end keyword a bit harder. Works with different values of N.
6308 (ruby-end-of-block): Update accordingly.
6310 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6312 * woman.el (woman-file-name): Don't mess with unread-command-events
6315 * emacs-lisp/advice.el: Layer on top of nadvice.el.
6316 Remove out of date self-require hack.
6317 (ad-do-advised-functions): Use simple `dolist'.
6318 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
6319 (ad-advice-definition): Redefine as functions.
6320 (ad-advice-classes): Move before first use.
6321 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
6322 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
6323 (ad--defalias-fset): Remove functions.
6324 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
6325 (ad-get-orig-definition): Rewrite.
6326 (ad-make-advised-definition-docstring): Change base docstring.
6327 (ad-real-orig-definition): Rewrite.
6328 (ad-map-arglists): Change name of called function.
6329 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
6330 (ad-make-advised-definition): Simplify.
6331 (ad-assemble-advised-definition): Tweak for new calling context.
6332 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
6333 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
6334 function and call ad-activate if needed.
6335 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
6336 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
6337 (ad-compile-function): Compile ad-Advice-*.
6338 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
6339 (ad-start-advice, ad-stop-advice): Remove.
6341 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6343 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
6344 period before class method names, not after. Remove handling of
6345 one impossible case. Add comments.
6347 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6349 * emacs-lisp/advice.el: Remove support for freezing.
6350 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
6351 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
6352 Remove support for `freeze'.
6354 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
6355 override the default.
6356 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
6358 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
6361 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
6363 (advice--strip-macro): New function.
6364 (advice--defalias-fset): Use them to handle macros.
6365 (advice-add): Use them.
6366 (advice-member-p): Correctly handle macros.
6368 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6370 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6371 Never font-lock the beginning of singleton class as heredoc.
6373 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6375 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
6377 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
6379 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
6380 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
6381 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
6383 2012-11-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6385 Fix end-of-defun misbehavior.
6386 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
6387 python-beginning-of-defun-function. Handle nested defuns
6389 (python-nav-end-of-defun): Rename from
6390 python-end-of-defun-function. Ensure forward movement.
6391 (python-info-current-defun): Reimplement to work as intended
6392 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
6393 parent defuns as soon as possible.
6395 2012-11-13 Glenn Morris <rgm@gnu.org>
6397 * progmodes/flymake.el (flymake-error-bitmap)
6398 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
6399 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
6401 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6403 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
6404 backward, always stop at indentation. Reverts the change from
6405 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
6407 2012-11-13 Glenn Morris <rgm@gnu.org>
6409 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
6410 Add ibuffer-filter-by-derived-mode.
6412 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
6413 the same name shadowing each other.
6415 * window.el (with-temp-buffer-window): Doc tweak.
6417 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
6419 * help.el (temp-buffer-max-height):
6420 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
6421 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
6423 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
6425 * emacs-lisp/nadvice.el: New package.
6426 * subr.el (special-form-p): New function.
6427 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
6428 (elp-all-instrumented-list): Remove var.
6429 (elp-not-profilable): Remove elp-wrapper.
6430 (elp-profilable-p): Use autoloadp and special-form-p.
6431 (elp--advice-name): New const.
6432 (elp-instrument-function): Use advice-add.
6433 (elp--instrumented-p): New predicate.
6434 (elp-restore-function): Use advice-remove.
6435 (elp-restore-all, elp-reset-all): Use mapatoms.
6436 (elp-set-master): Use elp--instrumented-p.
6437 (elp--make-wrapper): Rename from elp-wrapper, return a function
6438 suitable for advice-add. Use cl-inf.
6439 (elp-results): Use mapatoms+elp--instrumented-p.
6440 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
6441 (debug-function-list): Remove var.
6442 (debug): Rename arg, and then let-bind it explicitly inside.
6443 (debugger-setup-buffer): Rename arg.
6444 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
6445 (debugger-frame-number): Adjust to new debug-on-entry setup.
6446 (debug--implement-debug-on-entry): Rename from
6447 implement-debug-on-entry, add argument.
6448 (debugger-special-form-p): Remove, use special-form-p instead.
6449 (debug-on-entry): Use advice-add.
6450 (debug--function-list): New function.
6451 (cancel-debug-on-entry): Use it, along with advice-remove.
6452 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
6453 (debugger-list-functions): Use debug--function-list instead of
6454 debug-function-list.
6455 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
6456 (ad-special-form-p): Remove, use special-form-p instead.
6457 (ad-set-advice-info): Use add-function and remove-function.
6458 (ad--defalias-fset): Adjust accordingly.
6460 2012-11-10 Glenn Morris <rgm@gnu.org>
6462 * mail/emacsbug.el (report-emacs-bug-tracker-url)
6463 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
6464 (report-emacs-bug-create-existing-bugs-buffer)
6465 (report-emacs-bug-parse-query-results)
6466 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
6468 * term.el (term-default-fg-color, term-default-bg-color):
6469 Make obsolete, rather than just saying "deprecated" in the doc.
6471 * term.el (term): Rename from `term-face'.
6472 (term-current-face, ansi-term-color-vector)
6473 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
6476 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
6478 * server.el (server-create-window-system-frame): Handle Nextstep
6479 specially (Bug#12780).
6481 2012-11-10 Glenn Morris <rgm@gnu.org>
6483 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
6484 Unautoload, and make obsolete. (Bug#7449)
6486 2012-11-10 Chong Yidong <cyd@gnu.org>
6488 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
6489 rename from diff-remove-trailing-whitespace (Bug#12831).
6491 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6493 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
6494 miscompilation of trace.el.
6496 2012-11-10 Glenn Morris <rgm@gnu.org>
6498 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
6500 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6502 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
6505 2012-11-10 Chong Yidong <cyd@gnu.org>
6507 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
6508 a defcustom with an appropriate :set function.
6509 (minibuffer-default--in-prompt-regexps): New function.
6511 2012-11-10 Glenn Morris <rgm@gnu.org>
6513 * emacs-lisp/cl.el (define-setf-expander, defsetf)
6514 (define-modify-macro): Doc fixes.
6516 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
6517 (gv-define-simple-setter): Update doc of `fix-return'.
6519 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6521 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
6522 twice when `fix-return' is set (bug#12813).
6524 * emacs-lisp/cl.el (defsetf): Pass the third arg to
6525 gv-define-simple-setter (bug#12812).
6527 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
6530 2012-11-10 Glenn Morris <rgm@gnu.org>
6532 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
6534 * emacs-lisp/cl-extra.el (cl-prettyexpand):
6535 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
6536 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
6537 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
6539 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
6541 2012-11-10 Leo Liu <sdl.web@gmail.com>
6543 * ido.el (ido-set-matches-1): Improve flex matching performance by
6544 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
6546 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6548 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
6549 (ad--defalias-fset): New function.
6550 (ad-safe-fset): Remove.
6551 (ad-make-freeze-definition): Use cl-letf*.
6553 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6555 * subr.el (dolist): Don't bind VAR in RESULT.
6557 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
6558 (fset, documentation): Don't save real def since we don't advise.
6559 (ad-do-advised-functions): Remove problematic `result-form'.
6560 (ad-safe-fset): `ad-real-fset' => `fset'.
6561 (ad-read-advised-function): Don't assume that ad-do-advised-functions
6562 uses CL's dolist internally.
6563 (ad-arglist): Remove unused arg `name'.
6564 (ad-docstring, ad-make-advised-docstring):
6565 `ad-real-documentation' => `documentation'.
6566 (warning-suppress-types): Declare.
6567 (ad-set-arguments): Simple CSE.
6568 (ad-recover-normality): Sanity check.
6570 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
6571 (funcall '(lambda ..) ..) into ((lambda ..) ..).
6573 2012-11-09 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6575 * ses.el: symbol to coordinate mapping is made by symbol property
6576 `ses-cell'. This means that the same mapping is done for all SES
6577 sheets. That is good enough for cells with standard A1 names, but
6578 not for named cell. So a hash map is added for the latter.
6579 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
6580 (ses-sym-rowcol): Use hashmap for named cell.
6581 (ses-is-cell-sym-p): New defun.
6582 (ses-decode-cell-symbol): New defun.
6583 (ses-create-cell-variable): Add cell to hashmap when name is not
6585 (ses-rename-cell): Check that cell new name is not already in
6586 spreadsheet with the use of ses-is-cell-sym-p
6587 (ses-rename-cell): Use hash map for named cells, but accept also
6588 renaming back to A1-like.
6590 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6592 * emacs-lisp/advice.el: Use new dynamic docstrings.
6593 (ad-make-advised-definition-docstring, ad-advised-definition-p):
6594 Use dynamic-docstring-function instead of ad-advice-info.
6595 (ad--make-advised-docstring): New function extracted from
6596 ad-make-advised-docstring.
6597 (ad-make-advised-docstring): Use it.
6598 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
6600 (sql-help): Use it with dynamic-docstring-function.
6602 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
6604 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6606 * files.el (hack-one-local-variable--obsolete): New function.
6607 (hack-one-local-variable): Use it for obsolete settings.
6609 * subr.el (locate-user-emacs-file): If both old and new name exist, use
6612 * progmodes/js.el (js--filling-paragraph): New var.
6613 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
6614 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
6617 2012-11-08 Julien Danjou <julien@danjou.info>
6619 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
6620 `auto-mode-alist' (Bug#12835).
6622 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6624 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
6625 (perl--prettify-symbols-alist): New const.
6626 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
6628 (perl-font-lock-keywords-2): Use them.
6629 (perl-electric-noindent-p): New function.
6630 (perl-mode): Use it to set up electric-indent-mode.
6631 (perl-electric-terminator, perl-indent-command): Mark obsolete.
6632 (perl-mode-map): Remove bindings for them.
6633 (perl-imenu-generic-expression, perl-outline-level):
6634 Match functions&packages in column>0.
6636 * env.el (env--substitute-vars-regexp): New const.
6637 (substitute-env-vars): Use it. Add `only-defined' arg.
6638 * net/tramp.el (tramp-replace-environment-variables): Use it.
6640 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
6641 Byte-compile *before* eval in eval-and-compile.
6642 (byte-compile-log-warning): Remove redundant inhibit-read-only.
6643 (byte-compile-file-form-autoload): Don't hide actual definition.
6644 (byte-compile-maybe-guarded): Accept `functionp' as well.
6646 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
6648 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
6650 * notifications.el (notifications-get-server-information-method):
6652 (notifications-get-capabilities): Fix docstring.
6653 (notifications-get-server-information): New defun.
6655 2012-11-06 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
6657 * textmodes/ispell.el (ispell-region): Standard re-indent for better
6660 * textmodes/ispell.el: Experimental support for support debugging.
6661 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
6663 (ispell-print-if-debug): New function to print stuff to
6664 `ispell-debug-buffer' if debugging is enabled.
6665 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
6666 show some debugging info.
6667 (ispell-buffer-with-debug): New function that creates a debugging
6668 buffer and calls `ispell-buffer' with debugging enabled.
6670 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
6671 comment in autoconf mode. (Bug#12768)
6673 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
6675 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
6676 frame-first-window, frame-root-window, frame-selected-window,
6677 minibuffer-selected-window, minibuffer-window,
6678 window-absolute-pixel-edges, window-at, window-body-height,
6679 window-body-width, window-display-table, window-combination-limit,
6680 window-frame, window-fringes, window-inside-absolute-pixel-edges,
6681 window-inside-edges, window-inside-pixel-edges, window-left-child,
6682 window-left-column, window-margins, window-next-buffers,
6683 window-next-sibling, window-new-normal, window-new-total,
6684 window-normal-size, window-parameter, window-parameters, window-parent,
6685 window-pixel-edges, window-point, window-prev-buffers,
6686 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
6687 window-start, window-text-height, window-top-child, window-top-line,
6688 window-total-height, window-total-width and window-use-time to the list
6689 of functions without side-effects.
6690 (toplevel): Add window-valid-p to the list of error-free functions
6691 without side-effects.
6693 2012-11-05 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
6695 * textmodes/ispell.el (ispell-program-name):
6696 Update spellchecker parameters when customized.
6698 2012-11-04 Glenn Morris <rgm@gnu.org>
6700 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
6702 2012-11-04 Chong Yidong <cyd@gnu.org>
6704 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
6705 same-window-* variables.
6707 2012-11-04 Juri Linkov <juri@jurta.org>
6709 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
6710 (isearch-describe-key, isearch-describe-mode): Use a display
6711 action instead of binding same-window-* variables (Bug#10040).
6713 2012-11-03 Glenn Morris <rgm@gnu.org>
6715 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
6716 Rename handler properties back from cl-- to cl-. (Bug#12788)
6718 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
6720 2012-11-03 Eli Zaretskii <eliz@gnu.org>
6722 * term/pc-win.el: Don't load term/internal from here.
6724 * loadup.el: Load term/internal from here.
6726 2012-11-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6728 * progmodes/python.el (inferior-python-mode): Fix hang in
6729 jit-lock (Bug#12645).
6731 2012-11-03 Martin Rudalics <rudalics@gmx.at>
6733 * window.el (switch-to-visible-buffer)
6734 (switch-to-buffer-preserve-window-point): Fix doc-strings.
6736 2012-11-03 Glenn Morris <rgm@gnu.org>
6738 * emacs-lisp/cl-lib.el (cl--random-time):
6739 Rename from cl-random-time. (Bug#12773)
6740 (cl--gensym-counter, cl--random-state): Update callers.
6741 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
6743 2012-11-03 Chong Yidong <cyd@gnu.org>
6745 * cus-start.el: Make cursor-type customizable (Bug#11633).
6747 2012-11-02 Glenn Morris <rgm@gnu.org>
6749 * filecache.el: No need to load find-lisp when compiling.
6750 (find-lisp-find-files): Autoload it.
6751 (file-cache-add-directory-recursively): Don't require find-lisp.
6753 * image.el (image-type-from-file-name): Trivial simplification.
6755 * emacs-lisp/bytecomp.el (byte-compile-eval):
6756 Decouple "noruntime" and "cl-functions" warnings.
6758 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
6760 * play/gomoku.el (gomoku-display-statistics): Update mode line
6761 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
6763 2012-10-31 Martin Rudalics <rudalics@gmx.at>
6765 * window.el (quit-restore-window): If the window has been
6766 created on an existing frame and ended up as the sole window on
6767 that frame, do not delete it (Bug#12764).
6769 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
6771 * progmodes/sh-script.el (sh--inside-noncommand-expression):
6772 Rename from sh--inside-arithmetic-expression, handle more cases
6775 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
6776 (sh-font-lock-open-heredoc): Use it (bug#12770).
6778 2012-10-30 Glenn Morris <rgm@gnu.org>
6780 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
6782 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
6784 2012-10-29 Chong Yidong <cyd@gnu.org>
6786 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
6787 function key is stored in a keyboard macro (Bug#4894).
6789 * thingatpt.el (number-at-point): Apply a thing-at-point property.
6791 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6793 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
6795 (diff-unified->context, diff-context->unified)
6796 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
6798 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
6800 * files.el (find-alternate-file): Only ask one question (bug#12487).
6802 2012-10-29 Chong Yidong <cyd@gnu.org>
6804 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
6805 Suggested by Dan Nicolaescu (Bug#6326).
6807 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
6809 * startup.el (fancy-about-screen): Don't message (Bug#12680).
6811 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
6813 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
6815 * face-remap.el (face-remap-add-relative): Handle the case where a
6816 face-remapping-alist entry is a cons cell (Bug#12762).
6818 2012-10-29 Kevin Ryde <user42@zip.com.au>
6820 * woman.el (woman-parse-numeric-value): Handle picas correctly
6823 2012-10-29 Glenn Morris <rgm@gnu.org>
6825 * emacs-lisp/cl.el (defsetf): Doc fix.
6827 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6829 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
6830 syntax to the matching opener, if any (bug#12547).
6831 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
6832 matching open as a "case-(".
6833 (sh-smie-rc-grammar): Add a corresponding rule for it.
6835 2012-10-28 Daniel Hackney <dan@haxney.org>
6837 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
6838 "PKGNAME-autoloads.el" in case we created it.
6840 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6842 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
6843 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
6844 (completion--twq-all): Disable too-strict assertions.
6846 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
6848 2012-10-27 Eli Zaretskii <eliz@gnu.org>
6850 * profiler.el (profiler-report-make-entry-part): Fix help-echo
6851 text to match the real keybindings.
6853 2012-10-27 Juri Linkov <juri@jurta.org>
6855 * wdired.el (wdired-keep-marker-rename): New defcustom.
6856 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
6859 * dired.el (dired-keep-marker-rename): Add reference to
6860 `wdired-keep-marker-rename' in the docstring.
6861 Add default character value ?R to display initially in
6862 Customization UI instead of ?@.
6864 2012-10-27 Martin Rudalics <rudalics@gmx.at>
6866 * window.el (display-buffer): In doc-string describe
6867 window-height and window-width alist entries.
6869 * time.el (display-time-world): Restore fit-window-to-buffer
6872 2012-10-27 Chong Yidong <cyd@gnu.org>
6874 * subr.el (insert-buffer-substring-as-yank): Doc fix.
6876 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
6878 * minibuffer.el (completion-category-overrides): New completion
6879 category `bookmark' (bug#11131).
6881 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6883 * emacs-lisp/advice.el (ad-assemble-advised-definition):
6884 Silence bogus compiler warnings for ad-do-it.
6886 * bookmark.el (bookmark-completing-read): Set the completion category
6887 to `bookmark' (bug#11131).
6889 2012-10-26 Bastien <bzg@altern.org>
6890 Stefan Monnier <monnier@iro.umontreal.ca>
6892 * face-remap.el: Use lexical-binding.
6893 (text-scale-adjust): Improve docstring. Use itself for the temporary
6894 overlay-map bindings, so as to repeat the "Use..." message each time.
6896 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6898 * emacs-lisp/macroexp.el (macroexp--expand-all):
6899 Obey byte-compile-warning-enabled-p (bug#12486).
6901 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
6902 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
6904 2012-10-26 Martin Rudalics <rudalics@gmx.at>
6906 * mouse.el (mouse-drag-line): Move last form into preceding when
6909 * help.el (resize-temp-buffer-window): Fix doc-string.
6911 2012-10-25 David Engster <deng@randomsample.de>
6913 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
6914 Remove. This feature is already integrated in imenu.
6916 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
6917 always loaded. Require `speedbar' unconditionally.
6919 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6921 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
6923 * minibuffer.el (minibuffer-force-complete): Fix thinko.
6925 * net/ldap.el (ldap-search-internal): The official ldif format starts
6926 with a "version: 1" header (bug#12724).
6928 * emacs-lisp/package.el (package-installed-p): Warn if not ready
6931 2012-10-25 Glenn Morris <rgm@gnu.org>
6933 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
6935 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6937 * minibuffer.el (minibuffer-force-complete): Use one more marker
6938 for the temporary-overlay-map command (bug#12619).
6940 2012-10-24 Chong Yidong <cyd@gnu.org>
6942 * time.el (display-time-world-mode): Derive from special-mode.
6943 (display-time-world): Use display-buffer (Bug#12708).
6944 (display-time-world-mode-map): Variable deleted.
6945 (display-time-world-display): Wrap the final delete-char inside
6948 2012-10-24 Chong Yidong <cyd@gnu.org>
6950 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
6953 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
6955 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6957 * minibuffer.el (completion--all-sorted-completions-location): New var.
6958 (completion--cache-all-sorted-completions)
6959 (completion--flush-all-sorted-completions): Use it.
6960 (completion-in-region, completion-in-region--postch)
6961 (completion-at-point, completion-help-at-point): Use markers in
6962 completion-in-region--data (bug#12619).
6964 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6966 * progmodes/compile.el (compilation-start): Try to handle common
6967 quoting of `cd' argument (bug#12640).
6969 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
6972 2012-10-23 Glenn Morris <rgm@gnu.org>
6974 * progmodes/gud.el (gud-menu-map):
6975 Check gdb-active-process is bound. (Bug#12358)
6977 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6979 * repeat.el (repeat): Set real-this-command (bug#12232).
6981 * htmlfontify.el (hfy-post-html-hook):
6982 * filesets.el (filesets-cache-fill-content-hook):
6983 * arc-mode.el (archive-extract-hook):
6984 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
6985 * net/rcirc.el (rcirc-sentinel-functions)
6986 (rcirc-receive-message-functions, rcirc-activity-functions)
6987 (rcirc-print-functions):
6988 * net/dbus.el (dbus-event-error-functions):
6989 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
6990 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
6991 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
6992 * term/sun.el (sun-raw-prefix-hooks):
6993 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
6995 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
6997 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6998 Set `tramp-chunksize' to 1. This improves the performance.
6999 (tramp-smb-wait-for-output): Add timeout to
7000 `tramp-accept-process-output' calls.
7002 2012-10-23 Chong Yidong <cyd@gnu.org>
7004 * faces.el (font-list-limit): Define as an obsolete variable.
7006 * startup.el (command-line):
7007 * cus-start.el: Don't refer to font-list-limit.
7009 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
7011 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7013 * subr.el (internal-temp-output-buffer-show): Rename from
7014 temp-output-buffer-show, since previously compiled files expect this name.
7016 2012-10-23 Glenn Morris <rgm@gnu.org>
7018 * image.el (image-type-from-file-name): If multiple types match,
7019 return the first one that is supported. (Bug#9045)
7021 2012-10-22 Glenn Morris <rgm@gnu.org>
7023 * image.el (imagemagick-enabled-types): Doc fix.
7025 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
7027 * progmodes/which-func.el (which-func-current): The hash-table may have
7028 an explicit nil (bug#12338).
7030 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7032 * electric.el (electric-pair-delete-selection-self-insert-function):
7033 Rename to electric-pair-will-use-region, return a boolean.
7034 (electric-pair-mode): Adjust accordingly. Don't require delsel.
7036 * delsel.el (delete-selection-helper): Use a function instead of a hook.
7037 (delete-selection-pre-hook): Use use-region-p.
7038 (delete-selection-self-insert-function): Remove.
7039 (self-insert-command): Obey self-insert-uses-region-functions.
7040 (self-insert-iso): Revert to previous setting, since we don't actually
7041 know what that command does.
7042 (delete-selection-self-insert-hooks): Remove.
7044 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
7046 * delsel.el (delete-selection-helper): New function, extracted from
7047 delete-selection-pre-hook.
7048 (delete-selection-pre-hook): Use it.
7049 (delete-selection-self-insert-function): New function.
7050 (delete-selection-self-insert-hooks): New hook.
7051 (self-insert-command, self-insert-iso): Use it.
7052 * electric.el (electric-pair-syntax): New function, extracted from
7053 electric-pair-post-self-insert-function.
7054 (electric-pair-post-self-insert-function): Use it.
7055 (electric-pair-delete-selection-self-insert-function): New function.
7056 (electric-pair-mode): Require delsel and setup
7057 delete-selection-self-insert-hooks (bug#11520).
7059 2012-10-20 Chong Yidong <cyd@gnu.org>
7061 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
7062 no changes to show (Bug#12586).
7064 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
7065 list explicitly (Bug#12571).
7067 2012-10-20 Arne Jørgensen <arne@arnested.dk>
7069 * progmodes/flymake.el (flymake-create-temp-inplace):
7072 2012-10-20 Eli Zaretskii <eliz@gnu.org>
7074 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
7076 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
7078 * calc/calc-units.el (math-extract-units): Properly extract powers
7081 2012-10-20 Daniel Colascione <dancol@dancol.org>
7083 * frame.el (make-frame): Set x-display-name as we used to in order
7084 to unbreak creating an X11 frame from an Emacs daemon started
7087 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7089 * minibuffer.el (minibuffer-force-complete): Make the next completion use
7090 the same completion-field (bug#12221).
7092 2012-10-19 Martin Rudalics <rudalics@gmx.at>
7094 * emacs-lisp/debug.el (debug): Record height of debugger window
7095 also when debugger will be back (Bug#8789).
7097 2012-10-18 Chong Yidong <cyd@gnu.org>
7099 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7100 Convert to defcustom.
7101 (gdb-get-source-file): Don't bind pop-up-windows.
7103 * progmodes/gud.el (gud-display-line): Don't specially re-use
7104 other frames for the gdb-mi case (Bug#12648).
7106 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7108 * emacs-lisp/advice.el: Clean up commentary a bit.
7109 (ad-do-advised-functions, ad-with-originals): Use `declare'.
7110 (byte-code-function-p): Never redefine.
7112 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
7114 2012-10-18 Glenn Morris <rgm@gnu.org>
7116 * dired.el (dired-sort-toggle): Some ls implementations only allow
7117 a single option string. (Bug#12666)
7119 * minibuffer.el (completion-cycle-threshold): Doc fix.
7121 2012-10-17 Kenichi Handa <handa@gnu.org>
7123 * international/mule.el (set-keyboard-coding-system):
7124 Recover input meta mode when the new coding system doesn not use 8-bit.
7125 Supply TERMINAL arg to set-input-meta-mode.
7127 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7129 * wdired.el (wdired-old-marks): New variable.
7130 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
7131 (wdired-do-renames): Move point with renamed file and don't lose
7132 mark status (Bug#11795).
7134 2012-10-16 Juri Linkov <juri@jurta.org>
7136 * replace.el (query-replace-help): Mention multi-buffer replacement
7137 keys in the Help message. (Bug#12655)
7139 2012-10-15 Chong Yidong <cyd@gnu.org>
7141 * emacs-lisp/byte-run.el (defsubst): Doc fix.
7143 2012-10-14 Eli Zaretskii <eliz@gnu.org>
7145 * window.el (display-buffer): Doc fix.
7147 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7148 Adjust the msft regexp to the output of Studio 2010, and move msft
7149 before edg-1. See the discussion on emacs-devel,
7150 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
7153 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7155 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
7156 (oset): Move uses of object-class-fast macro after its definition.
7158 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
7160 2012-10-13 Chong Yidong <cyd@gnu.org>
7162 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
7163 enabled, re-enable it (Bug#11963).
7165 2012-10-13 Martin Rudalics <rudalics@gmx.at>
7167 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
7168 non-nil, restore window configuration (Bug#12623).
7170 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7172 * help-fns.el (describe-variable, describe-function-1):
7173 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
7175 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
7177 2012-10-12 Glenn Morris <rgm@gnu.org>
7179 * mail/rmailsum.el (rmail-header-summary):
7180 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
7182 2012-10-12 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7184 * progmodes/python.el (python-mode-map):
7185 Replace subtitute-key-definition with proper command remapping.
7186 (python-nav--up-list): Fix behavior for blocks on the same level.
7188 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7190 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
7192 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
7193 changes to the format of load-history.
7195 * international/mule-cmds.el (read-char-by-name): Move let-binding of
7196 completion-ignore-case in case that var is buffer-local (bug#12615).
7198 2012-10-11 Kenichi Handa <handa@gnu.org>
7200 * international/eucjp-ms.el: Re-generated.
7202 2012-10-10 Kenichi Handa <handa@gnu.org>
7204 * select.el (xselect--encode-string): If a coding is specified for
7205 selection, and that is compatible with COMPOUND_TEXT, use it.
7207 2012-10-10 Martin Rudalics <rudalics@gmx.at>
7209 * window.el (switch-to-buffer-preserve-window-point): New option.
7211 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
7213 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7215 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
7216 Don't document nil as a useful value (bug#12583).
7218 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
7220 * net/tramp.el (tramp-debug-message):
7221 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
7222 (with-tramp-progress-reporter): Rename from
7223 `tramp-with-progress-reporter'.
7224 (with-tramp-file-property, with-tramp-connection-property):
7225 Move from tramp-cache.el, rename from `with-file-property' and
7226 `with-connection-property', respectively.
7228 * net/tramp-cache.el: Remove `with-file-property' and
7229 `with-connection-property'.
7232 * net/tramp-gvfs.el:
7234 * net/tramp-smb.el: Adapt callees.
7236 * net/trampver.el: Update release number.
7238 2012-10-09 Glenn Morris <rgm@gnu.org>
7240 * w32-fns.el (set-message-beep):
7241 * term/w32-win.el (set-message-beep): Update declarations.
7243 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7245 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
7246 (mode-line-widen, mode-line-input-method-map)
7247 (mode-line-coding-system-map, mode-line-remote)
7248 (mode-line-unbury-buffer, mode-line-bury-buffer)
7249 (mode-line-next-buffer, mode-line-previous-buffer):
7250 Replace save-selected-window+select-window => with-selected-window.
7252 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
7253 * progmodes/cc-vars.el (bq-process): Remove, unused.
7255 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
7257 2012-10-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7259 Implemented `backward-up-list'-like navigation.
7260 * progmodes/python.el (python-nav-up-list)
7261 (python-nav-backward-up-list): New functions.
7262 (python-mode-map): Define substitute key for backward-up-list to
7263 python-nav-backward-up-list.
7265 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7267 * progmodes/python.el (python-fill-paragraph): Rename from
7268 python-fill-paragraph-function. Fixed fill-paragraph for
7269 decorators (Bug#12605).
7271 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7273 * progmodes/python.el (python-shell-output-filter): Handle extra
7274 carriage return in OSX (Bug#12409).
7276 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7278 Fix shell handling of unbalanced quotes and parens in output.
7279 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
7280 (python-syntax-propertize-function): Use it.
7281 (python-shell-output-syntax-table): New var.
7282 (inferior-python-mode): Prevent unbalanced parens/quotes from
7283 previous output mess with current input context.
7285 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
7287 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
7288 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
7290 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
7292 * ffap.el (ffap-replace-file-component): Support Tramp file name
7293 syntax, not only ange-ftp's one.
7295 2012-10-08 Glenn Morris <rgm@gnu.org>
7297 * cus-start.el (message-log-max): Set :version.
7299 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
7301 2012-10-08 Martin Rudalics <rudalics@gmx.at>
7303 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
7304 the minibuffer window (Bug#10851).
7306 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7308 Enhancements on forward-sexp movement.
7309 * progmodes/python.el (python-nav-beginning-of-statement)
7310 (python-nav-end-of-statement): Return point-marker.
7311 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
7312 (python-info-current-symbol)
7313 (python-info-statement-starts-block-p): Rename from
7314 python-info-beginning-of-block-p.
7315 (python-info-statement-ends-block-p): Rename from
7316 python-info-end-of-block-p.
7317 (python-info-beginning-of-statement-p)
7318 (python-info-end-of-statement-p)
7319 (python-info-beginning-of-block-p, python-info-end-of-block-p):
7322 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7324 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
7325 frame-selected-windows.
7327 2012-10-08 Daniel Colascione <dancol@dancol.org>
7329 * battery.el (battery-status-function): Check for
7330 w32-battery-status itself, not system-time windows-nt.
7332 * frame.el: Require cl-lib.
7333 (display-format-alist): New variable mapping frame types to
7334 functions that initialize them.
7335 (window-system-for-display): New function: interprets
7336 display-format-alist.
7337 (make-frame-on-display): Remove existing display-selection logic
7338 and just forward to make-frame, which will now DTRT.
7339 (make-frame): Restructure to use window-system-for-display to
7340 figure out how to create a frame on a given display.
7341 (display-mouse-p): Look for frame-type w32, not a particular
7344 * loadup.el: Load w32 lisp code when we have the w32 feature.
7346 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
7347 system-type windows-nt.
7349 * server.el (server-create-window-system-frame): Look for window
7351 (server-proces-filter): Only force a window system when windows-nt
7352 _and_ w32. Explain why.
7354 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
7355 of window systems we configure for the mode.
7357 * startup.el (command-line): Mark window system is initialized
7358 after we've done it.
7360 * common-win.el (x-select-text): Look for w32, not windows-nt.
7362 * ns-win.el: Require cl-lib. Add ourselves to
7363 display-format-alist.
7364 (ns-initialize-window-system): Assert we're not initialized twice.
7366 * w32-win.el: Enable lexical binding; require cl-lib; add
7367 ourselves to display-format-alist.
7368 (w32-handle-dropped-file): Convert incoming dropped files from
7369 Windows paths to Cygwin ones before passing them on to the rest of
7371 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
7372 (w32-initialize-window-system): Assert we're not initialized twice.
7374 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
7375 (x-initialize-window-system): Assert we're not initialized twice.
7377 * w32-common-fns.el: New File.
7378 (w32-version, w32-using-nt, w32-get-clipboard-data)
7379 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7380 (w32-charset-info-alist, x-last-selected, text)
7381 (x-get-selection-value, x-selection-value): Move here.
7383 * w32-fns.el: Require w32-common-fns.
7384 (w32-version, w32-using-nt, w32-get-clipboard-data)
7385 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7386 (w32-charset-info-alist, x-last-selected, text)
7387 (x-get-selection-value, x-selection-value): Move to
7391 (w32-allow-system-shell, w32-system-shells): Define only in
7394 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7396 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
7397 (read-passwd): Remove a few more potential sources of leaks.
7399 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7401 * progmodes/python.el (inferior-python-mode)
7402 (python-shell-make-comint): Fix initialization of local
7403 variables copied from parent buffer.
7405 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
7407 * term/ns-win.el (ns-read-file-name): Update declaration to match
7409 (ns-respond-to-change-font): Change fontsize separately so we are sure
7410 it is set when font is acted upon.
7412 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7414 Enhancements to indentation.
7415 * progmodes/python.el (python-indent-context): Give priority to
7416 inside-string context. Make comments indentation markers.
7417 (python-indent-region): Do not mess with strings, unless it's the
7418 enclosing set of quotes.
7420 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7422 * window.el (internal--before-save-selected-window)
7423 (internal--after-save-selected-window): New functions extracted from
7424 save-selected-window. Make sure we return the `alist' we construct.
7425 (save-selected-window): Use them.
7427 * textmodes/tex-mode.el (tex-recenter-output-buffer):
7428 Use with-selected-window.
7430 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
7431 forms that define macros (bug#12593).
7433 2012-10-07 Kenichi Handa <handa@gnu.org>
7435 * international/mule-conf.el (compound-text-with-extensions):
7436 Add :mime-charset property as x-ctext.
7438 2012-10-07 Stefan Merten <smerten@oekonux.de>
7440 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7441 (rst-indent-literal-normal, rst-indent-literal-minimized)
7442 (rst-indent-comment): Correct :version tag.
7443 (rst-official-cvs-rev): Correct version string.
7445 2012-10-07 Glenn Morris <rgm@gnu.org>
7447 * mail/rmailmm.el (rmail-mime-process-multipart):
7448 Do not confuse a multipart message with an epilogue
7449 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
7451 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7453 Fix shell output retrieval and comint-prompt-regexp init.
7454 * progmodes/python.el (inferior-python-mode):
7455 (python-shell-make-comint): Fix initialization of
7456 comint-prompt-regexp from copied file local variables.
7457 (python-shell-fetched-lines): Remove var.
7458 (python-shell-output-filter-in-progress): Rename from
7459 python-shell-fetch-lines-in-progress.
7460 (python-shell-output-filter-buffer): Rename from
7461 python-shell-fetch-lines-string.
7462 (python-shell-fetch-lines-filter): Delete function.
7463 (python-shell-output-filter): New function.
7464 (python-shell-send-string-no-output): Use them.
7466 2012-10-07 Glenn Morris <rgm@gnu.org>
7468 * hi-lock.el (hi-lock-process-phrase):
7469 Try to make it less fragile. (Bug#7161)
7471 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
7473 2012-10-06 Glenn Morris <rgm@gnu.org>
7475 * ehelp.el (electric-help-mode): Use help-mode rather than
7476 non-existent mode `help'.
7477 (electric-help-map): Use button-buffer-map. (Bug#10917)
7479 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
7480 (reftex-create-bibtex-footer): Fix custom types.
7482 * progmodes/sh-script.el (sh-indent-after-continuation):
7483 Add explicit :group.
7485 * textmodes/rst.el (rst-preferred-decorations)
7486 (rst-shift-basic-offset): Clarify obsolescence versions.
7488 * profiler.el (profiler): Add missing group :version tag.
7489 * avoid.el (mouse-avoidance-banish-position):
7490 * proced.el (proced-renice-command):
7491 * calc/calc.el (calc-ensure-consistent-units):
7492 * calendar/icalendar.el (icalendar-import-format-uid):
7493 * net/tramp.el (tramp-save-ad-hoc-proxies):
7494 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7495 * progmodes/flymake.el (flymake-error-bitmap)
7496 (flymake-warning-bitmap, flymake-fringe-indicator-position):
7497 * progmodes/sh-script.el (sh-indent-after-continuation):
7498 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
7499 (verilog-before-save-font-hook, verilog-after-save-font-hook):
7500 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
7501 (vhdl-array-index-record-field-in-sensitivity-list)
7502 (vhdl-indent-comment-like-next-code-line):
7503 * textmodes/reftex-vars.el (reftex-ref-style-alist)
7504 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
7505 (reftex-cite-key-separator, reftex-create-bibtex-header)
7506 (reftex-create-bibtex-footer):
7507 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7508 (rst-indent-literal-normal, rst-indent-literal-minimized)
7509 (rst-indent-comment): Add missing custom :version tags.
7511 * calendar/timeclock.el (timeclock-modeline-display):
7512 Add missing obsolete alias for renamed user option.
7514 * strokes.el (strokes-modeline-string):
7515 * emulation/crisp.el (crisp-mode-modeline-string):
7516 * eshell/esh-mode.el (eshell-status-in-modeline):
7517 Aliases to defcustoms must come before the defcustom.
7519 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
7520 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7521 (cal-tex-cursor-week-monday): Doc fixes.
7522 (cal-tex-cursor-week2-summary): Doc fix.
7523 Rename from cal-tex-cursor-week-at-a-glance.
7525 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
7526 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
7528 * calendar/calendar.el (calendar-mode-map):
7529 Add cal-tex-cursor-week2-summary.
7531 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
7533 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
7535 * subr.el (read-passwd-map): New var.
7536 (read-passwd): Use `read-string' again.
7537 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
7539 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
7541 * register.el (append-to-register, prepend-to-register):
7542 Deactivate mark, as does `copy-to-register' (bug#12389).
7544 2012-10-06 Chong Yidong <cyd@gnu.org>
7546 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
7548 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
7550 * international/characters.el: Fix simple mistake ((car chars) ->
7551 elt), delete duplicated code.
7553 2012-10-06 Glenn Morris <rgm@gnu.org>
7555 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
7557 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
7559 * color.el (color-hsl-to-rgb): Fix incorrect results for
7560 small and large hue values. (Bug#12559)
7562 2012-10-05 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7564 Enhancements to docstring formatting when filling paragraphs.
7565 * progmodes/python.el (python-fill-docstring-style): Rename from
7566 python-fill-string-style. Added new style.
7567 (python-fill-string): Use new style. Better checks for
7570 2012-10-05 Glenn Morris <rgm@gnu.org>
7572 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
7574 * color.el (color-name-to-rgb, color-rgb-to-hex)
7575 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
7576 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
7577 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7578 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
7580 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
7582 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
7584 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
7585 to get the correct size across symlinks.
7587 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
7589 2012-10-04 Juri Linkov <juri@jurta.org>
7591 * replace.el (query-replace-interactive): Declare obsolete.
7592 (query-replace-read-from): Add the last incremental search string
7593 to the list of default values accessible via M-n.
7594 (map-query-replace-regexp): Use `read-regexp'.
7595 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7596 (map-query-replace-regexp, replace-string, replace-regexp):
7597 Fix docstrings to replace mentions of `query-replace-interactive'
7598 with alternatives. (Bug#12526)
7600 2012-10-04 Juri Linkov <juri@jurta.org>
7602 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
7603 (dired-pop-to-buffer): Declare obsolete.
7604 (dired-mark-pop-up): Doc fix.
7606 2012-10-04 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7608 Allow user to set docstring style for fill-paragraph.
7609 * progmodes/python.el
7610 (python-fill-comment-function, python-fill-string-function)
7611 (python-fill-decorator-function, python-fill-paren-function):
7612 Remove :safe for defcustoms.
7613 (python-fill-string-style): New defcustom
7614 (python-fill-paragraph-function): Enhance context detection.
7615 (python-fill-string): Honor python-fill-string-style settings.
7617 2012-10-04 Martin Rudalics <rudalics@gmx.at>
7619 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
7620 after setting its buffer (Bug#10805).
7622 2012-10-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7624 Fix cornercase for string syntax.
7625 * progmodes/python.el (python-syntax-propertize-function):
7626 Simplify and enhance the regexp for unescaped quotes. Now it also
7627 matches quotes in weird situations like the single quote in
7629 (python-syntax-stringify): Simplify num-quotes detecting code.
7631 2012-10-03 Glenn Morris <rgm@gnu.org>
7633 * help-macro.el (three-step-help):
7634 Revert 2012-09-29 change. (Bug#12567)
7636 2012-10-03 Martin Rudalics <rudalics@gmx.at>
7638 * menu-bar.el (kill-this-buffer): Don't do anything when
7639 `menu-frame' is not alive or visible (Bug#8184).
7641 * emacs-lisp/debug.el (debug): When quitting the debugger window
7642 restore current buffer (Bug#12502).
7644 2012-10-02 Chong Yidong <cyd@gnu.org>
7646 * progmodes/hideif.el (hif-lookup, hif-defined):
7647 Handle semantic-c-takeover-hideif.
7649 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
7651 Change sampling interval units from ms to ns.
7652 * profiler.el (profiler-sampling-interval): Change units
7653 from ms to ns, multiplying the default by 1000000 so that
7655 (profiler-report-cpu-line-format): Give enough room for
7656 the maximum counters on 64-bit hosts.
7657 (profiler-report-render-calltree-1): Call them "CPU samples",
7658 not "Time (ms)", since they are not milliseconds now (and
7661 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7663 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
7664 Fix querying BBDB for entries without a last name (Bug#11580).
7666 2012-10-02 Chong Yidong <cyd@gnu.org>
7668 * emacs-lisp/eieio.el: Restore Version header.
7670 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7672 * vc/diff-mode.el (diff--auto-refine-data): New var.
7673 (diff-hunk): Use it to delay refinement.
7674 (diff-mode): Remove overlays when we turn off font-lock.
7676 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
7677 (table-initialize-table-fixed-width-mode)
7678 (table-set-table-fixed-width-mode): Remove functions.
7679 (table-command-list): Move initialization into declaration.
7680 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
7681 (table-with-cache-buffer): Use `declare'.
7682 (table-span-cell): Simplify via CSE.
7683 (table-fixed-width-mode): Use define-minor-mode.
7684 (table-call-interactively, table-funcall, table-apply): Remove.
7685 (table-function): New function, to replace them.
7687 * bookmark.el (bookmark-search-pattern): Remove var.
7688 (bookmark-read-search-input): Remove function.
7689 (bookmark-bmenu-search): Reimplement using a minibuffer.
7691 * faces.el (modeline): Remove obsolete face name.
7693 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
7694 and give a non-nil default value.
7695 (add-change-log-entry): Simplify accordingly.
7697 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
7699 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
7700 (vc-git-log-edit-toggle-amend): New function.
7701 (vc-git-log-edit-toggle-signoff): New function.
7702 (vc-git-log-edit-mode): New major mode.
7703 (vc-git-log-edit-mode-map): Keymap for it.
7704 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
7706 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
7708 (log-edit-toggle-header): New function.
7709 (log-edit-extract-headers): Accept function values in HEADERS alist.
7711 2012-10-01 David Engster <deng@randomsample.de>
7713 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
7714 from symbol property and change message to be more consistent with
7716 (eieio-describe-generic): Add filename for each implementation.
7717 Fix indices for generic and normal methods.
7718 (eieio-method-def, eieio-class-def): New buttons.
7719 (eieio-help-find-method-definition)
7720 (eieio-help-find-class-definition): New functions.
7721 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
7722 class, constructor and method definitions.
7724 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
7725 information in symbol property.
7726 (scoped-class): Remove.
7727 (eieio-slot-name-index, call-next-method): Check if it is bound.
7729 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
7731 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
7732 (eieio-custom-mode): New major mode.
7733 (eieio-customize-object): Use it.
7735 2012-10-01 Eric Ludlam <zappo@gnu.org>
7737 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
7738 specifying the expected class, and whether subclassing is allowed.
7739 (eieio-persistent-convert-list-to-object):
7740 (eieio-persistent-validate/fix-slot-value)
7741 (eieio-persistent-slot-type-is-class-p): New functions.
7742 (eieio-named::slot-missing): Doc fix.
7744 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
7745 Stop using unused publd variable.
7747 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7748 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
7749 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
7750 (eieio-speedbar-handle-click): Do not specify a class for the
7751 method. Fixes method invocation order problems with EDE.
7753 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7755 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
7756 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
7758 2012-10-01 Karl Fogel <kfogel@red-bean.com>
7760 * bookmark.el (bookmark-version-control): Give tags in the
7761 :type choices (Bug#12309), and improve doc string.
7762 (bookmark-write-file): Bind `print-circle' to `t' to allow
7763 circular custom bookmark types. (Bug#12503)
7765 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
7767 Revert the FOLLOW-SYMLINKS change for file-attributes.
7768 * files.el (remote-file-name-inhibit-cache, after-find-file):
7769 * time.el (display-time-file-nonempty-p): Undo last change.
7771 * profiler.el (profiler-sampling-interval): Change default back to 1.
7772 See Stefan Monnier in
7773 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
7775 2012-10-01 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7777 Shell output catching a la gud-gdb.
7778 * progmodes/python.el (python-shell-fetch-lines-in-progress)
7779 (python-shell-fetch-lines-string, python-shell-fetched-lines):
7781 (python-shell-fetch-lines-filter): New function.
7782 (python-shell-send-string-no-output): Use them.
7784 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
7786 * profiler.el (profiler-sampling-interval): Rename from
7787 profiler-sample-interval.
7788 (profiler-sampling-interval): Default to 10.
7789 (profiler-find-profile): New command (was profiler-find-log).
7790 (profiler-find-profile-other-window): New command.
7791 (profiler-find-profile-other-frame): New command.
7792 (profiler-profile): Introduce API-level data structure.
7794 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
7796 file-attributes has a new optional arg FOLLOW-SYMLINKS.
7797 * files.el (remote-file-name-inhibit-cache):
7798 * time.el (display-time-file-nonempty-p): Use it.
7799 * files.el (after-find-file): Don't chase links before calling
7800 file-exists-p, as file-exists-p already does the right thing.
7802 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
7804 Merge from standalone RefTeX repository.
7806 The following ChangeLog entries are shortened versions of the
7807 original ones with file paths adapted. A not so strongly edited
7808 version of the original ChangeLog can be found in the commit log.
7810 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
7811 (reftex-arg-cite): Use `reftex-cite-key-separator'.
7812 Correctly handle new value type returned by `reftex-citation'.
7814 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
7815 that entries with whitespace at various places are found.
7816 Doc fix. Include entries that are cross-referenced from cited entries.
7817 Include @String definitions in the resulting bib file. Add header
7818 and footer defined in `reftex-create-bibtex-header' and
7819 `reftex-create-bibtex-footer'.
7820 (reftex-do-citation): Make it possible again to insert
7821 non-existent entries. Save match data when asking for optional
7822 arguments. Return all keys, not just the first one.
7823 (reftex-all-used-citation-keys): Fix regexp to correctly extract
7824 all citations in the same line.
7825 (reftex-parse-bibtex-entry): Accept additional optional argument
7826 `raw' and keep quotes or braces if it is non-nil. Match fields
7827 containing hyphens besides word constituents.
7828 (reftex-get-string-refs): New function.
7829 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
7830 and ask if it should be reread in case it did.
7831 (reftex-pop-to-bibtex-entry)
7832 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
7833 entries with spaces or tabs in front of arguments.
7834 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7835 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
7836 Match entries containing numbers and symbol constituents.
7837 (reftex-do-citation, reftex-figure-out-cite-format):
7838 Use `reftex-cite-key-separator'.
7840 * textmodes/reftex-dcr.el: Move provide statement to end of file.
7841 (reftex-mouse-view-crossref): Explain why point is set.
7843 * textmodes/reftex-global.el: Whitespace changes.
7845 * textmodes/reftex-index.el: Move provide statement to end of
7847 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
7848 (reftex-index-visit-phrases-buffer): Set marker when visiting
7849 buffer. This allows for returning from the phrases file to the
7850 file one was just editing instead of the file where the last
7851 phrases was added from.
7852 (reftex-index-phrases-syntax-table): New variable. Give ?\"
7853 punctuation syntax as it usually is not used as string quote in
7854 TeX-related modes and may occur unmatched. The change also
7855 prevents fontification of quoted content.
7856 (reftex-index-phrases-mode): Use it.
7858 * textmodes/reftex-parse.el (reftex-parse-from-file):
7859 Move backward one char if a `\' was matched after a section macro.
7860 (reftex-parse-from-file): Use beginning of match instead of end as
7863 * textmodes/reftex-ref.el: Adapt creation of
7864 `reftex-<package>-<macro>' functions to new structure of
7865 `reftex-ref-style-alist'.
7866 (reftex-reference): Use `reftex-ref-style-list' function.
7867 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
7868 reference macro if `reftex-ref-macro-prompt' is non-nil.
7869 (reftex-reference): Pass refstyle to `reftex-format-special'.
7870 Determine reference macro by looking at
7871 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
7872 Use only one special format function.
7873 (reftex-varioref-vref, reftex-fancyref-fref)
7874 (reftex-fancyref-Fref): Remove definitions. The functions are now
7875 generated from `reftex-ref-style-alist'.
7876 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
7878 (reftex-format-special): New function.
7880 * textmodes/reftex-sel.el
7881 (reftex-select-cycle-ref-style-internal): Adapt to new structure
7882 of `reftex-ref-style-alist'. Remove code for testing macro type.
7883 (reftex-select-toggle-varioref)
7884 (reftex-select-toggle-fancyref): Remove.
7885 (reftex-select-cycle-ref-style-internal)
7886 (reftex-select-cycle-ref-style-forward)
7887 (reftex-select-cycle-ref-style-backward): New functions.
7888 (reftex-select-label-map): Use `v' and `V' for general cycling
7889 through reference styles. Add `p' for switching between number
7890 and page reference types.
7892 * textmodes/reftex-toc.el (reftex-re-enlarge):
7893 Call `enlarge-window' only if there is something to do because in Emacs
7894 the horizontal version throws an error even if the parameter is 0.
7896 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
7897 (reftex-plug-into-AUCTeX): Doc fix.
7898 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
7899 string. Adapt to new name.
7900 (reftex-ref-style-alist): Change structure so that it is not
7901 possible to use multiple different package names within a style.
7902 Remove the symbols for symbols for macro type distinction.
7903 Add characters for macro selection.
7904 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
7905 (reftex-create-bibtex-footer): New variables.
7906 (reftex-format-ref-function): Mention third argument of special
7908 (reftex-ref-style-alist, reftex-ref-style-default-list):
7910 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
7911 to new implementation. Mark as obsolete. Add compatibility code
7912 for honoring the variable values in case they are set.
7913 (reftex-cite-format-builtin, reftex-bibliography-commands):
7914 Add support for ConTeXt.
7915 (reftex-format-ref-function, reftex-format-cite-function):
7917 (reftex-cite-key-separator): New variable.
7919 * textmodes/reftex.el (reftex-syntax-table-for-bib)
7920 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
7921 `reftex-syntax-table' because parens have to retain their paren
7922 syntax in order for parsing of BibTeX entries like @book(...) to
7924 (reftex-in-comment): Do not error out if `comment-start-skip' is
7925 not set. Deal correctly with escaped comment characters.
7926 (reftex-tie-multifile-symbols): Add doc string.
7927 Initialize `reftex-ref-style-list'.
7928 (reftex-untie-multifile-symbols): Add doc string.
7929 (reftex-add-index-macros): Doc fix.
7930 (reftex-ref-style-activate, reftex-ref-style-toggle)
7931 (reftex-ref-style-list): New functions.
7932 (reftex-mode-menu): Use them. Adapt to new structure of
7933 `reftex-ref-style-alist'.
7934 (reftex-select-with-char): Kill the RefTeX Select buffer when
7936 (reftex-remove-if): New function.
7937 (reftex-erase-all-selection-and-index-buffers)
7938 (reftex-mode-menu): Reference styles are now computed from
7939 `reftex-ref-style-alist'. Fix typo.
7940 (reftex-report-bug): New function.
7941 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
7942 algorithms with O(n log n). Introduce optional argument SORT (not
7945 2012-09-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7947 Enhancements for triple-quote string syntax.
7948 * progmodes/python.el (python-syntax-propertize-function):
7949 Match both quote cases in one regexp.
7950 (python-syntax-stringify): Handle matches properly.
7952 2012-09-30 Juri Linkov <juri@jurta.org>
7954 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
7955 to nil around the call to `insert' to prevent
7956 directory time modification by lock_file. (Bug#2295)
7957 * tar-mode.el (tar-summarize-buffer): Idem.
7959 2012-09-30 Juri Linkov <juri@jurta.org>
7961 * facemenu.el (list-colors-sort): Add option "Luminance".
7962 (list-colors-sort-key): Implement it.
7964 * vc/diff-mode.el (diff-refine-removed):
7965 * vc/ediff-init.el (ediff-fine-diff-A):
7966 * vc/smerge-mode.el (smerge-refined-removed):
7967 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
7969 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
7971 * term/ns-win.el (x-file-dialog): New function.
7973 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
7975 * ido.el (ido-max-directory-size): Default to nil; the current
7976 default is small for POSIX systems, and impractical on Windows 7
7977 now that lstat returns directory sizes for NTFS.
7979 2012-09-30 Martin Rudalics <rudalics@gmx.at>
7981 In buffer display functions handle window-height/window-width
7982 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
7983 * window.el (window--display-buffer): New argument ALIST.
7984 Obey window-height and window-width alist entries.
7985 (window--try-to-split-window): New argument ALIST.
7986 Bind window-combination-limit to t when the window's size shall be
7987 changed and window-combination-limit equals `window-size'.
7988 (display-buffer-in-atom-window)
7989 (display-buffer-in-major-side-window)
7990 (display-buffer-in-side-window, display-buffer-same-window)
7991 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7992 (display-buffer-pop-up-window, display-buffer-below-selected)
7993 (display-buffer-at-bottom, display-buffer-in-previous-window)
7994 (display-buffer-use-some-window): Adjust all callers of
7995 window--display-buffer and window--try-to-split-window.
7996 (fit-frame-to-buffer): New option.
7997 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
7999 (display-buffer-in-major-side-window): Evaluate window-height /
8000 window-width alist entries.
8002 * help.el (temp-buffer-resize-frames)
8003 (temp-buffer-resize-regexps): Remove options.
8004 (temp-buffer-resize-mode): Adjust doc-string.
8005 (resize-temp-buffer-window): Don't consult
8006 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
8007 temp-buffer-resize-frames.
8009 * dired.el (dired-mark-pop-up):
8010 Call display-buffer-below-selected with a fit-window-to-buffer alist
8013 2012-09-30 Chong Yidong <cyd@gnu.org>
8015 * server.el (server-host): Document the security implications.
8016 (server-auth-key): Doc fix.
8018 * startup.el (initial-buffer-choice): Doc fix.
8020 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
8022 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
8025 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
8027 * help-fns.el (help-fns--obsolete): Fix last change.
8029 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
8031 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
8032 (minor-mode-map-alist): Remove redundant code.
8034 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
8035 visited in a buffer.
8036 (cvs-insert-visited-file): New function.
8037 (find-file-hook): Use it.
8039 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
8041 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
8043 (log-edit-empty-buffer-p): Don't require a space after a header.
8045 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
8047 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
8049 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
8050 a proper minor-mode.
8052 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
8054 2012-09-29 Glenn Morris <rgm@gnu.org>
8056 * winner.el (winner-mode): Remove variable (let define-minor-mode
8058 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
8060 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
8061 (winner-mode): Use define-minor-mode.
8063 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
8064 the full definition in loaddefs, rather than duplicating it.
8066 * help-macro.el (three-step-help): No need to autoload defcustom.
8068 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
8069 (inferior-lisp-program, inferior-lisp-load-command)
8070 (inferior-lisp-prompt, inferior-lisp-mode-hook):
8071 No need to autoload defcustoms.
8073 * hippie-exp.el (hippie-expand-try-functions-list)
8074 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
8075 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
8076 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
8077 (hippie-expand-only-buffers): No need to autoload defcustoms.
8078 * progmodes/vhdl-mode.el (vhdl-line-expand):
8079 Explicitly load hippie-exp, so it does not get autoloaded
8080 while hippie-expand-try-functions-list is let-bound.
8082 2012-09-28 Glenn Morris <rgm@gnu.org>
8084 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
8086 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
8087 Only "cl.el" counts as cl these days.
8089 2012-09-28 Juri Linkov <juri@jurta.org>
8091 Display archive errors in the echo area instead of inserting
8094 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
8095 to STDERR-TEST that can be a regexp matching a successful output.
8096 Create a temporary file and redirect stderr to it. Search for
8097 STDERR-TEST in the stderr output and display it in the echo area
8098 if no match is found.
8099 (archive-extract-by-file): New function like
8100 `archive-extract-by-stdout' but extracting archives to files
8101 and looking for successful matches in stdout. Function body is
8102 mostly copied from `archive-rar-extract'.
8103 (archive-rar-extract): Use `archive-extract-by-file'.
8104 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
8106 2012-09-28 Leo Liu <sdl.web@gmail.com>
8108 * pcomplete.el (pcomplete-show-completions):
8109 Use minibuffer-message to make pcomplete usable in minibuffer.
8111 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
8113 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8115 * type-break.el: Use lexical-binding.
8116 (type-break-mode): Use define-minor-mode.
8118 * emacs-lisp/pcase.el (pcase--mark-used): New.
8119 (pcase--u1): Use it (bug#12512).
8121 * custom.el (load-theme): Set buffer-file-name so the load is recorded
8122 in load-history with the right file name.
8124 2012-09-28 Tassilo Horn <tsdh@gnu.org>
8126 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
8127 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
8128 (doc-view-get-bounding-box): Make bounding box slicing work for
8129 ODF and DVI documents.
8131 2012-09-28 Glenn Morris <rgm@gnu.org>
8133 * type-break.el (type-break-mode, type-break-interval)
8134 (type-break-good-rest-interval, type-break-keystroke-threshold):
8135 No need to autoload.
8136 (type-break-good-rest-interval, type-break-keystroke-threshold):
8139 2012-09-28 Chong Yidong <cyd@gnu.org>
8141 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
8144 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8146 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
8148 2012-09-27 Glenn Morris <rgm@gnu.org>
8150 * faces.el (x-display-name): Declare (for without-x builds).
8152 * linum.el (linum-format): Don't autoload it. Improve :type.
8154 * progmodes/tcl.el: Don't require outline when compiling.
8155 (outline-regexp, outline-level): Declare.
8156 * textmodes/sgml-mode.el: Don't require outline when compiling.
8157 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
8159 * term.el (term-ansi-reset):
8160 Try setting term-ansi-face-already-done to nil. (Bug#11785)
8162 * vc/vc.el (vc-next-action): Only gripe about committing read-only
8163 files for RCS and SCCS. (Bug#9781)
8165 2012-09-27 Chong Yidong <cyd@gnu.org>
8167 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
8168 change; value should be t.
8170 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8172 * image-mode.el: Use lexical-binding.
8173 (image-mode-winprops): Use t to stand for the window of
8174 a buffer that's not displayed.
8175 * doc-view.el (doc-view-new-window-function): Handle the new
8177 (doc-view-enlarge): Make it a real nop if the size is not changed.
8178 (doc-view-display): Handle the case where the buffer is not (yet?)
8179 displayed in any window.
8180 (doc-view-saved-settings): New var.
8181 (doc-view-mode): Use it.
8182 (doc-view-fallback-mode): Set it.
8184 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
8185 Set lexical-binding.
8186 (minibuffer-eldef-shorten-default): New var.
8187 (minibuffer-default-in-prompt-regexps): Use it for new default.
8188 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
8190 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8192 * international/uni-bidi.el:
8193 * international/uni-category.el:
8194 * international/uni-name.el:
8195 * international/uni-numeric.el: Regenerate.
8197 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
8198 Stefan Monnier <monnier@iro.umontreal.ca>
8200 * profiler.el: New file.
8202 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
8204 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
8205 (testcover-reinstrument): Simplify with CSE.
8207 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8209 * window.el (temp-buffer-window-setup): Fix typo in docstring.
8211 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
8213 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
8214 (verilog-auto-input, verilog-auto-insert-lisp)
8215 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
8216 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
8217 (verilog-auto-unused, verilog-auto-wire)
8218 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
8219 newline. Reported by Andrew Jones.
8220 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
8221 Reported by Brad Dobbie.
8222 (verilog-batch-delete-trailing-whitespace):
8223 Create verilog-batch-delete-trailing-whitespace.
8224 Reported by Brad Dobbie.
8225 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
8226 parameters from another module. Reported by Dan Katz.
8227 (verilog-auto, verilog-auto-assign-modport)
8228 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
8229 AUTOINOUTMODPORT for UVM interface module shell generation.
8230 Reported by Brad Dobbie.
8231 (verilog-auto-inst-interfaced-ports): Make default nil, as more
8233 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
8234 Reported by Matt Martin.
8236 2012-09-25 Martin Rudalics <rudalics@gmx.at>
8238 * window.el (window--resize-child-windows): When resizing child
8239 windows proportionally, process them in reverse order to
8240 preserve the "when splitting a window the new one gets the odd
8242 (window--resize-root-window-vertically): When resizing the
8243 minibuffer window try to affect only windows at the bottom of the
8246 2012-09-25 Chong Yidong <cyd@gnu.org>
8248 * subr.el (declare): Doc fix.
8250 * help-fns.el (help-fns--obsolete): Handle macros properly.
8252 2012-09-25 Chong Yidong <cyd@gnu.org>
8254 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
8255 this function obsolete.
8257 * calendar/cal-x.el (calendar-two-frame-setup)
8258 (calendar-only-one-frame-setup, calendar-one-frame-setup):
8259 * calendar/calendar.el (american-calendar, european-calendar)
8260 (calendar-for-loop):
8261 * comint.el (comint-dynamic-simple-complete)
8262 (comint-dynamic-complete-as-filename, comint-unquote-filename):
8263 * desktop.el (desktop-load-default):
8264 * dired-x.el (dired-omit-here-always)
8265 (dired-hack-local-variables, dired-default-directory):
8266 * emacs-lisp/derived.el (derived-mode-class):
8267 * emacs-lisp/timer.el (timer-set-time-with-usecs):
8268 * emacs-lock.el (toggle-emacs-lock):
8269 * epa.el (epa-display-verify-result):
8270 * epg.el (epg-sign-keys, epg-start-sign-keys)
8271 (epg-passphrase-callback-function):
8272 * eshell/esh-util.el (eshell-for):
8273 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
8274 (eshell-add-to-window-buffer-names):
8275 * files.el (locate-file-completion):
8276 * imenu.el (imenu-example--create-c-index)
8277 (imenu-example--create-lisp-index)
8278 (imenu-example--lisp-extract-index-name)
8279 (imenu-example--name-and-position):
8280 * international/mule-cmds.el (princ-list):
8281 * international/mule-diag.el (decode-codepage-char):
8282 * international/mule-util.el (detect-coding-with-priority):
8283 * iswitchb.el (iswitchb-read-buffer):
8284 * mail/mailalias.el (mail-complete):
8285 * mail/sendmail.el (mail-sent-via):
8286 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
8287 (mouse-major-mode-menu):
8288 * password-cache.el (password-read-and-add):
8289 * pcomplete.el (pcomplete-parse-comint-arguments):
8290 * progmodes/sh-script.el (sh-maybe-here-document):
8291 * replace.el (query-replace-regexp-eval):
8292 * savehist.el (savehist-load):
8293 * simple.el (choose-completion-delete-max-match):
8294 * term.el (term-dynamic-simple-complete):
8295 * vc/ediff-init.el (ediff-check-version):
8296 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
8297 * vc/vc.el (vc-diff-switches-list):
8298 * view.el (view-return-to-alist-update): Likewise.
8300 * subr.el (eval-next-after-load, makehash, insert-string)
8301 (assoc-ignore-representation, assoc-ignore-case): Use declare to
8303 (mode-line-inverse-video): Variable deleted.
8305 * international/mule-util.el (string-to-sequence): Remove.
8307 * calendar/calendar.el (calendar-version):
8308 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
8309 (icalendar-convert-diary-to-ical):
8310 * cus-edit.el (custom-mode):
8311 * ansi-color.el (ansi-color-unfontify-region):
8312 * international/latin1-disp.el (latin1-char-displayable-p):
8313 * progmodes/cwarn.el (turn-on-cwarn-mode):
8314 * progmodes/which-func.el (which-func-update-1):
8315 Use define-obsolete-function-alias.
8317 * net/newst-backend.el (newsticker-cache-filename):
8318 * net/newst-treeview.el (newsticker-groups-filename):
8319 Fix incorrect obsolescence declaration.
8321 * allout.el (allout-passphrase-hint-string): Likewise.
8322 (allout-init): Use a declare form to mark obsolete.
8324 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
8325 this applies to functions.
8327 * iswitchb.el (iswitchb-read-buffer): Move code of
8328 iswitchb-define-mode-map here, and delete that obsolete function.
8330 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
8331 font-lock-reference-face.
8333 2012-09-25 Glenn Morris <rgm@gnu.org>
8335 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
8338 * eshell/em-term.el (eshell-term-name):
8339 Default to term-term-name. (Bug#12485)
8341 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8343 * progmodes/python.el (python-shell-send-buffer): Better handling
8344 of "if __name__ == '__main__':" conditionals when sending the buffer.
8346 2012-09-24 Glenn Morris <rgm@gnu.org>
8348 * eshell/esh-cmd.el (eshell-find-alias-function):
8349 Tighten up file-name regexp. (Bug#12499)
8351 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8353 Enhancements for triple-quote string syntax.
8354 * progmodes/python.el (python-quote-syntax): Remove.
8355 (python-syntax-propertize-function): New value.
8356 (python-syntax-count-quotes, python-syntax-stringify):
8359 2012-09-24 Chong Yidong <cyd@gnu.org>
8361 * mail/supercite.el (sc-version): Remove obsolete function.
8362 (sc-describe): Don't mark as obsolete, since it is bound.
8363 (sc-submit-bug-report): Remove.
8365 * vc/log-edit.el (cvs-changelog-full-paragraphs)
8366 (cvs-commit-buffer-require-final-newline): Remove.
8367 (log-edit-require-final-newline)
8368 (log-edit-changelog-full-paragraphs): Default to t.
8370 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
8371 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
8372 * vc/vc.el (vc-checkout-carefully): Likewise.
8374 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
8375 (emerge-version): Remove.
8377 * progmodes/compile.el (compile-internal): Remove.
8378 (compilation-parse-errors-function): Fix typo.
8380 * international/mule.el (set-char-table-default): Remove.
8381 (set-coding-priority, make-coding-system, generic-char-p)
8382 (charset-list, charset-bytes, charset-id): Use declare to mark
8383 functions as obsolete.
8385 * vc/pcvs-defs.el (cvs-buffer-name-alist)
8386 (cvs-invert-ignore-marks): Remove references to obsolete vars.
8387 * vc/vc-hooks.el (vc-default-registered): Don't use
8388 vc-master-templates.
8390 * font-lock.el (font-lock-reference-face):
8391 Use define-obsolete-variable-alias.
8393 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
8394 * calendar/calendar.el (calendar-font-lock-keywords):
8395 * calendar/diary-lib.el (diary-font-lock-keywords)
8396 (diary-fancy-font-lock-keywords):
8397 * textmodes/reftex-sel.el (reftex-insert-docstruct):
8398 * textmodes/reftex-index.el (reftex-insert-index):
8399 * textmodes/reftex-cite.el (reftex-format-bib-entry):
8400 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8401 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
8402 * progmodes/prolog.el (prolog-font-lock-keywords):
8403 * progmodes/idlwave.el (idlwave-idl-keywords):
8404 * progmodes/ada-mode.el (ada-font-lock-keywords):
8405 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
8407 2012-09-24 Glenn Morris <rgm@gnu.org>
8409 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
8411 2012-09-23 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8413 * progmodes/python.el (python-indent-line): More consistent cursor
8416 2012-09-23 Stefan Merten <smerten@oekonux.de>
8418 * textmodes/rst.el: Fix compiler warning.
8420 2012-09-23 Roland Winkler <winkler@gnu.org>
8422 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
8423 Transcribe also LaTeX hyphenation.
8424 (bibtex-reformat): Bug fix. Do not quote twice the elements of
8425 bibtex-reformat-previous-options.
8427 2012-09-23 Roland Winkler <winkler@gnu.org>
8429 * proced.el (proced-renice-command): New variable.
8430 (proced-marked-processes): New function.
8431 (proced-with-processes-buffer): New macro.
8432 (proced-send-signal): Use them.
8433 (proced-renice): New command bound to r.
8435 2012-09-23 Roland Winkler <winkler@gnu.org>
8437 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
8438 ibuffer-saved-filter-groups has one element, shortcut the call of
8439 completing-read. (Bug#12331)
8441 2012-09-23 Chong Yidong <cyd@gnu.org>
8443 * bindings.el (mode-line-toggle-read-only):
8444 * bs.el (bs-toggle-readonly):
8445 * buff-menu.el (Buffer-menu-toggle-read-only):
8446 * dired.el (dired-toggle-read-only):
8447 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
8449 2012-09-23 Chong Yidong <cyd@gnu.org>
8451 * image.el (image-type-available-p): Adapt to init-image-library
8454 2012-09-22 Juri Linkov <juri@jurta.org>
8456 * dired.el (dired-mode-map): Add [remap read-only-mode] for
8457 `dired-toggle-read-only'. (Bug#12462)
8459 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8461 * subr.el (temp-output-buffer-show): New function.
8462 (with-output-to-temp-buffer): Call temp-output-buffer-show
8463 instead of internal-temp-output-buffer-show.
8465 2012-09-22 Chong Yidong <cyd@gnu.org>
8467 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
8470 * repeat.el (repeat): Doc fix (Bug#12348).
8472 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
8475 * simple.el (shell-command-on-region): Doc fix.
8476 (read-only-mode): Doc fix.
8478 2012-09-22 Eli Zaretskii <eliz@gnu.org>
8480 * emacs-lisp/timer.el (run-with-idle-timer)
8481 (timer-activate-when-idle): Warn against reinvoking an idle timer
8482 from within its own timer action. (Bug#12447)
8484 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8486 * cus-start.el (window-combination-limit): Add new optional
8488 * window.el (temp-buffer-window-show)
8489 (window--try-to-split-window): Handle new values of
8490 window-combination-limit (Bug#1806).
8491 (split-window): Test window-combination-limit for t instead of
8493 (display-buffer-at-bottom): New buffer display action function.
8494 * help.el (temp-buffer-resize-regexps): New option.
8495 (temp-buffer-resize-mode): Rewrite doc-string.
8496 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
8497 Don't resize reused window. Suggested by Glenn Morris.
8499 2012-09-22 Stefan Merten <smerten@oekonux.de>
8501 * textmodes/rst.el: Revamp section title faces.
8502 (rst-official-version)
8503 (rst-package-emacs-version-alist): Sync with official version
8505 (rst-faces-defaults, rst-set-level-default)
8506 (rst-level-face-max, rst-level-face-base-color)
8507 (rst-level-face-base-light, rst-level-face-format-light)
8508 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
8509 (rst-adornment-faces-alist): Match new setup.
8510 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
8511 (rst-level-5, rst-level-6): New faces.
8513 2012-09-22 Chong Yidong <cyd@gnu.org>
8515 * simple.el (undo): Handle indirect buffers (Bug#8207).
8517 2012-09-21 Leo Liu <sdl.web@gmail.com>
8519 IDO: Disable match re-ordering for buffer switching.
8520 * ido.el (ido-buffer-disable-smart-matches): New variable.
8521 (ido-set-matches-1): Use it. (Bug#2042)
8523 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
8525 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8526 Fix 2011-05-17 change. (Bug#12418)
8528 2012-09-21 Leo Liu <sdl.web@gmail.com>
8530 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
8532 2012-09-21 Glenn Morris <rgm@gnu.org>
8534 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
8535 Be more robust about locating simple.el.
8537 2012-09-21 Glenn Morris <rgm@gnu.org>
8539 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
8541 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
8543 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
8545 2012-09-20 Juri Linkov <juri@jurta.org>
8547 * replace.el (query-replace-read-from): Use `read-regexp' instead
8548 of `read-from-minibuffer' when `regexp-flag' is non-nil.
8549 (occur-read-primary-args): Use `read-regexp' instead of
8551 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
8552 `read-from-minibuffer'.
8553 * isearch.el (isearch-occur): Use `read-regexp' instead of
8555 * dired.el (dired-read-regexp): Use `read-regexp' instead of
8556 `read-from-minibuffer'.
8557 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
8558 of `read-string'. (Bug#7567)
8560 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
8561 and allow accepting a list of strings prepended to a list of
8562 standard default values. Doc fix. (Bug#12321)
8564 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
8566 * replace.el (read-regexp): Don't add ": " when PROMPT already
8567 ends with a colon and space. (Bug#12321)
8569 2012-09-20 Tassilo Horn <tsdh@gnu.org>
8571 * doc-view.el (doc-view-display): Better fix for the cl-assertion
8574 2012-09-20 Stefan Merten <smerten@oekonux.de>
8576 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
8577 Fixes feature request bug#11711.
8578 (rst-mode): Create `imenu-create-index-function'.
8579 (rst-get-stripped-line): Delete after refactoring.
8580 (rst-section-tree, rst-section-tree-rec)
8581 (rst-section-tree-point): Refactor and document properly.
8582 (rst-imenu-find-adornments-for-position)
8583 (rst-imenu-convert-cell, rst-imenu-create-index):
8586 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8588 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
8589 (macroexp--expand-all): Use it.
8590 (macroexp--funcall-and-return): Remove by folding it into its sole
8591 caller (macroexp--warn-and-return).
8592 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
8593 Use macroexp--obsolete-warning.
8595 * calc/calc.el: Fix last change by removing the whole chunk, since it
8596 was only needed back when Calc was not bundled.
8598 2012-09-20 Martin Rudalics <rudalics@gmx.at>
8600 * emacs-lisp/debug.el (debug): Restore assignment to
8601 debugger-old-buffer removed on 2012-09-08.
8603 2012-09-20 Juri Linkov <juri@jurta.org>
8605 * dired-aux.el (dired-diff): Remove (require 'diff) since
8606 `diff-latest-backup-file' is now autoloaded.
8608 2012-09-20 Chong Yidong <cyd@gnu.org>
8610 * vc/diff.el (diff-latest-backup-file): Autoload.
8612 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8614 * calc/calc.el: Remove redundant autoload shape check.
8615 (sel-mode): Don't defvar.
8616 (calc-get-stack-element): Add `sel-mode' arg instead.
8617 (calc-top, calc-top-list): Pass it this additional argument.
8618 * calc/calc-store.el (calc-store-map):
8619 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
8620 (calc-map-equation, calc-outer-product, calc-inner-product):
8621 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
8623 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
8625 2012-09-19 Juri Linkov <juri@jurta.org>
8627 * dired-aux.el (dired-diff): Add (require 'diff) because
8628 `diff-latest-backup-file' is not autoloaded.
8629 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
8630 of `dired-get-filename' to t to not report error when there is
8631 no default file on the current line.
8633 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8635 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
8636 macroexp--eval-if-compile.
8637 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
8638 (macroexp--expand-all): Use them (bug#12371).
8640 * doc-view.el (doc-view-guess-paper-size)
8641 (doc-view-scale-bounding-box): Fix unbound `caddr'.
8643 2012-09-19 Tassilo Horn <tsdh@gnu.org>
8645 New feature: set optimal slice from BoundingBox information.
8646 * doc-view.el (doc-view-mode-map): Add keybinding.
8647 (doc-view-menu): Add menu entry.
8648 (doc-view-set-slice): Adapt docstring.
8649 (doc-view-get-bounding-box, doc-view-guess-paper-size)
8650 (doc-view-scale-bounding-box)
8651 (doc-view-set-slice-from-bounding-box): New functions.
8652 (doc-view-paper-sizes): New defvar.
8654 2012-09-19 Glenn Morris <rgm@gnu.org>
8656 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
8657 (byte-compile-log-warning): Autoload. (Bug#12371)
8659 * calendar/calendar.el (calendar-american-month-header)
8660 (calendar-european-month-header, calendar-iso-month-header)
8661 (calendar-month-header): New options.
8662 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
8663 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
8665 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
8667 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
8669 2012-09-18 Juri Linkov <juri@jurta.org>
8671 * dired-aux.el (dired-diff): Restore original functionality of
8672 getting the default value, but keep new feature of using the
8673 latest existing backup file (`diff-latest-backup-file').
8675 2012-09-18 Juri Linkov <juri@jurta.org>
8677 * dired.el (dired-mark): If the region is active in Transient Mark
8678 mode, mark all files in the active region. Doc fix.
8679 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
8680 Doc fix. (Bug#10624)
8682 2012-09-18 Juri Linkov <juri@jurta.org>
8684 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
8685 attributes for M-n are pulled from the file at point.
8686 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
8687 Suggested by Drew Adams. (Bug#10624)
8689 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
8691 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
8692 whitespace after "end".
8693 (ruby-do-end-to-brace): Collapse block to one line if it fits
8696 2012-09-18 Martin Rudalics <rudalics@gmx.at>
8698 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
8700 (debug): Don't remove debugger window when debugger is expected
8703 2012-09-18 Chong Yidong <cyd@gnu.org>
8705 * custom.el (defface): Doc fix.
8707 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
8709 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
8711 * progmodes/compile.el (compilation-start): Use compilation-always-kill
8712 to initialize query-on-exit; then test that instead (bug#12288).
8714 2012-09-17 Stefan Merten <smerten@oekonux.de>
8716 * textmodes/rst.el: Add support for `testcover'.
8717 (rst-defcustom-testcover, rst-testcover-add-compose)
8718 (rst-testcover-add-1value): New functions.
8719 (rst-portable-mark-active-p): Replace by `use-region-p'.
8720 (rst-update-section, rst-classify-adornment)
8721 (rst-find-title-line): Mark `1value' forms.
8722 (rst-classify-adornment): Remove superfluous form.
8723 (rst-update-section, rst-get-adornments-around)
8724 (rst-adornment-complete-p, rst-get-next-adornment)
8725 (rst-adjust, rst-promote-region)
8726 (rst-display-adornments-hierarchy, rst-straighten-adornments)
8727 (rst-find-pfx-in-region, rst-section-tree-rec)
8728 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
8729 (rst-toc-node, rst-toc, rst-forward-section)
8730 (rst-iterate-leftmost-paragraphs)
8731 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
8732 (rst-bullet-list-region)
8733 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
8734 (rst-compile-find-conf, rst-compile)
8735 (rst-repeat-last-character): Fix style.
8737 2012-09-17 Chong Yidong <cyd@gnu.org>
8739 * comint.el (comint--complete-file-name-data): Don't add a space
8740 if the status is `sole'; that adds a gratuitous space in the
8741 completion-cycling case (Bug#12092).
8743 * pcomplete.el (pcomplete-completions-at-point): Likewise.
8745 2012-09-17 Richard Stallman <rms@gnu.org>
8747 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
8748 only in the mime-shown mode, not in raw mode.
8749 (rmail-mime): Toggle off mime by displaying the message without
8750 mime processing. (Bug#12305)
8752 * mail/rmail.el (rmail-retry-failure):
8753 Turn off mime processing first. (Bug#12037)
8755 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
8757 2012-09-17 Chong Yidong <cyd@gnu.org>
8759 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
8760 (shell-dynamic-complete-functions): Convert to defcustom.
8761 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
8763 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
8764 * comint.el (comint-prompt-read-only):
8765 * custom.el (defcustom):
8766 * hi-lock.el (hi-lock-mode):
8767 * ibuffer.el (ibuffer-formats):
8768 * ielm.el (ielm-prompt-read-only):
8769 * novice.el (disable-command):
8770 * saveplace.el (toggle-save-place):
8771 * speedbar.el (speedbar-supported-extension-expressions):
8772 * startup.el (auto-save-list-file-prefix, init-file-user)
8773 (after-init-hook, inhibit-startup-echo-area-message):
8774 * strokes.el (strokes-help):
8775 * time-stamp.el (time-stamp):
8776 * calendar/calendar.el (calendar, diary-file):
8777 * calendar/diary-lib.el (diary-mail-entries, diary)
8778 (diary-list-entries-hook):
8779 * calendar/holidays.el (holidays, calendar-holidays):
8780 * calendar/lunar.el (lunar-phases):
8781 * calendar/solar.el (sunrise-sunset):
8782 * emulation/edt.el (edt-load-keys):
8783 * emulation/viper.el (viper-mode):
8784 * eshell/em-alias.el (eshell-command-aliases-list):
8785 * eshell/esh-util.el (eshell-convert-numeric-arguments):
8786 * international/ogonek.el (ogonek-information):
8787 * net/tramp-cmds.el (tramp-bug):
8788 * net/quickurl.el (quickurl-reread-hook-postfix):
8789 * play/decipher.el (decipher-font-lock-keywords):
8790 * progmodes/cc-styles.el (c-set-style):
8791 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
8792 * progmodes/inf-lisp.el (inferior-lisp-prompt):
8793 * progmodes/octave-mod.el (octave-mode):
8794 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
8795 * progmodes/verilog-mode.el (verilog-read-defines):
8796 * textmodes/two-column.el (2C-mode): Likewise.
8798 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
8800 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
8801 that holds many addresses.
8803 2012-09-16 Chong Yidong <cyd@gnu.org>
8805 * align.el (align-areas): Call the indication function with
8806 positions instead of markers for arguments (Bug#12343).
8808 * files.el (parse-colon-path): Use split-string (Bug#12351).
8810 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8811 (display-buffer-function): Mark as obsolete.
8813 * progmodes/compile.el (compilation-parse-errors): Accept list
8814 values similar to font-lock-keywords (Bug#12136).
8815 Suggested by Oleksandr Manzyuk.
8816 (compilation-error-regexp-alist): Doc fix.
8818 2012-09-15 Glenn Morris <rgm@gnu.org>
8820 * version.el (emacs-bzr-version-bzr): New function.
8821 (emacs-bzr-get-version): Add optional EXTERNAL argument.
8823 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
8824 checkouts, check the parent dirstate matches the branch.
8825 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
8828 * version.el (emacs-bzr-version): Doc fix.
8829 (emacs-bzr-version-dirstate): New function.
8830 (emacs-bzr-get-version): For lightweight checkouts, if the parent
8831 is local try and check that it matches the branch. If not, just
8832 use dirstate information. (Bug#12441)
8834 2012-09-14 Juri Linkov <juri@jurta.org>
8836 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
8839 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8841 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
8843 * emacs-lisp/edebug.el: Miscellaneous cleanup.
8844 Remove obsolete byte-compiler hack that tried to silence some warnings.
8845 (edebug-submit-bug-report): Remove.
8846 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
8847 Remove aliases, use the un-prefixed name instead.
8848 (edebug-pop-to-buffer): Consider other frames.
8849 (edebug-original-read):: Make it more obvious that it's always defined.
8850 (edebug--make-form-data-entry, edebug--form-data-name)
8851 (edebug--form-data-begin, edebug--form-data-end): Rename from the
8852 single-dashed name, and implement with cl-defstruct.
8853 (edebug-set-form-data-entry): Use the standard accessors.
8854 (edebug-make-top-form-data-entry): Use push.
8855 (edebug-no-match): Drop useless `funcall'.
8856 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
8858 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
8859 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
8860 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
8861 (easy-menu-define, with-custom-print): Remove redundant specs.
8862 (edebug-outside-overriding-local-map)
8863 (edebug-outside-overriding-terminal-local-map): Remove, unused.
8864 (edebug--display): Bind unread-command-events directly to nil rather
8865 than binding it to unread-command-events and later setting it to nil.
8866 (edebug--display): Kill edebug-eval-buffer here...
8867 (edebug--recursive-edit): ...rather than here.
8868 Bind standard-output and standard-input.
8869 (edebug-eval): Check cl-macroexpand-all is fboundp.
8870 (edebug-temp-display-freq-count): Fix last change.
8872 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
8873 * subr.el (noreturn, 1value): Add `debug' spec.
8874 * emacs-lisp/advice.el: Require cl-lib.
8875 (ad-copy-tree): Remove, use copy-tree instead.
8876 (ad-dolist): Remove use dolist or cl-dolist instead.
8877 (ad-do-return): Remove, use cl-return instead.
8878 (defadvice): Add `debug' spec.
8880 2012-09-13 Juri Linkov <juri@jurta.org>
8882 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
8885 2012-09-13 Glenn Morris <rgm@gnu.org>
8887 * calc/calc.el (math-compose-expr):
8888 * calc/calc-ext.el (math-compose-expr):
8889 * progmodes/cc-defs.el (cl-macroexpand-all):
8890 * progmodes/cc-langs.el (delete-duplicates, mapcan)
8891 (cl-macroexpand-all): Update declarations.
8893 * vc/vc.el: No need to require ediff.
8894 (ediff-load-version-control): Declare.
8895 (ediff-vc-internal): Fix declaration.
8896 (vc-version-ediff): Require ediff.
8898 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8900 Use a more backwards-compatible timer format (Bug#12430).
8901 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
8902 being right after USECS, as that better supports old code that
8903 inadvisedly looked directly at the timer vector.
8905 2012-09-13 Kenichi Handa <handa@gnu.org>
8907 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
8908 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
8909 `coding-priority' property of these language environment.
8911 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8913 Fix glitches caused by addition of psec to timers (Bug#12430).
8914 * image.el (image-animate-timer):
8915 * time.el (display-time-world-timer):
8916 Use timer--function and timer--args rather than raw access to
8919 2012-09-13 Glenn Morris <rgm@gnu.org>
8921 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
8922 If not compiling a file, try using load-file-name.
8924 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8926 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
8928 (edebug-update-eval-list): Use `push'.
8930 * emacs-lisp/edebug.el: Use lexical-binding.
8931 Remove the "edebug-" prefix from non-dynamically-scoped variables.
8932 Mark unused args with underscore.
8933 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
8934 (edebug-form-data): Use defvar-local.
8935 (edebug-make-before-and-after-form, edebug-make-after-form):
8937 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
8938 Not dynamically scoped any more.
8939 (edebug--enter-trace): Add arguments `function' and `args'.
8940 Rename from edebug-enter-trace.
8941 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
8942 (edebug--update-coverage): Add `after-index' and `value' args.
8943 Rename from edebug-update-coverage.
8944 (edebug-slow-after): Call it accordingly.
8945 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
8946 edebug-recursive-edit.
8947 (edebug--display): Call it accordingly. Add args `value',
8948 `offset-index', and `arg-mode'. Rename from edebug-display.
8949 (edebug-debugger, edebug): Call it accordingly.
8950 (edebug-eval-display-list): Use dolist.
8952 2012-09-12 Juri Linkov <juri@jurta.org>
8954 * info.el (Info-search): Don't check for isearch-mode and
8955 isearch-regexp before let-binding search-spaces-regexp to
8956 Info-search-whitespace-regexp.
8957 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
8958 search-whitespace-regexp if isearch-lax-whitespace or
8959 isearch-regexp-lax-whitespace is non-nil.
8960 (Info-mode): Don't set local variable search-whitespace-regexp.
8961 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
8963 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8965 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
8966 (debugger-env-macro): Remove support for unread-command-char.
8968 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
8969 the temporary map re-appearing on emulation-mode-map-alists.
8971 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
8974 * ehelp.el (with-electric-help): Accept functions in
8975 electric-help-form-to-execute.
8976 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
8977 And replace unread-command-char -> unread-command-events.
8979 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
8981 Sync with Tramp 2.2.6.
8983 * net/tramp.el (tramp-accept-process-output): Don't use
8984 JUST-THIS-ONE in the XEmacs case.
8986 * net/trampver.el: Update release number.
8988 2012-09-12 Martin Rudalics <rudalics@gmx.at>
8990 * emacs-lisp/debug.el (debugger-previous-window-height):
8992 (debug): When debugger-jumping-flag is non-nil try to restore
8993 height of debugger window. (Bug#8789)
8995 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8997 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
8998 overriding-local-map and pre/post-command-hook here.
8999 (edebug-recursive-edit): Do it here instead (bug#12345).
9000 (edebug-outside-unread-command-char): Remove all uses of
9001 unread-command-char.
9003 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
9004 inhibit-debugger is bound instead.
9006 2012-09-11 Bastien Guerry <bzg@gnu.org>
9008 * subr.el (set-temporary-overlay-map): Add a docstring.
9011 2012-09-11 Bastien Guerry <bzg@gnu.org>
9013 * minibuffer.el (completion-table-subvert): Fix docstring.
9016 2012-09-11 Bastien Guerry <bzg@gnu.org>
9018 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
9020 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
9022 * progmodes/sql.el: Version 3.1
9023 (sql-db2-escape-newlines): New variable.
9024 (sql-escape-newlines-filter): Use it.
9026 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
9028 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
9030 2012-09-10 Dan Nicolaescu <dann@gnu.org>
9032 * vc/diff-mode.el (diff-mode-menu):
9033 Bind diff-remove-trailing-whitespace.
9035 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9037 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
9038 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
9039 (emacs-lisp-byte-code-mode): New functions.
9040 (eval-sexp-add-defvars): Don't skip defvars in column >0.
9041 (eval-defun-2): Remove bogus interactive spec.
9042 (lisp-indent-line): Remove redundant whole-exp code, now done in
9043 indent-according-to-mode.
9044 (save-match-data): Remove redundant indent data.
9046 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
9049 2012-09-09 Juri Linkov <juri@jurta.org>
9051 * replace.el (replace-regexp-lax-whitespace): New defcustom.
9052 (replace-lax-whitespace, query-replace-regexp)
9053 (query-replace-regexp-eval, replace-regexp): Doc fix.
9054 (perform-replace, replace-highlight): Let-bind
9055 isearch-lax-whitespace to replace-lax-whitespace and
9056 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
9058 * isearch.el (isearch-query-replace): Let-bind
9059 replace-lax-whitespace to isearch-lax-whitespace and
9060 replace-regexp-lax-whitespace to
9061 isearch-regexp-lax-whitespace. (Bug#10885)
9063 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
9065 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
9067 2012-09-09 Alan Mackenzie <acm@muc.de>
9069 * progmodes/cc-engine.el (c-state-cache-init):
9070 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
9071 (c-record-parse-state-state):
9072 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
9074 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
9076 * register.el (register-separator): Rename from
9077 separator-register. All uses changed. Doc fix.
9078 (register): Fix version.
9080 2012-09-09 Chong Yidong <cyd@gnu.org>
9082 * replace.el (query-replace-map): Bind four new symbols for
9083 requesting window scrolling.
9085 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
9086 query-replace-map (Bug#8948).
9088 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
9090 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
9091 since they are now in query-replace-map.
9093 * window.el (scroll-other-window-down): Make the arg optional.
9095 2012-09-09 Chong Yidong <cyd@gnu.org>
9097 * files.el (hack-local-variables-confirm): Use quit-window to kill
9098 the *Local Variables* buffer.
9100 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9102 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
9103 not just expect to be at its beginning. Adjust callees.
9104 Succeed when do-end block has no space before the pipe character.
9105 (ruby-brace-to-do-end): When the original block is one-liner,
9106 convert to multiline. Reindent the result.
9108 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
9110 * register.el (register): New group.
9111 (separator-register): New user option.
9112 (increment-register): Route it to `append-to-register', if
9113 register contains text. Implication is that `C-x r +' can now be
9114 used for appending to a text register (bug#12217).
9115 (append-to-register, prepend-to-register): Add separator based on
9116 `separator-register'.
9118 2012-09-08 Alan Mackenzie <acm@muc.de>
9120 AWK Mode: make auto-newline work when there's "==" in the pattern.
9121 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
9123 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
9124 Test more rigorously for "=" token.
9126 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9128 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
9129 Only fail when reached LIMIT.
9131 2012-09-08 Chong Yidong <cyd@gnu.org>
9133 * dired.el (dired-mode-map): Don't bind M-=.
9135 * dired-aux.el (dired-diff): Use backup file as default.
9137 2012-09-08 Drew Adams <drew.adams@oracle.com>
9139 * subr.el (add-to-history): Fix delete usage (Bug#12314).
9141 2012-09-08 Chong Yidong <cyd@gnu.org>
9143 * subr.el (syntax-after, syntax-class): Doc fix.
9145 2012-09-08 Martin Rudalics <rudalics@gmx.at>
9147 * window.el (display-buffer-in-previous-window): New buffer
9148 display action function.
9150 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
9151 (debugger-previous-window): New variable.
9152 (debug): Rewrite using display-buffer-in-previous-window,
9153 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
9155 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9157 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
9159 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
9161 * progmodes/python.el (python-shell-send-string):
9162 When default-directory is remote, create temp file on remote
9164 (python-shell-send-file): When file is remote, pass local view of
9165 file paths to remote Python interpreter. (Bug#12340)
9167 2012-09-07 Chong Yidong <cyd@gnu.org>
9169 * window.el (switch-to-buffer): Doc fix (Bug#12181).
9171 * files.el (after-find-file): Don't fail on a read-only buffer if
9172 require-final-newline is `visit' or `visit-save' (Bug#11156).
9174 * subr.el (read-char-choice): Allow quitting via ESC ESC.
9176 * userlock.el (ask-user-about-supersession-threat):
9177 Use read-char-choice (Bug#12093).
9179 2012-09-07 Chong Yidong <cyd@gnu.org>
9181 * subr.el (buffer-narrowed-p): New function.
9183 * ses.el (ses-widen):
9184 * simple.el (count-words--buffer-message):
9185 * net/browse-url.el (browse-url-of-buffer): Use it.
9187 * simple.el (count-words-region): Don't signal an error if there
9188 is a non-nil prefix arg and the mark is not set.
9190 * help.el (describe-key-briefly): Allow the message to be seen
9191 when invoked from the minibuffer (Bug#7014).
9193 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9195 * progmodes/ruby-mode.el (ruby-end-of-defun)
9196 (ruby-beginning-of-defun): Simplify, allow indentation before
9197 block beginning and end keywords.
9198 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
9199 (ruby-end-of-defun): Expect that the point is at the beginning of
9202 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9204 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
9206 (cl--make-usage-args): Strip _ from argument names.
9208 2012-09-06 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
9210 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
9211 obsolete alias speedbar-key-map.
9212 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
9213 (vhdl-index-menu-init): Don't use obsolete variable
9214 font-lock-maximum-size.
9216 2012-09-06 Chong Yidong <cyd@gnu.org>
9218 * frame.el (window-system-version): Mark as obsolete.
9220 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
9221 of obsolete variable speedbar-key-map.
9223 2012-09-06 Juri Linkov <juri@jurta.org>
9225 * replace.el (replace-lax-whitespace): New defcustom.
9226 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9227 (replace-string, replace-regexp): Mention it in docstrings.
9228 (perform-replace, replace-highlight): Let-bind
9229 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
9230 to the values of replace-lax-whitespace and regexp-flag.
9231 Don't let-bind search-whitespace-regexp. (Bug#10885)
9233 * isearch.el (isearch-query-replace): Let-bind
9234 replace-lax-whitespace instead of let-binding
9235 replace-search-function and replace-re-search-function.
9236 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
9237 and isearch-regexp-lax-whitespace to lazy-highlight variables.
9238 (isearch-toggle-symbol): Set isearch-regexp to nil
9239 in isearch-word mode (like in isearch-toggle-word).
9241 2012-09-06 Juri Linkov <juri@jurta.org>
9243 * replace.el (replace-search-function)
9244 (replace-re-search-function): Set default values to nil.
9245 (perform-replace): Let-bind isearch-related variables based on
9246 replace-related values, call `isearch-search-fun' and let-bind
9247 the result to `search-function'. Remove code that sets
9248 `search-function' and `search-string' separately for
9250 (replace-highlight): Add new argument `delimited-flag' and
9251 rename other arguments to the names used in `perform-replace'.
9252 Let-bind `isearch-word' to the argument `delimited-flag'.
9253 (Bug#10885, bug#10887)
9255 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9257 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
9258 ruby-beginning-of-indent, simplify, allow all keywords to have
9259 indentation before them.
9260 (ruby-beginning-of-indent): Adjust for above. Search until the
9261 found point is not inside a string or comment.
9262 (ruby-font-lock-keywords): Allow symbols to start with "@"
9263 character, give them higher priority than variables.
9264 (ruby-syntax-propertize-function)
9265 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
9266 matchers. Expression expansions are not comments when inside a
9267 string, and there comment syntax status is irrelevant.
9268 (ruby-match-expression-expansion): New function. Check that
9269 expression expansion is inside a string, and it's not escaped.
9270 (ruby-font-lock-keywords): Use it.
9272 2012-09-05 Martin Rudalics <rudalics@gmx.at>
9274 * help.el (temp-buffer-max-height): New default value.
9275 (temp-buffer-resize-frames): New option.
9276 (resize-temp-buffer-window): Optionally resize frame.
9278 * window.el (fit-frame-to-buffer-bottom-margin): New option.
9279 (fit-frame-to-buffer): New function.
9281 2012-09-05 Glenn Morris <rgm@gnu.org>
9283 * emulation/cua-rect.el (cua--init-rectangles):
9284 * textmodes/picture.el (picture-mode-map):
9285 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
9286 like forward-char and backward-char. (Bug#12317)
9288 2012-09-05 Leo Liu <sdl.web@gmail.com>
9290 * progmodes/flymake.el (flymake-warning-re): New variable.
9291 (flymake-parse-line): Use it.
9293 2012-09-05 Glenn Morris <rgm@gnu.org>
9295 * calendar/holidays.el (holiday-christian-holidays):
9296 Rename an entry. (Bug#12289)
9298 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9300 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
9303 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9305 * loadup.el: Load macroexp. Remove hack.
9306 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
9307 (macroexp--expand-all): Use it to get better warnings.
9308 (macroexp--backtrace, macroexp--trim-backtrace-frame)
9309 (internal-macroexpand-for-load): New functions.
9310 (macroexp--pending-eager-loads): New var.
9311 (emacs-startup-hook): New hack to replace one in loadup.el.
9312 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
9313 (cl--compiler-macro-cXXr): Move to top, before they can be used.
9314 (cl-psetf): Simplify.
9315 (cl-defstruct): Add indent rule.
9317 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
9319 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
9320 over `user-mail-address' for the SMTP MAIL FROM envelope.
9321 (smtpmail-via-smtp): Ditto.
9323 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
9325 * progmodes/ruby-mode.el: Clean up keybindings.
9326 (ruby-mode-map): Don't bind ruby-electric-brace,
9327 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
9328 backward-kill-word, reindent-then-newline-and-indent.
9329 (ruby-mark-defun): Remove.
9330 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
9331 (ruby-mode): Set local beginning-of-defun-function and
9332 end-of-defun-function values.
9334 2012-09-03 Martin Rudalics <rudalics@gmx.at>
9336 * window.el (temp-buffer-window-setup-hook)
9337 (temp-buffer-window-show-hook): New hooks.
9338 (temp-buffer-window-setup, temp-buffer-window-show)
9339 (with-temp-buffer-window): New functions.
9340 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
9341 (special-display-popup-frame): Make sure the window used shows BUFFER.
9343 * help.el (temp-buffer-resize-mode): Fix doc-string.
9344 (resize-temp-buffer-window): New optional argument WINDOW.
9346 * files.el (recover-file, save-buffers-kill-emacs):
9347 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
9349 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
9351 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
9352 remote definition of `default-directory', ensure we can connect.
9354 2012-09-02 Juri Linkov <juri@jurta.org>
9356 Toggle whitespace matching mode with M-s SPC.
9357 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
9359 * isearch.el (search-whitespace-regexp): Doc fix.
9360 Remove cons cell customization.
9361 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
9362 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
9364 (isearch-forward, isearch-forward-regexp): Doc fix.
9365 (isearch-toggle-lax-whitespace): New command.
9366 (search-forward-lax-whitespace, search-backward-lax-whitespace)
9367 (re-search-forward-lax-whitespace)
9368 (re-search-backward-lax-whitespace): New functions.
9369 (isearch-whitespace-regexp): Remove function.
9370 (isearch-query-replace): Let-bind replace-search-function and
9371 replace-re-search-function.
9372 (isearch-occur): Let-bind search-spaces-regexp according to the
9373 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
9374 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
9375 condition for C-q SPC.
9376 (isearch-search-fun-default): Use new functions mentioned above.
9377 (isearch-search-forward, isearch-search-backward): Remove functions.
9378 (isearch-search): Don't let-bind search-spaces-regexp.
9379 (isearch-lazy-highlight-space-regexp): Remove variable.
9380 (isearch-lazy-highlight-lax-whitespace)
9381 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
9382 (isearch-lazy-highlight-new-loop): Use them.
9383 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
9385 2012-09-02 Chong Yidong <cyd@gnu.org>
9387 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
9389 2012-09-02 Glenn Morris <rgm@gnu.org>
9391 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
9393 2012-09-01 Glenn Morris <rgm@gnu.org>
9395 * term.el: Tidy up menu definitions.
9396 (term-mode-map): Use easymenu for In/Out, Complete menus.
9397 (term-pager-break-map): Initialize in the defvar.
9398 (term-terminal-menu, term-signals-menu): Define with easymenu.
9399 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
9400 (term-pager-menu): New, extracted from term-process-pager.
9401 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
9402 (term-update-mode-line): Propertize line/char and page items.
9403 (term-process-pager): Move keymap initialization elsewhere.
9405 2012-09-01 Martin Rudalics <rudalics@gmx.at>
9407 * window.el (switch-to-prev-buffer): Handle additional values of
9408 BURY-OR-KILL argument. Don't switch in minibuffer window.
9409 (switch-to-next-buffer): Don't switch in minibuffer window.
9410 (quit-restore-window): New function based on quit-window.
9411 Handle additional values of former KILL argument.
9412 (quit-window): Call quit-restore-window with appropriate
9413 interpretation of KILL argument.
9414 (display-buffer-below-selected): New buffer display action
9417 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
9419 * minibuffer.el (completion-at-point-functions): Complete docstring
9422 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
9424 Better seed support for (random).
9425 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
9426 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
9427 * play/mpuz.el, play/tetris.el, play/zone.el:
9428 * calc/calc-comb.el (math-init-random-base):
9429 * play/blackbox.el (bb-init-board):
9430 * play/life.el (life):
9431 * server.el (server-use-tcp):
9432 * type-break.el (type-break):
9433 Remove unnecessary call to (random t).
9434 * net/sasl.el (sasl-unique-id-function):
9435 Change (random t) to (random), now that the latter is more random.
9436 * play/life.el (life-initialized): Remove no-longer-needed var.
9438 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
9440 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9441 Consider frame's buffer predicate when choosing the buffer.
9444 2012-08-30 Richard Stallman <rms@gnu.org>
9446 * simple.el (special-mode-map): Delete binding for `z'.
9448 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
9450 * progmodes/compile.el (compilation-always-kill): Doc fix.
9452 2012-08-30 Chong Yidong <cyd@gnu.org>
9454 * window.el (display-buffer-reuse-frames): Make the obsolescence
9455 message more informative.
9457 2012-08-30 Glenn Morris <rgm@gnu.org>
9459 * paren.el (show-paren-delay):
9460 Add a :set function. Doc fix. (Bug#12297)
9462 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
9464 * progmodes/compile.el (compilation-always-kill): New var.
9465 (compilation-start): Use it.
9467 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9469 * simple.el (read-only-mode): Move from files.el for bootstrapping.
9470 * files.el (read-only-mode): Move to simple.el.
9472 * files.el (read-only-mode): New minor mode.
9473 (toggle-read-only): Use it and mark obsolete.
9474 (find-file--read-only):
9475 * vc/vc.el (vc-next-action, vc-checkout):
9476 * vc/vc-cvs.el (vc-cvs-checkout):
9477 * obsolete/vc-mcvs.el (vc-mcvs-update):
9478 * ffap.el (ffap--toggle-read-only): Update callers.
9480 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
9482 * eshell/esh-ext.el (eshell-external-command): Do not examine
9483 remote shell scripts.
9484 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
9486 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
9489 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9491 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
9493 2012-08-28 Leo Liu <sdl.web@gmail.com>
9495 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
9496 completion-at-point. (Bug#12220)
9498 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
9500 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
9502 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9504 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
9505 be buffer-local; add delete-trailing-whitespace (bug#12259).
9507 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
9509 * progmodes/hideif.el (hif-compress-define-list):
9510 Fix typo. (Bug#11951)
9512 2012-08-28 Dan Nicolaescu <dann@gnu.org>
9514 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
9515 buffer local setting.
9517 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
9518 rcirc-encode-coding-system.
9520 2012-08-28 Leo Liu <sdl.web@gmail.com>
9522 * net/rcirc.el (rcirc-split-message): New function.
9523 (rcirc-send-message): Use it. (Bug#12051)
9525 2012-08-28 Juri Linkov <juri@jurta.org>
9527 * info.el (Info-fontify-node): Hide empty lines at the end of
9528 the node. (Bug#12272)
9530 2012-08-27 Drew Adams <drew.adams@oracle.com>
9532 * dired.el (dired-pop-to-buffer): Make window start at beginning
9533 of buffer (Bug#12281).
9535 2012-08-26 Chong Yidong <cyd@gnu.org>
9537 * window.el (special-display-regexps, special-display-frame-alist)
9538 (special-display-buffer-names, special-display-function)
9539 (display-buffer-reuse-frames): Mark as obsolete.
9541 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
9543 * help.el (help-print-return-message): Don't treat
9544 display-buffer-reuse-frames specially.
9546 2012-08-26 Chong Yidong <cyd@gnu.org>
9548 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
9549 New variable, replacing gdb-frame-parameters.
9550 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
9551 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
9552 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
9553 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
9554 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
9555 the functions directly with gdb-display-buffer-other-frame-action.
9556 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
9557 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
9558 (gdb-display-stack-buffer, gdb-display-locals-buffer)
9559 (gdb-display-registers-buffer): Define directly.
9560 (def-gdb-display-buffer): Macro deleted.
9561 (gdb-display-buffer): Remove second and third args, callers don't
9562 use them. Defer to the default display-buffer behavior, apart
9563 from making windows dedicated.
9564 (gdb-setup-windows): Don't call display-buffer unnecessarily.
9566 * progmodes/gud.el (gud-display-line): Just use display-buffer.
9568 * window.el (display-buffer-pop-up-frame): Handle a
9569 pop-up-frame-parameters alist entry.
9570 (display-buffer): Document it.
9572 2012-08-26 Chong Yidong <cyd@gnu.org>
9574 * isearch.el (search-whitespace-regexp): Make string and nil
9575 values apply to both ordinary and regexp search. Allow a cons
9576 cell value to distinguish between the two.
9577 (isearch-whitespace-regexp, isearch-search-forward)
9578 (isearch-search-backward): New functions.
9579 (isearch-occur, isearch-search-fun-default, isearch-search)
9580 (isearch-lazy-highlight-new-loop): Use them.
9581 (isearch-forward, isearch-forward-regexp): Doc fix.
9583 2012-08-26 Chong Yidong <cyd@gnu.org>
9585 * faces.el (help-argument-name): Always inherit from italic
9588 2012-08-25 Martin Rudalics <rudalics@gmx.at>
9590 * window.el (window--even-window-heights): Even heights when
9591 WINDOW and the selected window form a vertical combination.
9592 (display-buffer-use-some-window): Provide that window used gets
9593 sized back by quit-window. (Bug#11880) and (Bug#12091)
9595 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
9597 Fix file time stamp problem with bzr and CVS (Bug#12001).
9598 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
9599 in the file's time stamp, since the version control system loses
9602 2012-08-22 Juri Linkov <juri@jurta.org>
9604 * info.el (Info-fontify-node): Hide the suffix of the
9605 Info file name in the header line. (Bug#12187)
9607 2012-08-22 Glenn Morris <rgm@gnu.org>
9609 * calendar/cal-tex.el (cal-tex-weekly-common):
9610 Restore leading blank page.
9612 2012-08-22 Le Wang <l26wang@gmail.com>
9614 * misc.el (forward-to-word, backward-to-word): Activate or extend
9615 the region under `shift-select-mode'. (Bug#12231)
9617 2012-08-22 Bastien Guerry <bzg@gnu.org>
9619 * progmodes/executable.el (executable-prefix): Set to "#!" instead
9620 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
9621 gives details on why the space is never needed.
9623 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9625 * window.el (walk-window-tree, window-with-parameter):
9626 New optional argument MINIBUF to control whether these functions
9627 should run on the minibuffer window.
9628 (window-at-side-list): Don't operate on minibuffer window.
9629 (window-in-direction): Simplify and rewrite doc-string.
9630 (window--size-ignore): Rename to window--size-ignore-p.
9632 (display-buffer-in-atom-window, window--major-non-side-window)
9633 (window--major-side-window, display-buffer-in-major-side-window)
9634 (delete-side-window, display-buffer-in-side-window):
9636 (window--side-check, window-deletable-p, delete-window)
9637 (delete-other-windows, split-window): Handle side windows and
9638 atomic windows appropriately.
9639 (window--display-buffer): Call display-buffer-record-window also
9640 when the window buffer did not change.
9642 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
9644 * help-fns.el (help-fns--key-bindings):
9645 Abbreviate non-symbol remap targets. (Bug#12174)
9647 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9649 * dired.el (dired-mark-remembered): Don't clobber point.
9652 2012-08-22 Glenn Morris <rgm@gnu.org>
9654 * progmodes/bug-reference.el (bug-reference): New custom group.
9655 (bug-reference-bug-regexp): Make it a defcustom.
9657 2012-08-22 Daiki Ueno <ueno@unixuser.org>
9659 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
9660 (js-paren-indent-offset, js-square-indent-offset)
9661 (js-curly-indent-offset): Add :safe (Bug#12257).
9663 2012-08-22 Edward O'Connor <hober0@gmail.com>
9665 * json.el (json-key-format): Add error properties.
9666 (json-encode-key): New function.
9667 (json-encode-hash-table, json-encode-alist, json-encode-plist):
9668 Use json-encode-key.
9670 2012-08-22 Glenn Morris <rgm@gnu.org>
9672 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
9673 (cal-tex-leftday, cal-tex-rightday): Remove functions.
9674 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
9675 Update for above change.
9677 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
9679 * cus-face.el (custom-face-attributes): Fix customize type for the
9680 :underline attribute. (Bug#11805)
9682 2012-08-21 Martin Rudalics <rudalics@gmx.at>
9684 * window.el (window-point-1, set-window-point-1): Remove.
9685 (window-in-direction, record-window-buffer)
9686 (set-window-buffer-start-and-point, split-window-below)
9687 (window--state-get-1, display-buffer-record-window):
9688 Replace calls to window-point-1 and set-window-point-1 by calls to
9689 window-point and set-window-point respectively.
9691 2012-08-21 Glenn Morris <rgm@gnu.org>
9693 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
9694 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
9697 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
9698 (cal-tex-shortday): New function.
9699 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
9700 (cal-tex-cursor-filofax-daily): Use the above.
9702 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
9704 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9705 (cal-tex-cursor-filofax-week): Use them.
9707 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
9709 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9710 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
9712 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
9713 (cal-tex-end-document): Don't rely on buffer name.
9715 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
9717 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
9718 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
9719 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
9722 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
9723 (cal-tex-cursor-week, cal-tex-cursor-week2)
9724 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
9725 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9726 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
9727 (cal-tex-insert-preamble, cal-tex-b-document)
9728 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
9729 Improve cal-tex-cmd usage.
9731 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
9732 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
9733 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
9734 (cal-tex-weekly-paper): New function.
9735 (cal-tex-cursor-week, cal-tex-cursor-week2)
9736 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
9737 (cal-tex-cursor-day): Use it.
9739 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
9740 (cal-tex-cursor-filofax-week): Remove leading blank page.
9742 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9743 Add autoload cookie. For now at least, don't use color, since
9744 no other cal-tex function does.
9746 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
9747 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9748 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
9750 2012-08-21 Juri Linkov <juri@jurta.org>
9752 * info.el (Info-file-attributes): New variable.
9753 (info-insert-file-contents): Add file attributes to
9754 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
9755 `Info-toc-nodes' when previous modtime of the Info file is less
9757 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
9758 of info.el. (Bug#12230)
9760 2012-08-20 Glenn Morris <rgm@gnu.org>
9762 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
9763 * calendar/holidays.el (calendar-holiday-list):
9764 Report errors with display-warning rather than beep'n'sleep.
9766 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
9768 * net/tramp.el (tramp-accept-process-output): Accept only output
9769 from PROC. Otherwise, process filters and sentinels might be
9770 confused. (Bug#12145)
9772 2012-08-20 Chong Yidong <cyd@gnu.org>
9774 * descr-text.el (describe-text-properties-1): Use overlays-in to
9775 report on empty overlays (Bug#3322).
9777 2012-08-20 Glenn Morris <rgm@gnu.org>
9779 * mail/rmailout.el (rmail-output-read-file-name):
9780 Trap and report errors in rmail-output-file-alist elements.
9782 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
9783 since most non-font-lock faces are not also variables).
9785 2012-08-20 Edward Reingold <reingold@iit.edu>
9787 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9788 New function. (Bug12160)
9790 2012-08-19 Glenn Morris <rgm@gnu.org>
9792 * mail/rmailout.el (rmail-output-read-file-name):
9793 Fix previous change (when the alist is nil or does not match).
9795 2012-08-19 Chong Yidong <cyd@gnu.org>
9797 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
9800 2012-08-18 Chong Yidong <cyd@gnu.org>
9802 * simple.el (yank-handled-properties): New defcustom.
9803 (yank-excluded-properties): Add font-lock-face and category.
9806 * subr.el (remove-yank-excluded-properties):
9807 Obey yank-handled-properties. The special handling of font-lock-face
9808 and category is now done this way, instead of being hard-coded.
9809 (insert-for-yank-1): Remove font-lock-face handling.
9810 (yank-handle-font-lock-face-property)
9811 (yank-handle-category-property): New function.
9813 2012-08-17 Glenn Morris <rgm@gnu.org>
9815 * mail/rmailout.el (rmail-output-read-file-name):
9816 Check rmail-output-file-alist against the full message body
9817 in the correct rmail buffer. (Bug#12214)
9819 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
9821 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
9822 Eliminate superfluous prompt. (Bug#12203)
9824 2012-08-17 Chong Yidong <cyd@gnu.org>
9826 * mouse.el (mouse-appearance-menu): If x-select-font returns a
9827 font spec, set the font directly (Bug#3228).
9829 2012-08-17 Martin Rudalics <rudalics@gmx.at>
9831 * window.el (delete-window): Fix last fix.
9833 2012-08-16 Martin Rudalics <rudalics@gmx.at>
9835 * window.el (window-valid-p): Move to window.c.
9836 (window-child, window-child-count, window-last-child)
9837 (window-normalize-window, window-combined-p)
9838 (window-combinations, window-atom-root, window-min-size)
9839 (window-sizable, window-sizable-p, window-size-fixed-p)
9840 (window-min-delta, window-max-delta, window--resizable)
9841 (window--resizable-p, window-resizable, window-total-size)
9842 (window-full-height-p, window-full-width-p, window-body-size)
9843 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
9844 (minimize-window, window-deletable-p, delete-window)
9845 (delete-other-windows, set-window-buffer-start-and-point)
9846 (next-buffer, previous-buffer, split-window, balance-windows-2)
9847 (set-window-text-height, window-buffer-height)
9848 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9849 (truncated-partial-width-window-p): Minor code adjustments.
9850 In doc-strings state whether the argument window has to denote a
9851 live, valid or any window.
9853 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
9855 * progmodes/subword.el (subword-forward-function)
9856 (subword-backward-function, subword-forward-regexp)
9857 (subword-backward-regexp): New variables.
9858 (subword-forward, subword-forward-internal, subword-backward-internal):
9859 Use new variables, eg so that different "word" definitions
9860 can be easily used. (Bug#11411)
9862 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9864 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
9865 for composite selectors.
9866 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
9867 operation just because we can't find a previous revision.
9869 2012-08-15 Chong Yidong <cyd@gnu.org>
9871 * frame.el (set-frame-font): Accept font objects.
9873 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9875 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
9877 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
9879 * man.el (Man-overstrike-face, Man-underline-face)
9880 (Man-reverse-face): Remove variables.
9881 (Man-overstrike, Man-underline, Man-reverse): New faces.
9882 (Man-fontify-manpage): Use them instead of the variables.
9883 (Man-cleanup-manpage): Comment change.
9884 (Man-ansi-color-map): New variable.
9885 (Man-fontify-manpage): Use it.
9886 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
9888 Implement ANSI SGR parameters 22-27 (bug#12146).
9889 * ansi-color.el (ansi-colors): Doc fix.
9890 (ansi-color-context, ansi-color-context-region): Doc fix.
9891 (ansi-color--find-face): New function.
9892 (ansi-color-apply, ansi-color-apply-on-region): Use it.
9893 Rename the local variable `face' to `codes' since it is now a list of
9894 ansi codes. Doc fix.
9895 (ansi-color-get-face): Remove.
9896 (ansi-color-parse-sequence): New function, derived from
9897 ansi-color-get-face.
9898 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
9901 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
9903 * subr.el (read-passwd): Allow use from a minibuffer.
9905 2012-08-14 Eli Zaretskii <eliz@gnu.org>
9907 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
9908 inside comments and strings as identifiers.
9910 * progmodes/gud.el (gud-tooltip-print-command): Quote the
9911 expression to evaluate. This allows to evaluate expressions with
9912 embedded whitespace.
9913 (gud-tooltip-tips): Add a blank before the newline in the
9914 message-box text, for the benefit of message-box emulation on
9917 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
9918 messages from GDB, pop them up in a tooltip to give feedback to
9920 (gdb-tooltip-print-1): Quote the expression to evaluate.
9921 This allows to evaluate expressions with embedded whitespace.
9922 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
9923 if the TTY name is nil or empty (which happens when communicating
9924 with the inferior via pipes, e.g. on MS-Windows).
9925 (gdb-internals): If GDB sends a "&\n" empty debugging message,
9926 don't send that to the GUD buffer.
9928 2012-08-14 Glenn Morris <rgm@gnu.org>
9930 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
9931 Optimize away setq-default with no args, as for setq. (Bug#12195)
9933 2012-08-14 Chong Yidong <cyd@gnu.org>
9935 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
9937 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
9940 2012-08-14 Glenn Morris <rgm@gnu.org>
9942 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
9944 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
9946 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
9947 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9948 Use cached shell name.
9950 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9952 * progmodes/python.el (python-shell-send-string):
9953 (python-shell-send-setup-code): Do not use `format' with `message'.
9955 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
9957 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
9958 (ruby-percent-literal-beg-re): New constant.
9959 (ruby-syntax-general-delimiters-goto-beg): Rename to
9960 `ruby-syntax-enclosing-percent-literal', improve literal type check.
9961 (ruby-syntax-propertize-general-delimiters): Rename to
9962 `ruby-syntax-propertize-percent-literal', it's a shorter and more
9963 popular term. Adjust comments everywhere.
9964 (ruby-syntax-propertize-percent-literal): Only propertize when not
9965 inside a simple string or comment. When the literal is unclosed,
9966 leave the text after it unpropertized.
9967 (ruby-syntax-methods-before-regexp): New constant.
9968 (ruby-syntax-propertize-function): Use it to recognize regexps.
9969 Don't look at the text after regexp, just use the whitelist.
9971 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
9973 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
9974 non-nil always load the compiled file if it exists. (Bug#12197)
9976 2012-08-14 Chong Yidong <cyd@gnu.org>
9978 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
9979 (hi-lock-set-pattern): When deciding whether to use font lock or
9980 overlays, look at font-lock-mode instead of font-lock-fontified
9982 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
9983 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
9985 2012-08-14 Daiki Ueno <ueno@unixuser.org>
9987 * subr.el (internal--after-with-selected-window): Fix typo
9990 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9992 Use `completion-table-dynamic' for completion functions.
9993 * progmodes/python.el
9994 (python-shell-completion--do-completion-at-point)
9995 (python-shell-completion--get-completions):
9997 (python-shell-completion-complete-at-point): New function.
9998 (python-completion-complete-at-point): Use it.
10000 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
10002 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
10003 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
10005 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10007 * subr.el (function-get): Refine `autoload' arg so it can also
10008 autoload functions for gv.el (bug#12191).
10009 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
10012 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
10013 Prefer pcase-let over destructuring-bind.
10014 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
10015 Also, remove whitespace as we go, rather than after accumulating the
10018 * subr.el (internal--before-with-selected-window)
10019 (internal--after-with-selected-window): Fix typo seleted->selected.
10020 (with-selected-window): Adjust callers.
10021 Reported by Dmitry Gutov <dgutov@yandex.ru>.
10023 2012-08-13 Bastien Guerry <bzg@gnu.org>
10025 * window.el (special-display-popup-frame): Minor docstring
10026 enhancement. (Bug#12172)
10028 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
10030 * tar-mode.el (tar-header-data-end): Only ignore size for files of
10032 (tar-header-block-summarize, tar-get-descriptor): Handle pax
10035 * files.el (hack-local-variables-filter): Remove useless eval.
10037 2012-08-13 Martin Rudalics <rudalics@gmx.at>
10039 * subr.el (with-selected-window): Fix last change.
10041 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10043 * subr.el (internal--before-with-seleted-window)
10044 (internal--after-with-seleted-window): New functions.
10045 (with-selected-window): Use them, to replace dependency on
10048 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
10050 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
10051 binding for `newline'.
10052 (ruby-move-to-block): When moving backward, stop at block opening,
10054 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
10055 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
10056 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
10057 `ruby-toggle-block'.
10059 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10061 * ibuffer.el (ibuffer-do-toggle-read-only):
10062 * dired.el (dired-toggle-read-only):
10063 * buff-menu.el (Buffer-menu-toggle-read-only):
10064 * bindings.el (mode-line-toggle-read-only):
10065 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
10067 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
10069 * descr-text.el (describe-char): Put the overlays over the
10070 "displayed as" character.
10072 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
10074 * calc/calc-units.el (math-default-units-table): Give an
10076 (math-put-default-units): Add options to put composite units and
10077 unit systems in the default units table.
10078 (calc-convert-units): Send composite units to
10079 `math-put-default-units' when appropriate.
10081 2012-08-11 Glenn Morris <rgm@gnu.org>
10083 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
10085 * tutorial.el (help-with-tutorial):
10086 * emacs-lisp/copyright.el (copyright-update-directory):
10087 * emacs-lisp/autoload.el (autoload-find-generated-file)
10088 (autoload-find-file): Disable local eval: (for insurance).
10090 * files.el (hack-local-variables-filter): If an eval: form is not
10091 known to be safe, and enable-local-variables is :safe, then ignore
10092 the form totally, as is done for non-eval forms. (Bug#12155)
10093 This is CVE-2012-3479.
10095 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10097 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
10098 (rx-form): Simplify.
10100 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
10102 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
10103 ?, _, and : are symbol constituents, ! is not (but kinda should be).
10104 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
10105 (ruby-syntax-propertize-function): Adjust for changes in
10106 `ruby-syntax-propertize-heredoc'.
10108 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
10110 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
10111 binding (use `M-;' instead).
10112 (ruby-singleton-class-p): New function.
10113 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
10115 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10117 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
10119 2012-08-10 Chong Yidong <cyd@gnu.org>
10121 * progmodes/python.el (python-shell-get-process-name): Don't mess
10122 with same-window-buffer-names.
10124 * eshell/eshell.el (eshell-add-to-window-buffer-names)
10125 (eshell-remove-from-window-buffer-names): Make obsolete.
10126 (eshell-buffer-name, eshell-unload-hook): Don't use them.
10127 (eshell): Just use pop-to-buffer-same-window instead.
10129 2012-08-10 Chong Yidong <cyd@gnu.org>
10131 * bindings.el: Bind M-= back to count-words-region.
10133 * simple.el (count-words-region): Accept a prefix arg for acting
10134 on the entire buffer.
10135 (count-words--buffer-message): New helper function.
10137 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10139 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
10140 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
10141 (event-start, event-end): Use posn-at-point to return a more
10143 (posnp): New function.
10144 * mouse.el (popup-menu-normalize-position): Use it.
10146 2012-08-10 Masatake YAMATO <yamato@redhat.com>
10148 * mouse.el (popup-menu-normalize-position): New function.
10149 (popup-menu): Use `popup-menu-normalize-position' to normalize
10150 the form for POSITION argument.
10152 * term/x-win.el (x-menu-bar-open):
10153 Use the value returend from (posn-at-point) as position
10154 passed to `popup-menu'.
10156 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10158 * calc/calccomp.el (math-compose-expr): Add extra argument
10159 indicating that parentheses should be put around products in
10160 denominators. Give multiplication precedence over division during
10163 2012-08-09 Chong Yidong <cyd@gnu.org>
10165 * man.el (Man-switches, Man-sed-command, Man-awk-command)
10166 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
10167 (Man-untabify-command, manual-program): Convert to defcustom
10170 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
10172 * descr-text.el (describe-char): Don't insert extra newlines
10175 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
10176 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
10178 * align.el (align-region): Delete temporary markers (Bug#10047).
10179 Plus some code cleanups.
10181 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10183 * progmodes/python.el (python-pdbtrack-tracked-buffer)
10184 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
10185 (python-shell-internal-last-output): Use make-local-variable
10186 instead of make-variable-buffer-local.
10188 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10190 * progmodes/python.el: Enhancements to forward-sexp.
10191 (python-nav-forward-sexp): Rename from
10192 python-nav-forward-sexp-function.
10193 (python-nav--forward-sexp, python-nav--backward-sexp):
10196 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10198 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
10199 modes and simplification modes.
10201 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10203 * delsel.el (delete-selection-pre-hook): Don't propagate the
10204 file-supersession signals (bug#12161).
10206 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10208 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
10209 (cl-map-extents): Add compatibility aliases (bug#12135).
10211 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
10213 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
10214 tests by `ignore-error'.
10215 (tramp-find-shell): Open also a new shell, when cache is already
10216 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
10218 2012-08-08 Juri Linkov <juri@jurta.org>
10220 * bookmark.el: Add `defaults' property to the bookmark record.
10221 (bookmark-current-buffer): Doc fix.
10222 (bookmark-make-record): Add `defaults' property with default values
10223 to the bookmark record.
10224 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
10225 with `bookmark-insert-current-bookmark'.
10226 (bookmark-set): Get `defaults' property from the bookmark record
10227 and use it in `read-from-minibuffer'.
10228 (bookmark-insert-current-bookmark): Remove function.
10230 * info.el (Info-bookmark-make-record): Add `defaults' property
10231 with values of canonical Info node name, the current Info file
10232 name and the current Info node name. (Bug#12107)
10234 2012-08-08 Juri Linkov <juri@jurta.org>
10236 * files.el (basic-save-buffer): Use `buffer-name' as the default
10237 of `read-file-name' when buffer is not visiting a file (bug#12128).
10239 2012-08-08 Juri Linkov <juri@jurta.org>
10241 * info.el (Info-isearch-search): Doc fix.
10242 (Info-search): Change search-failed message from "initial node" to
10243 "end of node" (bug#12078).
10244 (Info-isearch-search): Change `isearch-string-state' to
10245 `isearch--state-string'.
10247 2012-08-08 Glenn Morris <rgm@gnu.org>
10249 * language/persian.el: Remove file.
10250 * language/misc-lang.el: Move unique part of persian.el here.
10251 * loadup.el: Remove language/persian.
10253 2012-08-08 Ă“scar Fuentes <ofv@wanadoo.es>
10255 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
10257 2012-08-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10259 * progmodes/python.el: Fix defsubst warning.
10260 (python-syntax-context) Rename from python-info-ppss-context.
10261 (python-syntax-context-type): Rename from
10262 python-info-ppss-context-type.
10263 (python-syntax-comment-or-string-p): Rename from
10264 python-info-ppss-comment-or-string-p.
10266 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
10268 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
10270 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
10272 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
10273 a defcustom that is quoted with backquote.
10275 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
10276 Fix handling of interactive spec when the body uses return.
10277 (math-do-arg-check, math-define-function-body): Use backquote forms.
10278 * calc/calc-ext.el (math-defcache): Likewise.
10279 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
10280 * allout.el (allout-new-exposure): Likewise.
10281 * calc/calcalg2.el (math-tracing-integral): Likewise.
10282 * info.el (Info-last-menu-item): Likewise.
10283 * emulation/vip.el (vip-loop): Likewise.
10284 * textmodes/artist.el (artist-funcall): Likewise.
10285 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
10286 Construct menu-item directly.
10288 * progmodes/autoconf.el (font-lock-syntactic-keywords):
10291 2012-08-07 Chong Yidong <cyd@gnu.org>
10293 * simple.el (deactivate-mark): Preserve text properties when
10294 saving the primary selection (Bug#8384).
10296 2012-08-07 Kevin Ryde <user42@zip.com.au>
10298 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
10299 (woman-parse-numeric-value): On a bad .IP line, issue a warning
10300 and continue processing (Bug#12110).
10302 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10304 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
10305 syntax-propertize-function (bug#10095).
10307 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10309 * help-fns.el (help-fns--key-bindings, help-fns--signature)
10310 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
10311 describe-function-1.
10312 (describe-function-1): Use them. Move compiler macro after sig.
10313 (help-fns--compiler-macro): Use function-get. Assume we're already in
10314 standard-output. Adjust layout to new call order.
10316 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
10317 re-binding a symbol that has a symbol-macro (bug#12119).
10319 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
10321 * language/persian.el: New file. (Bug#11812)
10322 * loadup.el: Add language/persian.el.
10324 2012-08-06 Chong Yidong <cyd@gnu.org>
10326 * window.el (window--maybe-raise-frame): New function.
10327 (window--display-buffer): Split off from here.
10328 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10329 (display-buffer-pop-up-window, display-buffer-use-some-window):
10330 Obey an inhibit-switch-frame action alist entry.
10331 (display-buffer): Update doc.
10333 * replace.el (occur-after-change-function): Avoid losing focus by
10334 using the inhibit-switch-frame display parameter (Bug#12139).
10336 2012-08-06 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10338 Make internal shell process buffer names start with space.
10339 * progmodes/python.el (python-shell-make-comint): Add optional
10341 (run-python-internal): Use it.
10342 (python-shell-internal-get-or-create-process): Check for new
10343 internal buffer names.
10345 2012-08-06 Glenn Morris <rgm@gnu.org>
10347 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
10348 Do less getting and setting of environment variables.
10350 2012-08-05 Chong Yidong <cyd@gnu.org>
10352 * proced.el (proced): Add substitution string to docstring to
10353 trigger autoloading of the proced library on C-h f (Bug#1768).
10355 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10356 Don't show defvars which have no second argument (Bug#8638).
10358 * imenu.el (imenu-generic-expression): Move documentation here
10359 from imenu--generic-function.
10360 (imenu--generic-function): Refer to imenu-generic-expression.
10362 2012-08-05 Vegard Ă˜ye <vegard_oye@hotmail.com> (tiny change)
10364 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
10365 indentation declaration.
10366 (viper-loop): Add indentation declaration (Bug#7025).
10368 2012-08-05 Chong Yidong <cyd@gnu.org>
10370 * help-fns.el (describe-variable): Add hyperlink for
10371 directory-local variables files. Improve buffer-local and
10372 permanent-local reporting; suggested by MON KEY (Bug#6644).
10374 * help-mode.el (help-dir-local-var-def): New button type.
10376 * files.el (kill-buffer-hook): Provide a defvar.
10378 2012-08-05 Glenn Morris <rgm@gnu.org>
10380 * eshell/esh-ext.el (eshell/addpath):
10381 Also update eshell-path-env. (Bug#12013)
10383 2012-08-05 Chong Yidong <cyd@gnu.org>
10385 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
10387 * fringe.el (fringe-styles): Add docstring.
10388 (fringe--check-mode): New function.
10389 (set-fringe-mode, set-fringe-style): Use it.
10390 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
10392 * files.el (set-auto-mode): Fix invalid setq call.
10394 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10396 * isearch.el: Misc simplification; use defstruct.
10397 (isearch-mode-map): Dense maps now work like sparse ones.
10398 (isearch--state): New defstruct.
10399 (isearch-string-state, isearch-message-state, isearch-point-state)
10400 (isearch-success-state, isearch-forward-state)
10401 (isearch-other-end-state, isearch-word-state, isearch-error-state)
10402 (isearch-wrapped-state, isearch-barrier-state)
10403 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
10404 replaced by defstruct's accessors.
10405 (isearch--set-state): Rename from isearch-top-state and change
10406 calling convention.
10407 (isearch-push-state): Use new isearch--get-state.
10408 (isearch-toggle-word): Disable regexp when enabling word.
10409 (isearch-message-prefix): Remove unused arg _c-q-hack.
10410 (isearch-message-suffix): Remove unused arg _ellipsis.
10412 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
10414 * simple.el (list-processes--refresh): For a server use :host or
10415 :local as the address.
10416 (list-processes): Doc fix.
10418 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
10420 * lisp/mpc.el: Support password in host argument.
10421 (mpc--proc-connect): Parse and use new password element.
10422 Set mpc-proc variable instead of returning process.
10423 (mpc-proc): Adjust accordingly.
10425 2012-08-03 Eli Zaretskii <eliz@gnu.org>
10427 * whitespace.el (whitespace-display-mappings): Use Unicode
10428 codepoints, instead of emacs-mule codepoints. See
10429 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
10432 * files.el (file-truename): Don't skip symlink-chasing part on
10433 windows-nt. Incorporate the resolution of 8+3 short aliases on
10434 Windows into the loop that recursively chases symlinks.
10435 Compare directory and its parent case-insensitively on MS-Windows and
10438 2012-08-03 Chong Yidong <cyd@gnu.org>
10440 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
10442 * sort.el (sort-regexp-fields): Doc fix.
10444 2012-08-03 Tassilo Horn <tsdh@gnu.org>
10446 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
10447 labels regex position point at the expected place.
10449 2012-08-03 MON KEY <monkey@sandpframing.com>
10451 * net/imap.el (imap-interactive-login, imap-authenticate)
10452 (imap-mailbox-lsub, imap-mailbox-list)
10453 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
10454 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
10455 (imap-parse-response): Doc fix.
10457 2012-08-03 JoĂ£o TĂ¡vora <joaotavora@gmail.com>
10459 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
10460 if sexp scanning does not move point (Bug#5734).
10462 2012-08-02 Tassilo Horn <tsdh@gnu.org>
10464 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
10465 Add listings, minted, and ctable packages.
10466 (reftex-label-alist-builtin): Move listings, minted, and ctable
10467 entries before LaTeX.
10468 (reftex-label-alist): Docfix.
10470 2012-08-02 Bastien Guerry <bzg@gnu.org>
10472 * replace.el (occur): Fix docstring (bug#12122).
10474 2012-08-02 Glenn Morris <rgm@gnu.org>
10476 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
10478 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
10480 Obsolete alias inactivate-current-input-method-function (Bug#10150).
10481 * international/mule-cmds.el: Create
10482 inactivate-current-input-method-function as an obsolete alias for
10483 deactivate-current-input-method-function. See Katsumi Yamaoka in
10484 <http://bugs.gnu.org/10150#46>.
10486 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
10488 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
10491 2012-08-01 Glenn Morris <rgm@gnu.org>
10493 * progmodes/autoconf.el (autoconf-definition-regexp):
10494 Add AH_TEMPLATE, adjust submatch numbering.
10495 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
10496 (autoconf-current-defun-function): Update for above change.
10497 (autoconf-current-defun-function): First skip to end of current word.
10499 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
10501 * calendar/cal-html.el (cal-html-insert-agenda-days):
10502 Fix typo. (Bug#12018)
10504 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10506 Shell processes: enhancements to startup and CEDET compatibility.
10507 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
10508 (python-shell-make-comint): accept-process-output at startup.
10509 (run-python-internal): Set inferior-python-mode-hook to nil.
10510 (python-shell-internal-get-or-create-process): call sit-for.
10511 (python-preoutput-result): Add obsolete alias.
10512 (python-shell-internal-send-string): Use it.
10513 (python-shell-send-setup-code): Remove call to
10514 accept-process-output.
10516 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
10518 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
10521 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
10523 * calc-mode.el (calc-basic-simplification-mode): Rename from
10524 `calc-limited-simplification-mode'.
10525 (calc-alg-simplification-mode): New function.
10526 (calc-set-simplify-mode): Adjust message.
10528 * calc.el (calc-set-mode-line): Adjust mode line display for
10529 basic simplification mode.
10531 * calc-help.el (calc-m-prefix-help): Update help message.
10533 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
10534 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
10536 2012-07-31 Bastien Guerry <bzg@gnu.org>
10538 * man.el (man): Fix comment. (bug#12101)
10540 2012-07-31 Martin Rudalics <rudalics@gmx.at>
10542 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
10543 Don't return a non-nil value when no suitable buffer was found.
10545 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10547 * progmodes/python.el (run-python-internal): Disable font lock for
10550 2012-07-30 Stefan Merten <smerten@oekonux.de>
10552 * textmodes/rst.el: Silence `checkdoc-ispell'.
10553 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10554 (rst-official-version, rst-official-cvs-rev)
10555 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
10556 (rst-mode-map): New key binding.
10558 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
10560 Update .PHONY listings in makefiles.
10561 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
10562 autoloads, update-subdirs, updates, bzr-update, update-authors,
10563 compile-onefile, compile-calc, backup-compiled-files,
10564 compile-after-backup, compile-one-process, mh-autoloads,
10565 bootstrap-clean, distclean, maintainer-clean.
10567 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
10569 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
10570 (calc-set-mode-line): Don't display "AlgSimp ".
10572 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
10573 (calc-lim-simplify-mode): New function.
10574 (calc-set-simplify-mode): Default to 'alg.
10575 (calc-default-simplify-mode): Make algebraic simplifications
10578 * calc/calc-ext.el (calc-init-extensions): Remove binding for
10579 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
10581 * calc/calc-help.el (calc-m-prefix-help): Change messages to
10582 indicate new simplification modes.
10584 * calc/README: Mention new default simplification mode.
10586 * calc/calc.el (math-normalize-error): New variable.
10587 (math-normalize): Set `math-normalize-error' to t
10588 when there's an error.
10590 * calc/calc-alg.el (math-simplify): Don't simplify when
10591 `math-normalize' returns an error.
10593 2012-07-29 Eli Zaretskii <eliz@gnu.org>
10595 * international/mule-cmds.el (set-locale-environment): Revert last
10596 change, since display-graphic-p returns nil when this function is
10597 called during startup. Instead...
10599 * term/w32console.el (terminal-init-w32console): ...setup the
10600 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
10602 2012-07-29 Juri Linkov <juri@jurta.org>
10604 * simple.el (goto-line): Don't display default line number in the
10605 prompt because it should be displayed by `read-number' (bug#9952).
10606 Add the current line number to the defaults of `goto-line' to
10607 allow its easier modification by users with `M-n' (bug#9201).
10609 * subr.el (read-number): Support multiple default values like in
10610 other minibuffer reading functions. Replace `read' with
10611 `string-to-number' for consistency with `number-to-string'.
10613 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
10615 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
10616 * emulation/viper-init.el (viper-deactivate-input-method-action):
10617 Rename from viper-inactivate-input-method-action.
10618 (viper-deactivate-input-method):
10619 Rename from viper-inactivate-input-method.
10620 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
10621 * international/mule-cmds.el (deactivate-input-method):
10622 Rename from inactivate-input-method.
10623 Also run input-method-deactivate-hook.
10624 (deactivate-current-input-method-function):
10625 Rename from inactivate-current-input-method-function.
10626 (input-method-deactivate-hook): New hook.
10627 (input-method-inactivate-hook): Mark obsolete.
10628 (inactivate-input-method): Mark obsolete.
10630 * international/quail.el (quail-activate):
10631 Also run quail-deactivate-hook.
10632 (quail-deactivate): Rename from quail-inactivate.
10633 * international/robin.el (robin-activate):
10634 Also run robin-deactivate-hook.
10635 (robin-deactivate): Rename from robin-inactivate.
10637 2012-07-29 Chong Yidong <cyd@gnu.org>
10639 * simple.el (indicate-copied-region): New function.
10640 (kill-ring-save): Split off from here.
10642 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
10643 (kill-rectangle): Set deactivate-mark to t on read-only error.
10645 * register.el (copy-to-register, copy-rectangle-to-register):
10646 Deactivate the mark, and use indicate-copied-region (Bug#10056).
10647 (append-to-register, prepend-to-register): Call indicate-copied-region.
10649 2012-07-29 Juri Linkov <juri@jurta.org>
10651 * simple.el (async-shell-command-buffer): New defcustom.
10652 (shell-command): Use it. (Bug#4719)
10654 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10656 * international/mule-cmds.el (set-locale-environment): In a
10657 console session on MS-Windows, set up keyboard and terminal
10658 encoding from the OEM codepage, not the ANSI codepage.
10661 2012-07-28 Chong Yidong <cyd@gnu.org>
10663 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
10666 2012-07-28 Leo Liu <sdl.web@gmail.com>
10668 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
10669 the alist (bug#12029).
10671 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10673 * makefile.w32-in (custom-deps, finder-data, updates, compile)
10674 (compile-always, compile-first)
10675 ($(lisp)/calendar/cal-loaddefs.el)
10676 ($(lisp)/calendar/diary-loaddefs.el)
10677 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10678 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
10679 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
10680 instead of on update-subdirs.
10681 (bootstrap-clean): Delete $(lisp)/subdirs.el.
10683 2012-07-28 Chong Yidong <cyd@gnu.org>
10685 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
10686 directory if vc-deduce-backend returns nil (Bug#7350).
10688 * simple.el (delete-trailing-lines): New option.
10689 (delete-trailing-whitespace): Obey it (Bug#11879).
10691 2012-07-28 David Engster <deng@randomsample.de>
10693 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
10694 Explanation of new 'symbol-qnames feature in doc-strings.
10695 (xml-maybe-do-ns): Return expanded names as plain symbols if
10696 'symbol-qnames was provided in XML-NS argument (Bug#11916).
10697 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
10699 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10701 Consistent completion in inferior python with emacs -nw.
10702 * progmodes/python.el (inferior-python-mode): replace "<tab>"
10703 binding in inferior-python-mode-map with "\t".
10704 (python-shell-completion-complete-at-point)
10705 (python-completion-complete-at-point): Remove interactive spec.
10707 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10709 * calc/calccomp.el (math-compose-expr): Undo previous change.
10711 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10713 * progmodes/python.el (python-mode-map): Add keybinding for
10715 (python-shell-make-comint): Fix pop-to-buffer call.
10716 (run-python): Autoload. New arg SHOW.
10717 (python-shell-get-or-create-process): Do not pop python process
10720 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
10722 * notifications.el (notifications-on-action-signal)
10723 (notifications-on-closed-signal): Use also the bus address for the map.
10724 (notifications-notify, notifications-close-notification)
10725 (notifications-get-capabilities): Add optional argument BUS.
10727 2012-07-27 Tassilo Horn <tsdh@gnu.org>
10729 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
10730 Add support for the lstlisting and minted environments, and for the
10732 * textmodes/reftex.el (reftex-compile-variables): Also recognize
10733 labels written in keyvals syntax.
10735 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10737 * calc/calccomp.el (math-compose-expr): Use parentheses when
10738 there is a product in the denominator of a fraction.
10740 2012-07-26 Eli Zaretskii <eliz@gnu.org>
10742 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
10743 ($(lisp)/calendar/diary-loaddefs.el)
10744 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10745 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
10746 Fixes failures in parallel bootstrap because subdirs.el is being
10747 rewritten while the autoload files are built at the same time,
10748 which needs to load subdirs.el.
10750 2012-07-26 Martin Rudalics <rudalics@gmx.at>
10752 * mouse.el (popup-menu): Fix doc-string and re-indent code.
10753 (mouse-drag-line): Don't exit tracking when a switch-frame or
10754 switch-window event occurs (Bug#12006).
10756 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10758 * mouse.el (popup-menu): Fix last change.
10760 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10762 Autoload from Lisp with more care. Follow aliases when looking for
10763 function properties.
10764 * subr.el (autoloadp): New function.
10765 (symbol-file): Use it.
10766 (function-get): New function.
10767 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
10769 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
10770 (lisp-indent-function):
10771 * emacs-lisp/gv.el (gv-get):
10772 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
10773 * emacs-lisp/byte-opt.el (byte-optimize-form):
10774 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10775 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
10777 * emacs-lisp/cl.el: Don't propagate function properties any more.
10779 * speedbar.el (speedbar-add-localized-speedbar-support):
10780 * emacs-lisp/disass.el (disassemble-internal):
10781 * desktop.el (desktop-load-file):
10782 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
10783 (describe-function-1):
10784 * emacs-lisp/find-func.el (find-function-noselect):
10785 * emacs-lisp/elp.el (elp-instrument-function):
10786 * emacs-lisp/advice.el (ad-has-proper-definition):
10787 * apropos.el (apropos-safe-documentation, apropos-macrop):
10788 * emacs-lisp/debug.el (debug-on-entry):
10789 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
10790 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
10791 * calc/calc.el (name): Use autoloadp & autoload-do-load.
10793 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
10795 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
10796 function, not an obsolete variable (Bug#12046).
10798 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10800 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
10802 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
10804 * emacs-lisp/pp.el (pp-display-expression): Select old selected
10805 window only if it is still live (Bug#12034).
10807 2012-07-25 Martin Rudalics <rudalics@gmx.at>
10809 * subr.el (redirect-frame-focus): Add advertised calling
10810 convention (Bug#12030).
10812 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
10814 Prefer typical American spelling for "acknowledgment".
10815 * vc/add-log.el (change-log-acknowledgment): Rename from
10816 change-log-acknowledgement, with an alias for the old name.
10818 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
10820 * calc-alg.el (math-simplify-divide): Don't cross multiply
10821 in an equation when the lhs is a variable.
10823 2012-07-24 Julien Danjou <julien@danjou.info>
10825 * net/netrc.el (netrc-find-service-number, netrc-store-data):
10828 2012-07-23 Eli Zaretskii <eliz@gnu.org>
10830 * startup.el (command-line): Don't display an empty user name in
10831 the error message about non-existent home directory, when
10832 init-file-user was set to an empty string. See
10833 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
10834 for the details and context.
10836 2012-07-22 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10838 * ses.el (ses-cell-formula-aset): New macro.
10839 (ses-cell-references-aset): New macro.
10840 (ses-cell-p): New function.
10841 (ses-rename-cell): Do no longer rely on complex operations like
10842 ses-cell-set-formula or ses-set-cell to change the cell and handle
10843 the undo at the same time, but rather use lower level new macros
10844 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
10845 the undo directly. Refresh the mode line.
10847 2012-07-21 Leo Liu <sdl.web@gmail.com>
10849 * progmodes/cc-cmds.el (c-defun-name):
10850 Use match-string-no-properties instead for consistency.
10852 2012-07-20 Leo Liu <sdl.web@gmail.com>
10854 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
10857 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
10859 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
10861 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
10862 * progmodes/bug-reference.el, misearch.el: Provide themselves
10865 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
10866 of narrowed buffer (bug#11966).
10868 2012-07-20 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10870 * ses.el (ses-rename-cell): Set new name also in reference list of
10871 cells of which the renamed cell depends.
10873 2012-07-20 Masatake YAMATO <yamato@redhat.com>
10875 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
10876 to check whether menu-bar is shown or not. If not shown,
10877 show the menu-bar as a popup menu instead of using tmm.
10878 * mouse.el (popup-menu): Accept `point' as `position' argument.
10880 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
10882 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
10883 up inside string symbol literal (bug#11923).
10885 2012-07-20 Eli Zaretskii <eliz@gnu.org>
10887 * startup.el (fancy-startup-text): Read the whole tutorial, not
10888 just its first 256 bytes. Prevents gibberish in display of the
10891 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
10893 Drop idle buffer compaction due to an absence of the
10895 * compact.el: Remove.
10897 2012-07-19 Sam Steingold <sds@gnu.org>
10899 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
10900 vc-bzr-pull & vc-bzr-merge-branch.
10901 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
10902 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
10903 for consistency with compilation-error-regexp-alist.
10904 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
10905 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
10906 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
10907 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
10909 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
10911 * emacs-lisp/chart.el: Use lexical-binding.
10912 (chart-emacs-storage): Don't hardcode the list of entries.
10914 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
10916 Next round of tweaks caused by Fgarbage_collect changes.
10917 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
10919 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
10921 Compact buffers when idle.
10922 * compact.el: New file.
10924 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
10926 * subr.el (eventp): Presume that if it looks vaguely like an event,
10927 it's an event (bug#10190).
10929 2012-07-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10931 Enhancements to ppss related code (thanks Stefan).
10932 * progmodes/python.el (python-indent-context)
10933 (python-indent-calculate-indentation, python-indent-dedent-line)
10934 (python-indent-electric-colon, python-nav-forward-block)
10935 (python-mode-abbrev-table)
10936 (python-info-assignment-continuation-line-p): Simplify checks
10938 (python-info-continuation-line-p): Cleanup.
10939 (python-info-ppss-context): Do not catch 'quote.
10940 (python-info-ppss-context-type)
10941 (python-info-ppss-comment-or-string-p): Simplify.
10943 2012-07-18 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10945 * progmodes/python.el: Enhancements to eldoc support.
10946 (python-info-current-symbol): New function.
10947 (python-eldoc-at-point): Use python-info-current-symbol.
10948 (python-info-current-defun): Fix cornercase on first defun scan.
10949 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
10950 and signal error when no inferior python process is available.
10952 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
10954 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
10955 assume it's always t.
10956 (vc-git-registered): Remove caching, the function is only called
10958 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
10960 2012-07-18 Chong Yidong <cyd@gnu.org>
10962 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
10964 * simple.el (count-words): Report on narrowing (Bug#9959).
10966 * bindings.el: Bind M-= to count-words.
10968 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
10970 2012-07-18 Masatake YAMATO <yamato@redhat.com>
10972 * progmodes/sh-script.el (sh-imenu-generic-expression):
10973 Capture a function with `function' keyword and without parentheses
10974 like "function FOO" (bug#11856).
10976 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
10978 * window.el (split-window-sensibly): Make WINDOW argument
10981 2012-07-18 Chong Yidong <cyd@gnu.org>
10983 * subr.el (keyboard-translate): Doc fix (Bug#7261).
10985 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
10986 and make C-x 8 RET exit isearch (Bug#11439).
10988 * international/iso-transl.el: Move isearch-mode-map key
10989 definitions to isearch.el.
10991 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
10993 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
10994 (eieio-defclass): Use gv-define-setter when possible.
10996 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
10998 Reflect recent changes in Fgarbage_collect.
10999 * emacs-lisp/chart.el (chart-emacs-storage): Change to
11000 reflect new format of data returned by Fgarbage_collect.
11002 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11004 New utility functions + python-info-ppss-context fix (Bug#11910).
11005 * progmodes/python.el (python-info-beginning-of-block-statement-p)
11006 (python-info-ppss-comment-or-string-p): New functions.
11007 (python-info-ppss-context): Small fix for string check.
11009 2012-07-17 Juri Linkov <juri@jurta.org>
11011 * dired-aux.el (dired-do-async-shell-command): Doc fix.
11012 (dired-do-async-shell-command): Don't add `*' at the end of the
11013 command (Bug#11815).
11014 (dired-do-shell-command): Doc fix.
11015 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
11016 Join the individual commands using either "&" or ";" as the
11017 separator depending on the values of these trailing characters.
11018 At the end re-add the trailing "&". (Bug#10598)
11020 * simple.el (async-shell-command): Sync the interactive spec with
11021 `shell-command'. Doc fix.
11022 (shell-command): Doc fix.
11024 2012-07-17 Juri Linkov <juri@jurta.org>
11026 * descr-text.el (describe-char): Fix format args. (Bug#10129)
11028 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11030 Final renames and doc fixes for movement commands (bug#11899).
11031 * progmodes/python.el (python-nav-beginning-of-statement):
11032 Rename from python-nav-statement-start.
11033 (python-nav-end-of-statement): Rename from
11034 python-nav-statement-end.
11035 (python-nav-beginning-of-block): Rename from
11036 python-nav-block-start.
11037 (python-nav-end-of-block): Rename from python-nav-block-end.
11039 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11041 * progmodes/python.el (python-shell-send-string-no-output):
11042 Allow accept-process-output to quit, keeping shell process ready for
11043 future interactions (Bug#11868).
11045 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11047 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
11049 * emacs-lisp/elint.el (elint-find-args-in-code):
11050 Use help-function-arglist, so as to handle lexical byte-code.
11052 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
11053 change (bug#11826).
11055 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11057 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
11058 Avoid spuriously marking the buffer as modified because of c-is-sws.
11060 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
11061 as not-a-comment (bug#11946).
11063 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
11064 for uninterned vars.
11066 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
11067 Use read-event since we don't really want to read chars but bytes.
11069 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
11070 $$..$$ but also $..$ using regexps (bug#11953).
11071 Use tex-verbatim for \url and \path.
11072 (tex-font-lock-keywords): Define as defconst like the others.
11073 (tex-common-initialization): Don't use font-lock-syntax-table any more.
11075 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
11077 * international/mule-cmds.el (ucs-insert): Make it an obsolete
11078 alias for insert-char.
11080 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11082 * progmodes/python.el: Simplified imenu implementation.
11083 (python-nav-jump-to-defun): Remove command.
11084 (python-mode-map): Use `imenu' instead.
11085 (python-nav-list-defun-positions-cache)
11086 (python-imenu-include-defun-type, python-imenu-make-tree)
11087 (python-imenu-subtree-root-label, python-imenu-index-alist):
11089 (python-nav-list-defun-positions, python-nav-read-defun)
11090 (python-imenu-tree-assoc, python-imenu-make-element-tree)
11091 (python-imenu-make-tree, python-imenu-create-index):
11093 (python-mode): Update to interact with imenu by setting
11094 `imenu-extract-index-name-function' only.
11096 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11098 * progmodes/python.el: Enhancements to navigation commands.
11099 (python-nav-backward-sentence)
11100 (python-nav-forward-sentence): Remove.
11101 (python-nav-backward-statement, python-nav-forward-statement)
11102 (python-nav-statement-start, python-nav-statement-end)
11103 (python-nav-backward-block, python-nav-forward-block)
11104 (python-nav-block-start, python-nav-block-end)
11105 (python-nav-forward-sexp-function)
11106 (python-info-current-line-comment-p)
11107 (python-info-current-line-empty-p): New functions.
11108 (python-indent-context): Use `python-nav-statement-start'.
11110 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
11112 * eshell/em-ls.el (eshell/ls): Use `apply'.
11114 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
11115 multi-hops, instead of Tramp internals.
11117 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
11119 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
11120 when F1 and F2 are located on different hosts.
11122 2012-07-14 Chong Yidong <cyd@gnu.org>
11124 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
11125 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
11126 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
11127 (xterm-mouse--read-event-sequence-1000)
11128 (xterm-mouse--read-event-sequence-1006): New functions. For old
11129 mouse protocol, handle M-mouse-X events correctly.
11130 (xterm-mouse-event): New arg specifying mouse protocol.
11131 (turn-on-xterm-mouse-tracking-on-terminal)
11132 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
11133 sequence to toggle extended coordinates on newer XTerms.
11134 This appears to be harmless on terminals which do not support this.
11136 2012-07-14 Leo Liu <sdl.web@gmail.com>
11138 Add fringe bitmap indicators for flymake. (Bug#11253)
11139 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
11140 (flymake-make-overlay): New arg BITMAP.
11141 (flymake-error-bitmap, flymake-warning-bitmap)
11142 (flymake-fringe-indicator-position): New user variables.
11144 * fringe.el: New bitmap exclamation-mark.
11146 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
11148 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
11151 2012-07-14 Chong Yidong <cyd@gnu.org>
11153 * electric.el (electric-pair-post-self-insert-function): Fix pair
11154 insertion in empty-region case (Bug#11520).
11156 2012-07-14 Chong Yidong <cyd@gnu.org>
11158 * bindings.el: Consolidate ctl-x-r-map bindings.
11159 Bind copy-rectangle-as-kill to C-x r w.
11161 * rect.el, register.el: Move bindings to bindings.el.
11163 2012-07-14 Reuben Thomas <rrt@sc3d.org>
11165 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
11167 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
11169 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
11171 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
11173 * bindings.el (top): Use `mapc' instead of `mapcar'.
11175 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
11177 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
11179 * progmodes/sql.el (sql-comint): Suppress the check for program on
11180 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
11183 2012-07-13 Chong Yidong <cyd@gnu.org>
11185 * bindings.el: Assign a non-nil permanent-local property to
11186 per-buffer variables which lack a default value (Bug#11930).
11188 * help-fns.el (describe-variable): In the "automatically becomes
11189 local" notice, take note of permanent-local variables.
11191 2012-07-13 Chong Yidong <cyd@gnu.org>
11193 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
11194 to allow printing the message when called from Lisp.
11196 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11197 Remove toggle-read-only.
11199 * bs.el (bs-toggle-readonly):
11200 * buff-menu.el (Buffer-menu-toggle-read-only):
11201 Remove with-no-warnings around toggle-read-only.
11203 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
11204 Remove with-no-warnings around toggle-read-only.
11205 (ffap-read-only, ffap-read-only-other-window)
11206 (ffap-read-only-other-frame): Callers changed.
11208 * help-mode.el: Don't require view package.
11209 (help-mode-finish): Set buffer-read-only instead of calling
11212 * bindings.el (mode-line-toggle-read-only):
11213 * dired.el (dired-toggle-read-only):
11214 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
11215 with non-nil second arg.
11217 * emacs-lisp/eieio-custom.el (eieio-customize-object):
11218 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
11221 2012-07-12 Eli Zaretskii <eliz@gnu.org>
11223 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
11226 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
11228 More CL cleanups and reduction of use of cl.el.
11229 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
11230 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
11231 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
11232 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
11233 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
11234 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
11235 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
11236 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
11237 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
11238 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
11239 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
11240 * eshell/em-cmpl.el, eshell/em-banner.el:
11241 * calendar/parse-time.el: Use cl-lib.
11242 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
11243 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
11244 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
11245 * term/ns-win.el, term.el, shell.el, ps-samp.el:
11246 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
11247 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
11248 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
11249 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
11250 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
11251 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
11252 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
11253 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
11254 `lambda' rather than with `quote'.
11255 (eshell-do-opt): Adjust accordingly.
11256 (eshell-process-option): Simplify.
11257 * eshell/esh-var.el:
11258 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
11259 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
11260 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
11261 to `pcase--dontcare'.
11262 * emacs-lisp/cl.el (labels): Mark obsolete.
11263 (cl--letf, letf): Move to cl-lib.
11264 (cl--letf*, letf*): Remove.
11265 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
11266 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
11267 (cl-progv): Rewrite.
11268 (cl--letf, cl-letf): Move from cl.el.
11269 (cl-letf*): New macro.
11270 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
11272 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
11274 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
11276 2012-07-11 Chong Yidong <cyd@gnu.org>
11278 * vc/log-edit.el (log-edit-vc-backend): New variable.
11279 (log-edit): Doc fix.
11281 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
11282 argument of log-edit to set up all local variables.
11283 (vc-start-logentry): New optional arg specifying VC backend.
11285 * vc/vc.el (vc-checkin): Use it.
11286 (vc-deduce-fileset): Handle Log Edit buffers.
11287 (vc-diff): Make first argument optional too.
11289 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
11291 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
11293 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
11294 command, just in case. The function is not needed anymore.
11295 (eshell-external-command): Do not call `eshell-remote-command'.
11297 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
11299 Reduce use of (require 'cl).
11300 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
11301 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
11302 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
11303 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
11304 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
11305 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
11306 * battery.el, avoid.el, abbrev.el: Use cl-lib.
11307 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
11308 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
11309 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
11310 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
11311 * calculator.el, autorevert.el, apropos.el: Don't require CL.
11312 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
11313 (byte-compile-unfold-bcf, byte-compile-check-variable):
11314 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
11315 (byte-compile-nilconstp):
11316 * emacs-lisp/autoload.el (make-autoload): Use pcase.
11317 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
11319 * emacs-lisp/gv.el (cond): Make it a valid place.
11320 (if): Simplify slightly.
11322 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
11323 (pcase--self-quoting-p): New function.
11324 (pcase--u1): Use it.
11326 2012-07-10 Glenn Morris <rgm@gnu.org>
11328 * emacs-lisp/authors.el (authors-fixed-entries):
11329 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
11331 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
11333 Rename configure.in to configure.ac (Bug#11603).
11334 * emacs-lisp/authors.el (authors-canonical-file-name):
11335 * progmodes/autoconf.el (autoconf-mode):
11336 Prefer configure.ac to configure.in.
11338 2012-07-08 Chong Yidong <cyd@gnu.org>
11340 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
11341 Implement the mouse-1-click-follows-link handling properly.
11343 * info.el (Info-link-keymap): Use follow-link mechanism for
11344 header-line links (Bug#374).
11346 * simple.el (deactivate-mark): Do not set the primary selection
11347 if another program has acquired it (Bug#11772).
11349 2012-07-07 Kevin Ryde <user42@zip.com.au>
11351 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
11352 (woman-decode-region): Replace escaped-escapes without destroying
11353 bold or underline (Bug#11552).
11354 (woman2-process-escapes): Handle nofill regions (Bug#11591).
11356 2012-07-07 Chong Yidong <cyd@gnu.org>
11358 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
11359 (interprogram-cut-function, interprogram-paste-function):
11360 Mention that we typically mean the clipboard.
11362 2012-07-06 Glenn Morris <rgm@gnu.org>
11364 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
11366 * files.el (toggle-read-only): Restrict message to interactive use.
11368 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
11370 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
11372 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
11374 2012-07-06 Glenn Morris <rgm@gnu.org>
11376 * Makefile.in (compile-one-process): Rename from "recompile".
11378 * Makefile.in (bzr-update): "compile" is the same as "recompile
11379 autoloads", but parallelizable, so use that instead.
11381 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
11383 * window.el (quit-window): Always restore window height when
11384 it's saved in quit-restore parameter (Bug#11810).
11386 2012-07-06 Glenn Morris <rgm@gnu.org>
11388 * simple.el (kill-whole-line): Doc tweak.
11390 2012-07-06 Eli Zaretskii <eliz@gnu.org>
11392 * files.el (file-relative-name): Compare file names
11393 case-insensitively if on MS-Windows or MS-DOS, or if
11394 read-file-name-completion-ignore-case is non-nil. Don't use
11395 case-fold-search for this purpose. (Bug#11827)
11397 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
11399 * calendar/cal-dst.el (calendar-current-time-zone):
11400 Return calendar-current-time-zone-cache if non-nil.
11402 2012-07-17 Masatake YAMATO <yamato@redhat.com>
11403 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11405 * calendar/cal-dst.el (calendar-current-time-zone):
11406 Return calendar-current-time-zone-cache if non-nil.
11408 2012-07-06 Glenn Morris <rgm@gnu.org>
11410 * Makefile.in (cvs-update): Remove old alias.
11412 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
11414 Sync with Tramp 2.2.6-pre.
11416 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
11417 compatible declaration.
11419 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11420 Protect `list-load-path-shadows' call.
11422 * net/tramp-compat.el (top): Require packages, which aren't
11423 autoloaded anymore for XEmacs. Protect call of
11424 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
11425 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
11426 it hurts at least for SXEmacs.
11427 (tramp-compat-temporary-file-directory): In XEmacs, there is no
11428 standard-value for `temporary-file-directory'.
11430 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
11431 Redirect stderr to /dev/null.
11432 (tramp-sh-handle-write-region): uid and gid can be floats.
11433 Reported by Russell Sim <russell.sim@gmail.com>.
11434 (tramp-sh-handle-vc-registered): Hide errors.
11435 (tramp-vc-file-name-handler): Use dummy results for `process-file'
11436 and `start-file-process'.
11437 (tramp-maybe-open-connection): Check also whether `non-essential'
11440 2012-07-04 Chong Yidong <cyd@gnu.org>
11442 * xml.el (xml--parse-buffer): Use xml-syntax-table.
11443 (xml-parse-tag): Likewise, and avoid changing entity tables.
11444 (xml-syntax-table): Define from scratch, making sure not to give
11445 x2000 and other Unicode spaces whitespace syntax, since those are
11447 (xml-parse-fragment): Delete unused function.
11448 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
11449 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
11450 (xml-entity-ref, xml-pe-reference-re)
11451 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
11452 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
11453 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
11454 (xml-entity-value-re): Use syntax references in regexps where
11455 possible; no need to define inside a let-binding.
11456 (xml-parse-dtd): Use xml-pe-reference-re.
11457 (xml-entity-or-char-ref-re): New defconst.
11458 (xml-parse-string, xml-substitute-special): Use it.
11460 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11462 * files.el (locate-dominating-file): Allow `name' to be a predicate.
11463 (find-file--read-only): New function.
11464 (find-file-read-only, find-file-read-only-other-window)
11465 (find-file-read-only-other-frame): Use it.
11466 (insert-file-contents-literally): Don't `fset'.
11467 (get-free-disk-space): Use locate-dominating-file.
11469 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
11470 function is already compiled.
11472 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
11474 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
11476 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
11477 files on the same host.
11479 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
11481 * help-fns.el (describe-function-1): Only call
11482 help-fns--autoloaded-p when we have a file name. (Bug#11848)
11484 2012-07-03 Chong Yidong <cyd@gnu.org>
11486 * xml.el: Protect parser against XML bombs.
11487 (xml-entity-expansion-limit): New variable.
11488 (xml-parse-string, xml-substitute-special): Use it.
11489 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
11491 2012-07-03 Glenn Morris <rgm@gnu.org>
11493 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11494 Allow linking to specific messages in debbugs reports (eg 123#5).
11496 2012-07-02 Chong Yidong <cyd@gnu.org>
11498 * xml.el: Fix entity and character reference expansion, allowing
11499 them to expand into markup as per XML spec.
11500 (xml-default-ns): New variable.
11501 (xml-entity-alist): Use XML spec definitions for lt and amp.
11502 (xml-parse-region): Make first two arguments optional.
11503 Discard text properties.
11504 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
11505 All callers changed.
11506 (xml-parse-tag): Call xml-parse-tag-1. For backward
11507 compatibility, this function should not modify buffer contents.
11508 (xml-parse-tag-1): Fix opening-tag regexp.
11509 (xml-parse-string): Rewrite, handling entity and character
11510 references properly.
11511 (xml--entity-replacement-text): Signal an error if a parameter
11512 entity is undefined.
11514 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11516 * comint.el (comint-output-filter): Filter out repeated prompts.
11518 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
11519 and file-name-absolute-p.
11520 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
11523 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
11526 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
11527 Rename from byte-compile--refiy-function. All uses changed.
11529 2012-07-01 Chong Yidong <cyd@gnu.org>
11531 * xml.el (xml--parse-buffer): New function. Move most of
11532 xml-parse-region here.
11533 (xml-parse-region): Copy region into a temporary buffer, since
11534 parameter entity substitution requires changing buffer contents.
11535 Use xml--parse-buffer.
11536 (xml-parse-file): Use xml--parse-buffer.
11537 (xml-parse-dtd): Make parameter entity substitution work right.
11538 Use proper regexps for ELEMENT declarations (Bug#7172).
11540 2012-06-30 Glenn Morris <rgm@gnu.org>
11542 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
11544 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
11545 Remove outdated and unnecessary dbus declarations.
11547 2012-06-30 Eli Zaretskii <eliz@gnu.org>
11549 * emacs-lisp/timer.el (timer-until): Subtract results of
11550 float-time, instead of taking float-time of the result of
11551 time-subtract, since float-time signals an error for negative time
11554 2012-06-30 Chong Yidong <cyd@gnu.org>
11556 * xml.el (xml-*-re): Convert defvars into defconsts, and
11557 eval-and-compile them so eval-and-compile works on derivatives.
11558 (xml--entity-replacement-text): Use eval-and-comple.
11560 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
11562 * vc/vc-git.el (vc-git-registered): Use cache property
11564 (vc-git-mode-line-string): Call `vc-working-revision' instead of
11565 `vc-git-working-revision' in order to benefit from the cache.
11566 (vc-git-root): Use cache property `git-root'. (Bug#11757)
11568 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
11570 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
11571 removed (likely outside Emacs). (Bug#11757)
11573 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11575 * emacs-lisp/cl-lib.el: Require macroexp.
11577 2012-06-30 Chong Yidong <cyd@gnu.org>
11579 * xml.el: Implement XML parameter entities.
11580 (xml-parameter-entity-alist): New variable.
11581 (xml-parse-region, xml-parse-fragment): Preserve previous values
11582 of xml-entity-alist and xml-parameter-entity-alist, so that
11583 repeated calls on different documents do not change them.
11584 (xml-parse-tag): Fix doctype regexp.
11585 (xml--entity-replacement-text): New function.
11586 (xml-parse-dtd): Use it. Don't handle system entities; doing that
11587 properly requires url retrieval which is unimplemented.
11588 (xml-escape-string): Doc fix.
11590 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11592 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
11594 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
11596 * fringe.el (fringe-mode): Doc fix.
11598 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
11600 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
11602 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
11603 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
11605 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
11607 * calendar/cal-dst.el (calendar-current-time-zone):
11608 Return calendar-current-time-zone-cache if non-nil.
11610 2012-06-29 Masatake YAMATO <yamato@redhat.com>
11612 * progmodes/which-func.el (which-func-format):
11613 Add mouse-face. (Bug#11698)
11615 2012-06-29 Leo Liu <sdl.web@gmail.com>
11617 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
11619 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11621 * minibuffer.el (minibuffer-confirm-exit-commands):
11622 Add completion-at-point (bug#11725).
11624 2012-06-29 Glenn Morris <rgm@gnu.org>
11626 * progmodes/f90.el (f90-font-lock-keywords-2):
11627 Add some preprocessor elements. (Bug#10499)
11629 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11631 * progmodes/cperl-mode.el (cperl-update-syntaxification):
11632 Use syntax-propertize (bug#11739).
11634 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
11636 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
11638 2012-06-28 Julien Danjou <julien@danjou.info>
11640 * term.el (term-handle-colors-array): Use a set of new faces to
11641 color the terminal. Also uses :inverse-video property.
11642 (term-default-fg-color): Set to nil by default, deprecate in favor
11644 (term-default-bg-color): Set to nil by default, deprecate in favor
11646 (term-current-face): Use `term-face' by default.
11647 (term-bold-attribute): Variable deleted.
11649 2012-06-28 Glenn Morris <rgm@gnu.org>
11651 * simple.el (completion-list-mode-finish):
11652 Don't use toggle-read-only. (Since completion-list-mode has
11653 a special mode-class, it wasn't doing anything extra anyway.)
11655 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
11657 Make inlining of other-mode interpreted functions work (bug#11799).
11658 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
11659 (byte-compile): Use it to fix compilation of lexical-binding closures.
11660 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
11661 function, if needed.
11663 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11665 * help-mode.el (help-make-xrefs): Don't just withstand
11666 cyclic-variable-indirection but any error in documentation-property.
11668 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
11670 * bindings.el (bindings--define-key): New function.
11671 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
11672 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
11673 * bindings.el: Use it to purecopy define-key bindings.
11675 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
11677 * emacs-lisp/cl.el (flet): Mark obsolete.
11678 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
11679 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
11680 * progmodes/js.el (js-c-fill-paragraph):
11681 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
11682 (ebrowse-switch-member-buffer-to-derived-class):
11683 * play/5x5.el (5x5-solver): Use cl-flet.
11685 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
11686 (cl--symbol-function): New macro.
11687 (cl--letf, cl--letf*): Use it.
11689 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
11690 Strip "toggle-" if any.
11692 2012-06-27 Glenn Morris <rgm@gnu.org>
11694 * info.el (Info-default-directory-list): Move here from paths.el.
11695 * paths.el: Remove file, which is now empty.
11696 * loadup.el: No longer load "paths".
11698 * custom.el (custom-initialize-delay): Doc fix.
11700 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11701 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
11702 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
11703 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
11704 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
11705 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
11706 * eshell/eshell.el (eshell-defgroup): Remove alias.
11708 2012-06-27 Chong Yidong <cyd@gnu.org>
11710 * help.el (help-enable-auto-load): New variable.
11712 * help-fns.el (help-fns--autoloaded-p): New function.
11713 (describe-function-1): Refer to a function as "autoloaded" if it
11714 was autoloaded at any time in the past. Perform autoloading if
11715 help-enable-auto-load is non-nil.
11717 2012-06-26 Eli Zaretskii <eliz@gnu.org>
11719 * makefile.w32-in (compile, compile-always): Depend on
11720 update-subdirs, not on subdirs.el. Otherwise, several different
11721 sub-targets of 'bootstrap' running in parallel could
11722 simultaneously write to subdirs.el, producing a garbled file.
11724 2012-06-26 Sam Steingold <sds@gnu.org>
11726 * files.el (file-name-base): New convenience function.
11727 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
11728 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
11729 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
11730 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
11731 * textmodes/ispell.el, textmodes/reftex-ref.el:
11732 * textmodes/tex-mode.el: Use it.
11733 Did not touch cedet and org because they are maintained elsewhere.
11735 2012-06-26 Martin Rudalics <rudalics@gmx.at>
11737 * calendar/calendar.el (calendar-exit): Don't try to delete or
11738 iconify last frame. See:
11739 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
11741 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
11743 * server.el (server-process-filter): Remember dir in the
11744 process's `server-client-directory' properties.
11746 2012-06-24 Chong Yidong <cyd@gnu.org>
11748 * xml.el (xml-parse-tag): Correctly handle comment embedded in
11751 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
11753 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
11755 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11757 * help-fns.el (describe-variable): Don't croak when doc is not found.
11758 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
11759 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
11760 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
11761 * emacs-lisp/smie.el (smie-next-sexp): CSE.
11762 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
11764 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
11766 2012-06-23 Chong Yidong <cyd@gnu.org>
11768 * info.el (Info-mouse-follow-link): Accept symbol values of
11769 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
11770 (Info-fontify-node): Use Info-link-keymap for all navigation
11771 buttons, with link-args property to perform the desired action.
11772 (Info-link-keymap): Doc fix.
11773 (Info-next-link-keymap, Info-prev-link-keymap)
11774 (Info-up-link-keymap): Delete now-unused keymaps.
11776 2012-06-23 Chong Yidong <cyd@gnu.org>
11778 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
11780 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
11783 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
11785 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11787 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
11790 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
11791 the requote function doesn't work properly (bug#11714).
11793 2012-06-23 Glenn Morris <rgm@gnu.org>
11795 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
11797 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11799 Further GV/CL cleanups.
11800 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
11802 (gv--defun-declaration): New function.
11803 (defun-declarations-alist): Use it.
11804 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
11805 (gv-place): Autoload.
11806 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
11807 original definition of dotimes and dolist.
11808 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
11809 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
11810 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
11811 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11812 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
11813 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
11814 to the function's definition.
11815 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
11819 * env.el: Don't use CL.
11821 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
11823 Support higher-resolution time stamps (Bug#9000).
11825 * calendar/time-date.el (with-decoded-time-value): New arg
11826 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
11827 (encode-time-value): New optional arg PICO. New type 3.
11828 (time-to-seconds) [!float-time]: Support the new picoseconds
11829 component if it's used.
11830 (seconds-to-time, time-subtract, time-add):
11831 Support ps-resolution time stamps as well.
11833 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
11834 (timerp): Timer vectors now have length 9, not 8.
11835 (timer--time): Support new-style (4-part) time stamps.
11836 (timer-next-integral-multiple-of-time): Time stamps now have
11837 picosecond resolution, so take a bit more care about rounding.
11838 (timer-relative-time, timer-inc-time): New optional arg psecs.
11839 (timer-set-time-with-usecs): Set psecs to 0.
11840 (timer--activate): Check psecs component, too.
11842 * proced.el (proced-time-lessp): Support ps-resolution stamps.
11844 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11846 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
11847 Move the non-essential binding to the post/pre-command-hook where it is
11848 more obviously correct.
11850 * subr.el (read-passwd): Don't use a history at all.
11851 * savehist.el (savehist-save): Remove password saved accidentally
11852 because of the above bug.
11854 2012-06-22 Bastien Guerry <bzg@gnu.org>
11856 * files.el (toggle-read-only): Display a message telling whether
11857 the buffer is read-only or not (bug#11726).
11859 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11861 * emacs-lisp/gv.el: New file.
11862 * subr.el (push, pop): Extend to generalized variables.
11863 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
11864 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
11865 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
11866 gv-define-simple-setter, and gv-define-expander.
11867 Remove setf-methods defined in gv. Rename cl-setf -> setf.
11868 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
11869 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
11870 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
11871 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
11873 (cl-defstruct): Don't define setf-method any more.
11874 * emacs-lisp/cl.el (flet): Don't autoload.
11875 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
11876 (define-setf-expander, defsetf, define-modify-macro)
11877 (cl-struct-setf-expander): Move from cl-lib.el.
11878 * emacs-lisp/syntax.el:
11879 * emacs-lisp/ewoc.el:
11880 * emacs-lisp/smie.el:
11881 * emacs-lisp/cconv.el:
11882 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
11883 (timer--time): Use gv-define-simple-setter.
11884 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
11885 to avoid coding-system problems in subr.el. Adjust all users.
11886 (macroexp--maxsize, macroexp-small-p): New functions.
11887 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
11888 * scroll-bar.el (scroll-bar-mode):
11889 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11890 (normal-erase-is-backspace-mode): Don't use the `eq' place.
11891 * winner.el (winner-configuration, winner-make-point-alist)
11892 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
11893 * files.el (locate-file-completion-table): Avoid list*.
11895 2012-06-22 Chong Yidong <cyd@gnu.org>
11897 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
11898 (dired-create-files): Doc fix (Bug#11329).
11899 (dired-do-copy): Doc fix (Bug#11334).
11900 (dired-mark-read-string): Doc fix (Bug#11553).
11902 * dired.el (dired-recursive-copies, dired-recursive-deletes):
11903 Doc fix (Bug#11326).
11904 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
11905 (dired-dwim-target): Doc fix.
11907 * wdired.el (wdired-mode): Doc fix.
11909 2012-06-22 Glenn Morris <rgm@gnu.org>
11911 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
11912 (pcmpl-rpm-cache-stamp-file): New constant.
11913 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
11914 (pcmpl-rpm-packages): Optionally cache list of packages.
11916 * pcmpl-rpm.el (pcmpl-rpm): New group.
11917 (pcmpl-rpm-query-options): New option.
11918 (pcmpl-rpm-packages): No need to inline it.
11919 Use pcmpl-rpm-query-options.
11921 * calendar/calendar.el (calendar-in-read-only-buffer):
11922 Avoid some needless mode changes.
11924 2012-06-21 Chong Yidong <cyd@gnu.org>
11926 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
11927 (desktop-path): Remove . from the default value (Bug#10977).
11928 (desktop-read): Use user-emacs-directory if desktop-path is nil.
11930 2012-06-20 Chong Yidong <cyd@gnu.org>
11932 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
11934 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
11936 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
11939 2012-06-20 Chong Yidong <cyd@gnu.org>
11941 * term.el (term-window-width): Handle the case of a missing right
11943 (term-check-size): Use window-text-height (Bug#5445).
11944 (term-mode): Use define-derived-mode. Minor cleanups.
11945 Set font-lock-defaults (Bug#7692).
11946 (term-move-columns, term-insert-char, term-emulate-terminal)
11947 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
11949 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
11951 * net/ange-ftp.el (ange-ftp-get-passwd):
11952 Bind `enable-recursive-minibuffers'.
11953 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
11955 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
11957 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
11959 2012-06-19 Glenn Morris <rgm@gnu.org>
11961 * progmodes/python.el (python-mode): Derive from prog-mode.
11963 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
11965 * emulation/edt.el (edt-default-menu-bar-update-buffers)
11966 (edt-user-menu-bar-update-buffers): New functions.
11967 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
11969 2012-06-19 Chong Yidong <cyd@gnu.org>
11971 * subr.el (with-selected-window): Preserve the selected window's
11972 terminal's top-frame (Bug#4702).
11974 * window.el (save-selected-window): Likewise.
11976 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11978 * progmodes/python.el (python-rx-constituents): Move backquote.
11979 (python-skeleton-define, python-define-auxiliary-skeleton):
11982 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
11984 * minibuffer.el (read-file-name-default): Revert the patch from
11987 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11989 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
11990 (pcase--u1, pcase--q1): Don't use apply-partially.
11992 2012-06-18 Glenn Morris <rgm@gnu.org>
11994 * progmodes/python.el (python-proc, python-buffer)
11995 (python-send-receive, python-send-string): Fix obsolete versions.
11997 2012-06-18 Martin Rudalics <rudalics@gmx.at>
11999 * window.el (special-display-p): Completely remove stringp
12000 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
12002 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
12004 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
12006 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
12008 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
12009 * net/tramp-sh.el (tramp-maybe-open-connection):
12010 Throw if `non-essential' is non-nil.
12012 2012-06-17 Martin Rudalics <rudalics@gmx.at>
12014 * window.el (special-display-p): Signal an error if BUFFER-NAME
12015 is not a string (Bug#11713).
12017 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
12019 * progmodes/python.el (python-info-beginning-of-backslash):
12020 Rename from python-info-beginning-of-backlash, as a spelling fix.
12022 2012-06-17 Chong Yidong <cyd@gnu.org>
12024 * term.el (term-emulate-terminal): If term-check-size is called,
12025 move point to the process mark without resetting point (Bug#4635).
12027 2012-06-17 Glenn Morris <rgm@gnu.org>
12029 * international/mule-cmds.el (mule-menu-keymap)
12030 (set-language-environment, set-locale-environment): Doc tweaks.
12032 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
12034 * cus-face.el (custom-face-attributes): Add wave-style underline
12036 * faces.el (set-face-attribute): Update docstring to describe
12037 wave-style underline attribute.
12039 2012-06-16 Chong Yidong <cyd@gnu.org>
12041 * term/xterm.el (terminal-init-xterm): Discard input before
12042 querying background mode (Bug#10959).
12044 2012-06-16 Stefan Merten <smerten@oekonux.de>
12046 * textmodes/rst.el: Added and corrected some comments.
12047 (rst-re-alist-def): Improve symbol syntax.
12048 (rst-mode-syntax-table): Correct syntax entries.
12049 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
12050 (rst-official-version, rst-official-cvs-rev): Update version
12053 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
12055 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
12056 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
12058 2012-06-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
12060 * progmodes/python.el: New python.el merge.
12061 (python-guess-indent): Obsolete var.
12062 (python-indent-guess-indent-offset): New defcustom.
12063 (python-indent): Obsolete var.
12064 (python-indent-offset): New defcustom.
12065 (python-python-command, python-jython-command): Delete var.
12066 (python-shell-interpreter): New defcustom.
12067 (python-pdbtrack-do-tracking-p): Delete var.
12068 (python-pdbtrack-activate): New defcustom.
12069 (python-use-skeletons): Obsolete var.
12070 (python-skeleton-autoinsert): New defcustom.
12071 (inferior-python-filter-regexp, python-continuation-offset)
12072 (python-honour-comment-indentation, python-indent-string-contents)
12073 (python-jython-packages, python-mode-hook)
12074 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
12075 (python-shell-prompt-alist)
12076 (python-source-modes): Delete defcustoms.
12077 (python-check-buffer-name, python-eldoc-setup-code)
12078 (python-eldoc-string-code, python-ffap-setup-code)
12079 (python-ffap-string-code, python-fill-comment-function)
12080 (python-fill-decorator-function, python-fill-paren-function)
12081 (python-fill-string-function, python-imenu-include-defun-type)
12082 (python-imenu-make-tree, python-imenu-subtree-root-label)
12083 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
12084 (python-shell-compilation-regexp-alist)
12085 (python-shell-completion-module-string-code)
12086 (python-shell-completion-pdb-string-code)
12087 (python-shell-completion-setup-code)
12088 (python-shell-completion-string-code)
12089 (python-shell-enable-font-lock, python-shell-exec-path)
12090 (python-shell-extra-pythonpaths)
12091 (python-shell-internal-buffer-name, python-shell-interpreter-args)
12092 (python-shell-process-environment)
12093 (python-shell-prompt-block-regexp)
12094 (python-shell-prompt-output-regexp)
12095 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
12096 (python-shell-send-setup-max-wait, python-shell-setup-codes)
12097 (python-shell-virtualenv-path): New defcustoms.
12098 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
12099 (inferior-python-mode-syntax-table, python--prompt-regexp)
12100 (python-buffer, python-command python-python-command)
12101 (python-default-template, python-imports, python-indent-index)
12102 (python-indent-list, python-indent-list-length)
12103 (python-mode-running, python-pdbtrack-is-tracking-p)
12104 (python-preoutput-continuation, python-preoutput-leftover)
12105 (python-preoutput-result, python-preoutput-skip-next-prompt)
12106 (python-prev-dir/file, python-recursing)
12107 (python-saved-check-command, python-version-checked)
12108 (python-which-func-length-limit)
12109 (view-return-to-alist): Delete vars.
12110 (python-check-custom-command, python-dotty-syntax-table)
12111 (python-imenu-index-alist, python-indent-current-level)
12112 (python-indent-dedenters, python-indent-levels)
12113 (python-nav-beginning-of-defun-regexp)
12114 (python-nav-list-defun-positions-cache)
12115 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
12116 (python-shell-internal-buffer)
12117 (python-skeleton-available): New vars.
12118 (def-python-skeleton): Delete macro.
12119 (python-skeleton-define): New macro.
12120 (python-define-auxiliary-skeleton, python-rx): New macros.
12121 (python-insert-class): Delete command.
12122 (python-skeleton-class): New command.
12123 (python-insert-def): Delete command.
12124 (python-skeleton-def): New command.
12125 (python-insert-for): Delete command.
12126 (python-skeleton-for): New command.
12127 (python-insert-if): Delete command.
12128 (python-skeleton-if): New command.
12129 (python-insert-try/except, python-insert-try/finally): Delete commands.
12130 (python-skeleton-try): New command.
12131 (python-insert-while): Delete command.
12132 (python-skeleton-while): New command.
12133 (python-backspace): Delete command.
12134 (python-indent-dedent-line-backspace): New command.
12135 (python-electric-colon): Delete command.
12136 (python-indent-electric-colon): New command.
12137 (python-guess-indent): Delete command.
12138 (python-indent-guess-indent-offset): New command.
12139 (python-shift-left): Delete command.
12140 (python-indent-shift-left): New command.
12141 (python-shift-right): Delete command.
12142 (python-indent-shift-right): New command.
12143 (python-find-function): Delete command.
12144 (python-nav-jump-to-defun): New command.
12145 (python-next-statement): Delete command.
12146 (python-nav-forward-sentence): New command.
12147 (python-previous-statement): Delete command.
12148 (python-nav-backward-sentence): New command.
12149 (python-fill-paragraph): Delete command.
12150 (python-fill-paragraph-function): New command.
12151 (python-send-buffer): Delete command.
12152 (python-shell-send-buffer): New command.
12153 (python-send-defun): Delete command.
12154 (python-shell-send-defun): New command.
12155 (python-send-region, python-send-region-and-go): Delete commands.
12156 (python-shell-send-region)
12157 (python-shell-switch-to-shell): New commands.
12158 (python-send-string): Delete command.
12159 (python-shell-send-string): New command.
12160 (python-switch-to-python): Delete command.
12161 (python-shell-switch-to-shell): New command.
12162 (python-describe-symbol): Delete command.
12163 (python-eldoc-at-point): New command.
12164 (python--set-prompt-regexp, python-args-to-list)
12165 (python-after-info-look, python-check-version)
12166 (python-check-comint-prompt, python-find-imports)
12167 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
12168 (python-unload-function, python-expand-template)
12169 (python-maybe-jython, python-preoutput-filter)
12170 (python-pdbtrack-get-source-buffer)
12171 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
12172 (python-pdbtrack-toggle-stack-tracking)
12173 (python-pdbtrack-track-stack-file, python-initial-text)
12174 (python-first-word, python-comment-line-p, python-send-command)
12175 (python-setup-brm, python-sentinel, python-set-proc)
12176 (python-skip-out, python-input-filter, python-outdent-p)
12177 (python-outline-level, python-backslash-continuation-line-p)
12178 (python-end-of-block, python-end-of-statement, python-mark-block)
12179 (python-beginning-of-block, python-beginning-of-statement)
12180 (python-blank-line-p, python-beginning-of-string)
12181 (python-open-block-statement-p): Delete functions.
12182 (python-indent-line, python-indent-line-1): Delete functions.
12183 (python-indent-line): New function.
12184 (python-indentation-levels): Delete function.
12185 (python-indent-calculate-levels): New function.
12186 (python-proc): Delete function.
12187 (python-shell-get-process): New function.
12188 (python-send-receive): Delete function.
12189 (python-shell-send-string-no-output): New function.
12190 (python-module-path): Delete function.
12191 (python-ffap-module-path): New function.
12192 (python-completion-at-point)
12193 (python-symbol-completions): Delete functions.
12194 (python-completion-complete-at-point): New function.
12195 (python-load-file): Delete function.
12196 (python-shell-send-file): New function.
12197 (python-calculate-indentation): Delete function.
12198 (python-indent-calculate-indentation): New function.
12199 (python-skip-comments/blanks): Delete function.
12200 (python-util-forward-comment): New function.
12201 (python-continuation-line-p): Delete function.
12202 (python-info-continuation-line-p): New function.
12203 (python-which-func, python-current-defun): Delete function.
12204 (python-info-current-defun): New function.
12205 (python-beginning-of-defun): Delete function.
12206 (python-nav-beginning-of-defun): New function.
12207 (python-close-block-statement-p)
12208 (python-block-end-p): Delete function.
12209 (python-info-closing-block): New function.
12210 (python-comint-output-filter-function)
12211 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
12212 (python-fill-comment, python-fill-decorator, python-fill-paren)
12213 (python-fill-string, python-imenu-make-element-tree)
12214 (python-imenu-make-tree, python-imenu-tree-assoc)
12215 (python-indent-context, python-indent-dedent-line)
12216 (python-indent-line-function)
12217 (python-indent-post-self-insert-function)
12218 (python-indent-toggle-levels)
12219 (python-info-assignment-continuation-line-p)
12220 (python-info-beginning-of-backlash)
12221 (python-info-block-continuation-line-p)
12222 (python-info-closing-block-message)
12223 (python-info-line-ends-backslash-p)
12224 (python-info-looking-at-beginning-of-defun)
12225 (python-info-ppss-context, python-info-ppss-context-type)
12226 (python-nav-list-defun-positions, python-nav-read-defun)
12227 (python-nav-sentence-end, python-nav-sentence-start)
12228 (python-pdbtrack-comint-output-filter-function)
12229 (python-pdbtrack-set-tracked-buffer)
12230 (python-shell-calculate-exec-path)
12231 (python-shell-calculate-process-environment)
12232 (python-shell-completion--do-completion-at-point)
12233 (python-shell-completion--get-completions)
12234 (python-shell-completion-complete-at-point)
12235 (python-shell-completion-complete-or-indent)
12236 (python-shell-get-or-create-process)
12237 (python-shell-get-process-name)
12238 (python-shell-internal-get-or-create-process)
12239 (python-shell-internal-get-process-name)
12240 (python-shell-internal-send-string, python-shell-make-comint)
12241 (python-shell-parse-command, python-shell-send-setup-code)
12242 (python-skeleton-add-menu-items)
12243 (python-util-clone-local-variables, python-util-position)
12244 (run-python-internal, python-indentation-levels)
12245 (python-nav-beginning-of-defun)
12246 (python-completion-complete-at-point): New functions.
12247 (run-python): Change arguments. New API requirements.
12249 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12251 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
12254 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
12255 (macroexp--expand-all): Use it.
12257 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
12258 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
12259 Use `cl-function' instead.
12261 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
12263 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
12264 Suggested by Stefan Monnier while discussing bug#11657.
12266 2012-06-14 Sam Steingold <sds@gnu.org>
12268 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
12270 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
12272 * play/doctor.el (doctor-doc): Remove parameter and use
12273 doctor-sent instead of sent.
12274 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
12276 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12278 * files.el: Require cl-lib.
12279 (file-name-non-special): Replace case -> cl-case.
12281 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
12283 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
12284 mapping from #' to function*.
12286 2012-06-13 Chong Yidong <cyd@gnu.org>
12288 * mouse.el (mouse-drag-track): Do not set the mark if the user
12289 releases the mouse without selecting anything (Bug#11588).
12291 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12293 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
12294 as well (bug#11646).
12296 * loadup.el: Count byte-code functions as well.
12298 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
12299 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
12301 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
12302 (bug#11649). Add cl-defun and cl-defmacro.
12304 2012-06-13 Drew Adams <drew.adams@oracle.com>
12306 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12309 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
12311 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
12312 Otherwise, it blocks in batch mode.
12314 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
12316 * help-mode.el (bookmark-make-record-default): Declare.
12318 2012-06-13 Chong Yidong <cyd@gnu.org>
12320 * emacs-lisp/package.el (list-packages): Compute a list of
12321 packages that are newly-available since the last list-packages
12323 (package-menu--new-package-list): New var.
12324 (package-menu--generate, package-menu--print-info)
12325 (package-menu--status-predicate, package-menu-mark-install):
12326 Handle new status label "new".
12328 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12330 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
12331 conversion to backquotes.
12333 2012-06-12 Chong Yidong <cyd@gnu.org>
12335 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
12336 Rename from gud-inhibit-global-bindings.
12338 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
12340 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
12341 hook from nxml-glyph-set-hook.
12343 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
12346 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
12348 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
12349 Convert to defcustom.
12351 2012-06-12 Drew Adams <drew.adams@oracle.com>
12353 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12355 (help-mode): Use them.
12357 2012-06-11 Glenn Morris <rgm@gnu.org>
12359 * progmodes/fortran.el (fortran-font-lock-keywords-3):
12360 Use preprocessor face for directives.
12361 (fortran-directive-re): Doc fix.
12363 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12365 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
12366 conversion to backquotes (bug#11652).
12368 Fix compiler-expansion of CL's cXXr functions (bug#11673).
12369 * emacs-lisp/cl-lib.el (cl--defalias): New function.
12370 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
12371 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
12372 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12373 (cl-ninth, cl-tenth): Mark them as inlinable.
12374 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
12375 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
12376 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
12377 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
12378 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
12379 (cl-list*, cl-adjoin): Don't put an autoload manually.
12380 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
12381 (cl--compiler-macro-list*): Add autoload cookie.
12382 (cl--compiler-macro-cXXr): New function.
12384 * help-fns.el (help-fns--compiler-macro): New function extracted from
12385 describe-function-1; follow aliases and use `compiler-macro' property.
12386 (describe-function-1): Use it.
12388 2012-06-11 Chong Yidong <cyd@gnu.org>
12390 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
12391 is uninstalled, if imagemagick is installed.
12393 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12395 * emacs-lisp/cl-lib.el: Use lexical-binding.
12396 (cl-map-extents, cl-maclisp-member): Remove.
12397 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
12398 (cl--set-substring, cl--block-wrapper, cl--block-throw)
12399 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
12400 * emacs-lisp/cl-extra.el: Use lexical-binding.
12401 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
12402 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
12403 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
12404 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
12405 * emacs-lisp/cl-seq.el: Use lexical-binding.
12406 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
12407 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
12408 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
12409 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
12410 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
12413 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
12415 Sync with Tramp 2.2.6-pre.
12417 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
12418 `print-length' and `print-level' to nil, in order to avoid
12419 truncation. Reported by Christopher Schmidt
12420 <christopher@ristopher.com>.
12422 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
12424 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
12426 (tramp-compat-copy-directory): Add optional argument
12427 COPY-CONTENTS. It is not handled yet.
12429 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
12430 (tramp-ftp-file-name-p): Simplify.
12432 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
12433 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
12436 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
12437 (tramp-methods): Do not use `tramp-password-end-of-line'.
12438 (tramp-completion-function-alist-putty): Handle UNIX case.
12439 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
12440 (tramp-do-file-attributes-with-stat)
12441 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
12442 gid as real numbers. They could run out of integer range on cygwin.
12443 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
12444 (tramp-sh-handle-expand-file-name): Handle hops.
12445 (tramp-open-connection-setup-interactive-shell):
12446 Use `tramp-cleanup'. Move check for busyboxes ...
12447 (tramp-find-shell): ... here. Simplify implementation.
12448 Set "remote-shell" property also for alternative shells.
12449 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
12450 If failing, a regular file would be written otherwise.
12451 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
12452 (tramp-find-inline-encoding): Cache the coding commands in the
12453 process cache. Apply test command on the remote side, if defined.
12454 (tramp-find-inline-compress): Cache the compress commands in the
12456 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
12457 when requested. Handle hops.
12458 (tramp-current-connection): New defvar.
12459 (tramp-maybe-open-connection): Use `tramp-cleanup'.
12460 Throw `suppress', if there was a failed connection shortly before.
12461 Handle user interrupt. (Bug#10187)
12462 (tramp-get-inline-compress, tramp-get-inline-coding):
12463 Read connection properties from the process cache.
12465 * net/tramp-smb.el (tramp-smb-server-version)
12466 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
12468 (tramp-smb-prompt): Extend for powershell prompt.
12469 (tramp-smb-file-name-handler-alist): Add handlers for
12470 `process-file', `shell-command' and `start-file-process'.
12471 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
12472 (tramp-smb-winexe-shell-command-switch): New defcustoms.
12473 (tramp-smb-file-name-p): Simplify.
12474 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
12475 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
12476 (tramp-smb-shell-quote-argument): New defuns.
12477 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
12478 Implement using "tar". By this, time-stamps are preserved.
12479 (tramp-smb-handle-copy-file): Handle also the case of directories.
12480 (tramp-smb-do-file-attributes-with-stat)
12481 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
12482 Use `tramp-get-connection-buffer').
12483 (tramp-smb-handle-rename-file): Use "rename", when source and
12484 target are on the same share.
12485 (tramp-smb-maybe-open-connection): Handle wrong passwords.
12486 Use `tramp-smb-server-version'.
12487 (tramp-smb-wait-for-output): Remove prompt.
12489 * net/tramp.el (top): Require 'cl.
12490 (tramp-methods, tramp-rsh-end-of-line):
12491 Remove `tramp-password-end-of-line' from docstring.
12492 (tramp-save-ad-hoc-proxies): New defcustom.
12493 (tramp-completion-function-alist): Adapt docstring.
12494 (tramp-default-password-end-of-line): Remove defcustom.
12495 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
12496 (tramp-user-regexp, tramp-file-name-regexp-unified)
12497 (tramp-file-name-regexp-url): Extend regexp by hop separator.
12498 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
12499 (tramp-remote-file-name-spec-regexp): New defconst.
12500 (tramp-file-name-structure): Extend structure for hops.
12501 (tramp-get-method-parameter): Move up.
12502 (tramp-file-name-p, tramp-dissect-file-name)
12503 (with-parsed-tramp-file-name): Handle hops.
12504 (tramp-file-name-hop): New defun.
12505 (tramp-make-tramp-file-name): New optional arg HOP.
12506 (tramp-message-show-progress-reporter-message): New defvar.
12507 (tramp-with-progress-reporter): Use it. We cannot use
12508 `tramp-message-show-message' here, because this suppresses also
12510 (tramp-error-with-buffer): Suppress buffer view, if
12511 `tramp-message-show-message' is nil.
12512 Use `tramp-get-connection-buffer'.
12513 (tramp-cleanup): New defun.
12514 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
12515 (tramp-file-name-handler): If `debug-on-error' is set, propagate
12516 an error unchanged.
12517 (tramp-completion-handle-file-name-all-completions): Handle hops.
12518 Fix an error when called from ido.
12519 (tramp-completion-dissect-file-name): Use better local variable
12520 name. Add hop to the vector.
12521 (tramp-handle-insert-file-contents): Use progress-reporter for the
12523 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
12525 (tramp-check-for-regexp): Simplify search.
12526 (tramp-enter-password): Remove it. Move implementation ...
12527 (tramp-action-password): ... here.
12528 (tramp-mode-string-to-int, tramp-local-host-p)
12529 (tramp-make-tramp-temp-file, tramp-read-passwd)
12530 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
12531 Set tramp-autoload cookie.
12533 * net/trampver.el: Update release number.
12535 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12536 Michael Albinus <michael.albinus@gmx.de>
12538 * net/tramp.el (tramp-set-completion-function): Fix docstring.
12539 (tramp-parse-group, tramp-parse-file)
12540 (tramp-parse-shostkeys-sknownhosts): New defuns.
12541 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
12542 (tramp-parse-shosts-group, tramp-parse-sconfig)
12543 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
12544 (tramp-parse-sknownhosts, tramp-parse-hosts)
12545 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
12547 (tramp-parse-passwd-group, tramp-parse-netrc-group)
12548 (tramp-parse-putty-group): Don't narrow.
12549 (tramp-parse-putty): Make a loop.
12550 (tramp-file-name-handler): Catch the `suppress' signal.
12552 2012-06-11 Chong Yidong <cyd@gnu.org>
12554 * image.el (imagemagick-register-types): Put the ImageMagick entry
12555 at the end of image-type-file-name-regexps.
12557 2012-06-11 Johan BockgĂ¥rd <bojohan@gnu.org>
12559 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
12560 (pcase, pcase-let*, pcase-dolist): Use them.
12562 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12564 * emacs-lisp/pcase.el (pcase--let*): New function.
12565 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
12566 (pcase--expand): Use macroexp-let².
12568 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
12570 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
12571 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
12572 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
12573 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
12574 * emacs-lisp/derived.el: Use pcase instead of `cl'.
12575 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
12577 2012-06-10 Glenn Morris <rgm@gnu.org>
12579 * mail/rmail.el (rmail-yank-current-message): Leave point at
12580 correct position. (Bug#11660)
12582 2012-06-10 Chong Yidong <cyd@gnu.org>
12584 * allout-widgets.el: Fix code header.
12586 2012-06-10 Chong Yidong <cyd@gnu.org>
12588 * cus-edit.el (customize-changed-options-previous-release):
12591 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
12593 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
12595 2012-06-09 Chong Yidong <cyd@gnu.org>
12597 * ebuff-menu.el (electric-buffer-list): Preserve header line.
12599 2012-06-09 Martin Rudalics <rudalics@gmx.at>
12601 * window.el (special-display-popup-frame): Don't use
12602 window--display-buffer (Bug#11651).
12604 2012-06-09 Eli Zaretskii <eliz@gnu.org>
12606 Fix parallel builds: make sure loaddefs.el is not being written
12607 while Lisp files are compiled.
12608 (compile): Don't depend on 'mh-autoloads'.
12609 (compile-CMD, compile-SH): Depend on 'autoloads'.
12610 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
12612 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
12614 2012-06-09 Chong Yidong <cyd@gnu.org>
12616 * face-remap.el (face-remap-add-relative, face-remap-set-base)
12617 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
12618 Doc fixes (Bug#11225).
12620 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
12622 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
12623 a function if there's a clear indication that it has a compiler-macro.
12624 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
12625 (macro-declarations-alist): Add arglist to declaration functions.
12626 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
12627 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
12628 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
12629 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
12630 Also add autoload to find the compiler macro.
12631 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
12632 (cl--compiler-macro-member, cl--compiler-macro-assoc)
12633 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
12634 (cl--compiler-macro-get): New functions, replacing calls to
12635 cl-define-compiler-macro.
12636 (cl-typep) [compiler-macro]: Use macroexp-let².
12638 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
12640 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
12641 string properly, fixes Bug#11473.
12643 2012-06-08 Chong Yidong <cyd@gnu.org>
12645 * faces.el (set-face-attribute): Doc fix.
12646 (modify-face): Don't use :bold and :italic.
12647 (error, warning, success): Tweak definitions.
12649 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
12650 (custom-modified, custom-set, custom-changed, custom-themed)
12651 (custom-saved, custom-button, custom-button-mouse)
12652 (custom-button-pressed, custom-state, custom-comment-tag)
12653 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
12654 (custom-group-subtitle): Use new-style face specs.
12655 (custom-invalid-face, custom-rogue-face, custom-modified-face)
12656 (custom-set-face, custom-changed-face, custom-saved-face)
12657 (custom-button-face, custom-button-pressed-face)
12658 (custom-documentation-face, custom-state-face)
12659 (custom-comment-face, custom-comment-tag-face)
12660 (custom-variable-tag-face, custom-variable-button-face)
12661 (custom-face-tag-face, custom-group-tag-face-1)
12662 (custom-group-tag-face): Remove obsolete face alias.
12664 * epa.el (epa-validity-high, epa-validity-medium)
12665 (epa-validity-low, epa-mark, epa-field-name, epa-string)
12666 (epa-field-name, epa-field-body):
12667 * font-lock.el (font-lock-comment-face, font-lock-string-face)
12668 (font-lock-keyword-face, font-lock-builtin-face)
12669 (font-lock-function-name-face, font-lock-variable-name-face)
12670 (font-lock-type-face, font-lock-constant-face):
12671 * ido.el (ido-first-match, ido-only-match, ido-subdir)
12672 (ido-virtual, ido-indicator, ido-incomplete-regexp):
12673 * speedbar.el (speedbar-button-face, speedbar-file-face)
12674 (speedbar-directory-face, speedbar-tag-face)
12675 (speedbar-selected-face, speedbar-highlight-face)
12676 (speedbar-separator-face):
12677 * whitespace.el (whitespace-newline, whitespace-space)
12678 (whitespace-hspace, whitespace-tab, whitespace-trailing)
12679 (whitespace-line, whitespace-space-before-tab)
12680 (whitespace-space-after-tab, whitespace-indentation)
12681 (whitespace-empty):
12682 * emulation/cua-base.el (cua-global-mark):
12683 * eshell/em-prompt.el (eshell-prompt):
12684 * net/newst-plainview.el (newsticker-new-item-face)
12685 (newsticker-old-item-face, newsticker-immortal-item-face)
12686 (newsticker-obsolete-item-face, newsticker-date-face)
12687 (newsticker-statistics-face, newsticker-default-face):
12688 * net/newst-reader.el (newsticker-feed-face)
12689 (newsticker-extra-face, newsticker-enclosure-face):
12690 * net/newst-treeview.el (newsticker-treeview-face)
12691 (newsticker-treeview-new-face, newsticker-treeview-old-face)
12692 (newsticker-treeview-immortal-face)
12693 (newsticker-treeview-obsolete-face)
12694 (newsticker-treeview-selection-face):
12695 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
12696 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
12697 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
12698 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
12699 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
12700 (nxml-outline-active-indicator, nxml-outline-ellipsis):
12701 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
12703 * progmodes/vera-mode.el (vera-font-lock-number)
12704 (vera-font-lock-function, vera-font-lock-interface):
12705 * textmodes/table.el (table-cell): Use new-style face specs, and
12706 don't use the old :bold and :italic attributes.
12708 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
12709 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
12710 (ebrowse-member-class, ebrowse-progress): Likewise.
12711 (ebrowse-tree-mark-face, ebrowse-root-class-face)
12712 (ebrowse-file-name-face, ebrowse-default-face)
12713 (ebrowse-member-attribute-face, ebrowse-member-class-face)
12714 (ebrowse-progress-face): Remove obsolete faces.
12716 * progmodes/flymake.el (flymake-errline, flymake-warnline):
12717 Inherit from error and warning faces respectively.
12719 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
12721 (flyspell-incorrect-face, flyspell-duplicate-face):
12722 Remove obsolete aliases.
12724 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
12726 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12729 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12731 * startup.el (argv, argi): Make lexically scoped.
12732 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
12733 * emacs-lisp/cl-macs.el: Use lexical-binding.
12734 Rename cl-bind-* to cl--bind-*.
12735 * files.el: Don't require `cl' since it doesn't use it.
12736 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
12738 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
12740 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
12741 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
12742 instead of calling external sort utility.
12743 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
12745 2012-06-08 Eli Zaretskii <eliz@gnu.org>
12747 * descr-text.el (describe-char): Mention how to insert the
12748 character, if the current input method doesn't support it.
12749 See the discussion in this thread for the details:
12750 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
12752 2012-06-08 Sam Steingold <sds@gnu.org>
12754 * bindings.el (global-map): Bind XF86Forward to next-buffer and
12755 XF86Back to previous-buffer.
12756 (minibuffer-local-map): Bind them to next-history-element and
12757 previous-history-element respectively.
12758 * help-mode.el (help-mode-map): Bind them to help-go-forward and
12759 help-go-back respectively.
12760 * info.el (Info-mode-map): Bind them to Info-history-forward and
12761 Info-history-back respectively.
12762 These are the keys next to Up on the ThinkPad keyboard.
12764 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12766 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
12767 * emacs-lisp/cl-macs.el: Provide itself.
12768 (cl--labels-convert-cache): New var.
12769 (cl--labels-convert): New function.
12770 (cl-flet, cl-labels): New implementation with new semantics, relying on
12772 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
12773 (cl-closure-vars, cl--function-convert-cache)
12774 (cl--function-convert): Move from cl-macs.el.
12775 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
12776 rename by removing the "cl-" prefix.
12777 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
12779 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12781 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
12782 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
12783 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
12784 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
12785 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
12786 (cl-hash-table-count): Add old compatibility aliases.
12788 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
12789 Use macroexpand-all-environment instead.
12790 (cl--old-macroexpand): New var.
12791 (cl--sm-macroexpand): New function.
12792 (cl-symbol-macrolet): Use it during macro expansion.
12793 (cl--function-convert-cache): New var.
12794 (cl--function-convert): New function, extracted from
12795 cl-macroexpand-all.
12796 (cl-lexical-let): Use it.
12798 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
12799 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
12800 (cl-member): Remove old alias.
12802 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
12803 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
12804 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
12805 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
12806 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
12807 (cl-macroexpand-cmacs): Remove var.
12808 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
12809 Use macroexpand-all instead.
12811 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12813 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
12814 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
12815 (macroexp-copyable-p): New functions and macros.
12816 * emacs-lisp/edebug.el (edebug-unwrap):
12817 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
12818 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
12819 (pcase--let*): Remove.
12820 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
12821 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
12822 macroexp-const-p instead.
12823 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
12825 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
12826 instead of "cl-" for internal definitions. Use macroexp-const-p.
12827 (cl-old-bc-file-form): Remove var.
12828 (cl-const-exprs-p): Remove fun.
12829 (cl-labels, cl-macrolet): Use backquote.
12830 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
12831 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
12832 (cl-define-setf-expander): Rename from cl-define-setf-method.
12833 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
12835 * international/mule-cmds.el: Don't require CL.
12836 (view-hello-file): Don't use `letf'.
12838 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12840 * tmm.el (tmm-prompt): Use string-prefix-p.
12841 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
12842 (tmm-add-prompt): Use minibuffer-completion-help.
12843 (tmm-delete-map): Remove.
12845 * subr.el (kbd): Make it its own function.
12847 2012-06-07 Stefan Merten <smerten@oekonux.de>
12849 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
12850 Silence compiler warnings. Fix versions.
12851 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
12852 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
12853 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
12854 (rst-package-emacs-version-alist): Correct Emacs version to
12855 represent major merge with upstream.
12856 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
12858 2012-06-06 Glenn Morris <rgm@gnu.org>
12860 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
12861 Only print environment variables if set.
12863 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12865 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
12866 (macroexp--cons): Rename from maybe-cons.
12867 (macroexp--accumulate): Rename from macroexp-accumulate.
12868 (macroexp--all-forms): Rename from macroexpand-all-forms.
12869 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
12870 (macroexp--expand-all): Rename from macroexpand-all-1.
12872 2012-06-06 Sam Steingold <sds@gnu.org>
12874 * calendar/calendar.el (calendar-in-read-only-buffer):
12875 Call `special-mode' to enable the standard read-only keybindings.
12877 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12879 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
12880 with "loading" messages (bug#11635).
12882 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
12884 * files.el (enable-remote-dir-locals): New option.
12885 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
12887 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12888 Ensure, that the temp directory is local.
12890 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
12891 `temporary-file-directory'.
12893 * progmodes/python.el (python-send-region): Ensure, that the
12894 temporary file is created also in the remote case.
12896 2012-06-06 Glenn Morris <rgm@gnu.org>
12898 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
12899 (vc-rcs-update-changelog): Use it.
12901 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
12903 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
12904 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
12905 (vc-sccs-diff): Replace use of the external vcdiff script.
12907 2012-06-05 Glenn Morris <rgm@gnu.org>
12909 * ledit.el: Move to obsolete/.
12911 2012-06-05 Sam Steingold <sds@gnu.org>
12913 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
12916 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12918 * emacs-lisp/cust-print.el: Move to obsolete.
12920 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
12921 compiler-macro expansion.
12923 Add native compiler-macro support.
12924 * emacs-lisp/macroexp.el (macroexpand-all-1):
12925 Support compiler-macros directly. Properly follow aliases and apply
12926 the compiler macros more thoroughly.
12927 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
12928 macroexpand now properly follows aliases.
12929 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
12930 (cl-compiler-macroexpand): Use new prop.
12931 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
12933 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
12935 2012-06-05 Martin Rudalics <rudalics@gmx.at>
12937 * window.el (get-lru-window, get-mru-window, get-largest-window):
12938 New argument NOT-SELECTED to avoid picking the selected window.
12939 (window--display-buffer-1, window--display-buffer-2): Replace by
12940 new function window--display-buffer
12941 (display-buffer-same-window, display-buffer-reuse-window)
12942 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12943 Use window--display-buffer.
12944 (display-buffer-use-some-window): Remove temporary dedication
12945 hack by calling get-lru-window and get-largest-window with
12946 NOT-SELECTED argument non-nil. Call window--display-buffer.
12948 2012-06-05 Glenn Morris <rgm@gnu.org>
12950 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
12951 Replace external vcdiff script.
12953 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12955 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
12957 2012-06-04 Chong Yidong <cyd@gnu.org>
12959 * image.el (imagemagick-types-inhibit): Revert last change.
12961 (imagemagick-enabled-types): Remove CIN and EPS*.
12963 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12965 * emacs-lisp/cl-lib.el: Rename from cl.el.
12966 * emacs-lisp/cl.el: New compatibility file.
12967 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
12968 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
12969 to obey the "cl-" prefix.
12970 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
12972 2012-06-03 Glenn Morris <rgm@gnu.org>
12974 * emacs-lisp/authors.el (authors-aliases): Addition.
12976 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
12979 2012-06-03 Stefan Merten <smerten@oekonux.de>
12981 * textmodes/rst.el: Add comments.
12982 (rst-transition, rst-adornment): New faces.
12983 (rst-adornment-faces-alist): Make default safe to reevaluate.
12985 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
12986 Improve customization tags.
12987 (rst-define-level-faces): Clarify meaning.
12989 2012-06-03 Chong Yidong <cyd@gnu.org>
12991 * progmodes/compile.el (compilation-mode-line-fail)
12992 (compilation-mode-line-run, compilation-mode-line-exit):
12994 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
12996 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
12998 * progmodes/which-func.el (which-func-update-ediff-windows):
12999 New function. Use it in ediff-select-hook (Bug#11478).
13001 2012-06-03 Chong Yidong <cyd@gnu.org>
13003 * bindings.el: Remove explicit help text from format-mode-line.
13004 It is now supplied by mode-line-default-help-echo.
13005 (mode-line-front-space, mode-line-end-spaces)
13006 (mode-line-misc-info): New variables.
13007 (mode-line-modes, mode-line-position): Move the default value to
13008 the variable definition.
13009 (mode-line-default-help-echo): New defcustom.
13010 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
13011 (mode-line-modified-help-echo): New functions.
13012 (mode-line-mule-info, mode-line-modified): Use them.
13013 (mode-line-eol-desc, propertized-buffer-identification):
13014 Consistency fixes for help text.
13015 (mode-line-coding-system-map): Allow using mouse-3 to invoke
13016 set-buffer-file-coding-system (Bug#289).
13017 (mode-line-mule-info-help-echo): Update help text.
13019 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13021 * simple.el (execute-extended-command): Set real-this-command
13024 2012-06-02 Chong Yidong <cyd@gnu.org>
13026 Remove incorrect uses of "modeline" in comments, docstrings, and
13027 function/variable names (Bug#10329).
13029 * cus-edit.el (mode-line):
13030 * dframe.el (dframe-mouse-hscroll):
13031 * emacs-lisp/re-builder.el:
13032 * emacs-lisp/easy-mmode.el (define-minor-mode):
13033 * frame.el (set-frame-name):
13034 * help.el (lookup-minor-mode-from-indicator):
13035 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
13036 * progmodes/cc-cmds.el (c-toggle-auto-newline)
13037 (c-toggle-hungry-state):
13038 * progmodes/antlr-mode.el (antlr-language-alist):
13039 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
13040 * progmodes/vhdl-mode.el (vhdl-mode):
13041 * progmodes/which-func.el (which-func, which-func-cleanup-function):
13042 * term/ns-win.el (ns-face-at-pos):
13043 * term/sup-mouse.el (sup-mouse-report):
13044 * textmodes/flyspell.el (flyspell-mode-line-string):
13045 * textmodes/ispell.el (ispell-highlight-face):
13046 * textmodes/reftex-global.el:
13047 * vc/vc-arch.el (vc-arch-mode-line-string):
13048 * vc/vc-cvs.el (vc-cvs-mode-line-string):
13049 * vc/vc-git.el (vc-git-mode-line-string):
13050 * vc/vc-hooks.el (vc-display-status)
13051 (vc-default-mode-line-string):
13052 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
13054 * ansi-color.el (ansi-color-faces-vector): Change default faces.
13056 * dired.el (dired-sort-set-mode-line): Rename from
13057 dired-sort-set-modeline. All callers changed.
13059 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
13060 eshell-status-in-modeline.
13062 * foldout.el (foldout-mode-line-string): Rename from
13063 foldout-modeline-string. All callers changed.
13064 (foldout-update-mode-line): Rename from foldout-update-modeline.
13066 * subr.el (redraw-modeline): Make into obsolete alias.
13068 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
13069 timeclock-modeline-display. Make old name an alias.
13070 (timeclock-update-mode-line): Likewise. All callers changed.
13071 (timeclock-mode-line-display): No need to check before using
13073 (timeclock-relative, timeclock-day-over-hook)
13074 (timeclock-use-elapsed, timeclock-mode-string)
13075 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
13077 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
13078 crisp-mode-modeline-string.
13080 * play/solitaire.el (solitaire-build-mode-line): Rename from
13081 solitaire-build-modeline. All callers changed.
13083 * play/zone.el (zone-hiding-mode-line): Rename from
13084 zone-hiding-modeline. All callers changed.
13085 (zone): Remove unusued `modeline-hidden-level' property.
13087 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
13088 xscheme-modeline-initialize. All callers changed.
13090 * strokes.el (strokes-lighter): Rename from
13091 strokes-modeline-string.
13093 * textmodes/sgml-mode.el (html-face-tag-alist)
13094 (html-tag-face-alist): Use mode-line face instead of obsolete
13097 2012-06-02 Stefan Merten <smerten@oekonux.de>
13099 * textmodes/rst.el: Always require `cl'.
13100 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
13102 2012-06-02 Chong Yidong <cyd@gnu.org>
13104 * image.el (imagemagick-enabled-types): Rename from
13105 imagemagick-types-enable. Add many more types.
13106 (imagemagick-types-inhibit): Change default to nil.
13107 (imagemagick-filter-types): Caller changed.
13109 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13111 * emacs-lisp/cl-macs.el: Use backquotes.
13112 (cl-transform-function-property): Use eval-and-compile rather than
13114 (defstruct): Use declare-function instead of with-no-warnings.
13116 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
13117 (byte-compile-output-docform): Re-add the print-circle bindings.
13118 (byte-compile-fix-header): Use #$ just because it's shorter.
13119 (byte-compile-output-file-form): Remove defun/defmacro.
13121 2012-06-01 Martin Rudalics <rudalics@gmx.at>
13123 * simple.el (choose-completion): Remove now obsolete binding for
13126 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
13128 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
13129 in order to avoid "Stack overflow in regexp matcher".
13131 2012-05-31 Glenn Morris <rgm@gnu.org>
13133 * image.el: For clarity, call imagemagick-register-types at
13134 top-level, rather than relying on a custom :initialize.
13135 (imagemagick-types-enable): New option. (Bug#11557)
13136 (imagemagick-filter-types): New function. (Bug#7406)
13137 (imagemagick-register-types): Use imagemagick-filter-types.
13138 If disabling support, remove elements altogether rather
13139 than using an impossible regexp.
13140 (imagemagick-types-inhibit): Give it the default init function.
13142 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13144 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
13145 Handle arbitrary file name lengths (Bug#11585).
13147 2012-05-31 Martin Rudalics <rudalics@gmx.at>
13149 * desktop.el (desktop-read): Clear previous and next buffers for
13150 all windows and bury *Messages* buffer (bug#11556).
13152 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13154 Add `declare' for `defun'. Align `defmacro's with it.
13155 * emacs-lisp/easy-mmode.el (define-minor-mode)
13156 (define-globalized-minor-mode): Don't autoload the var definitions.
13157 * emacs-lisp/byte-run.el: Use lexical-binding.
13158 (defun-declarations-alist, macro-declarations-alist): New vars.
13159 (defmacro, defun): Use them.
13160 (make-obsolete, define-obsolete-function-alias)
13161 (make-obsolete-variable, define-obsolete-variable-alias):
13163 (macro-declaration-function): Mark obsolete.
13164 * emacs-lisp/autoload.el: Use lexical-binding.
13165 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
13167 2012-05-30 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
13169 * textmodes/ispell.el (ispell-with-no-warnings):
13171 (ispell-kill-ispell, ispell-change-dictionary):
13172 Use `called-interactively-p' for Emacs instead of obsolete
13175 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13177 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
13178 (macro-declaration-function): Move var from C code.
13179 (macro-declaration-function): Define function with defalias.
13180 * emacs-lisp/macroexp.el (macroexpand-all-1):
13181 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
13182 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
13183 defun/defmacro any more.
13184 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
13185 Provide fallback for unknown arglist.
13186 (byte-compile-arglist-warn): Change calling convention.
13187 (byte-compile-output-file-form): Move print-vars binding.
13188 (byte-compile-output-docform): Simplify accordingly.
13189 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
13190 (byte-compile-defmacro-declaration): Remove.
13191 (byte-compile-file-form-defmumble): Generalize to defalias.
13192 (byte-compile-output-as-comment): Return byte-positions.
13193 Simplify callers accordingly.
13194 (byte-compile-lambda): Use `assert'.
13195 (byte-compile-defun, byte-compile-defmacro): Remove.
13196 (byte-compile-file-form-defalias):
13197 Use byte-compile-file-form-defmumble.
13198 (byte-compile-defalias-warn): Remove.
13200 2012-05-29 Stefan Merten <smerten@oekonux.de>
13202 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
13203 possible. Fix authors. Improve comments. Improve loading of `cl'.
13205 (rst-mode-abbrev-table): Merge definition.
13206 (rst-mode): Make sure `font-lock-defaults' is buffer local.
13207 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
13209 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
13211 * calendar/icalendar.el
13212 (icalendar-export-region): Export UID properly.
13214 2012-05-29 Leo Liu <sdl.web@gmail.com>
13215 * calendar/icalendar.el (icalendar-import-format):
13216 Add `icalendar-import-format-uid' (Bug#11525).
13217 (icalendar-import-format-uid): New.
13218 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
13221 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13223 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
13224 different alternative patterns.
13225 (pcase-codegen): Be more careful to preserve identity.
13226 (pcase--u1): Don't forget to mark vars as used.
13228 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
13229 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
13230 (byte-compile-from-buffer): ...rather than here.
13232 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
13233 functions from byte-compile-function-environment.
13235 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
13237 * window.el (window-deletable-p): Avoid deleting the root window
13238 of a frame with an active minibuffer.
13240 2012-05-29 Martin Rudalics <rudalics@gmx.at>
13242 * simple.el (choose-completion): Use quit-window (Bug#11567).
13244 2012-05-29 Chong Yidong <cyd@gnu.org>
13246 * whitespace.el (whitespace-cleanup): Fix usage of
13247 whitespace-empty-at-bob-regexp (Bug#11492).
13249 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13251 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
13252 revert (Bug#11488).
13254 2012-05-29 Juri Linkov <juri@jurta.org>
13256 * isearch.el (isearch-mode-map): Bind `M-s _' to
13257 `isearch-toggle-symbol'. Bind `M-s c' to
13258 `isearch-toggle-case-fold'.
13259 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
13260 (isearch-forward): Add `M-s _' to the docstring.
13261 (isearch-forward-symbol, isearch-toggle-case-fold)
13262 (isearch-symbol-regexp): New functions. (Bug#11381)
13264 2012-05-29 Juri Linkov <juri@jurta.org>
13266 * isearch.el (isearch-word): Add docstring. (Bug#11381)
13267 (isearch-occur, isearch-search-and-update): If `isearch-word' is
13268 a function, call it to get the regexp.
13269 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
13270 property `isearch-message-prefix' instead of the string "word ".
13271 (isearch-search-fun-default): For the case of `isearch-word',
13272 return a lambda that calls re-search-forward/re-search-backward
13273 with a regexp returned by `word-search-regexp' or by the function
13276 2012-05-29 Juri Linkov <juri@jurta.org>
13278 * isearch.el (isearch-search-fun-default): New function.
13279 (isearch-search-fun): Move default part to the new function
13280 `isearch-search-fun-default'.
13281 (isearch-search-fun-function): Set the default value to
13282 `isearch-search-fun-default'. (Bug#11381)
13284 * comint.el (comint-history-isearch-end):
13285 Use `isearch-search-fun-default'.
13286 (comint-history-isearch-search): Use `isearch-search-fun-default'
13287 and remove spacial case for `isearch-word'.
13288 (comint-history-isearch-wrap): Remove spacial case for
13291 * hexl.el (hexl-isearch-search-function):
13292 Use `isearch-search-fun-default'.
13294 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
13295 Use `word-search-regexp' for `isearch-word'.
13297 * misearch.el (multi-isearch-search-fun):
13298 Use `isearch-search-fun-default'.
13300 * simple.el (minibuffer-history-isearch-search):
13301 Use `isearch-search-fun-default' and remove spacial case for
13303 (minibuffer-history-isearch-wrap): Remove spacial case for
13306 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
13307 Remove spacial case for `isearch-word'.
13308 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
13310 2012-05-28 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
13312 Decrease XEmacs incompatibilities.
13313 * textmodes/flyspell.el (flyspell-check-pre-word-p):
13314 Use `string-match'.
13315 (flyspell-delete-region-overlays): Use alternative definition for
13317 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
13318 (flyspell-word): Use `process-kill-without-query' if XEmacs.
13319 (flyspell-mode-on): Use `interactive-p' if XEmacs.
13320 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
13321 `define-obsolete-face-alias' under XEmacs, but old method.
13323 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
13324 `with-no-warnings' definition or Emacs alias.
13325 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
13326 (ispell-word): Do not use `region-p' if XEmacs.
13328 2012-05-28 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
13330 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
13331 Check for `ispell-dictionary-base-alist' instead of full
13332 `ispell-dictionary-alist'.
13333 (ispell-init-process): Show spellchecker when starting new Ispell
13336 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13338 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
13339 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
13341 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
13343 * version.el (motif-version-string, gtk-version-string)
13344 (ns-version-string): Declare.
13346 2012-05-27 Juri Linkov <juri@jurta.org>
13348 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
13349 after the `eval-defun-1' specialcaseing
13350 like in `edebug-eval-defun' (bug#10181).
13352 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
13353 like in `eval-defun-1'.
13355 2012-05-27 Eli Zaretskii <eliz@gnu.org>
13357 * mail/sendmail.el (mail-yank-region):
13358 Recognize rmail-yank-current-message in addition to insert-buffer.
13359 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
13360 a *mail* buffer created through rmail-start-mail with sendmail as
13363 2012-05-27 Chong Yidong <cyd@gnu.org>
13365 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
13366 Default to 256 (Bug#11267).
13368 * help.el (describe-mode): Doc fix.
13370 2012-05-26 Glenn Morris <rgm@gnu.org>
13372 * w32-fns.el (w32-init-info): Remove.
13373 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
13375 * info.el (info-initialize): For self-contained NS builds, put the
13376 included info/ directory at the front. (Bug#2791)
13378 * paths.el (Info-default-directory-list): Make it a defcustom,
13379 mainly so that we can use custom-initialize-delay.
13381 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
13383 * subr.el (buffer-has-markers-at): Mark obsolete.
13385 * subr.el (lambda): Use declare.
13387 * emacs-lisp/lisp-mode.el (lambda):
13388 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
13390 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13392 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
13394 2012-05-26 Glenn Morris <rgm@gnu.org>
13396 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
13398 2012-05-25 Glenn Morris <rgm@gnu.org>
13400 * paths.el: Remove no-byte-compile.
13401 * loadup.el: No need to load paths.el uncompiled.
13403 * image.el (imagemagick-types-inhibit): Doc fix.
13405 * version.el: Remove no-byte-compile and associated formatting.
13406 * loadup.el: No need to load version.el uncompiled. AFAICS, this
13407 is ancient code from when there was an "inc-vers.el".
13409 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13411 * progmodes/gdb-mi.el: Minor style changes.
13412 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
13413 Turn into minor modes.
13414 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
13415 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
13416 (gdb-shell): Remove unneeded let-binding.
13417 (gdb-get-many-fields): Eliminate O(n²) behavior.
13419 2012-05-25 Eli Zaretskii <eliz@gnu.org>
13421 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
13422 platforms that don't link in fontset.c.
13424 2012-05-25 Juri Linkov <juri@jurta.org>
13426 Use the same diff color scheme as in modern VCSes (bug#10181).
13428 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
13429 to avoid confusion with `diff-added' that now uses green colors.
13430 (diff-removed): Use shades of red.
13431 (diff-added): Use shades of green.
13432 (diff-changed): Leave just the yellow color.
13433 (diff-use-changed-face): New variable.
13434 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
13435 how to highlight context diff changes.
13436 (diff-refine-change): Use shades of yellow.
13437 (diff-refine-removed): New face that uses shades of red.
13438 (diff-refine-added): New face that uses shades of green.
13439 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
13440 `diff-refine-removed' in the call to `smerge-refine-subst'
13441 depending on the value of `diff-use-changed-face'.
13443 * vc/smerge-mode.el (smerge-mine): Use shades of red.
13444 (smerge-other): Use shades of green.
13445 (smerge-base): Use shades of yellow.
13446 (smerge-refined-change): Empty face.
13447 (smerge-refined-removed): New face that uses shades of red.
13448 (smerge-refined-added): New face that uses shades of green.
13449 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
13450 args `props-r' and `props-a', and use them. Doc fix.
13451 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
13452 on its value use different faces `smerge-refined-change',
13453 `smerge-refined-removed', `smerge-refined-added' in the call to
13454 `smerge-refine-subst'.
13456 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
13457 Add face condition `min-colors 88' with shades of red.
13458 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
13459 `min-colors 88' with shades of green.
13460 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
13461 `min-colors 88' with shades of yellow.
13463 2012-05-24 Glenn Morris <rgm@gnu.org>
13465 * paths.el (prune-directory-list, remote-shell-program): Move to...
13466 * files.el (prune-directory-list, remote-shell-program): ...here.
13467 For the latter, delay initialization, prefer ssh, just search PATH.
13469 * paths.el (term-file-prefix): Move to faces.el (the only user).
13470 * faces.el (term-file-prefix): Move here, make it a defcustom.
13472 * paths.el (news-directory, news-path, news-inews-program):
13473 Move to gnus/nnspool.el.
13475 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
13477 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
13478 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
13479 Make the latter a defcustom, with a delayed initialization.
13481 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
13482 These were deleted from Gnus itself late 2010.
13484 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
13486 * progmodes/which-func.el (which-func-ff-hook):
13487 Check against user-error, not error.
13489 * emacs-lisp/edebug.el (top): Do not load or set up loading of
13490 cl-specs.el, which no longer exists.
13492 2012-05-22 Glenn Morris <rgm@gnu.org>
13494 * info.el (info-emacs-bug): New command.
13495 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
13496 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
13498 2012-05-21 Glenn Morris <rgm@gnu.org>
13500 * makefile.w32-in (update-subdirs-SH):
13501 * Makefile.in (update-subdirs): Update for moved update-subdirs.
13503 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13505 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
13507 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13508 Simplify Maven regexp, and make sure the file can't start with a space
13511 2012-05-21 Glenn Morris <rgm@gnu.org>
13513 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
13514 Scrap superfluous subshells.
13516 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
13518 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
13519 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
13521 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
13523 * calc/calc.el (calc-ensure-consistent-units): New variable.
13525 * calc/calc-units.el (math-consistent-units-p)
13526 (math-check-unit-consistency): New functions.
13527 (calc-quick-units, calc-convert-units):
13528 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
13530 (calc-extract-units): Fix typo.
13532 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13534 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
13536 * textmodes/flyspell.el: Commenting style, plus code simplifications.
13537 (flyspell-default-deplacement-commands): Don't spell check after
13538 repeated window/frame switches (e.g. triggered by mouse-movement).
13539 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
13540 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
13541 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
13542 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
13543 Remove unused vars.
13544 (flyspell-get-casechars, flyspell-get-not-casechars):
13545 Simplify; Don't bother removing a ] just to add it back.
13546 * textmodes/ispell.el (ispell-program-name): Use executable-find.
13548 2012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
13550 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
13552 (math-function-table): Add support for more C functions.
13554 2012-05-18 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
13556 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13557 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13558 Protect delay handling for otherchars against empty otherchars.
13560 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13562 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
13563 their respective macro declarations.
13564 * skeleton.el (define-skeleton):
13565 * progmodes/compile.el (define-compilation-mode):
13566 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
13567 (define-ibuffer-filter):
13568 * emacs-lisp/generic.el (define-generic-mode):
13569 * emacs-lisp/easy-mmode.el (define-minor-mode)
13570 (define-globalized-minor-mode):
13571 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
13572 * emacs-lisp/byte-run.el (defsubst):
13573 * custom.el (deftheme): Add doc-string metadata.
13575 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13577 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
13579 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13581 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
13583 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
13584 * emacs-lisp/cl-macs.el: Idem.
13585 * emacs-lisp/cl-specs.el: Remove.
13587 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13589 Minor renaming of internal CL functions and variables.
13590 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
13591 (cl--position): Rename from cl-position.
13592 (cl--delete-duplicates): Rename from cl-delete-duplicates.
13593 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
13594 (cl--random-state): Rename from *random-state*.
13596 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13598 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
13599 parens around the arg list (bug#11499).
13601 2012-05-17 Juri Linkov <juri@jurta.org>
13603 * isearch.el (word-search-regexp, word-search-backward)
13604 (word-search-forward, word-search-backward-lax)
13605 (word-search-forward-lax): Move functions from search.c
13606 (bug#10145, bug#11381).
13608 2012-05-16 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
13610 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13611 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13612 Delay for otherchars as for normal word components.
13614 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13616 * minibuffer.el (completion--sifn-requote): Fix last change.
13617 (minibuffer-local-must-match-filename-map):
13618 Move define-obsolete-variable-alias before its var.
13620 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13622 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
13624 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
13626 (completion--string-equal-p): New function.
13627 (completion--twq-all): Use it to get better assertion failure data.
13629 Only handle ".." and '..' quoting in shell-mode (bug#11466).
13630 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
13631 (shell--requote-argument): New functions.
13632 (shell-completion-vars): Use them.
13633 (shell--parse-pcomplete-arguments): Rename from
13634 shell-parse-pcomplete-arguments.
13635 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
13636 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
13637 Obey comint-file-name-quote-list.
13639 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
13640 (smie-indent-keyword): Use it.
13642 2012-05-14 Stefan Merten <smerten@oekonux.de>
13644 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
13646 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13648 * net/rlogin.el (rlogin-mode-map): Fix last change.
13650 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
13652 * mail/smtpmail.el (smtpmail-send-command): Send the command and
13653 the following \r\n using a single `process-send-string', since the
13654 Lotus SMTP server refuses to accept any commands if they are sent
13655 with two `process-send-string's (Bug#11444).
13657 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13659 * shell.el (shell-parse-pcomplete-arguments):
13660 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
13662 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13664 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
13665 (image-transform-scale, image-transform-right-angle-fudge): New vars.
13666 (image-transform-width, image-transform-fit-width): New functions.
13667 (image-transform-properties): Use them.
13668 (image-transform-check-size): New function.
13669 (image-toggle-display-image): Use it (for testing).
13670 (image-transform-set-rotation): Reduce angle mod 360.
13671 Delete obsolete comment.
13673 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13675 * image-mode.el: Fix scaling (bug#11399).
13676 (image-transform-resize): Doc fix.
13677 (image-transform-properties): Default scale is 1 and height should
13680 2012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
13682 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
13683 than hard-coding `car', to fix misbehavior when moving forward.
13685 2012-05-13 Chong Yidong <cyd@gnu.org>
13687 * emacs-lisp/tabulated-list.el (tabulated-list-format)
13688 (tabulated-list-entries, tabulated-list-padding)
13689 (tabulated-list-sort-key): Make permanent-local.
13691 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
13692 (electric-buffer-list): Put electric buffer menu
13693 command descriptions in this docstring, instead of the docstring
13694 of electric-buffer-menu-mode. Code cleanups.
13695 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
13696 Electric-buffer-menu-mode.
13697 (electric-buffer-update-highlight): Minor code cleanup.
13699 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
13701 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
13704 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13706 Move define-obsolete-variable-alias before the var's definition.
13707 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
13708 * tooltip.el (tooltip-hook):
13709 * textmodes/reftex-toc.el (reftex-toc-map):
13710 * textmodes/reftex-sel.el (reftex-select-label-map)
13711 (reftex-select-bib-map):
13712 * textmodes/reftex-index.el (reftex-index-map)
13713 (reftex-index-phrases-map):
13714 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
13715 * progmodes/meta-mode.el (meta-mode-map):
13716 * novice.el (disabled-command-hook):
13717 * loadhist.el (unload-hook-features-list):
13718 * frame.el (blink-cursor):
13719 * files.el (find-file-not-found-hooks, write-file-hooks)
13720 (write-contents-hooks):
13721 * emulation/tpu-edt.el (GOLD-map):
13722 * emacs-lock.el (emacs-lock-from-exiting):
13723 * emacs-lisp/generic.el (generic-font-lock-defaults):
13724 * emacs-lisp/chart.el (chart-map):
13725 * dos-fns.el (register-name-alist):
13726 * dired-x.el (dired-omit-files-p):
13727 * desktop.el (desktop-enable):
13728 * cus-edit.el (custom-mode-hook):
13729 * buff-menu.el (buffer-menu-mode-hook):
13730 * bookmark.el (bookmark-read-annotation-text-func)
13731 (bookmark-exit-hooks):
13732 * allout.el (allout-mode-deactivate-hook)
13733 (allout-exposure-change-hook, allout-structure-added-hook)
13734 (allout-structure-deleted-hook, allout-structure-shifted-hook):
13735 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
13736 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
13737 comes before the corresponding variable's definition.
13739 2012-05-12 Chong Yidong <cyd@gnu.org>
13741 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
13742 (Buffer-menu-mouse-select): Restore function (Bug#11459).
13743 (Buffer-menu-mode-map): Bind it.
13744 (Buffer-menu--pretty-name): Add a mouse-face property.
13746 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
13748 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
13749 (prolog-upper-case-string, prolog-lower-case-string)
13750 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
13751 (prolog-use-smie, prolog-smie-grammar): New vars.
13752 (prolog-smie-forward-token, prolog-smie-backward-token)
13753 (prolog-smie-rules): New funs.
13754 (prolog-comment-indent): Remove.
13755 (prolog-mode-variables): Use default comment indentation instead.
13757 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
13758 (prolog-mode): Don't call them any more.
13759 (prolog-electric-colon, prolog-electric-dash)
13760 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
13762 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
13764 * minibuffer.el (completion--twq-all): Again, allow case differences.
13766 * term.el: Move keymap initialization code to be more idiomatic.
13767 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
13768 (term-terminal-menu): Move initialization into declaration.
13769 (term-escape-char): Let the user set it in her .emacs.
13771 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
13772 Provide SMIE-based indentation (not enabled by default yet).
13773 (sh-mode-map): Don't bind electric keys.
13774 Use electric-pair-mode instead of skeleton-pair.
13775 (sh-assignment-regexp): Fit within 80 columns.
13776 (sh-indent-supported): Specify actual shell name instead of boolean.
13777 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
13778 (sh-maybe-here-document): Use it. Make obsolete.
13779 (sh-electric-here-document-mode) New minor mode.
13780 (sh-mode): Use it. Don't set sh-indent-supported-here here.
13781 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
13782 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
13783 (sh-smie-rc-grammar, sh-use-smie): New vars.
13784 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
13785 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
13786 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
13787 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
13788 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
13789 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
13790 (sh-set-shell): Use smie-setup if requested.
13792 * term.el (term-set-escape-char): Properly set term-escape-char.
13793 See http://stackoverflow.com/questions/10524656.
13795 2012-05-10 Chong Yidong <cyd@gnu.org>
13797 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
13798 Use url-generic-parse-url, and handle host names and Windows
13799 filenames properly.
13800 (ffap-url-unwrap-remote): Use url-generic-parse-url.
13801 (ffap-url-unwrap-remote): Accept list values, specifying a list of
13802 URL schemes to work on.
13803 (ffap--toggle-read-only): New function.
13804 (ffap-read-only, ffap-read-only-other-window)
13805 (ffap-read-only-other-frame): Use it.
13806 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
13807 necessary for ffap-url-unwrap-remote.
13809 2012-05-10 Dave Abrahams <dave@boostpro.com>
13811 * cus-start.el (create-lockfiles): Add it.
13813 2012-05-09 Chong Yidong <cyd@gnu.org>
13815 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
13816 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
13818 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13820 * shell.el (shell-completion-vars): Fix last change (bug#11348).
13822 2012-05-09 Chong Yidong <cyd@gnu.org>
13824 * ansi-color.el (ansi-color-process-output): Check for validity of
13825 comint-last-output-start before using it. This avoids a bad
13826 interaction with gdb-mi's input/output buffer.
13828 2012-05-09 Glenn Morris <rgm@gnu.org>
13830 * files.el (dir-locals-read-from-file):
13831 Mention dir-locals in any error message.
13833 2012-05-09 Chong Yidong <cyd@gnu.org>
13835 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
13836 package (Bug#11410).
13838 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
13839 variables into description.
13841 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13843 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
13844 shell-delimiter-argument-list (bug#11348).
13845 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
13847 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
13849 * textmodes/rst.el: Silence byte-compiler warnings.
13850 (rst-re-alist, rst-reset-section-caches): Move around.
13851 (rst-re): Use `characterp', not `char-valid-p'.
13852 (font-lock-beg, font-lock-end): Declare.
13854 * progmodes/idlw-shell.el (specs): Remove reference to deleted
13855 variable `idlwave-shell-activate-alt-keybindings' and simplify.
13857 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
13859 2012-05-08 Glenn Morris <rgm@gnu.org>
13861 * files.el (auto-mode-alist): Treat ".make" like ".mk".
13863 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13865 * vc/log-edit.el: Add GNU coding standards highlighting.
13866 (log-edit-font-lock-gnu-style)
13867 (log-edit-font-lock-gnu-keywords): New vars.
13868 (log-edit-font-lock-keywords): New fun.
13869 (log-edit-mode): Don't fold case in font-lock.
13870 (log-edit-font-lock-keywords): Do not assume case-folding.
13872 * imenu.el: Misc cleanup. Make docstrings out of comments.
13873 Use lexical-binding.
13874 (imenu--index-alist, imenu--last-menubar-index-alist)
13875 (imenu-menubar-modified-tick): Use defvar-local.
13876 (imenu--split-menu): Remove unused var.
13877 (imenu--cleanup-seen): Declare as global.
13878 (imenu--cleanup): Use dolist.
13880 * subr.el (defvar-local): Add debug spec and doc-string position.
13882 2012-05-08 Glenn Morris <rgm@gnu.org>
13884 * language/burmese.el, language/cham.el, language/czech.el:
13885 * language/english.el, language/georgian.el, language/greek.el:
13886 * language/japanese.el, language/khmer.el, language/korean.el:
13887 * language/lao.el, language/misc-lang.el, language/romanian.el:
13888 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
13889 * language/thai.el, language/utf-8-lang.el:
13890 Remove no-byte-compile setting.
13892 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
13894 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13896 * progmodes/make-mode.el (makefile-browse):
13897 Remove unnecessary interactive. (Bug#11324)
13899 2012-05-07 Glenn Morris <rgm@gnu.org>
13901 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
13903 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
13905 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13907 * loadup.el: Preload newcomment.el.
13908 * newcomment.el: Move autoload-only code to toplevel.
13910 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
13911 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
13912 Handle new :right-align column property.
13913 (tabulated-list-print-col): Idem, plus use `display' text-property to
13914 try and preserve alignment for variable pitch fonts.
13916 2012-05-07 Chong Yidong <cyd@gnu.org>
13918 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
13919 (tabulated-list-use-header-line): New var.
13920 (tabulated-list-init-header): Use it.
13921 (tabulated-list-print-fake-header): New function.
13922 (tabulated-list-print): Use it.
13923 (tabulated-list-sort-button-map): Add non-header-line commands.
13924 (tabulated-list-init-header): Add column name property to basic
13926 (tabulated-list-col-sort): Handle non-header-line button case.
13927 (tabulated-list--sort-by-column-name): Fix a corner case.
13929 * buff-menu.el (list-buffers--refresh):
13930 Handle Buffer-menu-use-header-line.
13932 2012-05-06 Chong Yidong <cyd@gnu.org>
13934 * buff-menu.el: Convert to Tabulated List mode.
13935 (Buffer-menu-buffer+size-width): Make obsolete.
13936 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
13937 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
13938 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
13939 documentation into docstring of buffer-menu.
13940 (Buffer-menu-toggle-files-only): Add an informative message.
13941 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
13942 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
13943 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
13944 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
13945 (Buffer-menu-execute, Buffer-menu-select)
13946 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
13947 (Buffer-menu-bury): Use Tabulated List machinery.
13948 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
13949 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
13951 (list-buffers--refresh): New function.
13952 (list-buffers-noselect): Use it.
13953 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
13954 (Buffer-menu--pretty-file-name): New helper functions.
13956 * loadup.el: Preload tabulated-list.
13958 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
13959 tabulated-list-sort-column.
13960 (tabulated-list-init-header): Add the initial aligning space even
13961 if tabulated-list-padding is zero.
13963 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
13965 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
13966 whose cdr is not a cons cell correctly (bug#11038).
13968 2012-05-06 Chong Yidong <cyd@gnu.org>
13970 * emacs-lisp/tabulated-list.el (tabulated-list-format):
13971 Accept additional plist in column descriptors.
13972 (tabulated-list-init-header): Obey it.
13973 (tabulated-list-get-entry): New function.
13974 (tabulated-list-put-tag): Use it. Use string-width instead of
13976 (tabulated-list--column-number): New function.
13977 (tabulated-list-print): Use it.
13978 (tabulated-list-print-col): New function.
13979 Set `tabulated-list-column-name' property on each column's text.
13980 (tabulated-list-print-entry): Use it.
13981 (tabulated-list-delete-entry, tabulated-list-set-col):
13983 (tabulated-list-sort-column): New command (Bug#11337).
13985 * buff-menu.el (list-buffers): Move C-x C-b binding from
13986 buff-menu.el to bindings.el.
13988 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
13989 :advertised-binding feature.
13991 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
13993 * progmodes/compile.el (compilation-internal-error-properties):
13994 Calculate start position correctly when end-col is set but
13995 end-line is not (Bug#11382).
13997 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
13999 * man.el (Man-unindent): Use text-property-default-nonsticky to
14000 prevent untabify from inheriting face properties (Bug#11408).
14002 2012-05-05 Stefan Merten <smerten@oekonux.de>
14004 * textmodes/rst.el: Major merge with upstream development up to
14005 Docutils SVN r7399 / rst.el V1.2.1.
14007 Clarify maintainership and authors.
14009 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
14010 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
14011 (rst-official-version, rst-official-cvs-rev, rst-version)
14012 (rst-package-emacs-version-alist): New functions and variables
14013 for version information.
14015 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
14016 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
14017 (rst-mode-syntax-table, rst-mode): New and corrected functions
14018 and variables representing reStructuredText features.
14020 (rst-re): New function for reStructuredText regexes. Use in
14023 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
14024 (rst-mode-map): Rebind keys.
14026 (rst-mode-lazy, rst-font-lock-keywords)
14027 (rst-font-lock-extend-region)
14028 (rst-font-lock-extend-region-internal)
14029 (rst-font-lock-extend-region-extend)
14030 (rst-font-lock-find-unindented-line-limit)
14031 (rst-font-lock-find-unindented-line-match)
14032 (rst-adornment-level, rst-font-lock-adornment-level)
14033 (rst-font-lock-adornment-match)
14034 (rst-font-lock-handle-adornment-pre-match-form)
14035 (rst-font-lock-handle-adornment-matcher): Major revision of
14036 font-locking. Integrate with other code. Use `jit-lock-mode'.
14038 (rst-preferred-adornments, rst-adjust-hook)
14039 (rst-new-adornment-down, rst-preferred-bullets)
14040 (rst-preferred-bullets, rst-indent, rst-indent-width)
14041 (rst-indent-field, rst-indent-literal-normal)
14042 (rst-indent-literal-minimized, rst-indent-comment): Change,
14043 extend and improve customization.
14045 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
14046 (rst-normalize-cursor-position, rst-get-decoration)
14047 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
14048 (rst-rstrip, rst-toc-insert-find-delete-contents)
14049 (rst-shift-fill-region, rst-compute-bullet-tabs)
14050 (rst-debug-print-tabs, rst-debug-mark-found)
14051 (rst-shift-region-guts, rst-shift-region-right)
14052 (rst-shift-region-left, rst-use-char-classes)
14053 (rst-font-lock-keywords-function)
14054 (rst-font-lock-indentation-point)
14055 (rst-font-lock-find-unindented-line-begin)
14056 (rst-font-lock-find-unindented-line-end)
14057 (rst-font-lock-find-unindented-line)
14058 (rst-font-lock-adornment-point, rst-font-lock-level)
14059 (rst-adornment-level-alist): Remove functions and variables.
14061 (rst-compare-adornments, rst-get-adornment-match)
14062 (rst-suggest-new-adornment, rst-get-adornments-around)
14063 (rst-adornment-complete-p, rst-get-next-adornment)
14064 (rst-adjust-adornment, rst-display-adornments-hierarchy)
14065 (rst-straighten-adornments): Standardize function names to
14066 use "adornment" instead of "decoration". Correct callers.
14067 Similar standardizing in many places.
14069 (rst-update-section, rst-adjust, rst-promote-region)
14070 (rst-enumerate-region, rst-bullet-list-region)
14071 (rst-repeat-last-character): Correct use of `interactive'.
14073 (rst-classify-adornment, rst-find-all-adornments)
14074 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
14075 (rst-find-leftmost-column, rst-repeat-last-character):
14076 Refactor functions.
14078 (rst-find-title-line, rst-reset-section-caches)
14079 (rst-get-adornments-around, rst-adjust-adornment-work)
14080 (rst-arabic-to-roman, rst-roman-to-arabic)
14081 (rst-insert-list-pos, rst-insert-list-new-item)
14082 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
14085 (rst-all-sections, rst-section-hierarchy)
14086 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
14089 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
14090 configuration instead of only buffer. Change where necessary.
14092 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
14093 (rst-shift-region, rst-adaptive-fill): New functions for
14094 indentation and filling.
14096 (rst-comment-line-break, rst-comment-indent)
14097 (rst-comment-insert-comment, rst-comment-region)
14098 (rst-uncomment-region): New functions for handling comments.
14100 (rst-compile): Quote shell arguments.
14102 (rst-compile-pdf-preview, rst-compile-slides-preview):
14103 Delete temporary files after use.
14105 2012-05-05 Glenn Morris <rgm@gnu.org>
14107 * calendar/cal-html.el: Optionally include holidays in the output.
14108 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
14109 (cal-html-holidays): New option.
14110 (cal-html-css-default): Add holiday entry.
14111 (holiday-in-range): Autoload it.
14112 (cal-html-htmlify-entry): Add optional class argument.
14113 (cal-html-htmlify-list): Add optional holidays argument.
14114 (cal-html-insert-agenda-days): Include holidays in the output.
14115 (cal-html-one-month): Maybe include holidays.
14117 * calendar/holidays.el (holiday-in-range):
14118 Move here from cal-tex-list-holidays.
14119 * calendar/cal-tex.el (cal-tex-list-holidays):
14120 Make it an obsolete alias for holiday-in-range. Update all callers.
14122 2012-05-05 Chong Yidong <cyd@gnu.org>
14124 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
14127 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
14129 * files.el (file-auto-mode-skip): New var.
14130 (set-auto-mode-1): Use it.
14132 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14134 * repeat.el: Use lexical-binding.
14135 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
14136 (repeat-undo-count): Remove.
14138 * progmodes/octave-mod.el (octave-abbrev-start):
14139 * progmodes/f90.el (f90-abbrev-start):
14140 * face-remap.el (text-scale-adjust):
14141 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
14143 * emacs-lisp/pcase.el (pcase--let*): New function.
14144 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
14146 (pcase--split-pred): Be more clever about ruling out overlap between
14147 a predicate and some constant pattern.
14148 (pcase--q1): Use `null' instead of (eq foo nil).
14150 * subr.el (setq-local, defvar-local): New macros.
14151 (kbd): Redefine as an alias.
14152 (with-selected-window): Leave unrelated frames alone.
14153 (set-temporary-overlay-map): New function.
14155 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14157 * subr.el (user-error): New function.
14158 * window.el (switch-to-buffer):
14159 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
14160 (smerge-match-conflict):
14161 * simple.el (previous-matching-history-element)
14162 (next-matching-history-element, goto-history-element, undo-more)
14164 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
14165 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
14166 (next-file, tags-loop-scan, list-tags, complete-tag):
14167 * progmodes/compile.el (compilation-loop):
14168 * mouse.el (mouse-minibuffer-check):
14169 * man.el (Man-bgproc-sentinel, Man-goto-page):
14170 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
14171 (Info-history-forward, Info-follow-reference, Info-menu)
14172 (Info-extract-menu-item, Info-extract-menu-counting)
14173 (Info-forward-node, Info-backward-node, Info-next-menu-item)
14174 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
14175 (Info-next-reference, Info-prev-reference, Info-index)
14176 (Info-index-next, Info-follow-nearest-node)
14177 (Info-copy-current-node-name):
14178 * imenu.el (imenu--make-index-alist)
14179 (imenu-default-create-index-function, imenu-add-to-menubar):
14180 * files.el (basic-save-buffer, recover-file):
14181 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14182 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
14183 (checkdoc-message-text, checkdoc-defun):
14184 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
14185 * cus-edit.el (customize-changed-options, customize-rogue)
14186 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
14187 (custom-variable-mark-to-reset-standard)
14188 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
14190 * completion.el (check-completion-length):
14191 * comint.el (comint-search-arg)
14192 (comint-previous-matching-input-string-position)
14193 (comint-previous-matching-input)
14194 (comint-replace-by-expanded-history-before-point, comint-send-input)
14195 (comint-copy-old-input, comint-backward-matching-input)
14196 (comint-goto-process-mark, comint-set-process-mark):
14197 * calendar/calendar.el (calendar-cursor-to-date): Use it.
14198 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
14200 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14202 * dabbrev.el (dabbrev--ignore-case-p): New function.
14203 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
14206 * files.el (automount-dir-prefix): Mark as obsolete.
14208 2012-05-04 Glenn Morris <rgm@gnu.org>
14210 * patcomp.el, play/bruce.el: Move to obsolete/.
14212 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
14214 Fix minor Y10k bugs.
14215 * arc-mode.el (archive-unixdate):
14216 * autoinsert.el (auto-insert-alist):
14217 * calc/calc-forms.el (math-this-year):
14218 * emacs-lisp/copyright.el (copyright-current-year)
14219 (copyright-update-year, copyright):
14220 * tar-mode.el (tar-clip-time-string):
14221 * time.el (display-time-update):
14222 Don't assume years have 4 digits.
14224 2012-05-04 Chong Yidong <cyd@gnu.org>
14226 * dos-w32.el (file-name-buffer-file-type-alist)
14227 (direct-print-region-use-command-dot-com):
14228 * ffap.el (ffap-menu-regexp):
14229 * find-file.el (ff-special-constructs):
14230 * follow.el (follow-debug):
14231 * forms.el (forms--debug):
14232 * iswitchb.el (iswitchb-all-frames):
14233 * ido.el (ido-all-frames):
14234 * emacs-lisp/timer.el (timer-max-repeats):
14235 * mail/feedmail.el (feedmail-mail-send-hook)
14236 (feedmail-mail-send-hook-queued):
14237 * mail/footnote.el (footnote-signature-separator):
14238 * mail/mailabbrev.el (mail-alias-separator-string)
14239 (mail-abbrev-mode-regexp):
14240 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
14241 * progmodes/idlwave.el (idlwave-libinfo-file)
14242 (idlwave-default-completion-case-is-down)
14243 (idlwave-library-routines): Convert defvars to defcustoms.
14245 * mail/rmail.el (rmail-decode-mime-charset):
14246 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
14247 (idlwave-shell-fix-inserted-breaks)
14248 (idlwave-shell-activate-alt-keybindings)
14249 (idlwave-shell-use-breakpoint-glyph):
14250 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
14252 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14254 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
14256 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
14258 * progmodes/verilog-mode.el (font-lock-keywords):
14259 Fix mis-highligting auto. Reported by Craig Barner.
14260 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
14261 defines from global name space. Reported by Dan Dever.
14262 (verilog-auto-reset, verilog-auto-reset-widths)
14263 (verilog-auto-tieoff): Support using unbased numbers for
14264 AUTORESET and AUTOTIEOFF.
14265 (verilog-submit-bug-report): Update variable list.
14266 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
14267 parenthesis from not matching. Reported by Michael Rytting.
14268 (verilog-auto-template-lint): Fix hash error when linting modules
14269 with no used templates.
14270 (verilog-warn, verilog-warn-error)
14271 (verilog-warn-fatal): When non-interactive report multiple
14272 warnings before exiting. Suggested by Brad Dobbie.
14273 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
14274 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
14275 to report unused template errors. Reported by Brad Dobbie.
14276 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
14277 nets, bug438. Reported by Vns Blore.
14278 (verilog-auto-inout-module, verilog-auto-reg)
14279 (verilog-read-decls, verilog-read-sub-decls-sig)
14280 (verilog-signals-edit-wire-reg, verilog-signals-with):
14281 Fix passing of Verilog data types in ANSI input/output ports
14282 such as "output logic" into the AUTOs. Special case "wire" and
14283 "reg" for backwards compatibility presuming Verilog 2001.
14284 (verilog-auto-ascii-enum): Add "auto enum" as alias.
14285 (verilog-preprocess): Fix replication of preprocess output.
14286 Reported by Brad Dobbie.
14287 (verilog-auto-inst-interfaced-ports):
14288 Create verilog-auto-inst-interfaced-ports, bug429.
14289 Reported by Julian Gorfajn.
14290 (verilog-after-save-font-hook)
14291 (verilog-before-save-font-hook): New variable.
14292 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
14293 (verilog-save-font-mods): Wrap disabling fontification, reported
14295 (verilog-do-indent, verilog-pretty-declarations-auto)
14296 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
14297 Reported by Pierre-David Pfister.
14298 (verilog-set-auto-endcomments): Fix endtask auto comments outside
14299 of class declarations, bug292. Reported by Kevin Heilman.
14300 (verilog-read-decls): Fix 'parameter type' not appearing in
14301 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
14302 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
14303 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
14304 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
14305 Reported by David Kravitz.
14307 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
14309 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
14310 assignment with tests in ifs and for loops.
14311 (verilog-extended-complete-re, verilog-complete-reg): Change so
14312 that DPI inport functions don't look like fuction declarations.
14313 (verilog-pretty-expr): Don't line up assignment
14314 operations to the test and increment in if and for loops
14315 (verilog-extended-complete-re, verilog-complete-reg): Change so
14316 that DPI inport functions don't look like fuction declarations.
14318 2012-05-03 Kenichi Handa <handa@m17n.org>
14320 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
14321 decoding, and show a warning message without signaling an error
14324 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14326 * emacs-lisp/bytecomp.el
14327 (byte-compile-file-form-custom-declare-variable): Compile all elements,
14328 since cconv.el might have introduced :fun-body, internal-make-closure,
14329 and friends for bytecomp to handle (bug#11391).
14330 * custom.el (defcustom): Avoid ((λ ..) ..).
14332 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
14334 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
14336 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
14338 * notifications.el (dbus-debug):
14339 * term/linux.el (gpm-mouse-enable):
14340 * term/screen.el (xterm-register-default-colors): Declare.
14342 2012-05-02 Chong Yidong <cyd@gnu.org>
14344 * cus-start.el (gc-cons-percentage, exec-suffixes)
14345 (dos-display-scancodes, dos-hyper-key, dos-super-key)
14346 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
14347 (make-cursor-line-fully-visible, void-text-area-pointer)
14348 (font-list-limit): Add customization data.
14350 * allout.el (allout-exposure-change-functions)
14351 (allout-structure-added-functions)
14352 (allout-structure-deleted-functions)
14353 (allout-structure-shifted-functions): Rename abnormal hooks from
14354 *-hook, and convert to defcustoms.
14355 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
14356 Convert to defcustoms.
14357 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
14359 * allout-widgets.el: Hook callers changed.
14361 2012-05-02 Eli Zaretskii <eliz@gnu.org>
14363 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
14364 the yanked message in preference to the default value of
14365 buffer-file-coding-system.
14367 2012-05-02 Martin Rudalics <rudalics@gmx.at>
14369 * window.el (display-buffer--action-function-custom-type):
14372 2012-05-02 Alan Mackenzie <acm@muc.de>
14374 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
14376 2012-05-01 Glenn Morris <rgm@gnu.org>
14378 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
14380 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
14382 * cus-edit.el (custom-variable-documentation): Simplify with format.
14384 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14385 Stefan Monnier <monnier@iro.umontreal.ca>
14387 * simple.el (suggest-key-bindings, execute-extended-command):
14388 Move from keyboard.c.
14390 2012-05-01 Chong Yidong <cyd@gnu.org>
14392 * follow.el: Eliminate advice.
14393 (set-process-filter, process-filter, sit-for): Advice deleted.
14394 (follow-mode-off-hook): Obsolete hook removed.
14395 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
14397 (follow-auto): Use a :set function.
14398 (follow-mode): Rewritten. Don't advise process filters.
14399 (follow-switch-to-current-buffer-all, follow-scroll-up)
14400 (follow-scroll-down): Assume follow-mode is bound.
14401 (follow-comint-scroll-to-bottom)
14402 (follow-align-compilation-windows): New functions.
14403 (follow--window-sorter): New function.
14404 (follow-all-followers): Use it to explicitly sort windows by their
14405 positions; don't make assumptions about next-window order.
14406 (follow-windows-start-end, follow-delete-other-windows-and-split)
14407 (follow-calc-win-start): Doc fix.
14408 (follow-windows-aligned-p, follow-select-if-visible): Don't call
14409 vertical-motion unnecessarily.
14410 (follow-adjust-window): New function.
14411 (follow-post-command-hook): Use it.
14412 (follow-call-set-process-filter, follow-call-process-filter)
14413 (follow-intercept-process-output, follow-tidy-process-filter-alist)
14414 (follow-stop-intercept-process-output, follow-generic-filter):
14416 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
14417 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
14418 New functions, replacing advice on scroll-bar-* commands.
14419 (follow-mwheel-scroll): New function (Bug#4112).
14421 * comint.el (comint-adjust-point): New function.
14422 (comint-postoutput-scroll-to-bottom): Use it.
14423 Call follow-comint-scroll-to-bottom for Follow mode buffers.
14425 2012-05-01 Glenn Morris <rgm@gnu.org>
14427 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
14428 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
14429 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
14430 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
14431 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
14432 Remove no-byte-compile setting.
14434 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
14436 * minibuffer.el (completion-table-with-quoting): Fix compatibility
14437 all-completions code to not return a number in the last cdr.
14439 2012-04-30 Leo Liu <sdl.web@gmail.com>
14441 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
14444 2012-04-29 Chong Yidong <cyd@gnu.org>
14446 * follow.el (follow-calc-win-end): Rewrite to handle partial
14447 screen lines correctly (Bug#8390).
14448 (follow-avoid-tail-recenter): Minor cleanup.
14450 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14452 Avoid the obsolete `assoc' package.
14453 * speedbar.el (speedbar-refresh): Avoid adelete.
14454 (speedbar-file-lists): Simplify and avoid aput.
14455 * man.el (Man--sections, Man--refpages): New vars, replacing
14456 Man-sections-alist and Man-refpages-alist.
14457 (Man-build-section-alist, Man-build-references-alist):
14458 Use them; avoid aput.
14459 (Man--last-section, Man--last-refpage): New vars.
14460 (Man-follow-manual-reference): Use them.
14461 Use the `default' arg of completing-read.
14462 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
14464 2012-04-27 Chong Yidong <cyd@gnu.org>
14466 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
14468 * startup.el (x-apply-session-resources): New function.
14470 * term/ns-win.el (ns-initialize-window-system):
14471 * term/w32-win.el (w32-initialize-window-system):
14472 * term/x-win.el (x-initialize-window-system): Use it to properly
14473 set menu-bar-mode and other vars from X resources, even if the
14474 initial frame is not a window-system frame (Bug#2299).
14476 * subr.el (read-key): Avoid running filter function when setting
14477 up temporary tool bar entries (Bug#9922).
14479 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14481 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
14484 2012-04-27 Chong Yidong <cyd@gnu.org>
14486 * select.el (xselect--encode-string): New function, split from
14487 xselect-convert-to-string.
14488 (xselect-convert-to-string): Use it.
14489 (xselect-convert-to-filename, xselect-convert-to-os)
14490 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
14491 returned strings are properly encoded (Bug#11315).
14493 2012-04-27 Chong Yidong <cyd@gnu.org>
14495 * simple.el (delete-active-region): Move to killing custom group.
14497 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14499 * progmodes/which-func.el (which-func-current): Quote %
14500 characters for mode-line processing.
14502 2012-04-27 Chong Yidong <cyd@gnu.org>
14504 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
14505 reaching eob (Bug#11286).
14507 2012-04-27 Eli Zaretskii <eliz@gnu.org>
14509 * progmodes/gdb-mi.el (gdb-control-level): New variable.
14510 (gdb): Make it buffer-local and init to zero.
14511 (gdb-control-commands-regexp): New variable.
14512 (gdb-send): Don't wrap in "-interpreter-exec console" if
14513 gdb-control-level is positive. Increment gdb-control-level
14514 whenever the command matches gdb-control-commands-regexp, and
14515 decrement it each time the command is "end". (Bug#11279)
14517 2012-04-27 Martin Rudalics <rudalics@gmx.at>
14519 * window.el (adjust-window-trailing-edge, enlarge-window)
14520 (shrink-window, window-resize):
14521 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
14522 windows (Bug#11276).
14524 2012-04-27 Chong Yidong <cyd@gnu.org>
14526 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
14527 fix "missing prefix" warning. All callers changed.
14529 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14531 * emacs-lisp/assoc.el: Move to obsolete/.
14533 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14535 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
14537 * term/ns-win.el (ns-define-service):
14538 * progmodes/pascal.el (pascal-goto-defun):
14539 * progmodes/js.el (js--read-tab):
14540 * progmodes/etags.el (tags-lazy-completion-table):
14541 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
14542 * emacs-lisp/ewoc.el (ewoc--wrap):
14543 * emacs-lisp/assoc.el (aput, adelete, amake):
14544 * doc-view.el (doc-view-convert-current-doc):
14545 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
14547 2012-04-26 Chong Yidong <cyd@gnu.org>
14549 * image.el (image-type-from-buffer): Only return supported image
14552 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
14553 value, for symmetry with diff-end-of-hunk.
14554 (diff-split-hunk, diff-find-source-location)
14555 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
14556 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
14557 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
14558 compute the relevant hunk or file properly (Bug#6005).
14559 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
14561 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14570 * vc/vc.el: Replace lexical-let by lexical-binding.
14571 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
14572 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
14573 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
14575 2012-04-26 Chong Yidong <cyd@gnu.org>
14577 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
14578 (diff-mode-shared-map): Bind it to / and [remap undo].
14580 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
14581 (ediff-window-setup-function): Use it as the default, to set up
14582 windows based on whether the current frame is graphical (Bug#2138).
14583 (ediff-choose-window-setup-function-automatically): Make obsolete.
14585 * vc/ediff-init.el: Always define ediff-pixel-width/height.
14587 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14589 * ffap.el: Remove old code for obsolete package.
14590 (ffap-complete-as-file-p): Remove.
14592 Use completion-table-with-quoting for comint and pcomplete.
14593 * comint.el (comint--unquote&requote-argument)
14594 (comint--unquote-argument, comint--requote-argument): New functions.
14595 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
14596 (comint-quote-filename): Use regexp-opt-charset.
14597 (comint--common-suffix, comint--common-quoted-suffix)
14598 (comint--table-subvert): Remove.
14599 (comint-unquote-function, comint-requote-function): New vars.
14600 (comint--complete-file-name-data): Use them with
14601 completion-table-with-quoting.
14602 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
14603 * pcomplete.el (pcomplete-arg-quote-list)
14604 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
14605 (pcomplete-unquote-argument-function): Default to non-nil.
14606 (pcomplete-unquote-argument): Simplify.
14607 (pcomplete--common-quoted-suffix): Remove.
14608 (pcomplete-requote-argument-function): New var.
14609 (pcomplete--common-suffix): New function.
14610 (pcomplete-completions-at-point): Use completion-table-with-quoting
14611 and completion-table-subvert.
14613 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
14614 (minibuffer--double-dollars): Preserve properties.
14615 (completion--sifn-requote): New function.
14616 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
14618 * minibuffer.el: Add support for completion of quoted/escaped data.
14619 (completion-table-with-quoting, completion-table-subvert): New funs.
14620 (completion--twq-try, completion--twq-all): New functions.
14621 (completion--nth-completion): New function.
14622 (completion-try-completion, completion-all-completions): Use it.
14624 2012-04-25 Leo Liu <sdl.web@gmail.com>
14626 * progmodes/python.el (python-pdbtrack-get-source-buffer):
14627 Use compilation-message if available to find real filename.
14629 2012-04-25 Chong Yidong <cyd@gnu.org>
14631 * vc/diff-mode.el (diff-setup-whitespace): New function.
14632 (diff-mode): Use it.
14634 * vc/diff.el (diff-sentinel):
14635 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
14636 Whitespace mode variables based on diff style (Bug#8612).
14638 2012-04-25 Leo Liu <sdl.web@gmail.com>
14640 * progmodes/python.el (python-send-region): Add suffix .py to the
14643 * files.el (auto-mode-alist): Use javascript-mode instead.
14645 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
14647 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
14649 * net/soap-client.el (soap-resolve-references-for-sequence-type)
14650 (soap-resolve-references-for-array-type): Hack to prevent self
14651 references, see Bug#9.
14652 (soap-parse-envelope): Report the contents of the 'detail' node
14653 when receiving a fault reply.
14654 (soap-parse-envelope): Report the contents of the entire 'detail' node.
14656 * net/soap-inspect.el (soap-sample-value-for-simple-type)
14657 (soap-inspect-simple-type): New function.
14659 * net/soap-client.el (soap-simple-type): New struct.
14660 (soap-default-xsd-types, soap-default-soapenc-types)
14661 (soap-decode-basic-type, soap-encode-basic-type):
14662 support unsignedInt and double basic types.
14663 (soap-resolve-references-for-simple-type)
14664 (soap-parse-simple-type, soap-encode-simple-type): New function.
14665 (soap-parse-schema): Parse xsd:simpleType declarations.
14667 * net/soap-client.el (soap-default-xsd-types)
14668 (soap-default-soapenc-types): Add integer, byte and anyURI types.
14669 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
14670 the local name of "soapenc:Array".
14671 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
14672 decoding integer, byte and anyURI xsd types.
14674 2012-04-25 Chong Yidong <cyd@gnu.org>
14676 * cus-edit.el (custom-buffer-create-internal): Update header text.
14678 2012-04-25 Eli Zaretskii <eliz@gnu.org>
14680 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
14681 settings on 'system-type', not on 'window-system'. On MS-Windows,
14682 set interactive-mode on in GDB.
14684 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14686 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
14687 (ruby-syntax-propertize-regexp): Remove.
14688 (ruby-syntax-propertize-function): Split regexp into chunks.
14689 Match following code directly.
14691 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
14693 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
14694 (ruby-syntax-propertize-regexp): New function.
14695 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
14696 by a special keyword.
14698 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
14699 (ruby-syntax-general-delimiters-goto-beg)
14700 (ruby-syntax-propertize-general-delimiters): New functions.
14701 (ruby-syntax-propertize-function): Use them to handle GDL.
14702 (ruby-font-lock-keywords): Move old handling of GDL...
14703 (ruby-font-lock-syntactic-keywords): .. to here.
14704 (ruby-calculate-indent): Adjust indentation for GDL.
14706 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
14708 * notifications.el (top): Remove unneeded declarations.
14709 (notifications-specification-version): Change to "1.2".
14710 (notifications-interface, notifications-notify-method)
14711 (notifications-close-notification-method): Fix docstring.
14712 (notifications-get-capabilities-method): New defconst.
14713 (notifications-notify): Add :action-items, :resident and
14714 :transient hints. Change "image_data" to "image-data" and
14715 "image_path" to "image-path".
14716 (notifications-get-capabilities): New defun.
14718 2012-04-24 Leo Liu <sdl.web@gmail.com>
14720 * progmodes/python.el: Move hideshow setup to the end.
14722 2012-04-24 Martin Rudalics <rudalics@gmx.at>
14724 * window.el (handle-select-window): Clear echo area since this is
14725 no more done by read_char (Bug#11304).
14727 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14729 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
14730 and `/ M' to filter-derived-mode.
14731 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
14732 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
14733 (ibuffer-mark-by-mode): Use default rather than initial-input.
14734 (ibuffer-filter-by-derived-mode): Autoload and require-match.
14736 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
14738 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
14739 (ibuffer-filter-by-derived-mode): New filter.
14740 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
14742 2012-04-23 Andreas Politz <politza@fh-trier.de>
14744 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
14746 2012-04-23 Chong Yidong <cyd@gnu.org>
14748 * cus-edit.el (customize-apropos, customize-apropos-options):
14749 Disable matching of non-option variables (Bug#11176).
14750 (customize-option, customize-option-other-window)
14751 (customize-changed-options): Doc fix.
14752 (customize-apropos-options, customize-apropos-faces)
14753 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
14755 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
14756 Fix word list splitting (Bug#11132).
14757 (apropos-symbol, apropos-keybinding, apropos-label)
14758 (apropos-property, apropos-function-button)
14759 (apropos-variable-button, apropos-misc-button): New faces.
14760 (apropos-symbol-face, apropos-keybinding-face)
14761 (apropos-label-face, apropos-property-face, apropos-match-face):
14762 Variables removed (Bug#8396).
14763 (apropos-library-button, apropos-format-plist, apropos-print)
14764 (apropos-print-doc, apropos-describe-plist): Callers changed.
14766 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
14768 * net/xesam.el (xesam-mode-map): Use let-bound map in
14769 initialization. (Bug#11292)
14771 2012-04-23 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
14773 Preserve ispell session localwords when switching back to
14776 * textmodes/ispell.el (ispell-buffer-session-localwords):
14777 New buffer-local variable to hold buffer session localwords.
14778 (ispell-kill-ispell): Add option 'clear to delete session
14780 (ispell-command-loop, ispell-change-dictionary)
14781 (ispell-buffer-local-words): Preserve session localwords when
14784 * textmodes/flyspell.el (flyspell-process-localwords)
14785 (flyspell-do-correct): Preserve session localwords when needed.
14787 2012-04-23 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
14789 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
14790 using obsolete `translation-table-for-input'.
14791 (ispell-word, ispell-process-line, ispell-complete-word):
14792 Use plain `insert' instead of removed `ispell-insert-word'.
14794 2012-04-22 Chong Yidong <cyd@gnu.org>
14796 * cus-edit.el (custom-variable-menu)
14797 (custom-variable-reset-saved, custom-face-menu)
14798 (custom-face-reset-saved): If there is no saved value, make the
14799 "reset-saved" operation bring back the default (Bug#9509).
14800 (custom-face-state): Properly detect themed faces.
14802 * faces.el (face-spec-set): Stop supporting deprecated form of
14805 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
14807 Move functions from C to Lisp. Make non-blocking method calls
14808 the default. Implement further D-Bus standard interfaces.
14810 * net/dbus.el (dbus-message-internal): Declare function.
14811 Remove unneeded function declarations.
14812 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
14813 (dbus-message-type-method-return, dbus-message-type-error)
14814 (dbus-message-type-signal): Declare variables. Remove local
14816 (dbus-interface-dbus, dbus-interface-peer)
14817 (dbus-interface-introspectable, dbus-interface-properties)
14818 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
14820 (dbus-interface-objectmanager): New defconst.
14821 (dbus-call-method, dbus-call-method-asynchronously)
14822 (dbus-send-signal, dbus-method-return-internal)
14823 (dbus-method-error-internal, dbus-register-service)
14824 (dbus-register-signal, dbus-register-method): New defuns, moved
14826 (dbus-call-method-handler, dbus-setenv)
14827 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
14829 (dbus-call-method-non-blocking): Make it an obsolete function.
14830 (dbus-unregister-object, dbus-unregister-service)
14831 (dbus-handle-event, dbus-register-property)
14832 (dbus-property-handler): Obey the new structure of
14833 `bus-registered-objects'.
14834 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
14835 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14836 Use `dbus-call-method'.
14838 2012-04-22 Chong Yidong <cyd@gnu.org>
14840 * cus-edit.el (custom-commands, custom-reset-menu)
14841 (Custom-reset-standard): Tweak labels.
14842 (custom-reset-button-menu): Change default to t.
14843 (custom-buffer-create-internal): For the custom-reset-button-menu
14844 case, put the revert button first.
14845 (custom-group-subtitle): New face.
14846 (custom-group-value-create): Align docstring to a specific column.
14848 * wid-edit.el (widget-documentation-link-add): Don't handle
14849 indentation in this function.
14850 (widget-documentation-string-indent-to): New function.
14851 (widget-documentation-string-value-create): Use it.
14853 * autorevert.el (auto-revert):
14854 * epg-config.el (epg):
14855 * ibuffer.el (ibuffer):
14858 * eshell/eshell.el (eshell):
14859 * net/ange-ftp.el (ange-ftp):
14860 * progmodes/ebnf2ps.el (postscript):
14861 * progmodes/flymake.el (flymake):
14862 * progmodes/prolog.el (prolog):
14863 * progmodes/verilog-mode.el (verilog-mode):
14864 * progmodes/which-func.el (which-func):
14865 * term/xterm.el (xterm):
14866 * textmodes/picture.el (picture):
14867 * textmodes/tildify.el (tildify):
14868 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
14869 customization buffers.
14871 2012-04-22 Alan Mackenzie <acm@muc.de>
14873 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
14874 Adding a ) can hide the resulting (..) from searches. Fix it.
14875 Bound the backward search to the position of the existing (.
14877 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
14879 * progmodes/verilog-mode.el (verilog-mode): Check whether
14880 which-func-modes is t before adding verilog-mode.
14881 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
14883 2012-04-21 Leo Liu <sdl.web@gmail.com>
14885 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
14887 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
14889 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
14890 filling of the last column of a table (Bug#5635).
14891 (woman-find-next-control-line): New arg, specifying an additional
14892 regexp component for the control line.
14893 (woman2-roff-buffer): Use it.
14894 (woman-break-table): New function.
14895 (woman2-TS): Use it.
14897 2012-04-21 Chong Yidong <cyd@gnu.org>
14899 * woman.el (woman-set-buffer-display-table, woman-decode-region)
14900 (woman-horizontal-escapes, woman-negative-vertical-space)
14901 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
14902 (WoMan-warn-ignored): Use ?\s instead of ?\ .
14904 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14906 * minibuffer.el (completion-file-name-table): Complete user names.
14908 2012-04-20 Leo Liu <sdl.web@gmail.com>
14910 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
14913 2012-04-20 Chong Yidong <cyd@gnu.org>
14915 * server.el (server-execute): Respect initial-buffer-choice if it
14916 is a string and there are no files to open (Bug#2825).
14917 (server-create-window-system-frame, server-create-tty-frame):
14918 Don't switch buffers here.
14919 (server-process-filter): Only try to open a window system frame if
14920 compiled with graphical support (Bug#8314).
14922 2012-04-20 Dan Nicolaescu <dann@gnu.org>
14924 * battery.el (battery-echo-area-format): Display remaining time
14925 for sysfs backend too (Bug#11269).
14926 (battery-linux-sysfs): Fix conditional for the charge.
14928 2012-04-20 Chong Yidong <cyd@gnu.org>
14930 * progmodes/gdb-mi.el (gdb): Revert previous change.
14931 (gdb-inferior-io--init-proc): New function.
14932 (gdb-init-1): Use it.
14933 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
14934 responsible for allocating a new pty and hooking it to gdb when
14935 the old pty gets an EIO due to process exit.
14936 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
14937 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
14938 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
14940 2012-04-20 Eli Zaretskii <eliz@gnu.org>
14942 * window.el (window-min-size, window-sizable, window-min-delta)
14943 (window-max-delta, window--resizable, window-resizable)
14944 (window-total-size, window-full-height-p, window-full-width-p)
14945 (window-in-direction, window--resize-mini-window, window-resize)
14946 (window--resize-child-windows-normal)
14947 (window--resize-child-windows, window--resize-siblings)
14948 (window--resize-this-window, adjust-window-trailing-edge)
14949 (enlarge-window, shrink-window): Doc fixes.
14951 2012-04-20 Chong Yidong <cyd@gnu.org>
14953 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
14954 New function to call delete-process on the gdb-inferior buffer's pty.
14955 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
14956 pty process (Bug#11273).
14957 (gdb-update): New arg to suppress talking to the gdb process.
14958 (gdb-done-or-error): Use it.
14959 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
14960 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
14961 sentinel not being called.
14963 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
14965 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
14967 2012-04-20 Glenn Morris <rgm@gnu.org>
14969 * net/network-stream.el (open-network-stream): Doc fix.
14971 2012-04-20 Chong Yidong <cyd@gnu.org>
14973 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
14975 2012-04-20 Alan Mackenzie <acm@muc.de>
14977 Ensure searching for keywords is case sensitive.
14979 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
14980 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
14981 (c-defun-name, c-mark-function, c-cpp-define-name)
14982 (c-comment-indent, c-scan-conditionals, c-indent-defun)
14983 (c-context-line-break): Bind case-fold-search to nil.
14985 * progmodes/cc-mode.el (c-font-lock-fontify-region):
14986 Bind case-fold-search to nil.
14988 2012-04-20 Chong Yidong <cyd@gnu.org>
14990 * mail/sendmail.el (mail-bury): Call return action with the right
14991 Rmail buffer (Bug#11242).
14993 * server.el (server-process-filter): Handle corner case where both
14994 tty and nowait options are present (Bug#11102).
14996 2012-04-20 Eli Zaretskii <eliz@gnu.org>
14998 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
14999 (top level): Put into the executable the ident-style '$Id:' tag on
15000 windows-nt as well.
15002 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15004 * electric.el (electric-indent-post-self-insert-function): Check that
15005 electric-indent-mode is enabled in current buffer.
15007 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15009 * imenu.el (imenu-progress-message): Restore; it is "used" in
15010 erc/erc-imenu.el and net/snmp-mode.el.
15012 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15014 * avoid.el (mouse-avoidance-mode): Mark unused arg.
15015 (mouse-avoidance-nudge-mouse): Remove unused binding.
15017 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
15019 * descr-text.el (describe-char):
15020 * progmodes/python.el (python-describe-symbol):
15021 Don't call `toggle-read-only', set `buffer-read-only'.
15023 * imenu.el (imenu-default-goto-function): Mark unused args.
15024 (imenu-progress-message): Remove obsolete macro; all callers changed.
15026 * subr.el (keymap-canonicalize): Remove unused binding.
15027 (read-passwd): Mark unused arg.
15029 * tutorial.el (tutorial--display-changes): Remove unused binding.
15030 (tutorial--save-tutorial-to): Remove unused variable.
15032 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
15033 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
15034 (package-generate-autoloads, package-menu--generate)
15035 (package-menu--find-upgrades): Remove unused bindings.
15037 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
15038 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
15039 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
15040 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
15041 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
15042 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
15043 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
15044 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
15045 (cua-delete-char-rectangle): Mark unused args.
15046 (cua-align-rectangle): Remove unused binding.
15048 * mail/rmail.el (compilation--message->loc)
15049 (epa--find-coding-system-for-mime-charset): Declare.
15051 * net/dbus.el (dbus-register-service): Declare.
15052 (dbus-name-owner-changed-handler): Remove unused binding.
15054 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
15055 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
15056 (nxml-scan-backward-within): Mark unused arg.
15057 (nxml-dynamic-markup-word): Remove unused binding.
15059 * mouse.el (mouse-menu-major-mode-map):
15060 * emacs-lisp/authors.el (authors-scan-change-log)
15061 (authors-add-to-author-list):
15062 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
15063 * emacs-lisp/smie.el (smie-auto-fill):
15064 * mail/sendmail.el (mail-bury):
15065 * mail/unrmail.el (unrmail):
15066 * net/tls.el (open-tls-stream):
15067 * textmodes/picture.el (picture-mouse-set-point):
15068 Remove unused bindings.
15070 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
15072 * net/tramp.el (tramp-action-password): Let-bind
15073 `enable-recursive-minibuffers' to t.
15075 2012-04-18 Sam Steingold <sds@gnu.org>
15077 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
15078 instead of 'string to accommodate values like [f11].
15079 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
15080 * progmodes/gdb-mi.el: Likewise.
15082 2012-04-18 Leo Liu <sdl.web@gmail.com>
15084 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
15086 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
15089 2012-04-18 Chong Yidong <cyd@gnu.org>
15091 * simple.el (line-move): Use forward-line if in batch mode
15094 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
15096 * files.el (after-find-file): Do not try to add a final newline if
15097 the buffer is read-only (Bug#11156).
15099 2012-04-17 Richard Stallman <rms@gnu.org>
15101 * mail/rmail.el (rmail-start-mail):
15102 Pass (rmail-mail-return...) for the return-action.
15103 Pass (rmail-yank-current-message...) for the yank-action.
15104 (rmail-yank-current-message): New function.
15105 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
15106 (rmail-reply): Likewise.
15107 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
15109 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
15110 buffer, not the last. Reject temp buffers. Use the rmail-mode
15111 buffer, not newbuf.
15113 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
15115 * server.el (server-ensure-safe-dir): Simplify.
15117 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15119 * emacs-lisp/smie.el: Provide smarter auto-filling.
15120 (smie-auto-fill): New function.
15121 (smie-setup): Use it.
15123 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
15125 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
15127 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
15128 (comment-indent): Use it.
15130 2012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
15132 * ses.el: The overall change is to add cell renaming, that is
15133 setting fancy names for cell symbols other than name matching
15134 "\\`[A-Z]+[0-9]+\\'" regexp .
15135 (ses-localvars): Add ses--renamed-cell-symb-list.
15136 (ses-create-cell-variable): New defun.
15137 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
15138 (ses-relocate-formula): Relocate formulas only for cells the
15139 symbols of which are not renamed, i.e. symbols whose names do not
15140 match regexp "\\`[A-Z]+[0-9]+\\'".
15141 (ses-relocate-all): Relocate values only for cells the symbols of
15142 which are not renamed.
15143 (ses-load): Create cells variables as the (ses-cell ...) are read,
15144 in order to check row col consistency with cell symbol name only
15145 for cells that are not renamed.
15146 (ses-replace-name-in-formula): New defun.
15147 (ses-rename-cell): New defun.
15149 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
15151 * progmodes/perl-mode.el (perl-indent-parens-as-block):
15152 New option (bug#11118).
15153 (perl-calculate-indent): Respect it.
15155 2012-04-17 Glenn Morris <rgm@gnu.org>
15157 * dired-aux.el (dired-mark-read-string): Doc fix.
15159 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
15161 * dired-aux.el (dired-mark-read-string): Offer optional completion.
15162 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
15164 2012-04-17 Glenn Morris <rgm@gnu.org>
15166 * mouse.el (mouse-drag-track):
15167 * speedbar.el (speedbar-frame-mode):
15168 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
15170 2012-04-16 Leo Liu <sdl.web@gmail.com>
15172 * progmodes/python.el: Trivial cleanup.
15174 2012-04-16 Glenn Morris <rgm@gnu.org>
15176 * vc/vc.el (vc-string-prefix-p):
15177 * vc/pcvs-util.el (cvs-string-prefix-p):
15178 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
15179 * mpc.el (mpc-string-prefix-p):
15180 Make all of these into obsolete aliases for string-prefix-p.
15182 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
15184 * textmodes/two-column.el: Move custom options to the start.
15185 (frame-width): Remove compat definition.
15186 (2C-associate-buffer, 2C-dissociate):
15187 Use with-current-buffer rather than save-excursion.
15188 (2C-dissociate): Force a mode-line update.
15189 (2C-autoscroll): Use ignore-errors.
15191 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
15194 * emacs-lisp/cl-extra.el (*random-state*):
15195 Remove unnecessary declaration.
15197 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
15199 * play/cookie1.el (cookie-snarf):
15200 Give an explicit error if input file cannot be read.
15202 * play/yow.el (yow-file): Use expand-file-name rather than concat.
15204 * progmodes/perl-mode.el (c-macro-expand):
15205 Remove unnecessary autoload (it is in loaddefs.el).
15207 * textmodes/picture.el (picture-desired-column)
15208 (picture-update-desired-column): Convert comments to doc-strings.
15209 (picture-substitute): Remove function.
15210 (picture-mode-map): Initialize in the defvar.
15212 * woman.el: Remove eval-after-load for tar-mode.
15213 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
15214 (woman-tar-extract-file): Autoload it.
15216 * frame.el (automatic-hscrolling): Make this alias obsolete.
15218 2012-04-12 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
15220 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
15221 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
15222 (ispell-dictionary-base-alist): Revert to original XEmacs
15223 friendly version for default. [:alpha:] will be added in
15224 `ispell-set-spellchecker-params' if needed.
15226 2012-04-16 Chong Yidong <cyd@gnu.org>
15228 * image.el (imagemagick--file-regexp): New variable.
15229 (imagemagick-register-types): Use it.
15230 (imagemagick-types-inhibit): Add :set function. Allow new value
15231 of t to inhibit all types.
15233 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
15234 so we can preload it.
15236 * loadup.el (fboundp): Preload regexp-opt, needed by
15237 imagemagick-register-types.
15239 2012-04-15 Chong Yidong <cyd@gnu.org>
15241 * frame.el (scrolling): Remove nearly unused customization group.
15243 * scroll-all.el (scroll-all-mode): Move to windows group.
15245 2012-04-15 Chong Yidong <cyd@gnu.org>
15247 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
15249 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15251 Avoid the use of ((lambda ...) ...) in lexical-binding code.
15252 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
15254 2012-04-15 Glenn Morris <rgm@gnu.org>
15256 * simple.el (process-file-side-effects): Doc fix.
15258 2012-04-15 Glenn Morris <rgm@gnu.org>
15260 * international/mule-cmds.el (set-language-environment): Doc fix.
15262 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15264 * server.el (server-auth-key, server-generate-key): Doc fixes.
15265 (server-get-auth-key): Doc fix. Use `string-match-p'.
15266 (server-start): Reflow docstring.
15268 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
15270 * server.el (server-generate-key): `called-interactively-p'
15271 requires a parameter.
15273 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
15275 * server.el (server-auth-key): New variable.
15276 (server-generate-key, server-get-auth-key): New function.
15277 (server-start): Use the new variable and functions to allow
15278 setting a permanent server key (bug#9423).
15280 2012-04-14 Leo Liu <sdl.web@gmail.com>
15282 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
15284 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
15287 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
15288 Emacs uses American spelling.
15290 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15292 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
15293 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
15294 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
15295 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
15297 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15299 * progmodes/which-func.el (which-func-modes): Change default.
15301 2012-04-14 Kim F. Storm <storm@cua.dk>
15303 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
15304 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
15306 2012-04-14 Chong Yidong <cyd@gnu.org>
15308 * custom.el (custom-theme-set-variables): Doc fix.
15310 2012-04-14 Glenn Morris <rgm@gnu.org>
15312 * international/mule.el (set-auto-coding-for-load): Doc fix.
15314 2012-04-14 Alan Mackenzie <acm@muc.de>
15316 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
15317 imenu work again for Objective C Mode. Correct the *-index values,
15318 these having been disturbed by a previous change in 2011-08.
15320 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
15321 Correct two search limits.
15323 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15325 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
15327 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
15329 * international/characters.el: Fix sorting.
15331 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15333 * international/characters.el: Add more missing Latin case pairs.
15335 2012-04-14 Glenn Morris <rgm@gnu.org>
15337 * files.el (dir-locals-set-class-variables): Doc fix.
15339 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15341 * international/characters.el: Add set-case-syntax-pair call for
15342 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
15343 counterpart. (Bug#11209)
15345 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
15347 2012-04-14 Glenn Morris <rgm@gnu.org>
15349 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15351 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15353 * textmodes/ispell.el (ispell-dictionary-base-alist):
15354 Add data for Hebrew.
15356 2012-04-14 Chong Yidong <cyd@gnu.org>
15358 * net/rcirc.el (rcirc-cmd-quit):
15359 Revert 2012-03-18 change (Bug#11192).
15361 2012-04-14 Glenn Morris <rgm@gnu.org>
15363 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
15365 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15367 * minibuffer.el (completion-in-region-mode-map):
15368 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
15370 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
15372 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
15374 2012-04-13 Masatake YAMATO <yamato@redhat.com>
15376 * minibuffer.el (minibuffer-local-filename-syntax): New variable
15377 to allow `C-M-f' and `C-M-b' to move to the nearest path
15378 separator (bug#9511).
15380 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
15382 * avoid.el: Require cl when compiling. And also move the
15383 `provide' to the end.
15385 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15387 * avoid.el (mouse-avoidance-banish-position): New variable.
15388 (mouse-avoidance-banish-destination): Use it (bug#10165).
15390 2012-04-13 Leo Liu <sdl.web@gmail.com>
15392 * progmodes/which-func.el (which-func-modes): Add objc-mode.
15394 2012-04-13 Ken Brown <kbrown@cornell.edu>
15396 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
15397 this is no longer needed now that cygstart understands file:// URLs.
15398 (browse-url-filename-alist): For the same reason, don't modify
15399 file:// URLs on Cygwin.
15401 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
15403 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
15404 the region on shift if the binding is already shifted (bug#11221).
15406 2012-04-12 Glenn Morris <rgm@gnu.org>
15408 * mail/mailpost.el: Move to obsolete/.
15410 2012-04-12 Drew Adams <drew.adams@oracle.com>
15412 * imenu.el (imenu--generic-function): Ignore invisible definitions
15415 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
15417 * hexl.el (hexl-bits): New variable.
15418 (hexl-options): Mention the variable in the doc string.
15419 (hexl-rulerise, hexl-line-displen): New functions.
15420 (hexl-mode): Mention the new variable.
15421 (hexl-mode, hexl-current-address, hexl-current-address):
15423 (hexl-ascii-start-column): New function.
15424 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
15425 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
15427 2012-04-12 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
15429 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
15430 '("-i" ENCODING), in 2 separate command-line arguments, to specify
15431 the encoding, as expected by hunspell.
15433 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
15435 * battery.el (battery--linux-sysfs-regexp): New const.
15436 (battery-status-function): Use it. Remove yeeloong special case.
15437 (battery-yeeloong-sysfs): Remove.
15438 (battery-echo-area-format): Remove yeeloong special case.
15440 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15442 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
15443 Reported by Noah Friedman.
15445 * subr.el (read-passwd): Use read-string.
15447 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15449 * vcursor.el (vcursor-move): Increase the priority of the overlay
15452 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15454 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
15455 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
15457 2012-04-11 William Stevenson <yhvh2000@gmail.com>
15459 * textmodes/artist.el (artist-mode): Convert artist-mode to use
15460 define-minor-mode (bug#10760).
15462 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15464 * progmodes/grep.el (rgrep): Tweak the find command line so
15465 that directories matching `grep-find-ignored-files' won't be
15466 pruned (bug#10351).
15468 2012-04-11 Chong Yidong <cyd@gnu.org>
15470 * startup.el (command-line): Remove support for long-obsolete
15471 variable font-lock-face-attributes.
15473 2012-04-11 Glenn Morris <rgm@gnu.org>
15475 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
15477 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15479 * window.el (window--state-get-1): Obey window-point-insertion-type.
15481 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
15483 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
15484 to previous function when point is on the first character of a
15485 function. Take care of that in `narrow-to-defun' (bug#6157).
15487 2012-04-11 Glenn Morris <rgm@gnu.org>
15489 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
15490 not just file-errors.
15492 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
15493 (vc-bzr-sha1): Use internal sha1.
15495 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15497 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
15499 2012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
15501 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
15502 that start in the middle of the line (bug#10496).
15504 2012-04-10 Dan Nicolaescu <dann@gnu.org>
15506 * battery.el (battery-linux-proc-acpi): Only one battery is
15507 discharged at a time, but that seems to confuse battery.el when
15508 computing `rate-type' for the battery not being discharged
15511 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15513 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
15515 * international/quail.el: Use dolist and simplify.
15516 (quail-define-package, quail-update-keyboard-layout)
15517 (quail-define-rules): Use dolist.
15518 (quail-insert-kbd-layout, quail-get-translation): CSE.
15520 * tmm.el: Use dolist, remove left over hook.
15521 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
15523 (calendar-load-hook): Don't mess with it.
15525 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
15526 Use derived-mode-p. Run the diff asynchronously.
15528 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15530 * obsolete/mouse-sel.el: Add an Obsolete-since header.
15532 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
15534 * misc.el: Display absolute path of loaded DLLs (bug#10424).
15535 (list-dynamic-libraries--loaded): New function.
15536 (list-dynamic-libraries--refresh): Use it.
15538 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
15540 * progmodes/python.el (python-fill-paragraph):
15541 Make python-fill-region in a multiline string work when font-lock is
15542 disabled (bug#7018).
15544 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
15546 * language/european.el (cp775): Add oem/legacy (en)coding on
15547 DOS/MS Windows for the Baltic languages. There are still plenty
15548 of texts written in this encoding/codepage (bug#6519).
15550 2012-04-10 Glenn Morris <rgm@gnu.org>
15552 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
15553 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
15555 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
15557 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
15558 next-line "n" and previous-line "p" in order to make recentf more
15559 consistent with ibuffer, dired or org-mode (bug#9387).
15561 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15563 * image.el (put-image): Return the overlay created instead of the
15564 optional input string (bug#7834). Note that this may break code
15565 that is (for some reason or other) depending on `put-image'
15566 returning the string.
15568 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
15570 * simple.el (zap-to-char): Allow zapping using input methods
15573 * textmodes/fill.el (fill-region): Leave point and mark where they
15574 were before filling (bug#5399).
15576 2012-04-09 Glenn Morris <rgm@gnu.org>
15578 * version.el (emacs-bzr-get-version):
15579 Handle lightweight checkouts of local branches.
15581 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
15583 * international/characters.el: Recover lost case pairs. (Bug#11209)
15585 2012-04-09 Chong Yidong <cyd@gnu.org>
15587 * custom.el (custom-variable-p): Return nil for non-symbol
15588 arguments instead of signaling an error.
15589 (user-variable-p): Obsolete alias for custom-variable-p.
15591 * apropos.el (apropos-variable):
15592 * files-x.el (read-file-local-variable):
15593 * simple.el (set-variable):
15594 * woman.el (woman-mini-help):
15595 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
15597 2012-04-09 Glenn Morris <rgm@gnu.org>
15599 * startup.el (normal-top-level): Don't look for leim-list.el
15600 in places where it will not be found. (Bug#910)
15602 * international/mule-cmds.el (set-default-coding-systems):
15603 * files.el (normal-mode):
15604 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
15605 This function was removed with ucs-tables.el in 2008.
15607 2012-04-08 Eli Zaretskii <eliz@gnu.org>
15609 * textmodes/ispell.el (ispell-check-version): For hunspell, set
15610 ispell-encoding8-command to "-i", without a trailing space.
15611 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
15612 separate command-line arguments, to specify the encoding, since
15613 that's how hunspell expects it.
15615 2012-04-08 Glenn Morris <rgm@gnu.org>
15617 * loadup.el: Load bindings before cus-start.
15618 This reduces somewhat the number of "rogue" settings in emacs -Q.
15620 2012-04-07 Glenn Morris <rgm@gnu.org>
15622 * version.el (emacs-bzr-get-version): New function.
15623 (emacs-bzr-version): New variable.
15624 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
15625 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
15627 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15629 * international/uni-bidi.el, international/uni-category.el:
15630 * international/uni-combining.el, international/uni-decimal.el:
15631 * international/uni-decomposition.el, international/uni-digit.el:
15632 * international/uni-lowercase.el, international/uni-mirrored.el:
15633 * international/uni-name.el, international/uni-numeric.el:
15634 * international/uni-titlecase.el, international/uni-uppercase.el:
15635 Update for Unicode 6.1.
15637 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15639 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
15641 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
15643 * window.el (shrink-window): Mention the `window-min-height'
15644 variable in the doc string.
15646 2012-04-05 Bastien Guerry <bzg@altern.org>
15648 * color.el (color-lighten-name): Fix typo.
15650 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15652 * server.el (server--on-display-p): New function.
15653 (server--on-display-p): Use it.
15655 2012-04-04 GĂ¡bor Vida <vidagabor@gmail.com> (tiny change)
15657 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
15660 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15662 * comint.el (comint--common-quoted-suffix): Check string boundary
15663 before comparing (bug#11158).
15664 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
15666 2012-04-04 Chong Yidong <cyd@gnu.org>
15668 * minibuffer.el (completion-extra-properties): Doc fix.
15670 * subr.el (delayed-warnings-hook): Doc fix.
15672 2012-04-04 Daiki Ueno <ueno@unixuser.org>
15674 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
15675 selection (Bug#11159).
15676 (epa-insert-keys): Inform that the default public key will be
15677 exported if no key is selected.
15679 2012-04-04 Richard Stallman <rms@gnu.org>
15681 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
15683 2012-04-03 Chong Yidong <cyd@gnu.org>
15685 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
15686 mail-insert-file, not its obsolete alias mail-attach-file.
15688 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
15690 * notifications.el (notifications-notify): Fix docstring.
15692 2012-04-02 Glenn Morris <rgm@gnu.org>
15694 * emacs-lisp/authors.el (authors-aliases): Another addition.
15696 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
15698 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
15699 `tramp-compat-call-process' instead of `tramp-local-call-process'.
15700 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
15702 2012-04-01 Chong Yidong <cyd@gnu.org>
15704 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
15705 Handle root directory properly.
15706 (copy-directory): Caller changed.
15708 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15709 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
15711 2012-03-31 Glenn Morris <rgm@gnu.org>
15713 * term/xterm.el (xterm-extra-capabilities): Doc fix.
15715 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
15717 * calendar/calendar.el (calendar-window-list)
15718 (calendar-hide-window): Restore. (Bug#11140)
15719 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
15721 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
15723 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15725 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15726 Check if file is a symlink (Bug#10489).
15728 * files.el (copy-directory): Likewise.
15730 2012-03-30 Chong Yidong <cyd@gnu.org>
15732 * image.el (imagemagick-types-inhibit)
15733 (imagemagick-register-types): Doc fix.
15735 2012-03-30 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
15737 * textmodes/ispell.el (ispell-get-extended-character-mode):
15738 Disable extended-char-mode for hunspell. hunspell does not support it
15739 and treats ~word as ordinary words in pipe mode.
15741 2012-03-30 Glenn Morris <rgm@gnu.org>
15743 * tutorial.el (help-with-tutorial): Ensure local variables don't
15744 happen to make the buffer read-only. (Bug#11127)
15746 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15748 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
15749 (perl-calculate-indent): Return `noindent' in strings.
15751 2012-03-28 Sam Steingold <sds@gnu.org>
15753 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
15754 instead of the broken adhockery which does not prevent calendar
15755 buffers from being displayed at random after exit.
15756 (calendar-window-list, calendar-hide-window): Remove the broken
15759 2012-03-28 Glenn Morris <rgm@gnu.org>
15761 * replace.el (query-replace-map): Doc fix.
15763 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
15765 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
15766 contents. (Bug#11109)
15768 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15770 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
15772 (avl-tree--check, avl-tree--check-node): New funs.
15774 2012-03-27 Martin Rudalics <rudalics@gmx.at>
15776 * window.el (switch-to-visible-buffer): New option.
15777 (switch-to-prev-buffer, switch-to-next-buffer):
15778 Observe switch-to-visible-buffer. Make sure that checking for a window
15779 showing a buffer already is done on the same frame.
15781 2012-03-27 Glenn Morris <rgm@gnu.org>
15783 * startup.el (mail-host-address): Doc fix.
15785 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15787 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
15788 than 197 variables.
15790 2012-03-26 Ami Fischman <ami@fischman.org>
15792 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
15794 2012-03-26 Glenn Morris <rgm@gnu.org>
15796 * files.el (save-buffers-kill-emacs): Doc fix.
15798 * startup.el (normal-top-level, command-line, command-line-1):
15799 Give them doc strings.
15801 2012-03-25 Eli Zaretskii <eliz@gnu.org>
15803 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
15804 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
15806 2012-03-25 Chong Yidong <cyd@gnu.org>
15808 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
15809 theme if it was previously enabled before (Bug#11031).
15811 * cus-theme.el (custom-theme-write-faces): Retrieve current face
15812 spec with custom-face-get-current-spec if its :shown-value is not
15813 determined yet (Bug#9337).
15814 (customize-create-theme, custom-theme-revert): Doc fixes.
15816 * button.el (button-at): Minor addition to docstring.
15818 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
15820 * vc/vc.el (vc-merge): Fix a prompt.
15822 2012-03-24 Chong Yidong <cyd@gnu.org>
15824 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
15827 * button.el (button-at): Minor addition to docstring.
15829 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
15831 * newcomment.el (comment-choose-indent): No space after BOL.
15833 2012-03-22 Sam Steingold <sds@gnu.org>
15835 * window.el (switch-to-prev-buffer): Revert last patch because the
15836 bug turned out to be an advertised feature (Elisp manual 28.14).
15838 2012-03-22 Glenn Morris <rgm@gnu.org>
15840 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
15841 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
15843 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15845 * net/network-stream.el (network-stream-open-starttls): Make error
15846 message under Windows be less misleading.
15848 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
15850 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
15851 understands (bug#9942).
15853 2012-03-22 Chong Yidong <cyd@gnu.org>
15855 * simple.el (end-of-visible-line): Handle return value of
15856 next-single-property-change properly (Bug#9371).
15858 2012-03-22 Kenichi Handa <handa@m17n.org>
15860 * international/quail.el (quail-insert-kbd-layout): Fix previous
15861 change. To avoid unwanted bidi reordering, use
15862 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
15864 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
15866 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
15867 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
15868 (ruby-beginning-of-indent): Be more careful with the difference
15869 between word-boundary and symbol boundary.
15870 (ruby-mode-syntax-table): Make : a symbol constituent.
15872 2012-03-21 Andreas Politz <politza@fh-trier.de>
15874 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
15876 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15878 * progmodes/etags.el (tags-completion-at-point-function):
15881 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
15883 2012-03-21 Sam Steingold <sds@gnu.org>
15885 * progmodes/etags.el (tags-completion-at-point-function):
15886 Avoid the error when point is inside the pattern.
15888 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
15890 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
15893 2012-03-21 Drew Adams <drew.adams@oracle.com>
15895 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
15897 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
15899 * ido.el (ido-set-current-directory, ido-read-internal)
15900 (ido-choose-completion-string, ido-completion-help): Handle nil
15901 value of ido-completion-buffer (Bug#11008).
15903 2012-03-21 Sam Steingold <sds@gnu.org>
15905 * window.el (switch-to-prev-buffer): Do not switch to a visible
15906 window previous buffer, just like with the frame previous buffers.
15908 2012-03-21 Chong Yidong <cyd@gnu.org>
15910 * faces.el (make-face, make-empty-face, copy-face):
15911 * face-remap.el (face-remap-add-relative, face-remap-set-base):
15914 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15916 * wid-edit.el (widget-complete-field): Remove (bug#11051).
15917 (widget-complete): Remove broken use of it.
15919 2012-03-20 Chong Yidong <cyd@gnu.org>
15921 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15922 Use string-width and truncate-string-width to handle arbitrary
15925 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
15927 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
15928 to draw rectangles, not squares. (Regression introduced by revno
15929 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
15931 2012-03-18 Chong Yidong <cyd@gnu.org>
15933 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
15934 it is not yet defined (for temacs).
15936 2012-03-18 Leo Liu <sdl.web@gmail.com>
15938 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
15941 2012-03-17 Eli Zaretskii <eliz@gnu.org>
15943 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
15944 (ispell-choices-win-default-height, ispell-silently-savep)
15945 (ispell-dictionary-alist, ispell-encoding8-command)
15946 (ispell-check-version, ispell-aspell-find-dictionary)
15947 (ispell-valid-dictionary-list, ispell-words-keyword)
15948 (ispell-get-word, ispell-internal-change-dictionary)
15949 (ispell-region, ispell-skip-region-list)
15950 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
15951 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
15952 (ispell-message-text-end, ispell-message)
15953 (ispell-buffer-local-parsing): Doc fix.
15955 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
15957 * htmlfontify.el: Add support for code block fontification for ODT
15958 export (Bug #9914).
15959 (hfy-optimisations): Define new option
15961 (hfy-fontify-buffer): Honor above setting.
15962 (hfy-begin-span, hfy-end-span): New routines factored out form
15963 `hfy-fontify-buffer'.
15964 (hfy-begin-span-handler, hfy-end-span-handler): New variables
15965 that permit insertion of custom tags.
15966 (hfy-fontify-buffer): Use above handlers.
15967 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
15968 (hfy-face-to-css): Re-defined to be a variable.
15969 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
15970 over multiple runs. This is made possible by having the caller let
15971 bind a special variable `hfy-user-sheet-assoc'.
15972 (htmlfontify-string): New defun.
15973 (hfy-compile-face-map): Make sure that the last char in the
15974 buffer is correctly fontified.
15975 (hfy-face-resolve-face): Whitespace only change.
15977 2012-03-17 Eli Zaretskii <eliz@gnu.org>
15979 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
15980 message more clear.
15982 2012-03-16 Leo Liu <sdl.web@gmail.com>
15984 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
15986 2012-03-16 Alan Mackenzie <acm@muc.de>
15988 Further optimize the handling of large macros.
15990 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
15991 limit to a call of `c-literal-limits'.
15992 (c-determine-+ve-limit): New function.
15993 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
15994 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
15995 In CASE 5B, restrict a search limit to 500.
15996 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
15998 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
15999 Restrict macro bounds to +-500 from after-change's BEG END.
16001 2012-03-16 Leo Liu <sdl.web@gmail.com>
16003 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
16005 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
16007 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
16008 `special-mode' setting of `buffer-read-only'. (Bug#11010)
16010 2012-03-16 Glenn Morris <rgm@gnu.org>
16012 * view.el (view-buffer, view-buffer-other-window)
16013 (view-buffer-other-frame): Doc fixes re special mode-class.
16015 * subr.el (eval-after-load): If named feature is provided not from
16016 a file, run after-load forms. (Bug#10946)
16018 * calendar/calendar.el (calendar-insert-at-column):
16019 Handle non-unit-width characters a bit better. (Bug#10978)
16021 2012-03-15 Chong Yidong <cyd@gnu.org>
16023 * emacs-lisp/ring.el (ring-extend): New function.
16024 (ring-insert+extend): Extend the ring correctly (Bug#11019).
16026 * comint.el (comint-read-input-ring)
16027 (comint-add-to-input-history): Grow comint-input-ring lazily.
16029 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16031 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
16032 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
16034 * imenu.el: Fix multiple inheritance breakage (bug#9199).
16035 (imenu-add-to-menubar): Don't add a redundant index.
16036 (imenu-update-menubar): Handle a dynamically composed keymap.
16038 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
16040 * mail/sendmail.el (mail-encode-header):
16041 Bind rfc2047-encode-encoded-words to nil.
16043 2012-03-13 Glenn Morris <rgm@gnu.org>
16045 * calendar/calendar.el (calendar-string-spread):
16046 Handle non-unit-width characters a bit better. (Bug#10978)
16048 2012-03-13 Leo Liu <sdl.web@gmail.com>
16050 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
16051 directory and file as argument (Bug#10822).
16053 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16055 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
16056 For dynamically generated code, follow $PC.
16057 (gdb-disassembly-handler-custom): Handle no function name case.
16059 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
16061 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
16062 * emulation/ws-mode.el (ws-query-replace):
16063 * sort.el (sort-regexp-fields):
16064 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
16066 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16068 * dabbrev.el: Fix cycle completion order (bug#10963).
16069 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
16070 (dabbrev-completion): Don't use an obarray; provide
16071 a cycle-sort-function.
16073 2012-03-12 Leo Liu <sdl.web@gmail.com>
16075 * simple.el (kill-new): Use equal-including-properties for comparison.
16076 (kill-do-not-save-duplicates): Doc fix.
16078 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16080 * dabbrev.el: Fix cycle completion (bug#10963).
16081 Use lexical binding and wrap to 80 columns.
16082 (dabbrev-completion): Delay computing the list of completions.
16084 2012-03-12 Kenichi Handa <handa@m17n.org>
16086 * international/quail.el (quail-insert-kbd-layout): Surround each
16087 row by LRO and PDF instead of inserting many LRMs. Pad the left
16088 and right of each non-spacing marks. Insert invisible space
16089 between lower and upper characters to prevent composition.
16091 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16093 * minibuffer.el (minibuffer-complete): Don't get confused when the
16094 function is run twice via different commands (bug#10958).
16095 (complete-with-action): Fix docstring.
16097 2012-03-12 Chong Yidong <cyd@gnu.org>
16099 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
16100 (nxml-completion-at-point-function): New function.
16101 (nxml-mode): Use it.
16102 (nxml-bind-meta-tab-to-complete-flag): Default to t.
16104 * emacs-lisp/package.el (package-unpack, package-unpack-single):
16105 Load generated autoloads file before byte compiling (Bug#10970).
16106 (package--make-autoloads-and-compile): New helper fun.
16108 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
16110 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
16112 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
16114 * autorevert.el (auto-revert-handler): Ensure, that
16115 file-readable-p is applied only for local files or in
16116 auto-revert-tail-mode.
16118 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
16120 * server.el (server-eval-at): Handle non-tcp connections.
16121 Decode result string.
16123 * server.el (server-msg-size): New constant.
16124 (server-reply-print): New function.
16125 (server-eval-and-print): Use it.
16126 (server-eval-at): Use server-quote-arg and server-unquote-arg.
16127 Handle -print-nonl.
16129 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
16131 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
16134 2012-03-11 Chong Yidong <cyd@gnu.org>
16136 * simple.el (goto-line): Doc fix (Bug#9938).
16138 * subr.el (save-window-excursion): Doc fix (Bug#9979).
16140 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
16141 when finished (Bug#10963).
16143 2012-03-11 Martin Rudalics <rudalics@gmx.at>
16145 * window.el (split-window-below): Fix bug in case where
16146 split-window-keep-point is nil (Bug#10971).
16148 2012-03-11 Juri Linkov <juri@jurta.org>
16150 * replace.el (replace-highlight): Set isearch-word to nil
16151 unconditionally. (Bug#10887)
16153 2012-03-10 Eli Zaretskii <eliz@gnu.org>
16155 * net/mairix.el (mairix-replace-invalid-chars): Rename from
16156 mairix-replace-illegal-chars; all callers changed. Don't remove
16157 ^, ~, and = characters: they are meaningful in mairix search specs.
16158 (mairix-widget-create-query): Add usage information about mairix
16159 search forms: negating words, searching for substrings, etc.
16161 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
16163 * international/fontset.el (font-encoding-alist): Add an entry for
16164 ksx1001 (Bug#5667).
16166 2012-03-10 Richard Stallman <rms@gnu.org>
16168 * mail/sendmail.el (mail-encode-header):
16169 Set rfc2047-encode-encoded-words.
16171 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
16173 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
16174 view buffer means not swapped.
16175 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
16176 (rmail-write-region-annotate): Error if real text has disappeared.
16178 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
16180 2012-03-10 Chong Yidong <cyd@gnu.org>
16182 * emulation/cua-rect.el (cua--init-rectangles):
16183 * emulation/cua-base.el (cua--init-keymaps):
16184 Add delete-forward-char to remappings (Bug#9666).
16186 2012-03-10 Martin Rudalics <rudalics@gmx.at>
16188 * speedbar.el (speedbar-unhighlight-one-tag-line):
16189 Avoid unhighlighting due to frame switching (Bug#10275).
16191 2012-03-10 Chong Yidong <cyd@gnu.org>
16193 * minibuffer.el (completion-in-region, completion-help-at-point):
16194 Give the completion field overlay a high priority (Bug#6830).
16196 * dired.el (dired-goto-file): Recognize absolute file name
16197 listings (Bug#7126).
16198 (dired-goto-file-1): New helper function.
16199 (dired-toggle-read-only): Inhibit warnings.
16201 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
16203 * net/dbus.el (dbus-property-handler): Return empty array if
16204 there are no properties.
16206 2012-03-09 Leo Liu <sdl.web@gmail.com>
16208 * savehist.el (savehist-printable): Stricter check for string
16211 2012-03-09 Eli Zaretskii <eliz@gnu.org>
16213 * mail/smtpmail.el (smtpmail-send-it):
16214 Bind coding-system-for-write to *-unix, so that FCC files are kept in
16217 2012-03-09 Glenn Morris <rgm@gnu.org>
16219 * files.el (dir-locals-find-file):
16220 Don't check result is regular, readable.
16221 (dir-locals-read-from-file): Demote errors.
16223 2012-03-08 Eli Zaretskii <eliz@gnu.org>
16225 * international/quail.el (quail-insert-kbd-layout):
16226 Insert invisible LRM characters before each character in a keyboard
16227 layout cell, to prevent their reordering by bidi display engine.
16228 For details, see the discussion in
16229 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
16231 2012-03-08 Alan Mackenzie <acm@muc.de>
16233 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
16234 the starting position; make it extend the marked region when
16235 invoked repeatedly - all under appropriate circumstances.
16236 Fixes bugs #5525, #10906.
16238 2012-03-08 Glenn Morris <rgm@gnu.org>
16240 * files.el (locate-dominating-file, dir-locals-find-file):
16241 Undo 2012-03-06 change.
16243 2012-03-07 Eli Zaretskii <eliz@gnu.org>
16245 * international/quail.el (quail-help):
16246 Force bidi-paragraph-direction be left-to-right. See discussion in
16247 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
16250 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
16252 Avoid superfluous registering of signals. (Bug#10807)
16254 * notifications.el (notifications-on-action-object)
16255 (notifications-on-close-object): New defvars.
16256 (notifications-on-action-signal, notifications-on-closed-signal):
16257 Unregister the signal if not needed any longer.
16258 (notifications-notify): Register `notifications-action-signal' or
16259 `notifications-closed-signal', if :on-action or :on-close has been
16260 passed as argument.
16262 2012-03-07 Chong Yidong <cyd@gnu.org>
16264 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
16267 2012-03-06 Glenn Morris <rgm@gnu.org>
16269 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16270 (x-disown-selection-internal, x-get-selection-internal):
16271 Doc fix (add arglist signatures). (Bug#10783)
16273 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16275 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16276 Handle breakpoints with no "type".
16278 2012-03-06 Glenn Morris <rgm@gnu.org>
16280 * files.el (locate-dominating-file): Add optional predicate argument.
16281 (dir-locals-find-file): Make use of above change.
16283 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
16285 * info.el (Info-insert-dir): Also try "dir.gz".
16287 2012-03-06 Glenn Morris <rgm@gnu.org>
16289 * files.el (dir-locals-find-file):
16290 Ignore non-readable or non-regular files. (Bug#10928)
16292 * files.el (locate-dominating-file): Doc fix.
16294 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
16296 * calendar/calendar.el (calendar-set-mode-line):
16297 `getenv' returns a string. (Bug#10951)
16299 2012-03-05 Leo Liu <sdl.web@gmail.com>
16301 * simple.el (backward-delete-char-untabify): Constrain point to
16304 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
16306 2012-03-05 Chong Yidong <cyd@gnu.org>
16308 * simple.el (count-words): If called from Lisp, return the word
16309 count, for symmetry with `count-lines'. Arglist changed.
16310 (count-words--message): Args changed. Consolidate counting code
16311 from count-words and count-words-region.
16312 (count-words-region): Caller changed.
16313 (count-lines-region): Make it an obsolete alias.
16315 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
16317 * saveplace.el (save-place-to-alist)
16318 (save-place-ignore-files-regexp): Allow value nil to disable this
16321 2012-03-04 Chong Yidong <cyd@gnu.org>
16323 * faces.el (face-spec-reset-face): For the default face, reset the
16324 attributes to default values (Bug#10748).
16326 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16328 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
16329 previous patch: Check `message-send-mail-function', and not the
16330 default function (bug#10897).
16332 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
16334 * notifications.el (notifications-on-action-signal)
16335 (notifications-on-closed-signal): Check for unique service name of
16336 incoming event. Fix error in removing entry.
16337 (top): Register for signals with wildcard service name.
16338 (notifications-notify): Use daemon unique service name for map entries.
16340 2012-03-04 Chong Yidong <cyd@gnu.org>
16342 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
16344 2012-03-04 Glenn Morris <rgm@gnu.org>
16346 * abbrev.el (copy-abbrev-table, abbrev-table-p)
16347 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
16348 (expand-abbrev, define-abbrev-table): Doc fixes.
16350 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16352 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
16353 `message-default-send-mail-function' and not `send-mail-function'
16354 when doing the prompting for `sendmail-query-once' before sending
16355 in Message buffers (bug#10897).
16357 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
16358 This is inconsistent with all the other stream functions, which leave
16359 the setting up to the higher levels (if so wanted) (bug#10931).
16361 2012-03-02 Alan Mackenzie <acm@muc.de>
16363 Depessimize the handling of very large macros.
16365 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
16366 (c-macro-cache-syntactic): New variables to implement a one
16367 element macro cache.
16368 (c-invalidate-macro-cache): New function.
16369 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
16370 Adapt to use the new cache.
16371 (c-state-safe-place): Use better the cache of safe positions.
16372 (c-state-semi-nonlit-pos-cache)
16373 (c-state-semi-nonlit-pos-cache-limit):
16374 New variables for...
16375 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
16376 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
16377 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
16378 Use c-state-semi-safe-place.
16380 * progmodes/cc-langs.el (c-get-state-before-change-functions):
16381 Add c-invalidate-macro-cache to the C, C++, Obj entries.
16383 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
16385 * jka-compr.el (jka-compr-call-process):
16386 Apply `file-accessible-directory-p' only when the default directory is
16389 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
16391 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
16392 access of FILE2, if FILE1 does not exist.
16394 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
16395 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
16397 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
16398 Add "PAGER=" to `process-environment'.
16400 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
16402 * progmodes/sql.el: Bug fix
16403 (sql-get-login-ext): Save login values in globals.
16404 (sql-get-login): Use new version of `sql-get-login-ext'.
16405 (sql-interactive-mode): Set global `sql-connection' to nil.
16406 (sql-connect): Set global values for connection.
16407 (sql-product-interactive): Save global values as buffer local.
16409 2012-02-29 Leo Liu <sdl.web@gmail.com>
16411 * abbrev.el (define-abbrevs): Reset sys to nil.
16413 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16415 * files.el (file-equal-p): Rename from `files-equal-p'.
16416 Return nil when one or both files don't exist.
16417 (file-subdir-of-p): Now only top directory must exists,
16418 return nil if it doesn't.
16419 (copy-directory): No need to test with `file-subdir-of-p' after
16421 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
16424 2012-02-28 Glenn Morris <rgm@gnu.org>
16426 * shell.el (shell-mode):
16427 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
16428 * play/landmark.el (landmark-font-lock-face-O):
16429 * play/handwrite.el (handwrite):
16430 * play/gomoku.el (gomoku-O):
16431 * net/browse-url.el (browse-url-browser-display):
16432 * international/mule.el (define-charset):
16433 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
16434 * filesets.el (filesets-find-file-delay):
16435 * eshell/em-xtra.el (eshell-xtra):
16436 * eshell/em-unix.el (eshell-grep):
16437 * emulation/viper.el (viper-mode):
16438 * emacs-lisp/regexp-opt.el (regexp-opt-group):
16439 * emacs-lisp/easymenu.el (easy-menu-define):
16440 * calendar/timeclock.el (timeclock-use-display-time):
16442 * bookmark.el (bookmark-save-flag):
16443 Doc fix (standardize possessive apostrophe usage).
16445 2012-02-27 Chong Yidong <cyd@gnu.org>
16447 * emulation/viper-cmd.el (viper-intercept-ESC-key):
16448 Fix key-binding lookup for ESC key (Bug#9146).
16450 * font-lock.el (font-lock-specified-p): Rename from
16451 font-lock-spec-present. Callers changed.
16453 2012-02-27 Daniel Hackney <dan@haxney.org>
16455 * emacs-lisp/package.el (package-compute-transaction):
16456 Handle holding a package version to t in package-load-list.
16458 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
16460 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
16461 (tramp-get-inode, tramp-get-device): Use cached values.
16463 2012-02-26 Alan Mackenzie <acm@muc.de>
16465 Check there is a font-lock specification before doing initial
16468 * font-core.el (font-lock-mode): Move the conditional from
16469 :after-hook to font-lock-initial-fontify.
16470 (font-lock-default-function): Move the check for a specification
16471 to font-lock-spec-present.
16473 * font-lock.el (font-lock-initial-fontify): Call ...
16474 (font-lock-spec-present): New function.
16476 2012-02-26 Jim Blandy <jimb@red-bean.com>
16478 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
16479 (gdb-send): Apply it to the operand of the '-interpreter-exec
16480 console' command, so that we can pass arguments with (say) quotes
16481 in them. Store exact string sent in gdb-debug-log (Bug#10765).
16483 2012-02-26 Chong Yidong <cyd@gnu.org>
16485 * help-fns.el (describe-function-1): Clarify description of
16486 remapping (Bug#10844).
16488 * files.el (files-equal-p): Doc fix.
16489 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
16490 and quit the loop once a mismatch is found.
16492 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
16494 * bs.el (bs--show-with-configuration): Don't throw an error
16495 if the window cannot be split; otherwise, subsequent calls to
16496 bs-show fail, restoring a stale window config. (Bug#10882)
16498 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
16500 * term/ns-win.el (global-map): Bind ns-drag-file to
16501 ns-find-file (Bug#5855, Bug#10050).
16503 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
16505 * calendar/parse-time.el (parse-time-string): Allow extractor to
16508 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
16510 * net/tramp.el (tramp-file-name-for-operation):
16511 Add `files-equal-p' and `file-subdir-of-p'.
16513 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16514 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16515 Add COPY-CONTENTS argument.
16517 2012-02-25 Chong Yidong <cyd@gnu.org>
16519 Add custom groups for VC backends, for consistency with vc-bzr.
16521 * vc/vc-arch.el (vc-arch):
16522 * vc/vc-cvs.el (vc-cvs):
16523 * vc/vc-git.el (vc-git):
16524 * vc/vc-hg.el (vc-hg):
16525 * vc/vc-mtn.el (vc-mtn):
16526 * vc/vc-rcs.el (vc-rcs):
16527 * vc/vc-sccs.el (vc-sccs):
16528 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
16529 All relevant defcustoms reassigned.
16531 2012-02-25 Chong Yidong <cyd@gnu.org>
16533 * newcomment.el (comment-styles): Add autoload (Bug#10868).
16535 * term/x-win.el (x-initialize-window-system): Reduce default for
16536 x-selection-timeout to 5 seconds (Bug#8869).
16538 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16540 * files.el (files-equal-p, file-subdir-of-p): New functions.
16541 (copy-directory): Error when trying to copy a directory on itself.
16542 Add missing copy-contents arg to tramp handler.
16543 * dired-aux.el (dired-copy-file-recursive): Same.
16544 (dired-create-files): Modify destination when source is equal to
16545 dest when copying files.
16546 Return also when dest is a subdir of source. (Bug#10489)
16548 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
16550 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
16553 2012-02-23 Alan Mackenzie <acm@muc.de>
16555 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
16556 parameter "after-hook:" to allow the expansion to run code after
16557 the execution of the mode hooks.
16559 * font-lock.el (font-lock-initial-fontify): New function extracted
16560 from font-lock-mode-internal.
16562 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
16565 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16567 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
16568 (completion--cache-all-sorted-completions): New function.
16569 (completion-all-sorted-completions): Use it.
16570 (completion--do-completion, minibuffer-force-complete):
16571 Use it to re-instate the flush hook.
16573 * icomplete.el (icomplete-completions): Replace last fix with a better
16576 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
16578 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
16579 when it might call us back infinitely (bug#10797).
16581 2012-02-23 Glenn Morris <rgm@gnu.org>
16583 * minibuffer.el (completion-category-overrides): Doc fix.
16585 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16587 * minibuffer.el (completion-table-with-context): Fix inf-loop.
16588 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
16590 2012-02-23 Glenn Morris <rgm@gnu.org>
16592 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
16593 (authors-obsolete-files-regexps, authors-ignored-files)
16594 (authors-ambiguous-files, authors-renamed-files-alist):
16597 2012-02-23 Juri Linkov <juri@jurta.org>
16599 * isearch.el (isearch-occur): Sync interactive spec with occur's
16600 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
16602 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
16604 2012-02-22 Juri Linkov <juri@jurta.org>
16606 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
16607 (ucs-insert): Doc fix. Check for hex digits in the string.
16608 Don't display `nil' in the error message. (Bug#10857)
16610 2012-02-22 Alan Mackenzie <acm@muc.de>
16612 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
16614 2012-02-22 Glenn Morris <rgm@gnu.org>
16616 * ffap.el (ffap-c-path):
16617 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
16619 2012-02-22 Chong Yidong <cyd@gnu.org>
16621 * custom.el (load-theme): Doc fix.
16623 2012-02-22 Glenn Morris <rgm@gnu.org>
16625 * dired-x.el (dired-guess-shell-alist-default):
16626 Remove escape sequences from nroff output. (Bug#172)
16628 2012-02-21 Glenn Morris <rgm@gnu.org>
16630 * vc/emerge.el (emerge-defvar-local):
16631 Set `permanent-local' property rather than unused `preserved'.
16633 * textmodes/picture.el (picture-delete-char): New alias.
16634 (picture-mode-map): Use it. (Bug#10860)
16635 (picture-mode): Doc fix.
16637 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
16639 * newcomment.el (uncomment-region-default): Remove unused binding.
16641 2012-02-21 Glenn Morris <rgm@gnu.org>
16643 * textmodes/picture.el (picture-motion, picture-motion-reverse)
16644 (picture-self-insert, picture-tab-chars): Doc fix.
16645 (picture-mode-map): Fix C-a, C-e.
16647 2012-02-20 Glenn Morris <rgm@gnu.org>
16649 * emacs-lisp/authors.el (authors-aliases): Add another entry.
16651 2012-02-20 Leo Liu <sdl.web@gmail.com>
16653 * icomplete.el (icomplete-completions): Check FROM arg before
16654 passing to substring (Bug#10850).
16656 2012-02-19 Chong Yidong <cyd@gnu.org>
16658 * comint.el: Require ansi-color.
16659 (comint-output-filter-functions): Add ansi-color-process-output.
16661 * ansi-color.el: Don't set comint-output-filter-functions; it is
16662 now in the initial value defined in comint.el.
16663 (ansi-color-apply-face-function): New variable.
16664 (ansi-color-apply-on-region): Use it.
16665 (ansi-color-apply-overlay-face): New function.
16667 * shell.el (shell): No need to require ansi-color.
16668 (shell-mode): Use ansi-color-apply-face-function to highlight
16669 color escapes using font-lock-face property (Bug#10835).
16671 2012-02-19 Chong Yidong <cyd@gnu.org>
16673 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
16674 mode-line formats (Bug#10839).
16676 2012-02-18 Glenn Morris <rgm@gnu.org>
16678 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
16680 * mail/undigest.el (unforward-rmail-message): Doc fix.
16682 * saveplace.el (save-place-ignore-files-regexp): Add :version.
16684 2012-02-18 Eli Zaretskii <eliz@gnu.org>
16686 * international/characters.el (script-list): Sync with the latest
16687 Unicode Character Database.
16689 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
16691 * international/titdic-cnv.el: Remove duplicate coding tag.
16692 * language/cham.el: Likewise.
16693 * language/tai-viet.el: Likewise.
16695 2012-02-18 Glenn Morris <rgm@gnu.org>
16697 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
16698 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
16699 (calendar-bahai-all-holidays-flag, calendar-other-dates):
16700 * calendar/diary-lib.el (diary-abbreviated-year-flag):
16701 * calendar/holidays.el (holiday-bahai-holidays)
16702 (calendar-holidays, list-holidays):
16703 Use utf-8 BahĂ¡'Ă in doc-strings, menus, etc.
16705 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
16707 * saveplace.el (save-place-ignore-files-regexp): New variable
16708 allowing for excluding files from saving their location of point.
16709 The default value matches the temporary commit message editing
16710 files from Git, SVN, Bazaar, and Mercurial.
16711 (save-place-to-alist): Use it.
16713 2012-02-17 Lawrence Mitchell <wence@gmx.li>
16714 Stefan Monnier <monnier@iro.umontreal.ca>
16716 * newcomment.el (uncomment-region-default): Don't leave extra space
16717 when an arg is provided (bug#8150).
16719 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
16721 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
16723 2012-02-17 Glenn Morris <rgm@gnu.org>
16725 * net/socks.el: Require network-stream. (Bug#10599)
16727 2012-02-17 Kenichi Handa <handa@m17n.org>
16729 * international/charprop.el:
16730 * international/uni-name.el:
16731 * international/uni-old-name.el:
16732 * international/uni-comment.el: Regenerate.
16734 2012-02-16 Glenn Morris <rgm@gnu.org>
16736 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
16737 Interactively in calendar buffer, give an error if not on a date.
16739 2012-02-15 Glenn Morris <rgm@gnu.org>
16741 * shell.el (shell-delimiter-argument-list):
16742 Revert 2011-02-17 change. (Bug#8027)
16744 2012-02-15 Chong Yidong <cyd@gnu.org>
16746 * minibuffer.el (completion-at-point-functions): Doc fix.
16748 * custom.el (defcustom): Doc fix; note use of defvar.
16750 2012-02-15 Glenn Morris <rgm@gnu.org>
16752 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
16755 2012-02-14 Glenn Morris <rgm@gnu.org>
16757 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
16759 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
16761 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
16762 way the ports list is computed.
16763 (smtpmail-query-smtp-server): Prompt the user for a port number if
16764 we can't connect to any of the standard ports (bug#10810).
16766 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
16768 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
16770 2012-02-13 Glenn Morris <rgm@gnu.org>
16772 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
16774 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
16776 * net/gnutls.el (gnutls-trustfiles): New variable.
16777 (gnutls-negotiate): Use it.
16779 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
16781 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
16782 does its stuff if Gnus is running.
16784 2012-02-13 Alan Mackenzie <acm@muc.de>
16786 Fix a loop in c-set-fl-decl-start.
16788 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
16789 c-backward-syntactic-ws actually moves backwards.
16791 2012-02-13 Leo Liu <sdl.web@gmail.com>
16793 * net/rcirc.el (rcirc-markup-attributes): Move point to the
16794 beginning so that all \C-o chars are removed.
16796 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
16798 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
16800 2012-02-12 Alan Mackenzie <acm@muc.de>
16802 Fix infinite loop with long macros.
16803 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
16805 2012-02-12 Chong Yidong <cyd@gnu.org>
16807 * window.el (display-buffer): Doc fix (Bug#10785).
16809 2012-02-12 Glenn Morris <rgm@gnu.org>
16811 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16812 (x-disown-selection-internal, x-get-selection-internal):
16813 Sync docs with the xselect.c versions.
16815 * allout-widgets.el: Add missing license notice.
16817 2012-02-11 Glenn Morris <rgm@gnu.org>
16819 * select.el (x-get-selection-internal, x-own-selection-internal)
16820 (x-disown-selection-internal):
16821 * x-dnd.el (x-get-selection-internal): Update declarations.
16823 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
16825 * window.el (window-sides-slots):
16826 * tool-bar.el (tool-bar-position):
16827 * term/xterm.el (xterm-extra-capabilities):
16828 * ses.el (ses-self-reference-early-detection):
16829 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
16830 (verilog-auto-wire-type)
16831 (verilog-auto-delete-trailing-whitespace)
16832 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
16833 (verilog-auto-tieoff-declaration):
16834 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
16835 (sql-oracle-statement-starters, sql-oracle-scan-on):
16836 * progmodes/prolog.el (prolog-align-comments-flag)
16837 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
16838 (prolog-left-indent-regexp, prolog-paren-indent-p)
16839 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
16840 (prolog-types, prolog-mode-specificators)
16841 (prolog-determinism-specificators, prolog-directives)
16842 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
16843 (prolog-electric-dot-flag)
16844 (prolog-electric-dot-full-predicate-template)
16845 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
16846 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
16847 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
16848 (prolog-program-switches, prolog-prompt-regexp)
16849 (prolog-debug-on-string, prolog-debug-off-string)
16850 (prolog-trace-on-string, prolog-trace-off-string)
16851 (prolog-zip-on-string, prolog-zip-off-string)
16852 (prolog-use-standard-consult-compile-method-flag)
16853 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
16854 (prolog-imenu-max-lines, prolog-info-predicate-index)
16855 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
16856 (prolog-char-quote-workaround):
16857 * progmodes/cc-vars.el (c-defun-tactic):
16858 * net/tramp.el (tramp-encoding-command-interactive)
16859 (tramp-local-end-of-line):
16860 * net/soap-client.el (soap-client):
16861 * net/netrc.el (netrc-file):
16862 * net/gnutls.el (gnutls):
16863 * minibuffer.el (completion-category-overrides)
16864 (completion-cycle-threshold)
16865 (completion-pcm-complete-word-inserts-delimiters):
16866 * man.el (Man-name-local-regexp):
16867 * mail/feedmail.el (feedmail-display-full-frame):
16868 * international/characters.el (glyphless-char-display-control):
16869 * eshell/em-ls.el (eshell-ls-date-format):
16870 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
16871 (lisp-lambda-list-keyword-parameter-indentation)
16872 (lisp-lambda-list-keyword-parameter-alignment):
16873 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
16874 * dired-x.el (dired-omit-verbose):
16875 * cus-theme.el (custom-theme-allow-multiple-selections):
16876 * calc/calc.el (calc-highlight-selections-with-faces)
16877 (calc-lu-field-reference, calc-lu-power-reference)
16878 (calc-note-threshold):
16879 * battery.el (battery-mode-line-limit):
16880 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
16881 (archive-7z-update):
16882 * allout.el (allout-prefixed-keybindings)
16883 (allout-unprefixed-keybindings)
16884 (allout-inhibit-auto-fill-on-headline)
16885 (allout-flattened-numbering-abbreviation):
16886 * allout-widgets.el (allout-widgets-auto-activation)
16887 (allout-widgets-icons-dark-subdir)
16888 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
16889 (allout-widgets-theme-dark-background)
16890 (allout-widgets-theme-light-background)
16891 (allout-widgets-item-image-properties-emacs)
16892 (allout-widgets-item-image-properties-xemacs)
16893 (allout-widgets-run-unit-tests-on-load)
16894 (allout-widgets-time-decoration-activity)
16895 (allout-widgets-hook-error-post-time)
16896 (allout-widgets-track-decoration):
16897 Add missing :version tags to new defcustoms and defgroups.
16899 * progmodes/sql.el (sql-ansi-statement-starters)
16900 (sql-oracle-statement-starters): Add custom type.
16902 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
16903 (prolog-system-version): Give it a type.
16905 2012-02-11 Eli Zaretskii <eliz@gnu.org>
16907 * term/pc-win.el (x-select-text, x-selection-owner-p)
16908 (x-own-selection-internal, x-disown-selection-internal)
16909 (x-get-selection-internal): Sync doc strings and argument lists
16910 with xselect.c, common-win.el and x-win.el. (Bug#10783)
16912 2012-02-11 Leo Liu <sdl.web@gmail.com>
16914 * progmodes/python.el (python-end-of-statement): Fix infinite
16917 2012-02-10 Glenn Morris <rgm@gnu.org>
16919 * international/mule-cmds.el (unify-8859-on-encoding-mode)
16920 (unify-8859-on-decoding-mode): Properly mark as obsolete.
16922 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
16924 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
16925 about SMTP before checking the From header.
16927 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
16928 into own function for reuse by emacsbug.el.
16930 2012-02-10 Leo Liu <sdl.web@gmail.com>
16932 * subr.el (condition-case-unless-debug): Rename from
16933 condition-case-no-debug. All callers changed.
16934 (with-demoted-errors): Fix caller.
16936 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
16937 * nxml/rng-valid.el (rng-do-some-validation):
16938 * emacs-lisp/package.el (package-refresh-contents)
16939 (package-menu-execute):
16940 * desktop.el (desktop-create-buffer):
16941 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
16943 2012-02-10 Glenn Morris <rgm@gnu.org>
16945 * textmodes/bibtex.el:
16946 Add missing :version tags for new/changed defcustoms.
16948 * files.el (remote-file-name-inhibit-cache): Doc fixes.
16950 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
16952 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
16953 (smtpmail-via-smtp): Use it, or fall back on the From address.
16954 (smtpmail-send-it): Ditto.
16956 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
16958 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
16959 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
16960 (byte-compile-tmp-var): New const.
16961 (byte-compile-defvar): Use it to minimize .elc size.
16962 Just use `defvar' rather than simulate it (bug#10761).
16964 2012-02-09 Glenn Morris <rgm@gnu.org>
16966 * files.el (rename-uniquely): Doc fix. (Bug#3806)
16968 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
16971 * progmodes/compile.el (compilation-error-screen-columns)
16972 (compilation-first-column, compilation-filter-start): Doc fixes.
16974 * vc/log-view.el (log-view-toggle-entry-display):
16975 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
16977 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
16978 (report-emacs-bug-can-use-xdg-email):
16979 (report-emacs-bug-insert-to-mailer): Doc fixes.
16980 (report-emacs-bug): Message fix.
16982 * net/browse-url.el (browse-url-can-use-xdg-open)
16983 (browse-url-xdg-open): Doc fixes.
16985 * electric.el (electric-indent-mode, electric-pair-mode)
16986 (electric-layout-rules, electric-layout-mode): Doc fixes.
16987 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
16989 2012-02-08 Martin Rudalics <rudalics@gmx.at>
16991 * server.el (server-unselect-display): Don't inadvertently kill
16992 the current buffer. (Bug#10729)
16994 2012-02-08 Glenn Morris <rgm@gnu.org>
16996 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
16997 (sql-list-table): Doc fixes.
16999 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
17000 Comment out (does nothing).
17002 * completion.el (dynamic-completion-mode):
17003 * dirtrack.el (dirtrack-debug-mode):
17004 * electric.el (electric-layout-mode):
17005 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
17006 * face-remap.el (text-scale-mode, buffer-face-mode):
17007 * iimage.el (iimage-mode):
17008 * image-mode.el (image-transform-mode):
17009 * minibuffer.el (completion-in-region-mode):
17010 * scroll-lock.el (scroll-lock-mode):
17011 * simple.el (next-error-follow-minor-mode):
17012 * tar-mode.el (tar-subfile-mode):
17013 * tooltip.el (tooltip-mode):
17014 * vcursor.el (vcursor-use-vcursor-map):
17015 * wid-browse.el (widget-minor-mode):
17016 * emulation/tpu-edt.el (tpu-edt-mode):
17017 * emulation/tpu-extras.el (tpu-cursor-free-mode):
17018 * international/iso-ascii.el (iso-ascii-mode):
17019 * language/thai-util.el (thai-word-mode):
17020 * mail/supercite.el (sc-minor-mode):
17021 * net/goto-addr.el (goto-address-mode):
17022 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
17023 * progmodes/cwarn.el (cwarn-mode):
17024 * progmodes/flymake.el (flymake-mode):
17025 * progmodes/glasses.el (glasses-mode):
17026 * progmodes/hideshow.el (hs-minor-mode):
17027 * progmodes/pascal.el (pascal-outline-mode):
17028 * textmodes/enriched.el (enriched-mode):
17029 * vc/smerge-mode.el (smerge-mode):
17030 Doc fixes (minor mode argument).
17032 2012-02-07 Eli Zaretskii <eliz@gnu.org>
17034 * ls-lisp.el (ls-lisp-sanitize): New function.
17035 (ls-lisp-insert-directory): Use it to fix or remove any elements
17036 in file-alist with missing attributes. (Bug#4673)
17038 2012-02-07 Alan Mackenzie <acm@muc.de>
17040 Fix spurious recognition of c-in-knr-argdecl.
17042 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
17043 putative K&R region.
17045 2012-02-07 Alan Mackenzie <acm@muc.de>
17047 * progmodes/cc-engine.el (c-forward-objc-directive):
17048 Prevent looping in "#pragma mark @implementation".
17050 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
17052 * notifications.el (notifications-on-closed-signal): Make `reason'
17053 optional. (Bug#10744)
17055 2012-02-07 Glenn Morris <rgm@gnu.org>
17057 * emacs-lisp/easy-mmode.el (define-minor-mode):
17058 Doc fixes for the macro and the mode it defines.
17060 * image.el (imagemagick-types-inhibit): Doc fix.
17062 * cus-start.el (imagemagick-render-type): Add it.
17064 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
17066 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
17067 Set the default at load time, too, so that `font-lock-fontify-buffer'
17068 can be called without setting up the entire mode first. This fixes
17069 a bug in `mm-inline-text' with C MIME parts.
17071 2012-02-06 Chong Yidong <cyd@gnu.org>
17073 * simple.el (list-processes--refresh): Delete exited processes
17076 * comint.el (comint-next-prompt): next-single-char-property-change
17077 and prev-single-char-property-change never return nil (Bug#8657).
17079 * custom.el (defcustom): Doc fix (Bug#9711).
17081 2012-02-05 Chong Yidong <cyd@gnu.org>
17083 * cus-edit.el (custom-variable-reset-backup): Quote the value
17084 before storing it in the customized-value property (Bug#6712).
17085 (custom-display): Add a customization type tag.
17086 (custom-buffer-create-internal): Improve tooltip message.
17088 * wid-edit.el (widget-field-value-get): New optional arg to
17089 suppress trailing whitespace truncation.
17090 (character): Use it (Bug#2689).
17092 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
17094 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
17095 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
17097 2012-02-05 Chong Yidong <cyd@gnu.org>
17099 * cus-edit.el (custom-variable-value-create): For mismatched
17100 types, show the current value (Bug#7600).
17102 * custom.el (defcustom): Doc fix.
17104 2012-02-05 Glenn Morris <rgm@gnu.org>
17106 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
17108 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
17110 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
17111 (pp-buffer): Use `ignore-errors', `looking-at-p'.
17112 (pp-last-sexp): Use `looking-at-p'.
17114 2012-02-04 Glenn Morris <rgm@gnu.org>
17116 * files.el (revert-buffer):
17117 Doc fix (mention revert-buffer-in-progress-p).
17119 * emacs-lisp/ert-x.el (ert-simulate-command):
17120 Check deferred-action-list (which is obsolete) is bound.
17122 * subr.el (with-wrapper-hook): Doc fixes.
17124 * simple.el (filter-buffer-substring-functions)
17125 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
17127 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
17129 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
17130 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
17132 2012-02-04 Leo Liu <sdl.web@gmail.com>
17134 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
17136 2012-02-04 Glenn Morris <rgm@gnu.org>
17138 * image.el (image-extension-data): Add obsolete alias.
17140 * isearch.el (isearch-update): Doc fix.
17142 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
17144 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
17146 2012-02-03 Glenn Morris <rgm@gnu.org>
17148 * image.el (image-animated-p): Doc fix. Use image-animated-types.
17149 (image-animate-timeout): Doc fix.
17151 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
17153 2012-02-02 Glenn Morris <rgm@gnu.org>
17155 * server.el (server-auth-dir): Doc fix.
17156 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
17158 * subr.el (run-mode-hooks): Doc fix.
17160 2012-02-02 Juri Linkov <juri@jurta.org>
17162 * image-mode.el (image-toggle-display-image): Remove tautological
17163 `major-mode' from the `derived-mode-p' test.
17165 2012-02-02 Kenichi Handa <handa@m17n.org>
17167 * composite.el (compose-region): Cancel previous change.
17169 2012-02-02 Kenichi Handa <handa@m17n.org>
17171 * composite.el (compose-region, compose-string): Signal error for
17172 a null string component (Bug#6988).
17174 2012-02-01 Chong Yidong <cyd@gnu.org>
17176 * view.el (view-buffer-other-window, view-buffer-other-frame):
17177 Handle special modes like view-buffer (Bug#10650).
17178 (view-buffer): Simplify.
17180 * frame.el (set-frame-font): Tweak meaning of third argument.
17182 * dynamic-setting.el (font-setting-change-default-font):
17183 Use set-frame-font (Bug#9982).
17185 2012-02-01 Glenn Morris <rgm@gnu.org>
17187 * progmodes/compile.el (compilation-internal-error-properties):
17188 Respect compilation-first-column in the "*compilation*" buffer.
17190 * emacs-lisp/easy-mmode.el (define-minor-mode):
17191 Relax :variable's test for a named function.
17193 2012-01-31 Alan Mackenzie <acm@muc.de>
17195 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
17198 2012-01-31 Chong Yidong <cyd@gnu.org>
17200 * frame.el (set-frame-font): New arg ALL-FRAMES.
17202 * menu-bar.el (menu-set-font): Use set-frame-font.
17204 * faces.el (face-spec-reset-face): Don't apply unspecified
17205 attribute values to the default face.
17207 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
17209 * progmodes/cwarn.el (cwarn): Remove dead link.
17210 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
17211 Remove * from defcustom docstrings.
17212 (turn-on-cwarn-mode): Make obsolete.
17213 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
17214 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
17216 2012-01-31 Glenn Morris <rgm@gnu.org>
17218 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
17219 Fix :variable handling of mode a symbol not equal to modefun.
17220 Allow named functions to be used as the cdr of :variable.
17222 2012-01-30 Glenn Morris <rgm@gnu.org>
17224 * emacs-lisp/authors.el (authors-fixed-entries):
17225 Remove reference to deleted file rnewspost.el.
17227 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
17229 * window.el (window-with-parameter): Remove unused variable `windows'.
17230 (window--side-check): Remove unused variable `code'.
17231 (window--resize-siblings): Remove unused variable `first'.
17232 (adjust-window-trailing-edge): Remove unused variable `failed'.
17233 (window-deletable-p, window--delete): Remove unused variable `buffer'.
17234 Use `let', not `let*'.
17235 (balance-windows-2): Remove unused variable `found'.
17236 (window--state-put-2): Remove unused variable `splits'.
17237 (window-state-put): Remove unused variable `selected'.
17238 (same-window-p): Use `string-match-p'.
17239 (display-buffer-assq-regexp): Remove unused variable `value'.
17240 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17241 Mark argument ALIST as ignored.
17242 (pop-to-buffer): Remove unused variable `old-window'.
17244 2012-01-29 Eli Zaretskii <eliz@gnu.org>
17246 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
17247 and .lzma compressed files.
17249 2012-01-29 Chong Yidong <cyd@gnu.org>
17251 * frame.el (window-system-default-frame-alist): Doc fix.
17253 * dynamic-setting.el (font-setting-change-default-font): Don't
17254 change the default face if SET-FONT argument is non-nil (Bug#9982).
17256 2012-01-29 Samuel Bronson <naesten@gmail.com>
17258 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
17260 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
17262 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
17263 breakpoints in files outside current directory (Bug#6098).
17265 2012-01-29 Chong Yidong <cyd@gnu.org>
17267 * progmodes/python.el: Require ansi-color at top-level.
17269 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
17270 Define and use in Emacs Lisp mode (Bug#9360).
17271 (lisp-mode-abbrev-table): Add doc.
17272 (lisp-mode-variables): Don't set local-abbrev-table.
17273 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
17275 2012-01-28 Roland Winkler <winkler@gnu.org>
17277 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
17279 2012-01-28 Roland Winkler <winkler@gnu.org>
17281 * textmodes/bibtex.el (bibtex-entry-alist): New function.
17282 (bibtex-set-dialect): Use it. Either set global values of
17283 dialect-dependent variables or bind these variables buffer-locally
17285 (bibtex-mode): Call bibtex-set-dialect via
17286 hack-local-variables-hook.
17287 (bibtex-dialect): Update docstring.
17288 Add safe-local-variable predicate.
17289 (bibtex-entry-alist, bibtex-field-alist): Initialize via
17290 bibtex-set-dialect.
17291 (bibtex-mode-map): Define menu for each dialect.
17292 (bibtex-entry): Fix docstring.
17294 2012-01-28 Chong Yidong <cyd@gnu.org>
17296 * eshell/esh-arg.el (eshell-quote-argument): New function.
17298 * eshell/esh-ext.el (eshell-invoke-batch-file):
17299 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
17300 first arg to eshell-parse-command (Bug#10523).
17302 2012-01-28 Drew Adams <drew.adams@oracle.com>
17304 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
17305 `default-directory' is non-nil.
17307 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17309 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
17310 line that displays system-configuration-options. (Bug#9924)
17312 2012-01-28 Drew Adams <drew.adams@oracle.com>
17314 * descr-text.el (describe-char): Show information about POS, in
17315 addition to information about the character at POS. Improve and
17316 update the doc string. Change "code point" to "code point in
17317 charset", to avoid confusion with the character's Unicode code
17318 point shown above that. (Bug#10129)
17320 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17322 * descr-text.el (describe-char): Show the raw character, not only
17323 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
17324 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
17327 2012-01-28 Phil Hagelberg <phil@hagelb.org>
17329 * emacs-lisp/package.el (package-install):
17330 Run package-refresh-contents if there is no archive yet (Bug#9798).
17332 2012-01-28 Chong Yidong <cyd@gnu.org>
17334 * emacs-lisp/package.el (package-maybe-load-descriptor):
17335 New function, split from package-maybe-load-descriptor.
17336 (package-maybe-load-descriptor): Use it.
17337 (package-download-transaction): Fully load required packages
17338 inside the loop, so that `require' calls work (Bug#10593).
17339 (package-install): No need to call package-initialize now.
17341 2012-01-28 Chong Yidong <cyd@gnu.org>
17343 * simple.el (deactivate-mark): Doc fix (Bug#8614).
17345 * tooltip.el (tooltip-mode): Doc fix.
17346 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
17348 * frame.el (set-cursor-color): Doc fix (Bug#352).
17350 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
17351 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
17353 * cus-edit.el (custom-buffer-create-internal): Fix search button
17354 action (Bug#10542).
17355 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
17357 2012-01-27 Eduard Wiebe <usenet@pusto.de>
17359 * dired.el (dired-mark-files-regexp):
17360 Include any subdirectory components. (Bug#10445)
17362 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
17364 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
17365 Handle [host]:port syntax. (Bug#10533)
17367 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
17369 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
17371 2012-01-26 Glenn Morris <rgm@gnu.org>
17373 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
17374 * term.el (term-raw-escape-map): Use Control-X-prefix.
17375 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
17377 2012-01-25 Martin Rudalics <rudalics@gmx.at>
17379 * window.el (window-state-get, window--state-get-1): Don't deal
17380 with fixed-sizeness of windows. Simplify code.
17382 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
17384 * window.el (window--state-get-1, window--state-put-2):
17385 Don't save and restore the mark.
17387 2012-01-25 Chong Yidong <cyd@gnu.org>
17389 * custom.el (custom-variable-p): Doc fix.
17391 2012-01-25 Glenn Morris <rgm@gnu.org>
17393 * dired.el (dired-goto-file): Handle some of the more common
17394 characters that `ls -b' escapes. (Bug#10596)
17396 * progmodes/compile.el (compilation-next-error-function):
17397 Respect compilation-first-column in the "*compilation*" buffer.
17398 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
17400 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
17402 2012-01-24 Glenn Morris <rgm@gnu.org>
17404 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
17406 2012-01-24 Julien Danjou <julien@danjou.info>
17408 * color.el (color-rgb-to-hsl): Fix value computing.
17409 (color-hue-to-rgb): New function.
17410 (color-hsl-to-rgb): New function.
17411 (color-clamp, color-saturate-hsl, color-saturate-name)
17412 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
17413 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
17415 2012-01-24 Glenn Morris <rgm@gnu.org>
17417 * vc/vc-rcs.el (vc-rcs-create-tag):
17418 * vc/vc-sccs.el (vc-sccs-create-tag):
17419 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
17421 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
17423 * eshell/esh-util.el (eshell-read-hosts-file):
17424 Skip comment lines. (Bug#10549)
17426 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
17428 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
17430 * subr.el (display-delayed-warnings): Doc fix.
17431 (collapse-delayed-warnings): New function to collapse identical
17433 (delayed-warnings-hook): Add it.
17435 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
17437 * net/tramp.el (tramp-action-login): Set connection property "login-as".
17439 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
17440 (tramp-default-user-alist): Don't add "pscp".
17441 (tramp-do-copy-or-rename-file-out-of-band): Use connection
17442 property "login-as", if set. (Bug#10530)
17444 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
17446 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
17447 "plink1" and "psftp". (Bug#10530)
17449 2012-01-21 Kenichi Handa <handa@m17n.org>
17451 * international/mule-cmds.el (prefer-coding-system): Show a
17452 warning message if the default value of file-name-coding-system
17455 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17457 * windmove.el (windmove-reference-loc):
17458 Fix windmove-reference-loc miscalculation.
17460 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
17462 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
17465 2012-01-21 Glenn Morris <rgm@gnu.org>
17467 * international/mule.el (auto-coding-alist): Add .tbz.
17469 * files.el (local-enable-local-variables): Doc fix.
17470 (inhibit-local-variables-regexps): Rename from
17471 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
17472 Doc fix. Add some extensions from auto-coding-alist.
17473 (inhibit-local-variables-suffixes):
17474 Rename from inhibit-first-line-modes-suffixes. Doc fix.
17475 (inhibit-local-variables-p):
17476 New function, extracted from set-auto-mode-1.
17477 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
17478 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
17479 (hack-local-variables): Doc fix. Make the mode-only case
17480 respect enable-local-variables and friends.
17481 Respect inhibit-local-variables-regexps for file-locals, but
17482 not for directory-locals.
17483 (set-visited-file-name):
17484 Take account of inhibit-local-variables-regexps.
17485 Whether it applies may change as the file name is changed.
17486 * jka-cmpr-hook.el (jka-compr-install):
17487 * jka-compr.el (jka-compr-uninstall):
17488 Update for inhibit-first-line-modes-suffixes name change.
17490 2012-01-20 Martin Rudalics <rudalics@gmx.at>
17492 * help-macro.el (make-help-screen): Temporarily restore original
17493 binding for minor-mode-map-alist (Bug#10454).
17495 2012-01-19 Julien Danjou <julien@danjou.info>
17497 * color.el (color-name-to-rgb): Use the white color to find the max
17498 color component value and return correctly computed values.
17499 (color-name-to-rgb): Add missing float conversion for max value.
17501 2012-01-19 Martin Rudalics <rudalics@gmx.at>
17503 * window.el (window--state-get-1, window-state-get): Do not use
17504 special state value for window-persistent-parameters.
17505 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
17506 (window--state-put-2): Reset all window parameters to nil before
17507 assigning values of persistent parameters.
17509 2012-01-18 Alan Mackenzie <acm@muc.de>
17511 Eliminate sluggishness and hangs in fontification of "semicolon
17514 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
17515 Change value 10000 -> 3000.
17516 (c-state-safe-place): Reformulate so it doesn't stack up an
17517 infinite number of wrong entries in c-state-nonlit-pos-cache.
17518 (c-determine-limit-get-base, c-determine-limit): New functions to
17519 determine backward search limits disregarding literals.
17520 (c-find-decl-spots): Amend commenting.
17521 (c-cheap-inside-bracelist-p): New function which detects "={".
17523 * progmodes/cc-fonts.el
17524 (c-make-font-lock-BO-decl-search-function): Give a limit to a
17526 (c-font-lock-declarations): Fix an occurrence of point being
17527 undefined. Check additionally for point being in a bracelist or
17528 near a macro invocation without a semicolon so as to avoid a
17529 fruitless time consuming search for a declarator. Give a more
17530 precise search limit for declarators using the new
17533 2012-01-18 Glenn Morris <rgm@gnu.org>
17535 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
17536 (set-auto-mode): Doc fixes.
17538 2012-01-17 Glenn Morris <rgm@gnu.org>
17540 * isearch.el (search-nonincremental-instead): Fix doc typo.
17542 * dired.el (dired-insert-directory): Handle newlines in directory name.
17543 (dired-build-subdir-alist): Unescape newlines in directory name.
17545 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
17547 * net/tramp.el (tramp-local-end-of-line): New defcustom.
17548 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
17549 (tramp-action-terminal): Use it. (Bug#10530)
17551 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
17553 * minibuffer.el (completion--replace): Strip properties (bug#10062).
17555 2012-01-16 Martin Rudalics <rudalics@gmx.at>
17557 * window.el (window-state-ignored-parameters): Remove variable.
17558 (window--state-get-1): Rename argument MARKERS to IGNORE.
17559 Handle persistent window parameters. Make copy of clone-of
17560 parameter only if requested. (Bug#10348)
17561 (window--state-put-2): Install a window parameter only if it has
17562 a non-nil value or an existing parameter shall be overwritten.
17564 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
17566 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
17568 2012-01-14 Eli Zaretskii <eliz@gnu.org>
17570 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
17571 don't pass the (nil) value of `upnode' to string-match.
17573 2012-01-14 Chong Yidong <cyd@gnu.org>
17575 * startup.el (command-line): Fix X resource class for cursorColor.
17576 Fix values recognized by the cursorBlink resource.
17578 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
17580 * epg.el (epg--make-temp-file): Avoid permission race condition
17581 when running on old Emacs versions (bug#10403).
17583 2012-01-14 Glenn Morris <rgm@gnu.org>
17585 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
17587 2012-01-13 Alan Mackenzie <acm@muc.de>
17589 Fix filling for when filladapt mode is enabled.
17591 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
17592 c-mask-paragraph, pass in `fill-paragraph' rather than
17593 `fill-region-as-paragraph'. (This is a reversion of a previous
17595 * progmodes/cc-mode.el (c-basic-common-init):
17596 Make fill-paragraph-handle-comment buffer local and set it to nil.
17598 2012-01-13 Glenn Morris <rgm@gnu.org>
17600 * dired.el (dired-switches-escape-p): New function.
17601 (dired-insert-directory): Use dired-switches-escape-p.
17602 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
17604 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
17606 2012-01-12 Glenn Morris <rgm@gnu.org>
17608 * mail/sendmail.el (mail-mode): Update paragraph-separate for
17609 changes in adaptive-fill-regexp. (Bug#10276)
17611 2012-01-11 Alan Mackenzie <acm@muc.de>
17613 Fix Emacs bug #10463 - put `widen's around the critical spots.
17615 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
17616 widen around each invocation of c-state-pp-to-literal. Remove an
17617 unused let variable.
17619 2012-01-11 Glenn Morris <rgm@gnu.org>
17621 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
17624 2012-01-10 Chong Yidong <cyd@gnu.org>
17626 * net/network-stream.el (network-stream-open-starttls):
17627 Avoid emitting a confusing error message when the server gives a bad
17628 response to the capability command.
17630 2012-01-10 Glenn Morris <rgm@gnu.org>
17632 * mail/unrmail.el (unrmail): Tweak previous change.
17634 2012-01-09 Chong Yidong <cyd@gnu.org>
17636 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
17638 2012-01-08 Alan Mackenzie <acm@muc.de>
17640 Optimize font locking in long enum definitions.
17642 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
17643 arm to a cond form to handle enums.
17644 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
17645 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
17647 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
17649 * files.el (move-file-to-trash): Preserve default file modes on error.
17652 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17654 * faces.el (set-face-attribute): Clarify the meaning of the nil
17657 * subr.el (with-selected-frame): Mention that the selected frame
17658 is restored (bug#9980).
17660 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
17663 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
17664 (password-read): Don't autoload unused function.
17666 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
17668 * progmodes/which-func.el (which-func-mode): Turn into a
17669 non-interactive function and mark as obsolete (bug#10428).
17671 2012-01-06 Chong Yidong <cyd@gnu.org>
17673 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
17674 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
17675 functions, along with 1 and -1.
17677 2012-01-06 Eli Zaretskii <eliz@gnu.org>
17679 * time.el (display-time-load-average)
17680 (display-time-default-load-average): Doc fixes. See the thread
17682 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
17685 2012-01-06 Glenn Morris <rgm@gnu.org>
17687 * mail/unrmail.el (unrmail): Give an explicit error if the input file
17688 has no messages. (Bug#10377)
17690 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
17691 than Info-edit. (Bug#10385)
17693 * time.el (display-time-load-average, display-time-next-load-average):
17696 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
17697 local setting of buffer-read-only to the input buffer. (Bug#10419)
17699 * calendar/calendar.el (calendar-mode):
17700 Locally set scroll-margin to 0. (Bug#10379)
17702 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
17704 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
17706 2012-01-05 Glenn Morris <rgm@gnu.org>
17708 * eshell/em-unix.el (diff-no-select): Autoload it.
17709 (eshell/diff): Use diff-no-select. (Bug#10420)
17711 2012-01-05 Chong Yidong <cyd@gnu.org>
17713 * shell.el (shell-dynamic-complete-functions): Revert last change.
17714 (shell-command-completion-function): New function.
17715 (shell-completion-vars): Use it to implement
17716 shell-completion-execonly (Bug#10417).
17718 * custom.el (enable-theme): Don't set custom-safe-themes.
17720 * cus-theme.el (custom-theme-merge-theme):
17721 Ignore custom-enabled-themes and custom-safe-themes.
17723 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
17725 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
17726 first prompt in `sql-interacive-mode'.
17727 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
17729 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
17730 (sql-product-interactive): Bug fix: Set `sql-buffer' in
17731 context of original buffer. Invoke `sql-login-hook'.
17733 2012-01-04 Eli Zaretskii <eliz@gnu.org>
17735 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
17736 letters in cite-prefix.
17738 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17740 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
17742 2012-01-03 Chong Yidong <cyd@gnu.org>
17744 * shell.el (shell-dynamic-complete-functions):
17745 Put pcomplete-completions-at-point, so as to try
17746 comint-filename-completion first (Bug#10417).
17748 2012-01-02 Richard Stallman <rms@gnu.org>
17750 * battery.el (battery-status-function):
17751 Detect when to use battery-yeeloong-sysfs.
17752 (battery-echo-area-format): Add string for Yeeloong.
17753 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
17754 (battery-yeeloong-sysfs): New function.
17756 2012-01-02 Chong Yidong <cyd@gnu.org>
17758 * dirtrack.el (dirtrack-list): Eliminate unused third element.
17759 (dirtrack): Merge code for handling relative filenames in prompt
17760 from shell-dir-cookie-watcher.
17761 (dirtrack-debug-message): New arg to avoid excess format calls.
17763 * shell.el (shell-dir-cookie-re): Variable deleted.
17764 (shell-dir-cookie-watcher): Function deleted.
17765 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
17766 with dirtrack-mode.
17768 2012-01-01 Eli Zaretskii <eliz@gnu.org>
17770 * term/w32-win.el (dynamic-library-alist) <gnutls>:
17771 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
17774 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
17776 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
17778 2011-12-31 Eli Zaretskii <eliz@gnu.org>
17780 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
17781 headers of non-MIME messages, when rmail-enable-mime is non-nil.
17783 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
17785 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
17786 also for alternative shells.
17787 (tramp-open-connection-setup-interactive-shell): Check, whether
17788 the shell is a busybox.
17789 (tramp-send-command): Don't suppress multiple prompts for
17790 busyboxes, it hurts.
17792 2011-12-28 Chong Yidong <cyd@gnu.org>
17794 * progmodes/gdb-mi.el (gdb-get-source-file-list)
17795 (gdb-get-source-file): Move mode line update to
17796 gdb-get-source-file (Bug#10087).
17798 2011-12-25 Chong Yidong <cyd@gnu.org>
17800 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
17801 gud-gdb-marker-filter without taking it as an argument.
17802 (gud-gdb-run-command-fetch-lines): Caller changed.
17803 (gud-gdb-completion-function): New variable.
17804 (gud-gdb-completion-at-point): Use it.
17805 (gud-gdb-completions-1): Split from gud-gdb-completions.
17807 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
17808 function as separate arguments.
17809 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
17810 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
17811 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
17812 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
17813 (gdb-stopped, def-gdb-auto-update-trigger)
17814 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
17815 (gdb-get-changed-registers, gdb-get-main-selected-frame):
17817 (gud-gdbmi-completions): New function.
17818 (gdb): Use it for generating the completion table.
17820 2011-12-24 Alan Mackenzie <acm@muc.de>
17822 Introduce a mechanism to widen the region used in context font
17823 locking. Use this to protect declarations from losing their contexts.
17825 * progmodes/cc-langs.el (c-before-font-lock-functions):
17826 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
17827 (c-before-context-fontification-functions): New defvar, a list of
17828 functions to be run just before context (etc.) font locking.
17830 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
17831 New, functionality extracted from
17832 c-neutralize-syntax-in-and-mark-CPP.
17833 (c-in-after-change-fontification): New variable.
17834 (c-after-change): Set c-in-after-change-fontification.
17835 (c-set-fl-decl-start): Rejig its interface, so it can be called
17836 from both after-change and context fontifying.
17837 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
17839 (c-standard-font-lock-fontify-region-function): New variable.
17840 (c-font-lock-fontify-region): New function.
17842 2011-12-24 Juri Linkov <juri@jurta.org>
17844 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
17847 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
17849 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
17850 existence of source file. (Bug#10325)
17852 2011-12-23 Alan Mackenzie <acm@muc.de>
17854 Fix unstable fontification inside templates.
17856 * progmodes/cc-langs.el (c-before-font-lock-functions):
17857 Newly created from the singular version. The (c c++ objc) entry now
17858 additionally has c-set-fl-decl-start. The other languages (apart
17859 from AWK) have that as a single entry.
17861 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17862 The functionality for "local" declarations has been extracted to
17863 c-set-fl-decl-start.
17865 * progmodes/cc-mode.el (c-common-init, c-after-change):
17866 Changes due to pluralisation of c-before-font-lock-functions.
17867 (c-set-fl-decl-start): New function, extracted from
17868 c-font-lock-enclosing-decls and enhanced.
17870 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
17872 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
17874 2011-12-22 Juri Linkov <juri@jurta.org>
17876 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
17878 2011-12-22 Chong Yidong <cyd@gnu.org>
17880 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
17882 2011-12-21 Drew Adams <drew.adams@oracle.com>
17884 * files.el (file-remote-p): Fix docstring. (Bug#10319)
17886 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17888 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
17890 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
17892 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
17893 highlighting and support. Fix up comments for capitalization.
17894 (cfengine-mode-debug): New var.
17895 (cfengine3-mode): Change the modeline indicator to "CFE3".
17896 (cfengine3-font-lock-keywords): Improve defun highlighting.
17897 (cfengine2-actions): Rename from `cfengine-actions'.
17898 (cfengine2-font-lock-keywords): Rename from
17899 `cfengine-font-lock-keywords'.
17900 (cfengine2-imenu-expression): Rename from
17901 `cfengine-imenu-expression'.
17902 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
17903 (cfengine2-beginning-of-defun): Rename from
17904 `cfengine-beginning-of-defun'.
17905 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
17906 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
17907 (cfengine2-mode): Rename from `cfengine-mode'. Change the
17908 modeline indicator to "CFE2".
17909 (cfengine-mode): Defalias to `cfengine-auto-mode'.
17910 (cfengine-mode-abbrevs): Mark obsolete.
17912 2011-12-21 Chong Yidong <cyd@gnu.org>
17914 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
17917 2011-12-20 Martin Rudalics <rudalics@gmx.at>
17919 * window.el (window-normalize-buffer-to-display): Remove.
17920 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
17922 2011-12-19 Chong Yidong <cyd@gnu.org>
17924 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
17925 Don't signal an error in a predicate function; return non-nil.
17926 (vc-dir-mark-file): Move the error here.
17927 (vc-dir-mark-unmark): If acting on the region, keep going if one
17928 of the entries cannot be marked/unmarked.
17929 (vc-dir-mark-all-files): If current entry is a directory, mark
17930 only child files, as documented.
17932 2011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
17934 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
17935 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
17938 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
17940 * term/ns-win.el (ns-get-selection-internal)
17941 (ns-store-selection-internal): Declare.
17942 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
17943 Declare as obsolete.
17944 (ns-get-pasteboard, ns-paste-secondary):
17945 Use ns-get-selection-internal.
17946 (ns-set-pasteboard, ns-copy-including-secondary):
17947 Use ns-store-selection-internal.
17949 2011-12-17 Chong Yidong <cyd@gnu.org>
17951 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
17952 (vc-deduce-fileset): Doc fix.
17954 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
17956 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
17958 2011-12-13 Sam Steingold <sds@gnu.org>
17960 * man.el (Man-getpage-in-background): When running under a
17961 window-system, ignore $MANWIDTH and $COLUMNS.
17963 2011-12-15 Kenichi Handa <handa@m17n.org>
17965 * language/ethio-util.el: Change coding tag to utf-8-emacs.
17966 (setup-ethiopic-environment-internal): Comment out key-binding for
17967 ethio-toggle-punctuation.
17969 2011-12-13 Alan Mackenzie <acm@muc.de>
17971 Add the switch statement to AWK Mode.
17973 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
17974 "default" to the keywords regexp.
17976 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
17977 expression as the rest.
17978 (c-nonlabel-token-key): Allow string literals for AWK.
17979 Refactor for the other modes.
17981 Large brace-block initialisation makes CC Mode slow: Fix.
17982 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
17983 routines. Limit backward searching in c-font-lock-enclosing.decl.
17985 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
17986 pp-state and literal type in addition to the limits.
17987 (c-state-safe-place): New defun, extracted from c-state-literal-at.
17988 (c-state-literal-at): Use the above new defun.
17989 (c-slow-in-literal, c-fast-in-literal): Remove.
17990 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
17992 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
17993 being in a literal. Add a limit for backward searching.
17995 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
17998 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
18000 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
18002 2011-12-13 Martin Rudalics <rudalics@gmx.at>
18004 * window.el (delete-other-windows): Use correct frame in call to
18005 window-with-parameter.
18007 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
18009 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
18010 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
18011 (makefile-gmake-statements, makefile-makepp-statements):
18012 Use it and add new makepp keywords.
18013 (makefile-makepp-font-lock-keywords): Add new patterns.
18014 (makefile-match-function-end): Match new [...] and [[...]].
18016 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
18018 * ses.el (ses-call-printer-return, ses-cell-property-get)
18019 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
18020 (ses-create-cell-variable, ses-reset-header-string)
18021 (ses-cell-set-formula, ses-repair-cell-reference-all)
18022 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
18023 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
18024 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
18025 (ses-aset-with-undo, ses-load, ses-truncate-cell)
18026 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
18027 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
18028 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
18029 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
18030 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
18031 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
18032 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
18033 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
18035 2011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
18037 * ses.el: The overall change is to add cell renaming, that is
18038 setting fancy names for cell symbols other than name matching
18039 "\\`[A-Z]+[0-9]+\\'" regexp .
18040 (ses-create-cell-variable): New defun.
18041 (ses-relocate-formula): Relocate formulas only for cells the
18042 symbols of which are not renamed, i.e. symbols whose names do not
18043 match regexp "\\`[A-Z]+[0-9]+\\'".
18044 (ses-relocate-all): Relocate values only for cells the symbols of
18045 which are not renamed.
18046 (ses-load): Create cells variables as the (ses-cell ...) are read,
18047 in order to check row col consistency with cell symbol name only
18048 for cells that are not renamed.
18049 (ses-replace-name-in-formula): New defun.
18050 (ses-rename-cell): New defun.
18052 2011-12-11 Chong Yidong <cyd@gnu.org>
18054 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
18055 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
18057 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
18059 * window.el (other-window): Fix docstring.
18061 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18063 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
18064 `from' or `to' address before taking its substring.
18065 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
18066 encoded name is chopped in the middle of the encoded string, and
18067 thus displayed encoded.
18069 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
18071 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
18073 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18075 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
18076 to use texinfo-update-node and commands that call it if the
18077 Texinfo file uses @node lines without next/prev/up pointers.
18078 Correct outdated description about texinfo-master-menu.
18079 (texinfo-all-menus-update, texinfo-master-menu)
18080 (texinfo-update-node, texinfo-every-node-update)
18081 (texinfo-multiple-files-update): Doc fix. Warn against updating
18082 all the @node lines.
18083 (texinfo-master-menu): Only call texinfo-update-node if the prefix
18084 argument is numeric. Explain better in the doc string what the
18085 function really does.
18086 (texinfo-insert-master-menu-list): Improve the error message
18087 displayed if there's no menu in the Top node.
18088 (Bug#2975) See also this thread:
18089 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
18091 2011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
18093 * speedbar.el (speedbar-supported-extension-expressions):
18094 Add .adb and .ads, commonly used for Ada source code (bug#10256).
18096 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
18098 * printing.el (pr-mode-alist):
18099 * simple.el (filter-buffer-substring-functions)
18100 (completion-list-insert-choice-function):
18101 * window.el (window-with-parameter, window-atom-root)
18102 (window-sides-slots, window-size-fixed, window-min-delta)
18103 (window-max-delta, window--resize-mini-window)
18104 (window--resize-child-windows-normal, window-tree)
18105 (delete-other-windows, quit-window, split-window)
18106 (display-buffer-record-window, special-display-buffer-names)
18107 (special-display-regexps, special-display-popup-frame)
18108 (same-window-p, split-window-sensibly)
18109 (display-buffer-overriding-action, display-buffer-alist)
18110 (display-buffer-base-action, display-buffer, switch-to-buffer)
18111 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
18112 (fit-window-to-buffer, recenter-positions)
18113 (mouse-autoselect-window-state, mouse-autoselect-window-select):
18114 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
18115 and remove unneeded backslashes in docstrings.
18117 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
18119 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
18121 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
18122 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
18124 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
18125 when reading the makefile (bug#10116).
18127 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
18129 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
18132 2011-12-06 Glenn Morris <rgm@gnu.org>
18134 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
18136 2011-12-06 Chong Yidong <cyd@gnu.org>
18138 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
18140 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
18142 * textmodes/table.el (table-shorten-cell): Fix typo.
18144 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
18146 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
18148 2011-12-05 Eli Zaretskii <eliz@gnu.org>
18150 * descr-text.el (describe-char): Fix display of strong
18151 right-to-left characters and directional embeddings and overrides.
18153 * simple.el (what-cursor-position): Fix display of codepoints of
18154 strong right-to-left characters.
18156 2011-12-05 Chong Yidong <cyd@gnu.org>
18158 * faces.el (read-color): Doc fix.
18160 2011-12-05 Glenn Morris <rgm@gnu.org>
18162 * align.el (align--set-marker): Add doc-string.
18163 Don't try to move something that is not a marker. (Bug#10216)
18165 2011-12-04 Glenn Morris <rgm@gnu.org>
18167 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
18168 overly zealous deletion of trailing whitespace.
18170 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
18172 * server.el (server-delete-client): On Windows, do not try to delete
18174 (server-process-filter): On Windows, treat requests for a tty frame as
18175 if they were for a GUI frame if the running server is in GUI mode.
18177 2011-12-03 Glenn Morris <rgm@gnu.org>
18179 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
18181 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
18183 * electric.el: Streamline electric-indent's hook.
18184 (electric-indent-chars): Revert to simple list.
18185 (electric-indent-functions): New var.
18186 (electric-indent-post-self-insert-function): Use it.
18188 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
18189 there's no inferior buffer (bug#10196).
18190 (prolog-consult-compile): Don't use toggle-read-only.
18192 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
18194 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
18195 interrupt. (Bug#10187)
18197 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
18199 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
18202 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
18205 2011-12-02 Juri Linkov <juri@jurta.org>
18207 * info.el (Info-search): Display "end of manual" when Isearch
18208 reaches the end of single-file Info manual. (Bug#9918)
18210 2011-12-02 Eli Zaretskii <eliz@gnu.org>
18212 * isearch.el (isearch-message-prefix): Run the input method part
18213 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
18215 2011-12-02 Juri Linkov <juri@jurta.org>
18217 * isearch.el (isearch-occur): Use `word-search-regexp' for
18219 (isearch-search-and-update): Add condition for `isearch-word' and
18220 call `word-search-regexp'. (Bug#10145)
18222 2011-12-01 Glenn Morris <rgm@gnu.org>
18224 * eshell/em-hist.el (eshell-hist-initialize):
18225 Handle eshell-history-size nil and HISTSIZE set or unset.
18226 (eshell-history-file-name, eshell-history-size): Fix custom type.
18228 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
18230 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
18232 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
18234 * progmodes/verilog-mode.el (verilog-pretty-expr):
18235 Rework verilog-pretty-expr to handle new assignment operators in system
18236 verilog, such as += *= and the like.
18237 (verilog-assignment-operator-re): Regular expression to find the
18238 assigment operator in a verilog assignment.
18239 (verilog-assignment-operation-re): Regular expression to find an
18240 assignment statement for pretty-expr.
18241 (verilog-in-attribute-p): Query returns true if point is in an
18242 attribute context; used to skip these for expression line up from
18244 (verilog-in-parameter-p): Query returns true if point is in an
18245 parameter definition context; used to skip these for expression
18246 line up from pretty-expr.
18247 (verilog-in-parenthesis-p): Query returns true if point is in a
18248 parenthetical expression, specifically ( ) but not [ ] or { };
18249 used by pretty-expr.
18250 (verilog-just-one-space): If there is no space, don't add one.
18251 (verilog-get-lineup-indent-2): Specifically skip just attribute
18252 contexts for expression lineup, rather than skipping all
18253 parenthetical expressions.
18254 (verilog-calculate-indent): Fix comment, and fix indent.
18255 (verilog-do-indent): Indent declarations in lists (suggested by
18257 (verilog-mode-abbrev-table): Populate abbrev mode with the various
18259 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
18262 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
18264 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
18265 parameters with embedded comments. Reported by Ray Stevens.
18266 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
18267 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
18268 Reported by Tim Holt.
18269 (verilog-auto): Fix AUTOing a upper module then AUTOing module
18270 instantiated by upper module causing wrong expansion until AUTOed a
18271 second time. Reported by K C Buckenmaier.
18272 (verilog-diff-auto): Fix showing .* as a difference when
18273 `verilog-auto-star-save' off. Reported by Dan Dever.
18274 (verilog-auto-reset, verilog-read-always-signals)
18275 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
18276 temporary signals in reset list if
18277 verilog-auto-reset-blocking-in-non is nil, and match assignment
18278 style to each signal's assignment type, bug381.
18279 Reported by Thomas Esposito.
18280 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
18281 (verilog-uvm-statement-re): Support UVM indentation and
18282 highlighting, with old OVM keywords only.
18283 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
18284 Support AUTOTIEOFF creating non-wire data types.
18285 Suggested by Jonathan Greenlaw.
18286 (verilog-auto-insert-lisp, verilog-delete-to-paren)
18287 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
18288 (verilog-inject-sense, verilog-read-inst-pins)
18289 (verilog-read-sub-decls, verilog-read-sub-decls-line):
18290 Fix mismatching parenthesis inside commented out code when deleting
18291 AUTOINST, bug383. Reported by Jonathan Greenlaw.
18292 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
18293 non-numeric vector width. Reported by Alex Reed.
18294 (verilog-auto-ascii-enum): Add "onehot" option to work around not
18295 detecting signals with parameter widths. Reported by Alex Reed.
18296 (verilog-auto-delete-trailing-whitespace):
18297 With `verilog-auto-delete-trailing-whitespace' remove trailing
18298 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
18299 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
18300 Fix verilog-scan-cache corruption when running user AUTO expansion
18301 hooks that call indentation routines.
18302 (verilog-simplify-range-expression): Fix typo ignoring lower case
18304 (verilog-delete-auto): Fix delete-autos to also remove user created
18305 automatics, as long as they start with AUTO.
18306 (verilog-batch-diff-auto, verilog-diff-auto)
18307 (verilog-diff-function): Add `verilog-diff-auto' and bind to
18308 "C-c?" to report differences in AUTO expansion, ignoring spaces.
18309 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
18310 (verilog-in-paren-quick, verilog-re-search-backward-quick)
18311 (verilog-re-search-forward-quick, verilog-syntax-ppss):
18312 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
18313 is disabled and its cache will get corrupt, causing AUTOS not to
18314 expand. Instead use only -quick functions.
18315 (verilog-scan-region): Fix scanning over escaped quotes.
18316 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
18317 (verilog-re-search-backward-quick)
18318 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
18319 related functions now ignore strings, to fix misparsing of strings
18320 with magic comments embedded in them.
18321 (verilog-read-auto-template):
18322 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
18323 Reported by Brad Dobbie.
18324 (verilog-read-auto-template):
18325 Fix 'verilog-auto-inst-template-numbers' with comments.
18326 Reported by Brad Dobbie.
18327 (verilog-auto-inst, verilog-auto-inst-param)
18328 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
18329 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
18330 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
18331 debugging templates without merge conflicts, bug357.
18332 Reported by Brad Dobbie.
18333 (verilog-read-auto-template):
18334 Fix verilog-auto-inst-template-numbers with multiple templates.
18335 Reported by Brad Dobbie.
18336 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
18337 abbrevs so user won't be asked to save.
18338 (verilog-read-auto-lisp-present): Fix to start at beginning of
18339 buffer in case called outside of verilog-auto.
18340 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
18341 to "X-2". Reported by Matthew Myers.
18342 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
18343 all inputs from module templates. Reported by Leith Johnson.
18344 (verilog-module-inside-filename-p): Fix locating programs as with
18346 (verilog-auto-inst-port): Fix vl-width expressions when using
18347 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
18348 (verilog-decls-get-regs, verilog-decls-get-signals,
18349 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
18350 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
18351 verilog-read-decls): Combine reg and wire structures into one var
18352 structure to represent SystemVerilog concepts.
18353 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
18354 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
18355 (verilog-auto-wire-type, verilog-insert-definition):
18356 Add verilog-auto-wire-type and AUTOLOGIC to support using
18357 SystemVerilog "logic" keyword instead of "wire"/"reg".
18358 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
18359 to declares outputs that also have assignments (presumably in an
18360 ifdef or generate if so there's not a driver conflict).
18361 Reported by Matthew Myers.
18362 (verilog-auto-declare-nettype, verilog-insert-definition):
18363 Add verilog-auto-declare-nettype to fix declarations using
18364 `default_nettype none. Reported by Julian Gorfajn.
18365 (verilog-read-always-signals-recurse, verilog-read-decls)
18366 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
18367 malformed end statement, bug325. Reported by Joshua Wise and
18369 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
18370 (verilog-inst-comment-re): Fix not deleting Interfaced comment
18371 when expanding .* in interfaces, bug320.
18372 Reported by Pierre-David Pfister.
18373 (verilog-read-module-name): Fix import statements between module
18374 name and open parenthesis, bug317.
18375 Reported by Pierre-David Pfister.
18376 (verilog-simplify-range-expression): Fix simplification of
18377 multiplications inside AUTOWIRE connections, bug303.
18378 (verilog-auto-inst-port): Support parameter expansion in
18379 multidimensional arrays.
18380 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
18381 after "assert property". Reported by Julian Gorfajn.
18382 (verilog-simplify-range-expression): Fix "couldn't merge" errors
18383 with multiplication, bug303.
18384 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
18385 Reported by Jan Frode Lonnum.
18387 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
18389 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
18390 (hfy-shell-file-name, hfy-shell):
18391 * international/fontset.el (x-decompose-font-name): Fix typos.
18393 2011-11-29 Ken Brown <kbrown@cornell.edu>
18395 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
18396 (gdb-version): Remove defvar.
18397 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
18398 (gdb-gud-context-command, gdb-non-stop-handler)
18399 (gdb-current-context-command, gdb-stopped): Use it.
18400 (gdb-init-1): Enable pretty printing here.
18401 (gdb-non-stop-handler): Don't enable pretty-printing here.
18402 Check to see if the target supports non-stop mode; if not, turn off
18403 non-stop mode. Use the following.
18404 (gdb-check-target-async): New defun.
18405 (gud-watch, gdb-stopped): Fix whitespace.
18406 (gdb-get-source-file): Don't try to display the source file if
18407 `gdb-main-file' is nil.
18409 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18411 * align.el: Try to generate fewer markers (bug#10047).
18412 (align--set-marker): New macro.
18413 (align-region): Use it.
18415 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18417 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
18419 2011-11-29 Chong Yidong <cyd@gnu.org>
18421 * indent.el (indent-for-tab-command, indent-according-to-mode):
18423 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
18425 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
18427 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
18428 aware of remote file names. (Bug#10124)
18430 2011-11-29 Chong Yidong <cyd@gnu.org>
18432 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
18434 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
18436 * files.el (find-file): Don't use force-same-window (bug#10144).
18437 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
18438 use pop-to-buffer if the selected window can't be used.
18439 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
18441 2011-11-28 Eli Zaretskii <eliz@gnu.org>
18443 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
18446 2011-11-28 Chong Yidong <cyd@gnu.org>
18448 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
18450 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
18452 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
18453 gdb-get-source-file-list on gdb-create-source-file-list.
18455 2011-11-26 Eli Zaretskii <eliz@gnu.org>
18457 * whitespace.el (whitespace-newline): Use a different foreground
18458 color for 16-color light-background displays.
18460 2011-11-24 Chong Yidong <cyd@gnu.org>
18462 * window.el (display-buffer--special-action): Doc fix.
18464 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
18466 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
18467 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
18468 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
18469 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
18470 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
18471 (avl-tree-stack-first):
18472 * emacs-lisp/cconv.el (cconv--analyse-use):
18473 * net/gnutls.el (gnutls-negotiate): Fix typos.
18475 2011-11-24 Glenn Morris <rgm@gnu.org>
18477 * lpr.el (lpr-windows-system, lpr-lp-system):
18478 * mail/binhex.el (binhex-begin-line):
18479 * progmodes/grep.el (grep-history, grep-find-history):
18480 * textmodes/flyspell.el:
18481 * vc/pcvs-defs.el (cvs-global-menu):
18482 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
18483 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
18484 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
18486 * net/tls.el: Fix case of "GnuTLS".
18488 * paths.el (rmail-file-name): Format doc-string for make-docfile.
18490 * version.el (emacs-build-system): Give it a doc-string.
18492 2011-11-24 Juri Linkov <juri@jurta.org>
18494 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
18496 2011-11-24 Glenn Morris <rgm@gnu.org>
18498 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
18499 if called on a non-mime message just toggle the headers. (Bug#8006)
18501 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
18503 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
18504 (allout-lead-with-comment-string, allout-structure-deleted-hook)
18505 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
18506 (allout-rebullet-heading, allout-open-sibtopic)
18507 (allout-toggle-current-subtree-encryption)
18508 (allout-toggle-subtree-encryption, allout-encrypt-string)
18509 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
18510 (allout-distinctive-bullets-string, allout-auto-activation):
18511 * window.el (window-normalize-buffer-to-display):
18512 * progmodes/verilog-mode.el (verilog-batch-indent):
18513 * textmodes/bibtex.el (bibtex-field-braces-opt)
18514 (bibtex-field-strings-opt):
18515 * vc/cvs-status.el (cvs-tree-merge):
18518 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
18520 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
18521 `non-essential' to t, in order to avoid remote connections.
18523 2011-11-23 Eli Zaretskii <eliz@gnu.org>
18525 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18526 On MS-DOS and MS-Windows, compare with loaddefs.el
18527 case-insensitively.
18529 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18531 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
18533 2011-11-23 Glenn Morris <rgm@gnu.org>
18535 * paths.el (rmail-file-name): Reformat the doc-string so that it
18538 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
18539 (rmail-auto-file): Ignore case in the "special" field names,
18540 as mail-fetch-field does for all others.
18542 * mail/rmail.el (rmail-forward):
18543 * mail/rmailkwd.el (rmail-set-label):
18544 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
18545 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
18547 * mail/rmail.el (rmail-current-message): Doc fix.
18549 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
18551 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
18553 * server.el (server-eval-and-print): Allow C-g (bug#6585).
18555 2011-11-22 Glenn Morris <rgm@gnu.org>
18557 * mail/rmailmm.el (test-rmail-mime-handler)
18558 (test-rmail-mime-bulk-handler)
18559 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
18561 2011-11-21 Juri Linkov <juri@jurta.org>
18563 * calc/calc.el (calc-read-key-sequence):
18564 Let-bind `input-method-function' to nil. (Bug#10018)
18566 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18568 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
18569 Tell the caller that the next line needs recomputation, even
18570 though it doesn't start a sexp (bug#10094).
18572 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
18574 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
18576 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18578 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18579 Use force-same-window.
18581 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18583 * descr-text.el (describe-char-unicode-data):
18584 * json.el (json-string-escape):
18585 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
18586 (Footnote-unicode, Footnote-style-p):
18587 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
18589 2011-11-20 Chong Yidong <cyd@gnu.org>
18591 * window.el (replace-buffer-in-windows): Restore interactive spec.
18593 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18595 * electric.el (electric-indent-mode): Fix last change (too optimistic).
18597 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
18598 (byte-compile-global-not-obsolete-vars): New var.
18599 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
18601 (byte-compile-warn-obsolete): Align text with the one in *Help*.
18603 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18605 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
18606 * progmodes/pascal.el (electric-pascal-equal):
18607 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
18608 * xml.el (xml-substitute-special): Fix typos.
18610 2011-11-20 Glenn Morris <rgm@gnu.org>
18612 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
18613 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
18615 (rmail-decode-mime-charset): Mark as obsolete.
18617 * mail/rmailsum.el (rmail-message-regexp-p-1):
18618 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
18619 Before using mime functions, check they are set. (Bug#10077)
18621 2011-11-19 Juri Linkov <juri@jurta.org>
18623 * info.el (Info-finder-find-node): Use `package--builtins' instead
18624 of `package-alist'. Use node names formed by the pattern "Keyword "
18625 and the keyword name.
18627 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18629 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
18631 2011-11-19 Juri Linkov <juri@jurta.org>
18633 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
18634 that calls `revert-buffer' on all Info buffers. (Bug#9915)
18635 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
18636 `old-history', `old-history-forward'. Add let-binding
18637 `window-selected'. Remove calls to `kill-buffer',
18638 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
18639 before calling `Info-find-node', so `Info-find-node-2' will reread
18640 the Info file. Restore window positions only when `window-selected'
18643 2011-11-19 Juri Linkov <juri@jurta.org>
18645 * isearch.el (isearch-lazy-highlight-new-loop):
18646 Remove condition `(not isearch-error)'. (Bug#9918)
18648 * misearch.el (multi-isearch-search-fun): Add condition
18649 `(not bound)' to ignore lazy-highlighting search.
18650 Add the search-failed message "end of multi" when the end of
18651 multi-sequence is reached. Uncapitalize the search-failed
18652 message "Repeat for next buffer".
18654 * info.el (Info-search): Add the search-failed message
18655 "end of the manual" when the end of the manual is reached
18658 2011-11-19 Juri Linkov <juri@jurta.org>
18660 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
18661 Use non-destructive `remove' instead of `delete' because
18662 `Info-history-list' stored to `Info-isearch-initial-history-list' in
18663 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
18665 2011-11-19 Juri Linkov <juri@jurta.org>
18667 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
18668 to nil instead of binding `search-ring' and `regexp-search-ring'.
18671 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18673 * simple.el (line-move): Force movement by logical lines for any
18674 hscrolled window, not only when auto-hscroll-mode is on.
18675 (line-move-visual): Update doc string to that effect. (Bug#10076)
18677 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18679 * language/european.el (macintosh): Define as alias for mac-roman.
18681 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18683 * mail/rmailmm.el (rmail-mime-display-header)
18684 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
18685 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
18686 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
18687 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
18688 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
18690 (rmail-mime-entity-segment): To get past the tagline, move forward
18691 2 more lines, to account for the 2 empty lines that precede and
18692 follow the line with the buttons.
18693 (rmail-mime-update-tagline): Move one more line, to get past the
18694 empty line that follows the buttons in the tagline. (Bug#9520)
18696 2011-11-19 Martin Rudalics <rudalics@gmx.at>
18698 * window.el (window-max-delta-1, window-min-delta-1)
18699 (window-min-size-1, window-state-get-1, window-state-put-1)
18700 (window-state-put-2): Use "window--" prefix.
18702 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
18704 * emacs-lisp/smie.el: Improve warnings and conflict detection.
18705 (smie-warning-count): New var.
18706 (smie-set-prec2tab): Use it.
18707 (smie-bnf->prec2): Improve warnings. Add docstring.
18708 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
18709 (smie-bnf--set-class): New function.
18710 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
18713 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
18714 (compilation-error-properties, compilation-move-to-column):
18715 Handle compilation-first-column while in the target buffer.
18717 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
18718 Don't hardcode point-min==1.
18720 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
18721 (eshell-rewrite-for-command): Remove workaround.
18722 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
18723 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
18724 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
18726 * files-x.el (modify-file-local-variable): Obey commenting conventions.
18728 2011-11-17 Glenn Morris <rgm@gnu.org>
18730 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18731 Ignore buffer-local generated-autoload-file if it is the same
18732 as the global value. (Bug#10049)
18734 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
18736 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
18737 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
18738 (reftex-toc-previous-heading, reftex-toc-max-level)
18739 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
18740 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
18741 (reftex-toc-do-promote, reftex-toc-promote-prepare)
18742 (reftex-toc-promote-action, reftex-toc-extract-section-number)
18743 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
18744 (reftex-toc-rename-label, reftex-toc-visit-location)
18745 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
18746 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
18747 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
18748 leaving "*toc*" only for references to the buffer.
18750 2011-11-17 Martin Rudalics <rudalics@gmx.at>
18752 * window.el (window-resize, delete-window, split-window):
18753 Replace window-splits by window-combination-resize.
18754 * cus-start.el (window-splits): Replace by window-combination-resize.
18756 2011-11-17 Glenn Morris <rgm@gnu.org>
18758 * progmodes/sh-script.el (sh-font-lock-keywords-var):
18759 Make bash entry derive from sh entry, not shell entry.
18761 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
18763 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
18766 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18768 * menu-bar.el (menu-bar-file-menu):
18769 * printing.el (pr-ps-utility):
18770 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
18771 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
18772 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
18773 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
18774 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
18775 (icalendar--convert-cyclic-to-ical)
18776 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
18777 (icalendar--convert-ical-to-diary)
18778 (icalendar--convert-recurring-to-diary)
18779 (icalendar--convert-non-recurring-all-day-to-diary)
18780 (icalendar-import-format-sample):
18781 * progmodes/idlw-shell.el (idlwave-shell-mode):
18782 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
18783 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
18784 (vhdl-ps-print-init): Fix typos.
18786 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
18788 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
18789 FSF and collapse date sequence, obscure author/maintainer email address
18790 better, remove extra version line, track relocation of author's webpage.
18792 * progmodes/python.el (python-pdbtrack-input-prompt)
18793 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
18794 regular python pdb prompts. Adjustments shamelessly taken exactly as
18795 suggested in EmacsWiki page (tiny change):
18796 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
18798 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18800 * expand.el (expand-pos, expand-index, expand-point):
18801 Remove redundant info from docstring.
18802 (expand-add-abbrevs): Doc fix.
18803 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
18804 (expand-sample-perl-mode-expand-list): Fix typos.
18806 * net/dbus.el (dbus-event-member-name):
18807 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
18808 * term/pc-win.el (msdos-create-frame-with-faces):
18809 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
18811 2011-11-16 Martin Rudalics <rudalics@gmx.at>
18813 * window.el (split-window, window-state-get-1)
18814 (window-state-put-1, window-state-put-2): Rename occurrences of
18815 window-nest to window-combination-limit.
18816 * cus-start.el (window-nest): Rename to window-combination-limit.
18818 2011-11-16 Chong Yidong <cyd@gnu.org>
18820 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
18821 regexp (Bug#10033).
18823 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
18825 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
18826 `completing-read' will remove *Completions* and will preserve
18827 current-buffer for us.
18828 (tmm-add-prompt): Users of *Completions* will always (re)set its
18830 (tmm-old-comp-map): Remove.
18832 2011-11-16 Glenn Morris <rgm@gnu.org>
18834 * mail/rmailedit.el: Require rmailmm when compiling.
18835 (rmail-old-mime-state): New declaration.
18836 (rmail-edit-current-message): If editing a mime message,
18837 edit the "raw" message from the mbox buffer.
18838 (rmail-cease-edit): Handle mime messages. (Bug#9840)
18840 2011-11-15 Glenn Morris <rgm@gnu.org>
18842 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
18843 which wasn't being used. Add optional arg to force given state.
18844 (rmail-mime): Add optional arg to force given state.
18846 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
18848 * allout.el (allout-encryption-plaintext-sanitization-regexps):
18849 * frame.el (display-mm-dimensions-alist):
18850 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
18851 (outline-move-subtree-down):
18852 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
18853 (newsticker--treeview-do-get-node):
18854 * net/quickurl.el (quickurl-list-buffer-name):
18855 * progmodes/dcl-mode.el (dcl-mode):
18856 * progmodes/gdb-mi.el (gdb-mapcar*):
18857 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
18859 2011-11-15 Glenn Morris <rgm@gnu.org>
18861 * mail/rmail.el (rmail-file-coding-system): It's only ever used
18862 in a boolean sense, so just make it a boolean, and fix the doc.
18863 (rmail-show-mime-function, rmail-mime-feature)
18864 (rmail-require-mime-maybe): Doc fixes.
18865 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
18867 * mail/rmailmm.el (rmail-show-mime): Doc fix.
18869 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
18871 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
18872 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
18873 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
18874 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
18876 2011-11-15 Glenn Morris <rgm@gnu.org>
18878 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
18879 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
18880 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
18881 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
18882 (rmail-mime, rmail-show-mime): Doc fixes.
18884 * term/ns-win.el (mode-line-frame-identification):
18885 Leave it alone. (Bug#10051)
18887 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
18889 * mail/rmailout.el (rmail-output-to-rmail-buffer):
18890 Handle empty buffers. (Bug#9978)
18892 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
18894 * international/mule.el (define-charset):
18895 * mail/rmailmm.el (rmail-mime-find-header-encoding):
18896 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
18897 * progmodes/verilog-mode.el (verilog-backward-token):
18898 * textmodes/ispell.el (lookup-words):
18899 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
18901 2011-11-14 Glenn Morris <rgm@gnu.org>
18903 * progmodes/executable.el
18904 (executable-make-buffer-file-executable-if-script-p):
18905 Handle file-modes returning nil.
18907 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
18908 message - not necessary, and causes problems. (Bug#9831)
18910 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
18912 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
18914 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
18915 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
18916 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
18918 2011-11-12 Martin Rudalics <rudalics@gmx.at>
18920 * window.el (window-resize, delete-window): Use window-splits
18921 variable instead of function.
18922 (window-state-get-1, window-state-put-2, window-state-put):
18923 Don't deal with windows' splits status.
18925 2011-11-12 Glenn Morris <rgm@gnu.org>
18927 * apropos.el (apropos-do-all, apropos-library, apropos-value)
18928 (apropos-documentation): Doc fixes.
18930 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
18932 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
18933 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
18935 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
18937 * electric.el (electric-indent-post-self-insert-function): Make it
18938 possible for a char to only indent in some circumstances.
18939 (electric-indent-mode): Simplify.
18941 2011-11-11 Martin Rudalics <rudalics@gmx.at>
18943 * window.el (windows-with-parameter): Remove unused function.
18944 (windows-at-side): Rename to window-at-side-list.
18945 (window-check, window-atom-check, window-atom-check-1)
18946 (window-side-check, window-size-ignore, window-size-fixed-1)
18947 (window-in-direction-2): Prefix with "window--".
18948 (window-tree-1): Rename to window--subtree, fix doc-string.
18950 2011-11-11 Glenn Morris <rgm@gnu.org>
18952 * subr.el (eval-after-load): If FILE is already loaded,
18953 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
18955 2011-11-10 Glenn Morris <rgm@gnu.org>
18957 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
18958 Call svn via vc-svn-command rather than vc-do-command.
18959 (vc-svn-command): Add --non-interactive. (Bug#9993)
18960 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
18962 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18963 Add toggle-read-only. (Bug#7292)
18964 * files.el (toggle-read-only): Mention that it should only
18965 be used interactively. (Bug#10006)
18967 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
18969 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18970 Adjust regexp for OCaml warnings.
18972 * electric.el (electric-pair-post-self-insert-function): Let user
18973 turn it off buffer-locally (bug#9932).
18975 * progmodes/python.el (python-beginning-of-statement):
18976 Rewrite (bug#2703).
18978 * progmodes/compile.el: Better handle TABs (bug#9749).
18979 (compilation-internal-error-properties)
18980 (compilation-next-error-function): Obey the target buffer's
18981 compilation-error-screen-columns.
18983 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
18985 * progmodes/meta-mode.el: Remove obsolete comments.
18986 (meta-right-comment-regexp, meta-ignore-comment-regexp):
18987 Fix typos in docstrings.
18989 2011-11-09 Martin Rudalics <rudalics@gmx.at>
18991 * window.el (window-size-fixed-p): Rewrite doc-string.
18992 (window-resizable-p): Rename to window--resizable-p. Update callers.
18993 (window--resizable): New function. Make all callers of
18994 window-resizable call window--resizable instead.
18995 (window-resizable): Rewrite in terms of window--resizable.
18997 2011-11-08 Glenn Morris <rgm@gnu.org>
18999 * progmodes/delphi.el (delphi-mode-syntax-table):
19000 Let define-derived-mode define a proper syntax table. (Bug#9994)
19002 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19004 * window.el: Stay away from defsubst.
19005 (window-list-no-nils): Remove.
19006 (window-state-get-1, window-state-get): Use backquote instead.
19008 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19010 * emacs-lisp/find-func.el (find-function-read):
19011 Fix incorrect use of default argument in `completing-read'.
19013 2011-11-08 Martin Rudalics <rudalics@gmx.at>
19015 * window.el (display-buffer-function, special-display-function):
19016 Mention display-buffer-record-window but do not mention
19017 help-setup parameter in doc-strings.
19018 (window-min-delta): Fix doc-string typo.
19020 2011-11-08 Chong Yidong <cyd@gnu.org>
19022 * window.el (window-total-height, window-total-width): Doc fix.
19023 (window-body-size): Move from C.
19024 (window-body-height, window-body-width): Move to C.
19026 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19028 * window.el: Make special-display like display-buffer-alist (bug#9532).
19029 (display-buffer--special-action): New function, morphed
19030 from display-buffer--special.
19031 (display-buffer): Use it to handle special-display-buffers at higher
19032 priority (just after display-buffer-alist).
19033 (display-buffer-fallback-action, display-buffer--other-frame-action)
19034 (pop-to-buffer-same-window): Remove display-buffer--special.
19036 2011-11-07 Glenn Morris <rgm@gnu.org>
19038 * calendar/cal-menu.el (cal-menu-set-date-title):
19039 Do nothing if not in a calendar. (Bug#9976)
19041 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
19043 * files.el (find-file): Always use selected-window.
19045 2011-11-07 Martin Rudalics <rudalics@gmx.at>
19047 * window.el (window-combinations): Make WINDOW argument
19048 mandatory. Rewrite doc-string.
19049 (walk-window-subtree, window-atom-check, window-min-delta)
19050 (window-max-delta, window--resize-this-window)
19051 (window--resize-root-window-vertically, window-tree)
19052 (balance-windows, window-state-put): Rewrite doc-strings as to
19053 not mention the term "subwindow".
19054 (window--resize-subwindows-skip-p): Rename to
19055 window--resize-child-windows-skip-p.
19056 (window--resize-subwindows-normal): Rename to
19057 window--resize-child-windows-normal.
19058 (window--resize-subwindows): Rename to
19059 window--resize-child-windows.
19060 (window-or-subwindow-p): Rename to window--in-subtree-p.
19062 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19064 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
19065 Ensure that mbox format messages end in two newlines (Bug#9974).
19067 2011-11-06 Chong Yidong <cyd@gnu.org>
19069 * window.el (window-combination-p): Function deleted; its
19070 side-effect is not used in any existing code.
19071 (window-combinations, window-combined-p): Call window-*-child
19074 2011-11-05 Chong Yidong <cyd@gnu.org>
19076 * window.el (window-valid-p): Rename from window-any-p.
19077 (window-size-ignore, window-state-get): Callers changed.
19078 (window-normalize-window): Rename from window-normalize-any-window.
19079 New arg LIVE-ONLY, replacing window-normalize-live-window.
19080 (window-normalize-live-window): Delete.
19081 (window-combination-p, window-combined-p, window-combinations)
19082 (walk-window-subtree, window-atom-root, window-min-size)
19083 (window-sizable, window-sizable-p, window-size-fixed-p)
19084 (window-min-delta, window-max-delta, window-resizable)
19085 (window-resizable-p, window-full-height-p, window-full-width-p)
19086 (window-current-scroll-bars, window-point-1, set-window-point-1)
19087 (window-at-side-p, window-in-direction, window-resize)
19088 (adjust-window-trailing-edge, maximize-window, minimize-window)
19089 (window-deletable-p, delete-window, delete-other-windows)
19090 (record-window-buffer, unrecord-window-buffer)
19091 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
19092 (quit-window, split-window, window-state-put)
19093 (set-window-text-height, fit-window-to-buffer)
19094 (shrink-window-if-larger-than-buffer): Callers changed.
19096 2011-11-04 Eli Zaretskii <eliz@gnu.org>
19098 * mail/rmail.el (rmail-simplified-subject): Decode subject with
19099 rfc2047-decode-string.
19100 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
19103 * window.el (window-body-height, window-body-width): Mention in
19104 the doc string that the return values are in frame's canonical
19107 2011-11-03 Alan Mackenzie <acm@muc.de>
19109 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
19110 change in cc-engine.el.
19112 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
19114 * window.el (switch-to-buffer): Use `force-same-window' interactively.
19116 2011-11-02 Martin Rudalics <rudalics@gmx.at>
19118 * window.el (quit-window): Call unrecord-window-buffer after
19119 showing another buffer in the window. (Bug#9937)
19120 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
19122 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
19124 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
19125 Accept status with more than 9 shelves. (Bug#9935)
19126 Reported by Colin D Bennett <colin@gibibit.com>.
19128 2011-11-01 Martin Rudalics <rudalics@gmx.at>
19130 * help.el (with-help-window): Don't reference
19131 temp-buffer-show-specifiers in doc-string.
19133 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
19135 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
19138 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19140 * whitespace.el: New version 13.2.2.
19141 (whitespace-newline-mode): Disable properly. Reported by Sarah
19144 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
19146 * net/newst-treeview.el: Remove "Time-stamp".
19147 (newsticker--group-manage-orphan-feeds): Do not call
19148 newsticker--treeview-tree-update.
19149 (newsticker-treeview-update, newsticker-treeview):
19150 Call newsticker--treeview-tree-update if necessary.
19152 2011-10-30 Martin Rudalics <rudalics@gmx.at>
19154 * window.el (window-iso-combination-p, window-iso-combined-p)
19155 (window-iso-combinations): Remove "iso-" infix.
19156 Suggested by Chong Yidong.
19157 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
19158 (window-max-delta-1, window-resize, window--resize-siblings)
19159 (window--resize-this-window, adjust-window-trailing-edge)
19160 (split-window, balance-windows-1)
19161 (shrink-window-if-larger-than-buffer):
19162 * calendar/calendar.el (calendar-generate-window):
19163 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
19165 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
19167 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
19168 in place (bug#9907).
19169 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
19170 (eshell-rewrite-if-command, eshell-rewrite-for-command)
19171 (eshell-structure-basic-command, eshell-rewrite-while-command)
19172 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
19173 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
19174 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
19175 (eshell-do-pipelines-synchronously, eshell-eval-command):
19176 Use backquotes and prefer setq to set.
19177 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
19178 (eshell-macrop): Use functionp.
19179 (eshell-do-eval): Handle multiple expressions in `while' body.
19181 2011-10-30 Chong Yidong <cyd@gnu.org>
19183 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
19184 instead of set-mark (Bug#9810).
19186 2011-10-30 Chong Yidong <cyd@gnu.org>
19188 * window.el (split-window-below, split-window-right): Rename from
19189 split-window-above-each-other and split-window-side-by-side
19190 respectively. All callers changed.
19191 (split-window-sensibly, split-window-sensibly): Use them.
19192 (split-window-keep-point): Doc fix.
19194 * isearch.el: Add isearch-scroll property to split-window-below
19195 and split-window-right.
19197 * follow.el (follow-mode):
19198 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19199 * progmodes/ada-xref.el (ada-gdb-application):
19200 * emulation/vip.el (vip-buffer-in-two-windows):
19201 * image-dired.el (image-dired-dired-with-window-configuration):
19202 * dired-x.el (dired-do-find-marked-files):
19203 * dired.el (dired-pop-to-buffer):
19204 * bs.el (bs--show-with-configuration):
19205 * vc/emerge.el (emerge-setup-windows):
19206 * textmodes/two-column.el (2C-two-columns):
19207 * textmodes/reftex-toc.el (reftex-toc):
19208 * progmodes/gdb-mi.el (gdb-setup-windows):
19209 * progmodes/fortran.el (fortran-window-create):
19210 * net/newst-treeview.el (newsticker--treeview-window-init):
19211 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
19212 * emulation/tpu-edt.el (tpu-gold-map):
19213 * emulation/crisp.el (crisp-mode-map):
19214 * calendar/calendar.el (calendar-basic-setup): Callers changed.
19216 2011-10-29 Chong Yidong <cyd@gnu.org>
19218 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
19220 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
19222 * textmodes/flyspell.el (flyspell-word): Fix char offset for
19223 forged Ispell output (Bug#7904).
19225 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
19227 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19229 * doc-view.el: Avoid ugly errors about not finding nil.
19230 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
19231 (doc-view-dvipdf-program, doc-view-unoconv-program)
19232 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
19233 Avoid nil or absolute file name as default value.
19234 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
19236 2011-10-28 Alan Mackenzie <acm@muc.de>
19238 * progmodes/cc-defs.el (c-version): -> 5.32.2.
19240 2011-10-28 Alan Mackenzie <acm@muc.de>
19242 Amend the handling of c-beginning/end-of-defun in nested declaration
19245 * progmodes/cc-vars.el (c-defun-tactic): Move here from
19246 cc-langs.el. Change it to a defcustom.
19248 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
19251 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19252 Prevent "class foo : bar" being spuriously recognized as a label.
19254 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
19255 Add parameter `inclusive' (to include enclosing braces in the region).
19256 (c-widen-to-enclosing-decl-scope): New function.
19257 (c-while-widening-to-decl-block): New macro.
19258 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
19259 outward for defun boundaries, and correspondingly change symbol
19260 `respect-enclosure' to `go-outward'.
19261 (c-declaration-limits): Change algorithm to report only the "innermost"
19262 defun's boundaries.
19264 2011-10-28 Deniz Dogan <deniz@dogan.se>
19266 * net/rcirc.el (rcirc-mode): Use hard newlines.
19268 2011-10-28 Alan Mackenzie <acm@muc.de>
19270 Amend to indent and fontify macros "which include their own semicolon"
19271 correctly, using the "virtual semicolon" mechanism.
19273 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
19275 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
19276 Recode to scan one line at a time rather than having \n and \r
19277 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
19278 (c-forward-label): Amend for virtual semicolons.
19279 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
19281 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
19282 of the new C macros.
19284 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
19285 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
19286 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
19287 (c-opt-cpp-macro-define): Make into a full language variable.
19288 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
19289 AWK Mode (including \n, \r) removed, no longer needed.
19291 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
19292 Invoke c-make-macro-with-semi-re.
19294 * progmodes/cc-vars.el (c-macro-with-semi-re):
19295 (c-macro-names-with-semicolon): New variables.
19296 (c-make-macro-with-semi-re): New function.
19298 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19300 * vc/log-edit.el: Fill empty field rather than adding new one.
19301 (log-edit-add-field): New function.
19302 (log-edit-insert-changelog): Use it.
19304 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19306 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
19308 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19310 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
19311 (gdb--check-interpreter): New function.
19314 2011-10-27 Glenn Morris <rgm@gnu.org>
19316 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
19317 (least-positive-float, least-negative-float)
19318 (least-positive-normalized-float, least-negative-normalized-float)
19319 (float-epsilon, float-negative-epsilon):
19320 Remove unnecessary declarations.
19322 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
19323 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
19324 (least-positive-float, least-negative-float)
19325 (least-positive-normalized-float, least-negative-normalized-float)
19326 (float-epsilon, float-negative-epsilon): Add doc-strings,
19327 based on those in cl.texi.
19329 * files.el (set-visited-file-name): If the major-mode changed,
19330 reload the local variables. (Bug#9796)
19332 2011-10-27 Chong Yidong <cyd@gnu.org>
19334 * subr.el (change-major-mode-after-body-hook): New hook.
19335 (run-mode-hooks): Run it.
19337 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19338 Use change-major-mode-before-body-hook.
19340 * simple.el (fundamental-mode):
19341 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
19342 change introducing fundamental-mode-hook.
19344 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
19346 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
19348 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
19350 * ido.el (ido-file-name-all-completions-1): Do not require
19351 tramp.el explicitly. (Bug#7583)
19353 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
19355 * progmodes/octave-mod.el:
19356 * progmodes/octave-inf.el: Update maintainer.
19358 2011-10-26 Chong Yidong <cyd@gnu.org>
19360 * subr.el (with-wrapper-hook): Rewrite doc.
19362 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
19364 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
19365 filenames "/method:foo:". (Bug#9793)
19367 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
19369 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
19372 2011-10-24 Glenn Morris <rgm@gnu.org>
19374 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
19376 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
19378 * notifications.el: Add the requirement of a running D-Bus session
19379 bus to the Commentary.
19381 2011-10-24 Juri Linkov <juri@jurta.org>
19383 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19384 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
19387 2011-10-24 Juri Linkov <juri@jurta.org>
19389 * info.el (Info-following-node-name-re): Add newline to the list
19390 of allowed characters for leading space. (Bug#9824)
19392 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
19394 * progmodes/octave-inf.el (inferior-octave-mode-map):
19395 Fix C-c C-h binding.
19396 * progmodes/octave-mod.el (octave-help): Remove.
19398 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
19400 Sync with Tramp 2.2.3.
19402 * net/tramp-cache.el (top): Pacify byte-compiler using
19403 `init-file-user' and `site-run-file'.
19405 * net/trampver.el: Update release number.
19407 2011-10-23 Chong Yidong <cyd@gnu.org>
19409 * files.el (toggle-read-only): Remove obsolete comment about
19412 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
19413 for toggle-read-only. Note that this hasn't called vc-next-action
19414 since 2008-05-02, though it wasn't documented at the time.
19416 * vc/ediff-init.el (ediff-toggle-read-only-function):
19417 Use toggle-read-only.
19419 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
19421 Fix bug #9560, sporadic wrong indentation; improve instrumentation
19424 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
19425 correct faulty logical expression.
19426 (c-parse-state-state, c-record-parse-state-state):
19427 (c-replay-parse-state-state): New defvar/defuns.
19428 (c-debug-parse-state): Use new functions.
19430 2011-10-22 Martin Rudalics <rudalics@gmx.at>
19432 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
19433 last fix. Use window-in-direction correctly.
19435 2011-10-21 Chong Yidong <cyd@gnu.org>
19437 * progmodes/idlwave.el (idlwave-mode):
19438 * progmodes/vera-mode.el (vera-mode): No need to set
19439 require-final-newline; that's done in prog-mode.
19440 Suggested by Stefan Monnier.
19442 2011-10-21 Martin Rudalics <rudalics@gmx.at>
19444 * mouse.el (mouse-drag-window-above)
19445 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
19446 (mouse-drag-mode-line-1, mouse-drag-header-line)
19447 (mouse-drag-vertical-line-rightward-window): Remove.
19448 (mouse-drag-line): New function.
19449 (mouse-drag-mode-line, mouse-drag-header-line)
19450 (mouse-drag-vertical-line): Call mouse-drag-line.
19451 * window.el (window-at-side-p, windows-at-side): New functions.
19453 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
19455 * tar-mode.el (tar-grind-file-mode):
19456 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
19458 2011-10-21 Chong Yidong <cyd@gnu.org>
19460 * progmodes/idlwave.el (idlwave-mode):
19461 * progmodes/vera-mode.el (vera-mode):
19462 Use mode-require-final-newline.
19464 2011-10-20 Glenn Morris <rgm@gnu.org>
19466 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
19468 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
19470 * emulation/cua-base.el (cua-set-mark): Fix case of string.
19472 2011-10-20 Chong Yidong <cyd@gnu.org>
19474 * emulation/cua-base.el (cua-mode):
19475 * mail/footnote.el (footnote-mode):
19476 * mail/mailabbrev.el (mail-abbrevs-mode):
19477 * net/xesam.el (xesam-minor-mode):
19478 * progmodes/bug-reference.el (bug-reference-mode):
19479 * progmodes/cap-words.el (capitalized-words-mode):
19480 * progmodes/compile.el (compilation-minor-mode)
19481 (compilation-shell-minor-mode):
19482 * progmodes/gud.el (gud-tooltip-mode):
19483 * progmodes/hideif.el (hide-ifdef-mode):
19484 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
19485 * progmodes/subword.el (subword-mode):
19486 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
19487 * progmodes/which-func.el (which-function-mode):
19488 * term/tvi970.el (tvi970-set-keypad-mode):
19489 * term/vt100.el (vt100-wide-mode):
19490 * textmodes/flyspell.el (flyspell-mode):
19491 * textmodes/ispell.el (ispell-minor-mode):
19492 * textmodes/nroff-mode.el (nroff-electric-mode):
19493 * textmodes/paragraphs.el (use-hard-newlines):
19494 * textmodes/refill.el (refill-mode):
19495 * textmodes/reftex.el (reftex-mode):
19496 * textmodes/rst.el (rst-minor-mode):
19497 * textmodes/sgml-mode.el (html-autoview-mode)
19498 (sgml-electric-tag-pair-mode):
19499 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
19500 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
19501 * emulation/crisp.el (crisp-mode):
19502 * emacs-lisp/eldoc.el (eldoc-mode):
19503 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
19504 minor mode behavior.
19506 2011-10-19 Juri Linkov <juri@jurta.org>
19508 * descr-text.el (describe-char): Add #x2010 and #x2011 to
19509 the list of hard-coded chars with escape-glyph face.
19511 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
19513 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
19515 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
19517 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
19520 2011-10-19 Glenn Morris <rgm@gnu.org>
19522 * vc/vc-bzr.el (vc-bzr-after-dir-status):
19523 Ignore ignored files. (Bug#9726)
19525 2011-10-19 Chong Yidong <cyd@gnu.org>
19527 Doc fix for minor modes, stating that an omitted argument enables
19528 the mode unconditionally when called from Lisp.
19530 * abbrev.el (abbrev-mode):
19531 * allout.el (allout-mode):
19532 * autoinsert.el (auto-insert-mode):
19533 * autoarg.el (autoarg-mode, autoarg-kp-mode):
19534 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
19535 (global-auto-revert-mode):
19536 * battery.el (display-battery-mode):
19537 * composite.el (global-auto-composition-mode)
19538 (auto-composition-mode):
19539 * delsel.el (delete-selection-mode):
19540 * desktop.el (desktop-save-mode):
19541 * dired-x.el (dired-omit-mode):
19542 * dirtrack.el (dirtrack-mode):
19543 * doc-view.el (doc-view-minor-mode):
19544 * double.el (double-mode):
19545 * electric.el (electric-indent-mode, electric-pair-mode):
19546 * emacs-lock.el (emacs-lock-mode):
19547 * epa-hook.el (auto-encryption-mode):
19548 * follow.el (follow-mode):
19549 * font-core.el (font-lock-mode):
19550 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
19551 * help.el (temp-buffer-resize-mode):
19552 * hilit-chg.el (highlight-changes-mode)
19553 (highlight-changes-visible-mode):
19554 * hi-lock.el (hi-lock-mode):
19555 * hl-line.el (hl-line-mode, global-hl-line-mode):
19556 * icomplete.el (icomplete-mode):
19557 * ido.el (ido-everywhere):
19558 * image-file.el (auto-image-file-mode):
19559 * image-mode.el (image-minor-mode):
19560 * iswitchb.el (iswitchb-mode):
19561 * jka-cmpr-hook.el (auto-compression-mode):
19562 * linum.el (linum-mode):
19563 * longlines.el (longlines-mode):
19564 * master.el (master-mode):
19565 * mb-depth.el (minibuffer-depth-indicate-mode):
19566 * menu-bar.el (menu-bar-mode):
19567 * minibuf-eldef.el (minibuffer-electric-default-mode):
19568 * mouse-sel.el (mouse-sel-mode):
19569 * msb.el (msb-mode):
19570 * mwheel.el (mouse-wheel-mode):
19571 * outline.el (outline-minor-mode):
19572 * paren.el (show-paren-mode):
19573 * recentf.el (recentf-mode):
19574 * reveal.el (reveal-mode, global-reveal-mode):
19575 * rfn-eshadow.el (file-name-shadow-mode):
19576 * ruler-mode.el (ruler-mode):
19577 * savehist.el (savehist-mode):
19578 * scroll-all.el (scroll-all-mode):
19579 * scroll-bar.el (scroll-bar-mode):
19580 * server.el (server-mode):
19581 * shell.el (shell-dirtrack-mode):
19582 * simple.el (auto-fill-mode, transient-mark-mode)
19583 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
19584 (line-number-mode, column-number-mode, size-indication-mode)
19585 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
19586 * strokes.el (strokes-mode):
19587 * time.el (display-time-mode):
19588 * t-mouse.el (gpm-mouse-mode):
19589 * tool-bar.el (tool-bar-mode):
19590 * tooltip.el (tooltip-mode):
19591 * type-break.el (type-break-mode-line-message-mode)
19592 (type-break-query-mode):
19593 * view.el (view-mode):
19594 * whitespace.el (whitespace-mode, whitespace-newline-mode)
19595 (global-whitespace-mode, global-whitespace-newline-mode):
19596 * xt-mouse.el (xterm-mouse-mode): Doc fix.
19598 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19599 Fix autogenerated docstring.
19601 2011-10-19 Juri Linkov <juri@jurta.org>
19603 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
19604 by checking environment variables "DESKTOP_SESSION" and
19605 "XDG_CURRENT_DESKTOP". (Bug#9779)
19607 2011-10-19 Juri Linkov <juri@jurta.org>
19609 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
19610 (browse-url-chromium-program, browse-url-chromium-arguments):
19612 (browse-url-default-browser): Check for `browse-url-chromium' and
19613 call `browse-url-chromium-program'.
19614 (browse-url-chromium): New command. (Bug#9779)
19616 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
19618 * facemenu.el (list-colors-duplicates): On Windows, detect more
19619 duplicates by assuming that only colors matching "^System" are
19620 special "system colors". (Bug#9722)
19622 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
19624 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
19625 to distinguish the author from the committer.
19627 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
19629 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
19631 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
19633 * international/mule.el (sgml-html-meta-auto-coding-function):
19634 Add support for detecting encoding in HTML5 specified only as
19635 <meta charset="UTF-8">. Implementation just makes http-equiv and
19636 content-type parts from HTML4 encoding string optional. (Bug#9716)
19638 2011-10-18 Glenn Morris <rgm@gnu.org>
19640 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
19642 2011-10-18 Chong Yidong <cyd@gnu.org>
19644 * faces.el (cursor): Doc fix.
19646 2011-10-17 Chong Yidong <cyd@gnu.org>
19648 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
19650 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
19652 * dirtrack.el (dirtrack): Support shell buffers with path
19653 prefixes, e.g. tramp-based remote shells. (Bug#9647)
19655 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
19657 * json.el: Bump version to 1.3 and note change in History.
19658 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
19660 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
19662 * comint.el (comint-insert-input, comint-send-input)
19663 (comint-get-old-input-default, comint-backward-matching-input)
19664 (comint-next-prompt): Use nil instead of `input' for field property of
19665 past user input (bug#114).
19667 * minibuffer.el (completion--replace): Inherit surrounding properties
19669 (minibuffer-complete-and-exit): Use it.
19671 * comint.el (comint--table-subvert): Quote the all-completions output
19674 2011-10-17 Martin Rudalics <rudalics@gmx.at>
19676 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
19678 * menu-bar.el (menu-bar-file-menu): Add entry for making new
19679 window on right of selected. (Bug#9350) Reword other window
19680 entries and separate them from frame entries.
19682 2011-10-15 Glenn Morris <rgm@gnu.org>
19684 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
19687 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
19689 * net/network-stream.el (network-stream-open-starttls):
19690 Improve detection of failure due to lack of TLS support.
19692 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
19693 putting the input text in front and in bold.
19695 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
19697 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
19699 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
19702 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
19703 unread-command-events rather than pushing yet-another event.
19705 2011-10-14 Eli Zaretskii <eliz@gnu.org>
19707 * mail/sendmail.el (sendmail-query-once): Improve the wording of
19708 the explanation of the possible choices. Make the options passed
19709 to completing-read shorter.
19711 2011-10-13 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
19713 * textmodes/flyspell.el (flyspell-large-region): Make sure
19714 extended character mode is used if defined (Bug#1339).
19716 2011-10-13 Eli Zaretskii <eliz@gnu.org>
19718 * simple.el (what-cursor-position): Fix the display of the
19719 character info for LRE, LRO, RLE, and RLO characters by appending
19722 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
19724 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
19725 even in case of error; add debug spec; simplify data flow.
19726 (with-timeout-handler): Remove.
19728 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
19730 Fix Bug#6019, Bug#9315.
19732 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
19733 complete `buffer-file-name', the local file name part could look
19734 remotely (for example on VMS).
19736 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
19737 `tramp-run-real-handler'.
19738 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
19739 already quoted by '"'.
19741 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
19742 Let `file-name-handler-alist' be nil, the local file name part
19743 could look remotely (for example on VMS).
19745 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
19747 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
19749 (flyspell-post-command-hook): ...to here.
19751 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19753 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
19755 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
19756 using completion. Protect against "slow" callers.
19757 Remove the "message hack".
19759 2011-10-11 Juri Linkov <juri@jurta.org>
19761 * isearch.el (isearch-lazy-highlight-word): New variable.
19762 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
19765 2011-10-11 Glenn Morris <rgm@gnu.org>
19767 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
19768 like f90-previous-statement does.
19770 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19772 * eshell/eshell.el (eshell-command): History should be saved
19773 only in interactive use, to avoid error.
19775 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19777 * minibuffer.el (completion-file-name-table): Fix last change,
19778 i.e. ignore normal errors but not the other ones.
19780 2011-10-10 Martin Rudalics <rudalics@gmx.at>
19782 * window.el (special-display-buffer-names)
19783 (special-display-regexps): Remove some remnants of earlier
19784 changes from doc-strings.
19785 (quit-windows-on): New function.
19787 * vc/vc.el (vc-revert, vc-rollback):
19788 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
19789 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
19790 (Bug#6183) (Bug#7074) (Bug#7447)
19792 2011-10-09 Martin Rudalics <rudalics@gmx.at>
19794 * window.el (frame-auto-hide-function): Add version tag.
19797 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
19799 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
19802 2011-10-09 Leo Liu <sdl.web@gmail.com>
19804 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
19807 2011-10-08 Glenn Morris <rgm@gnu.org>
19809 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
19810 before the first code statement zero indent. (Bug#9690)
19812 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
19814 * simple.el (count-words-region): Always count in the region.
19815 Report the number of lines and characters too.
19816 (count-words): New command, which counts in the buffer if the
19817 region is inactive, as count-words-region used to.
19818 (count-words--message): New function. Handle plurals.
19819 (count-lines-region): Make it an alias for count-words-region.
19821 * bindings.el (esc-map): Replace count-lines-region with
19822 count-words-region.
19824 2011-10-08 Martin Rudalics <rudalics@gmx.at>
19826 * window.el (window--delete): Delete dedicated frame
19827 unconditionally when argument KILL is non-nil. (Bug#9699)
19828 (switch-to-buffer): Fix doc-string typo.
19830 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19832 * eshell/eshell.el (eshell-command): Avoid using hooks.
19834 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
19836 * bindings.el ([M-left],[M-right]): Bind to left-word and
19837 right-word respectively.
19839 2011-10-07 Glenn Morris <rgm@gnu.org>
19841 * cus-start.el (debug-on-quit): Fix custom type.
19843 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19845 * subr.el (define-key-after): Clarify that the function is not
19846 useful for non-menu keymaps.
19848 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
19850 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19852 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
19853 in current minibuffer (Fix bug with recursive minibuffers).
19855 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
19857 * progmodes/gdb-mi.el (gdb): Doc fix.
19859 2011-10-05 Martin Rudalics <rudalics@gmx.at>
19861 * window.el (frame-auto-hide-function): New option replacing
19862 frame-auto-delete. Suggested by Stefan Monnier.
19863 (window--delete): Call frame-auto-hide-function instead of
19864 investigating frame-auto-delete.
19865 (window-point-1, set-window-point-1): New functions.
19866 (window-in-direction, record-window-buffer, window-state-get-1)
19867 (display-buffer-record-window): Use window-point-1 instead of
19869 (set-window-buffer-start-and-point): Use set-window-point-1.
19871 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19873 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
19875 2011-10-05 Glenn Morris <rgm@gnu.org>
19877 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
19878 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
19880 2011-10-05 Leo Liu <sdl.web@gmail.com>
19882 * subr.el (read-char-choice): Fix argument to buffer-live-p which
19883 works with buffer object.
19885 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19887 * mpc.el (mpc-tool-bar-map): Add labels.
19889 2011-10-04 Glenn Morris <rgm@gnu.org>
19891 * calendar/holidays.el (calendar-check-holidays): Doc fix.
19893 2011-10-04 Martin Rudalics <rudalics@gmx.at>
19895 * window.el (window--delete): New function.
19896 (frame-auto-delete): Resuscitate option.
19897 (bury-buffer, replace-buffer-in-windows)
19898 (quit-window): Rewrite using window--delete.
19899 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19900 Pass display-buffer-mark-dedicated to window--display-buffer-2
19903 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19905 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
19906 returns a list (bug#9554). Add remote file name completion.
19907 * comint.el (comint--table-subvert): Curry and get quote&unquote
19908 functions as arguments.
19909 (comint--complete-file-name-data): Adjust call accordingly.
19910 * pcomplete.el (pcomplete--table-subvert): Remove.
19911 (pcomplete-completions-at-point): Use comint--table-subvert instead.
19913 * minibuffer.el (completion-table-case-fold): Use currying.
19914 (completion--styles-type, completion--cycling-threshold-type):
19916 (completion-styles, completion-category-overrides)
19917 (completion-cycle-threshold): Use them.
19918 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
19919 completion-table-case-fold.
19921 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
19923 * minibuffer.el (completion-category-overrides): Fix type of styles
19924 and add more user friendly tags (bug#9660).
19926 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19928 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
19929 (mule-input-method-string): New widget.
19930 (default-input-method, language-info-custom-alist): Use it.
19932 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
19934 * pcomplete.el: Require comint.
19935 (pcomplete--common-suffix): Remove.
19936 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
19937 (pcomplete--table-subvert): Sync with comint--table-subvert.
19938 (pcomplete--entries): Use comint-completion-file-name-table.
19939 * comint.el (comint-unquote-filename): Simplify.
19940 (comint-completion-file-name-table): New function (bug#9616).
19941 (comint--complete-file-name-data): Use it.
19943 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
19944 (pcmpl-gnu-tar-buffer): Remove.
19945 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
19946 around. Make sure pcomplete-suffix-list is only changed temporarily.
19947 Don't look inside the tar's file if it's too large.
19949 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
19951 * cus-edit.el (custom-mode-map):
19952 * epa.el (epa-key-list-mode-map):
19953 * man.el (Man-mode-map):
19954 * startup.el (splash-screen-keymap):
19955 * simple.el (special-mode-map): Use scroll-up-command and
19956 scroll-down-command.
19958 * progmodes/idlw-help.el (idlwave-help-mode-map):
19959 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
19960 * net/newst-plainview.el (newsticker-mode-map):
19961 * emulation/ws-mode.el (wordstar-mode-map):
19962 * emulation/vi.el (vi-com-map):
19963 * calc/calc-graph.el (calc-graph-show-dumb):
19964 * term/sun.el (terminal-init-sun):
19965 * term/ns-win.el (global-map):
19966 * progmodes/grep.el (grep-mode-map):
19967 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
19968 * mail/rmail.el (rmail-mode-map):
19969 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
19971 * custom.el (custom-safe-themes, load-theme): Treat value of t for
19972 custom-safe-themes as special.
19974 2011-10-01 Julien Danjou <julien@danjou.info>
19976 * notifications.el (notifications-notify): Fix docstring.
19978 2011-10-01 Per Starbäck <per@starback.se>
19980 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
19982 2011-09-30 Martin Rudalics <rudalics@gmx.at>
19984 * startup.el (command-line-1): Fix last fix by inserting
19985 initial-scratch-message into *scratch* before displaying it.
19986 (Bug#9605) and (Bug#9636)
19988 2011-09-29 Eli Zaretskii <eliz@gnu.org>
19990 * simple.el (line-move): If auto-hscroll-mode is disabled and the
19991 window is hscrolled, move by logical lines. (Bug#9607)
19992 (line-move-visual): Update the doc string to the above effect.
19994 2011-09-29 Martin Rudalics <rudalics@gmx.at>
19996 * window.el (display-buffer-record-window): When WINDOW is the
19997 selected window use `point' instead of `window-point'. (Bug#9626)
19999 * startup.el (command-line-1): Use insert-before-markers when
20000 inserting initial-scratch-message. (Bug#9605)
20002 * help.el (help-window): Remove variable.
20004 2011-09-29 Glenn Morris <rgm@gnu.org>
20006 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
20008 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
20010 * descr-text.el (describe-char-categories): Accept category
20011 descriptions more than one line long.
20013 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
20015 * simple.el (delete-trailing-whitespace): Fix last change.
20017 * progmodes/perl-mode.el (perl-syntax-propertize-function):
20018 Don't confuse "y => 3" as the beginning of a `y' operation.
20020 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
20021 object has more than 4 slots (bug#9613).
20023 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
20025 * subr.el (with-output-to-temp-buffer):
20026 * net/quickurl.el (quickurl, quickurl-browse-url):
20027 Fix typos in docstrings.
20029 2011-09-27 Eli Zaretskii <eliz@gnu.org>
20031 * minibuffer.el (completion-styles)
20032 (completion-category-overrides): Cross reference each other in doc
20035 2011-09-27 Glenn Morris <rgm@gnu.org>
20037 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
20038 to split-string. (Bug#9606)
20040 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20042 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
20045 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
20047 * emacs-lisp/package.el (list-packages): Fix echo area message.
20049 2011-09-27 Leo Liu <sdl.web@gmail.com>
20051 * ido.el (ido-read-internal): Accept cons cell HIST arg.
20053 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
20055 * net/dbus.el (dbus-unregister-object): Don't release services for
20056 registered signals. (Bug#9581)
20058 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
20060 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
20061 function that picks between cfengine 2 and 3 support
20062 automatically. Update docs accordingly.
20064 2011-09-22 Kenichi Handa <handa@m17n.org>
20066 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
20068 (indian-itrans-v5-table-for-tamil): New variable.
20069 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
20071 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
20073 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
20074 that's true if the current command involved collapsing of text.
20075 It's reset to false at the beginning of the next command.
20076 (allout-post-command-business): Move the cursor to the beginning
20077 of entry if the cursor is hidden and collapsing activity just
20080 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
20082 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
20083 tracking (Bug#9541).
20085 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
20087 * net/newst-reader.el (newsticker-html-renderer)
20088 (newsticker-show-news): Automatically load html rendering package
20089 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
20090 because w3m-fill-column is let-bound" and the error "Symbol's value
20091 as variable is void: w3m-fill-column".
20093 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
20095 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
20096 Release services only if they are defined. (Bug#9581)
20098 2011-09-23 Richard Stallman <rms@gnu.org>
20100 * textmodes/paragraphs.el (forward-sentence): For backwards case,
20101 distinguish start of paragraph from start of its text.
20103 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
20105 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
20106 (rmail-generate-viewer-buffer): Put that hook on view buffer.
20107 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
20109 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
20111 * international/mule-diag.el (mule-diag): Insert a newline after
20112 each fontset description.
20114 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20116 * simple.el (delete-trailing-whitespace):
20117 Document last change; simplify.
20119 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
20121 * simple.el (delete-trailing-whitespace): Also delete
20122 extra newlines at the end of the buffer.
20124 * textmodes/picture.el: Make motion commands obey shift-select-mode.
20125 (picture-newline): Use forward-line so as to ignore fields.
20127 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20129 * subr.el (with-wrapper-hook): Fix edebug spec.
20131 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
20133 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
20136 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
20138 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
20139 Fix nasty bug using wrong cached values.
20141 2011-09-23 Alan Mackenzie <acm@muc.de>
20143 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
20145 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
20147 * window.el (pop-to-buffer): Ensure right window is selected if we
20148 chose another frame.
20150 2011-09-22 Eli Zaretskii <eliz@gnu.org>
20152 * simple.el (what-cursor-position): Use get-char-property-change
20153 and next-single-char-property-change, to be able to show display
20154 properties that come from overlays as well as text properties.
20156 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
20158 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
20160 * cmuscheme.el (run-scheme, switch-to-scheme):
20161 * cus-edit.el (customize-group, custom-buffer-create)
20162 (customize-browse):
20164 * shell.el (shell):
20165 * mail/sendmail.el (mail):
20166 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
20168 2011-09-22 Richard Stallman <rms@gnu.org>
20170 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
20171 move back only to line beg, don't move back over blank lines.
20173 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
20175 * files.el (copy-directory): Set directory attributes only in case
20176 they could be retrieved from the source directory. (Bug#9565)
20178 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
20180 * progmodes/hideshow.el (hs-looking-at-block-start-p)
20181 (hs-find-block-beginning, hs-hide-level-recursive):
20182 Ignore strings as well as comments. (Bug#9502)
20184 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
20186 * progmodes/sql.el (sql-comint-postgres):
20187 Convert port number to a string. (Bug#9566)
20189 2011-09-22 Martin Rudalics <rudalics@gmx.at>
20191 * window.el (quit-window): Undedicate window when switching to
20192 previous buffer. Reported by Thierry Volpiatto
20193 <thierry.volpiatto@gmail.com>.
20194 (special-display-popup-frame): When popping up a new frame reset
20195 its previous buffers to nil. Simplify code.
20197 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
20199 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
20200 and process filter, as done also in `shell-command'.
20202 2011-09-21 Martin Rudalics <rudalics@gmx.at>
20204 * window.el (set-window-buffer-start-and-point):
20205 Call set-window-start with NOFORCE argument t.
20206 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20207 (quit-window): Reword doc-string. Handle new format of
20208 quit-restore parameter. Don't delete window if it has a
20209 previous buffer we can show instead of the present one.
20210 (display-buffer-record-window): Rewrite using a new format for
20211 the quit-restore window parameter
20212 (special-display-popup-frame, display-buffer-same-window)
20213 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20214 (display-buffer-pop-up-window, display-buffer-use-some-window):
20215 Adapt symbol passed to display-buffer-record-window.
20216 * help.el (help-window-setup): Handle new format of quit-restore
20219 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
20221 * faces.el (face-list): Fix docstring (bug#9564).
20223 * window.el (display-buffer--action-function-custom-type):
20224 Don't include internal functions in the Custom interface.
20226 2011-09-20 Juri Linkov <juri@jurta.org>
20228 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
20229 (Info-forward-node, Info-backward-node, Info-next-preorder)
20230 (Info-last-preorder): Use it. (Bug#9528)
20232 2011-09-20 Juri Linkov <juri@jurta.org>
20234 * info.el (Info-last-preorder): Visit last menu item only when
20235 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
20237 2011-09-20 Julien Danjou <julien@danjou.info>
20239 * password-cache.el (password-cache-remove): Remove entries even if the
20240 value is nil, so that password with a nil value (negative caching) is
20241 possible to invalidate.
20243 2011-09-20 Lawrence Mitchell <wence@gmx.li>
20245 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
20246 all whitespace around breakpoint. (Bug#9553)
20247 (f90-find-breakpoint): Only break at whitespace inside a comment.
20249 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
20251 * minibuffer.el (completion-file-name-table): Keep track of errors.
20252 (completion-table-with-predicate): Handle the case where pred1 is nil.
20253 * pcomplete.el (pcomplete-completions-at-point): Simplify.
20255 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20257 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
20258 (debugger-return-value): Signal an error if the debugging context does
20259 not await any return value.
20261 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
20262 * image-mode.el (image-toggle-display-text)
20263 (image-toggle-display-image): Stay away from evil `intangible'.
20265 2011-09-19 Leo Liu <sdl.web@gmail.com>
20267 * replace.el (occur-revert-arguments): Make it permanent-local.
20268 (occur-mode): Don't call font-lock-defontify.
20270 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
20272 * net/ldap.el (ldap-search-internal): Don't push empty search
20275 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20277 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
20279 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
20281 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
20282 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
20284 2011-09-18 Juri Linkov <juri@jurta.org>
20286 * buff-menu.el (Buffer-menu-mode-map):
20287 * dired.el (dired-mode-map):
20288 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
20289 (lisp-interaction-mode-map):
20290 * emacs-lisp/package.el (package-menu-mode-map):
20291 * epa.el (epa-key-list-mode-map):
20292 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
20293 (menu-bar-options-menu):
20294 * outline.el (outline-mode-menu-bar-map):
20295 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
20296 * vc/vc-dir.el (vc-dir-menu-map):
20297 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
20298 Capitalize non-function content words in menu item strings.
20300 * dired.el (dired-mode-map): Add menu item for
20301 `image-dired-dired-toggle-marked-thumbs'.
20303 2011-09-18 Juri Linkov <juri@jurta.org>
20305 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
20306 to `isearch-case-fold-search' and restore its original value
20307 after the `isearch-mode' call.
20309 2011-09-18 Juri Linkov <juri@jurta.org>
20311 * progmodes/grep.el (grep-process-setup): Don't check code for 1
20312 because `zgrep' returns 1 for successful matches (bug#9226).
20314 2011-09-18 Juri Linkov <juri@jurta.org>
20316 * info.el (Info-extract-menu-node-name): Check the second match
20317 for empty string (second test-case of bug#9528).
20318 (Info-last-preorder): Let-bind `Info-history' to nil to not add
20319 intermediate nodes to the history (first test-case of bug#9528).
20321 2011-09-18 Juri Linkov <juri@jurta.org>
20323 * info.el (Info-mode-syntax-table): New variable.
20324 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
20326 2011-09-18 Juri Linkov <juri@jurta.org>
20328 * info.el (Info-file-supports-index-cookies):
20329 Increment line-beginning-position's arg from 3 to 4 because makeinfo
20330 outputs one more line for long file names (bug#4142).
20332 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20334 * newcomment.el (comment-normalize-vars): If prompting for
20335 comment-start, set comment-start-skip too (Bug#8424).
20337 2011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
20339 * icomplete.el: Fix previous fix of Bug#5849.
20340 (icomplete-mode): Don't set completion-show-inline-help.
20341 (icomplete-minibuffer-setup): Set completion-show-inline-help
20342 locally during icompletion.
20344 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20346 * woman.el (woman2-process-escapes): Don't delete unrecognized
20347 escapes (Bug#7843).
20349 * files.el (inhibit-first-line-modes-regexps): Add image files.
20350 (hack-local-variables-prop-line): Return nil for malformed
20351 prop-lines (Bug#9044).
20353 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
20355 * net/tramp.el (top): Don't require 'shell.
20356 (tramp-methods): Fix docstring.
20357 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
20358 Return complete remote file name. Handle "smb" case.
20359 Use `tramp-tmpdir', if defined for the respective method.
20360 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
20362 * net/tramp-compat.el (top): Require 'shell.
20364 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20365 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
20366 `tramp-current-host'.
20367 (tramp-get-remote-tmpdir): Remove.
20369 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
20370 `tramp-tmpdir' entries.
20371 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
20372 (tramp-smb-handle-file-attributes): Ignore errors.
20373 (tramp-smb-wait-for-output): Check also for process end.
20375 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
20377 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
20378 when sending QUIT (bug#9312).
20380 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
20382 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
20383 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
20384 occur-mode-display-occurrence.
20385 (occur-edit-mode): Add usage message.
20386 (occur-cease-edit): New command.
20387 (occur-after-change-function): Use text properties to find the
20388 position of the prefix text.
20389 (occur-engine): Set stickiness of prefix text properties.
20391 2011-09-17 Glenn Morris <rgm@gnu.org>
20393 * progmodes/etags.el (complete-tag):
20394 Fix call to completion-in-region. (Bug#9526)
20396 2011-09-17 Juri Linkov <juri@jurta.org>
20398 * textmodes/ispell.el (ispell-word): Add to the error message
20399 the word, ispell program name and current dictionary (bug#9121).
20400 (ispell-tex-arg-end): Capitalize "error" in the error message.
20402 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
20404 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
20407 2011-09-17 Juri Linkov <juri@jurta.org>
20409 * window.el (window-safe-min-height, window-safe-min-width):
20410 Fix typos (followup to bug#9522).
20412 2011-09-17 Sven Joachim <svenjoac@gmx.de>
20414 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
20416 2011-09-16 Eli Zaretskii <eliz@gnu.org>
20418 * simple.el (line-move): If goal-column is set, move by logical
20419 lines, not by display lines. (Bug#971)
20420 (next-line, previous-line, goal-column, line-move-visual): Doc fix
20421 to reflect the above change.
20423 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
20425 * image.el (imagemagick-register-types): Use regexp-opt.
20427 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20429 * window.el (display-buffer-base-action): Rename from
20430 display-buffer-default-action. Make default value empty.
20431 (display-buffer-overriding-action): Convert to defvar.
20432 (display-buffer-fallback-action): New var.
20434 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20436 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
20438 (package--add-to-archive-contents): If there is a duplicate entry
20439 with an older version, remove it.
20440 (package-menu-mark-delete, package-menu-mark-install)
20441 (package-menu-mark-unmark): Make unused args optional.
20442 (package-menu-mark-obsolete-for-deletion):
20443 Use package-menu-get-status instead of a regexp search.
20444 (package-menu-get-status): Use tabulated-list-entry.
20445 (package-menu-mark-upgrades): New command.
20446 (package-menu-mode-map): Bind it to U. Add it to menu bar.
20447 (package-menu-execute): Do installation before deletion.
20448 (package-menu-refresh, package-menu-execute): Use derived-mode-p
20449 instead of checking major-mode.
20450 (package-menu--find-upgrades): New function.
20452 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20454 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
20455 passwords in the log buffer.
20456 (smtpmail-process-filter): Update the process marker so that the
20457 "broken by peer" status message is inserted in the right place.
20459 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
20461 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
20462 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
20463 bibtex-completion-at-point-function.
20464 (bibtex-completion-at-point-function): Use them.
20466 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
20468 * mpc.el (mpc-constraints-tag-lookup): New function.
20469 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
20470 also to browser "album|playlist".
20472 2011-09-14 Juri Linkov <juri@jurta.org>
20474 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
20475 (isearch-edit-string): Use length of `isearch-string' when
20476 `isearch-fail-pos' returns nil.
20477 (isearch-message): Remove duplicate code and call
20478 `isearch-fail-pos' with arg `t'.
20480 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
20482 * replace.el (occur-mode-goto-occurrence): Don't force using other
20485 * dired-aux.el (dired-do-chmod): Don't provide initial input.
20487 2011-09-14 Martin Rudalics <rudalics@gmx.at>
20489 * window.el (display-buffer-window): Remove.
20490 (display-buffer-record-window): Use help-setup window parameter
20491 instead of variable display-buffer-window.
20492 (display-buffer-function, special-display-buffer-names)
20493 (special-display-function): Mention help-setup parameter instead
20494 of display-buffer-window in doc-string.
20495 * help.el (help-window-setup): New argument help-window.
20496 Use help-window-setup parameter instead of display-buffer-window.
20497 Reword some messages.
20498 (with-help-window): Pass window used for displaying the buffer
20499 to help-window-setup. Don't set display-buffer-window.
20501 2011-09-13 Glenn Morris <rgm@gnu.org>
20503 * emacs-lisp/debug.el (debugger-make-xrefs):
20504 Preserve point. (Bug#9462)
20506 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20508 * window.el (window-deletable-p): Use next-frame.
20510 2011-09-13 Martin Rudalics <rudalics@gmx.at>
20512 * window.el (window-auto-delete): Remove.
20513 (window-deletable-p): Remove argument FORCE. Don't deal with
20514 dedication and previous buffers.
20515 (switch-to-prev-buffer): Don't delete window.
20516 (delete-windows-on): Delete a window's frame if and only if the
20517 window is dedicated.
20518 (replace-buffer-in-windows): Delete buffer's window or frame if
20519 and only if window is dedicated.
20520 (quit-window): Handle quit-restore as before last change.
20521 (bury-buffer): Delete window only if window-deletable-p returns t.
20523 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20525 * window.el (window-deletable-p): Never delete the last frame on a
20528 2011-09-13 Glenn Morris <rgm@gnu.org>
20530 * help.el (describe-key-briefly): Copy previous standard-output change.
20532 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
20534 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
20536 2011-09-13 Glenn Morris <rgm@gnu.org>
20538 * emacs-lisp/lisp-mode.el (lisp-indent-function):
20539 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
20541 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
20543 * dired-aux.el (dired-mark-read-string): Don't return default
20544 value on empty input (Bug#9361).
20545 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
20546 Omit initial minibuffer contents.
20547 (dired-do-chmod): Signal an error on empty input.
20548 (dired-mark-read-string): Don't return default on empty input.
20550 * files.el (file-modes-symbolic-to-number): Doc fix.
20552 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20554 * international/mule-cmds.el (ucs-completions): Remove.
20555 (read-char-by-name): Use complete-with-action instead; add metadata.
20557 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20559 * window.el (display-buffer--action-function-custom-type)
20560 (display-buffer--action-custom-type): New vars.
20561 (display-buffer-alist, display-buffer-default-action)
20562 (display-buffer-overriding-action): Add defcustom types.
20564 * frame.el (delete-other-frames): Doc fix (Bug#276).
20566 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20568 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
20570 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20572 Change modes that used same-window-* vars to use switch-to-buffer.
20574 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
20575 Use switch-to-buffer.
20577 * cus-edit.el (customize-group, custom-buffer-create)
20578 (customize-browse, custom-buffer-create-other-window):
20579 Use switch-to-buffer or switch-to-buffer-other-window.
20581 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
20582 (Info-prev, Info-up, Info-speedbar-goto-node)
20583 (info-display-manual): Use switch-to-buffer.
20584 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
20586 * mail/sendmail.el (mail): Use switch-to-buffer.
20587 (mail-recover): Use switch-to-buffer-other-window.
20589 * cmuscheme.el (run-scheme, switch-to-scheme):
20591 * shell.el (shell):
20592 * net/rlogin.el (rlogin):
20593 * net/telnet.el (telnet, rsh):
20594 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
20596 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20598 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
20600 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20602 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
20603 so don't mention it (bug#9301).
20604 (dired-sort-toggle-or-edit): Clarify string further.
20606 * faces.el (face-spec-set-match-display): Make `(type graphic)'
20607 match `x', `w32' and `ns', like the manual says (bug#9029).
20609 * subr.el (eval-after-load): Doc string clarification (bug#9125).
20610 (process-kill-buffer-query-function): Mention the buffer name in
20613 * image-mode.el (image-next-line): The line parameter is mandatory
20616 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
20617 which can be useful (bug#9301).
20619 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
20621 * subr.el (match-string): Mention that the current buffer should
20622 be the same as the search was done in (bug#9282).
20624 * facemenu.el: Disable the remove-* commands if the mark isn't
20627 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20629 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
20631 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
20633 * replace.el (occur-mode-goto-occurrence)
20634 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
20635 and display-buffer.
20637 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
20640 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
20641 special-display and same-window variables.
20642 (mail-other-window): Use switch-to-buffer-other-window.
20643 (mail-other-frame): USe switch-to-buffer-other-frame.
20645 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
20646 Use display-buffer-other-frame.
20647 (gdb-display-gdb-buffer): Use pop-to-buffer.
20649 * progmodes/gud.el (gud-goto-info): Use info-other-window.
20651 * progmodes/python.el: Don't set same-window-buffer-names.
20653 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
20655 * window.el (display-buffer-alist): Add *Python*.
20657 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20659 * window.el (display-buffer-alist): Add entry for buffers
20660 previously handled same-window-*.
20661 (display-buffer-alist, display-buffer-default-action)
20662 (display-buffer-overriding-action): Mark as risky.
20663 (display-buffer-alist): Document action function changes.
20664 (display-buffer--same-window-action)
20665 (display-buffer--other-frame-action): New variables.
20666 (switch-to-buffer, display-buffer-other-frame): Use them.
20667 (display-buffer): Rename reuse-frame entry to reusable-frames.
20668 (display-buffer-reuse-selected-window): Function deleted.
20669 (display-buffer-reuse-window): Handle reusable-frames alist entry.
20670 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
20671 (display-buffer-special): New function.
20672 (display-buffer--maybe-pop-up-frame-or-window): Rename from
20673 display-buffer-reuse-or-pop-window. Split off special-display
20674 part into display-buffer-special.
20675 (display-buffer-use-some-window): Don't perform any special
20676 pop-up-frames handling.
20677 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
20678 (display-buffer--maybe-same-window): Rename from
20679 display-buffer-maybe-same-window.
20681 * info.el: Don't set same-window-regexps.
20682 (info-setup): New function.
20683 (info-other-window, info): Call it.
20685 * cus-edit.el: Don't set same-window-regexps.
20686 (customize-group): New argument.
20687 (customize-group-other-window): Use it.
20688 (customize-face, customize-face-other-window): Likewise.
20689 (custom-buffer-create-other-window): Use pop-to-buffer directly.
20693 * progmodes/gud.el: Don't set same-window-regexps.
20698 * mail/sendmail.el:
20699 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
20701 2011-09-10 Juri Linkov <juri@jurta.org>
20703 * isearch.el (isearch-edit-string): Remove obsolete mention of
20704 `C-w' (`isearch-yank-word-or-char') from docstring.
20705 (isearch-query-replace): Fix typo in docstring (bug#9466).
20707 2011-09-10 Juri Linkov <juri@jurta.org>
20709 * paren.el (show-paren-function): Don't show escaped parens.
20710 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
20712 2011-09-10 Eli Zaretskii <eliz@gnu.org>
20714 * mail/sendmail.el (mml-to-mime, mml-attach-file)
20715 (mm-default-file-encoding): Remove autoload forms, they are
20716 replaced with autoload cookies in mml.el and mm-encode.el.
20717 (mail-add-attachment): New command.
20718 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
20719 (mail-mode): Mention mail-insert-file and mail-add-attachment in
20721 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
20723 2011-09-10 Reuben Thomas <rrt@sc3d.org>
20725 * simple.el (count-words-region): Use buffer if there's no region
20728 2011-09-09 Juri Linkov <juri@jurta.org>
20730 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
20731 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
20732 (wdired-isearch-filter-read-only): New function. (Bug#6362)
20734 2011-09-09 Alan Mackenzie <acm@muc.de>
20736 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
20737 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
20739 2011-09-09 Eli Zaretskii <eliz@gnu.org>
20741 Fix for Savannah bug#9392.
20742 * simple.el (mail-encode-mml): New defvar.
20744 * mail/rmail.el (mail-encode-mml): Add a defvar.
20745 (rmail-enable-mime-composing): Default to t.
20746 (rmail-forward): Use MIME method of forwarding only if both
20747 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
20748 Set mail-encode-mml non-nil if the MIME method was used.
20750 * mail/sendmail.el (mml-to-mime): Add autoload form.
20751 (mail-encode-mml): Add a defvar.
20752 (mail-mode): Make mail-encode-mml buffer-local and initialize it
20754 (mail-send): If mail-encode-mml is non-nil, run the outgoing
20755 message through mml-to-mime, and reset mail-encode-mml to nil.
20757 2011-09-09 Glenn Morris <rgm@gnu.org>
20759 * woman.el (woman-if-body): When processing an .el block,
20760 do not delete the next .el block as well. (Bug#9447)
20761 (woman-special-characters): Add oq, cq, and hy characters.
20763 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20765 * window.el (window-deletable-p): Make sure window is live before
20766 invoking window-prev-buffers.
20768 2011-09-08 Leo Liu <sdl.web@gmail.com>
20770 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
20772 2011-09-08 Juri Linkov <juri@jurta.org>
20774 * progmodes/compile.el (compilation-environment): Make it
20775 a defcustom (bug#8340).
20777 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20779 * window.el (frame-auto-delete): Rename to window-auto-delete.
20780 Make it control auto-deletion of windows and/or frames.
20781 (window-deletable-p): New argument FORCE. Rewrite conditions
20782 for deleting window/frame. (Bug#9419)
20783 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
20784 Rewrite handling of case when window/frame can be deleted.
20785 (delete-windows-on): Call window-deletable-p with new FORCE
20786 argument t. (Bug#9456)
20788 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
20790 * help-mode.el (help-mode): Restore autoload.
20792 2011-09-07 Juri Linkov <juri@jurta.org>
20794 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
20795 `compilation-environment'. Set buffer-local
20796 `compilation-environment' to `thisenv' later after (funcall mode).
20799 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
20800 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
20801 instead of replacing its value. (Bug#8340)
20803 2011-09-07 Juri Linkov <juri@jurta.org>
20805 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
20806 based on text properties put by `grep-filter' instead of matching
20808 (grep-mode): Set buffer-local `compilation-error-screen-columns'
20809 to the value of `grep-error-screen-columns' (bug#9438).
20811 2011-09-07 Juri Linkov <juri@jurta.org>
20813 * simple.el (next-error-highlight, next-error-highlight-no-select):
20814 Doc fix (bug#9432).
20816 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
20818 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20819 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
20821 2011-09-07 Leo Liu <sdl.web@gmail.com>
20823 * net/rcirc.el (rcirc-mode): Conditionally initialize
20826 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
20828 * emacs-lisp/find-func.el (find-function-C-source): Only set
20829 find-function-C-source-directory after checking that we found a source
20830 file there (bug#9440).
20832 2011-09-06 Alan Mackenzie <acm@muc.de>
20834 * isearch.el (isearch-other-meta-char): Wherever a key list is
20835 unread, "unread" the prefix arg, too. This fixes bug #8901.
20837 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
20839 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
20841 2011-09-05 Juri Linkov <juri@jurta.org>
20843 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
20845 2011-09-05 Juri Linkov <juri@jurta.org>
20847 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
20848 keeping point where processing of grep matches begins, and
20849 continue to delete remaining escape sequences from the same point.
20850 (grep-filter): Make leading zero optional in "0?1;31m" because
20851 git-grep emits "\033[1;31m" escape sequences unlike expected
20852 "\033[01;31m" as GNU Grep does (bug#9408).
20853 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
20855 2011-09-05 Juri Linkov <juri@jurta.org>
20857 * subr.el (y-or-n-p): Capitalize "yes".
20859 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
20861 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
20862 `tramp-cache-unload-hook' where appropriate.
20863 (tramp-methods): Rename `tramp-remote-sh' to
20864 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
20865 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
20867 * net/tramp-sh.el (top): Don't require 'shell.
20868 (tramp-methods): Add `tramp-remote-shell' and
20869 `tramp-remote-shell-args' entries.
20870 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
20871 (tramp-sh-handle-shell-command): Remove.
20872 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20873 Use `tramp-remote-shell'.
20875 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
20877 * mail/sendmail.el (sendmail-query-once-function): Delete.
20878 (sendmail-query-once): Save directly to send-mail-function.
20879 Update message-send-mail-function too.
20881 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
20883 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20885 * progmodes/python.el (python-mode-map): Use correct function to
20886 start python interpreter from menu-bar (as reported by Geert
20888 (inferior-python-mode-map): Fix typo.
20889 (python-shell-map): Remove.
20891 2011-09-03 Deniz Dogan <deniz@dogan.se>
20893 * net/rcirc.el (rcirc-print): Simplify code for
20894 rcirc-scroll-show-maximum-output. There is no need to walk
20895 through all windows to find the right one.
20897 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20899 * help.el (help-return-method): Doc fix.
20901 2011-09-03 Martin Rudalics <rudalics@gmx.at>
20903 * window.el (window-deletable-p): Don't return a non-nil value
20904 when there's a buffer that was shown in the window before.
20906 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20907 Set window's previous buffers to nil.
20909 2011-09-03 Eli Zaretskii <eliz@gnu.org>
20911 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
20912 newline before and after the tag line, so it doesn't interfere
20913 with determining the paragraph direction of bidirectional text.
20915 2011-09-03 Leo Liu <sdl.web@gmail.com>
20917 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
20919 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
20921 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
20922 (pop-to-buffer): Change interactive spec. Pass second argument
20923 directly to display-buffer.
20924 (display-buffer): Fix interactive spec. Use functionp to
20925 distinguish between a function and a list of functions.
20927 * abbrev.el (edit-abbrevs):
20928 * arc-mode.el (archive-extract):
20929 * autoinsert.el (auto-insert):
20930 * bookmark.el (bookmark-bmenu-list):
20931 * files.el (find-file):
20932 * view.el (view-buffer):
20933 * progmodes/compile.el (compilation-goto-locus):
20934 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
20936 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
20938 * window.el (display-buffer-alist): Doc fix.
20939 (display-buffer): Add docstring. Don't treat
20940 display-buffer-default specially.
20941 (display-buffer-reuse-selected-window)
20942 (display-buffer-same-window, display-buffer-maybe-same-window)
20943 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20944 (display-buffer-pop-up-window)
20945 (display-buffer-reuse-or-pop-window)
20946 (display-buffer-use-some-window): New functions.
20947 (display-buffer-default-action): Use them.
20948 (display-buffer-default): Delete.
20949 (pop-to-buffer-1): Fix choice of actions.
20951 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
20953 * minibuffer.el (completion--insert-strings): Don't get confused by
20954 completion entries that end with an LF char.
20956 2011-09-01 Eli Zaretskii <eliz@gnu.org>
20958 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
20960 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
20962 * window.el (display-buffer): Restore interactive spec.
20963 (display-buffer-same-window, display-buffer-other-window):
20965 (pop-to-buffer-1): New function. Use the above.
20966 (pop-to-buffer, pop-to-buffer-same-window): Use it.
20967 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
20969 * view.el (view-buffer-other-window, view-buffer-other-frame):
20970 Just use pop-to-buffer.
20972 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20974 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
20976 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
20978 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
20980 2011-08-31 Richard Stallman <rms@gnu.org>
20982 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
20983 of the separation of rmail-view-buffer from rmail-buffer.
20984 If you say no to "replace original", the decrypt is in the
20985 view buffer. If you say yes, the decrypt goes into the
20988 2011-08-31 Martin Rudalics <rudalics@gmx.at>
20990 * window.el (display-buffer-window): Rewrite doc-string.
20991 (display-buffer-record-window): New function.
20992 (display-buffer-macro-specifiers)
20993 (display-buffer-even-window-sizes, display-buffer-set-height)
20994 (display-buffer-set-width, display-buffer-in-window)
20995 (display-buffer-reuse-window, display-buffer-split-specifiers)
20996 (display-buffer-side-specifiers, display-buffer-split-window-1)
20997 (display-buffer-split-window, display-buffer-split-atom-window)
20998 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20999 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
21000 (display-buffer-other-window-means-other-frame)
21001 (display-buffer-normalize-special)
21002 (display-buffer-normalize-default)
21003 (display-buffer-normalize-argument)
21004 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
21005 (display-buffer-normalize-specifiers, display-buffer-frame)
21006 (display-buffer-same-window, display-buffer-same-frame)
21007 (display-buffer-other-window)
21008 (display-buffer-same-frame-other-window)
21009 (display-buffer-other-frame, pop-to-buffer-same-window)
21010 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
21011 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
21012 (switch-to-buffer-same-frame)
21013 (switch-to-buffer-other-window-same-frame)
21014 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
21015 (display-buffer-alist-set-1, display-buffer-alist-set-2)
21016 (display-buffer-alist-set): Remove.
21017 (display-buffer-function, special-display-buffer-names)
21018 (special-display-regexps, special-display-function):
21019 In doc-string refer to display-buffer-window and quit-restore
21021 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
21022 (special-display-frame-alist, special-display-popup-frame)
21023 (same-window-buffer-names, same-window-regexps, same-window-p)
21024 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21025 (split-window-preferred-function, split-height-threshold)
21026 (split-width-threshold, window-splittable-p)
21027 (split-window-sensibly, window--try-to-split-window)
21028 (window--frame-usable-p, even-window-heights)
21029 (window--even-window-heights, window--display-buffer-1)
21030 (window--display-buffer-2, display-buffer-other-frame):
21031 Restore old Emacs 23 code, order and doc-strings where applicable.
21032 (display-buffer-default, display-buffer-assq-regexp): New functions.
21033 (display-buffer-alist): Rewrite doc-string.
21034 (display-buffer-default-action)
21035 (display-buffer-overriding-action): New variables.
21036 (display-buffer, switch-to-buffer): Rewrite.
21037 (pop-to-buffer): Restore Emacs 23 behavior but use
21038 window-normalize-buffer-to-display.
21039 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
21040 Restore Emacs 23 behavior but use
21041 window-normalize-buffer-to-switch-to.
21042 (pop-to-buffer-same-window): Rewrite.
21043 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
21044 Rewrite using Emacs 23 options.
21046 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
21048 * net/tramp.el (tramp-root-regexp): Remove.
21049 (tramp-completion-file-name-regexp-unified)
21050 (tramp-completion-file-name-regexp-separate)
21051 (tramp-completion-file-name-regexp-url): Don't use leading volume
21052 letter on w32 systems. (Bug#5303, Bug#9311)
21053 (tramp-drop-volume-letter): Simplify definition.
21054 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
21056 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
21058 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
21061 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
21063 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
21065 2011-08-29 Juri Linkov <juri@jurta.org>
21067 * isearch.el (isearch-done): Don't display message "Mark saved"
21068 when arg `edit' is non-nil to prevent its flicker in the echo area.
21070 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21072 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
21073 obsolete packages for deletion.
21075 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
21077 * help-mode.el (help-mode-map): Add special-mode-map to parent.
21078 (help-mode): Derive help-mode from special-mode. Don't invoke
21079 view-mode from help-mode.
21080 (help-xref-override-view-map): Remove.
21081 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
21082 view-mode is not used anymore.
21084 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21086 * server.el (server-port): Doc fix.
21088 * cus-theme.el (custom-theme-choose-mode): Inherit from
21089 special-mode (Bug#9124).
21090 (custom-theme-choose-mode-map): Add special-mode to parent.
21092 2011-08-28 Alan Mackenzie <acm@muc.de>
21094 * progmodes/cc-fonts.el
21095 (c-make-font-lock-BO-decl-search-function): New function.
21096 (c-basic-matchers-after - "Fontify the clauses after various
21097 keywords"): Extract the three keyword lists for the 3 erroneous
21098 constructs from the list of four, and use the new function above
21099 in place of an old one.
21101 2011-08-28 Deniz Dogan <deniz@dogan.se>
21103 * net/rcirc.el (rcirc-insert-prev-input)
21104 (rcirc-insert-next-input): Remove unused argument.
21106 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21108 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
21110 2011-08-27 Alan Mackenzie <acm@muc.de>
21112 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
21113 handle function pointer parameters properly.
21115 2011-08-27 Martin Rudalics <rudalics@gmx.at>
21117 * window.el (display-buffer-reuse-window): Fix case where
21118 selected window was reused with non-nil OTHER-WINDOW argument.
21121 2011-08-27 Deniz Dogan <deniz@dogan.se>
21123 * net/rcirc.el (rcirc-check-auth-status): Adding support for
21124 oftc's NickServ messages.
21126 2011-08-27 Glenn Morris <rgm@gnu.org>
21128 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
21130 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
21132 * emacs-lisp/package.el (package-install): Call package-initialize
21133 if called interactively.
21135 2011-08-26 Leo Liu <sdl.web@gmail.com>
21137 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
21139 2011-08-25 Juri Linkov <juri@jurta.org>
21141 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
21142 `search-whitespace-regexp' (bug#9364).
21144 2011-08-25 Juri Linkov <juri@jurta.org>
21146 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
21147 `regexp-search-ring' to their global values to protect from
21148 updating by `read-from-minibuffer' (bug#9185).
21150 2011-08-25 Juri Linkov <juri@jurta.org>
21152 * textmodes/ispell.el (ispell-command-loop): Add newline
21153 at the end of the "Use option `i'..." line.
21155 2011-08-25 Juri Linkov <juri@jurta.org>
21157 * battery.el (display-battery-mode): If `battery-status-function'
21158 or `battery-mode-line-format' is nil, display the message and set
21159 `display-battery-mode' to nil (bug#9363).
21161 2011-08-25 Eli Zaretskii <eliz@gnu.org>
21163 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
21164 bidi-string-mark-left-to-right; they are unnecessary now.
21166 2011-08-25 Deniz Dogan <deniz@dogan.se>
21168 * net/quickurl.el: Documentation typo fixes.
21170 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
21172 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
21174 2011-08-25 Glenn Morris <rgm@gnu.org>
21176 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
21178 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
21179 (smtpmail-via-smtp): Handle nil response from smtp.
21181 2011-08-24 Juri Linkov <juri@jurta.org>
21183 * proced.el (proced-marked): Inherit from `error' instead of
21184 `font-lock-warning-face'.
21186 * ibuffer.el (ibuffer-marked-face): Change default face from
21187 `font-lock-warning-face' to `warning'.
21188 (ibuffer-deletion-face): Change default face from
21189 `font-lock-type-face' to `error'.
21191 * battery.el (battery-update): Use the face `error' instead of
21192 `font-lock-warning-face' (bug#6117).
21194 2011-08-24 Juri Linkov <juri@jurta.org>
21196 * faces.el (success): Change face color from "Green3" to
21197 "ForestGreen" on light background (bug#9353).
21199 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
21201 * window.el (quit-window): Rename from quit-restore-window.
21202 Use same arglist as old quit-window.
21203 (frame-auto-delete): Doc fix.
21205 * view.el (view-mode-exit): Use quit-window.
21207 2011-08-24 Juri Linkov <juri@jurta.org>
21209 * isearch.el (isearch-ring-adjust1): Start visiting previous
21210 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
21211 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
21212 for empty search string (when the last search string is reused
21213 automatically) to adjust the isearch ring to the last element and
21214 prepare the correct index for further M-p commands (bug#9185).
21216 2011-08-24 Kenichi Handa <handa@m17n.org>
21218 * international/ucs-normalize.el: If decomposition property of
21219 CHAR is the default one (i.e. a list of CHAR itself), treat it as
21221 (nfd, nfkd): Likewise.
21223 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21225 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
21226 from process filters aren't reliably transmitted to the surrounding
21227 accept-process-output.
21228 (mpc-proc-check): New function.
21229 (mpc-proc-sync): Use it (bug#8293)
21231 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21233 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
21234 Add compatibility functions (bug#9313).
21236 2011-08-23 Eli Zaretskii <eliz@gnu.org>
21238 * cus-start.el (all): Add entry for bidi-paragraph-direction.
21240 * international/uni-bidi.el: Regenerate.
21242 2011-08-23 Kenichi Handa <handa@m17n.org>
21244 * international/charprop.el:
21245 * international/uni-bidi.el:
21246 * international/uni-category.el:
21247 * international/uni-combining.el:
21248 * international/uni-comment.el:
21249 * international/uni-decimal.el:
21250 * international/uni-decomposition.el:
21251 * international/uni-digit.el:
21252 * international/uni-lowercase.el:
21253 * international/uni-mirrored.el:
21254 * international/uni-name.el:
21255 * international/uni-numeric.el:
21256 * international/uni-old-name.el:
21257 * international/uni-titlecase.el:
21258 * international/uni-uppercase.el: Regenerate.
21260 2011-08-23 Martin Rudalics <rudalics@gmx.at>
21262 * help.el (help-window-setup): Fix message displayed when other
21263 window is reused. (Bug#9341)
21265 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21267 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
21268 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
21270 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
21272 * shell.el (shell-parse-pcomplete-arguments): New function.
21273 (shell-completion-vars): Use it instead (bug#9160).
21275 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
21277 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
21278 strings and comments (bug#9333).
21280 * emacs-lisp/debug.el (debug-arglist): New function.
21281 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
21282 (debug-on-entry-1): Handle interpreted closures (bug#9120).
21284 2011-08-22 Juri Linkov <juri@jurta.org>
21286 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21287 Revert regexp that highlights output switches to its old
21288 pre-2010-10-28 value and remove one `?' from it (bug#9319).
21290 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
21291 to check for empty output (bug#9226).
21293 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
21295 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
21296 symbol-constituent as the default, as that stops font-lock from
21297 working properly (Bug#8843).
21299 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21301 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
21302 `coding-system-for-*' around the process open call to avoid
21303 auth-source side effects.
21304 (smtpmail-try-auth-methods): Expand the secret password.
21305 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
21308 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21310 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
21312 * emacs-lisp/find-func.el (find-function-noselect): New arg
21315 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
21316 signal an error for built-in functions (Bug#6664).
21318 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21320 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
21321 (smtpmail-try-auth-methods): Use it.
21323 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21325 * font-lock.el (font-lock-fontify-region)
21326 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
21327 (font-lock-default-unfontify-buffer)
21328 (font-lock-default-fontify-region)
21329 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
21331 * progmodes/compile.el (compilation-error-properties):
21332 Fix confusion between file struct and message struct (Bug#9319).
21333 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
21336 * net/browse-url.el (browse-url-firefox): Don't call
21337 browse-url-firefox-sentinel unless using -remote (Bug#9328).
21339 2011-08-20 Glenn Morris <rgm@gnu.org>
21341 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
21343 * tutorial.el (tutorial--default-keys): Update some default bindings.
21345 * files.el (hack-local-variables): Fully ignore case for "mode:".
21347 2011-08-20 Alan Mackenzie <acm@muc.de>
21349 Resolve invalid use of a regexp in regexp-opt.
21351 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
21352 detection for a java annotation.
21354 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
21355 detection for a java annotation.
21357 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
21359 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
21361 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
21363 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
21366 2011-08-20 Alan Mackenzie <acm@muc.de>
21368 Fontify CPP expressions correctly when starting in the middle of
21369 such a construct. Mainly for when jit-lock etc. starts a chunk
21372 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
21374 (c-make-font-lock-search-form): New function, extracted from
21375 c-make-font-lock-search-function.
21376 (c-make-font-lock-search-function): Use the above function.
21377 (c-make-font-lock-context-search-function): New function.
21378 (c-cpp-matchers): Enhance the preprocessor expression case with
21380 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
21381 which takes an expression.
21383 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
21385 2011-08-20 Martin Rudalics <rudalics@gmx.at>
21387 * window.el (display-buffer-reuse-window)
21388 (display-buffer-pop-up-window): Don't reuse or split a side
21391 2011-08-19 Glenn Morris <rgm@gnu.org>
21393 * files.el (hack-local-variables-prop-line, hack-local-variables):
21394 Downcase "Mode:". (Bug#9331)
21396 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
21398 * international/characters.el: Add L and R categories.
21400 * subr.el (bidi-string-mark-left-to-right): Rename from
21401 string-mark-left-to-right. Use category search.
21403 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
21405 2011-08-18 Juri Linkov <juri@jurta.org>
21407 * faces.el (error, warning, success): New faces with definitions
21408 copied from old default values of `font-lock-warning-face',
21409 `compilation-warning', `compilation-info' (bug#6117).
21411 * font-lock.el (font-lock-warning-face): Inherit from `error'.
21413 * progmodes/compile.el (compilation-error): Inherit from `error'.
21414 (compilation-warning): Inherit from `warning'.
21415 (compilation-info): Inherit from `success'.
21417 * dired.el (dired-marked): Inherit from `warning'.
21418 (dired-flagged): Inherit from `error'.
21420 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21422 * mail/smtpmail.el (auth-source): Require to avoid problems with
21423 binding variables (bug#9298). Also clean up some unused
21426 * net/network-stream.el (network-stream-open-starttls):
21427 Support using starttls.el without using gnutls-cli.
21429 2011-08-17 Juri Linkov <juri@jurta.org>
21431 * progmodes/grep.el (rgrep): Handle the case when
21432 `grep-find-command' is a cons cell (bug#9278).
21434 2011-08-17 Martin Rudalics <rudalics@gmx.at>
21436 * window.el (display-buffer-pop-up-frame): Run frame creation
21437 function with BUFFER current (as special-display-popup-frame
21438 does). Reported by Drew Adams.
21440 2011-08-17 Daiki Ueno <ueno@unixuser.org>
21442 * epa-mail.el: Simplify GnuPG group expansion using
21444 (epa-mail-group-alist, epa-mail-group-modtime)
21445 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
21446 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
21447 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
21450 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
21452 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
21454 2011-08-16 Alan Mackenzie <acm@muc.de>
21456 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
21457 Correct, to avoid the inside of macros.
21459 2011-08-16 Richard Stallman <rms@gnu.org>
21461 * epa-mail.el: Handle GnuPG group definitions.
21462 (epa-mail-group-alist, epa-mail-group-modtime)
21463 (epa-mail-gnupg-conf-file): New variables.
21464 (epa-mail-parse-groups, epa-mail-sync-groups)
21465 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
21466 (epa-mail-expand-recipients): New functions.
21467 (epa-mail-encrypt): Call epa-mail-expand-recipients.
21469 * mail/rmail.el (rmail-epa-decrypt): New command.
21471 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
21472 Don't bind buffer-read-only, just inhibit-read-only.
21473 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
21474 (epa-decrypt-armor-in-region): Make error message clearer.
21476 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
21478 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
21479 and "a2b" to "ab" for `prefix'.
21481 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
21483 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
21485 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
21486 Fourquet (Bug#8804).
21488 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
21490 * startup.el (argi): Declare as global variable (bug#9275).
21492 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
21494 * subr.el (string-mark-left-to-right): Search the entire string
21495 for RTL script, not just the terminating character. Doc fix.
21497 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
21499 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
21501 (js--regexp-literal, js-syntax-propertize-function): Remove.
21502 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
21503 (js-mode-map): Don't rebind electric keys.
21504 (js-insert-and-indent): Remove.
21505 (js-mode): Setup electric-layout and electric-indent instead.
21507 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
21509 2011-08-12 Daiki Ueno <ueno@unixuser.org>
21511 * epa.el (epa-progress-callback-function): Fix the logic of
21512 displaying progress.
21513 * epa-file.el (epa-file-insert-file-contents): Make progress
21514 display more user-friendly.
21515 (epa-file-write-region): Ditto.
21517 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
21519 * subr.el (string-mark-left-to-right): New function.
21521 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
21522 Use string-mark-left-to-right.
21523 (list-buffers-noselect): Caller changed.
21525 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21526 Use string-mark-left-to-right.
21527 (tabulated-list-print): Recenter after moving point.
21529 2011-08-10 Juri Linkov <juri@jurta.org>
21531 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
21532 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
21533 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
21535 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
21537 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
21540 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
21542 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
21543 character. (Bug#6594)
21545 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
21547 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
21548 (image-dired--with-db-file): New macro.
21549 (image-dired-write-tags, image-dired-remove-tag)
21550 (image-dired-create-gallery-lists, image-dired-write-comments)
21551 (image-dired-get-comment, image-dired-mark-tagged-files)
21552 (image-dired-list-tags, image-dired-gallery-generate): Use it.
21553 (image-dired-gallery-generate): Use insert-file-contents.
21555 * time.el (display-time-world-list, display-time-world-display):
21556 * time-stamp.el (time-stamp-string):
21557 * vc/add-log.el (add-change-log-entry): Use setenv instead of
21558 set-time-zone-rule (Bug#7337).
21560 2011-08-08 Daiki Ueno <ueno@unixuser.org>
21562 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
21563 (epg-error-to-string, epg-errors-to-string): New function.
21564 (epg-wait-for-completion): Reverse errors list.
21565 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
21566 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
21567 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
21568 (epg-sign-keys, epg-generate-key-from-file)
21569 (epg-generate-key-from-string): Format errors by using
21570 epg-errors-to-string (bug#9255).
21571 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
21573 2011-08-07 Juri Linkov <juri@jurta.org>
21575 * faces.el (list-faces-display): Remove extra angle bracket
21576 from `help-mode-map'.
21578 * info.el (Info-history-toc-nodes): Doc fix.
21580 * longlines.el (longlines-mode): Doc fix.
21582 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
21584 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
21585 of statements and in a few more cases (bug#9183).
21587 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
21589 (cl-transform-lambda): Use them (bug#9239).
21591 2011-08-05 Martin Rudalics <rudalics@gmx.at>
21593 * window.el (display-buffer-same-window)
21594 (display-buffer-same-frame, display-buffer-other-window)
21595 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21596 (pop-to-buffer-other-window)
21597 (pop-to-buffer-same-frame-other-window)
21598 (pop-to-buffer-other-frame): Make them defuns.
21599 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
21601 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21603 * subr.el (make-composed-keymap): Move from C. Change calling
21604 convention, and improve docstring to bring attention to a subtle point.
21605 * minibuffer.el (completing-read-default): Adjust accordingly.
21607 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
21609 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
21610 (tramp-open-shell): Use `tramp-shell-quote-argument'.
21612 * net/trampver.el: Update release number.
21614 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21616 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
21619 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21621 * mail/sendmail.el (sendmail-query-once): Restore the current
21622 buffer after querying (bug#9074).
21624 * dired.el (dired-flagged): Use different faces for marked and
21625 flagged files (bug#6117).
21627 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
21630 * ido.el (ido-mode): Switch off the message if called
21633 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
21634 before 587, since it appears that that's more likely to work for
21637 * cus-edit.el (custom-file): When running under emacs -q, always
21638 refuse to save the customizations, even if the .emacs file doesn't
21641 * info.el: Remove the `Info-beginning-of-buffer' function
21644 * net/network-stream.el (network-stream-open-starttls):
21645 Use `starttls-available-p' to see whether starttls.el can be used.
21647 2011-08-01 Martin Rudalics <rudalics@gmx.at>
21649 * window.el (display-buffer-in-window): Don't set dedicated status
21650 of window here (Bug#9215).
21651 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21652 (display-buffer-pop-up-side-window)
21653 (display-buffer-in-side-window): Set dedicated status of window here.
21655 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
21657 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
21658 before binding generated-autoload-file.
21660 2011-08-01 Deniz Dogan <deniz@dogan.se>
21662 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
21664 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
21666 Sync with Tramp 2.2.2.
21668 * net/trampver.el: Update release number.
21670 2011-07-30 Juri Linkov <juri@jurta.org>
21672 * dired-aux.el (dired-touch-initial): Remove function.
21673 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
21674 current time, and `default' to the last modification time of the
21675 current marked file (bug#6887).
21677 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
21679 * simple.el (goto-line): Use string-to-number to provide a
21680 numeric argument to read-number (bug#9163).
21682 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
21684 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
21685 connection process, it could be nil.
21687 2011-07-27 Leo Liu <sdl.web@gmail.com>
21689 Simplify url handling in rcirc-mode.
21691 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
21692 (rcirc-browse-url-at-mouse): Remove.
21693 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
21695 2011-07-26 Alan Mackenzie <acm@muc.de>
21697 Fontify bitfield declarations properly.
21699 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
21700 (c-symbol-chars): Now exported as a lang variable.
21701 (c-not-primitive-type-keywords): New lang variable.
21703 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
21704 QT keyword "more" to prevent "more slots: ...." being spuriously
21705 parsed as a bitfield declaration.
21707 * progmodes/cc-engine.el (c-beginning-of-statement-1):
21708 Refactor and enhance to handle bitfield declarations.
21709 (c-punctuation-in): New function.
21710 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
21711 declarations properly.
21713 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
21715 * calendar/icalendar.el (icalendar--all-events): Take care of
21716 multiple vcalendars in a single file.
21717 (icalendar--convert-float-to-ical): Checkdoc fixes.
21719 2011-07-25 Deniz Dogan <deniz@dogan.se>
21721 * image.el (insert-image): Clarifying docstring.
21723 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
21725 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
21726 `tramp-send-command-and-check' if there is no error.
21727 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
21729 2011-07-22 Alan Mackenzie <acm@muc.de>
21731 Prevent cc-langs.elc being loaded at run time.
21733 * progmodes/cc-mode.el: Remove two autoload forms which loaded
21736 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
21737 "(require 'cc-langs)". Quote a form so it will evaluate at
21738 (cc-mode's) compilation time.
21740 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
21742 * net/tramp.el (tramp-file-name-handler): Avoid recursive
21743 loading. (Bug#9114)
21745 2011-07-21 Martin Rudalics <rudalics@gmx.at>
21747 * window.el (display-buffer-pop-up-window)
21748 (display-buffer-pop-up-side-window)
21749 (display-buffer-in-side-window): Call display-buffer-set-height
21750 and display-buffer-set-width after setting the new window's
21751 buffer so `fit-window-to-buffer' and friends work on the right buffer.
21753 2011-07-20 Sam Steingold <sds@gnu.org>
21755 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
21756 (etags-tags-included-tables): Call `convert-standard-filename' on
21757 the file names contained in TAGS so that windows Emacs can handle
21758 TAGS files created by cygwin ctags.
21760 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
21762 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
21763 which apparently didn't work.
21765 2011-07-19 Roland Winkler <winkler@gnu.org>
21767 * proced.el (proced-send-signal): For *Marked Processes* buffer
21768 put point at beginning of buffer.
21770 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
21772 * proced.el (proced-format): Make header lines align with the text
21775 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21777 * view.el (view-buffer): Allow running in `special' modes if we're
21778 visiting a file (bug#8615).
21780 2011-07-19 Martin Rudalics <rudalics@gmx.at>
21782 * window.el (display-buffer-alist-of-strings-p)
21783 (display-buffer-alist-set-1, display-buffer-alist-set-2):
21785 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
21788 2011-07-18 Alan Mackenzie <acm@muc.de>
21790 Fontify declarators properly when, e.g., a jit-lock chunk begins
21791 inside a declaration.
21793 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
21795 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21797 (c-complex-decl-matchers): Insert reference to
21798 c-font-lock-enclosing-decls.
21800 * progmodes/cc-engine.el (c-backward-single-comment):
21801 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
21802 to nil around calls to (forward-comment -1).
21804 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21806 * image.el (put-image): Doc typo fix.
21808 * progmodes/etags.el (tags-search): Doc typo fix.
21810 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
21811 password if we get errors 550 to 554.
21813 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
21815 * net/gnutls.el (gnutls-log-level): Remove.
21817 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
21818 indentation character (bug#6380).
21820 * files.el (buffer-offer-save): Made permanently local (bug#6241).
21822 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
21823 to clarify what the problem is (bug#4291).
21825 * simple.el (current-kill): Clarify what
21826 `interprogram-paste-function' does (bug#7500).
21827 (auto-fill-mode): Document `auto-fill-function' in relation to
21828 `auto-fill-mode' (bug#2470).
21830 2011-07-16 Lawrence Mitchell <wence@gmx.li>
21832 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
21833 method if slot is read-only (bug#9035).
21835 2011-07-16 Martin Rudalics <rudalics@gmx.at>
21837 * frame.el (select-frame-set-input-focus): New argument NORECORD.
21838 * window.el (pop-to-buffer): Select window used even if it was
21839 selected before, see discussion of (Bug#8615), (Bug#6954).
21840 Pass argument NORECORD on to select-frame-set-input-focus.
21842 2011-07-15 Glenn Morris <rgm@gnu.org>
21844 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
21847 2011-07-09 Lawrence Mitchell <wence@gmx.li>
21849 * net/gnutls.el (gnutls-min-prime-bits): New variable.
21850 (gnutls-negotiate): Use it.
21852 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21854 * net/gnutls.el (gnutls-negotiate):
21855 Upcase `gnutls-algorithm-priority'.
21857 2011-07-15 Glenn Morris <rgm@gnu.org>
21859 * jka-compr.el (jka-compr-verbose): Move from here...
21860 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
21861 Add missing :version tag.
21862 * info.el: No need to require jka-compr when compiling.
21864 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21866 * net/gnutls.el (gnutls-algorithm-priority): New variable.
21867 (gnutls-negotiate): Use it.
21869 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
21871 * info.el (Info-beginning-of-buffer): New command.
21872 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
21873 announcing `b' as the key (bug#8325).
21874 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
21876 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
21878 * international/mule-cmds.el
21879 (describe-specified-language-support): Make the error message
21880 clearer (bug#8905).
21882 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
21884 * isearch.el (isearch-barrier): Add a doc string, since it's
21885 mentioned in a function doc string (bug#8678).
21887 2011-07-15 Martin Rudalics <rudalics@gmx.at>
21889 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
21890 buffer argument (Bug#9083) and self-identifying label argument.
21892 2011-07-15 Glenn Morris <rgm@gnu.org>
21894 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
21896 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21898 * man.el (Man-fontify-manpage): Fix message when formatting the
21899 man page (bug#7929).
21901 2011-07-14 Eli Zaretskii <eliz@gnu.org>
21903 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
21904 argument LRM; if non-nil, append an invisible LRM character to the
21906 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
21907 last argument non-nil, when formatting buffer names.
21908 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
21909 paragraph direction.
21911 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21913 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
21914 the man page name (bug#7929).
21916 * image.el (put-image): Mention the `put-image' overlay property
21919 * scroll-bar.el (set-scroll-bar-mode): Mention that
21920 `scroll-bar-mode' lists the values (bug#7772).
21922 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
21923 command (bug#7729).
21925 * rect.el (apply-on-rectangle): Return the point after the last
21927 (string-rectangle): Go to the point after the last operation
21930 * printing.el (pr-toggle-region): Clarify the documentation
21931 slightly (bug#7493).
21933 * time.el (display-time-update):
21934 Allow `display-time-mail-function' to return nil (bug#7158).
21935 Fix suggested by Detlev Zundel.
21937 * vc/diff.el (diff): Clarify the order the file names are read
21940 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
21941 the doc string (bug#7015).
21943 * font-lock.el (font-lock-maximum-decoration): Mention what
21944 numeric levels mean (bug#6935).
21946 * startup.el (initial-buffer-choice): Don't mention the `none'
21947 selection, which is against policy.
21949 2011-07-14 Martin Rudalics <rudalics@gmx.at>
21951 * window.el (display-buffer-normalize-special):
21952 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
21954 2011-07-14 Eli Zaretskii <eliz@gnu.org>
21956 * subr.el (version<, version<=, version=): Mention "-CVS" and
21957 "-12345" alpha version numbers.
21959 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
21961 * bindings.el: Add advertised binding for set-mark-command
21964 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
21966 * bindings.el (mode-line-other-buffer):
21967 * bookmark.el (bookmark-bmenu-2-window):
21968 * bs.el (bs-cycle-next, bs-cycle-previous):
21969 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
21972 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
21975 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
21977 * follow.el (follow-debug-message, follow-redisplay):
21978 * jka-cmpr-hook.el (with-auto-compression-mode):
21979 Fix typos in docstrings.
21981 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21983 * subr.el (with-silent-modifications): Clarify somewhat what the
21984 macro inhibits (bug#6525).
21986 * simple.el (eval-expression): Note what it does if called
21987 interactively (bug#6495).
21989 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
21991 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
21992 Use pop-to-buffer buffer-or-name if it is nil.
21994 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21995 Remove switch-to-buffer.
21997 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21999 * files.el (make-directory): Clarify that an error will be raised
22000 if there's an error (bug#6397).
22002 * startup.el (initial-buffer-choice): Add `none' as a choice
22005 * subr.el (add-hook): Clarify section about buffer-local hooks
22008 * dired.el (dired-flagged): Clarify doc string (bug#6117).
22010 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22012 * tabify.el (untabify): Preserve the current column so that point
22013 doesn't move (bug#6032).
22015 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22017 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
22018 Rewrite to avoid awkward possessive "s" (bug#5986).
22020 2011-07-13 Glenn Morris <rgm@gnu.org>
22022 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
22023 (dired-insert-directory): Give a message the first time
22024 if ls is found not to support --dired.
22026 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22028 * simple.el (toggle-truncate-lines): Clarify what is toggled
22029 (bug#5580). Text by Drew Adams.
22031 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22033 * simple.el (blink-matching-open): Make the error message from the
22034 last change less verbose.
22036 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
22038 * font-lock.el (font-lock-comment-face): Use the high contrast
22039 "yellow" color for font-lock-comment-face on low color terminals
22040 using a dark background color (bug#4221).
22042 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22044 * dired.el (dired-insert-set-properties): Make the doc string
22045 reflect what it does now (bug#5325).
22047 * simple.el (blink-matching-open): Say that we were unable to find
22048 the match within the limit, if we're limited (bug#5122).
22050 * international/mule-cmds.el (prefer-coding-system): Add an
22051 example (bug#4869).
22053 * progmodes/etags.el (tags-search): Document `file-list-form'
22056 2011-07-13 Lawrence Mitchell <wence@gmx.li>
22058 * net/browse-url.el (browse-url-default-browser)
22059 (browse-url-browser-function): Make the default browser choice a
22060 bit more logical (bug#4300). Also clean up the doc string.
22062 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22064 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
22065 binary endings (bug#4440).
22067 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22069 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
22070 which can be pretty annoying (bug#8971).
22072 * jka-compr.el (jka-compr-verbose): New variable, and use
22073 throughout (bug#8971).
22075 * info.el (Info-find-file): Fall back on the installation
22076 directory if we can't find the info node anywhere else.
22078 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
22080 * vc/vc.el (vc-revert-file):
22081 Don't set file time-stamp in the past. (Bug#5181)
22083 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22085 * files.el (after-find-file): Give a better error message when
22086 trying to find a symlink that points to a file that doesn't exist
22089 * progmodes/cc-vars.el: Remove (probably) misleading comment
22092 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
22094 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
22096 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22098 * mouse-sel.el: Hack restoring functionality, while keeping
22099 compatibility with 2010-07-03 changes to mouse selection.
22100 (mouse-sel-primary-overlay): New var.
22101 (mouse-sel-selection-alist): Use it.
22102 (mouse-sel-mode): Doc fix; remove points that are default features
22105 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
22107 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22108 Fix previous fix (bug#2490).
22110 2011-07-12 Roland Winkler <winkler@gnu.org>
22112 * textmodes/bibtex.el (bibtex-initialize):
22113 Use pop-to-buffer-same-window.
22114 (bibtex-search-entries): Fix interactive call.
22116 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22118 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22119 Fontise bytecomp Error lines more correctly (bug#2490).
22120 Fix suggested by Johan BockgĂ¥rd.
22122 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
22124 * dired-x.el (dired-guess-default): Use `delete-dups'.
22126 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22128 * dired.el (dired-mark-prompt):
22129 * dired-aux.el (dired-read-shell-command): Doc fix.
22131 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22133 * mail/sendmail.el (sendmail-query-once):
22134 Use `customize-save-variable' unconditionally, now that it works under
22137 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22139 * cus-edit.el (custom-file): Take an optional no-error variable.
22140 (customize-save-variable): Set the variable, and give a warning if
22141 running under "emacs -q".
22143 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
22145 * loadhist.el (unload-feature-special-hooks):
22146 Add `auto-coding-functions', `fill-nobreak-predicate' and
22147 `find-directory-functions' (bug#5327).
22149 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22151 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
22153 * cus-edit.el (custom-guess-name-alist): -alist variables should
22154 use the `alist' type (bug#3120). Suggested by Drew Adams.
22156 * printing.el: Add documentation to all the `pr-toggle-' commands.
22158 2011-07-11 Leo Liu <sdl.web@gmail.com>
22160 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
22161 backends where it makes sense (bug#2623).
22163 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22165 * dired-x.el (dired-guess-default): Remove duplicate shell command
22166 entries (bug#2028).
22167 (dired-guess-default): Fix grammar in doc string (bug#2028).
22168 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
22170 * subr.el (remove-duplicates): New conveniency function.
22172 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
22174 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
22177 2011-07-10 Martin Rudalics <rudalics@gmx.at>
22179 * window.el (display-buffer-normalize-default): Don't invert
22180 meaning of even-window-heights. Reported by Eli Zaretskii
22183 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
22185 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
22187 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
22189 * window.el (display-buffer): Fix arguments to
22190 display-buffer-reuse-window in last change.
22192 * faces.el (link): Use a less saturated blue on light backgrounds.
22194 * startup.el (fancy-startup-text, fancy-about-text)
22195 (fancy-startup-tail): Use font-lock faces, for background safety.
22197 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
22199 * emulation/viper-cmd.el (viper-change-state-to-vi):
22200 Limit triggering of abbrev expansion (Bug#9038).
22202 2011-07-09 Martin Rudalics <rudalics@gmx.at>
22204 * window.el (display-buffer-default-specifiers): Remove.
22205 (display-buffer-macro-specifiers): Remove default specifiers.
22206 (display-buffer-alist): Default to nil.
22207 (display-buffer-reuse-window): New optional argument other-window.
22208 (display-buffer-pop-up-window): Allow splitting internal
22209 windows. Check whether a live window was created.
22210 (display-buffer-other-window-means-other-frame)
22211 (display-buffer-normalize-arguments): Rename to
22212 display-buffer-normalize-argument and rewrite. Set the
22213 other-window specifier.
22214 (display-buffer-normalize-special): New function.
22215 (display-buffer-normalize-options): Rename to
22216 display-buffer-normalize-default and rewrite.
22217 (display-buffer-normalize-options-inhibit): Remove.
22218 (display-buffer-normalize-specifiers): Rewrite.
22219 (display-buffer): Process other-window specifier and call
22220 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
22222 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
22223 (display-buffer-alist-set): Don't handle 'unset default values.
22224 (display-buffer-in-window, display-buffer-alist-set):
22225 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
22226 <tassilo@member.fsf.org>.
22228 2011-07-09 Leo Liu <sdl.web@gmail.com>
22230 * register.el (insert-register): Restore accidental change on
22231 2011-06-26. (Bug#9028)
22233 2011-07-09 Glenn Morris <rgm@gnu.org>
22235 * subr.el (remq): Handle the empty list. (Bug#9024)
22237 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
22239 * mail/sendmail.el (send-mail-function): No longer delay custom
22241 * custom.el (custom-initialize-delay): Doc fix.
22243 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22245 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
22247 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
22249 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
22250 human-friendly prompt.
22252 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22254 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
22255 provided by a particular plugin.
22257 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
22259 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
22260 save customizations (with "emacs -Q"), just set the variable
22261 instead of erroring out.
22263 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22265 2011-07-08 Juri Linkov <juri@jurta.org>
22267 * arc-mode.el (archive-zip-expunge, archive-zip-update)
22268 (archive-zip-update-case): Use 7z if found by `executable-find'.
22269 The order of searching the available programs is the same as in
22270 `archive-zip-extract' (bug#8968).
22272 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22274 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
22275 (menu-bar-options-menu): Tweak descriptions.
22277 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22279 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
22280 menu items into verb phrases (bug#1421). Also refill to fit under
22283 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22285 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
22286 (Info-read-node-name): Doc fix (Bug#1084).
22288 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
22289 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
22290 (end-of-sexp, beginning-of-sexp)
22291 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
22292 (forward-symbol, forward-same-syntax, word-at-point)
22293 (sentence-at-point): Doc fix (Bug#1144).
22295 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22297 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
22298 should cover it (bug#1281).
22300 * cus-edit.el (custom-show): Mark as obsolete.
22302 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
22303 negotiation fails, then possibly try again with a non-encrypted
22304 connection (bug#9017).
22306 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
22309 2011-07-07 Richard Stallman <rms@gnu.org>
22311 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
22312 property, and handle its changed format.
22313 Look for the correct line number.
22314 Use file's line contents (but not past first =) to find
22315 correct line in message.
22317 2011-07-07 Kenichi Handa <handa@m17n.org>
22319 * international/characters.el (build-unicode-category-table):
22321 (unicode-category-table): Set it by unicode-property-table-internal.
22323 * international/mule-cmds.el (char-code-property-alist): Move to
22325 (get-char-code-property): Call unicode-property-table-internal to
22326 load a file. Call get-unicode-property-internal where necessary.
22327 (put-char-code-property): Call unicode-property-table-internal to
22328 load a file. Call put-unicode-property-internal where necessary.
22329 put-unicode-property-internal where necessary.
22330 (char-code-property-description):
22331 Call unicode-property-table-internal to load a file.
22333 * international/charprop.el:
22334 * international/uni-bidi.el:
22335 * international/uni-category.el:
22336 * international/uni-combining.el:
22337 * international/uni-comment.el:
22338 * international/uni-decimal.el:
22339 * international/uni-decomposition.el:
22340 * international/uni-digit.el:
22341 * international/uni-lowercase.el:
22342 * international/uni-mirrored.el:
22343 * international/uni-name.el:
22344 * international/uni-numeric.el:
22345 * international/uni-old-name.el:
22346 * international/uni-titlecase.el:
22347 * international/uni-uppercase.el: Regenerate.
22349 * loadup.el: Load international/charprop.el before
22350 international/characters.
22352 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22354 * window.el (next-buffer, previous-buffer): Signal an error if
22355 called from a minibuffer window.
22357 * bindings.el: Revert 2011-07-04 change.
22359 2011-07-06 Richard Stallman <rms@gnu.org>
22361 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
22362 (rmail-mime-insert-bulk, rmail-mime-insert-text):
22363 Treat markers like ints.
22364 (rmail-mime-entity): Doc fix.
22366 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22368 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
22369 defcustom again for backwards compatibility.
22371 * simple.el (shell-command-on-region): Fill.
22373 * dired-aux.el (dired-kill-line): Add a doc string.
22375 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
22376 to "\\sw\\|\\s_" (bug#358).
22378 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
22379 (dired-unmark-backward): Ditto.
22380 (dired-flag-backup-files): Ditto.
22382 * dired-x.el (dired-mark-sexp): Ditto.
22384 2011-07-06 Richard Stallman <rms@gnu.org>
22386 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
22387 (rmail-mime-entity): New arg TRUNCATED.
22388 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
22390 (rmail-mime-save): Warn if entity is truncated.
22391 (rmail-mime-toggle-hidden): Likewise, for showing.
22392 (rmail-mime-process-multipart): Record when an entity is truncated.
22394 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
22395 if ENTITY is a string.
22397 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22399 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
22400 of faces when `M-C-x'-ing their definitions (bug#8378).
22401 Also clean up the code slightly.
22403 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
22404 because that makes the colors go away.
22406 * mail/sendmail.el (send-mail-function): Change the default to
22407 `sendmail-query-once'.
22408 (sendmail-query-once): Add an autoload cookie.
22410 * net/network-stream.el (network-stream-open-starttls): Try using
22411 a plain connection even if the server offered STARTTLS, and we
22412 kinda wanted to use it, if Emacs doesn't have any STARTTLS
22413 capability. This should make smtpmail.el work in slightly more
22416 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
22418 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22420 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
22422 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
22424 * progmodes/sql.el: Version 3.0
22425 (sql-product-alist): Add product :completion-object,
22426 :completion-column, and :statement attributes.
22427 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
22428 (sql-mode-syntax-table): Mark all punctuation.
22429 (sql-font-lock-keywords-builder): Temporarily remove fallback on
22431 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
22432 (sql-mode-oracle-font-lock-keywords): Improve.
22433 (sql-oracle-show-reserved-words): New function for development.
22434 (sql-product-font-lock): Simplify for source code buffers.
22435 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
22437 (sql-highlight-product): Set product specific syntax table.
22438 (sql-mode-map): Add statement movement functions.
22439 (sql-ansi-statement-starters, sql-oracle-statement-starters):
22441 (sql-statement-regexp, sql-beginning-of-statement)
22442 (sql-end-of-statement, sql-signum): New functions.
22443 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
22444 (sql-show-sqli-buffer): Bug fix.
22445 (sql-interactive-mode): Store connection data as buffer local.
22446 (sql-connect): Add NEW-NAME parameter. Redesign interaction
22447 with sql-interactive-mode.
22448 (sql-save-connection): Save buffer local settings.
22449 (sql-connection-menu-filter): Change menu entry name.
22450 (sql-product-interactive): Bug fix.
22451 (sql-preoutput-hold): New variable.
22452 (sql-interactive-remove-continuation-prompt): Bug fixes.
22453 (sql-debug-redirect): New variable.
22454 (sql-str-literal): New function.
22455 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
22457 (sql-oracle-save-settings, sql-oracle-restore-settings)
22458 (sql-oracle-list-all, sql-oracle-list-table): New functions.
22459 (sql-completion-object, sql-completion-column)
22460 (sql-completion-sqlbuf): New variables.
22461 (sql-build-completions-1, sql-build-completions)
22462 (sql-try-completion): New functions.
22463 (sql-read-table-name): Use them.
22464 (sql-contains-names): New buffer local variable.
22465 (sql-list-all, sql-list-table): Use it.
22466 (sql-oracle-completion-types): New variable.
22467 (sql-oracle-completion-object, sql-sqlite-completion-object)
22468 (sql-postgres-completion-object): New functions.
22470 2011-07-06 Glenn Morris <rgm@gnu.org>
22472 * window.el (pop-to-buffer): Doc fix.
22474 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
22476 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
22478 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
22480 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
22482 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
22484 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
22486 * button.el (button): Inherit from link face. Suggested by Dan
22489 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22491 * progmodes/gdb-mi.el: Fit in 80 columns.
22492 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
22495 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
22496 if imenu is simply not configured (bug#8941).
22498 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
22500 * allout.el (allout-post-undo-hook): New allout outline-change
22501 event hook to signal undo activity.
22502 (allout-post-command-business): Run allout-post-undo-hook if an
22503 undo just occurred.
22504 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
22505 * allout-widgets.el (allout-widgets-after-undo-function):
22506 Ensure the integrity of the current item's decoration after it has been
22507 in the vicinity of an undo.
22508 (allout-widgets-mode): Include allout-widgets-after-undo-function
22509 on the new allout-post-undo-hook.
22511 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22513 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
22514 Let define-derived-mode define it.
22515 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
22516 cycles of abbrev-table inheritance (bug#8998).
22518 2011-07-05 Roland Winkler <winkler@gnu.org>
22520 * textmodes/bibtex.el: Add support for biblatex.
22521 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
22522 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
22523 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
22524 (bibtex-entry-alist, bibtex-field-alist): New variables.
22525 (bibtex-entry-field-alist): Obsolete alias for
22526 bibtex-BibTeX-entry-alist.
22527 (bibtex-entry-alist, bibtex-field-alist): New widgets.
22528 (bibtex-set-dialect): New command.
22529 (bibtex-entry-type, bibtex-entry-head)
22530 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
22531 Bind via bibtex-set-dialect.
22532 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
22533 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
22534 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
22535 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
22536 Define via bibtex-set-dialect.
22537 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
22538 Obey bibtex-no-opt-remove-re.
22539 (bibtex-vec-push, bibtex-vec-incr): New functions.
22540 (bibtex-format-entry, bibtex-field-list)
22541 (bibtex-print-help-message, bibtex-validate)
22542 (bibtex-search-entries): Use new format of bibtex-entry-alist.
22544 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22546 * progmodes/compile.el (compilation-goto-locus):
22547 * net/tramp-cmds.el (tramp-append-tramp-buffers):
22548 * bs.el (bs-cycle-next, bs-cycle-previous):
22549 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
22550 * bindings.el (mode-line-other-buffer):
22551 * autoinsert.el (auto-insert):
22552 * arc-mode.el (archive-extract):
22553 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
22555 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22557 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
22558 Fix check of `emacs-lock-unlockable-modes'.
22559 Coerce true values of `emacs-lock--try-unlocking' to t.
22561 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22563 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
22564 * emacs-lock.el: New file.
22566 2011-07-05 Julien Danjou <julien@danjou.info>
22568 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
22569 than `boundp' to check if face is set.
22571 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22573 * register.el (registerv-make):
22574 * window.el (window-min-height): Fix typos in docstrings.
22576 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
22578 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
22581 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22583 * server.el (server-execute): Catch quit and call
22584 `server-return-error' to pass the error back to emacsclient and
22585 close the connection (bug#8942).
22587 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
22589 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
22590 insecure exception for current topic. Also note that auto-saves
22591 are handled differently.
22593 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
22594 State variables for tracking auto-save inhibition situation.
22596 (allout-write-contents-hook-handler): Rename from
22597 'allout-write-file-hook-handler', and describe how it depends on
22598 write-contents-functions sensitivity to non-nil value to prevent
22601 (allout-auto-save-hook-handler): Remove. auto-save does not check
22602 this in individual buffers, only in the starting buffer, so this
22603 is not the right way for us to inhibit auto-save in a buffer
22604 according to its condition.
22606 (allout-mode): Use new allout-write-contents-hook-handler, and
22607 only with write-contents-functions. Remove auto-save provisions -
22608 they're implemented elsewhere.
22610 (allout-before-change-handler): If undo is in progress, note that
22611 for attention of allout-post-command-business.
22613 (allout-post-command-business): If the command we're following was
22614 an undo, check for change in the status of encrypted items and
22615 adjust auto-save inhibitions accordingly.
22617 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
22618 according to whether there are or aren't any plain-text topics
22619 pending encryption.
22621 (allout-inhibit-auto-save-info-for-decryption):
22622 Adjust buffer-saved-size and some allout state to inhibit auto-saves
22623 if there are plain-text topics pending encryption.
22625 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
22626 buffer-saved-size and some allout state to not inhibit auto-saves
22627 if there are no longer any plain-text topics pending encryption.
22629 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
22630 No longer provide for exemption of the current topic.
22632 2011-07-04 Juri Linkov <juri@jurta.org>
22634 Add 7z operations to delete and save changed members (bug#8968).
22635 * arc-mode.el (archive-7z-expunge, archive-7z-update):
22637 (archive-7z-write-file-member): New function.
22638 (archive-7z-summarize): Fix the number of dashes in the
22641 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22643 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
22646 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
22648 * bindings.el: Ignore next-buffer and previous-buffer in
22649 minibuffer-local-map.
22651 * font-lock.el (font-lock-builtin-face): Change light background
22652 color to dark slate blue (Bug#6693).
22654 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
22656 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
22658 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22660 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
22661 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22662 Add switch-to-buffer.
22664 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22666 * isearch.el (isearch-search-fun-function): Clarify further the
22667 meaning of the function returned.
22669 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
22671 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
22673 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
22674 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
22676 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
22677 `tramp-default-remote-path' does not exist.
22678 (tramp-send-command-and-read): New optional argument NOERROR.
22679 (tramp-open-connection-setup-interactive-shell)
22680 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
22681 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
22682 (tramp-process-sentinel): Flush also process' connection property.
22683 (tramp-sh-handle-start-file-process): Do not set process
22684 sentinel. It is done now ...
22685 (tramp-maybe-open-connection): ... here. (Bug#8929)
22687 2011-07-04 MON KEY <monkey@sandpframing.com>
22689 * play/animate.el (animate-string): Doc fixes and allow changing
22690 the buffer name (bug#5417).
22692 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22694 * play/animate.el (animation-buffer-name): Rename from *animate*.
22696 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
22698 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
22699 This is simpler and helps future-proof the code.
22700 (timer-until): Use time-subtract and float-time.
22701 (timer--time-less-p): Use time-less-p.
22703 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22705 * type-break.el (timep): Use the value of `float-time' to avoid a
22706 byte-compiler warning.
22708 * server.el (server-eval-and-print): Return any result, even nil.
22710 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
22712 * type-break.el: Accept time formats that the builtins accept.
22713 (timep, type-break-time-difference): Accept any format that
22714 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
22715 This is simpler and helps future-proof the code.
22716 (type-break-time-difference): Round rather than ignoring
22717 subseconds components.
22719 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22721 * info.el (Info-apropos-matches): Make non-interactive, since it
22722 doesn't seem to do anything useful as a command (bug#8829).
22724 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
22726 * frame.el (frame-background-mode, frame-set-background-mode):
22727 Move from faces.el.
22728 (frame-default-terminal-background): New function.
22730 * custom.el (custom-push-theme): Don't record faces in `changed'
22731 theme; this doesn't work correctly for per-frame face settings.
22732 (disable-theme): Use face-set-after-frame-default to reset faces.
22733 (custom--frame-color-default): New function.
22735 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22737 * dired.el (dired-flagging-regexp): Remove unused variable
22740 2011-03-29 Kevin Ryde <user42@zip.com.au>
22742 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22743 `perl-Test2' extend to match possible "fail #N" rep count
22746 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22748 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
22749 `smtpmail-via-smtp' now returns the error instead of nil.
22751 * isearch.el (isearch-search-fun-function): Clarify the doc string
22754 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
22756 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
22757 unnecessary spaces (bug#8987).
22759 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22761 * net/network-stream.el (open-network-stream): Use the
22762 :end-of-capability command thoughout.
22764 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
22766 * net/network-stream.el (open-network-stream): Add the
22767 :end-of-capability command parameter, used by pop3.el.
22769 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22771 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
22773 * fringe.el (fringe-query-style): Remove redundant text " (type ?
22774 for list)" (bug#6475).
22776 * files.el (file-expand-wildcards): Ignore non-readable
22777 sub-directories while trying to find matches instead of signaling
22778 an error (bug#6297).
22780 * man.el (Man-reference-regexp): Allow matching possible
22781 word-wrapped references (bug#6289).
22783 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
22784 for consistency with the other vc buffers (bug#6197).
22785 (vc-checkin): Ditto.
22787 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
22789 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
22791 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22793 * custom.el (defcustom): Clarify that :set is only used in the
22794 Customize user interface (bug#6089).
22796 * progmodes/flymake.el (flymake-mode): If the buffer isn't
22797 associated with a file, refuse to run instead of erroring out
22800 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
22801 the doc string, since it appears that using `fill-column' always
22802 controls the width (bug#7845).
22804 * simple.el (shell-command-on-region): Say where the error output
22805 went if `shell-command-default-error-buffer' is set (bug#6857).
22807 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
22809 * allout.el (allout-yank-processing): Adjust cursor position for
22810 backwards-deleted space.
22812 (allout-rebullet-heading): Register changes with
22813 allout-exposure-changed-hook, so the modified topic is properly
22816 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22818 * minibuffer.el (completion-in-region): Document PREDICATE
22821 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
22822 of keyword/argument pairs (bug#6904).
22824 * replace.el (multi-occur):
22825 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
22827 2011-07-02 Drew Adams <drew.adams@oracle.com>
22829 * dired.el (dired-mark-if): Make the message about whether it's
22830 marking or unmarking clearer (bug#8523).
22832 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22834 * disp-table.el (display-table-print-array): New function.
22835 (describe-display-table): Use it to print the vectors more pretty
22838 2011-07-02 Martin Rudalics <rudalics@gmx.at>
22840 * window.el (window-state-get-1): Don't assign clone numbers.
22841 Add clone-of item to list of window parameters.
22842 (window-state-put-2): Don't process clone numbers.
22843 (display-buffer-alist): Fix doc-string.
22845 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
22847 * subr.el (remq): Don't allocate if it's not needed.
22848 (keymap--menu-item-binding, keymap--menu-item-with-binding)
22849 (keymap--merge-bindings): New functions.
22850 (keymap-canonicalize): Use them to refine the canonicalization.
22851 * minibuffer.el (minibuffer-local-completion-map)
22852 (minibuffer-local-must-match-map): Move initialization from C.
22853 (minibuffer-local-filename-completion-map): Move initialization from C;
22854 don't inherit from anything here.
22855 (minibuffer-local-filename-must-match-map): Make obsolete.
22856 (completing-read-default): Use make-composed-keymap to combine
22857 minibuffer-local-filename-completion-map with either
22858 minibuffer-local-must-match-map or
22859 minibuffer-local-filename-completion-map.
22861 2011-07-01 Glenn Morris <rgm@gnu.org>
22863 * type-break.el (type-break-time-sum): Use dolist.
22865 * textmodes/flyspell.el (flyspell-word-search-backward):
22866 Replace CL function.
22868 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22870 * mouse.el (mouse--strip-first-event): New function.
22871 (function-key-map): Use it to map fringe clicks to normal clicks
22874 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
22875 (vc-bzr-revision-completion-table): Add support for annotate and date.
22877 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
22878 inherit from parent.
22880 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22882 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
22883 (dired-show-file-type): Doc fixup (bug#8818).
22885 * dired.el (dired-mode): Fix up the doc string as suggested by
22886 Drew Adams (bug#8817).
22888 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
22889 cookie, since the manual says that it should be possible to add
22890 this function to `find-file-hook' (bug#8709).
22892 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
22894 * progmodes/cfengine.el: Moved all cfengine3.el functionality
22895 here. Noted Ted Zlatanov as the maintainer.
22896 (cfengine-common-settings, cfengine-common-syntax): New functions
22897 to set up common things between `cfengine-mode' and
22899 (cfengine3-mode): New mode.
22900 (cfengine3-defuns cfengine3-defuns-regex
22901 (cfengine3-class-selector-regex cfengine3-category-regex)
22902 (cfengine3-vartypes cfengine3-font-lock-keywords)
22903 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
22904 (cfengine3-indent-line): Add from cfengine3.el.
22906 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
22908 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
22910 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
22912 2011-07-01 Martin Rudalics <rudalics@gmx.at>
22914 * window.el (same-window-buffer-names, same-window-regexps)
22915 (same-window-p, special-display-frame-alist)
22916 (special-display-popup-frame, special-display-function)
22917 (special-display-buffer-names, special-display-regexps)
22918 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
22919 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22920 (split-window-preferred-function, split-height-threshold)
22921 (split-width-threshold, even-window-heights)
22922 (display-buffer-mark-dedicated, window-splittable-p)
22923 (split-window-sensibly, window-safely-shrinkable-p):
22925 (display-buffer): Don't spread args with function specifier
22926 because special-display-popup-frame won't like it.
22928 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
22930 Time-stamp simplifications and fixes.
22931 These improve accuracy slightly, and future-proof the code
22932 against some potential changes to current-time format.
22934 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
22935 by using time-since and float-time.
22937 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
22938 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
22939 + NNN microseconds".
22941 * type-break.el (type-break-time-sum): Rewrite using time-add.
22943 * play/hanoi.el (hanoi-current-time-float): Remove.
22944 All uses replaced by float-time.
22946 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
22947 This yields a more-accurate answer.
22948 (rng-time-to-float): Remove; no longer needed.
22950 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
22952 * calendar/timeclock.el (timeclock-seconds-to-time):
22953 Defalias to seconds-to-time, since they're the same thing.
22955 * emacs-lisp/elp.el (elp-elapsed-time):
22956 * emacs-lisp/benchmark.el (benchmark-elapse):
22957 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
22959 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22961 * window.el (bury-buffer): Don't iconify the only frame.
22962 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
22963 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
22965 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
22967 * eshell/em-smart.el (eshell-smart-display-navigate-list):
22968 Add mouse-yank-primary.
22970 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
22972 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
22974 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22976 * emacs-lisp/find-func.el (find-library--load-name): New fun.
22977 (find-library-name): Use it to find relative load names when provided
22978 absolute file name (bug#8803).
22980 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
22982 * textmodes/flyspell.el (flyspell-word): Consider words that
22983 differ only in case as potential doublons (bug#5687).
22985 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
22986 Remove two rather uninteresting debugging-like messages to make
22987 debbugs.el more silent.
22989 * comint.el (comint-password-prompt-regexp): Accept "Response" as
22990 a password-like phrase.
22992 2011-06-30 Masatake YAMATO <yamato@redhat.com>
22994 * progmodes/cc-guess.el: New file.
22996 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
22998 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
22999 derived from `c-basic-common-init'.
23001 * progmodes/cc-mode.el (top-level): Require cc-guess.
23002 (c-basic-common-init): Use `cc-choose-style-for-mode'.
23004 2011-06-30 Lawrence Mitchell <wence@gmx.li>
23006 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
23008 2011-06-30 Alan Mackenzie <acm@muc.de>
23010 * progmodes/cc-engine.el (c-guess-continued-construct):
23011 Correct the handling of template-args-cont, particularly for when font
23012 lock is disabled. Name this case as "CASE G".
23014 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
23016 * allout.el (allout-yank-processing): Fix injection of extra space
23017 between bullet and non-whitespace character in first topic when
23018 pasting, ensuring that the actual spacing in the pasted topic
23019 following the bullet char is preserved. This extra space was
23020 causing pasted encrypted topics to get a decrypted status even
23021 when the content was actually still encrypted. Now the decryption
23022 status from before the paste is preserved.
23024 (allout-flag-region): Set all allout overlays so they evaporate
23025 when reduced to zero length (evanescent), to prevent overlay
23028 2011-06-30 Glenn Morris <rgm@gnu.org>
23030 * w32-fns.el (w32-charset-info-alist): Declare.
23032 * find-dired.el (find-grep-options): Simplify.
23034 * term/ns-win.el (ns-set-resource): Declare.
23036 * ses.el (row, col): Declare dynamic variables honestly.
23038 * textmodes/reftex-parse.el (index-tags): Declare.
23040 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
23042 * cus-edit.el (customize-push-and-save): New function.
23044 * files.el (hack-local-variables-confirm): Use it.
23046 * custom.el (load-theme): New arg NO-CONFIRM.
23047 Use customize-push-and-save (Bug#8720).
23048 (custom-enabled-themes): Doc fix.
23050 * cus-theme.el (customize-create-theme)
23051 (custom-theme-merge-theme): Callers to load-theme changed.
23053 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23055 * thingatpt.el (thing-at-point-short-url-regexp): Require that
23056 short URLs have at least one dot in them (bug #7614).
23058 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
23059 nil, because using a pty is apparently too slow (bug #895).
23061 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
23063 * mail/sendmail.el (sendmail-query-once): New function.
23064 (sendmail-query-once-function): New variable.
23066 2011-06-29 Glenn Morris <rgm@gnu.org>
23068 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
23070 * ses.el (top-level): Require cl when compiling.
23071 (ses-set-localvars): Fix error statement.
23072 Call it at compile time to silence a storm of warnings.
23074 2011-06-29 Martin Rudalics <rudalics@gmx.at>
23076 * window.el (normalize-live-buffer): Rename to
23077 window-normalize-buffer.
23078 (normalize-live-frame): Rename to window-normalize-frame.
23079 (normalize-any-window): Rename to window-normalize-any-window.
23080 (normalize-live-window): Rename to window-normalize-live-window.
23081 (make-window-atom): Rename to window-make-atom.
23082 (window-resize-reset): Rename to window--resize-reset.
23083 (window-resize-reset-1): Rename to window--resize-reset-1.
23084 (resize-mini-window): Rename to window--resize-mini-window.
23085 (resize-subwindows-skip-p): Rename to
23086 window--resize-subwindows-skip-p.
23087 (resize-subwindows-normal): Rename to
23088 window--resize-subwindows-normal.
23089 (resize-subwindows): Rename to window--resize-subwindows.
23090 (resize-other-windows): Rename to window--resize-siblings.
23091 (resize-this-window): Rename to window--resize-this-window.
23092 (resize-root-window): Rename to window--resize-root-window.
23093 (resize-root-window-vertically): Rename to
23094 window--resize-root-window-vertically.
23095 (normalize-buffer-to-display): Rename to
23096 window-normalize-buffer-to-display.
23097 (normalize-buffer-to-switch-to): Rename to
23098 window-normalize-buffer-to-switch-to.
23099 Correspondingly update all callers of the functions listed
23101 (display-buffer-alist, display-buffer-normalize-arguments)
23102 (display-buffer-normalize-options, display-buffer)
23103 (display-buffer-alist-set): Use "function" instead of
23106 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
23108 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
23109 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
23110 debbugs.gnu.org. Mention acknowledgment email.
23112 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
23114 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
23115 buffer multibyteness, since it shouldn't matter.
23117 2011-06-28 Martin Rudalics <rudalics@gmx.at>
23119 * window.el (display-buffer-in-side-window): Handle dedicated
23120 windows as in display-buffer-reuse-window.
23121 (display-buffer-normalize-alist): Use value of override
23123 (display-buffer-normalize-specifiers): Use value of
23124 other-window-means-other-frame specifier.
23125 (display-buffer-alist): Rewrite some texts in widgets.
23126 (display-buffer): Spread arguments when calling function
23127 specified by fun-with-args.
23129 2011-06-28 Deniz Dogan <deniz@dogan.se>
23131 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
23134 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
23135 selectors (Bug#5732).
23136 (css-proprietary-nmstart-re): Use `regexp-opt'.
23138 2011-06-27 Jari Aalto <jari.aalto@cante.net>
23140 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
23141 (eshell-ls-date-format): New defcustom.
23142 (eshell-ls-file): Use it.
23144 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23146 * help-fns.el (describe-variable): Fix message for terminal-local vars.
23148 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
23150 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
23151 (ange-ftp-make-tmp-name): New arg.
23152 (ange-ftp-file-local-copy): Use it.
23154 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
23156 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
23157 no-conversion (Bug#8870).
23159 2011-06-27 Martin Rudalics <rudalics@gmx.at>
23161 * window.el (window-right, window-left, window-child)
23162 (window-child-count, window-last-child)
23163 (window-iso-combination-p, walk-window-tree-1)
23164 (window-atom-check-1, window-tree-1, delete-window)
23165 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
23166 new naming conventions - window-vchild, window-hchild,
23167 window-next and window-prev are now called window-top-child,
23168 window-left-child, window-next-sibling and window-prev-sibling
23170 (resize-window-reset): Rename to window-resize-reset.
23171 (resize-window-reset-1): Rename to window-resize-reset-1.
23172 (resize-window): Rename to window-resize.
23173 (window-min-height, window-min-width)
23174 (resize-mini-window, resize-this-window, resize-root-window)
23175 (resize-root-window-vertically, adjust-window-trailing-edge)
23176 (enlarge-window, shrink-window, maximize-window)
23177 (minimize-window, delete-window, quit-restore-window)
23178 (split-window, balance-windows, balance-windows-area-adjust)
23179 (balance-windows-area, window-state-put-2)
23180 (display-buffer-even-window-sizes, display-buffer-set-height)
23181 (display-buffer-set-width, set-window-text-height)
23182 (fit-window-to-buffer): Rename all "resize-window" prefixed
23183 calls to use the "window-resize" prefix convention.
23184 (display-buffer-alist): Fix symbol for label specifier.
23185 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
23186 corresponding specifier.
23187 Reported by Juanma Barranquero <lekktu@gmail.com>.
23189 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23191 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
23193 (ses-call-printer): Does not pass an empty string to formatter when the
23194 cell is empty to keep from barking printer Calc math-format-value.
23196 2011-06-27 Richard Stallman <rms@gnu.org>
23198 * battery.el (battery-mode-line-limit): New variable.
23199 (battery-update): Handle it.
23201 * mail/rmailmm.el (rmail-mime-process-multipart):
23202 Handle truncated messages.
23204 2011-06-27 Glenn Morris <rgm@gnu.org>
23206 * progmodes/flymake.el (flymake-err-line-patterns):
23207 Allow for column numbers in the ant/javac pattern. (Bug#8866)
23209 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23211 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
23212 (ses--clean-!, ses--clean-_): New functions.
23213 (ses-range): Add configurability of readout order, and conversion
23216 * ses.el (ses-repair-cell-reference-all): New function.
23217 (ses-cell-symbol): Set macro as safe, so that it can be used in
23220 * ses.el: Update cycle detection algorithm.
23221 (ses-localvars): Add ses--Dijkstra-attempt-nb and
23222 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
23223 (ses-set-localvars): New function.
23224 (ses-make-cell): Add property-list as a cell element.
23225 (ses-cell-property-get-fun, ses-cell-property-get)
23226 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
23227 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
23229 (ses-cell-property-set, ses-cell-property-pop)
23230 (ses-cell-property-get-handle): New macro.
23231 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
23232 New aliases, used for code readability.
23233 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
23235 (ses-self-reference-early-detection): New defcustom.
23236 (ses-formula-references): Robustify against self-referring cells.
23237 (ses-mode): Use ses-set-localvars.
23238 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
23239 before lauching the update processing.
23240 (ses-initialize-Dijkstra-attempt): New function.
23241 (ses-recalculate-cell): Update for cycle detection based on
23242 Dijkstra algorithm.
23244 * ses.el: Fix commenting and indenting convention.
23246 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23248 * bs.el (bs-cycle-next): Complete last change.
23250 2011-06-27 Drew Adams <drew.adams@oracle.com>
23252 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
23254 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
23256 * net/network-stream.el (network-stream-open-starttls):
23257 Don't re-get capabilities unless we've reestablished connection.
23258 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
23260 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
23261 to binary to possibly avoid line encoding issues on Windows (among
23264 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23266 * net/network-stream.el (open-network-stream): Return an :error
23267 saying what the problem was, if possible.
23269 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
23272 * net/network-stream.el (network-stream-open-starttls): If we
23273 wanted to use STARTTLS, and the server offered it, but we weren't
23274 able to because we had no STARTTLS support, then close the connection.
23275 (open-network-stream): Return an :error element, if present.
23277 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23279 * hl-line.el (hl-line-sticky-flag): Doc fix.
23280 (global-hl-line-sticky-flag): New option (Bug#8323).
23281 (global-hl-line-highlight): Obey it.
23283 * vc/vc.el (vc-revert-show-diff): Default to t.
23285 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
23287 * allout-widgets.el (allout-widgets-post-command-business):
23288 Stop decorating intermediate isearch matches. They're not being
23289 undecorated when an isearch is continued past, and isearch
23290 automatically collapses them. This leads to "widget leaks", where
23291 decorated items accumulate in collapsed areas. Lines with lots of
23292 hidden widgets can slow down cursor travel, substantially.
23293 Too much complicated machinery would be needed to ensure undecoration,
23294 so we're doing without this nicety.
23296 (allout-widgets-tally-string): Don't try to do a hash-table-count
23297 of allout-widgets-tally when it's nil. This eliminates spurious "Error
23298 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
23299 *Messages* when allout-widgets-maintain-tally is t.
23301 2011-06-26 Martin Rudalics <rudalics@gmx.at>
23303 * window.el (display-buffer-normalize-argument): Rename to
23304 display-buffer-normalize-arguments. Handle special meaning of
23305 LABEL argument. Respect special-display-function when popping up
23306 a new frame. Fix code searching for a window showing the buffer
23308 (display-buffer-normalize-specifiers):
23309 Call display-buffer-normalize-arguments.
23310 (display-buffer-in-window): Don't undedicate the window if its
23311 buffer remains the same.
23312 Reported by Drew Adams <drew.adams@oracle.com>.
23313 (display-buffer-alist): Add choice for same-window macro
23315 (display-buffer): Mention special meaning of LABEL argument in
23316 doc-string. Fix quoting. Don't pop up a new frame even as
23319 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
23321 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
23322 avoid deleting the current window in some cases (bug#8911).
23324 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
23326 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
23329 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23331 * net/network-stream.el (network-stream-open-starttls):
23332 Use built-in TLS support if `gnutls-available-p' is true.
23333 (network-stream-open-tls): Ditto.
23335 2011-06-26 Leo Liu <sdl.web@gmail.com>
23337 * register.el (registerv): New struct.
23338 (registerv-make): New function.
23339 (jump-to-register, describe-register-1, insert-register):
23340 Support the jump-func, print-func and insert-func slot of a registerv
23343 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23345 * vc/vc.el (vc-revert-show-diff): New defcustom.
23346 (vc-diff-internal): New arg specifying diff buffer.
23347 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
23348 reuse an existing *vc-diff* buffer (Bug#8927).
23350 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
23352 2011-06-26 Glenn Morris <rgm@gnu.org>
23354 * progmodes/f90.el (f90-critical-indent): New option.
23355 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
23356 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
23357 (f90-mode): Doc fix.
23358 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
23359 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
23360 (f90-beginning-of-block, f90-next-block, f90-indent-region)
23361 (f90-match-end): Handle block, critical.
23363 2011-06-25 Glenn Morris <rgm@gnu.org>
23365 * calendar/diary-lib.el (diary-included-files): Doc fix.
23366 (diary-include-files): New function, extracted from
23367 diary-include-other-diary-files and diary-mark-included-diary-files.
23368 (diary-include-other-diary-files, diary-mark-included-diary-files):
23369 Just call diary-include-files.
23370 (diary-mark-entries): Reset diary-included-files on first call.
23372 * calendar/diary-lib.el (diary-mark-entries)
23373 (diary-mark-included-diary-files):
23374 Visit included diary-files in temp buffers.
23376 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
23377 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
23378 (f90-start-block-re, f90-imenu-generic-expression)
23379 (f90-looking-at-program-block-start, f90-no-block-limit):
23380 Add support for submodules.
23382 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23383 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
23385 2011-06-25 Eli Zaretskii <eliz@gnu.org>
23387 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
23388 buffer-file-type before setting its value, to avoid disastrous
23389 global effects on decoding files for DOS/Windows systems. (Bug#8780)
23391 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23393 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
23395 * ses.el (ses-unload-function):
23396 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
23398 * proced.el (proced-unload-function):
23399 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
23401 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
23403 * server.el (server-create-window-system-frame): Add parameters arg.
23404 (server-process-filter): Doc fix. Handle frame-parameters.
23406 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23408 Fix bug#8730, bug#8781.
23410 * loadhist.el (unload--set-major-mode): New function.
23411 (unload-feature): Use it.
23413 * progmodes/python.el (python-after-info-look): Add autoload cookie.
23414 (python-unload-function): New function.
23416 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
23418 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
23420 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
23422 * net/browse-url.el (browse-url-firefox-program): Add icecat to
23423 the candidates list.
23425 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
23427 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
23429 2011-06-23 Richard Stallman <rms@gnu.org>
23431 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
23432 (rmail-variables): Set next-error-move-function.
23433 (rmail-what-message): Take argument POS.
23434 (rmail-next-error-move): New function.
23436 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
23438 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
23439 messages for adjacent non-terminals.
23441 2011-06-23 Richard Stallman <rms@gnu.org>
23443 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
23444 (rmail-show-message-1): Preserve buffer modified flag.
23445 (rmail-start-mail): Don't specify use of rmail-mail-return;
23446 that's done by mail-bury now.
23447 (rmail-mail-return): Handle arg NEWBUF.
23449 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
23451 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
23454 2011-06-23 Martin Rudalics <rudalics@gmx.at>
23456 * window.el (get-lru-window, get-mru-window)
23457 (get-largest-window): Never return a minibuffer window.
23458 (display-buffer-pop-up-window): Fix a bug that could lead to
23459 reusing the minibuffer window.
23460 (display-buffer): Pass original specifier argument to
23461 display-buffer-function instead of the normalized one.
23462 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
23464 2011-06-22 Leo Liu <sdl.web@gmail.com>
23466 * minibuffer.el (completing-read-function)
23467 (completing-read-default): Move from minibuf.c.
23469 2011-06-22 Richard Stallman <rms@gnu.org>
23471 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
23472 to Rmail even if not started by a special Rmail command.
23474 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
23475 Copy the buffer currently showing just one message.
23477 2011-06-22 Roland Winkler <winkler@gnu.org>
23479 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
23480 (bibtex-clean-entry): First delete the old key so that a
23481 customized algorithm for generating the new key does not get
23482 confused by the old key.
23483 (bibtex-url): Obey regexp of first step.
23484 (bibtex-search-entries): Do not use add-to-list with local
23487 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23489 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
23490 stored a user name, then query for the password first, instead of
23491 waiting for SMTP to give an error message and the trying again.
23493 2011-06-22 Lawrence Mitchell <wence@gmx.li>
23495 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
23496 BUFFER in call-process.
23498 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23500 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
23502 (smtpmail-try-auth-methods): Require user name and password from
23505 2011-06-22 Martin Rudalics <rudalics@gmx.at>
23507 * window.el (display-buffer-default-specifiers)
23508 (display-buffer-alist): Remove entries for pop-up-frame-alist.
23509 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
23510 (split-window): Normalize SIDE argument (Bug#8916).
23512 * frame.el (pop-up-frame-alist, pop-up-frame-function)
23513 (special-display-frame-alist, special-display-popup-frame):
23514 Remove duplicate declarations. These are now in window.el.
23516 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
23518 * mail/smtpmail.el (smtpmail-via-smtp):
23519 Set :use-starttls-if-possible so that we always use STARTTLS if the
23520 server supports it. SMTP servers that support STARTTLS commonly
23523 * net/network-stream.el (network-stream-open-starttls): Support
23524 upgrading to STARTTLS always, even if we don't have built-in support.
23525 (open-network-stream): Add the :always-query-capabilities keyword.
23527 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
23528 upgrades with `open-network-stream', and rely solely on
23529 auth-source for all credentials. Big changes throughout the file,
23531 (smtpmail-auth-credentials): Remove.
23532 (smtpmail-starttls-credentials): Remove.
23533 (smtpmail-via-smtp): Check for servers saying they want AUTH after
23536 * net/network-stream.el (network-stream-open-starttls):
23537 Provide support for client certificates both for external and built-in
23539 (auth-source): Require.
23540 (open-network-stream): Document the :client-certificate keyword.
23541 (network-stream-certificate): Change cert-cert to cert and
23544 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
23546 * net/tramp-cache.el (top): Don't load the persistency file when
23547 "emacs -Q" has been called.
23549 2011-06-21 Tim Harper <timcharper@gmail.com>
23551 * term/ns-win.el (ns-initialize-window-system):
23552 Set application-specific `ApplePressAndHoldEnabled' system
23553 resource to NO as it is not yet supported by the NS port.
23555 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
23557 * misc.el (list-dynamic-libraries--refresh): Compute header here...
23558 (list-dynamic-libraries): ...not here.
23560 2011-06-21 Leo Liu <sdl.web@gmail.com>
23562 * subr.el (sha1): Implement sha1 using secure-hash.
23564 2011-06-21 Martin Rudalics <rudalics@gmx.at>
23566 * window.el (display-buffer-alist): In default value do not
23567 enforce searching a window on any but the selected frame.
23568 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
23569 (display-buffer-select-window): Remove function.
23570 (display-buffer-in-window): When a window on another frame gets
23571 reused, do not select it any more but just raise its frame if
23572 necessary (Bug#8851) and (Bug#8856).
23573 (display-buffer-normalize-options): Handle pop-up-frames related
23574 options more faithfully.
23575 (pop-to-buffer): Don't rely on `display-buffer' selecting the
23576 window if it is on another frame.
23577 (display-buffer-alist, display-buffer-default-specifiers):
23578 Don't make new frame unsplittable by default.
23579 (display-buffer-normalize-argument): Fix doc-string typo and use
23580 'same-frame-other-window instead of 'other-window when associating
23581 with display-buffer-macro-specifiers.
23583 2011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
23585 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
23587 (5x5-mode-map, 5x5-mode-menu): Bind them.
23588 (5x5-draw-grid): Tweak the solver's rendering.
23590 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23592 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
23593 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
23595 2011-06-21 Drew Adams <drew.adams@oracle.com>
23597 * menu-bar.el: Use function variable instead of switch-to-buffer.
23598 (menu-bar-select-buffer-function): New variable.
23599 (menu-bar-update-buffers): Use it (bug#8876).
23601 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23603 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
23606 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
23608 * x-dnd.el (x-dnd-version-from-flags)
23609 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
23610 and long as number (Bug#8899).
23611 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
23613 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
23615 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
23616 (completion-try-completion, completion-all-completions): Compute the
23617 metadata argument if it's missing; make it optional (bug#8795).
23619 * wid-edit.el: Use lex-bind and move towards completion-at-point.
23620 (widget-complete): Use new :completion-function property.
23621 (widget-completions-at-point): New function.
23622 (default): Use :completion-function instead of :complete.
23623 (widget-default-completions): Rename from widget-default-complete;
23625 (widget-string-complete, widget-file-complete, widget-color-complete):
23627 (file, symbol, function, variable, coding-system, color):
23628 * international/mule-cmds.el (default-input-method, charset)
23629 (language-info-custom-alist):
23630 * cus-edit.el (face): Use new property :completions.
23632 * progmodes/pascal.el (pascal-completions-at-point): New function.
23633 (pascal-mode): Use it.
23634 (pascal-mode-map): Use completion-at-point.
23635 (pascal-toggle-completions): Make obsolete.
23636 (pascal-complete-word, pascal-show-completions):
23637 * progmodes/octave-mod.el (octave-complete-symbol):
23638 Redefine as obsolete alias.
23639 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
23640 Signal absence of completion info for old Octave,
23641 (inferior-octave-complete): Redefine as obsolete alias.
23642 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
23643 (meta-completions-at-point): Rename from meta-complete-symbol and
23644 adapt it for use on completion-at-point-functions.
23645 (meta-common-mode): Use it.
23646 (meta-looking-at-backward, meta-match-buffer): Remove.
23647 (meta-complete-symbol): Redefine as obsolete alias.
23648 (meta-common-mode-map): Use completion-at-point.
23649 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
23650 (makefile-mode-map): Use completion-at-point.
23651 (makefile-completions-at-point): Rename from makefile-complete and
23652 adapt it for use on completion-at-point-functions.
23653 (makefile-mode): Use it.
23654 (makefile-complete): Redefine as obsolete alias.
23656 2011-06-20 Deniz Dogan <deniz@dogan.se>
23658 * net/rcirc.el: Delete trailing whitespaces once and for all.
23660 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
23662 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
23664 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
23666 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
23668 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
23670 2011-06-19 Martin Rudalics <rudalics@gmx.at>
23672 * window.el (display-buffer-other-window-means-other-frame):
23673 Call display-buffer-normalize-alist.
23674 (display-buffer-normalize-specifiers-1): Rename to
23675 display-buffer-normalize-argument. New argument other-frame.
23677 (display-buffer-normalize-specifiers-2): Rename to
23678 display-buffer-normalize-options.
23679 (display-buffer-normalize-alist-1): New function.
23680 (display-buffer-normalize-specifiers-3): Rename to
23681 display-buffer-normalize-alist.
23682 Call display-buffer-normalize-alist-1.
23683 (display-buffer-normalize-options-inhibit): New variable.
23684 (display-buffer-normalize-specifiers): Rewrite calling
23685 display-buffer-normalize-alist,
23686 display-buffer-normalize-argument, and
23687 display-buffer-normalize-options. Don't call the latter if
23688 display-buffer-normalize-options-inhibit is non-nil.
23689 (frame-auto-delete): New option.
23690 (window-deletable-p): Use frame-auto-delete.
23691 (window-list-no-nils, window-state-ignored-parameters)
23692 (window-state-get-1, window-state-get, window-state-put-list)
23693 (window-state-put-1, window-state-put-2, window-state-put):
23695 (display-buffer-normalize-options): Move special-display-p group
23696 after pop-up-frame group (Bug#8851) and (Bug#8856).
23698 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
23700 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
23702 (rx-submatch-n): New function.
23705 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
23708 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
23710 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
23712 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
23713 anytime existing face settings are present (Bug#8889).
23715 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
23716 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
23717 Remove unused argument.
23719 2011-06-18 Martin Rudalics <rudalics@gmx.at>
23721 * window.el (display-buffer-default-specifiers):
23722 Remove pop-up-frame. Add pop-up-window-min-height,
23723 pop-up-window-min-width, and another reuse-window specifier
23724 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
23725 (display-buffer-normalize-specifiers-2):
23726 Handle split-height-threshold and split-width-threshold also when
23727 pop-up-windows is unset. Add a reuse-window specifier for the
23728 case popping up a new window fails.
23729 (special-display-popup-frame): Remove double quoting.
23730 (display-buffer-normalize-specifiers-1): Fix thinko.
23732 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
23734 * shell.el (shell-completion-vars): Set pcomplete-termination-string
23735 according to comint-completion-addsuffix.
23737 * pcomplete.el: Convert to lexical binding and fix bug#8819.
23738 (pcomplete-suffix-list): Mark as obsolete.
23739 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
23740 pcomplete-seen in the closure.
23741 (pcomplete-comint-setup): Setup completion-at-point as well.
23742 (pcomplete--entries): New function.
23743 (pcomplete--env-regexp): New var.
23744 (pcomplete-entries): Rewrite to work with partial-completion and
23745 without relying on pcomplete-suffix-list.
23746 (pcomplete-pare-list): Remove, unused.
23748 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23750 * window.el (display-buffer-alist): Set pop-up-window-min-height
23751 and pop-up-window-min-width in default value. Reported by
23752 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
23753 other-window-means-other-frame.
23754 (display-buffer-macro-specifiers): Comment out entry for
23755 other-window specifier.
23756 (display-buffer-other-window-means-other-frame): New function.
23757 (display-buffer-normalize-specifiers-1): New arguments
23758 buffer-name and label. Treat other-window case specially.
23759 (display-buffer-normalize-specifiers-2): Treat other-window case
23761 (display-buffer-normalize-specifiers-3): New function.
23762 (display-buffer-normalize-specifiers):
23763 Call display-buffer-normalize-specifiers-3.
23765 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23767 * window.el (same-window-p): Fix two typos introduced when
23768 adding with-no-warnings.
23769 (display-buffer-normalize-specifiers-1): Don't check
23770 pop-up-frames for 'unset initialization.
23771 (display-buffer-normalize-specifiers-2): Major rewrite using
23772 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
23773 (pop-up-frames, display-buffer-reuse-frames)
23774 (display-buffer-mark-dedicated): Don't initialize to 'unset.
23775 Suggested by David Engster <deng@randomsample.de>.
23776 (even-window-heights): Initialize to 'unset.
23777 (display-buffer-alist-set): Handle new 'unset initializations.
23778 (display-buffer-macro-specifiers): Don't pop up a new frame in the
23781 2011-06-16 Martin Rudalics <rudalics@gmx.at>
23783 * window.el (display-buffer-normalize-specifiers-1):
23784 Respect current value of pop-up-frames for most reasonable values of
23785 second argument of display-buffer (Bug#8865).
23786 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
23787 (switch-to-buffer-other-window-same-frame)
23788 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
23790 (display-buffer): Don't check noninteractive when calling
23791 display-buffer-pop-up-frame.
23792 (display-buffer-pop-up-frame): Never pop up a frame in
23793 noninteractive mode (Bug#8857).
23794 (enlarge-window, shrink-window): Don't report an error when the
23795 window can't be resized as requested (Bug#8862).
23797 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23799 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
23801 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
23803 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
23805 2011-06-15 Alan Mackenzie <acm@muc.de>
23807 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
23808 for declarators, disable knr checking to speed up for normal files.
23809 2: Refactor, replacing a sequence of nested if forms by a cond form.
23811 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
23813 * net/network-stream.el (open-network-stream): Add the keyword
23814 :always-query-capabilities for the case where you want to force a
23815 `plain' network connection, but the protocol still requires the
23816 capabilitiy command (i.e., SMTP and EHLO).
23818 * subr.el (process-live-p): Rename from `process-alive-p' for
23819 consistency with other `-live-p' functions.
23821 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23823 * window.el (same-window-buffer-names, same-window-regexps)
23824 (special-display-frame-alist, special-display-popup-frame)
23825 (special-display-function, special-display-buffer-names)
23826 (special-display-regexps, pop-up-frame-alist)
23827 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
23828 (pop-up-windows, split-window-preferred-function)
23829 (split-height-threshold, split-width-threshold, even-window-heights)
23830 (display-buffer-mark-dedicated): Don't encourage the use of
23831 display-buffer-alist from Elisp code.
23833 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
23835 * progmodes/python.el (python-mode): Derive from prog-mode.
23836 * progmodes/ps-mode.el (ps-mode):
23837 * progmodes/mixal-mode.el (mixal-mode):
23838 * progmodes/cfengine.el (cfengine-mode):
23839 * progmodes/ld-script.el (ld-script-mode): Likewise.
23841 2011-06-15 Martin Rudalics <rudalics@gmx.at>
23843 * window.el (display-buffer-alist): Trim default value to avoid
23844 popping up a new frame (Bug#8857) or reusing an arbitrary window
23846 (display-buffer): Do not fall back on popping up a new frame in
23847 batch mode (Bug#8857).
23849 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
23851 * cus-theme.el (describe-theme-1): Use custom-theme-p.
23852 (custom-theme-summary): New function.
23853 (customize-themes): Use it.
23855 2011-06-13 Glenn Morris <rgm@gnu.org>
23857 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
23859 2011-06-13 Martin Rudalics <rudalics@gmx.at>
23861 * help.el (help-window): Remove variable.
23862 (help-window-point-marker, temp-buffer-max-height)
23863 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
23864 (help-print-return-message): Don't set help-window.
23865 (resize-temp-buffer-window): Rewrite cod eand doc-string.
23866 (help-window-setup-finish): Remove.
23867 (help-window-display-message, help-window-setup)
23868 (with-help-window): Major rewrite based on new
23869 display-buffer-window variable.
23871 * help-mode.el (help-mode-finish): Remove help-window related
23874 * view.el (view-exits-all-viewing-windows): Remove reference to
23875 view-return-to-alist in doc-string.
23876 (view-return-to-alist): Make obsolete.
23877 (view-buffer): Call pop-to-buffer-same-window and remove
23879 (view-buffer-other-window): Call pop-to-buffer-other-window and
23880 simplify code. Ignore second argument.
23881 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
23882 simplify code. Ignore second argument.
23883 (view-return-to-alist-update): Make obsolete.
23884 (view-mode-enter): Rename second argument to QUIT-RESTORE.
23885 Rewrite using quit-restore window parameters.
23886 (view-mode-exit): Rename second argument to EXIT-ONLY.
23887 Rewrite using quit-restore-window.
23888 (View-exit, View-exit-and-edit, View-leave, View-quit)
23889 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
23890 appropriate arguments.
23891 (view-end-message): Use quit-restore window parameter.
23893 * window.el (display-buffer-function): Rewrite doc-string.
23894 (display-buffer-window, display-buffer-alist): New variables.
23895 (display-buffer-split-specifiers)
23896 (display-buffer-side-specifiers)
23897 (display-buffer-macro-specifiers): New constants.
23898 (display-buffer-even-window-sizes, display-buffer-set-height)
23899 (display-buffer-set-width, display-buffer-select-window)
23900 (display-buffer-in-window, display-buffer-reuse-window)
23901 (display-buffer-split-window-1, display-buffer-split-window)
23902 (display-buffer-split-atom-window, display-buffer-pop-up-window)
23903 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
23904 (display-buffer-in-side-window, normalize-buffer-to-display)
23905 (display-buffer-normalize-specifiers-1)
23906 (display-buffer-normalize-specifiers-2)
23907 (display-buffer-normalize-specifiers, display-buffer-frame):
23909 (display-buffer): Major rewrite.
23910 (display-buffer-other-window, display-buffer-other-frame)
23911 (pop-to-buffer, switch-to-buffer-other-window)
23912 (switch-to-buffer-other-frame): Rewrite.
23913 (display-buffer-same-window, display-buffer-same-frame)
23914 (display-buffer-same-frame-other-window)
23915 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
23916 (pop-to-buffer-other-window)
23917 (pop-to-buffer-same-frame-other-window)
23918 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
23919 (switch-to-buffer-other-window-same-frame): New functions.
23920 (same-window-p, special-display-p): Rewrite disabling warnings.
23922 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23923 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
23925 (same-window-buffer-names, same-window-regexps)
23926 (special-display-frame-alist, special-display-popup-frame)
23927 (special-display-function, special-display-buffer-names)
23928 (special-display-regexps, pop-up-frame-alist)
23929 (pop-up-frame-function, split-window-preferred-function)
23930 (split-height-threshold, split-width-threshold)
23931 (even-window-heights): Make obsolete.
23933 2011-06-12 Glenn Morris <rgm@gnu.org>
23935 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
23936 Misc simplifications.
23938 2011-06-12 Martin Rudalics <rudalics@gmx.at>
23940 * window.el (window-safely-shrinkable-p): Restore function which
23941 was inadvertently removed in change from 2011-06-11. Declare as
23944 * calendar/calendar.el (calendar-generate-window):
23945 Use window-iso-combined-p instead of combination of one-window-p and
23946 window-safely-shrinkable-p.
23948 2011-06-12 Glenn Morris <rgm@gnu.org>
23950 * progmodes/fortran.el (fortran-mode-syntax-table):
23951 * progmodes/f90.el (f90-mode-syntax-table):
23952 Set % to punctuation. (Bug#8820)
23953 (f90-find-tag-default): Remove, no longer needed.
23955 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
23957 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
23959 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
23961 * image.el (image-animated-p): Return animation delay in seconds.
23962 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
23963 (image-animate-timeout): Remove DELAY argument. Don't assume
23964 every subimage has the same delay; get it from image-animated-p.
23965 (image-animate): Caller changed.
23967 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
23969 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
23970 to ignored backtrace functions.
23972 2011-06-11 Glenn Morris <rgm@gnu.org>
23974 * calendar/appt.el (appt-disp-window-function): Doc fix.
23975 (appt-check): Handle overlapping appointments. (Bug#8337)
23977 2011-06-11 Martin Rudalics <rudalics@gmx.at>
23979 * window.el (window-tree-1, window-tree): New functions, moving
23980 the latter to window.el.
23981 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
23982 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
23983 (bw-refresh-edges): Remove.
23984 (balance-windows-1, balance-windows-2): New functions.
23985 (balance-windows): Rewrite in terms of window tree functions,
23986 balance-windows-1 and balance-windows-2.
23987 (bw-adjust-window): Remove.
23988 (balance-windows-area-adjust): New function with functionality of
23989 bw-adjust-window but using resize-window.
23990 (set-window-text-height): Rewrite doc-string.
23991 Use normalize-live-window and resize-window.
23992 (enlarge-window-horizontally, shrink-window-horizontally):
23993 Rename argument to DELTA.
23994 (window-buffer-height): New function.
23995 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
23996 Rewrite using new window resize routines.
23997 (kill-buffer-and-window, mouse-autoselect-window-select):
23998 Use ignore-errors instead of condition-case.
23999 (quit-window): Call delete-frame instead of delete-windows-on
24000 for the only buffer on frame.
24002 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24004 * loadup.el (top-level): Load window before files for the sake
24005 of replace-buffer-in-windows.
24007 * files.el (read-buffer-to-switch)
24008 (switch-to-buffer-other-window)
24009 (switch-to-buffer-other-frame, display-buffer-other-frame):
24012 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
24013 (previous-buffer): Move to window.el.
24015 * bindings.el (unbury-buffer): Move to window.el.
24017 * window.el (delete-other-windows-vertically): Move after
24018 definition of delete-other-windows.
24019 (other-window, delete-windows-on, replace-buffer-in-windows):
24020 Move here from window.c.
24021 (record-window-buffer, unrecord-window-buffer)
24022 (set-window-buffer-start-and-point, switch-to-prev-buffer)
24023 (switch-to-next-buffer): New functions.
24024 (get-next-valid-buffer, last-buffer, next-buffer): Move here
24025 from simple.el. Call switch-to-next-buffer.
24026 (previous-buffer): Move here from simple.el.
24027 Call switch-to-prev-buffer.
24028 (bury-buffer): Move here from buffer.c. Switch to previous
24029 buffer when window cannot be deleted.
24030 (unbury-buffer): Move here from bindings.el.
24031 (ctl-x-map): Move binding for other-window from window.c to
24033 (read-buffer-to-switch, switch-to-buffer-other-window)
24034 (switch-to-buffer-other-frame): Move here from files.el.
24035 (normalize-buffer-to-switch-to): New functions.
24036 (switch-to-buffer): Move here from buffer.c.
24037 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
24039 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24041 * window.el (window-min-height, window-min-width): Move here
24042 from window.c. Add defcustoms and rewrite doc-strings.
24043 (resize-mini-window, resize-window): New functions.
24044 (adjust-window-trailing-edge, enlarge-window, shrink-window):
24045 Move here from window.c.
24046 (maximize-window, minimize-window): New functions.
24047 (delete-window, delete-other-windows, split-window): Move here
24049 (window-split-min-size): New function.
24050 (split-window-keep-point): Mention split-window-above-each-other
24051 instead of split-window-vertically.
24052 (split-window-above-each-other, split-window-vertically):
24053 Rename split-window-vertically to split-window-above-each-other
24054 and provide defalias for old definition.
24055 (split-window-side-by-side, split-window-horizontally):
24056 Rename split-window-horizontally to split-window-side-by-side
24057 and provide defalias for the old definition.
24058 (ctl-x-map): Move bindings for delete-window,
24059 delete-other-windows and enlarge-window here from window.c.
24060 Replace bindings for split-window-vertically and
24061 split-window-horizontally by bindings for
24062 split-window-above-each-other and split-window-side-by-side.
24064 * cus-start.el (all): Remove entries for window-min-height and
24065 window-min-width. Add entries for window-splits and
24068 2011-06-09 Glenn Morris <rgm@gnu.org>
24070 * calendar/appt.el (appt-mode-line): New function.
24071 (appt-check, appt-disp-window): Use it.
24073 * files.el (hack-one-local-variable-eval-safep):
24074 Allow minor-modes with explicit +/-1 arguments.
24076 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
24078 * term/xterm.el (xterm): Add defgroup.
24079 (xterm-extra-capabilities): Add defcustom to supply known xterm
24080 capabilities, skip querying them, or query them (default).
24081 (terminal-init-xterm): Use it.
24082 (terminal-init-xterm-modify-other-keys): New function to set up
24083 modifyOtherKeys support to simplify `terminal-init-xterm'.
24085 2011-06-09 Martin Rudalics <rudalics@gmx.at>
24087 * window.el (resize-window-reset, resize-window-reset-1)
24088 (resize-subwindows-skip-p, resize-subwindows-normal)
24089 (resize-subwindows, resize-other-windows, resize-this-window)
24090 (resize-root-window, resize-root-window-vertically)
24091 (window-deletable-p, window-or-subwindow-p)
24092 (frame-root-window-p): New functions.
24094 2011-06-09 Glenn Morris <rgm@gnu.org>
24096 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
24097 (ange-ftp-get-files): Use it.
24099 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
24101 * mail/sendmail.el (mail-recover-1, mail-recover):
24102 * files.el (recover-file, recover-session):
24103 Handle dired-listing-switches not being just a single short option.
24105 2011-06-09 Glenn Morris <rgm@gnu.org>
24107 * calendar/appt.el (appt-display-message, appt-disp-window):
24108 Handle lists of appointments.
24110 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24112 * window.el (one-window-p): Move down in code.
24113 Rewrite doc-string.
24114 (window-current-scroll-bars): Rewrite doc-string.
24115 Normalize live window argument.
24116 (walk-windows, get-window-with-predicate, count-windows):
24117 Rewrite doc-string. Use window-list-1.
24118 (window-in-direction-2, window-in-direction, get-mru-window):
24121 2011-06-08 Reuben Thomas <rrt@sc3d.org>
24123 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
24124 Doc fix (Bug#8713).
24126 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
24128 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
24130 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
24132 * loadhist.el (unload-feature-special-hooks):
24133 Add `comint-output-filter-functions'.
24135 2011-06-08 Ivan Kanis <gnu@kanis.fr>
24137 * calendar/appt.el (appt-check): Move some initializations into the let.
24139 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24141 * window.el (window-height): Defalias to window-total-height.
24142 (window-width): Defalias to window-body-width.
24144 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
24146 * image-mode.el (image-toggle-animation): New command.
24147 (image-mode-map): Bind it to RET.
24148 (image-mode): Update message.
24149 (image-toggle-display-image): Avoid a spurious cache flush.
24150 (image-transform-rotation): Doc fix.
24151 (image-transform-properties): Return quickly in the normal case.
24152 (image-animate-loop): Rename from image-animate-max-time.
24154 * image.el (image-animate-max-time): Move to image-mode.el.
24155 (create-animated-image): Remove unnecessary function.
24156 (image-animate): Rename from image-animate-start. New arg.
24157 (image-animate-stop): Remove; just use image-animate-timer.
24158 (image-animate-timer): Use car-safe.
24159 (image-animate-timeout): Rename argument.
24161 2011-06-07 Martin Rudalics <rudalics@gmx.at>
24163 * window.el (get-lru-window, get-largest-window): Move here from
24164 window.c. Rename first argument to ALL-FRAMES.
24165 Rephrase doc-strings.
24166 (get-buffer-window-list): Rewrite using window-list-1.
24167 Rephrase doc-string.
24168 (window-safe-min-height, window-safe-min-width): New constants.
24169 (window-size-ignore, window-min-size, window-min-size-1)
24170 (window-sizable, window-sizable-p, window-size-fixed-1)
24171 (window-size-fixed-p, window-min-delta-1, window-min-delta)
24172 (window-max-delta-1, window-max-delta, window-resizable)
24173 (window-resizable-p, window-total-height, window-total-width)
24174 (window-body-width): New functions.
24175 (window-full-height-p, window-full-width-p): Rewrite using
24177 (window-body-height): Rewrite using window-body-size.
24179 2011-06-06 Martin Rudalics <rudalics@gmx.at>
24181 * window.el (window-right, window-left, window-child)
24182 (window-child-count, window-last-child, window-any-p)
24183 (normalize-live-buffer, normalize-live-frame)
24184 (normalize-any-window, normalize-live-window)
24185 (window-iso-combination-p, window-iso-combined-p)
24186 (window-iso-combinations)
24187 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
24188 (windows-with-parameter, window-with-parameter)
24189 (window-atom-root, make-window-atom, window-atom-check-1)
24190 (window-atom-check, window-side-check, window-check):
24192 (ignore-window-parameters, window-sides, window-sides-vertical)
24193 (window-sides-slots): New variables.
24194 (window-size-fixed): Move down in code. Minor doc-string fix.
24196 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
24198 * comint.el (comint-dynamic-complete-as-filename)
24199 (comint-dynamic-complete-filename): Correctly call
24200 completion-in-region.
24202 2011-06-05 Deniz Dogan <deniz@dogan.se>
24204 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
24207 2011-06-05 Deniz Dogan <deniz@dogan.se>
24209 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
24210 (rcirc): Use it to prompt for encryption.
24212 2011-06-05 Roland Winkler <winkler@gnu.org>
24214 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
24215 (bibtex-search-entries): New command bound to C-c C-a.
24216 (bibtex-display-entries): New function.
24218 2011-06-05 Roland Winkler <winkler@gnu.org>
24220 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
24221 (bibtex-insert-kill): After yanking insert newline if necessary.
24222 (bibtex-initialize): Call bibtex-string-files-init only once.
24223 (bibtex-mode): Do not call easy-menu-add.
24224 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
24225 (bibtex-yank): Set arg properly if nil.
24227 2011-06-05 Roland Winkler <winkler@gnu.org>
24229 * textmodes/bibtex.el (bibtex-search-entry-globally):
24231 (bibtex-search-entry): Use it.
24233 2011-06-05 Roland Winkler <winkler@gnu.org>
24235 * textmodes/bibtex.el (bibtex-entry-format): New option
24237 (bibtex-format-entry, bibtex-reformat): Honor this option.
24238 (bibtex-parse-entry): Return fields in proper order.
24240 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
24242 * doc-view.el (doc-view-remove-if): Move computation of result out
24243 of `dolist' to silence misleading lexical-binding warning.
24245 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
24247 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
24248 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
24250 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24252 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
24255 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24257 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
24258 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
24259 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
24260 (tramp-parse-putty):
24261 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
24262 (tramp-completion-function-alist-ssh)
24263 (tramp-completion-function-alist-telnet)
24264 (tramp-completion-function-alist-su)
24265 (tramp-completion-function-alist-putty): Set `tramp-autoload'
24268 * net/tramp-ftp.el:
24270 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
24271 load "tramp.el" `tramp-set-completion-function'.
24273 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
24275 * shell.el: Require and use pcomplete.
24276 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
24277 (shell-completion-vars): Set pcomplete-default-completion-function.
24279 2011-06-04 Deniz Dogan <deniz@dogan.se>
24281 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
24284 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24286 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
24288 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
24290 * bs.el (bs--mark-unmark, bs--nth-wrapper):
24291 * mpc.el (mpc-select-extend, mpc-songpointer-context):
24292 * vc/log-view.el (log-view-beginning-of-defun):
24293 * vc/smerge-mode.el (smerge-apply-resolution-patch)
24294 (smerge-refine-forward, smerge-refine-chopup-region):
24295 Silence warning for unused `dotimes' counter variables.
24297 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24299 * net/tramp.el (tramp-with-progress-reporter): Rename from
24300 with-progress-reporter. Use `declare'.
24301 * net/tramp-smb.el:
24303 * net/tramp-gvfs.el: Update all uses.
24305 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
24307 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
24308 buffer isn't killed before making it current.
24310 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24312 Silence various byte-compiler warnings.
24313 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
24314 `access-type' and new obsolescence format.
24315 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
24317 (byte-compile-check-variable): New `access-type' argument.
24318 Only warn if the access-type is obsolete.
24319 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24320 (byte-compile-variable-set): Adjust callers.
24321 * help-fns.el (describe-variable): Adjust to new obsolescence format.
24322 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
24323 setting it as obsolete.
24324 * simple.el (minibuffer-completing-symbol):
24325 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
24326 access as obsolete.
24327 * minibuffer.el (minibuffer-completing-file-name): Don't make it
24329 * international/quail.el (quail-mouse-choose-completion): Remove unused
24330 code referring to obsolete var.
24331 (quail-choose-completion-string): Remove.
24332 * server.el (server-clients-with, server-kill-buffer-query-function)
24333 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
24334 * proced.el (proced-send-signal):
24335 * emacs-lisp/lisp.el (lisp-complete-symbol):
24336 Replace completion-annotate-function with completion-extra-properties.
24338 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24340 * simple.el (goto-line): Use read-number.
24341 (overriding-map-is-bound): Remove.
24342 (saved-overriding-map): Change default.
24343 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
24344 Take the map as argument.
24345 (universal-argument, negative-argument, digit-argument): Use it.
24346 (restore-overriding-map): Adjust.
24347 (do-auto-fill): Use fill-forward-paragraph.
24348 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
24350 * minibuffer.el (minibuffer-inactive-mode-map): New var.
24351 (minibuffer-inactive-mode): New major mode.
24352 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
24353 the *Messages* buffer" hack.
24354 (mouse-popup-menubar): Don't burp if the event is a normal key.
24356 Miscellaneous tweaks.
24357 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
24358 lexical scoping as in subr.el's dolist and dotimes.
24359 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
24360 Silence compiler warning.
24361 * thingatpt.el (forward-whitespace): Trivial coding style fix.
24362 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
24363 * international/ccl.el (ccl-compile): Trivial simplification.
24364 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
24365 * emacs-lisp/testcover.el (testcover-end): Remove spurious
24366 `printflag' argument.
24367 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
24368 Purecopy the whole obsolescence data.
24370 2011-06-01 Leo Liu <sdl.web@gmail.com>
24372 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
24373 improve doc-string as suggested by Marco Pessotto
24374 <melmothx@gmail.com>.
24375 (rcirc-print): Fix last change.
24377 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24379 * minibuffer.el (complete-with-action): Return nil for the metadata and
24380 boundaries of non-functional tables.
24381 (completion-table-dynamic): Return nil for the metadata.
24382 (completion-table-with-terminator): Add default case, using
24383 complete-with-action.
24384 (completion--metadata): New function.
24385 (completion-all-sorted-completions, minibuffer-completion-help): Use it
24386 to try and avoid pathological performance problems.
24387 (completion--embedded-envvar-table): Return `category' metadata.
24389 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
24391 * subr.el (process-alive-p): New tiny convenience function.
24393 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24395 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
24396 content but also its previous major mode.
24398 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
24400 * emacs-lisp/debug.el (debug): Restore the previous content of the
24401 *Backtrace* buffer when we exit with C-M-c.
24403 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24405 * minibuffer.el: Add metadata method to completion tables.
24406 (completion-category-overrides): New defcustom.
24407 (completion-metadata, completion--field-metadata)
24408 (completion-metadata-get, completion--styles)
24409 (completion--cycle-threshold): New functions.
24410 (completion-try-completion, completion-all-completions):
24411 Add `metadata' argument to choose completion-styles.
24412 (completion--do-completion): Use metadata to choose cycling.
24413 (completion-all-sorted-completions): Use metadata for sorting.
24414 Remove :completion-cycle-penalty which is not needed any more.
24415 (completion--try-word-completion): Add `metadata' argument.
24416 (minibuffer-completion-help): Check metadata for annotation function
24418 (completion-file-name-table): Return `category' metadata.
24419 (minibuffer-completing-file-name): Make obsolete.
24420 * simple.el (minibuffer-completing-symbol): Make obsolete.
24421 * icomplete.el (icomplete-completions): Pass new `metadata' param to
24422 completion-try-completion.
24424 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
24426 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
24428 2011-05-30 Leo Liu <sdl.web@gmail.com>
24430 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
24431 (rcirc-print): Decode all incoming messages (bug#8744).
24432 (rcirc-decode-coding-system): Allow value nil for automatic coding
24435 2011-06-01 Glenn Morris <rgm@gnu.org>
24437 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
24439 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24441 * image.el (image-animate-max-time): Allow nil and t values.
24443 (create-animated-image): Doc fix.
24444 (image-animate-start): Remove second arg; just use
24445 image-animate-max-time.
24446 (image-animate-timeout): Doc fix. Args changed.
24448 * image-mode.el (image-toggle-display-image): Ensure that the
24449 image spec passed to the animate timer is the same object as in
24450 the buffer's display property (Bug#6981).
24451 (image-transform-properties): Doc fix.
24453 * image.el (image-animate-max-time): Default to nil.
24455 2011-05-29 Martin Rudalics <rudalics@gmx.at>
24457 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
24458 entire buffer list (Bug#8184).
24460 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24462 * image.el (imagemagick-types-inhibit)
24463 (imagemagick-register-types): Doc fix.
24465 2011-05-29 Deniz Dogan <deniz@dogan.se>
24467 * net/rcirc.el (rcirc): Use the user's stored encryption method by
24470 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24472 * select.el: Don't perform clipboard-manager saving in hooks;
24473 leave the hooks empty.
24475 2011-05-28 Leo Liu <sdl.web@gmail.com>
24477 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
24478 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
24479 (occur-edit-mode): New major mode (Bug#8463).
24480 (occur-after-change-function): New function.
24481 (occur-engine): Give Occur tags a read-only property.
24483 2011-05-28 Kevin Ryde <user42@zip.com.au>
24485 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
24487 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24489 * bindings.el (help-echo): Make the initial non-indicator dash
24490 empty on graphical terminals (Bug#7295).
24492 * files.el (auto-mode-alist): Move config rule after the
24493 in-stripping one (Bug#8547).
24495 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
24497 * startup.el (normal-splash-screen): Remove gratuitous mode-line
24498 setting (Bug#8740).
24500 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
24502 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
24503 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
24506 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24508 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
24510 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
24512 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
24513 (hs-hide-block-at-point, hs-find-block-beginning)
24514 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
24517 2011-05-28 Glenn Morris <rgm@gnu.org>
24519 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
24521 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24523 * help-fns.el (describe-function-1): If the function is a derived
24524 major mode, print the parent mode.
24526 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
24527 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
24529 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
24531 * minibuffer.el (completion--capf-wrapper): Check applicability before
24532 returning non-nil for non-exclusive completion data.
24533 * progmodes/etags.el (tags-completion-at-point-function):
24534 * info-look.el (info-lookup-completions-at-point): Mark as
24536 (info-complete): Adjust accordingly.
24538 * info-look.el: Convert to lexical-binding and completion-at-point.
24539 (info-lookup-completions-at-point): New function.
24540 (info-complete): Use it and completion-in-region.
24542 2011-05-28 Drew Adams <drew.adams@oracle.com>
24544 * isearch.el: Let M-e start with point at the first mismatched char.
24545 (isearch-fail-pos): New function.
24546 (isearch-edit-string): Use it.
24548 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24550 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24552 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
24554 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
24555 traversal functions for avl-trees.
24556 (avl-tree--stack): New struct.
24557 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
24558 (avl-tree-enter): Add optional `updatefun' arg.
24559 (avl-tree--do-enter): Add optional `updatefun' arg.
24560 Change return value.
24561 (avl-tree-delete): Add optional `test' and `nilflag' args.
24562 (avl-tree--do-delete): Add `test' and `nilflag' args.
24563 Change return value.
24564 (avl-tree-member): Add optional `nilflag'
24565 (avl-tree-member-p): New function.
24566 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
24567 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
24568 (avl-tree-stack-empty-p): New functions.
24570 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
24571 avl-tree--del-balance1 and make it work both ways.
24572 (avl-tree--del-balance2): Remove.
24573 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
24574 make it work both ways.
24575 (avl-tree--enter-balance2): Remove.
24576 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
24578 (avl-tree--mapc, avl-tree-map): Add direction argument.
24580 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
24582 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
24584 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
24586 * select.el: Support clipboard managers with built-in function
24587 x-clipboard-manager-save, via delete-frame-functions and
24589 (xselect-convert-to-targets): Add MULTIPLE target to list.
24590 (xselect-convert-to-save-targets): New function.
24592 2011-05-27 Kenichi Handa <handa@m17n.org>
24594 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
24595 let-binding rfc2047-encode-encoded-words to nil.
24597 2011-05-27 Glenn Morris <rgm@gnu.org>
24599 * mail/emacsbug.el: Don't require url-util.
24601 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
24603 * files.el (set-auto-mode):
24604 Also respect mode: entries at the end of the file. (Bug#8586)
24606 2011-05-26 Glenn Morris <rgm@gnu.org>
24608 * files.el (hack-local-variables-prop-line, hack-local-variables):
24609 Downcase mode names, as seems to be traditional.
24610 (hack-local-variables, hack-local-variables-apply): Doc fixes.
24612 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
24613 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
24615 2011-05-25 Julien Danjou <julien@danjou.info>
24617 * textmodes/rst.el (rst-define-level-faces): Do not define face
24618 symbol if it is already defined.
24620 2011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
24622 * play/5x5.el (5x5-new-game, 5x5-randomize):
24623 Reset 5x5-solver-output to nil when a new grid is cast.
24624 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
24625 these debugging traces, as defmacro breaks the compiled code.
24627 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24629 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24631 2011-05-24 Leo Liu <sdl.web@gmail.com>
24633 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
24634 (vc-bzr-sha1): Adapt.
24636 * sha1.el: Remove. Function `sha1' is now builtin.
24638 * bindings.el: Provide sha1 feature.
24640 2011-05-24 Kenichi Handa <handa@m17n.org>
24642 * mail/sendmail.el: Require `rfc2047'.
24643 (mail-insert-from-field): Do not perform RFC2047 encoding.
24644 (mail-encode-header): New function.
24645 (sendmail-send-it): Set buffer-file-coding-system of the work
24646 buffer to the return value of select-message-coding-system.
24647 Call mail-encode-header.
24649 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
24651 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
24653 * mail/supercite.el (sc-default-cite-frame):
24654 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
24656 2011-05-24 Glenn Morris <rgm@gnu.org>
24658 * progmodes/python.el (brm-menu): Declare.
24660 * emulation/viper.el (viper-set-hooks): Declare.
24662 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
24663 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
24664 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
24665 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
24666 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
24667 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
24669 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
24671 Add an :exit-function for completion-at-point.
24673 * minibuffer.el (completion--done): New fun.
24674 (completion--do-completion): Use it. New arg `expect-exact'.
24675 (minibuffer-complete, minibuffer-complete-word): Don't output message,
24676 since completion--do-completion does it for us now.
24677 (minibuffer-force-complete): Use completion--done and
24678 completion--replace. Handle sole-completion case with more care.
24679 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
24680 (completion-extra-properties): New var.
24681 (completion-annotate-function): Make obsolete.
24682 (minibuffer-completion-help): Adjust accordingly.
24683 Use completion-list-insert-choice-function.
24684 (completion-at-point, completion-help-at-point):
24685 Bind completion-extra-properties.
24686 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
24687 * simple.el (completion-list-insert-choice-function): New var.
24688 (completion-setup-function): Preserve it.
24689 (choose-completion): Pay attention to it, shuffle the code a bit.
24690 (choose-completion-string): New arg `insert-function'.
24692 * textmodes/bibtex.el: Convert to lexical binding.
24693 (bibtex-mode-map): Use completion-at-point.
24694 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
24695 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
24696 (bibtex-complete): Define as obsolete alias.
24697 (bibtex-complete-internal): Remove.
24698 (bibtex-format-entry): Remove unused sub-group in regexp.
24699 * shell.el (shell--command-completion-data)
24700 (shell-environment-variable-completion):
24701 * pcomplete.el (pcomplete-completions-at-point):
24702 * comint.el (comint--complete-file-name-data): Use :exit-function
24703 instead of completion-table-with-terminator so it also works for
24706 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24708 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
24710 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
24713 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
24715 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
24717 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
24718 customization variable and implement: If non-nil, auto-fill will
24719 be inhibited while on topic's header line.
24721 2011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
24723 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
24724 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
24725 always have a solution in grid size = 5 cases.
24726 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
24727 (5x5-solver-output, 5x5-log-buffer): New vars.
24728 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
24729 Make these variables buffer local to achieve 5x5 multi-session-ness.
24730 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
24731 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
24732 (5x5-solve-suggest): New funs.
24733 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
24734 randomize a grid so that we ensure that there is always a solution.
24735 (5x5-make-random-grid): Allow other movement than flipping.
24737 2011-05-23 Kevin Ryde <user42@zip.com.au>
24739 * emacs-lisp/advice.el (ad-read-advised-function):
24740 Use `function-called-at-point' as the default, if it has
24741 advice and passes PREDICATE.
24743 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24745 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
24746 byte-compile-lambda if it's actually a lambda.
24748 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
24749 Fix function quoting. Use backquote better.
24751 2011-05-22 Yuanle Song <sylecn@gmail.com>
24753 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
24754 matching (Bug#8516).
24756 2011-05-22 Jari Aalto <jari.aalto@cante.net>
24758 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
24759 different face (Bug#8178).
24761 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
24763 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
24764 defface (Bug#8144).
24766 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
24768 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
24769 funcall as well (bug#8712). Warn when performing those conversions.
24770 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
24772 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
24774 2011-05-22 Glenn Morris <rgm@gnu.org>
24776 * files.el (hack-local-variables-prop-line): Small simplifications.
24777 (hack-local-variables, hack-local-variables-prop-line):
24778 If MODE-ONLY, return the mode, rather than just `t'.
24780 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
24782 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
24784 2011-05-21 Glenn Morris <rgm@gnu.org>
24786 * files.el (hack-local-variables-prop-line, hack-local-variables):
24787 If only interested in the mode, don't bother doing the other stuff.
24789 * image-mode.el (image-after-revert-hook):
24790 Redraw all frames on which the image is visible. (Bug#8567)
24792 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
24794 * wid-edit.el (widget-checklist-match-inline):
24795 Fix 2011-04-19 change. (Bug#8649)
24797 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
24799 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
24800 Also allow singlespace after single-letter capitals followed by a dot.
24802 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
24803 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
24805 2011-05-20 Nix <nix@esperi.org.uk>
24807 * files.el (basic-save-buffer-2):
24808 Fix handling of break-hardlink-on-save with non-existent files.
24810 2011-05-19 Deniz Dogan <deniz@dogan.se>
24812 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
24813 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
24815 2011-05-19 Glenn Morris <rgm@gnu.org>
24817 * progmodes/f90.el (f90-type-def-re):
24818 Handle "type, bind(c)". (Bug#8691)
24820 * emacs-lisp/autoload.el (batch-update-autoloads):
24821 Set autoload-excludes by parsing loadup.el rather than Makefiles.
24823 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
24825 * net/tramp.el (tramp-process-actions): Set "first-password-request"
24826 property for the correct connection in case of multihops.
24828 2011-05-18 Glenn Morris <rgm@gnu.org>
24830 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
24831 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
24833 Rationalize calendar handling of day and month abbrev-arrays.
24834 * calendar/calendar.el (calendar-customized-p): New function.
24835 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
24836 (calendar-day-name-array, calendar-month-name-array): Doc fix.
24838 (calendar-abbrev-length, calendar-day-abbrev-array)
24839 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
24840 (calendar-day-abbrev-array, calendar-month-abbrev-array):
24841 Elements may no longer be nil.
24842 (calendar-day-name, calendar-month-name):
24843 Update for changed nature of abbrev arrays.
24844 * calendar/diary-lib.el (diary-name-pattern):
24845 Update for changed nature of abbrev arrays.
24846 (diary-mark-entries-1): Update calendar-make-alist calls.
24847 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
24848 * calendar/cal-html.el (cal-html-day-abbrev-array):
24849 Simply inherit from calendar-day-abbrev-array.
24851 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
24853 * progmodes/grep.el (grep-mode): Disable default
24854 compilation-directory-matcher setting (bug#8684).
24856 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
24858 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
24859 instead of "head" and "tail". There were problems with SunOS 5.9,
24860 and it performs better.
24862 2011-05-17 Glenn Morris <rgm@gnu.org>
24864 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
24866 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
24867 Replace obsolete function.
24869 * shell.el (pcomplete-parse-arguments-function): Declare.
24871 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
24872 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
24873 (appt-check): Doc fixes.
24874 (appt-disp-window-function, appt-delete-window-function):
24875 Remove needless special case in custom :type.
24876 (appt-display-count): Default to 0, not nil.
24877 (appt-check): Reset appt-display-count to 0, not nil.
24879 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
24881 * progmodes/python.el (python-font-lock-keywords):
24882 Add the Python 3.X keyword "nonlocal" (bug#8639).
24884 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
24886 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
24888 2011-05-16 Kevin Ryde <user42@zip.com.au>
24890 * info-look.el (makefile-automake-mode): New setups, looking in
24891 automake manual, then makefile-mode.
24892 (makefile-mode): Remove automake manual, have it just in
24893 makefile-automake-mode since there's various things different or
24894 not relevant to plain make.
24895 (makefile-mode): Remove "other-modes" non-existent automake-mode,
24896 believe a hypothetical automake-mode would go to makefile-mode,
24897 not the other way around.
24899 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
24901 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
24902 hunk-end tags (Bug#8672).
24904 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
24905 vc-annotate-show-diff-revision-at-line (Bug#8671).
24907 2011-05-14 Glenn Morris <rgm@gnu.org>
24909 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
24910 in the middle of an existing one with multiple authors. (Bug#8645)
24911 (change-log-font-lock-keywords): Also handle multiple author lines
24912 with leading tabs. (Bug#8644)
24914 * calendar/appt.el (appt-check): Rename some local variables.
24915 Some simplification/reordering.
24917 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
24918 (feedmail-sendmail-f-doesnt-sell-me-out)
24919 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24920 (feedmail-debug-sit-for, feedmail-queue-express-hook)
24921 (feedmail-queue-runner-message-sender): Set :version.
24922 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
24923 (bbdb-dwim-net-address, vm-mail): Declare.
24924 (feedmail-binmail-gnulinuxish-template):
24925 Rename from feedmail-binmail-linuxish-template.
24926 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
24927 Use insert-buffer-substring.
24929 2011-05-14 Bill Carpenter <bill@carpenter.org>
24931 * mail/feedmail.el (feedmail-patch-level): Increase.
24932 (feedmail-debug): New custom group.
24933 (feedmail-confirm-outgoing-timeout)
24934 (feedmail-sendmail-f-doesnt-sell-me-out)
24935 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24936 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
24937 (feedmail-sender-line, feedmail-from-line)
24938 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
24939 (feedmail-spray-this-address)
24940 (feedmail-spray-address-fiddle-plex-list)
24941 (feedmail-queue-use-send-time-for-date)
24942 (feedmail-queue-use-send-time-for-message-id)
24943 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
24944 (feedmail-buffer-eating-function):
24946 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
24947 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
24948 (feedmail-message-action-scroll-down): New functions.
24949 (feedmail-queue-directory, feedmail-queue-draft-directory):
24950 Use expand-file-name.
24951 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
24952 Remove C-v help entry.
24953 (feedmail-queue-buffer-file-name): New variable.
24954 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
24955 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
24956 (feedmail-message-action-send-strong, feedmail-message-action-edit)
24957 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
24958 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
24959 (feedmail-message-action-toggle-spray)
24960 (feedmail-run-the-queue-no-prompts)
24961 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
24962 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
24963 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
24964 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
24965 (feedmail-envelope-deducer, feedmail-fiddle-from)
24966 (feedmail-fiddle-sender, feedmail-default-date-generator)
24967 (feedmail-fiddle-date, feedmail-fiddle-message-id)
24968 (feedmail-fiddle-spray-address)
24969 (feedmail-fiddle-list-of-spray-fiddle-plexes)
24970 (feedmail-fiddle-list-of-fiddle-plexes)
24971 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
24972 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
24973 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
24974 Change default. Doc fix.
24975 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
24976 (feedmail-binmail-linuxish-template): New constant.
24977 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
24978 Respect feedmail-sendmail-f-doesnt-sell-me-out.
24979 (feedmail-send-it): Add debug call.
24980 Use feedmail-queue-buffer-file-name, and
24981 feedmail-send-it-immediately-wrapper.
24982 (feedmail-message-action-send): Add debug call.
24983 Use feedmail-send-it-immediately-wrapper.
24984 (feedmail-queue-express-to-queue): Add debug call.
24985 Run feedmail-queue-express-hook.
24986 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
24987 (feedmail-message-action-help-blat):
24988 Rename from feedmail-queue-send-edit-prompt-help-first.
24989 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
24990 Check line-endings. Handle errors better.
24991 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
24992 Doc fix. Add debug call.
24993 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
24994 Use feedmail-queue-send-edit-prompt-inner.
24995 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
24996 (feedmail-queue-send-edit-prompt-inner): New function, extracted
24997 from feedmail-queue-send-edit-prompt.
24998 (feedmail-queue-send-edit-prompt-help)
24999 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
25000 (feedmail-tidy-up-slug): Add debug call.
25001 Respect feedmail-queue-slug-suspect-regexp.
25002 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
25003 (feedmail-dump-message-to-queue): Add debug call.
25004 Expand queue-directory.
25005 (feedmail-dump-message-to-queue): Change message slightly.
25006 Use feedmail-say-chatter.
25007 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
25008 (feedmail-send-it-immediately-wrapper): New function.
25009 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
25010 Insert empty string rather than newline. Handle full-frame case.
25011 Use catch/throw. Use feedmail-say-chatter.
25012 (feedmail-fiddle-from): Try mail-host-address.
25013 (feedmail-default-message-id-generator): Doc fix.
25014 Bind system-time-locale. Handle missing end.
25015 (feedmail-fiddle-x-mailer): Add debug call.
25016 Handle feedmail-x-mailer-line being nil.
25017 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
25018 Add debug call. Use buffer-substring-no-properties.
25019 (feedmail-say-debug, feedmail-say-chatter): New functions.
25020 (feedmail-find-eoh): Give an explicit error.
25022 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
25024 * net/newst-treeview.el (newsticker-treeview-face): Change default
25025 family from helvetica to sans.
25026 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
25027 etc/images/newsticker.
25029 * net/newst-reader.el (newsticker-feed-face): Change default
25030 family from helvetica to sans.
25032 * net/newst-plainview.el (newsticker-new-item-face)
25033 (newsticker-old-item-face, newsticker-immortal-item-face)
25034 (newsticker-obsolete-item-face, newsticker-date-face)
25035 (newsticker-statistics-face): Change default family from
25037 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
25038 etc/images/newsticker.
25040 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
25041 (newsticker--process-auto-mark-filter-match): Tell user about
25044 2011-05-13 Didier Verna <didier@xemacs.org>
25046 Common Lisp indentation improvements on defmethod and lambda-lists.
25047 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
25049 (lisp-lambda-list-keyword-parameter-indentation)
25050 (lisp-lambda-list-keyword-parameter-alignment)
25051 (lisp-lambda-list-keyword-alignment): New customizable user options.
25052 (lisp-indent-defun-method): Improve docstring.
25053 (extended-loop-p): Fix comment.
25054 (lisp-indent-lambda-list-keywords-regexp): New variable.
25055 (lisp-indent-lambda-list): New function.
25056 (lisp-indent-259): Use it.
25057 (lisp-indent-defmethod): Support for more than one
25058 method qualifier and properly indent methods lambda-lists.
25059 (defgeneric): Provide a missing common-lisp-indent-function property.
25061 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
25063 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
25064 bounds for the empty string (bug#8667).
25066 2011-05-13 Glenn Morris <rgm@gnu.org>
25068 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
25070 * mail/sendmail.el (sendmail-program): Try executable-find first.
25071 (sendmail-send-it): `sendmail-program' cannot be unbound.
25073 * calendar/appt.el (appt-make-list): Simplify.
25074 (appt-time-msg-list): Doc fix.
25075 (appt-check): Change mode-line message at the time of the appointment.
25077 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
25079 * progmodes/ld-script.el (ld-script-keywords)
25080 (ld-script-builtins): Update keywords list.
25082 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25084 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
25086 * shell.el (shell-completion-vars): New function.
25088 * simple.el (read-shell-command): Use it.
25089 (blink-matching-open): No need for " [...]" in minibuffer-message.
25091 2011-05-12 Glenn Morris <rgm@gnu.org>
25093 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
25094 (appt-check): Simplify.
25096 2011-05-12 Eli Zaretskii <eliz@gnu.org>
25098 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
25099 literal "/dev/null".
25101 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25103 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
25106 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
25108 * progmodes/which-func.el (which-function):
25109 Use add-log-current-defun instead of add-log-current-defun-function,
25110 which might not be defined (Bug#8260).
25112 2011-05-12 Glenn Morris <rgm@gnu.org>
25114 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
25115 Let byte-compile-initial-macro-environment always take precedence.
25117 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25119 * net/rcirc.el: Add support for SSL/TLS connections.
25120 (rcirc-server-alist): New field `encryption'.
25121 (rcirc): Check `encryption' settings.
25122 (rcirc-connect): New arg `encryption'. Use open-network-stream.
25123 Merge make-local-variable into `set'.
25124 (rcirc--connection-open-p): New function.
25125 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
25126 the process is not a network process (e.g. running gnutls-cli).
25127 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
25128 Make rcirc-(en|de)code-coding-system local here.
25129 (rcirc-mode): Merge make-local-variable into `set'.
25130 (rcirc-parent-buffer): Make permanent buffer-local.
25131 (rcirc-multiline-minor-mode): Don't do it here.
25132 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
25133 there's no server buffer.
25135 2011-05-11 Glenn Morris <rgm@gnu.org>
25137 * newcomment.el (comment-kill): Prefix "unused" local.
25139 * term/w32console.el (get-screen-color): Declare.
25141 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
25142 Handle symbol elements of byte-compile-initial-macro-environment.
25144 2011-05-10 Leo Liu <sdl.web@gmail.com>
25146 * bookmark.el (bookmark-bmenu-mode-map):
25147 Bind bookmark-bmenu-search to `/'.
25149 * mail/footnote.el: Convert to utf-8 encoding.
25150 (footnote-unicode-string, footnote-unicode-regexp): New variable.
25151 (Footnote-unicode): New function.
25152 (footnote-style-alist): Add unicode style to the list.
25153 (footnote-style): Doc fix.
25155 2011-05-10 Jim Meyering <meyering@redhat.com>
25157 Fix doubled-word typos.
25158 * international/quail.el (quail-insert-kbd-layout): and and -> and
25159 * kermit.el: and and -> and
25160 * net/ldap.el (ldap-search-internal): to to -> to
25161 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
25162 * progmodes/js.el (js-mode): and and -> and
25163 * textmodes/artist.el (artist-move-to-xy): at at -> at
25164 (artist-draw-region-trim-line-endings): if if -> if
25165 And Safetyc -> Safety.
25166 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
25168 2011-05-10 Glenn Morris <rgm@gnu.org>
25169 Stefan Monnier <monnier@iro.umontreal.ca>
25171 * files.el (hack-one-local-variable-eval-safep):
25172 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
25174 2011-05-10 Glenn Morris <rgm@gnu.org>
25176 * calendar/diary-lib.el (diary-list-entries-hook)
25177 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
25178 (diary-nongregorian-marking-hook, diary-list-entries)
25179 (diary-include-other-diary-files, diary-mark-entries)
25180 (diary-mark-included-diary-files): Doc fixes.
25182 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25184 * misc.el: Require tabulated-list.el during compilation.
25186 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25188 * progmodes/compile.el (compilation-start):
25189 Run compilation-filter-hook for the async case too.
25190 (compilation-filter-hook): Doc fix.
25192 2011-05-09 Deniz Dogan <deniz@dogan.se>
25194 * wdired.el: Remove outdated installation comment. Fix usage
25197 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25199 * misc.el: Implement new command `list-dynamic-libraries'.
25200 (list-dynamic-libraries--loaded-only-p): New variable.
25201 (list-dynamic-libraries--refresh): New function.
25202 (list-dynamic-libraries): New command.
25204 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25206 * progmodes/compile.el (compilation-error-regexp-alist-alist):
25207 Fix the ant regexp to handle end-line and end-column info from jikes.
25208 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
25209 higher priority to avoid clobbering by gnu.
25211 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25213 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
25214 if the face has existing theme settings (Bug#8454).
25216 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
25218 * progmodes/perl-mode.el (perl-imenu-generic-expression):
25219 Only match variables declared via `my' or `our' (Bug#8261).
25221 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
25222 special file names `.' and `..' (Bug#8259).
25224 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25226 * progmodes/grep.el (grep-mode-font-lock-keywords):
25227 Remove buffer-changing entries.
25228 (grep-filter): New function.
25229 (grep-mode): Add it to compilation-filter-hook.
25231 * progmodes/compile.el (compilation-filter-hook)
25232 (compilation-filter-start): New defvars.
25233 (compilation-filter): Call compilation-filter-hook prior to
25234 updating the process mark.
25236 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
25238 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
25240 2011-05-07 Eli Zaretskii <eliz@gnu.org>
25242 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
25243 mailclient-send-it even if window-system is nil. (Bug#8595)
25245 * term/w32console.el (terminal-init-w32console):
25246 Call get-screen-color and use its output to set the frame
25247 background-mode. (Bug#8597)
25249 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
25251 Make bytecomp.el understand that defmethod defines funs (bug#8631).
25252 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
25254 (defgeneric, eieio--defmethod): Use them.
25255 (eieio-defgeneric): Remove.
25256 (defmethod): Call defgeneric in a way visible to the byte-compiler.
25258 2011-05-07 Glenn Morris <rgm@gnu.org>
25260 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
25261 Use let rather than let*.
25262 (timeclock-find-discrep): Remove unused local.
25264 * calendar/diary-lib.el (diary-comment-start): Doc fix.
25266 * calendar/appt.el (appt-time-msg-list): Doc fix.
25268 2011-05-06 Noah Friedman <friedman@splode.com>
25270 * apropos.el (apropos-print-doc): Only use
25271 emacs-lisp-docstring-fill-column when it is bound to an integer,
25272 per that variable's documentation.
25274 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
25276 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
25277 and warnings are not silently discarded (e.g. use -d instead of -P).
25279 2011-05-06 Glenn Morris <rgm@gnu.org>
25281 * calendar/appt.el (appt-message-warning-time): Doc fix.
25282 (appt-warning-time-regexp): New option.
25283 (appt-make-list): Respect appt-message-warning-time.
25285 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
25287 (diary-add-to-list): Strip comments from the displayed string.
25288 (diary-mode): Set comment-start and comment-end.
25290 * vc/diff-mode.el (smerge-refine-subst): Declare.
25291 (diff-refine-hunk): Don't require smerge-mode when compiling.
25293 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
25295 * simple.el (list-processes): Return nil as the docstring says.
25297 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25299 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
25301 (ange-ftp-write-region, ange-ftp-insert-file-contents)
25302 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
25303 determining of binary transfer. (Bug#7383)
25305 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25307 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25308 Fix port computation bug. (Bug#8618)
25310 2011-05-05 Glenn Morris <rgm@gnu.org>
25312 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
25314 * simple.el (shell-dynamic-complete-functions)
25315 (comint-dynamic-complete-functions): Declare.
25317 * net/network-stream.el (gnutls-negotiate):
25318 * simple.el (tabulated-list-print): Fix declarations.
25320 * progmodes/gud.el (syntax-symbol, syntax-point):
25321 Remove unnecessary and incorrect declarations.
25323 * emacs-lisp/check-declare.el (check-declare-scan):
25324 Handle byte-compile-initial-macro-environment in bytecomp.el.
25326 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
25328 Fix earlier half-done eieio-defmethod change (bug#8338).
25329 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
25330 Streamline and change calling convention.
25331 (defmethod): Adjust accordingly and simplify.
25332 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
25333 new eieio--defmethod.
25334 (slot-boundp): Minor CSE simplification.
25336 2011-05-05 Milan Zamazal <pdm@zamazal.org>
25338 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
25339 (glasses-make-readable): Use glasses-separate-capital-groups.
25341 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
25343 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
25344 (warning-series): Doc fix.
25345 (display-warning): Don't try to create the buffer if we just found it.
25347 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
25349 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
25350 (autoload-find-generated-file): New function.
25351 (generate-file-autoloads): Bind generated-autoload-file to
25353 (update-file-autoloads, update-directory-autoloads):
25354 Use autoload-find-generated-file. If called interactively, prompt for
25355 output file (Bug#7989).
25356 (batch-update-autoloads): Doc fix.
25358 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
25360 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
25362 2011-05-04 Glenn Morris <rgm@gnu.org>
25364 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
25365 function, so it follows changes in calendar-date-style.
25366 (diary-fancy-date-matcher): New function.
25367 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
25368 (diary-fancy-font-lock-fontify-region-function):
25369 Use diary-fancy-date-pattern as a function.
25371 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
25372 non-numbers for `year' etc pseudo-variables. (Bug#8583)
25374 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
25376 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
25377 instead of positional arguments. Allow :keylist and :crlfiles
25379 (open-gnutls-stream): Call it.
25381 * net/network-stream.el (network-stream-open-starttls): Adjust to
25382 call `gnutls-negotiate' with :process and :hostname arguments.
25384 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
25386 * minibuffer.el (completion--message): New function.
25387 (completion--do-completion, minibuffer-complete)
25388 (minibuffer-force-complete, minibuffer-complete-word): Use it.
25389 (completion--do-completion): Don't ignore completion-auto-help when in
25392 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
25393 internal encoding (e.g. tibetan zero is not whitespace).
25394 (global-whitespace-mode): Prefer save-current-buffer.
25395 (whitespace-trailing-regexp): Remove useless save-match-data.
25396 (whitespace-empty-at-bob-regexp): Minor simplification.
25398 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
25400 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
25402 2011-05-03 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
25404 * textmodes/ispell.el (ispell-add-per-file-word-list):
25405 Use `concat' to create string for insertion.
25407 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25409 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
25410 Avoid open-line which runs post-self-insert-hook.
25411 (bibtex-fill-entry): Remove unused `end' var.
25413 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
25415 * textmodes/ispell.el (ispell-add-per-file-word-list):
25416 Protect against `nil' value of `comment-start' (Bug#8579).
25418 2011-05-03 Leo Liu <sdl.web@gmail.com>
25420 * isearch.el (isearch-yank-pop): New command.
25421 (isearch-mode-map): Bind it to `M-y'.
25422 (isearch-forward): Mention it.
25424 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25426 * simple.el (minibuffer-complete-shell-command): Remove.
25427 (minibuffer-local-shell-command-map): Use completion-at-point.
25428 (read-shell-command): Setup completion vars here instead.
25429 (read-expression-map): Bind TAB to symbol completion.
25431 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
25432 error directly rather via storing it into `results'.
25434 2011-05-02 Leo Liu <sdl.web@gmail.com>
25436 * vc/diff.el: Fix description.
25438 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
25440 * server.el (server-eval-at): New function.
25442 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
25444 * net/network-stream.el (open-network-stream): Take a :nowait
25445 parameter and pass it on to `make-network-process'.
25446 (network-stream-open-plain): Ditto.
25448 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
25450 * faces.el (face-spec-set-match-display): Don't match toolkit
25451 options on terminal frames.
25453 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
25455 * progmodes/pascal.el: Use lexical binding.
25456 (pascal-mode-map): Remove author preferences.
25458 * pcomplete.el (pcomplete-std-complete): Don't abuse
25459 completion-at-point.
25461 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25463 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
25464 removing code that has been dead since 1991 or so.
25466 * startup.el (command-line): When warning about "_emacs", use a
25467 delayed warning to allow the user to filter it out.
25469 2011-04-28 Deniz Dogan <deniz@dogan.se>
25471 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
25472 user has not joined.
25474 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25476 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
25477 aren't any completions at point.
25479 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25481 * subr.el (display-delayed-warnings): New function.
25482 (delayed-warnings-hook): New variable.
25484 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25486 * minibuffer.el (completion-at-point, completion-help-at-point):
25487 Don't presume that a given completion-at-point-function will always
25488 use the same calling convention.
25490 * pcomplete.el (pcomplete-completions-at-point):
25491 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
25492 pcomplete-seen is non-nil.
25493 (pcomplete-comint-setup): Also recognize the new comint/shell
25494 completion functions.
25495 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
25496 pcomplete-seen is non-nil.
25498 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
25500 * calendar/icalendar.el (diary-lib): Add require statement.
25501 (icalendar--create-uid): Read out a uid from a text-property on
25502 the first character in the entry. This allows for code to add its
25503 own uid to the entry.
25504 (icalendar--convert-float-to-ical): Add export of
25505 `diary-float'-entries save for those with the optional DAY
25508 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
25510 * subr.el (shell-quote-argument): Use alternate escaping strategy
25511 when we spot a variable reference in a string.
25513 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25515 * cus-start.el (all): Define customization for debug-on-event.
25517 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25519 * subr.el (shell-quote-argument): Escape correctly under Windows.
25521 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25523 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
25525 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
25527 * net/tramp.el (tramp-process-actions): Add POS argument.
25528 Delete region between POS and (pos).
25530 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25531 Use `nil' position in `tramp-process-actions' call.
25532 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
25534 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
25535 position in `tramp-process-actions' call.
25537 * net/trampver.el: Update release number.
25539 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25541 * custom.el (defcustom): Obey lexical-binding.
25543 Fix octave-inf completion problems reported by Alexander Klimov.
25544 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
25545 Inherit from octave-mode-syntax-table.
25546 (inferior-octave-mode): Set info-lookup-mode.
25547 (inferior-octave-completion-at-point): New function.
25548 (inferior-octave-complete): Use it and completion-in-region.
25549 (inferior-octave-dynamic-complete-functions): Use it as well, and use
25550 comint-filename-completion.
25551 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
25552 symbol elements which shouldn't be word elements.
25553 (octave-font-lock-keywords, octave-beginning-of-defun)
25554 (octave-function-header-regexp): Adjust regexps accordingly.
25555 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
25557 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
25559 * net/gnutls.el (gnutls-errorp): Declare before first use.
25561 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
25563 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
25564 verify-error, and verify-hostname-error parameters. Check whether
25565 default trustfile exists before going to use it. Add missing
25566 argument to gnutls-message-maybe call. Return value.
25567 Reported by Claudio Bley <claudio.bley@gmail.com>.
25568 (open-gnutls-stream): Add usage example.
25570 * net/network-stream.el (network-stream-open-starttls): Give host
25571 parameter to `gnutls-negotiate'.
25572 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
25573 * subr.el (shell-quote-argument): Escape correctly under Windows.
25575 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
25577 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
25578 Use correct match group (bug#8438).
25580 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25582 * emacs-lisp/package.el (package-built-in-p): Fix typo.
25583 (package-menu--generate): New arg specifying packages to show.
25584 (package-menu-refresh, package-menu-execute, list-packages):
25586 (package-show-package-list): New function, replacing deleted
25587 package--list-packages (renamed because it is non-internal).
25589 * finder.el (finder-list-matches): Use package-show-package-list
25590 instead of deleted package--list-packages.
25592 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
25593 Based on a previous implementation by Juanma Barranquero (Bug#8366).
25594 (vc-annotate-mode-map): Bind it to RET.
25596 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
25598 * progmodes/etags.el (next-file): Don't use set-buffer to change
25599 buffers (Bug#8478).
25601 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25603 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
25605 * apropos.el (apropos-label-face): Avoid variable-pitch face.
25606 (apropos-accumulator): Doc fix.
25607 (apropos-function, apropos-macro, apropos-command)
25608 (apropos-variable, apropos-face, apropos-group, apropos-widget)
25609 (apropos-plist): Add face property.
25610 (apropos-symbols-internal): Fix indentation.
25611 (apropos-print): Simplify help, and recognize apropos-multi-type.
25612 (apropos-print-doc): Use button-type-get to extract the button's
25613 face property. Fill docstring (Bug#8352).
25615 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
25617 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
25619 * play/mpuz.el (mpuz-silent): Doc fix.
25620 (mpuz-mode-map): Use mapc.
25621 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
25622 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
25623 Fix typos in docstrings.
25625 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
25626 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
25628 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
25630 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
25632 * minibuffer.el (completion--do-completion): Avoid the "Next char
25633 not unique" prompt if icomplete-mode is enabled (Bug#5849).
25635 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
25636 mouse-2 into unread-command-events, it is interpreted correctly.
25638 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
25639 (image-toggle-display): Doc fix.
25641 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
25643 * textmodes/page.el (what-page): Use line-number-at-pos to
25644 calculate line number (Bug#6825).
25646 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25648 * eshell/esh-mode.el (find-tag-interactive): Declare function.
25649 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
25650 Pass argument NO-DEFAULT to `find-tag-interactive'.
25652 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25654 Lexical-binding cleanup.
25656 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
25657 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
25658 * progmodes/ada-prj.el (ada-prj-initialize-values)
25659 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
25660 (ada-prj-show-value):
25661 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
25662 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
25663 (antlr-invalidate-context-cache, antlr-options-menu-filter)
25664 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
25665 * progmodes/bug-reference.el (bug-reference-push-button):
25666 * progmodes/fortran.el (fortran-line-length):
25667 * progmodes/glasses.el (glasses-change):
25668 * progmodes/octave-mod.el (octave-fill-paragraph):
25669 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
25670 (python-pdbtrack-grub-for-buffer, python-sentinel):
25671 * progmodes/sql.el (sql-save-connection):
25672 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
25673 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
25674 Mark unused parameters.
25676 * progmodes/compile.el (compilation--flush-directory-cache)
25677 (compilation--flush-parse, compile-internal): Mark unused parameters.
25678 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
25679 (compilation-next-error-function): Remove unused variable `timestamp'.
25681 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
25682 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
25684 * progmodes/dcl-mode.el (dcl-end-of-command):
25685 Remove unused variable `start'.
25686 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
25687 (dcl-option-value-basic, dcl-option-value-offset)
25688 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
25689 Mark unused parameters.
25690 (dcl-save-local-variable): Remove unused variable `val'.
25693 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
25694 Mark unused parameters.
25695 (delphi-ignore-changes): Move before first use.
25696 (delphi-charset-token-at): Remove unused variable `start'.
25697 (delphi-else-start): Remove unused variable `if-count'.
25698 (delphi-comment-block-start, delphi-comment-block-end):
25699 Remove unused variable `kind'.
25700 (delphi-indent-line): Remove unused variable `new-point'.
25702 * progmodes/ebrowse.el (ebrowse-files-list)
25703 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
25704 Mark unused parameters. Don't quote `lambda'.
25705 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
25706 Don't quote `lambda'.
25707 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
25708 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
25709 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
25710 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
25711 Use `ignore-errors'.
25712 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
25713 (ebrowse-view/find-file-and-search-pattern)
25714 (ebrowse-view/find-member-declaration/definition):
25715 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
25716 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
25717 Rename parameter PREFIX-ARG to PREFIX.
25718 (ebrowse-tags-read-name): Remove unused variables `start' and
25720 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
25723 * progmodes/etags.el (local-find-tag-hook): Declare.
25724 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
25725 Mark unused parameters.
25727 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
25728 (executable-interpret): Mark unused parameter.
25730 * progmodes/flymake.el (flymake-process-sentinel)
25731 (flymake-after-change-function)
25732 (flymake-create-temp-with-folder-structure)
25733 (flymake-get-include-dirs-dot): Mark unused parameters.
25734 (flymake-safe-delete-directory): Remove unused variable `err'.
25736 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
25737 (speedbar-timer-fn, speedbar-line-text)
25738 (speedbar-change-expand-button-char, speedbar-delete-subblock)
25739 (speedbar-center-buffer-smartly): Declare functions.
25740 (gdb-find-watch-expression): Remove unused variable `array'.
25741 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
25742 (gdb-starting): Mark unused parameters.
25743 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
25744 (gdb-table-string): Remove unused variable `res'.
25745 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
25746 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
25747 (gdb-display-buffer): Remove unused variable `cur-size'.
25749 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
25750 allow lexical-binding compilation.
25751 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
25752 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
25753 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
25754 Mark unused parameters.
25755 (gud-gdb-marker-filter): Remove unused variable `match'.
25756 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
25757 lambda expressions and funcall them, instead of using `fset'.
25759 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
25760 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
25762 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
25763 variable `header-beg'; use `let'.
25765 * progmodes/icon.el (indent-icon-exp): Remove unused variables
25766 `restart', `last-sexp' and `at-do'.
25768 * progmodes/js.el (js--debug): Mark unused parameter.
25769 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
25770 (js--splice-into-items): Remove unused variable `item'.
25771 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
25773 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
25774 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
25775 (makefile-complete): Remove unused variable `try'.
25776 (makefile-fill-paragraph, makefile-match-function-end):
25777 Mark unused parameters.
25779 * progmodes/octave-inf.el (inferior-octave-complete):
25780 Remove unused variable `proc'.
25781 (inferior-octave-output-digest): Mark unused parameter.
25783 * progmodes/perl-mode.el (perl-calculate-indent):
25784 Remove unused variable `err'.
25786 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
25787 (prolog-indent-line): Mark unused parameters.
25788 (prolog-indent-line): Remove unused variable `beg'.
25790 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
25791 (reporter-dont-compact-list): Declare.
25793 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
25794 Remove unused variable `char'.
25795 (sh-debug): Mark unused parameter.
25796 (sh-get-indent-info): Remove unused variable `start'.
25797 (sh-calculate-indent): Remove unused variable `var'.
25799 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
25800 (simula-electric-keyword): Remove unused variable `null'.
25801 (simula-search-backward, simula-search-forward): Remove unused
25802 variables `begin' and `end'.
25804 * progmodes/vera-mode.el (vera-guess-basic-syntax):
25805 Remove unused variable `pos'.
25806 (vera-electric-tab, vera-comment-uncomment-region):
25807 Mark unused parameters.
25808 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
25810 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
25812 * emacs-lisp/package.el (package--builtins, package-alist)
25813 (package-load-descriptor, package-built-in-p, package-activate)
25814 (define-package, package-installed-p)
25815 (package-compute-transaction, package-buffer-info)
25816 (package--push): Doc fix. Distinguish more clearly between
25817 version strings and version lists.
25819 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
25821 Lexical-binding cleanup.
25823 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
25824 (5x5-make-mutate-best):
25825 * play/fortune.el (fortune-in-buffer):
25826 * play/gomoku.el (gomoku-init-display):
25827 * play/solitaire.el (solitaire, solitaire-do-check):
25828 * play/tetris.el (tetris-default-update-speed-function):
25829 Mark unused parameters.
25831 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
25832 (bubbles--shift): Remove unused variable `char-org'.
25833 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
25834 (bubbles--show-images): Remove unused variable `char'.
25836 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
25837 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
25838 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
25839 (decipher-analyze-buffer): Use ?\s.
25840 (decipher-make-checkpoint): Remove unused variable `mapping'.
25842 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
25844 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
25845 Remove unused variable `result'; use `let'.
25847 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
25848 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
25849 (gametree-children-shown-p, gametree-compute-reduced-score):
25850 Use `ignore-errors'.
25852 * play/handwrite.el (ps-lpr-switches): Declare.
25853 (handwrite): Remove unused variables `pmin' and `lastp'.
25855 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
25857 * play/landmark.el (landmark-init-display)
25858 (landmark-update-naught-weights): Mark unused parameters.
25859 (landmark-y): Remove unused variable `noise'. Simplify.
25860 (landmark-human-plays): Remove unused variable `score'.
25862 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
25863 (mpuz-try-proposal): Remove unused variable `game'.
25865 * play/zone.el (life-patterns): Declare.
25867 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
25869 * vc/vc.el (ediff-vc-internal): Declare function.
25871 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25873 * shell.el: Use lexical-binding and std completion UI.
25874 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
25875 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
25876 comint-preoutput-filter-functions rather than on
25877 comint-output-filter-functions.
25878 (shell-command-completion, shell--command-completion-data)
25879 (shell-filename-completion, shell-environment-variable-completion)
25880 (shell-c-a-p-replace-by-expanded-directory): New functions.
25881 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
25882 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
25883 (shell-dynamic-complete-environment-variable): Use them.
25884 (shell-dynamic-complete-as-environment-variable)
25885 (shell-dynamic-complete-as-command): Remove.
25886 (shell-match-partial-variable): Match past point.
25887 * comint.el: Clean up use of completion-at-point-functions.
25888 (comint-completion-at-point): New function.
25889 (comint-mode): Use it completion-at-point-functions.
25890 (comint-dynamic-complete): Make it obsolete.
25891 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
25892 (comint-c-a-p-replace-by-expanded-history): New function.
25893 (comint-dynamic-complete-functions)
25894 (comint-replace-by-expanded-history): Use it.
25895 * minibuffer.el (completion-table-with-terminator): Allow dynamic
25896 termination strings. Try harder to avoid second try-completion.
25897 (completion-in-region-mode-map): Disable bindings that don't work yet.
25899 * comint.el: Use lexical-binding. Require CL.
25900 (comint-dynamic-complete-functions): Use comint-filename-completion.
25901 (comint-completion-addsuffix): Tweak custom type.
25902 (comint-filename-completion, comint--common-suffix)
25903 (comint--common-quoted-suffix, comint--table-subvert)
25904 (comint--complete-file-name-data): New functions.
25905 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
25906 (comint-dynamic-list-filename-completions): Use them.
25907 (comint-dynamic-simple-complete): Make obsolete.
25909 * minibuffer.el (completion-in-region-mode):
25910 Keep completion-in-region-mode--predicate global.
25911 (completion-in-region--postch):
25912 Assume completion-in-region-mode--predicate is not null.
25914 * progmodes/flymake.el (flymake-start-syntax-check-process):
25915 Obey `dir'. Simplify.
25917 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
25918 we're in VC after all.
25920 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
25922 * vc/vc.el (vc-diff-build-argument-list-internal)
25923 (vc-version-ediff, vc-ediff): New commands.
25924 (vc-version-diff): Use vc-diff-build-argument-list-internal.
25926 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25928 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
25931 * obsolete/erc-hecomplete.el: Make obsolete.
25932 * obsolete/: Standardize obsolescence info in the header.
25934 2011-04-20 Glenn Morris <rgm@gnu.org>
25936 * calendar/solar.el (solar-horizontal-coordinates):
25937 Use the longitude argument rather than `calendar-longitude'.
25938 (solar-date-next-longitude): Remove unused locals.
25940 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
25942 * whitespace.el: New version 13.2.1.
25944 2011-04-20 felix <EmacsWiki> (tiny change)
25946 * whitespace.el (global-whitespace-mode): Keep highlight when
25947 switching between major modes on a file.
25949 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
25951 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
25952 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
25953 multi-line comments as well.
25955 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
25957 Lexical-binding cleanup.
25959 * arc-mode.el (archive-mode-revert):
25960 * cmuscheme.el (scheme-interactively-start-process):
25961 * custom.el (custom-initialize-delay):
25962 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
25963 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
25964 * emacs-lock.el (emacs-lock-clear-sentinel):
25965 * ezimage.el (defezimage):
25966 * follow.el (follow-avoid-tail-recenter):
25967 * fringe.el (set-fringe-mode-1):
25968 * generic-x.el (bat-generic-mode-compile):
25969 * help-mode.el (help-info-variable, help-do-xref)
25970 (help-mode-revert-buffer):
25971 * help.el (view-emacs-todo):
25972 * iswitchb.el (iswitchb-completion-help):
25973 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
25974 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
25975 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
25976 * locate.el (locate-update):
25977 * longlines.el (longlines-encode-region)
25978 (longlines-after-change-function):
25979 * outline.el (outline-isearch-open-invisible):
25980 * ps-def.el (declare-function, charset-dimension, char-width)
25982 * ps-mule.el (ps-mule-plot-string):
25983 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
25984 (recentf-edit-list-select, recentf-edit-list-validate)
25985 (recentf-open-files-action):
25986 * rect.el (delete-whitespace-rectangle-line)
25987 (rectangle-number-line-callback):
25988 * register.el (window-configuration-to-register)
25989 (frame-configuration-to-register):
25990 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
25991 * select.el (xselect-convert-to-string, xselect-convert-to-length)
25992 (xselect-convert-to-targets, xselect-convert-to-delete)
25993 (xselect-convert-to-filename, xselect-convert-to-charpos)
25994 (xselect-convert-to-lineno, xselect-convert-to-colno)
25995 (xselect-convert-to-os, xselect-convert-to-host)
25996 (xselect-convert-to-user, xselect-convert-to-class)
25997 (xselect-convert-to-name, xselect-convert-to-integer)
25998 (xselect-convert-to-atom, xselect-convert-to-identity):
25999 * subr.el (declare, ignore, process-kill-without-query)
26000 (text-clone-maintain):
26001 * terminal.el (te-get-char, te-tic-sentinel):
26002 * tool-bar.el (tool-bar-make-keymap):
26003 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
26004 * type-break.el (type-break-mode, type-break-noninteractive-query):
26005 * view.el (View-back-to-mark):
26006 * wid-browse.el (widget-browse-action, widget-browse-widget)
26007 (widget-browse-widgets, widget-browse-sexp):
26008 * widget.el (define-widget-keywords):
26009 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
26010 Mark unused parameters.
26012 * align.el (align-adjust-col-for-rule): Mark unused parameter.
26013 (align-areas): Remove unused variable `look'.
26014 (align-region): Remove unused variables `real-end' and `pos-list'.
26016 * apropos.el (apropos-score-doc): Remove unused variable `i'.
26018 * bindings.el (mode-line-modified, mode-line-remote):
26019 Mark unused parameters.
26020 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
26022 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
26023 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
26025 * comint.el (comint-history-isearch-pop-state)
26026 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
26027 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
26028 (comint-substitute-in-file-name): Doc fix.
26030 * completion.el (cmpl-statistics-block): Mark unused parameter.
26031 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
26032 (save-completions-to-file, load-completions-from-file):
26033 Remove unused local variable `e'.
26035 * composite.el (compose-chars): Remove unused variable `len'.
26036 (lgstring-insert-glyph): Remove unused variable `g'.
26037 (compose-glyph-string): Remove unused variables `ascent',
26038 `descent', `lbearing' and `rbearing'.
26039 (compose-glyph-string-relative): Remove unused variables
26040 `lbearing', `rbearing' and `wadjust'.
26041 (compose-gstring-for-graphic): Remove unused variables `header',
26042 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
26043 (compose-gstring-for-terminal): Remove unused variables `header'
26044 and `nchars'. Use `let', not `let*'.
26046 * cus-edit.el (Custom-set, Custom-save, custom-reset)
26047 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
26048 (Custom-buffer-done, custom-buffer-create-internal)
26049 (custom-browse-visibility-action, custom-browse-group-tag-action)
26050 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
26051 (widget-magic-mouse-down-action, custom-toggle-parent)
26052 (custom-add-parent-links, custom-toggle-hide-variable)
26053 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
26054 (custom-toggle-hide-face, face, hook, custom-group-link-action)
26055 (custom-face-menu-create, custom-variable-menu-create, get)
26056 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
26057 (custom-reset-standard-save-and-update): Remove unused variable `value'.
26058 (customize-apropos): Remove unused variable `tests'.
26059 (custom-group-value-create): Remove unused variable `hidden-p'.
26060 (sort-fold-case): Declare.
26062 * cus-theme.el (custom-reset-standard-faces-list)
26063 (custom-reset-standard-variables-list): Declare.
26064 (customize-create-theme, custom-theme-revert, custom-theme-write)
26065 (custom-theme-choose-mode, customize-themes, custom-theme-save):
26066 Mark unused parameters.
26068 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
26070 * delim-col.el (delimit-columns-max): Move defvar before first use.
26072 * descr-text.el (describe-char-categories): Don't quote `lambda'.
26073 (describe-char): Don't quote `lambda'. Mark unused parameter.
26075 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
26076 (auto-insert): Declare.
26077 (desktop-restore-file-buffer): Rename desktop-* parameters;
26079 (desktop-create-buffer): Rename desktop-* parameters and bind them.
26080 (desktop-buffer): Rename desktop-* parameters.
26082 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
26083 (dframe-reposition-frame-xemacs, dframe-help-echo)
26084 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
26085 Mark unused parameters.
26087 * dired-aux.el (backup-extract-version-start, overwrite-query)
26088 (overwrite-backup-query, rename-regexp-query)
26089 (rename-non-directory-query): Declare.
26090 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
26091 (dired-add-entry): Remove unused variable `orig-file-name'.
26092 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
26093 Use parameter PRESERVE-TIME instead of accessing dynamic variable
26094 `dired-copy-preserve-time' directly.
26095 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
26096 (dired-insert-subdir-newpos): Rename unused variable `pos'.
26098 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
26099 (dired-virtual-revert, dired-make-relative-symlink):
26100 Mark unused parameters.
26101 (manual-program): Declare.
26102 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
26103 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
26104 wrapped in `with-no-warnings' to avoid replacing one warning by another.
26106 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
26108 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
26110 * echistory.el (electric-history-in-progress, Helper-return-blurb):
26113 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
26115 * electric.el (Electric-command-loop): Rename parameter
26116 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
26118 * expand.el (expand-in-literal): Remove unused variable `here'.
26120 * facemenu.el (facemenu-add-new-color):
26121 Remove unused variable `docstring'.
26123 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
26124 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
26125 (face-attr-construct): Mark unused parameter. Doc fix.
26126 (read-color): Remove unused variable `hex-string'.
26128 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
26129 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
26130 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
26131 (display-buffer-other-frame): Remove unused variable `old-window'.
26132 (kill-buffer-hook): Declare.
26133 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
26134 Mark unused parameters.
26135 (after-find-file): Pass 1 to `auto-save-mode', not t.
26137 * files-x.el (auto-insert): Declare.
26138 (modify-file-local-variable-prop-line): Remove unused variable `val'.
26140 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
26141 variable `buf'. Mark unused parameter.
26142 (find-lisp-insert-directory): Mark unused parameter.
26144 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
26145 (format-encode-region): Remove unused variables `cur-buf' and `result'.
26146 (format-common-tail): Remove, unused.
26147 (format-deannotate-region): Remove unused variable `loc'.
26148 (format-annotate-region): Remove unused variable `p'.
26149 (format-annotate-single-property-change): Remove unused variables
26150 `default' and `tail'.
26152 * forms.el (read-file-filter): Declare.
26153 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
26155 * frame.el (frame-creation-function-alist): Mark unused parameter.
26156 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
26158 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
26159 Remove unused parameters.
26160 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
26161 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
26163 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
26164 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
26165 (hfy-prepare-tag-map): Mark unused parameters.
26166 (htmlfontify-buffer): Use `called-interactively-p'.
26168 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
26169 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
26170 (ibuffer-do-occur): Mark unused parameters.
26171 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
26172 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
26174 * ibuffer.el: Don't quote `lambda'.
26175 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
26176 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
26177 Mark unused parameters.
26179 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
26180 (ido-completing-read): Mark unused parameters.
26181 (ido-copy-current-word): Mark unused parameters;
26182 remove unused variable `name'.
26183 (ido-sort-merged-list): Remove unused parameter `dirs'.
26185 * ielm.el (ielm-input-sender): Mark unused parameter.
26186 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
26187 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
26188 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
26189 `ielm-string' as a dynamic variable accessible from the IELM prompt.
26190 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
26192 * image-dired.el (image-dired-display-thumbs): Remove unused
26193 variables `curr-file' and `count'.
26194 (image-dired-remove-tag): Remove unused variable `start'.
26195 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
26196 variable `curr-file'
26197 (image-dired-rotate-original): Remove unused variable `temp-file'.
26198 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
26199 Remove unused variable `file'.
26200 (image-dired-gallery-generate): Remove unused variable `curr'.
26201 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
26203 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
26205 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
26207 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
26209 * isearch.el (minibuffer-history-symbol): Declare.
26210 (isearch-edit-string): Remove unused variable `err'.
26211 (isearch-message-prefix, isearch-message-suffix):
26212 Mark unused parameters.
26214 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
26216 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
26218 * makesum.el (double-column): Remove unused variable `cnt'.
26220 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
26221 (ido-ignore-item-temp-list): Declare.
26223 * mouse-drag.el (mouse-drag-throw): Remove unused variables
26224 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
26225 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
26226 (mouse-drag-drag): Remove unused variables `mouse-delta' and
26229 * mouse-sel.el (mouse-extend-internal):
26230 Remove unused variable `orig-window-frame'.
26232 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
26233 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
26234 Move declarations before first use.
26235 (pcomplete-opt): Mark unused parameters; doc fix.
26237 * proced.el (proced-revert): Mark unused parameter.
26238 (proced-send-signal): Remove unused variable `err'.
26240 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
26241 Rename parameter PREFIX-ARG to ARG.
26242 (ps-basic-plot-string, ps-basic-plot-whitespace):
26243 Mark unused parameters.
26245 * replace.el (replace-count): Define.
26246 (occur-revert-function): Mark unused parameters.
26247 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
26248 (isearch-case-fold-search, isearch-string): Declare.
26249 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
26250 bind `case-fold-search'. Remove unused variables `beg' and `end',
26252 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
26253 COUNT and bind `replace-count'.
26254 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
26257 * savehist.el (print-readably, print-string-length): Declare.
26259 * shadowfile.el (shadow-expand-cluster-in-file-name):
26260 Remove unused variable `cluster'.
26261 (shadow-copy-file): Remove unused variable `i'.
26262 (shadow-noquery, shadow-clusters, shadow-site-cluster)
26263 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
26264 (shadow-define-literal-group, shadow-define-regexp-group)
26265 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
26267 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
26268 (shell): Use `called-interactively-p'.
26269 (shell-directory-tracker): Remove unused variable `chdir-failure'.
26271 * simple.el (compilation-context-lines, comint-file-name-quote-list)
26272 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
26273 (delete-backward-char): Remove unused variable `ocol'.
26274 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
26275 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
26276 (event-apply-hyper-modifier, event-apply-shift-modifier)
26277 (event-apply-control-modifier, event-apply-meta-modifier):
26278 Mark unused parameters.
26279 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
26280 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
26282 * speedbar.el (speedbar-ignored-directory-expressions)
26283 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
26284 (speedbar-find-file, speedbar-dir-follow)
26285 (speedbar-directory-buttons-follow, speedbar-tag-find)
26286 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
26287 (speedbar-buffers-line-directory, speedbar-buffer-click):
26288 Mark unused parameters.
26289 (speedbar-tag-file): Remove unused variable `mode'.
26290 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
26292 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
26294 * talk.el (talk): Remove unused variable `display'.
26296 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
26297 (tar-write-region-annotate): Mark unused parameter.
26299 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
26300 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
26301 Declare them, wrapped in `with-no-warnings' to avoid replacing one
26302 warning by another.
26304 * time-stamp.el (time-stamp-string-preprocess):
26305 Remove unused variable `require-padding'.
26307 * tree-widget.el (widget-glyph-enable): Declare.
26308 (tree-widget-action): Mark unused parameter.
26310 * w32-fns.el (x-get-selection): Mark unused parameter.
26311 (autoload-make-program, generated-autoload-file): Declare.
26313 * wdired.el (wdired-revert): Mark unused parameters.
26314 (wdired-xcase-word): Remove unused variable `err'.
26316 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
26317 (whitespace-help-scroll): Remove unused variable `data-help'.
26319 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
26320 (widget-image-insert, widget-after-change, default)
26321 (widget-default-format-handler, widget-default-notify)
26322 (widget-default-prompt-value, widget-info-link-action)
26323 (widget-url-link-action, widget-function-link-action)
26324 (widget-variable-link-action, widget-file-link-action)
26325 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
26326 (widget-field-prompt-internal, widget-field-action, widget-field-match)
26327 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
26328 (widget-insert-button-action, widget-delete-button-action, visibility)
26329 (widget-documentation-link-action, widget-documentation-string-action)
26330 (widget-const-prompt-value, widget-regexp-match, symbol)
26331 (widget-coding-system-prompt-value)
26332 (widget-key-sequence-value-to-external, sexp)
26333 (widget-sexp-value-to-internal, character, vector, cons)
26334 (widget-choice-prompt-value, widget-boolean-prompt-value)
26335 (widget-color--choose-action): Mark unused parameters.
26336 (widget-item-match-inline, widget-choice-match-inline)
26337 (widget-checklist-match, widget-checklist-match-inline)
26338 (widget-group-match): Rename parameter VALUES to VALS.
26339 (widget-field-value-set): Remove unused variable `size'.
26340 (widget-color-action): Remove unused variables `value' and `start'.
26342 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
26343 variable `dir'. Doc fix.
26344 (windmove-find-other-window): Don't pass it.
26346 * window.el (count-windows): Mark unused parameter.
26347 (bw-adjust-window): Remove unused variable `err'.
26349 * woman.el (woman-file-name): Remove unused variable `default'.
26350 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
26351 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
26352 (global-font-lock-mode): Declare.
26353 (woman-decode-region): Mark unused parameter.
26354 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
26356 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
26357 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
26358 (x-dnd-handle-moz-url): Remove unused variable `title'.
26359 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
26361 * xml.el (xml-parse-tag, xml-parse-attlist):
26362 Remove unused variable `pos'.
26364 2011-04-19 Glenn Morris <rgm@gnu.org>
26366 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
26367 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
26368 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
26369 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
26370 * calendar/cal-html.el (cal-html-insert-minical):
26371 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
26372 (calendar-mark-date-pattern):
26373 Prefix "unused" locals.
26375 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
26376 optional argument `style'.
26378 * calendar/appt.el (appt-make-list):
26379 * calendar/cal-china.el (calendar-chinese-date-string):
26380 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
26381 (diary-hebrew-yahrzeit):
26382 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
26383 * calendar/calendar.el (calendar-generate-window):
26384 * calendar/time-date.el (time-to-days):
26385 Remove unused local variables.
26387 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
26389 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
26390 glyphless-char-display table.
26391 (tabulated-list-glyphless-char-display): New var.
26393 2011-04-18 Sam Steingold <sds@gnu.org>
26395 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
26396 to acknowledgments.
26398 2011-04-17 Glenn Morris <rgm@gnu.org>
26400 * calendar/diary-lib.el (diary-sexp-entry):
26401 * calendar/holidays.el (holiday-sexp):
26402 Set debug-on-error rather than the removed stack-trace-on-error.
26404 2011-04-16 Glenn Morris <rgm@gnu.org>
26406 * progmodes/f90.el: Use lexical-binding.
26407 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
26409 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26411 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
26412 (mail-mode): Setup mailalias completion here instead.
26413 * mail/mailalias.el: Use lexical-binding.
26414 (pattern, mailalias-done): Declare dynamic.
26415 (mail-completion-at-point-function): New function, from mail-complete.
26416 (mail-complete): Use it.
26417 (mail-completion-expand): New function.
26418 (mail-get-names): Use it.
26419 (mail-directory, mail-directory-process, mail-directory-stream):
26420 Don't use `pattern' for lexically bound arg.
26422 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
26424 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
26425 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
26426 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
26428 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
26429 (byte-save-window-excursion, byte-temp-output-buffer-setup)
26430 (byte-interactive-p): Define them again, for use when inlining
26433 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
26435 * loadup.el: Use `string-to-number', not `string-to-int'.
26437 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26439 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
26440 gud-gdb-complete-command.
26441 (gud-gdb-completions): New function, from gud-gdb-complete-command.
26442 (gud-gdb-completion-at-point): New function.
26443 (gud-gdb-completions): Remove.
26445 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
26447 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
26448 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
26449 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
26450 whether `executable-find' is bound.
26452 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
26454 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
26456 * minibuffer.el (completion-in-region-mode-predicate)
26457 (completion-in-region-mode--predicate): New vars.
26458 (completion-in-region, completion-in-region--postch)
26459 (completion-in-region-mode): Use them.
26460 (completion--capf-wrapper): Also return the hook function.
26461 (completion-at-point, completion-help-at-point):
26462 Adjust and provide a predicate.
26464 Preserve arg names for advice of subr and lexical functions (bug#8457).
26465 * help-fns.el (help-function-arglist): Consolidate the subr and
26466 new-byte-code cases. Add argument `preserve-names' to extract names
26467 from the docstring when needed.
26468 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
26469 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
26470 (ad-arglist): Use help-function-arglist's new arg.
26471 (ad-definition-type): Use cond.
26473 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
26475 * autorevert.el (auto-revert-handler):
26476 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
26477 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
26478 Don't quote lambda.
26480 * image-mode.el (image-transform-set-scale):
26481 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
26483 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
26485 * net/network-stream.el (network-stream-open-starttls): Only do
26486 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
26487 Upgrades via gnutls-cli are too slow to be done opportunistically.
26489 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
26491 * dframe.el (dframe-current-frame): Remove spurious quote.
26493 2011-04-12 Glenn Morris <rgm@gnu.org>
26495 * calendar/cal-tex.el (cal-tex-end-document):
26496 Try to automatically use latin1 input if needed.
26498 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
26499 Don't try to cons a mark onto an empty element.
26501 2011-04-11 Leo Liu <sdl.web@gmail.com>
26503 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
26505 (ido-kill-buffer-at-head): Support killing virtual buffers.
26507 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
26509 * minibuffer.el (completion-show-inline-help): New var.
26510 (completion--do-completion, minibuffer-complete)
26511 (minibuffer-force-complete, minibuffer-complete-word):
26512 Inhibit minibuffer messages if completion-show-inline-help is nil.
26514 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
26515 to avoid interference from inline help (Bug#5849).
26517 2011-04-10 Leo Liu <sdl.web@gmail.com>
26519 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
26522 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
26524 * image-mode.el (image-toggle-display-image): Signal an error if
26526 (image-transform-mode, image-transform-resize)
26527 (image-transform-set-rotation): Doc fix.
26528 (image-transform-set-resize): Delete.
26529 (image-transform-set-scale, image-transform-fit-to-height)
26530 (image-transform-fit-to-width): Handle image-toggle-display-image
26531 and image-transform-resize directly.
26533 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
26535 * doc-view.el (doc-view-fit-width-to-window)
26536 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
26537 New functions for fitting the shown image to the Emacs window size.
26538 (doc-view-mode-map): Add bindings for the new functions.
26540 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
26542 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
26543 Fix typo in docstring.
26545 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26547 * files.el (file-size-human-readable): Produce one digit after
26548 decimal, like "ls -lh" does.
26550 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
26551 the file size representation.
26553 * simple.el (list-processes): If async subprocesses are not
26554 available, error out with a clear error message.
26556 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
26558 * help.el (help-form-show): New function, to be called from C.
26559 Put help-form output in a buffer named differently than *Help*.
26561 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26563 * files.el (file-size-human-readable): New function.
26565 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
26566 computing the representation inline. Don't require `cl'.
26568 2011-04-08 Glenn Morris <rgm@gnu.org>
26570 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
26572 * net/browse-url.el (browse-url-firefox):
26573 Test system-type, not system-configuration.
26575 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
26576 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
26577 Use log-edit-empty-buffer-p. (Bug#7598)
26579 * net/rlogin.el (rlogin-process-connection-type): Simplify.
26580 (rlogin-mode-map): Initialize in the defvar.
26581 (rlogin): Use ignore-errors.
26583 * replace.el (occur-mode-map): Some fixes for menu items.
26585 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
26587 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
26589 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26591 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
26592 issuing unused warnings.
26594 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
26597 * simple.el: Lisp reimplement of list-processes. Based on an
26598 earlier reimplementation by Leo Liu, but using tabulated-list.el.
26599 (process-menu-mode): New major mode.
26600 (list-processes--refresh, list-processes):
26601 (process-menu-visit-buffer): New functions.
26603 * files.el (save-buffers-kill-emacs): Don't assume any return
26604 value of list-processes, which is undocumented anyway.
26606 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26608 * emacs-lisp/tabulated-list.el: New file.
26610 * emacs-lisp/package.el: Use Tabulated List mode.
26611 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
26612 (package-menu-mode): Derive from tabulated-list-mode. Set up the
26613 table format using Tabulated List mode variables.
26614 (package--push): New macro, replacing package-list-maybe-add.
26615 (package-menu--generate): Use package--push. Renamed from
26616 package--generate-package-list.
26617 (package-menu-refresh, list-packages): Use it.
26618 (package-menu--print-info): Rename from package-print-package.
26619 Return insertion data instead of inserting it directly.
26620 (package-menu-describe-package, package-menu-execute):
26621 Use tabulated-list-get-id.
26622 (package-menu-mark-delete, package-menu-mark-install)
26623 (package-menu-mark-unmark, package-menu-backup-unmark)
26624 (package-menu-mark-obsolete-for-deletion):
26625 Use tabulated-list-put-tag.
26626 (package--list-packages, package-menu-revert)
26627 (package-menu-get-package, package-menu-get-version)
26628 (package-menu-sort-by-column): Functions deleted.
26629 (package-menu-package-list, package-menu-sort-key): Vars deleted.
26630 (package-menu--status-predicate, package-menu--version-predicate)
26631 (package-menu--name-predicate)
26632 (package-menu--description-predicate): Handle arguments in the
26633 Tabulated List format.
26634 (package-list-packages-no-fetch): Call list-packages.
26636 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
26638 * files.el (after-find-file-from-revert-buffer): Remove variable.
26639 (after-find-file): Don't bind it.
26640 (revert-buffer-in-progress-p): New variable.
26641 (revert-buffer): Bind it.
26642 Pass nil for `after-find-file-from-revert-buffer'.
26644 * saveplace.el (save-place-find-file-hook): Use new variable
26645 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
26647 2011-04-06 Glenn Morris <rgm@gnu.org>
26649 * Makefile.in (AUTOGEN_VCS): New variable.
26650 (autoloads): Use $AUTOGEN_VCS.
26652 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
26653 * calendar/calendar.el (calendar-mode-map):
26654 Check for toolkit scroll bars. (Bug#8305)
26656 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26658 * minibuffer.el (completion-in-region--postch)
26659 (completion-in-region-mode): Remove unnecessary messages.
26661 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
26663 * font-lock.el (font-lock-refresh-defaults):
26664 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
26665 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
26667 * info.el (Info-directory-list, Info-read-node-name-2)
26668 (Info-split-parameter-string): Doc fixes.
26669 (Info-virtual-nodes): Reflow docstring.
26670 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
26671 (Info-apropos-toc-nodes, info-finder, Info-get-token)
26672 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
26673 Fix typos in docstrings.
26674 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
26675 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
26676 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
26677 (Info-restore-desktop-buffer): Mark unused parameters.
26678 (Info-directory-find-file, Info-directory-find-node)
26679 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
26680 (Info-virtual-index-find-node, Info-apropos-find-file)
26681 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
26682 Mark unused parameters; fix typos in docstrings.
26683 (Info-virtual-index): Remove unused local variable `nodename'.
26685 2011-04-05 Deniz Dogan <deniz@dogan.se>
26687 * net/rcirc.el: Update my e-mail address.
26688 (rcirc-mode-map): Remove M-o binding.
26690 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26692 * startup.el (command-line): Save the cursor's theme-face
26693 directly, instead of using face-override-spec.
26695 * custom.el (load-theme): Minor optimization in assigning faces.
26697 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26699 * help-fns.el (describe-variable): Complete all variables having
26700 documentation, including keywords.
26701 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
26703 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26705 Convert to lexical-binding.
26707 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
26708 (bs--get-marked-string, bs--get-modified-string)
26709 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
26710 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
26711 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
26713 * ehelp.el (electric-help-execute-extended)
26714 (electric-help-ctrl-x-prefix):
26715 * hexl.el (hexl-revert-buffer-function):
26716 * linum.el (linum-after-change, linum-after-scroll):
26717 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
26719 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
26721 2011-04-04 Daiki Ueno <ueno@unixuser.org>
26728 * epg.el: Use lexical binding.
26730 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
26732 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
26734 * textmodes/flyspell.el (flyspell-word): Recognize default
26735 dictionary case for flyspell-mark-duplications-exceptions.
26736 Use regexp matching for languages.
26737 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
26738 default dictionary (Bug#7926).
26740 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
26742 * emacs-lisp/package.el (package--with-work-buffer):
26743 Recognize https URLs.
26745 * net/network-stream.el: Move from gnus/proto-stream.el.
26746 Change prefix to network-stream throughout.
26747 (open-protocol-stream): Merge into open-network-stream, leaving
26748 open-protocol-stream as an alias. Handle nil BUFFER args.
26750 * subr.el (open-network-stream): Move to net/network-stream.el.
26752 2011-04-02 Glenn Morris <rgm@gnu.org>
26754 * find-dired.el (find-exec-terminator): New option.
26755 (find-ls-option): Test for -ls support.
26756 (find-ls-subdir-switches): Test for -b in find-ls-option.
26757 (find-dired, find-grep-dired): Doc fixes.
26758 (find-dired): Use find-exec-terminator.
26760 * find-dired.el (find-ls-option, find-ls-subdir-switches)
26761 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
26762 (find-name-arg): Remove purecopy.
26764 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
26765 (grep-compute-defaults): Check for `-exec COMMAND +' support.
26766 Set grep-find-use-xargs, grep-find-command, and grep-find-template
26767 accordingly. Don't add the null-device if not needed.
26769 * files.el (save-some-buffers): Doc fix.
26771 2011-04-02 Eli Zaretskii <eliz@gnu.org>
26773 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
26775 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
26777 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
26778 Use `dolist' rather than `mapcar'.
26780 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
26782 Add lexical binding.
26784 * subr.el (apply-partially): Use new closures rather than CL.
26785 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
26786 (dolist, dotimes): Use slightly different expansion for lexical code.
26787 (functionp): Move to C.
26788 (letrec): New macro.
26789 (with-wrapper-hook): Use it and apply-partially instead of CL.
26790 (eval-after-load): Preserve lexical-binding.
26791 (save-window-excursion, with-output-to-temp-buffer): Turn them
26794 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
26796 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
26798 (help-add-fundoc-usage): Don't add `Not documented'.
26799 (help-function-arglist): Handle closures, subroutines, and new
26800 byte-code-functions.
26801 (help-make-usage): Remove leading underscores.
26802 (describe-function-1): Handle closures.
26803 (describe-variable): Use special-variable-p for completion.
26805 * files.el (lexical-binding): Declare safe.
26807 * emacs-lisp/pcase.el: Don't use destructuring-bind.
26808 (pcase--memoize): Rename from pcase-memoize. Change weakness.
26809 (pcase): Add `let' pattern.
26810 Change memoization so it actually works.
26811 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
26812 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
26815 * emacs-lisp/macroexp.el: Use lexical binding.
26816 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
26817 Don't convert ' to #' without checking that it's indeed quoting
26820 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
26821 Use eval-sexp-add-defvars.
26822 (eval-sexp-add-defvars): New fun.
26824 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
26826 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
26828 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
26829 than the internal `byte-compile-lambda'.
26830 (defmethod): Don't hide code under quotes.
26831 (eieio-defmethod): New `code' argument.
26833 * emacs-lisp/eieio-comp.el: Remove.
26835 * emacs-lisp/edebug.el (edebug-eval-defun)
26836 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
26837 (edebug-toggle): Avoid `eval'.
26839 * emacs-lisp/disass.el (disassemble-internal): Handle new
26841 (disassemble-1): Handle new byte codes.
26843 * emacs-lisp/cl.el (pushnew): Silence warning.
26845 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
26846 (cl-byte-compile-throw): Remove.
26847 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
26849 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
26852 * emacs-lisp/cconv.el: New file.
26854 * emacs-lisp/bytecomp.el: Use lexical binding instead of
26855 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
26856 (byte-compile-initial-macro-environment):
26857 Handle declare-function here.
26858 (byte-compile--lexical-environment): New var.
26859 (byte-stack-ref, byte-stack-set, byte-discardN)
26860 (byte-discardN-preserve-tos): New lap codes.
26861 (byte-interactive-p): Don't use any more.
26862 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
26864 (byte-compile-lapcode): Use them and handle new lap codes.
26865 (byte-compile-obsolete): Remove.
26866 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
26867 (byte-compile-arglist-warn): Check late def of inlinable funs.
26868 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
26869 since they should have been expanded by now.
26870 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
26871 (byte-compile-from-buffer): Remove unused second arg.
26872 (byte-compile-preprocess): New function.
26873 (byte-compile-toplevel-file-form): New function to distinguish
26874 file-form calls from outside from file-form calls from hunk-handlers.
26875 (byte-compile-file-form): Simplify.
26876 (byte-compile-file-form-defsubst): Remove.
26877 (byte-compile-file-form-defmumble): Simplify now that
26878 byte-compile-lambda always returns a byte-code-function.
26879 (byte-compile): Preprocess.
26880 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
26881 Remove, not used any more.
26882 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
26883 (byte-compile-make-args-desc): New funs.
26884 (byte-compile-lambda): Handle lexical functions. Always return
26885 a byte-code-function.
26886 (byte-compile-reserved-constants): New var, to make up room for
26887 closed-over variables.
26888 (byte-compile-constants-vector): Obey it.
26889 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
26890 (byte-compile-macroexpand-declare-function): New function.
26891 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
26892 byte-code-functions.
26893 (byte-compile-form): Check obsolescence here.
26894 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
26895 (byte-compile-variable-ref): Remove.
26896 (byte-compile-dynamic-variable-op): New fun.
26897 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
26898 (byte-compile-variable-set): New funs.
26899 (byte-compile-discard): Add 2 args.
26900 (byte-compile-stack-ref, byte-compile-stack-set)
26901 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
26902 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
26903 macroexpand-all instead.
26904 (byte-compile-quote-form): Remove.
26905 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
26906 (byte-compile-bind, byte-compile-unbind): New funs.
26907 (byte-compile-let): Handle let* and lexical binding.
26908 (byte-compile-let*): Remove.
26909 (byte-compile-catch, byte-compile-unwind-protect)
26910 (byte-compile-track-mouse, byte-compile-condition-case):
26911 Handle a new :fun-body form, used for lexical scoping.
26912 (byte-compile-save-window-excursion)
26913 (byte-compile-with-output-to-temp-buffer): Remove.
26914 (byte-compile-defun): Simplify.
26915 (byte-compile-stack-adjustment): New fun.
26916 (byte-compile-out): Use it.
26917 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
26919 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
26922 * emacs-lisp/byte-opt.el: Use lexical binding.
26923 (byte-inline-lapcode): Remove (to bytecomp).
26924 (byte-compile-inline-expand): Pay attention to inlining to/from
26925 lexically bound code.
26926 (byte-compile-unfold-lambda): Don't handle byte-code-functions
26928 (byte-optimize-form-code-walker): Don't handle save-window-excursion
26929 any more and don't call compiler-macros.
26930 (byte-compile-splice-in-already-compiled-code): Remove.
26931 (byte-code): Don't inline any more.
26932 (disassemble-offset): Receive `bytes' as argument rather than via
26934 (byte-compile-tag-number): Declare before first use.
26935 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
26936 `return' even if make-spliceable.
26937 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
26938 obsolete interactive-p.
26939 (byte-optimize-lapcode): Optimize new lap-codes.
26940 Don't trip up on new form of `byte-constant' lap code.
26942 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
26944 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
26946 * custom.el (custom-initialize-default, custom-declare-variable):
26949 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
26951 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
26952 (COMPILE_FIRST): Add macroexp and cconv.
26953 * makefile.w32-in: Mirror changes in Makefile.in.
26955 * vc/cvs-status.el:
26959 * vc/smerge-mode.el:
26960 * textmodes/bibtex-style.el:
26961 * textmodes/css-mode.el:
26969 * emacs-lisp/smie.el:
26972 * abbrev.el: Use lexical binding.
26974 2011-04-01 Eli Zaretskii <eliz@gnu.org>
26976 * info.el (info-display-manual): New function.
26978 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
26980 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
26982 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
26984 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
26985 an entry for that server in rcirc-authinfo. (Bug#8385)
26987 2011-03-31 Glenn Morris <rgm@gnu.org>
26989 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
26991 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
26993 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
26995 * progmodes/python.el (python-default-interpreter)
26996 (python-python-command-args, python-jython-command-args)
26997 (python-which-shell, python-which-args, python-which-bufname)
26998 (python-file-queue, python-comint-output-filter-function)
26999 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
27000 variables and functions.
27002 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
27004 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
27005 (completion-in-region-mode): New minor mode.
27006 (completion-in-region): Use it.
27007 (completion-in-region--data, completion-in-region-mode-map): New vars.
27008 (completion-in-region--postch): New function.
27009 (completion--capf-misbehave-funs, completion--capf-safe-funs):
27011 (completion--capf-wrapper): New function.
27012 (completion-at-point): Use it to track well-behavedness of
27014 (completion-help-at-point): New command.
27016 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
27018 * vc/add-log.el (add-change-log-entry): Don't use whitespace
27019 syntax class to search for whitespace on a single line
27020 (Message-ID: <4D938140.4030905@redhat.com>).
27022 2011-03-30 Leo Liu <sdl.web@gmail.com>
27024 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
27026 (edit-abbrevs-map): Bind them here.
27027 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
27029 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
27031 * allout.el (allout-hide-by-annotation, allout-flag-region):
27032 Reduce possibility of overlay leakage by making them volatile.
27034 * allout-widgets.el (allout-widgets-tally): Define as nil so the
27035 hash is not shared between buffers. Mode initialization is
27036 responsible for giving it a useful starting value.
27037 (allout-item-span): Reduce possibility of overlay leakage by
27038 making them volatile.
27039 (allout-widgets-count-buttons-in-region): Add diagnostic function
27040 for tracking down button overlay leaks.
27042 2011-03-29 Leo Liu <sdl.web@gmail.com>
27044 * ido.el (ido-read-internal): Use the default history var
27045 minibuffer-history if no HISTORY is specified.
27047 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
27049 * net/imap.el (imap-shell-open, imap-process-connection-type):
27050 Use imap-process-connection-type for 'shell' streams as well as
27051 Kerberos, SSL, other subprocesses.
27053 2011-03-28 Leo Liu <sdl.web@gmail.com>
27055 * abbrev.el (abbrev-table-empty-p): New function.
27056 (prepare-abbrev-list-buffer): Place empty abbrev tables after
27057 nonempty ones. (Bug#5937)
27059 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
27061 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
27063 2011-03-27 Leo Liu <sdl.web@gmail.com>
27065 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
27066 for foreground and background colors.
27067 (ansi-color-make-color-map): Adapt.
27069 2011-03-25 Leo Liu <sdl.web@gmail.com>
27071 * midnight.el (midnight-time-float): Remove. Note it calculates
27072 the microsecond component incorrectly and seconds-to-time does the
27074 Remove redundant (require 'timer).
27076 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
27077 (ido-completions): Remove unused arguments. (Bug#8329)
27079 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
27081 * minibuffer.el (completion--flush-all-sorted-completions):
27082 Remove itself from hook.
27083 (completion-at-point): Let the functions perform the completion
27084 immediately and return nil or t.
27085 * comint.el (comint-dynamic-complete-functions): Now identical to
27086 completion-at-point-functions.
27087 (comint-dynamic-list-input-ring): Remove unused var `index'.
27088 (comint--match-partial-filename, comint--unquote&expand-filename):
27089 New funs, split from comint-match-partial-filename.
27090 (comint-dynamic-complete): Use completion-at-point.
27091 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
27093 2011-03-24 Drew Adams <drew.adams@oracle.com>
27095 * thingatpt.el: Support `defun'.
27097 2011-03-23 Leo Liu <sdl.web@gmail.com>
27099 * abbrevlist.el: Move to obsolete/abbrevlist.el.
27101 * help-mode.el (help-mode-finish): Tweak regexp.
27103 2011-03-23 Glenn Morris <rgm@gnu.org>
27105 * eshell/esh-opt.el (eshell-eval-using-options):
27106 Do not bind unused local variable `eshell-option-stub'.
27108 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
27110 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27112 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
27113 keymap variable in `with-no-warnings' to avoid a warning when the
27114 keymap has been already `defconst'ed.
27116 2011-03-22 Leo Liu <sdl.web@gmail.com>
27118 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
27119 encode all chars in abbrevs; otherwise use emacs-mule or
27120 utf-8-emacs. (Bug#8308)
27122 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27124 * simple.el (backward-delete-char-untabify):
27125 Avoid warning about using `delete-backward-char'.
27127 * image.el (image-type-file-name-regexps): Make it variable.
27128 `imagemagick-register-types' modifies it, and the user may want
27129 to add new extensions for known image types.
27130 (imagemagick-register-types): Throw error if not using ImageMagick.
27132 2011-03-22 Leo Liu <sdl.web@gmail.com>
27134 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
27135 located before rcirc-prompt-end-marker.
27136 (rcirc-complete): Error if point is not after rcirc prompt.
27137 Handle the case when table is nil.
27138 (rcirc-user-authenticated): Define to fix compiler warning.
27140 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
27142 * custom.el (custom--inhibit-theme-enable): Make it affect only
27143 custom-theme-set-variables and custom-theme-set-faces.
27144 (provide-theme): Ignore custom--inhibit-theme-enable.
27145 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
27146 (custom-enabling-themes): Delete variable.
27147 (enable-theme): Accept only loaded themes as arguments.
27148 Ignore the special custom-enabled-themes variable.
27149 (custom-enabled-themes): Forbid themes from setting this.
27150 Eliminate use of custom-enabling-themes.
27151 (custom-push-theme): Quote "changed" custom var entry.
27153 2011-03-21 Leo Liu <sdl.web@gmail.com>
27155 * ido.el (ido-read-internal): Add ido-selected to history instead
27158 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
27160 * subr.el (deferred-action-list, deferred-action-function):
27163 2011-03-21 Leo Liu <sdl.web@gmail.com>
27165 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
27166 change on 2011-02-13 (bug#8309).
27168 * minibuffer.el (read-file-name-function): Change default value.
27169 (read-file-name--defaults): Rename from read-file-name-defaults.
27170 (read-file-name-default): Rename from read-file-name.
27171 (read-file-name): Call read-file-name-function.
27173 2011-03-21 Glenn Morris <rgm@gnu.org>
27175 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
27178 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
27180 * cus-theme.el: Add missing provide statement.
27181 (customize-create-theme): Extract theme value correctly.
27182 (custom-theme-visit-theme): Autoload.
27183 (customize-create-theme): Prompt before inserting default faces.
27185 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
27187 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
27188 units and musical notes.
27190 2011-03-20 Leo Liu <sdl.web@gmail.com>
27192 * ido.el (ido-read-internal): Use completing-read-default.
27193 (ido-completing-read): Fix compatibility with completing-read.
27195 2011-03-20 Christian Ohler <ohler@gnu.org>
27197 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
27198 (ert-delete-all-tests): Use `called-interactively-p' rather than
27200 (ert--make-xrefs-region): Respect END.
27202 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27204 * dired-aux.el (dired-create-directory): Signal an error if the
27205 directory already exists (Bug#8246).
27207 * facemenu.el (list-colors-display): Call list-faces-display
27208 inside with-help-window.
27209 (list-colors-print): Use display property to align the final
27210 column, instead of checking window-width.
27212 2011-03-19 Eli Zaretskii <eliz@gnu.org>
27214 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
27215 windows-nt systems.
27216 (emerge-protect-metachars): Quote correctly for ms-dos and
27217 windows-nt systems.
27219 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
27221 * info.el (info-initialize): Replace all uses of `:' with
27222 path-separator for compatibility with non-Unix systems.
27223 Cache quoting of path-separator. (Bug#8258)
27225 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
27227 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
27228 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
27229 (mouse-avoidance-mode): Fix typos in docstrings.
27231 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27233 * startup.el (package-subdirectory-regexp): Move from package.el.
27234 Omit \\` and \\', and let callers add them.
27236 * emacs-lisp/package.el (package-strip-version)
27237 (package-load-all-descriptors): Add \\` and \\' to
27238 package-subdirectory-regexp before using it.
27239 (package-untar-buffer): New arg DIR; ensure that file untars only
27240 into this expected directory. Remove superfluous delete-region.
27241 (package-unpack): Caller changed.
27242 (package-tar-file-info): Use package-subdirectory-regexp.
27244 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
27246 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
27247 diff-mode-shared-map (bug#8284).
27248 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
27250 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
27252 * calendar/time-date.el (format-seconds): Use assoc instead of
27253 assoc-string, since assoc-string doesn't exist in XEmacs.
27255 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
27257 * custom.el (custom-known-themes): Reflow docstring.
27258 (custom-theme-load-path): Fix typo in docstring.
27259 (load-theme): Fix typo in error message.
27260 (custom-available-themes, custom-variable-theme-value):
27261 Use `let', not `let*'.
27263 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
27265 * calc/README: Mention inclusion of musical notes.
27267 * calc/calc-units.el (calc-lu-quant): Rename from
27268 `calc-logunits-quantity'.
27269 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
27270 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
27271 (calc-db): Rename from `calc-dblevel'.
27272 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
27273 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
27274 (calc-np): Rename from `calc-nplevel'.
27275 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
27276 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
27277 (calc-lu-plus): Rename from `calc-logunits-add'.
27278 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
27279 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
27280 (calc-lu-minus): Rename from `calc-logunits-sub'.
27281 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
27282 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
27283 (calc-lu-times): Rename from `calc-logunits-mul'.
27284 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
27285 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
27286 (calc-lu-divide): Rename from `calc-logunits-div'.
27287 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
27288 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
27290 * calc/calc-ext.el (calc-init-extensions): Update the names of the
27291 functions being autoloaded.
27293 * calc/calc.el (calc-lu-power-reference): Rename from
27294 `calc-logunits-power-reference'.
27295 (calc-lu-field-reference): Rename from
27296 `calc-logunits-field-reference'.
27298 * calc/calc-help.el (calc-l-prefix-help):
27299 Mention musical note functions.
27301 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
27303 * minibuffer.el (completion-all-sorted-completions):
27304 Use :completion-cycle-penalty text property if present.
27306 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
27308 * allout.el (allout-yank-processing): Adjust for new rebulleting
27309 regime so bullet being yanked is used without prompting the user
27312 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27314 * startup.el (command-line): Warn the user that _emacs is deprecated.
27316 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27318 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
27319 (delphi-verbose, delphi-comment-face, delphi-string-face)
27320 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
27321 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
27322 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
27323 (delphi-new-comment-line, delphi-font-lock-defaults)
27324 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
27325 Fix typos in docstrings.
27327 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
27329 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
27330 Invert the roles of character and string values for INSTEAD, so a
27331 string is used for the more common case of a defaulting prompt.
27333 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27335 * progmodes/ruby-mode.el (ruby-backward-sexp):
27336 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
27337 * play/gamegrid.el (gamegrid-make-face):
27338 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
27339 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
27340 * notifications.el (notifications-notify):
27341 * net/xesam.el (xesam-search-engines):
27342 * net/quickurl.el (quickurl-list-insert):
27343 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
27345 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
27347 * startup.el (command-line): Update package subdirectory regexp.
27349 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27351 * allout.el (allout-abbreviate-flattened-numbering)
27352 (allout-mode-deactivate-hook): Fix up obsolescence "date".
27354 * subr.el (read-char-choice): Only show the cursor after the prompt,
27355 not after the answer.
27357 2011-03-15 Kevin Ryde <user42@zip.com.au>
27359 * help-fns.el (variable-at-point): Skip leading quotes, if any
27362 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27364 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
27367 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
27369 * shell.el (shell): When called interactively, offer to change the
27370 shell file name on remote hosts.
27372 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
27374 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
27375 integration for LDAP parameters. The host, base, user or binddn,
27376 and secret tokens can be specified in a netrc file, for instance.
27377 This is optional because an `auth-source' parameter must be
27378 specified in the search attributes.
27380 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
27382 * help.el (describe-mode): Link to the mode's definition (bug#8185).
27384 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27386 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
27387 into declaration. Remove redundant and harmful binding.
27389 2011-03-12 Eli Zaretskii <eliz@gnu.org>
27391 * files.el (file-ownership-preserved-p): Pass `integer' as an
27392 explicit 2nd argument to `file-attributes'. If the file's owner
27393 is the Administrators group on Windows, and the current user is
27394 Administrator, consider that a match.
27396 * server.el (server-ensure-safe-dir): Consider server directory
27397 safe on MS-Windows if its owner is the Administrators group while
27398 the current Emacs user is Administrator. Use `=' to compare
27399 numerical UIDs, since they could be integers or floats.
27401 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
27403 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
27405 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
27407 Sync with Tramp 2.2.1.
27409 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
27411 * net/trampver.el: Update release number.
27413 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27415 * progmodes/compile.el (compilation--previous-directory): Fix up
27416 various nil/dead-marker mismatches (bug#8014).
27417 (compilation-directory-properties, compilation-error-properties):
27418 Don't call it at a position past the one we're about to change.
27420 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
27421 Disable obsolescence warnings in the file that declares it.
27423 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
27425 * allout-widgets.el (allout-widgets-tally):
27426 Initialize allout-widgets-tally as a hash table rather than nil to
27427 prevent mode-line redisplay warnings. Also, clarify the module
27428 description and fix a comment typo.
27430 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
27432 * help-fns.el (describe-variable): Don't complete keywords.
27433 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
27435 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
27437 * emacs-lisp/package.el (package-version-join): Impose a standard
27438 string representation for pre/alpha/beta version lists.
27439 (package-unpack-single): Standardize the directory name by passing
27440 it through package-version-join.
27441 (package-strip-rcs-id): Accept any version string that does not
27442 signal an error in version-to-list.
27444 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
27446 * simple.el (delete-trailing-whitespace): Return nil for the
27447 benefit of `write-file-functions'.
27449 2011-03-10 Glenn Morris <rgm@gnu.org>
27451 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
27453 * vc/vc-git.el (vc-git-program): New option.
27454 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
27455 (vc-git--call): Use it.
27457 * eshell/esh-util.el (eshell-condition-case): Doc fix.
27459 * cus-edit.el (Custom-newline): If no button at point, look
27460 for a subgroup button at start-of-line. (Bug#2298)
27462 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
27464 2011-03-10 Julien Danjou <julien@danjou.info>
27466 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
27467 `cursor-type' is nil.
27469 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
27471 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
27473 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
27475 * allout.el: Change so yank of distinctive-bullet items
27476 preserves the existing header prefix, rebulleting it if necessary,
27477 rather than replacing it. This is necessary for proper operation
27478 of cooperative addons like allout-widgets.
27479 (allout-make-topic-prefix, allout-rebullet-heading):
27480 Change SOLICIT arg to INSTEAD, and interpret additionally a string
27481 value as alternate bullet to be used, instead of prompting the user
27482 for a bullet character.
27484 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
27486 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
27487 Do not use `tramp-file-name-port', because this returns also
27488 `tramp-default-port'.
27490 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
27492 * net/rcirc.el (rcirc-handler-001): Remove useless
27493 with-rcirc-process-buffer.
27494 (rcirc-check-auth-status): Swap arguments to string-match.
27496 2011-03-09 Glenn Morris <rgm@gnu.org>
27498 * shell.el (shell-mode):
27499 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
27501 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
27502 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
27504 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27506 * emacs-lisp/package.el (package-refresh-contents)
27507 (package-menu-execute): Use condition-case-no-debug.
27509 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
27511 * simple.el (shell-command-to-string): Use `process-file'.
27513 * emacs-lisp/package.el (package-tar-file-info): Handle also
27516 * emacs-lisp/package-x.el (package-upload-buffer-internal):
27517 Use `equal' for upload base check.
27519 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
27521 * textmodes/texinfo.el (texinfo-environments):
27522 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
27524 2011-03-08 Glenn Morris <rgm@gnu.org>
27526 * cus-start.el (cursor-in-non-selected-windows):
27527 Fix :set quoting oddness. (Bug#8192)
27529 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
27530 in some setf expressions. (Bug#2159)
27532 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27534 * custom.el (custom-available-themes): Return themes in
27535 alphabetical order.
27537 See ChangeLog.15 for earlier changes.
27539 ;; Local Variables:
27543 Copyright (C) 2011-2013 Free Software Foundation, Inc.
27545 This file is part of GNU Emacs.
27547 GNU Emacs is free software: you can redistribute it and/or modify
27548 it under the terms of the GNU General Public License as published by
27549 the Free Software Foundation, either version 3 of the License, or
27550 (at your option) any later version.
27552 GNU Emacs is distributed in the hope that it will be useful,
27553 but WITHOUT ANY WARRANTY; without even the implied warranty of
27554 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27555 GNU General Public License for more details.
27557 You should have received a copy of the GNU General Public License
27558 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.