1 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
3 * progmodes/cwarn.el (cwarn): Remove dead link.
4 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
5 Remove * from defcustom docstrings.
6 (turn-on-cwarn-mode): Make obsolete.
7 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
8 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10 2012-01-31 Glenn Morris <rgm@gnu.org>
12 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix :variable case.
14 2012-01-30 Glenn Morris <rgm@gnu.org>
16 * emacs-lisp/authors.el (authors-fixed-entries):
17 Remove reference to deleted file rnewspost.el.
19 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
21 * window.el (window-with-parameter): Remove unused variable `windows'.
22 (window--side-check): Remove unused variable `code'.
23 (window--resize-siblings): Remove unused variable `first'.
24 (adjust-window-trailing-edge): Remove unused variable `failed'.
25 (window-deletable-p, window--delete): Remove unused variable `buffer'.
26 Use `let', not `let*'.
27 (balance-windows-2): Remove unused variable `found'.
28 (window--state-put-2): Remove unused variable `splits'.
29 (window-state-put): Remove unused variable `selected'.
30 (same-window-p): Use `string-match-p'.
31 (display-buffer-assq-regexp): Remove unused variable `value'.
32 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
33 Mark argument ALIST as ignored.
34 (pop-to-buffer): Remove unused variable `old-window'.
36 2012-01-29 Eli Zaretskii <eliz@gnu.org>
38 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
39 and .lzma compressed files.
41 2012-01-29 Chong Yidong <cyd@gnu.org>
43 * frame.el (window-system-default-frame-alist): Doc fix.
45 * dynamic-setting.el (font-setting-change-default-font): Don't
46 change the default face if SET-FONT argument is non-nil (Bug#9982).
48 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
50 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
52 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
54 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
55 breakpoints in files outside current directory (Bug#6098).
57 2012-01-29 Chong Yidong <cyd@gnu.org>
59 * progmodes/python.el: Require ansi-color at top-level.
61 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table): Define
62 and use in Emacs Lisp mode (Bug#9360).
63 (lisp-mode-abbrev-table): Add doc.
64 (lisp-mode-variables): Don't set local-abbrev-table.
65 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
67 2012-01-28 Roland Winkler <winkler@gnu.org>
69 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
71 2012-01-28 Roland Winkler <winkler@gnu.org>
73 * textmodes/bibtex.el (bibtex-entry-alist): New function.
74 (bibtex-set-dialect): Use it. Either set global values of
75 dialect-dependent variables or bind these variables buffer-locally
77 (bibtex-mode): Call bibtex-set-dialect via
78 hack-local-variables-hook.
79 (bibtex-dialect): Update docstring. Add
80 safe-local-variable predicate.
81 (bibtex-entry-alist, bibtex-field-alist): Initialize via
83 (bibtex-mode-map): Define menu for each dialect.
84 (bibtex-entry): Fix docstring.
86 2012-01-28 Chong Yidong <cyd@gnu.org>
88 * eshell/esh-arg.el (eshell-quote-argument): New function.
90 * eshell/esh-ext.el (eshell-invoke-batch-file):
91 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
92 first arg to eshell-parse-command (Bug#10523).
94 2012-01-28 Drew Adams <drew.adams@oracle.com>
96 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
97 `default-directory' is non-nil.
99 2012-01-28 Eli Zaretskii <eliz@gnu.org>
101 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
102 line that displays system-configuration-options. (Bug#9924)
104 2012-01-28 Drew Adams <drew.adams@oracle.com>
106 * descr-text.el (describe-char): Show information about POS, in
107 addition to information about the character at POS. Improve and
108 update the doc string. Change "code point" to "code point in
109 charset", to avoid confusion with the character's Unicode code
110 point shown above that. (Bug#10129)
112 2012-01-28 Eli Zaretskii <eliz@gnu.org>
114 * descr-text.el (describe-char): Show the raw character, not only
115 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
116 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
119 2012-01-28 Phil Hagelberg <phil@hagelb.org>
121 * emacs-lisp/package.el (package-install): Run
122 package-refresh-contents if there is no archive yet (Bug#9798).
124 2012-01-28 Chong Yidong <cyd@gnu.org>
126 * emacs-lisp/package.el (package-maybe-load-descriptor):
127 New function, split from package-maybe-load-descriptor.
128 (package-maybe-load-descriptor): Use it.
129 (package-download-transaction): Fully load required packages
130 inside the loop, so that `require' calls work (Bug#10593).
131 (package-install): No need to call package-initialize now.
133 2012-01-28 Chong Yidong <cyd@gnu.org>
135 * simple.el (deactivate-mark): Doc fix (Bug#8614).
137 * tooltip.el (tooltip-mode): Doc fix.
138 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
140 * frame.el (set-cursor-color): Doc fix (Bug#352).
142 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
143 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
145 * cus-edit.el (custom-buffer-create-internal): Fix search button
147 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
149 2012-01-27 Eduard Wiebe <usenet@pusto.de>
151 * dired.el (dired-mark-files-regexp):
152 Include any subdirectory components. (Bug#10445)
154 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
156 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
157 Handle [host]:port syntax. (Bug#10533)
159 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
161 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
163 2012-01-26 Glenn Morris <rgm@gnu.org>
165 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
166 * term.el (term-raw-escape-map): Use Control-X-prefix.
167 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
169 2012-01-25 Martin Rudalics <rudalics@gmx.at>
171 * window.el (window-state-get, window--state-get-1): Don't deal
172 with fixed-sizeness of windows. Simplify code.
174 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
176 * window.el (window--state-get-1, window--state-put-2): Don't
177 save and restore the mark.
179 2012-01-25 Chong Yidong <cyd@gnu.org>
181 * custom.el (custom-variable-p): Doc fix.
183 2012-01-25 Glenn Morris <rgm@gnu.org>
185 * dired.el (dired-goto-file): Handle some of the more common
186 characters that `ls -b' escapes. (Bug#10596)
188 * progmodes/compile.el (compilation-next-error-function):
189 Respect compilation-first-column in the "*compilation*" buffer.
190 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
192 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
194 2012-01-24 Glenn Morris <rgm@gnu.org>
196 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
198 2012-01-24 Julien Danjou <julien@danjou.info>
200 * color.el (color-rgb-to-hsl): Fix value computing.
201 (color-hue-to-rgb): New function.
202 (color-hsl-to-rgb): New function.
203 (color-clamp, color-saturate-hsl, color-saturate-name)
204 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
205 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
207 2012-01-24 Glenn Morris <rgm@gnu.org>
209 * vc/vc-rcs.el (vc-rcs-create-tag):
210 * vc/vc-sccs.el (vc-sccs-create-tag):
211 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
213 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
215 * eshell/esh-util.el (eshell-read-hosts-file):
216 Skip comment lines. (Bug#10549)
218 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
220 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
222 * subr.el (display-delayed-warnings): Doc fix.
223 (collapse-delayed-warnings): New function to collapse identical
225 (delayed-warnings-hook): Add it.
227 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
229 * net/tramp.el (tramp-action-login): Set connection property "login-as".
231 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
232 properties, when "login-as" is set.
234 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
235 (tramp-default-user-alist): Don't add "pscp".
236 (tramp-do-copy-or-rename-file-out-of-band): Use connection
237 property "login-as", if set. (Bug#10530)
239 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
241 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
242 "plink1" and "psftp". (Bug#10530)
244 2012-01-21 Kenichi Handa <handa@m17n.org>
246 * international/mule-cmds.el (prefer-coding-system): Show a
247 warning message if the default value of file-name-coding-system
250 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
252 * windmove.el (windmove-reference-loc):
253 Fix windmove-reference-loc miscalculation.
255 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
257 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
260 2012-01-21 Glenn Morris <rgm@gnu.org>
262 * international/mule.el (auto-coding-alist): Add .tbz.
264 * files.el (local-enable-local-variables): Doc fix.
265 (inhibit-local-variables-regexps): Rename from
266 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
267 Doc fix. Add some extensions from auto-coding-alist.
268 (inhibit-local-variables-suffixes):
269 Rename from inhibit-first-line-modes-suffixes. Doc fix.
270 (inhibit-local-variables-p):
271 New function, extracted from set-auto-mode-1.
272 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
273 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
274 (hack-local-variables): Doc fix. Make the mode-only case
275 respect enable-local-variables and friends.
276 Respect inhibit-local-variables-regexps for file-locals, but
277 not for directory-locals.
278 (set-visited-file-name):
279 Take account of inhibit-local-variables-regexps.
280 Whether it applies may change as the file name is changed.
281 * jka-cmpr-hook.el (jka-compr-install):
282 * jka-compr.el (jka-compr-uninstall):
283 Update for inhibit-first-line-modes-suffixes name change.
285 2012-01-20 Martin Rudalics <rudalics@gmx.at>
287 * help-macro.el (make-help-screen): Temporarily restore original
288 binding for minor-mode-map-alist (Bug#10454).
290 2012-01-19 Julien Danjou <julien@danjou.info>
292 * color.el (color-name-to-rgb): Use the white color to find the max
293 color component value and return correctly computed values.
294 (color-name-to-rgb): Add missing float conversion for max value.
296 2012-01-19 Martin Rudalics <rudalics@gmx.at>
298 * window.el (window--state-get-1, window-state-get): Do not use
299 special state value for window-persistent-parameters. Rename
300 argument IGNORE to WRITABLE. Rewrite doc-string.
301 (window--state-put-2): Reset all window parameters to nil before
302 assigning values of persistent parameters.
304 2012-01-18 Alan Mackenzie <acm@muc.de>
306 Eliminate sluggishness and hangs in fontification of "semicolon
309 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
310 Change value 10000 -> 3000.
311 (c-state-safe-place): Reformulate so it doesn't stack up an
312 infinite number of wrong entries in c-state-nonlit-pos-cache.
313 (c-determine-limit-get-base, c-determine-limit): New functions to
314 determine backward search limits disregarding literals.
315 (c-find-decl-spots): Amend commenting.
316 (c-cheap-inside-bracelist-p): New function which detects "={".
318 * progmodes/cc-fonts.el
319 (c-make-font-lock-BO-decl-search-function): Give a limit to a
321 (c-font-lock-declarations): Fix an occurrence of point being
322 undefined. Check additionally for point being in a bracelist or
323 near a macro invocation without a semicolon so as to avoid a
324 fruitless time consuming search for a declarator. Give a more
325 precise search limit for declarators using the new
328 2012-01-18 Glenn Morris <rgm@gnu.org>
330 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
331 (set-auto-mode): Doc fixes.
333 2012-01-17 Glenn Morris <rgm@gnu.org>
335 * isearch.el (search-nonincremental-instead): Fix doc typo.
337 * dired.el (dired-insert-directory): Handle newlines in directory name.
338 (dired-build-subdir-alist): Unescape newlines in directory name.
340 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
342 * net/tramp.el (tramp-local-end-of-line): New defcustom.
343 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
344 (tramp-action-terminal): Use it. (Bug#10530)
346 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
348 * minibuffer.el (completion--replace): Strip properties (bug#10062).
350 2012-01-16 Martin Rudalics <rudalics@gmx.at>
352 * window.el (window-state-ignored-parameters): Remove variable.
353 (window--state-get-1): Rename argument MARKERS to IGNORE.
354 Handle persistent window parameters. Make copy of clone-of
355 parameter only if requested. (Bug#10348)
356 (window--state-put-2): Install a window parameter only if it has
357 a non-nil value or an existing parameter shall be overwritten.
359 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
361 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
363 2012-01-14 Eli Zaretskii <eliz@gnu.org>
365 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
366 don't pass the (nil) value of `upnode' to string-match.
368 2012-01-14 Chong Yidong <cyd@gnu.org>
370 * startup.el (command-line): Fix X resource class for cursorColor.
371 Fix values recognized by the cursorBlink resource.
373 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
375 * epg.el (epg--make-temp-file): Avoid permission race condition
376 when running on old Emacs versions (bug#10403).
378 2012-01-14 Glenn Morris <rgm@gnu.org>
380 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
382 2012-01-13 Alan Mackenzie <acm@muc.de>
384 Fix filling for when filladapt mode is enabled.
386 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
387 c-mask-paragraph, pass in `fill-paragraph' rather than
388 `fill-region-as-paragraph'. (This is a reversion of a previous
390 * progmodes/cc-mode.el (c-basic-common-init): Make
391 fill-paragraph-handle-comment buffer local and set it to nil.
393 2012-01-13 Glenn Morris <rgm@gnu.org>
395 * dired.el (dired-switches-escape-p): New function.
396 (dired-insert-directory): Use dired-switches-escape-p.
397 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
399 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
401 2012-01-12 Glenn Morris <rgm@gnu.org>
403 * mail/sendmail.el (mail-mode): Update paragraph-separate for
404 changes in adaptive-fill-regexp. (Bug#10276)
406 2012-01-11 Alan Mackenzie <acm@muc.de>
408 Fix Emacs bug #10463 - put `widen's around the critical spots.
410 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
411 widen around each invocation of c-state-pp-to-literal. Remove an
414 2012-01-11 Glenn Morris <rgm@gnu.org>
416 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
419 2012-01-10 Chong Yidong <cyd@gnu.org>
421 * net/network-stream.el (network-stream-open-starttls):
422 Avoid emitting a confusing error message when the server gives a bad
423 response to the capability command.
425 2012-01-10 Glenn Morris <rgm@gnu.org>
427 * mail/unrmail.el (unrmail): Tweak previous change.
429 2012-01-09 Chong Yidong <cyd@gnu.org>
431 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
433 2012-01-08 Alan Mackenzie <acm@muc.de>
435 Optimise font locking in long enum definitions.
437 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
438 arm to a cond form to handle enums.
439 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
440 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
442 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
444 * files.el (move-file-to-trash): Preserve default file modes on error.
447 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
449 * faces.el (set-face-attribute): Clarify the meaning of the nil
452 * subr.el (with-selected-frame): Mention that the selected frame
453 is restored (bug#9980).
455 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
458 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
459 (password-read): Don't autoload unused function.
461 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
463 * progmodes/which-func.el (which-func-mode): Turn into a
464 non-interactive function and mark as obsolete (bug#10428).
466 2012-01-06 Chong Yidong <cyd@gnu.org>
468 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
469 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
470 functions, along with 1 and -1.
472 2012-01-06 Eli Zaretskii <eliz@gnu.org>
474 * time.el (display-time-load-average)
475 (display-time-default-load-average): Doc fixes. See the thread
477 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
480 2012-01-06 Glenn Morris <rgm@gnu.org>
482 * mail/unrmail.el (unrmail): Give an explicit error if the input file
483 has no messages. (Bug#10377)
485 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
486 than Info-edit. (Bug#10385)
488 * time.el (display-time-load-average, display-time-next-load-average):
491 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
492 local setting of buffer-read-only to the input buffer. (Bug#10419)
494 * calendar/calendar.el (calendar-mode):
495 Locally set scroll-margin to 0. (Bug#10379)
497 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
499 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
501 2012-01-05 Glenn Morris <rgm@gnu.org>
503 * eshell/em-unix.el (diff-no-select): Autoload it.
504 (eshell/diff): Use diff-no-select. (Bug#10420)
506 2012-01-05 Chong Yidong <cyd@gnu.org>
508 * shell.el (shell-dynamic-complete-functions): Revert last change.
509 (shell-command-completion-function): New function.
510 (shell-completion-vars): Use it to implement
511 shell-completion-execonly (Bug#10417).
513 * custom.el (enable-theme): Don't set custom-safe-themes.
515 * cus-theme.el (custom-theme-merge-theme):
516 Ignore custom-enabled-themes and custom-safe-themes.
518 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
520 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
521 first prompt in `sql-interacive-mode'.
522 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
524 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
525 (sql-product-interactive): Bug fix: Set `sql-buffer' in
526 context of original buffer. Invoke `sql-login-hook'.
528 2012-01-04 Eli Zaretskii <eliz@gnu.org>
530 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
531 letters in cite-prefix.
533 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
535 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
537 2012-01-03 Chong Yidong <cyd@gnu.org>
539 * shell.el (shell-dynamic-complete-functions):
540 Put pcomplete-completions-at-point, so as to try
541 comint-filename-completion first (Bug#10417).
543 2012-01-02 Richard Stallman <rms@gnu.org>
545 * battery.el (battery-status-function):
546 Detect when to use battery-yeeloong-sysfs.
547 (battery-echo-area-format): Add string for Yeeloong.
548 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
549 (battery-yeeloong-sysfs): New function.
551 2012-01-02 Chong Yidong <cyd@gnu.org>
553 * dirtrack.el (dirtrack-list): Eliminate unused third element.
554 (dirtrack): Merge code for handling relative filenames in prompt
555 from shell-dir-cookie-watcher.
556 (dirtrack-debug-message): New arg to avoid excess format calls.
558 * shell.el (shell-dir-cookie-re): Variable deleted.
559 (shell-dir-cookie-watcher): Function deleted.
560 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
563 2012-01-01 Eli Zaretskii <eliz@gnu.org>
565 * term/w32-win.el (dynamic-library-alist) <gnutls>:
566 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
569 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
571 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
573 2011-12-31 Eli Zaretskii <eliz@gnu.org>
575 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
576 headers of non-MIME messages, when rmail-enable-mime is non-nil.
578 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
580 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
581 also for alternative shells.
582 (tramp-open-connection-setup-interactive-shell): Check, whether
583 the shell is a busybox.
584 (tramp-send-command): Don't suppress multiple prompts for
587 2011-12-28 Chong Yidong <cyd@gnu.org>
589 * progmodes/gdb-mi.el (gdb-get-source-file-list)
590 (gdb-get-source-file): Move mode line update to
591 gdb-get-source-file (Bug#10087).
593 2011-12-25 Chong Yidong <cyd@gnu.org>
595 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
596 gud-gdb-marker-filter without taking it as an argument.
597 (gud-gdb-run-command-fetch-lines): Caller changed.
598 (gud-gdb-completion-function): New variable.
599 (gud-gdb-completion-at-point): Use it.
600 (gud-gdb-completions-1): Split from gud-gdb-completions.
602 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
603 function as separate arguments.
604 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
605 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
606 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
607 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
608 (gdb-stopped, def-gdb-auto-update-trigger)
609 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
610 (gdb-get-changed-registers, gdb-get-main-selected-frame):
612 (gud-gdbmi-completions): New function.
613 (gdb): Use it for generating the completion table.
615 2011-12-24 Alan Mackenzie <acm@muc.de>
617 Introduce a mechanism to widen the region used in context font
618 locking. Use this to protect declarations from losing their contexts.
620 * progmodes/cc-langs.el (c-before-font-lock-functions):
621 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
622 (c-before-context-fontification-functions): New defvar, a list of
623 functions to be run just before context (etc.) font locking.
625 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
626 New, functionality extracted from
627 c-neutralize-syntax-in-and-mark-CPP.
628 (c-in-after-change-fontification): New variable.
629 (c-after-change): Set c-in-after-change-fontification.
630 (c-set-fl-decl-start): Rejig its interface, so it can be called
631 from both after-change and context fontifying.
632 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
634 (c-standard-font-lock-fontify-region-function): New variable.
635 (c-font-lock-fontify-region): New function.
637 2011-12-24 Juri Linkov <juri@jurta.org>
639 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
642 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
644 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
645 existence of source file. (Bug#10325)
647 2011-12-23 Alan Mackenzie <acm@muc.de>
649 Fix unstable fontification inside templates.
651 * progmodes/cc-langs.el (c-before-font-lock-functions):
652 Newly created from the singular version. The (c c++ objc) entry now
653 additionally has c-set-fl-decl-start. The other languages (apart
654 from AWK) have that as a single entry.
656 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
657 The functionality for "local" declarations has been extracted to
660 * progmodes/cc-mode.el (c-common-init, c-after-change):
661 Changes due to pluralisation of c-before-font-lock-functions.
662 (c-set-fl-decl-start): New function, extracted from
663 c-font-lock-enclosing-decls and enhanced.
665 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
667 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
669 2011-12-22 Juri Linkov <juri@jurta.org>
671 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
673 2011-12-22 Chong Yidong <cyd@gnu.org>
675 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
677 2011-12-21 Drew Adams <drew.adams@oracle.com>
679 * files.el (file-remote-p): Fix docstring. (Bug#10319)
681 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
683 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
685 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
687 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
688 highlighting and support. Fix up comments for capitalization.
689 (cfengine-mode-debug): New var.
690 (cfengine3-mode): Change the modeline indicator to "CFE3".
691 (cfengine3-font-lock-keywords): Improve defun highlighting.
692 (cfengine2-actions): Rename from `cfengine-actions'.
693 (cfengine2-font-lock-keywords): Rename from
694 `cfengine-font-lock-keywords'.
695 (cfengine2-imenu-expression): Rename from
696 `cfengine-imenu-expression'.
697 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
698 (cfengine2-beginning-of-defun): Rename from
699 `cfengine-beginning-of-defun'.
700 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
701 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
702 (cfengine2-mode): Rename from `cfengine-mode'. Change the
703 modeline indicator to "CFE2".
704 (cfengine-mode): Defalias to `cfengine-auto-mode'.
705 (cfengine-mode-abbrevs): Mark obsolete.
707 2011-12-21 Chong Yidong <cyd@gnu.org>
709 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
712 2011-12-20 Martin Rudalics <rudalics@gmx.at>
714 * window.el (window-normalize-buffer-to-display): Remove.
715 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
717 2011-12-19 Chong Yidong <cyd@gnu.org>
719 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
720 Don't signal an error in a predicate function; return non-nil.
721 (vc-dir-mark-file): Move the error here.
722 (vc-dir-mark-unmark): If acting on the region, keep going if one
723 of the entries cannot be marked/unmarked.
724 (vc-dir-mark-all-files): If current entry is a directory, mark
725 only child files, as documented.
727 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
729 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
730 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
733 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
735 * term/ns-win.el (ns-get-selection-internal)
736 (ns-store-selection-internal): Declare.
737 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
739 (ns-get-pasteboard, ns-paste-secondary):
740 Use ns-get-selection-internal.
741 (ns-set-pasteboard, ns-copy-including-secondary):
742 Use ns-store-selection-internal.
744 2011-12-17 Chong Yidong <cyd@gnu.org>
746 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
747 (vc-deduce-fileset): Doc fix.
749 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
751 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
753 2011-12-13 Sam Steingold <sds@gnu.org>
755 * man.el (Man-getpage-in-background): When running under a
756 window-system, ignore $MANWIDTH and $COLUMNS.
758 2011-12-15 Kenichi Handa <handa@m17n.org>
760 * language/ethio-util.el: Change coding tag to utf-8-emacs.
761 (setup-ethiopic-environment-internal): Comment out key-binding for
762 ethio-toggle-punctuation.
764 2011-12-13 Alan Mackenzie <acm@muc.de>
766 Add the switch statement to AWK Mode.
768 * progmodes/cc-awk (awk-font-lock-keywords): Add "switch", "case",
769 "default" to the keywords regexp.
771 * progmodes/cc-langs (c-label-kwds): Let AWK take the same
772 expression as the rest.
773 (c-nonlabel-token-key): Allow string literals for AWK.
774 Refactor for the other modes.
776 Large brace-block initialisation makes CC Mode slow: Fix.
777 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
778 routines. Limit backward searching in c-font-lock-enclosing.decl.
780 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
781 pp-state and literal type in addition to the limits.
782 (c-state-safe-place): New defun, extracted from c-state-literal-at.
783 (c-state-literal-at): Use the above new defun.
784 (c-slow-in-literal, c-fast-in-literal): Remove.
785 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
787 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
788 being in a literal. Add a limit for backward searching.
790 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
793 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
795 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
797 2011-12-13 Martin Rudalics <rudalics@gmx.at>
799 * window.el (delete-other-windows): Use correct frame in call to
800 window-with-parameter.
802 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
804 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
805 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
806 (makefile-gmake-statements, makefile-makepp-statements):
807 Use it and add new makepp keywords.
808 (makefile-makepp-font-lock-keywords): Add new patterns.
809 (makefile-match-function-end): Match new [...] and [[...]].
811 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
813 * ses.el (ses-call-printer-return, ses-cell-property-get)
814 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
815 (ses-create-cell-variable, ses-reset-header-string)
816 (ses-cell-set-formula, ses-repair-cell-reference-all)
817 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
818 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
819 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
820 (ses-aset-with-undo, ses-load, ses-truncate-cell)
821 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
822 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
823 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
824 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
825 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
826 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
827 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
828 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
830 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
832 * ses.el: The overall change is to add cell renaming, that is
833 setting fancy names for cell symbols other than name matching
834 "\\`[A-Z]+[0-9]+\\'" regexp .
835 (ses-create-cell-variable): New defun.
836 (ses-relocate-formula): Relocate formulas only for cells the
837 symbols of which are not renamed, i.e. symbols whose names do not
838 match regexp "\\`[A-Z]+[0-9]+\\'".
839 (ses-relocate-all): Relocate values only for cells the symbols of
840 which are not renamed.
841 (ses-load): Create cells variables as the (ses-cell ...) are read,
842 in order to check row col consistency with cell symbol name only
843 for cells that are not renamed.
844 (ses-replace-name-in-formula): New defun.
845 (ses-rename-cell): New defun.
847 2011-12-11 Chong Yidong <cyd@gnu.org>
849 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
850 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
852 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
854 * window.el (other-window): Fix docstring.
856 2011-12-10 Eli Zaretskii <eliz@gnu.org>
858 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
859 `from' or `to' address before taking its substring.
860 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
861 encoded name is chopped in the middle of the encoded string, and
862 thus displayed encoded.
864 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
866 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
868 2011-12-10 Eli Zaretskii <eliz@gnu.org>
870 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
871 to use texinfo-update-node and commands that call it if the
872 Texinfo file uses @node lines without next/prev/up pointers.
873 Correct outdated description about texinfo-master-menu.
874 (texinfo-all-menus-update, texinfo-master-menu)
875 (texinfo-update-node, texinfo-every-node-update)
876 (texinfo-multiple-files-update): Doc fix. Warn against updating
878 (texinfo-master-menu): Only call texinfo-update-node if the prefix
879 argument is numeric. Explain better in the doc string what the
880 function really does.
881 (texinfo-insert-master-menu-list): Improve the error message
882 displayed if there's no menu in the Top node.
883 (Bug#2975) See also this thread:
884 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
886 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
888 * speedbar.el (speedbar-supported-extension-expressions):
889 Add .adb and .ads, commonly used for Ada source code (bug#10256).
891 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
893 * printing.el (pr-mode-alist):
894 * simple.el (filter-buffer-substring-functions)
895 (completion-list-insert-choice-function):
896 * window.el (window-with-parameter, window-atom-root)
897 (window-sides-slots, window-size-fixed, window-min-delta)
898 (window-max-delta, window--resize-mini-window)
899 (window--resize-child-windows-normal, window-tree)
900 (delete-other-windows, quit-window, split-window)
901 (display-buffer-record-window, special-display-buffer-names)
902 (special-display-regexps, special-display-popup-frame)
903 (same-window-p, split-window-sensibly)
904 (display-buffer-overriding-action, display-buffer-alist)
905 (display-buffer-base-action, display-buffer, switch-to-buffer)
906 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
907 (fit-window-to-buffer, recenter-positions)
908 (mouse-autoselect-window-state, mouse-autoselect-window-select):
909 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
910 and remove unneeded backslashes in docstrings.
912 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
914 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
916 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
917 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
919 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
920 when reading the makefile (bug#10116).
922 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
924 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
927 2011-12-06 Glenn Morris <rgm@gnu.org>
929 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
931 2011-12-06 Chong Yidong <cyd@gnu.org>
933 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
935 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
937 * textmodes/table.el (table-shorten-cell): Fix typo.
939 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
941 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
943 2011-12-05 Eli Zaretskii <eliz@gnu.org>
945 * descr-text.el (describe-char): Fix display of strong
946 right-to-left characters and directional embeddings and overrides.
948 * simple.el (what-cursor-position): Fix display of codepoints of
949 strong right-to-left characters.
951 2011-12-05 Chong Yidong <cyd@gnu.org>
953 * faces.el (read-color): Doc fix.
955 2011-12-05 Glenn Morris <rgm@gnu.org>
957 * align.el (align--set-marker): Add doc-string.
958 Don't try to move something that is not a marker. (Bug#10216)
960 2011-12-04 Glenn Morris <rgm@gnu.org>
962 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
963 overly zealous deletion of trailing whitespace.
965 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
967 * server.el (server-delete-client): On Windows, do not try to delete
969 (server-process-filter): On Windows, treat requests for a tty frame as
970 if they were for a GUI frame if the running server is in GUI mode.
972 2011-12-03 Glenn Morris <rgm@gnu.org>
974 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
976 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
978 * electric.el: Streamline electric-indent's hook.
979 (electric-indent-chars): Revert to simple list.
980 (electric-indent-functions): New var.
981 (electric-indent-post-self-insert-function): Use it.
983 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
984 there's no inferior buffer (bug#10196).
985 (prolog-consult-compile): Don't use toggle-read-only.
987 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
989 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
990 interrupt. (Bug#10187)
992 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
994 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
997 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
1000 2011-12-02 Juri Linkov <juri@jurta.org>
1002 * info.el (Info-search): Display "end of manual" when Isearch
1003 reaches the end of single-file Info manual. (Bug#9918)
1005 2011-12-02 Eli Zaretskii <eliz@gnu.org>
1007 * isearch.el (isearch-message-prefix): Run the input method part
1008 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
1010 2011-12-02 Juri Linkov <juri@jurta.org>
1012 * isearch.el (isearch-occur): Use `word-search-regexp' for
1014 (isearch-search-and-update): Add condition for `isearch-word' and
1015 call `word-search-regexp'. (Bug#10145)
1017 2011-12-01 Glenn Morris <rgm@gnu.org>
1019 * eshell/em-hist.el (eshell-hist-initialize):
1020 Handle eshell-history-size nil and HISTSIZE set or unset.
1021 (eshell-history-file-name, eshell-history-size): Fix custom type.
1023 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1025 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
1027 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
1029 * progmodes/verilog-mode.el (verilog-pretty-expr):
1030 Rework verilog-pretty-expr to handle new assignment operators in system
1031 verilog, such as += *= and the like.
1032 (verilog-assignment-operator-re): Regular expression to find the
1033 assigment operator in a verilog assignment.
1034 (verilog-assignment-operation-re): Regular expression to find an
1035 assignment statement for pretty-expr.
1036 (verilog-in-attribute-p): Query returns true if point is in an
1037 attribute context; used to skip these for expression line up from
1039 (verilog-in-parameter-p): Query returns true if point is in an
1040 parameter definition context; used to skip these for expression
1041 line up from pretty-expr.
1042 (verilog-in-parenthesis-p): Query returns true if point is in a
1043 parenthetical expression, specifically ( ) but not [ ] or { };
1044 used by pretty-expr.
1045 (verilog-just-one-space): If there is no space, don't add one.
1046 (verilog-get-lineup-indent-2): Specifically skip just attribute
1047 contexts for expression lineup, rather than skipping all
1048 parenthetical expressions.
1049 (verilog-calculate-indent): Fix comment, and fix indent.
1050 (verilog-do-indent): Indent declarations in lists (suggested by
1052 (verilog-mode-abbrev-table): Populate abbrev mode with the various
1054 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
1057 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
1059 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
1060 parameters with embedded comments. Reported by Ray Stevens.
1061 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
1062 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
1063 Reported by Tim Holt.
1064 (verilog-auto): Fix AUTOing a upper module then AUTOing module
1065 instantiated by upper module causing wrong expansion until AUTOed a
1066 second time. Reported by K C Buckenmaier.
1067 (verilog-diff-auto): Fix showing .* as a difference when
1068 `verilog-auto-star-save' off. Reported by Dan Dever.
1069 (verilog-auto-reset, verilog-read-always-signals)
1070 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
1071 temporary signals in reset list if
1072 verilog-auto-reset-blocking-in-non is nil, and match assignment
1073 style to each signal's assignment type, bug381.
1074 Reported by Thomas Esposito.
1075 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
1076 (verilog-uvm-statement-re): Support UVM indentation and
1077 highlighting, with old OVM keywords only.
1078 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1079 Support AUTOTIEOFF creating non-wire data types.
1080 Suggested by Jonathan Greenlaw.
1081 (verilog-auto-insert-lisp, verilog-delete-to-paren)
1082 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
1083 (verilog-inject-sense, verilog-read-inst-pins)
1084 (verilog-read-sub-decls, verilog-read-sub-decls-line):
1085 Fix mismatching parenthesis inside commented out code when deleting
1086 AUTOINST, bug383. Reported by Jonathan Greenlaw.
1087 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
1088 non-numeric vector width. Reported by Alex Reed.
1089 (verilog-auto-ascii-enum): Add "onehot" option to work around not
1090 detecting signals with parameter widths. Reported by Alex Reed.
1091 (verilog-auto-delete-trailing-whitespace):
1092 With `verilog-auto-delete-trailing-whitespace' remove trailing
1093 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
1094 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
1095 Fix verilog-scan-cache corruption when running user AUTO expansion
1096 hooks that call indentation routines.
1097 (verilog-simplify-range-expression): Fix typo ignoring lower case
1099 (verilog-delete-auto): Fix delete-autos to also remove user created
1100 automatics, as long as they start with AUTO.
1101 (verilog-batch-diff-auto, verilog-diff-auto)
1102 (verilog-diff-function): Add `verilog-diff-auto' and bind to
1103 "C-c?" to report differences in AUTO expansion, ignoring spaces.
1104 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
1105 (verilog-in-paren-quick, verilog-re-search-backward-quick)
1106 (verilog-re-search-forward-quick, verilog-syntax-ppss):
1107 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
1108 is disabled and its cache will get corrupt, causing AUTOS not to
1109 expand. Instead use only -quick functions.
1110 (verilog-scan-region): Fix scanning over escaped quotes.
1111 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
1112 (verilog-re-search-backward-quick)
1113 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
1114 related functions now ignore strings, to fix misparsing of strings
1115 with magic comments embedded in them.
1116 (verilog-read-auto-template):
1117 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
1118 Reported by Brad Dobbie.
1119 (verilog-read-auto-template):
1120 Fix 'verilog-auto-inst-template-numbers' with comments.
1121 Reported by Brad Dobbie.
1122 (verilog-auto-inst, verilog-auto-inst-param)
1123 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
1124 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
1125 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
1126 debugging templates without merge conflicts, bug357.
1127 Reported by Brad Dobbie.
1128 (verilog-read-auto-template):
1129 Fix verilog-auto-inst-template-numbers with multiple templates.
1130 Reported by Brad Dobbie.
1131 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
1132 abbrevs so user won't be asked to save.
1133 (verilog-read-auto-lisp-present): Fix to start at beginning of
1134 buffer in case called outside of verilog-auto.
1135 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
1136 to "X-2". Reported by Matthew Myers.
1137 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
1138 all inputs from module templates. Reported by Leith Johnson.
1139 (verilog-module-inside-filename-p): Fix locating programs as with
1141 (verilog-auto-inst-port): Fix vl-width expressions when using
1142 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
1143 (verilog-decls-get-regs, verilog-decls-get-signals,
1144 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
1145 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
1146 verilog-read-decls): Combine reg and wire structures into one var
1147 structure to represent SystemVerilog concepts.
1148 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
1149 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
1150 (verilog-auto-wire-type, verilog-insert-definition):
1151 Add verilog-auto-wire-type and AUTOLOGIC to support using
1152 SystemVerilog "logic" keyword instead of "wire"/"reg".
1153 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
1154 to declares outputs that also have assignments (presumably in an
1155 ifdef or generate if so there's not a driver conflict).
1156 Reported by Matthew Myers.
1157 (verilog-auto-declare-nettype, verilog-insert-definition):
1158 Add verilog-auto-declare-nettype to fix declarations using
1159 `default_nettype none. Reported by Julian Gorfajn.
1160 (verilog-read-always-signals-recurse, verilog-read-decls)
1161 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
1162 malformed end statement, bug325. Reported by Joshua Wise and
1164 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
1165 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1166 when expanding .* in interfaces, bug320.
1167 Reported by Pierre-David Pfister.
1168 (verilog-read-module-name): Fix import statements between module
1169 name and open parenthesis, bug317.
1170 Reported by Pierre-David Pfister.
1171 (verilog-simplify-range-expression): Fix simplification of
1172 multiplications inside AUTOWIRE connections, bug303.
1173 (verilog-auto-inst-port): Support parameter expansion in
1174 multidimensional arrays.
1175 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
1176 after "assert property". Reported by Julian Gorfajn.
1177 (verilog-simplify-range-expression): Fix "couldn't merge" errors
1178 with multiplication, bug303.
1179 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
1180 Reported by Jan Frode Lonnum.
1182 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
1184 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
1185 (hfy-shell-file-name, hfy-shell):
1186 * international/fontset.el (x-decompose-font-name): Fix typos.
1188 2011-11-29 Ken Brown <kbrown@cornell.edu>
1190 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
1191 (gdb-version): Remove defvar.
1192 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
1193 (gdb-gud-context-command, gdb-non-stop-handler)
1194 (gdb-current-context-command, gdb-stopped): Use it.
1195 (gdb-init-1): Enable pretty printing here.
1196 (gdb-non-stop-handler): Don't enable pretty-printing here.
1197 Check to see if the target supports non-stop mode; if not, turn off
1198 non-stop mode. Use the following.
1199 (gdb-check-target-async): New defun.
1200 (gud-watch, gdb-stopped): Fix whitespace.
1201 (gdb-get-source-file): Don't try to display the source file if
1202 `gdb-main-file' is nil.
1204 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1206 * align.el: Try to generate fewer markers (bug#10047).
1207 (align--set-marker): New macro.
1208 (align-region): Use it.
1210 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1212 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
1214 2011-11-29 Chong Yidong <cyd@gnu.org>
1216 * indent.el (indent-for-tab-command, indent-according-to-mode):
1218 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
1220 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
1222 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
1223 aware of remote file names. (Bug#10124)
1225 2011-11-29 Chong Yidong <cyd@gnu.org>
1227 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
1229 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1231 * files.el (find-file): Don't use force-same-window (bug#10144).
1232 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
1233 use pop-to-buffer if the selected window can't be used.
1234 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
1236 2011-11-28 Eli Zaretskii <eliz@gnu.org>
1238 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
1241 2011-11-28 Chong Yidong <cyd@gnu.org>
1243 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
1245 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
1247 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
1248 gdb-get-source-file-list on gdb-create-source-file-list.
1250 2011-11-26 Eli Zaretskii <eliz@gnu.org>
1252 * whitespace.el (whitespace-newline): Use a different foreground
1253 color for 16-color light-background displays.
1255 2011-11-24 Chong Yidong <cyd@gnu.org>
1257 * window.el (display-buffer--special-action): Doc fix.
1259 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
1261 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
1262 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
1263 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
1264 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
1265 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
1266 (avl-tree-stack-first):
1267 * emacs-lisp/cconv.el (cconv--analyse-use):
1268 * net/gnutls.el (gnutls-negotiate): Fix typos.
1270 2011-11-24 Glenn Morris <rgm@gnu.org>
1272 * lpr.el (lpr-windows-system, lpr-lp-system):
1273 * mail/binhex.el (binhex-begin-line):
1274 * progmodes/grep.el (grep-history, grep-find-history):
1275 * textmodes/flyspell.el:
1276 * vc/pcvs-defs.el (cvs-global-menu):
1277 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
1278 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
1279 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
1281 * net/tls.el: Fix case of "GnuTLS".
1283 * paths.el (rmail-file-name): Format doc-string for make-docfile.
1285 * version.el (emacs-build-system): Give it a doc-string.
1287 2011-11-24 Juri Linkov <juri@jurta.org>
1289 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
1291 2011-11-24 Glenn Morris <rgm@gnu.org>
1293 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
1294 if called on a non-mime message just toggle the headers. (Bug#8006)
1296 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
1298 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
1299 (allout-lead-with-comment-string, allout-structure-deleted-hook)
1300 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
1301 (allout-rebullet-heading, allout-open-sibtopic)
1302 (allout-toggle-current-subtree-encryption)
1303 (allout-toggle-subtree-encryption, allout-encrypt-string)
1304 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
1305 (allout-distinctive-bullets-string, allout-auto-activation):
1306 * window.el (window-normalize-buffer-to-display):
1307 * progmodes/verilog-mode.el (verilog-batch-indent):
1308 * textmodes/bibtex.el (bibtex-field-braces-opt)
1309 (bibtex-field-strings-opt):
1310 * vc/cvs-status.el (cvs-tree-merge):
1313 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
1315 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
1316 `non-essential' to t, in order to avoid remote connections.
1318 2011-11-23 Eli Zaretskii <eliz@gnu.org>
1320 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1321 On MS-DOS and MS-Windows, compare with loaddefs.el
1324 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1326 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
1328 2011-11-23 Glenn Morris <rgm@gnu.org>
1330 * paths.el (rmail-file-name): Reformat the doc-string so that it
1333 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
1334 (rmail-auto-file): Ignore case in the "special" field names,
1335 as mail-fetch-field does for all others.
1337 * mail/rmail.el (rmail-forward):
1338 * mail/rmailkwd.el (rmail-set-label):
1339 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
1340 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
1342 * mail/rmail.el (rmail-current-message): Doc fix.
1344 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
1346 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
1348 * server.el (server-eval-and-print): Allow C-g (bug#6585).
1350 2011-11-22 Glenn Morris <rgm@gnu.org>
1352 * mail/rmailmm.el (test-rmail-mime-handler)
1353 (test-rmail-mime-bulk-handler)
1354 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
1356 2011-11-21 Juri Linkov <juri@jurta.org>
1358 * calc/calc.el (calc-read-key-sequence):
1359 Let-bind `input-method-function' to nil. (Bug#10018)
1361 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1363 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
1364 Tell the caller that the next line needs recomputation, even
1365 though it doesn't start a sexp (bug#10094).
1367 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1369 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
1371 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1373 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
1374 Use force-same-window.
1376 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
1378 * descr-text.el (describe-char-unicode-data):
1379 * json.el (json-string-escape):
1380 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
1381 (Footnote-unicode, Footnote-style-p):
1382 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
1384 2011-11-20 Chong Yidong <cyd@gnu.org>
1386 * window.el (replace-buffer-in-windows): Restore interactive spec.
1388 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1390 * electric.el (electric-indent-mode): Fix last change (too optimistic).
1392 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
1393 (byte-compile-global-not-obsolete-vars): New var.
1394 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
1396 (byte-compile-warn-obsolete): Align text with the one in *Help*.
1398 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
1400 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
1401 * progmodes/pascal.el (electric-pascal-equal):
1402 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
1403 * xml.el (xml-substitute-special): Fix typos.
1405 2011-11-20 Glenn Morris <rgm@gnu.org>
1407 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
1408 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
1410 (rmail-decode-mime-charset): Mark as obsolete.
1412 * mail/rmailsum.el (rmail-message-regexp-p-1):
1413 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
1414 Before using mime functions, check they are set. (Bug#10077)
1416 2011-11-19 Juri Linkov <juri@jurta.org>
1418 * info.el (Info-finder-find-node): Use `package--builtins' instead
1419 of `package-alist'. Use node names formed by the pattern "Keyword "
1420 and the keyword name.
1422 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
1424 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
1426 2011-11-19 Juri Linkov <juri@jurta.org>
1428 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
1429 that calls `revert-buffer' on all Info buffers. (Bug#9915)
1430 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
1431 `old-history', `old-history-forward'. Add let-binding
1432 `window-selected'. Remove calls to `kill-buffer',
1433 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
1434 before calling `Info-find-node', so `Info-find-node-2' will reread
1435 the Info file. Restore window positions only when `window-selected'
1438 2011-11-19 Juri Linkov <juri@jurta.org>
1440 * isearch.el (isearch-lazy-highlight-new-loop):
1441 Remove condition `(not isearch-error)'. (Bug#9918)
1443 * misearch.el (multi-isearch-search-fun): Add condition
1444 `(not bound)' to ignore lazy-highlighting search.
1445 Add the search-failed message "end of multi" when the end of
1446 multi-sequence is reached. Uncapitalize the search-failed
1447 message "Repeat for next buffer".
1449 * info.el (Info-search): Add the search-failed message
1450 "end of the manual" when the end of the manual is reached
1453 2011-11-19 Juri Linkov <juri@jurta.org>
1455 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
1456 Use non-destructive `remove' instead of `delete' because
1457 `Info-history-list' stored to `Info-isearch-initial-history-list' in
1458 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
1460 2011-11-19 Juri Linkov <juri@jurta.org>
1462 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
1463 to nil instead of binding `search-ring' and `regexp-search-ring'.
1466 2011-11-19 Eli Zaretskii <eliz@gnu.org>
1468 * simple.el (line-move): Force movement by logical lines for any
1469 hscrolled window, not only when auto-hscroll-mode is on.
1470 (line-move-visual): Update doc string to that effect. (Bug#10076)
1472 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
1474 * language/european.el (macintosh): Define as alias for mac-roman.
1476 2011-11-19 Eli Zaretskii <eliz@gnu.org>
1478 * mail/rmailmm.el (rmail-mime-display-header)
1479 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
1480 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
1481 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
1482 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
1483 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
1485 (rmail-mime-entity-segment): To get past the tagline, move forward
1486 2 more lines, to account for the 2 empty lines that precede and
1487 follow the line with the buttons.
1488 (rmail-mime-update-tagline): Move one more line, to get past the
1489 empty line that follows the buttons in the tagline. (Bug#9520)
1491 2011-11-19 Martin Rudalics <rudalics@gmx.at>
1493 * window.el (window-max-delta-1, window-min-delta-1)
1494 (window-min-size-1, window-state-get-1, window-state-put-1)
1495 (window-state-put-2): Use "window--" prefix.
1497 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1499 * emacs-lisp/smie.el: Improve warnings and conflict detection.
1500 (smie-warning-count): New var.
1501 (smie-set-prec2tab): Use it.
1502 (smie-bnf->prec2): Improve warnings. Add docstring.
1503 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
1504 (smie-bnf--set-class): New function.
1505 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
1508 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
1509 (compilation-error-properties, compilation-move-to-column):
1510 Handle compilation-first-column while in the target buffer.
1512 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
1513 Don't hardcode point-min==1.
1515 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
1516 (eshell-rewrite-for-command): Remove workaround.
1517 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
1518 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
1519 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
1521 * files-x.el (modify-file-local-variable): Obey commenting conventions.
1523 2011-11-17 Glenn Morris <rgm@gnu.org>
1525 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1526 Ignore buffer-local generated-autoload-file if it is the same
1527 as the global value. (Bug#10049)
1529 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
1531 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
1532 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
1533 (reftex-toc-previous-heading, reftex-toc-max-level)
1534 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
1535 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
1536 (reftex-toc-do-promote, reftex-toc-promote-prepare)
1537 (reftex-toc-promote-action, reftex-toc-extract-section-number)
1538 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
1539 (reftex-toc-rename-label, reftex-toc-visit-location)
1540 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
1541 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
1542 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
1543 leaving "*toc*" only for references to the buffer.
1545 2011-11-17 Martin Rudalics <rudalics@gmx.at>
1547 * window.el (window-resize, delete-window, split-window):
1548 Replace window-splits by window-combination-resize.
1549 * cus-start.el (window-splits): Replace by window-combination-resize.
1551 2011-11-17 Glenn Morris <rgm@gnu.org>
1553 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1554 Make bash entry derive from sh entry, not shell entry.
1556 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
1558 * net/tramp-cache.el (tramp-flush-file-property): Flush also
1559 properties of linked files. (Bug#9879)
1561 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
1564 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
1566 * menu-bar.el (menu-bar-file-menu):
1567 * printing.el (pr-ps-utility):
1568 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
1569 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
1570 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
1571 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
1572 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
1573 (icalendar--convert-cyclic-to-ical)
1574 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
1575 (icalendar--convert-ical-to-diary)
1576 (icalendar--convert-recurring-to-diary)
1577 (icalendar--convert-non-recurring-all-day-to-diary)
1578 (icalendar-import-format-sample):
1579 * progmodes/idlw-shell.el (idlwave-shell-mode):
1580 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
1581 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
1582 (vhdl-ps-print-init): Fix typos.
1584 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
1586 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
1587 FSF and collapse date sequence, obscure author/maintainer email address
1588 better, remove extra version line, track relocation of author's webpage.
1590 * progmodes/python.el (python-pdbtrack-input-prompt)
1591 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
1592 regular python pdb prompts. Adjustments shamelessly taken exactly as
1593 suggested in EmacsWiki page (tiny change):
1594 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
1596 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
1598 * expand.el (expand-pos, expand-index, expand-point):
1599 Remove redundant info from docstring.
1600 (expand-add-abbrevs): Doc fix.
1601 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
1602 (expand-sample-perl-mode-expand-list): Fix typos.
1604 * net/dbus.el (dbus-event-member-name):
1605 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
1606 * term/pc-win.el (msdos-create-frame-with-faces):
1607 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
1609 2011-11-16 Martin Rudalics <rudalics@gmx.at>
1611 * window.el (split-window, window-state-get-1)
1612 (window-state-put-1, window-state-put-2): Rename occurrences of
1613 window-nest to window-combination-limit.
1614 * cus-start.el (window-nest): Rename to window-combination-limit.
1616 2011-11-16 Chong Yidong <cyd@gnu.org>
1618 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
1621 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1623 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
1624 `completing-read' will remove *Completions* and will preserve
1625 current-buffer for us.
1626 (tmm-add-prompt): Users of *Completions* will always (re)set its
1628 (tmm-old-comp-map): Remove.
1630 2011-11-16 Glenn Morris <rgm@gnu.org>
1632 * mail/rmailedit.el: Require rmailmm when compiling.
1633 (rmail-old-mime-state): New declaration.
1634 (rmail-edit-current-message): If editing a mime message,
1635 edit the "raw" message from the mbox buffer.
1636 (rmail-cease-edit): Handle mime messages. (Bug#9840)
1638 2011-11-15 Glenn Morris <rgm@gnu.org>
1640 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
1641 which wasn't being used. Add optional arg to force given state.
1642 (rmail-mime): Add optional arg to force given state.
1644 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
1646 * allout.el (allout-encryption-plaintext-sanitization-regexps):
1647 * frame.el (display-mm-dimensions-alist):
1648 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
1649 (outline-move-subtree-down):
1650 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
1651 (newsticker--treeview-do-get-node):
1652 * net/quickurl.el (quickurl-list-buffer-name):
1653 * progmodes/dcl-mode.el (dcl-mode):
1654 * progmodes/gdb-mi.el (gdb-mapcar*):
1655 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
1657 2011-11-15 Glenn Morris <rgm@gnu.org>
1659 * mail/rmail.el (rmail-file-coding-system): It's only ever used
1660 in a boolean sense, so just make it a boolean, and fix the doc.
1661 (rmail-show-mime-function, rmail-mime-feature)
1662 (rmail-require-mime-maybe): Doc fixes.
1663 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
1665 * mail/rmailmm.el (rmail-show-mime): Doc fix.
1667 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
1669 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
1670 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
1671 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
1672 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
1674 2011-11-15 Glenn Morris <rgm@gnu.org>
1676 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
1677 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
1678 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
1679 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
1680 (rmail-mime, rmail-show-mime): Doc fixes.
1682 * term/ns-win.el (mode-line-frame-identification):
1683 Leave it alone. (Bug#10051)
1685 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
1687 * mail/rmailout.el (rmail-output-to-rmail-buffer):
1688 Handle empty buffers. (Bug#9978)
1690 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
1692 * international/mule.el (define-charset):
1693 * mail/rmailmm.el (rmail-mime-find-header-encoding):
1694 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
1695 * progmodes/verilog-mode.el (verilog-backward-token):
1696 * textmodes/ispell.el (lookup-words):
1697 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
1699 2011-11-14 Glenn Morris <rgm@gnu.org>
1701 * progmodes/executable.el
1702 (executable-make-buffer-file-executable-if-script-p):
1703 Handle file-modes returning nil.
1705 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
1706 message - not necessary, and causes problems. (Bug#9831)
1708 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
1710 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
1712 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
1713 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
1714 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
1716 2011-11-12 Martin Rudalics <rudalics@gmx.at>
1718 * window.el (window-resize, delete-window): Use window-splits
1719 variable instead of function.
1720 (window-state-get-1, window-state-put-2, window-state-put):
1721 Don't deal with windows' splits status.
1723 2011-11-12 Glenn Morris <rgm@gnu.org>
1725 * apropos.el (apropos-do-all, apropos-library, apropos-value)
1726 (apropos-documentation): Doc fixes.
1728 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
1730 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
1731 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
1733 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1735 * electric.el (electric-indent-post-self-insert-function): Make it
1736 possible for a char to only indent in some circumstances.
1737 (electric-indent-mode): Simplify.
1739 2011-11-11 Martin Rudalics <rudalics@gmx.at>
1741 * window.el (windows-with-parameter): Remove unused function.
1742 (windows-at-side): Rename to window-at-side-list.
1743 (window-check, window-atom-check, window-atom-check-1)
1744 (window-side-check, window-size-ignore, window-size-fixed-1)
1745 (window-in-direction-2): Prefix with "window--".
1746 (window-tree-1): Rename to window--subtree, fix doc-string.
1748 2011-11-11 Glenn Morris <rgm@gnu.org>
1750 * subr.el (eval-after-load): If FILE is already loaded,
1751 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
1753 2011-11-10 Glenn Morris <rgm@gnu.org>
1755 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
1756 Call svn via vc-svn-command rather than vc-do-command.
1757 (vc-svn-command): Add --non-interactive. (Bug#9993)
1758 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
1760 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1761 Add toggle-read-only. (Bug#7292)
1762 * files.el (toggle-read-only): Mention that it should only
1763 be used interactively. (Bug#10006)
1765 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1767 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1768 Adjust regexp for OCaml warnings.
1770 * electric.el (electric-pair-post-self-insert-function): Let user
1771 turn it off buffer-locally (bug#9932).
1773 * progmodes/python.el (python-beginning-of-statement):
1776 * progmodes/compile.el: Better handle TABs (bug#9749).
1777 (compilation-internal-error-properties)
1778 (compilation-next-error-function): Obey the target buffer's
1779 compilation-error-screen-columns.
1781 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
1783 * progmodes/meta-mode.el: Remove obsolete comments.
1784 (meta-right-comment-regexp, meta-ignore-comment-regexp):
1785 Fix typos in docstrings.
1787 2011-11-09 Martin Rudalics <rudalics@gmx.at>
1789 * window.el (window-size-fixed-p): Rewrite doc-string.
1790 (window-resizable-p): Rename to window--resizable-p. Update callers.
1791 (window--resizable): New function. Make all callers of
1792 window-resizable call window--resizable instead.
1793 (window-resizable): Rewrite in terms of window--resizable.
1795 2011-11-08 Glenn Morris <rgm@gnu.org>
1797 * progmodes/delphi.el (delphi-mode-syntax-table):
1798 Let define-derived-mode define a proper syntax table. (Bug#9994)
1800 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1802 * window.el: Stay away from defsubst.
1803 (window-list-no-nils): Remove.
1804 (window-state-get-1, window-state-get): Use backquote instead.
1806 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1808 * emacs-lisp/find-func.el (find-function-read):
1809 Fix incorrect use of default argument in `completing-read'.
1811 2011-11-08 Martin Rudalics <rudalics@gmx.at>
1813 * window.el (display-buffer-function, special-display-function):
1814 Mention display-buffer-record-window but do not mention
1815 help-setup parameter in doc-strings.
1816 (window-min-delta): Fix doc-string typo.
1818 2011-11-08 Chong Yidong <cyd@gnu.org>
1820 * window.el (window-total-height, window-total-width): Doc fix.
1821 (window-body-size): Move from C.
1822 (window-body-height, window-body-width): Move to C.
1824 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1826 * window.el: Make special-display like display-buffer-alist (bug#9532).
1827 (display-buffer--special-action): New function, morphed
1828 from display-buffer--special.
1829 (display-buffer): Use it to handle special-display-buffers at higher
1830 priority (just after display-buffer-alist).
1831 (display-buffer-fallback-action, display-buffer--other-frame-action)
1832 (pop-to-buffer-same-window): Remove display-buffer--special.
1834 2011-11-07 Glenn Morris <rgm@gnu.org>
1836 * calendar/cal-menu.el (cal-menu-set-date-title):
1837 Do nothing if not in a calendar. (Bug#9976)
1839 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1841 * files.el (find-file): Always use selected-window.
1843 2011-11-07 Martin Rudalics <rudalics@gmx.at>
1845 * window.el (window-combinations): Make WINDOW argument
1846 mandatory. Rewrite doc-string.
1847 (walk-window-subtree, window-atom-check, window-min-delta)
1848 (window-max-delta, window--resize-this-window)
1849 (window--resize-root-window-vertically, window-tree)
1850 (balance-windows, window-state-put): Rewrite doc-strings as to
1851 not mention the term "subwindow".
1852 (window--resize-subwindows-skip-p): Rename to
1853 window--resize-child-windows-skip-p.
1854 (window--resize-subwindows-normal): Rename to
1855 window--resize-child-windows-normal.
1856 (window--resize-subwindows): Rename to
1857 window--resize-child-windows.
1858 (window-or-subwindow-p): Rename to window--in-subtree-p.
1860 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1862 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
1863 Ensure that mbox format messages end in two newlines (Bug#9974).
1865 2011-11-06 Chong Yidong <cyd@gnu.org>
1867 * window.el (window-combination-p): Function deleted; its
1868 side-effect is not used in any existing code.
1869 (window-combinations, window-combined-p): Call window-*-child
1872 2011-11-05 Chong Yidong <cyd@gnu.org>
1874 * window.el (window-valid-p): Rename from window-any-p.
1875 (window-size-ignore, window-state-get): Callers changed.
1876 (window-normalize-window): Rename from window-normalize-any-window.
1877 New arg LIVE-ONLY, replacing window-normalize-live-window.
1878 (window-normalize-live-window): Delete.
1879 (window-combination-p, window-combined-p, window-combinations)
1880 (walk-window-subtree, window-atom-root, window-min-size)
1881 (window-sizable, window-sizable-p, window-size-fixed-p)
1882 (window-min-delta, window-max-delta, window-resizable)
1883 (window-resizable-p, window-full-height-p, window-full-width-p)
1884 (window-current-scroll-bars, window-point-1, set-window-point-1)
1885 (window-at-side-p, window-in-direction, window-resize)
1886 (adjust-window-trailing-edge, maximize-window, minimize-window)
1887 (window-deletable-p, delete-window, delete-other-windows)
1888 (record-window-buffer, unrecord-window-buffer)
1889 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
1890 (quit-window, split-window, window-state-put)
1891 (set-window-text-height, fit-window-to-buffer)
1892 (shrink-window-if-larger-than-buffer): Callers changed.
1894 2011-11-04 Eli Zaretskii <eliz@gnu.org>
1896 * mail/rmail.el (rmail-simplified-subject): Decode subject with
1897 rfc2047-decode-string.
1898 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
1901 * window.el (window-body-height, window-body-width): Mention in
1902 the doc string that the return values are in frame's canonical
1905 2011-11-03 Alan Mackenzie <acm@muc.de>
1907 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
1908 change in cc-engine.el.
1910 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
1912 * window.el (switch-to-buffer): Use `force-same-window' interactively.
1914 2011-11-02 Martin Rudalics <rudalics@gmx.at>
1916 * window.el (quit-window): Call unrecord-window-buffer after
1917 showing another buffer in the window. (Bug#9937)
1918 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1920 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
1922 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
1923 Accept status with more than 9 shelves. (Bug#9935)
1924 Reported by Colin D Bennett <colin@gibibit.com>.
1926 2011-11-01 Martin Rudalics <rudalics@gmx.at>
1928 * help.el (with-help-window): Don't reference
1929 temp-buffer-show-specifiers in doc-string.
1931 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
1933 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
1936 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1938 * whitespace.el: New version 13.2.2.
1939 (whitespace-newline-mode): Disable properly. Reported by Sarah
1942 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
1944 * net/newst-treeview.el: Remove "Time-stamp".
1945 (newsticker--group-manage-orphan-feeds): Do not call
1946 newsticker--treeview-tree-update.
1947 (newsticker-treeview-update, newsticker-treeview):
1948 Call newsticker--treeview-tree-update if necessary.
1950 2011-10-30 Martin Rudalics <rudalics@gmx.at>
1952 * window.el (window-iso-combination-p, window-iso-combined-p)
1953 (window-iso-combinations): Remove "iso-" infix.
1954 Suggested by Chong Yidong.
1955 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
1956 (window-max-delta-1, window-resize, window--resize-siblings)
1957 (window--resize-this-window, adjust-window-trailing-edge)
1958 (split-window, balance-windows-1)
1959 (shrink-window-if-larger-than-buffer):
1960 * calendar/calendar.el (calendar-generate-window):
1961 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
1963 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1965 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
1966 in place (bug#9907).
1967 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
1968 (eshell-rewrite-if-command, eshell-rewrite-for-command)
1969 (eshell-structure-basic-command, eshell-rewrite-while-command)
1970 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
1971 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
1972 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
1973 (eshell-do-pipelines-synchronously, eshell-eval-command):
1974 Use backquotes and prefer setq to set.
1975 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
1976 (eshell-macrop): Use functionp.
1977 (eshell-do-eval): Handle multiple expressions in `while' body.
1979 2011-10-30 Chong Yidong <cyd@gnu.org>
1981 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
1982 instead of set-mark (Bug#9810).
1984 2011-10-30 Chong Yidong <cyd@gnu.org>
1986 * window.el (split-window-below, split-window-right): Rename from
1987 split-window-above-each-other and split-window-side-by-side
1988 respectively. All callers changed.
1989 (split-window-sensibly, split-window-sensibly): Use them.
1990 (split-window-keep-point): Doc fix.
1992 * isearch.el: Add isearch-scroll property to split-window-below
1993 and split-window-right.
1995 * follow.el (follow-mode):
1996 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
1997 * progmodes/ada-xref.el (ada-gdb-application):
1998 * emulation/vip.el (vip-buffer-in-two-windows):
1999 * image-dired.el (image-dired-dired-with-window-configuration):
2000 * dired-x.el (dired-do-find-marked-files):
2001 * dired.el (dired-pop-to-buffer):
2002 * bs.el (bs--show-with-configuration):
2003 * vc/emerge.el (emerge-setup-windows):
2004 * textmodes/two-column.el (2C-two-columns):
2005 * textmodes/reftex-toc.el (reftex-toc):
2006 * progmodes/gdb-mi.el (gdb-setup-windows):
2007 * progmodes/fortran.el (fortran-window-create):
2008 * net/newst-treeview.el (newsticker--treeview-window-init):
2009 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
2010 * emulation/tpu-edt.el (tpu-gold-map):
2011 * emulation/crisp.el (crisp-mode-map):
2012 * calendar/calendar.el (calendar-basic-setup): Callers changed.
2014 2011-10-29 Chong Yidong <cyd@gnu.org>
2016 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
2018 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
2020 * textmodes/flyspell.el (flyspell-word): Fix char offset for
2021 forged Ispell output (Bug#7904).
2023 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
2025 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2027 * doc-view.el: Avoid ugly errors about not finding nil.
2028 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
2029 (doc-view-dvipdf-program, doc-view-unoconv-program)
2030 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
2031 Avoid nil or absolute file name as default value.
2032 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
2034 2011-10-28 Alan Mackenzie <acm@muc.de>
2036 * progmodes/cc-defs.el (c-version): -> 5.32.2.
2038 2011-10-28 Alan Mackenzie <acm@muc.de>
2040 Amend the handling of c-beginning/end-of-defun in nested declaration
2043 * progmodes/cc-vars.el (c-defun-tactic): Move here from
2044 cc-langs.el. Change it to a defcustom.
2046 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
2049 * progmodes/cc-engine.el (c-beginning-of-statement-1):
2050 Prevent "class foo : bar" being spuriously recognized as a label.
2052 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
2053 Add parameter `inclusive' (to include enclosing braces in the region).
2054 (c-widen-to-enclosing-decl-scope): New function.
2055 (c-while-widening-to-decl-block): New macro.
2056 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
2057 outward for defun boundaries, and correspondingly change symbol
2058 `respect-enclosure' to `go-outward'.
2059 (c-declaration-limits): Change algorithm to report only the "innermost"
2062 2011-10-28 Deniz Dogan <deniz@dogan.se>
2064 * net/rcirc.el (rcirc-mode): Use hard newlines.
2066 2011-10-28 Alan Mackenzie <acm@muc.de>
2068 Amend to indent and fontify macros "which include their own semicolon"
2069 correctly, using the "virtual semicolon" mechanism.
2071 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
2073 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2074 Recode to scan one line at a time rather than having \n and \r
2075 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
2076 (c-forward-label): Amend for virtual semicolons.
2077 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
2079 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
2080 of the new C macros.
2082 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
2083 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
2084 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
2085 (c-opt-cpp-macro-define): Make into a full language variable.
2086 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
2087 AWK Mode (including \n, \r) removed, no longer needed.
2089 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
2090 Invoke c-make-macro-with-semi-re.
2092 * progmodes/cc-vars.el (c-macro-with-semi-re):
2093 (c-macro-names-with-semicolon): New variables.
2094 (c-make-macro-with-semi-re): New function.
2096 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2098 * vc/log-edit.el: Fill empty field rather than adding new one.
2099 (log-edit-add-field): New function.
2100 (log-edit-insert-changelog): Use it.
2102 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2104 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
2106 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2108 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
2109 (gdb--check-interpreter): New function.
2112 2011-10-27 Glenn Morris <rgm@gnu.org>
2114 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
2115 (least-positive-float, least-negative-float)
2116 (least-positive-normalized-float, least-negative-normalized-float)
2117 (float-epsilon, float-negative-epsilon):
2118 Remove unnecessary declarations.
2120 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
2121 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
2122 (least-positive-float, least-negative-float)
2123 (least-positive-normalized-float, least-negative-normalized-float)
2124 (float-epsilon, float-negative-epsilon): Add doc-strings,
2125 based on those in cl.texi.
2127 * files.el (set-visited-file-name): If the major-mode changed,
2128 reload the local variables. (Bug#9796)
2130 2011-10-27 Chong Yidong <cyd@gnu.org>
2132 * subr.el (change-major-mode-after-body-hook): New hook.
2133 (run-mode-hooks): Run it.
2135 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
2136 Use change-major-mode-before-body-hook.
2138 * simple.el (fundamental-mode):
2139 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
2140 change introducing fundamental-mode-hook.
2142 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
2144 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
2146 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
2148 * ido.el (ido-file-name-all-completions-1): Do not require
2149 tramp.el explicitly. (Bug#7583)
2151 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2153 * progmodes/octave-mod.el:
2154 * progmodes/octave-inf.el: Update maintainer.
2156 2011-10-26 Chong Yidong <cyd@gnu.org>
2158 * subr.el (with-wrapper-hook): Rewrite doc.
2160 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
2162 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
2163 filenames "/method:foo:". (Bug#9793)
2165 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2167 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
2170 2011-10-24 Glenn Morris <rgm@gnu.org>
2172 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
2174 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
2176 * notifications.el: Add the requirement of a running D-Bus session
2177 bus to the Commentary.
2179 2011-10-24 Juri Linkov <juri@jurta.org>
2181 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
2182 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
2185 2011-10-24 Juri Linkov <juri@jurta.org>
2187 * info.el (Info-following-node-name-re): Add newline to the list
2188 of allowed characters for leading space. (Bug#9824)
2190 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2192 * progmodes/octave-inf.el (inferior-octave-mode-map):
2193 Fix C-c C-h binding.
2194 * progmodes/octave-mod.el (octave-help): Remove.
2196 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
2198 Sync with Tramp 2.2.3.
2200 * net/tramp-cache.el (top): Pacify byte-compiler using
2201 `init-file-user' and `site-run-file'.
2203 * net/trampver.el: Update release number.
2205 2011-10-23 Chong Yidong <cyd@gnu.org>
2207 * files.el (toggle-read-only): Remove obsolete comment about
2210 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
2211 for toggle-read-only. Note that this hasn't called vc-next-action
2212 since 2008-05-02, though it wasn't documented at the time.
2214 * vc/ediff-init.el (ediff-toggle-read-only-function):
2215 Use toggle-read-only.
2217 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
2219 Fix bug #9560, sporadic wrong indentation; improve instrumentation
2222 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2223 correct faulty logical expression.
2224 (c-parse-state-state, c-record-parse-state-state):
2225 (c-replay-parse-state-state): New defvar/defuns.
2226 (c-debug-parse-state): Use new functions.
2228 2011-10-22 Martin Rudalics <rudalics@gmx.at>
2230 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
2231 last fix. Use window-in-direction correctly.
2233 2011-10-21 Chong Yidong <cyd@gnu.org>
2235 * progmodes/idlwave.el (idlwave-mode):
2236 * progmodes/vera-mode.el (vera-mode): No need to set
2237 require-final-newline; that's done in prog-mode.
2238 Suggested by Stefan Monnier.
2240 2011-10-21 Martin Rudalics <rudalics@gmx.at>
2242 * mouse.el (mouse-drag-window-above)
2243 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
2244 (mouse-drag-mode-line-1, mouse-drag-header-line)
2245 (mouse-drag-vertical-line-rightward-window): Remove.
2246 (mouse-drag-line): New function.
2247 (mouse-drag-mode-line, mouse-drag-header-line)
2248 (mouse-drag-vertical-line): Call mouse-drag-line.
2249 * window.el (window-at-side-p, windows-at-side): New functions.
2251 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
2253 * tar-mode.el (tar-grind-file-mode):
2254 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
2256 2011-10-21 Chong Yidong <cyd@gnu.org>
2258 * progmodes/idlwave.el (idlwave-mode):
2259 * progmodes/vera-mode.el (vera-mode):
2260 Use mode-require-final-newline.
2262 2011-10-20 Glenn Morris <rgm@gnu.org>
2264 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
2266 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
2268 * emulation/cua-base.el (cua-set-mark): Fix case of string.
2270 2011-10-20 Chong Yidong <cyd@gnu.org>
2272 * emulation/cua-base.el (cua-mode):
2273 * mail/footnote.el (footnote-mode):
2274 * mail/mailabbrev.el (mail-abbrevs-mode):
2275 * net/xesam.el (xesam-minor-mode):
2276 * progmodes/bug-reference.el (bug-reference-mode):
2277 * progmodes/cap-words.el (capitalized-words-mode):
2278 * progmodes/compile.el (compilation-minor-mode)
2279 (compilation-shell-minor-mode):
2280 * progmodes/gud.el (gud-tooltip-mode):
2281 * progmodes/hideif.el (hide-ifdef-mode):
2282 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
2283 * progmodes/subword.el (subword-mode):
2284 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
2285 * progmodes/which-func.el (which-function-mode):
2286 * term/tvi970.el (tvi970-set-keypad-mode):
2287 * term/vt100.el (vt100-wide-mode):
2288 * textmodes/flyspell.el (flyspell-mode):
2289 * textmodes/ispell.el (ispell-minor-mode):
2290 * textmodes/nroff-mode.el (nroff-electric-mode):
2291 * textmodes/paragraphs.el (use-hard-newlines):
2292 * textmodes/refill.el (refill-mode):
2293 * textmodes/reftex.el (reftex-mode):
2294 * textmodes/rst.el (rst-minor-mode):
2295 * textmodes/sgml-mode.el (html-autoview-mode)
2296 (sgml-electric-tag-pair-mode):
2297 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
2298 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
2299 * emulation/crisp.el (crisp-mode):
2300 * emacs-lisp/eldoc.el (eldoc-mode):
2301 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
2302 minor mode behavior.
2304 2011-10-19 Juri Linkov <juri@jurta.org>
2306 * descr-text.el (describe-char): Add #x2010 and #x2011 to
2307 the list of hard-coded chars with escape-glyph face.
2309 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2311 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
2313 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
2315 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
2318 2011-10-19 Glenn Morris <rgm@gnu.org>
2320 * vc/vc-bzr.el (vc-bzr-after-dir-status):
2321 Ignore ignored files. (Bug#9726)
2323 2011-10-19 Chong Yidong <cyd@gnu.org>
2325 Doc fix for minor modes, stating that an omitted argument enables
2326 the mode unconditionally when called from Lisp.
2328 * abbrev.el (abbrev-mode):
2329 * allout.el (allout-mode):
2330 * autoinsert.el (auto-insert-mode):
2331 * autoarg.el (autoarg-mode, autoarg-kp-mode):
2332 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2333 (global-auto-revert-mode):
2334 * battery.el (display-battery-mode):
2335 * composite.el (global-auto-composition-mode)
2336 (auto-composition-mode):
2337 * delsel.el (delete-selection-mode):
2338 * desktop.el (desktop-save-mode):
2339 * dired-x.el (dired-omit-mode):
2340 * dirtrack.el (dirtrack-mode):
2341 * doc-view.el (doc-view-minor-mode):
2342 * double.el (double-mode):
2343 * electric.el (electric-indent-mode, electric-pair-mode):
2344 * emacs-lock.el (emacs-lock-mode):
2345 * epa-hook.el (auto-encryption-mode):
2346 * follow.el (follow-mode):
2347 * font-core.el (font-lock-mode):
2348 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
2349 * help.el (temp-buffer-resize-mode):
2350 * hilit-chg.el (highlight-changes-mode)
2351 (highlight-changes-visible-mode):
2352 * hi-lock.el (hi-lock-mode):
2353 * hl-line.el (hl-line-mode, global-hl-line-mode):
2354 * icomplete.el (icomplete-mode):
2355 * ido.el (ido-everywhere):
2356 * image-file.el (auto-image-file-mode):
2357 * image-mode.el (image-minor-mode):
2358 * iswitchb.el (iswitchb-mode):
2359 * jka-cmpr-hook.el (auto-compression-mode):
2360 * linum.el (linum-mode):
2361 * longlines.el (longlines-mode):
2362 * master.el (master-mode):
2363 * mb-depth.el (minibuffer-depth-indicate-mode):
2364 * menu-bar.el (menu-bar-mode):
2365 * minibuf-eldef.el (minibuffer-electric-default-mode):
2366 * mouse-sel.el (mouse-sel-mode):
2367 * msb.el (msb-mode):
2368 * mwheel.el (mouse-wheel-mode):
2369 * outline.el (outline-minor-mode):
2370 * paren.el (show-paren-mode):
2371 * recentf.el (recentf-mode):
2372 * reveal.el (reveal-mode, global-reveal-mode):
2373 * rfn-eshadow.el (file-name-shadow-mode):
2374 * ruler-mode.el (ruler-mode):
2375 * savehist.el (savehist-mode):
2376 * scroll-all.el (scroll-all-mode):
2377 * scroll-bar.el (scroll-bar-mode):
2378 * server.el (server-mode):
2379 * shell.el (shell-dirtrack-mode):
2380 * simple.el (auto-fill-mode, transient-mark-mode)
2381 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
2382 (line-number-mode, column-number-mode, size-indication-mode)
2383 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
2384 * strokes.el (strokes-mode):
2385 * time.el (display-time-mode):
2386 * t-mouse.el (gpm-mouse-mode):
2387 * tool-bar.el (tool-bar-mode):
2388 * tooltip.el (tooltip-mode):
2389 * type-break.el (type-break-mode-line-message-mode)
2390 (type-break-query-mode):
2391 * view.el (view-mode):
2392 * whitespace.el (whitespace-mode, whitespace-newline-mode)
2393 (global-whitespace-mode, global-whitespace-newline-mode):
2394 * xt-mouse.el (xterm-mouse-mode): Doc fix.
2396 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
2397 Fix autogenerated docstring.
2399 2011-10-19 Juri Linkov <juri@jurta.org>
2401 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
2402 by checking environment variables "DESKTOP_SESSION" and
2403 "XDG_CURRENT_DESKTOP". (Bug#9779)
2405 2011-10-19 Juri Linkov <juri@jurta.org>
2407 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
2408 (browse-url-chromium-program, browse-url-chromium-arguments):
2410 (browse-url-default-browser): Check for `browse-url-chromium' and
2411 call `browse-url-chromium-program'.
2412 (browse-url-chromium): New command. (Bug#9779)
2414 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
2416 * facemenu.el (list-colors-duplicates): On Windows, detect more
2417 duplicates by assuming that only colors matching "^System" are
2418 special "system colors". (Bug#9722)
2420 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2422 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
2423 to distinguish the author from the committer.
2425 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
2427 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
2429 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
2431 * international/mule.el (sgml-html-meta-auto-coding-function):
2432 Add support for detecting encoding in HTML5 specified only as
2433 <meta charset="UTF-8">. Implementation just makes http-equiv and
2434 content-type parts from HTML4 encoding string optional. (Bug#9716)
2436 2011-10-18 Glenn Morris <rgm@gnu.org>
2438 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
2440 2011-10-18 Chong Yidong <cyd@gnu.org>
2442 * faces.el (cursor): Doc fix.
2444 2011-10-17 Chong Yidong <cyd@gnu.org>
2446 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
2448 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
2450 * dirtrack.el (dirtrack): Support shell buffers with path
2451 prefixes, e.g. tramp-based remote shells. (Bug#9647)
2453 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
2455 * json.el: Bump version to 1.3 and note change in History.
2456 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
2458 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2460 * comint.el (comint-insert-input, comint-send-input)
2461 (comint-get-old-input-default, comint-backward-matching-input)
2462 (comint-next-prompt): Use nil instead of `input' for field property of
2463 past user input (bug#114).
2465 * minibuffer.el (completion--replace): Inherit surrounding properties
2467 (minibuffer-complete-and-exit): Use it.
2469 * comint.el (comint--table-subvert): Quote the all-completions output
2472 2011-10-17 Martin Rudalics <rudalics@gmx.at>
2474 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
2476 * menu-bar.el (menu-bar-file-menu): Add entry for making new
2477 window on right of selected. (Bug#9350) Reword other window
2478 entries and separate them from frame entries.
2480 2011-10-15 Glenn Morris <rgm@gnu.org>
2482 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
2485 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
2487 * net/network-stream.el (network-stream-open-starttls):
2488 Improve detection of failure due to lack of TLS support.
2490 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
2491 putting the input text in front and in bold.
2493 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
2495 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
2497 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
2500 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
2501 unread-command-events rather than pushing yet-another event.
2503 2011-10-14 Eli Zaretskii <eliz@gnu.org>
2505 * mail/sendmail.el (sendmail-query-once): Improve the wording of
2506 the explanation of the possible choices. Make the options passed
2507 to completing-read shorter.
2509 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2511 * textmodes/flyspell.el (flyspell-large-region): Make sure
2512 extended character mode is used if defined (Bug#1339).
2514 2011-10-13 Eli Zaretskii <eliz@gnu.org>
2516 * simple.el (what-cursor-position): Fix the display of the
2517 character info for LRE, LRO, RLE, and RLO characters by appending
2520 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
2522 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
2523 even in case of error; add debug spec; simplify data flow.
2524 (with-timeout-handler): Remove.
2526 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
2528 Fix Bug#6019, Bug#9315.
2530 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
2531 complete `buffer-file-name', the local file name part could look
2532 remotely (for example on VMS).
2534 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
2535 `tramp-run-real-handler'.
2536 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
2537 already quoted by '"'.
2539 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
2540 Let `file-name-handler-alist' be nil, the local file name part
2541 could look remotely (for example on VMS).
2543 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2545 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
2547 (flyspell-post-command-hook): ...to here.
2549 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2551 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
2553 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
2554 using completion. Protect against "slow" callers.
2555 Remove the "message hack".
2557 2011-10-11 Juri Linkov <juri@jurta.org>
2559 * isearch.el (isearch-lazy-highlight-word): New variable.
2560 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
2563 2011-10-11 Glenn Morris <rgm@gnu.org>
2565 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
2566 like f90-previous-statement does.
2568 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2570 * eshell/eshell.el (eshell-command): History should be saved
2571 only in interactive use, to avoid error.
2573 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2575 * minibuffer.el (completion-file-name-table): Fix last change,
2576 i.e. ignore normal errors but not the other ones.
2578 2011-10-10 Martin Rudalics <rudalics@gmx.at>
2580 * window.el (special-display-buffer-names)
2581 (special-display-regexps): Remove some remnants of earlier
2582 changes from doc-strings.
2583 (quit-windows-on): New function.
2585 * vc/vc.el (vc-revert, vc-rollback):
2586 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
2587 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
2588 (Bug#6183) (Bug#7074) (Bug#7447)
2590 2011-10-09 Martin Rudalics <rudalics@gmx.at>
2592 * window.el (frame-auto-hide-function): Add version tag.
2595 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
2597 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
2600 2011-10-09 Leo Liu <sdl.web@gmail.com>
2602 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
2605 2011-10-08 Glenn Morris <rgm@gnu.org>
2607 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
2608 before the first code statement zero indent. (Bug#9690)
2610 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
2612 * simple.el (count-words-region): Always count in the region.
2613 Report the number of lines and characters too.
2614 (count-words): New command, which counts in the buffer if the
2615 region is inactive, as count-words-region used to.
2616 (count-words--message): New function. Handle plurals.
2617 (count-lines-region): Make it an alias for count-words-region.
2619 * bindings.el (esc-map): Replace count-lines-region with
2622 2011-10-08 Martin Rudalics <rudalics@gmx.at>
2624 * window.el (window--delete): Delete dedicated frame
2625 unconditionally when argument KILL is non-nil. (Bug#9699)
2626 (switch-to-buffer): Fix doc-string typo.
2628 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2630 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
2632 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
2634 * bindings.el ([M-left],[M-right]): Bind to left-word and
2635 right-word respectively.
2637 2011-10-07 Glenn Morris <rgm@gnu.org>
2639 * cus-start.el (debug-on-quit): Fix custom type.
2641 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2643 * subr.el (define-key-after): Clarify that the function is not
2644 useful for non-menu keymaps.
2646 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
2648 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2650 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
2651 in current minibuffer (Fix bug with recursive minibuffers).
2653 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
2655 * progmodes/gdb-mi.el (gdb): Doc fix.
2657 2011-10-05 Martin Rudalics <rudalics@gmx.at>
2659 * window.el (frame-auto-hide-function): New option replacing
2660 frame-auto-delete. Suggested by Stefan Monnier.
2661 (window--delete): Call frame-auto-hide-function instead of
2662 investigating frame-auto-delete.
2663 (window-point-1, set-window-point-1): New functions.
2664 (window-in-direction, record-window-buffer, window-state-get-1)
2665 (display-buffer-record-window): Use window-point-1 instead of
2667 (set-window-buffer-start-and-point): Use set-window-point-1.
2669 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2671 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
2673 2011-10-05 Glenn Morris <rgm@gnu.org>
2675 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
2676 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
2678 2011-10-05 Leo Liu <sdl.web@gmail.com>
2680 * subr.el (read-char-choice): Fix argument to buffer-live-p which
2681 works with buffer object.
2683 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2685 * mpc.el (mpc-tool-bar-map): Add labels.
2687 2011-10-04 Glenn Morris <rgm@gnu.org>
2689 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2691 2011-10-04 Martin Rudalics <rudalics@gmx.at>
2693 * window.el (window--delete): New function.
2694 (frame-auto-delete): Resuscitate option.
2695 (bury-buffer, replace-buffer-in-windows)
2696 (quit-window): Rewrite using window--delete.
2697 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2698 Pass display-buffer-mark-dedicated to window--display-buffer-2
2701 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2703 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
2704 returns a list (bug#9554). Add remote file name completion.
2705 * comint.el (comint--table-subvert): Curry and get quote&unquote
2706 functions as arguments.
2707 (comint--complete-file-name-data): Adjust call accordingly.
2708 * pcomplete.el (pcomplete--table-subvert): Remove.
2709 (pcomplete-completions-at-point): Use comint--table-subvert instead.
2711 * minibuffer.el (completion-table-case-fold): Use currying.
2712 (completion--styles-type, completion--cycling-threshold-type):
2714 (completion-styles, completion-category-overrides)
2715 (completion-cycle-threshold): Use them.
2716 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
2717 completion-table-case-fold.
2719 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
2721 * minibuffer.el (completion-category-overrides): Fix type of styles
2722 and add more user friendly tags (bug#9660).
2724 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2726 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
2727 (mule-input-method-string): New widget.
2728 (default-input-method, language-info-custom-alist): Use it.
2730 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2732 * pcomplete.el: Require comint.
2733 (pcomplete--common-suffix): Remove.
2734 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
2735 (pcomplete--table-subvert): Sync with comint--table-subvert.
2736 (pcomplete--entries): Use comint-completion-file-name-table.
2737 * comint.el (comint-unquote-filename): Simplify.
2738 (comint-completion-file-name-table): New function (bug#9616).
2739 (comint--complete-file-name-data): Use it.
2741 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
2742 (pcmpl-gnu-tar-buffer): Remove.
2743 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
2744 around. Make sure pcomplete-suffix-list is only changed temporarily.
2745 Don't look inside the tar's file if it's too large.
2747 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
2749 * cus-edit.el (custom-mode-map):
2750 * epa.el (epa-key-list-mode-map):
2751 * man.el (Man-mode-map):
2752 * startup.el (splash-screen-keymap):
2753 * simple.el (special-mode-map): Use scroll-up-command and
2754 scroll-down-command.
2756 * progmodes/idlw-help.el (idlwave-help-mode-map):
2757 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
2758 * net/newst-plainview.el (newsticker-mode-map):
2759 * emulation/ws-mode.el (wordstar-mode-map):
2760 * emulation/vi.el (vi-com-map):
2761 * calc/calc-graph.el (calc-graph-show-dumb):
2762 * term/sun.el (terminal-init-sun):
2763 * term/ns-win.el (global-map):
2764 * progmodes/grep.el (grep-mode-map):
2765 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
2766 * mail/rmail.el (rmail-mode-map):
2767 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
2769 * custom.el (custom-safe-themes, load-theme): Treat value of t for
2770 custom-safe-themes as special.
2772 2011-10-01 Julien Danjou <julien@danjou.info>
2774 * notifications.el (notifications-notify): Fix docstring.
2776 2011-10-01 Per Starbäck <per@starback.se>
2778 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
2780 2011-09-30 Martin Rudalics <rudalics@gmx.at>
2782 * startup.el (command-line-1): Fix last fix by inserting
2783 initial-scratch-message into *scratch* before displaying it.
2784 (Bug#9605) and (Bug#9636)
2786 2011-09-29 Eli Zaretskii <eliz@gnu.org>
2788 * simple.el (line-move): If auto-hscroll-mode is disabled and the
2789 window is hscrolled, move by logical lines. (Bug#9607)
2790 (line-move-visual): Update the doc string to the above effect.
2792 2011-09-29 Martin Rudalics <rudalics@gmx.at>
2794 * window.el (display-buffer-record-window): When WINDOW is the
2795 selected window use `point' instead of `window-point'. (Bug#9626)
2797 * startup.el (command-line-1): Use insert-before-markers when
2798 inserting initial-scratch-message. (Bug#9605)
2800 * help.el (help-window): Remove variable.
2802 2011-09-29 Glenn Morris <rgm@gnu.org>
2804 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
2806 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
2808 * descr-text.el (describe-char-categories): Accept category
2809 descriptions more than one line long.
2811 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2813 * simple.el (delete-trailing-whitespace): Fix last change.
2815 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2816 Don't confuse "y => 3" as the beginning of a `y' operation.
2818 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
2819 object has more than 4 slots (bug#9613).
2821 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
2823 * subr.el (with-output-to-temp-buffer):
2824 * net/quickurl.el (quickurl, quickurl-browse-url):
2825 Fix typos in docstrings.
2827 2011-09-27 Eli Zaretskii <eliz@gnu.org>
2829 * minibuffer.el (completion-styles)
2830 (completion-category-overrides): Cross reference each other in doc
2833 2011-09-27 Glenn Morris <rgm@gnu.org>
2835 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
2836 to split-string. (Bug#9606)
2838 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2840 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
2843 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
2845 * emacs-lisp/package.el (list-packages): Fix echo area message.
2847 2011-09-27 Leo Liu <sdl.web@gmail.com>
2849 * ido.el (ido-read-internal): Accept cons cell HIST arg.
2851 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
2853 * net/dbus.el (dbus-unregister-object): Don't release services for
2854 registered signals. (Bug#9581)
2856 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
2858 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
2859 function that picks between cfengine 2 and 3 support
2860 automatically. Update docs accordingly.
2862 2011-09-22 Kenichi Handa <handa@m17n.org>
2864 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
2866 (indian-itrans-v5-table-for-tamil): New variable.
2867 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
2869 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
2871 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
2872 that's true if the current command involved collapsing of text.
2873 It's reset to false at the beginning of the next command.
2874 (allout-post-command-business): Move the cursor to the beginning
2875 of entry if the cursor is hidden and collapsing activity just
2878 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
2880 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
2881 tracking (Bug#9541).
2883 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
2885 * net/newst-reader.el (newsticker-html-renderer)
2886 (newsticker-show-news): Automatically load html rendering package
2887 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
2888 because w3m-fill-column is let-bound" and the error "Symbol's value
2889 as variable is void: w3m-fill-column".
2891 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
2893 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
2894 Release services only if they are defined. (Bug#9581)
2896 2011-09-23 Richard Stallman <rms@gnu.org>
2898 * textmodes/paragraphs.el (forward-sentence): For backwards case,
2899 distinguish start of paragraph from start of its text.
2901 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
2903 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
2904 (rmail-generate-viewer-buffer): Put that hook on view buffer.
2905 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
2907 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
2909 * international/mule-diag.el (mule-diag): Insert a newline after
2910 each fontset description.
2912 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2914 * simple.el (delete-trailing-whitespace):
2915 Document last change; simplify.
2917 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
2919 * simple.el (delete-trailing-whitespace): Also delete
2920 extra newlines at the end of the buffer.
2922 * textmodes/picture.el: Make motion commands obey shift-select-mode.
2923 (picture-newline): Use forward-line so as to ignore fields.
2925 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2927 * subr.el (with-wrapper-hook): Fix edebug spec.
2929 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2931 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
2934 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
2936 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2937 Fix nasty bug using wrong cached values.
2939 2011-09-23 Alan Mackenzie <acm@muc.de>
2941 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
2943 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
2945 * window.el (pop-to-buffer): Ensure right window is selected if we
2946 chose another frame.
2948 2011-09-22 Eli Zaretskii <eliz@gnu.org>
2950 * simple.el (what-cursor-position): Use get-char-property-change
2951 and next-single-char-property-change, to be able to show display
2952 properties that come from overlays as well as text properties.
2954 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
2956 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
2958 * cmuscheme.el (run-scheme, switch-to-scheme):
2959 * cus-edit.el (customize-group, custom-buffer-create)
2963 * mail/sendmail.el (mail):
2964 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
2966 2011-09-22 Richard Stallman <rms@gnu.org>
2968 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
2969 move back only to line beg, don't move back over blank lines.
2971 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
2973 * files.el (copy-directory): Set directory attributes only in case
2974 they could be retrieved from the source directory. (Bug#9565)
2976 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
2978 * progmodes/hideshow.el (hs-looking-at-block-start-p)
2979 (hs-find-block-beginning, hs-hide-level-recursive):
2980 Ignore strings as well as comments. (Bug#9502)
2982 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
2984 * progmodes/sql.el (sql-comint-postgres):
2985 Convert port number to a string. (Bug#9566)
2987 2011-09-22 Martin Rudalics <rudalics@gmx.at>
2989 * window.el (quit-window): Undedicate window when switching to
2990 previous buffer. Reported by Thierry Volpiatto
2991 <thierry.volpiatto@gmail.com>.
2992 (special-display-popup-frame): When popping up a new frame reset
2993 its previous buffers to nil. Simplify code.
2995 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
2997 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
2998 and process filter, as done also in `shell-command'.
3000 2011-09-21 Martin Rudalics <rudalics@gmx.at>
3002 * window.el (set-window-buffer-start-and-point):
3003 Call set-window-start with NOFORCE argument t.
3004 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3005 (quit-window): Reword doc-string. Handle new format of
3006 quit-restore parameter. Don't delete window if it has a
3007 previous buffer we can show instead of the present one.
3008 (display-buffer-record-window): Rewrite using a new format for
3009 the quit-restore window parameter
3010 (special-display-popup-frame, display-buffer-same-window)
3011 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3012 (display-buffer-pop-up-window, display-buffer-use-some-window):
3013 Adapt symbol passed to display-buffer-record-window.
3014 * help.el (help-window-setup): Handle new format of quit-restore
3017 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
3019 * faces.el (face-list): Fix docstring (bug#9564).
3021 * window.el (display-buffer--action-function-custom-type):
3022 Don't include internal functions in the Custom interface.
3024 2011-09-20 Juri Linkov <juri@jurta.org>
3026 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
3027 (Info-forward-node, Info-backward-node, Info-next-preorder)
3028 (Info-last-preorder): Use it. (Bug#9528)
3030 2011-09-20 Juri Linkov <juri@jurta.org>
3032 * info.el (Info-last-preorder): Visit last menu item only when
3033 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
3035 2011-09-20 Julien Danjou <julien@danjou.info>
3037 * password-cache.el (password-cache-remove): Remove entries even if the
3038 value is nil, so that password with a nil value (negative caching) is
3039 possible to invalidate.
3041 2011-09-20 Lawrence Mitchell <wence@gmx.li>
3043 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
3044 all whitespace around breakpoint. (Bug#9553)
3045 (f90-find-breakpoint): Only break at whitespace inside a comment.
3047 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3049 * minibuffer.el (completion-file-name-table): Keep track of errors.
3050 (completion-table-with-predicate): Handle the case where pred1 is nil.
3051 * pcomplete.el (pcomplete-completions-at-point): Simplify.
3053 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3055 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
3056 (debugger-return-value): Signal an error if the debugging context does
3057 not await any return value.
3059 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
3060 * image-mode.el (image-toggle-display-text)
3061 (image-toggle-display-image): Stay away from evil `intangible'.
3063 2011-09-19 Leo Liu <sdl.web@gmail.com>
3065 * replace.el (occur-revert-arguments): Make it permanent-local.
3066 (occur-mode): Don't call font-lock-defontify.
3068 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
3070 * net/ldap.el (ldap-search-internal): Don't push empty search
3073 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3075 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
3077 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
3079 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
3080 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
3082 2011-09-18 Juri Linkov <juri@jurta.org>
3084 * buff-menu.el (Buffer-menu-mode-map):
3085 * dired.el (dired-mode-map):
3086 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
3087 (lisp-interaction-mode-map):
3088 * emacs-lisp/package.el (package-menu-mode-map):
3089 * epa.el (epa-key-list-mode-map):
3090 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
3091 (menu-bar-options-menu):
3092 * outline.el (outline-mode-menu-bar-map):
3093 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
3094 * vc/vc-dir.el (vc-dir-menu-map):
3095 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
3096 Capitalize non-function content words in menu item strings.
3098 * dired.el (dired-mode-map): Add menu item for
3099 `image-dired-dired-toggle-marked-thumbs'.
3101 2011-09-18 Juri Linkov <juri@jurta.org>
3103 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
3104 to `isearch-case-fold-search' and restore its original value
3105 after the `isearch-mode' call.
3107 2011-09-18 Juri Linkov <juri@jurta.org>
3109 * progmodes/grep.el (grep-process-setup): Don't check code for 1
3110 because `zgrep' returns 1 for successful matches (bug#9226).
3112 2011-09-18 Juri Linkov <juri@jurta.org>
3114 * info.el (Info-extract-menu-node-name): Check the second match
3115 for empty string (second test-case of bug#9528).
3116 (Info-last-preorder): Let-bind `Info-history' to nil to not add
3117 intermediate nodes to the history (first test-case of bug#9528).
3119 2011-09-18 Juri Linkov <juri@jurta.org>
3121 * info.el (Info-mode-syntax-table): New variable.
3122 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
3124 2011-09-18 Juri Linkov <juri@jurta.org>
3126 * info.el (Info-file-supports-index-cookies):
3127 Increment line-beginning-position's arg from 3 to 4 because makeinfo
3128 outputs one more line for long file names (bug#4142).
3130 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
3132 * newcomment.el (comment-normalize-vars): If prompting for
3133 comment-start, set comment-start-skip too (Bug#8424).
3135 2011-09-18 Johan Bockgård <bojohan@gnu.org>
3137 * icomplete.el: Fix previous fix of Bug#5849.
3138 (icomplete-mode): Don't set completion-show-inline-help.
3139 (icomplete-minibuffer-setup): Set completion-show-inline-help
3140 locally during icompletion.
3142 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
3144 * woman.el (woman2-process-escapes): Don't delete unrecognized
3147 * files.el (inhibit-first-line-modes-regexps): Add image files.
3148 (hack-local-variables-prop-line): Return nil for malformed
3149 prop-lines (Bug#9044).
3151 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
3153 * net/tramp.el (top): Don't require 'shell.
3154 (tramp-methods): Fix docstring.
3155 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
3156 Return complete remote file name. Handle "smb" case.
3157 Use `tramp-tmpdir', if defined for the respective method.
3158 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
3160 * net/tramp-compat.el (top): Require 'shell.
3162 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3163 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
3164 `tramp-current-host'.
3165 (tramp-get-remote-tmpdir): Remove.
3167 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
3168 `tramp-tmpdir' entries.
3169 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
3170 (tramp-smb-handle-file-attributes): Ignore errors.
3171 (tramp-smb-wait-for-output): Check also for process end.
3173 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
3175 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
3176 when sending QUIT (bug#9312).
3178 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
3180 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
3181 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
3182 occur-mode-display-occurrence.
3183 (occur-edit-mode): Add usage message.
3184 (occur-cease-edit): New command.
3185 (occur-after-change-function): Use text properties to find the
3186 position of the prefix text.
3187 (occur-engine): Set stickiness of prefix text properties.
3189 2011-09-17 Glenn Morris <rgm@gnu.org>
3191 * progmodes/etags.el (complete-tag):
3192 Fix call to completion-in-region. (Bug#9526)
3194 2011-09-17 Juri Linkov <juri@jurta.org>
3196 * textmodes/ispell.el (ispell-word): Add to the error message
3197 the word, ispell program name and current dictionary (bug#9121).
3198 (ispell-tex-arg-end): Capitalize "error" in the error message.
3200 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
3202 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
3205 2011-09-17 Juri Linkov <juri@jurta.org>
3207 * window.el (window-safe-min-height, window-safe-min-width):
3208 Fix typos (followup to bug#9522).
3210 2011-09-17 Sven Joachim <svenjoac@gmx.de>
3212 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
3214 2011-09-16 Eli Zaretskii <eliz@gnu.org>
3216 * simple.el (line-move): If goal-column is set, move by logical
3217 lines, not by display lines. (Bug#971)
3218 (next-line, previous-line, goal-column, line-move-visual): Doc fix
3219 to reflect the above change.
3221 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3223 * image.el (imagemagick-register-types): Use regexp-opt.
3225 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
3227 * window.el (display-buffer-base-action): Rename from
3228 display-buffer-default-action. Make default value empty.
3229 (display-buffer-overriding-action): Convert to defvar.
3230 (display-buffer-fallback-action): New var.
3232 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
3234 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
3236 (package--add-to-archive-contents): If there is a duplicate entry
3237 with an older version, remove it.
3238 (package-menu-mark-delete, package-menu-mark-install)
3239 (package-menu-mark-unmark): Make unused args optional.
3240 (package-menu-mark-obsolete-for-deletion):
3241 Use package-menu-get-status instead of a regexp search.
3242 (package-menu-get-status): Use tabulated-list-entry.
3243 (package-menu-mark-upgrades): New command.
3244 (package-menu-mode-map): Bind it to U. Add it to menu bar.
3245 (package-menu-execute): Do installation before deletion.
3246 (package-menu-refresh, package-menu-execute): Use derived-mode-p
3247 instead of checking major-mode.
3248 (package-menu--find-upgrades): New function.
3250 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3252 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
3253 passwords in the log buffer.
3254 (smtpmail-process-filter): Update the process marker so that the
3255 "broken by peer" status message is inserted in the right place.
3257 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3259 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
3260 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
3261 bibtex-completion-at-point-function.
3262 (bibtex-completion-at-point-function): Use them.
3264 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
3266 * mpc.el (mpc-constraints-tag-lookup): New function.
3267 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
3268 also to browser "album|playlist".
3270 2011-09-14 Juri Linkov <juri@jurta.org>
3272 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
3273 (isearch-edit-string): Use length of `isearch-string' when
3274 `isearch-fail-pos' returns nil.
3275 (isearch-message): Remove duplicate code and call
3276 `isearch-fail-pos' with arg `t'.
3278 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
3280 * replace.el (occur-mode-goto-occurrence): Don't force using other
3283 * dired-aux.el (dired-do-chmod): Don't provide initial input.
3285 2011-09-14 Martin Rudalics <rudalics@gmx.at>
3287 * window.el (display-buffer-window): Remove.
3288 (display-buffer-record-window): Use help-setup window parameter
3289 instead of variable display-buffer-window.
3290 (display-buffer-function, special-display-buffer-names)
3291 (special-display-function): Mention help-setup parameter instead
3292 of display-buffer-window in doc-string.
3293 * help.el (help-window-setup): New argument help-window.
3294 Use help-window-setup parameter instead of display-buffer-window.
3295 Reword some messages.
3296 (with-help-window): Pass window used for displaying the buffer
3297 to help-window-setup. Don't set display-buffer-window.
3299 2011-09-13 Glenn Morris <rgm@gnu.org>
3301 * emacs-lisp/debug.el (debugger-make-xrefs):
3302 Preserve point. (Bug#9462)
3304 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
3306 * window.el (window-deletable-p): Use next-frame.
3308 2011-09-13 Martin Rudalics <rudalics@gmx.at>
3310 * window.el (window-auto-delete): Remove.
3311 (window-deletable-p): Remove argument FORCE. Don't deal with
3312 dedication and previous buffers.
3313 (switch-to-prev-buffer): Don't delete window.
3314 (delete-windows-on): Delete a window's frame if and only if the
3315 window is dedicated.
3316 (replace-buffer-in-windows): Delete buffer's window or frame if
3317 and only if window is dedicated.
3318 (quit-window): Handle quit-restore as before last change.
3319 (bury-buffer): Delete window only if window-deletable-p returns t.
3321 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
3323 * window.el (window-deletable-p): Never delete the last frame on a
3326 2011-09-13 Glenn Morris <rgm@gnu.org>
3328 * help.el (describe-key-briefly): Copy previous standard-output change.
3330 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
3332 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
3334 2011-09-13 Glenn Morris <rgm@gnu.org>
3336 * emacs-lisp/lisp-mode.el (lisp-indent-function):
3337 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
3339 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
3341 * dired-aux.el (dired-mark-read-string): Don't return default
3342 value on empty input (Bug#9361).
3343 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
3344 Omit initial minibuffer contents.
3345 (dired-do-chmod): Signal an error on empty input.
3346 (dired-mark-read-string): Don't return default on empty input.
3348 * files.el (file-modes-symbolic-to-number): Doc fix.
3350 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3352 * international/mule-cmds.el (ucs-completions): Remove.
3353 (read-char-by-name): Use complete-with-action instead; add metadata.
3355 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
3357 * window.el (display-buffer--action-function-custom-type)
3358 (display-buffer--action-custom-type): New vars.
3359 (display-buffer-alist, display-buffer-default-action)
3360 (display-buffer-overriding-action): Add defcustom types.
3362 * frame.el (delete-other-frames): Doc fix (Bug#276).
3364 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3366 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
3368 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
3370 Change modes that used same-window-* vars to use switch-to-buffer.
3372 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
3373 Use switch-to-buffer.
3375 * cus-edit.el (customize-group, custom-buffer-create)
3376 (customize-browse, custom-buffer-create-other-window):
3377 Use switch-to-buffer or switch-to-buffer-other-window.
3379 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
3380 (Info-prev, Info-up, Info-speedbar-goto-node)
3381 (info-display-manual): Use switch-to-buffer.
3382 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
3384 * mail/sendmail.el (mail): Use switch-to-buffer.
3385 (mail-recover): Use switch-to-buffer-other-window.
3387 * cmuscheme.el (run-scheme, switch-to-scheme):
3390 * net/rlogin.el (rlogin):
3391 * net/telnet.el (telnet, rsh):
3392 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
3394 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
3396 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
3398 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3400 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
3401 so don't mention it (bug#9301).
3402 (dired-sort-toggle-or-edit): Clarify string further.
3404 * faces.el (face-spec-set-match-display): Make `(type graphic)'
3405 match `x', `w32' and `ns', like the manual says (bug#9029).
3407 * subr.el (eval-after-load): Doc string clarification (bug#9125).
3408 (process-kill-buffer-query-function): Mention the buffer name in
3411 * image-mode.el (image-next-line): The line parameter is mandatory
3414 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
3415 which can be useful (bug#9301).
3417 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
3419 * subr.el (match-string): Mention that the current buffer should
3420 be the same as the search was done in (bug#9282).
3422 * facemenu.el: Disable the remove-* commands if the mark isn't
3425 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
3427 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
3429 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
3431 * replace.el (occur-mode-goto-occurrence)
3432 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
3435 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
3438 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
3439 special-display and same-window variables.
3440 (mail-other-window): Use switch-to-buffer-other-window.
3441 (mail-other-frame): USe switch-to-buffer-other-frame.
3443 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
3444 Use display-buffer-other-frame.
3445 (gdb-display-gdb-buffer): Use pop-to-buffer.
3447 * progmodes/gud.el (gud-goto-info): Use info-other-window.
3449 * progmodes/python.el: Don't set same-window-buffer-names.
3451 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
3453 * window.el (display-buffer-alist): Add *Python*.
3455 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
3457 * window.el (display-buffer-alist): Add entry for buffers
3458 previously handled same-window-*.
3459 (display-buffer-alist, display-buffer-default-action)
3460 (display-buffer-overriding-action): Mark as risky.
3461 (display-buffer-alist): Document action function changes.
3462 (display-buffer--same-window-action)
3463 (display-buffer--other-frame-action): New variables.
3464 (switch-to-buffer, display-buffer-other-frame): Use them.
3465 (display-buffer): Rename reuse-frame entry to reusable-frames.
3466 (display-buffer-reuse-selected-window): Function deleted.
3467 (display-buffer-reuse-window): Handle reusable-frames alist entry.
3468 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
3469 (display-buffer-special): New function.
3470 (display-buffer--maybe-pop-up-frame-or-window): Rename from
3471 display-buffer-reuse-or-pop-window. Split off special-display
3472 part into display-buffer-special.
3473 (display-buffer-use-some-window): Don't perform any special
3474 pop-up-frames handling.
3475 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
3476 (display-buffer--maybe-same-window): Rename from
3477 display-buffer-maybe-same-window.
3479 * info.el: Don't set same-window-regexps.
3480 (info-setup): New function.
3481 (info-other-window, info): Call it.
3483 * cus-edit.el: Don't set same-window-regexps.
3484 (customize-group): New argument.
3485 (customize-group-other-window): Use it.
3486 (customize-face, customize-face-other-window): Likewise.
3487 (custom-buffer-create-other-window): Use pop-to-buffer directly.
3491 * progmodes/gud.el: Don't set same-window-regexps.
3497 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
3499 2011-09-10 Juri Linkov <juri@jurta.org>
3501 * isearch.el (isearch-edit-string): Remove obsolete mention of
3502 `C-w' (`isearch-yank-word-or-char') from docstring.
3503 (isearch-query-replace): Fix typo in docstring (bug#9466).
3505 2011-09-10 Juri Linkov <juri@jurta.org>
3507 * paren.el (show-paren-function): Don't show escaped parens.
3508 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
3510 2011-09-10 Eli Zaretskii <eliz@gnu.org>
3512 * mail/sendmail.el (mml-to-mime, mml-attach-file)
3513 (mm-default-file-encoding): Remove autoload forms, they are
3514 replaced with autoload cookies in mml.el and mm-encode.el.
3515 (mail-add-attachment): New command.
3516 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
3517 (mail-mode): Mention mail-insert-file and mail-add-attachment in
3519 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
3521 2011-09-10 Reuben Thomas <rrt@sc3d.org>
3523 * simple.el (count-words-region): Use buffer if there's no region
3526 2011-09-09 Juri Linkov <juri@jurta.org>
3528 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
3529 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
3530 (wdired-isearch-filter-read-only): New function. (Bug#6362)
3532 2011-09-09 Alan Mackenzie <acm@muc.de>
3534 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
3535 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
3537 2011-09-09 Eli Zaretskii <eliz@gnu.org>
3539 Fix for Savannah bug#9392.
3540 * simple.el (mail-encode-mml): New defvar.
3542 * mail/rmail.el (mail-encode-mml): Add a defvar.
3543 (rmail-enable-mime-composing): Default to t.
3544 (rmail-forward): Use MIME method of forwarding only if both
3545 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
3546 Set mail-encode-mml non-nil if the MIME method was used.
3548 * mail/sendmail.el (mml-to-mime): Add autoload form.
3549 (mail-encode-mml): Add a defvar.
3550 (mail-mode): Make mail-encode-mml buffer-local and initialize it
3552 (mail-send): If mail-encode-mml is non-nil, run the outgoing
3553 message through mml-to-mime, and reset mail-encode-mml to nil.
3555 2011-09-09 Glenn Morris <rgm@gnu.org>
3557 * woman.el (woman-if-body): When processing an .el block,
3558 do not delete the next .el block as well. (Bug#9447)
3559 (woman-special-characters): Add oq, cq, and hy characters.
3561 2011-09-08 Martin Rudalics <rudalics@gmx.at>
3563 * window.el (window-deletable-p): Make sure window is live before
3564 invoking window-prev-buffers.
3566 2011-09-08 Leo Liu <sdl.web@gmail.com>
3568 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
3570 2011-09-08 Juri Linkov <juri@jurta.org>
3572 * progmodes/compile.el (compilation-environment): Make it
3573 a defcustom (bug#8340).
3575 2011-09-08 Martin Rudalics <rudalics@gmx.at>
3577 * window.el (frame-auto-delete): Rename to window-auto-delete.
3578 Make it control auto-deletion of windows and/or frames.
3579 (window-deletable-p): New argument FORCE. Rewrite conditions
3580 for deleting window/frame. (Bug#9419)
3581 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
3582 Rewrite handling of case when window/frame can be deleted.
3583 (delete-windows-on): Call window-deletable-p with new FORCE
3584 argument t. (Bug#9456)
3586 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
3588 * help-mode.el (help-mode): Restore autoload.
3590 2011-09-07 Juri Linkov <juri@jurta.org>
3592 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
3593 `compilation-environment'. Set buffer-local
3594 `compilation-environment' to `thisenv' later after (funcall mode).
3597 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
3598 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
3599 instead of replacing its value. (Bug#8340)
3601 2011-09-07 Juri Linkov <juri@jurta.org>
3603 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
3604 based on text properties put by `grep-filter' instead of matching
3606 (grep-mode): Set buffer-local `compilation-error-screen-columns'
3607 to the value of `grep-error-screen-columns' (bug#9438).
3609 2011-09-07 Juri Linkov <juri@jurta.org>
3611 * simple.el (next-error-highlight, next-error-highlight-no-select):
3614 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3616 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3617 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
3619 2011-09-07 Leo Liu <sdl.web@gmail.com>
3621 * net/rcirc.el (rcirc-mode): Conditionally initialize
3624 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3626 * emacs-lisp/find-func.el (find-function-C-source): Only set
3627 find-function-C-source-directory after checking that we found a source
3628 file there (bug#9440).
3630 2011-09-06 Alan Mackenzie <acm@muc.de>
3632 * isearch.el (isearch-other-meta-char): Wherever a key list is
3633 unread, "unread" the prefix arg, too. This fixes bug #8901.
3635 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
3637 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
3639 2011-09-05 Juri Linkov <juri@jurta.org>
3641 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
3643 2011-09-05 Juri Linkov <juri@jurta.org>
3645 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
3646 keeping point where processing of grep matches begins, and
3647 continue to delete remaining escape sequences from the same point.
3648 (grep-filter): Make leading zero optional in "0?1;31m" because
3649 git-grep emits "\033[1;31m" escape sequences unlike expected
3650 "\033[01;31m" as GNU Grep does (bug#9408).
3651 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
3653 2011-09-05 Juri Linkov <juri@jurta.org>
3655 * subr.el (y-or-n-p): Capitalize "yes".
3657 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
3659 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
3660 `tramp-cache-unload-hook' where appropriate.
3661 (tramp-methods): Rename `tramp-remote-sh' to
3662 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
3663 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
3665 * net/tramp-sh.el (top): Don't require 'shell.
3666 (tramp-methods): Add `tramp-remote-shell' and
3667 `tramp-remote-shell-args' entries.
3668 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
3669 (tramp-sh-handle-shell-command): Remove.
3670 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3671 Use `tramp-remote-shell'.
3673 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
3675 * mail/sendmail.el (sendmail-query-once-function): Delete.
3676 (sendmail-query-once): Save directly to send-mail-function.
3677 Update message-send-mail-function too.
3679 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
3681 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
3683 * progmodes/python.el (python-mode-map): Use correct function to
3684 start python interpreter from menu-bar (as reported by Geert
3686 (inferior-python-mode-map): Fix typo.
3687 (python-shell-map): Remove.
3689 2011-09-03 Deniz Dogan <deniz@dogan.se>
3691 * net/rcirc.el (rcirc-print): Simplify code for
3692 rcirc-scroll-show-maximum-output. There is no need to walk
3693 through all windows to find the right one.
3695 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
3697 * help.el (help-return-method): Doc fix.
3699 2011-09-03 Martin Rudalics <rudalics@gmx.at>
3701 * window.el (window-deletable-p): Don't return a non-nil value
3702 when there's a buffer that was shown in the window before.
3704 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3705 Set window's previous buffers to nil.
3707 2011-09-03 Eli Zaretskii <eliz@gnu.org>
3709 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
3710 newline before and after the tag line, so it doesn't interfere
3711 with determining the paragraph direction of bidirectional text.
3713 2011-09-03 Leo Liu <sdl.web@gmail.com>
3715 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
3717 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
3719 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
3720 (pop-to-buffer): Change interactive spec. Pass second argument
3721 directly to display-buffer.
3722 (display-buffer): Fix interactive spec. Use functionp to
3723 distinguish between a function and a list of functions.
3725 * abbrev.el (edit-abbrevs):
3726 * arc-mode.el (archive-extract):
3727 * autoinsert.el (auto-insert):
3728 * bookmark.el (bookmark-bmenu-list):
3729 * files.el (find-file):
3730 * view.el (view-buffer):
3731 * progmodes/compile.el (compilation-goto-locus):
3732 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
3734 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
3736 * window.el (display-buffer-alist): Doc fix.
3737 (display-buffer): Add docstring. Don't treat
3738 display-buffer-default specially.
3739 (display-buffer-reuse-selected-window)
3740 (display-buffer-same-window, display-buffer-maybe-same-window)
3741 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3742 (display-buffer-pop-up-window)
3743 (display-buffer-reuse-or-pop-window)
3744 (display-buffer-use-some-window): New functions.
3745 (display-buffer-default-action): Use them.
3746 (display-buffer-default): Delete.
3747 (pop-to-buffer-1): Fix choice of actions.
3749 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
3751 * minibuffer.el (completion--insert-strings): Don't get confused by
3752 completion entries that end with an LF char.
3754 2011-09-01 Eli Zaretskii <eliz@gnu.org>
3756 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
3758 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
3760 * window.el (display-buffer): Restore interactive spec.
3761 (display-buffer-same-window, display-buffer-other-window):
3763 (pop-to-buffer-1): New function. Use the above.
3764 (pop-to-buffer, pop-to-buffer-same-window): Use it.
3765 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
3767 * view.el (view-buffer-other-window, view-buffer-other-frame):
3768 Just use pop-to-buffer.
3770 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3772 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
3774 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
3776 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
3778 2011-08-31 Richard Stallman <rms@gnu.org>
3780 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
3781 of the separation of rmail-view-buffer from rmail-buffer.
3782 If you say no to "replace original", the decrypt is in the
3783 view buffer. If you say yes, the decrypt goes into the
3786 2011-08-31 Martin Rudalics <rudalics@gmx.at>
3788 * window.el (display-buffer-window): Rewrite doc-string.
3789 (display-buffer-record-window): New function.
3790 (display-buffer-macro-specifiers)
3791 (display-buffer-even-window-sizes, display-buffer-set-height)
3792 (display-buffer-set-width, display-buffer-in-window)
3793 (display-buffer-reuse-window, display-buffer-split-specifiers)
3794 (display-buffer-side-specifiers, display-buffer-split-window-1)
3795 (display-buffer-split-window, display-buffer-split-atom-window)
3796 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
3797 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
3798 (display-buffer-other-window-means-other-frame)
3799 (display-buffer-normalize-special)
3800 (display-buffer-normalize-default)
3801 (display-buffer-normalize-argument)
3802 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
3803 (display-buffer-normalize-specifiers, display-buffer-frame)
3804 (display-buffer-same-window, display-buffer-same-frame)
3805 (display-buffer-other-window)
3806 (display-buffer-same-frame-other-window)
3807 (display-buffer-other-frame, pop-to-buffer-same-window)
3808 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
3809 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
3810 (switch-to-buffer-same-frame)
3811 (switch-to-buffer-other-window-same-frame)
3812 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
3813 (display-buffer-alist-set-1, display-buffer-alist-set-2)
3814 (display-buffer-alist-set): Remove.
3815 (display-buffer-function, special-display-buffer-names)
3816 (special-display-regexps, special-display-function):
3817 In doc-string refer to display-buffer-window and quit-restore
3819 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
3820 (special-display-frame-alist, special-display-popup-frame)
3821 (same-window-buffer-names, same-window-regexps, same-window-p)
3822 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3823 (split-window-preferred-function, split-height-threshold)
3824 (split-width-threshold, window-splittable-p)
3825 (split-window-sensibly, window--try-to-split-window)
3826 (window--frame-usable-p, even-window-heights)
3827 (window--even-window-heights, window--display-buffer-1)
3828 (window--display-buffer-2, display-buffer-other-frame):
3829 Restore old Emacs 23 code, order and doc-strings where applicable.
3830 (display-buffer-default, display-buffer-assq-regexp): New functions.
3831 (display-buffer-alist): Rewrite doc-string.
3832 (display-buffer-default-action)
3833 (display-buffer-overriding-action): New variables.
3834 (display-buffer, switch-to-buffer): Rewrite.
3835 (pop-to-buffer): Restore Emacs 23 behavior but use
3836 window-normalize-buffer-to-display.
3837 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
3838 Restore Emacs 23 behavior but use
3839 window-normalize-buffer-to-switch-to.
3840 (pop-to-buffer-same-window): Rewrite.
3841 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
3842 Rewrite using Emacs 23 options.
3844 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
3846 * net/tramp.el (tramp-root-regexp): Remove.
3847 (tramp-completion-file-name-regexp-unified)
3848 (tramp-completion-file-name-regexp-separate)
3849 (tramp-completion-file-name-regexp-url): Don't use leading volume
3850 letter on win32 systems. (Bug#5303, Bug#9311)
3851 (tramp-drop-volume-letter): Simplify definition.
3852 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
3854 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
3856 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
3859 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
3861 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
3863 2011-08-29 Juri Linkov <juri@jurta.org>
3865 * isearch.el (isearch-done): Don't display message "Mark saved"
3866 when arg `edit' is non-nil to prevent its flicker in the echo area.
3868 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
3870 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
3871 obsolete packages for deletion.
3873 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
3875 * help-mode.el (help-mode-map): Add special-mode-map to parent.
3876 (help-mode): Derive help-mode from special-mode. Don't invoke
3877 view-mode from help-mode.
3878 (help-xref-override-view-map): Remove.
3879 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
3880 view-mode is not used anymore.
3882 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
3884 * server.el (server-port): Doc fix.
3886 * cus-theme.el (custom-theme-choose-mode): Inherit from
3887 special-mode (Bug#9124).
3888 (custom-theme-choose-mode-map): Add special-mode to parent.
3890 2011-08-28 Alan Mackenzie <acm@muc.de>
3892 * progmodes/cc-fonts.el
3893 (c-make-font-lock-BO-decl-search-function): New function.
3894 (c-basic-matchers-after - "Fontify the clauses after various
3895 keywords"): Extract the three keyword lists for the 3 erroneous
3896 constructs from the list of four, and use the new function above
3897 in place of an old one.
3899 2011-08-28 Deniz Dogan <deniz@dogan.se>
3901 * net/rcirc.el (rcirc-insert-prev-input)
3902 (rcirc-insert-next-input): Remove unused argument.
3904 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3906 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
3908 2011-08-27 Alan Mackenzie <acm@muc.de>
3910 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
3911 handle function pointer parameters properly.
3913 2011-08-27 Martin Rudalics <rudalics@gmx.at>
3915 * window.el (display-buffer-reuse-window): Fix case where
3916 selected window was reused with non-nil OTHER-WINDOW argument.
3919 2011-08-27 Deniz Dogan <deniz@dogan.se>
3921 * net/rcirc.el (rcirc-check-auth-status): Adding support for
3922 oftc's NickServ messages.
3924 2011-08-27 Glenn Morris <rgm@gnu.org>
3926 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
3928 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
3930 * emacs-lisp/package.el (package-install): Call package-initialize
3931 if called interactively.
3933 2011-08-26 Leo Liu <sdl.web@gmail.com>
3935 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
3937 2011-08-25 Juri Linkov <juri@jurta.org>
3939 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3940 `search-whitespace-regexp' (bug#9364).
3942 2011-08-25 Juri Linkov <juri@jurta.org>
3944 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
3945 `regexp-search-ring' to their global values to protect from
3946 updating by `read-from-minibuffer' (bug#9185).
3948 2011-08-25 Juri Linkov <juri@jurta.org>
3950 * textmodes/ispell.el (ispell-command-loop): Add newline
3951 at the end of the "Use option `i'..." line.
3953 2011-08-25 Juri Linkov <juri@jurta.org>
3955 * battery.el (display-battery-mode): If `battery-status-function'
3956 or `battery-mode-line-format' is nil, display the message and set
3957 `display-battery-mode' to nil (bug#9363).
3959 2011-08-25 Eli Zaretskii <eliz@gnu.org>
3961 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
3962 bidi-string-mark-left-to-right; they are unnecessary now.
3964 2011-08-25 Deniz Dogan <deniz@dogan.se>
3966 * net/quickurl.el: Documentation typo fixes.
3968 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
3970 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
3972 2011-08-25 Glenn Morris <rgm@gnu.org>
3974 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
3976 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
3977 (smtpmail-via-smtp): Handle nil response from smtp.
3979 2011-08-24 Juri Linkov <juri@jurta.org>
3981 * proced.el (proced-marked): Inherit from `error' instead of
3982 `font-lock-warning-face'.
3984 * ibuffer.el (ibuffer-marked-face): Change default face from
3985 `font-lock-warning-face' to `warning'.
3986 (ibuffer-deletion-face): Change default face from
3987 `font-lock-type-face' to `error'.
3989 * battery.el (battery-update): Use the face `error' instead of
3990 `font-lock-warning-face' (bug#6117).
3992 2011-08-24 Juri Linkov <juri@jurta.org>
3994 * faces.el (success): Change face color from "Green3" to
3995 "ForestGreen" on light background (bug#9353).
3997 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
3999 * window.el (quit-window): Rename from quit-restore-window.
4000 Use same arglist as old quit-window.
4001 (frame-auto-delete): Doc fix.
4003 * view.el (view-mode-exit): Use quit-window.
4005 2011-08-24 Juri Linkov <juri@jurta.org>
4007 * isearch.el (isearch-ring-adjust1): Start visiting previous
4008 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
4009 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
4010 for empty search string (when the last search string is reused
4011 automatically) to adjust the isearch ring to the last element and
4012 prepare the correct index for further M-p commands (bug#9185).
4014 2011-08-24 Kenichi Handa <handa@m17n.org>
4016 * international/ucs-normalize.el: If decomposition property of
4017 CHAR is the default one (i.e. a list of CHAR itself), treat it as
4019 (nfd, nfkd): Likewise.
4021 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
4023 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
4024 from process filters aren't reliably transmitted to the surrounding
4025 accept-process-output.
4026 (mpc-proc-check): New function.
4027 (mpc-proc-sync): Use it (bug#8293)
4029 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4031 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
4032 Add compatibility functions (bug#9313).
4034 2011-08-23 Eli Zaretskii <eliz@gnu.org>
4036 * cus-start.el (all): Add entry for bidi-paragraph-direction.
4038 * international/uni-bidi.el: Regenerated.
4040 2011-08-23 Kenichi Handa <handa@m17n.org>
4042 * international/charprop.el:
4043 * international/uni-bidi.el:
4044 * international/uni-category.el:
4045 * international/uni-combining.el:
4046 * international/uni-comment.el:
4047 * international/uni-decimal.el:
4048 * international/uni-decomposition.el:
4049 * international/uni-digit.el:
4050 * international/uni-lowercase.el:
4051 * international/uni-mirrored.el:
4052 * international/uni-name.el:
4053 * international/uni-numeric.el:
4054 * international/uni-old-name.el:
4055 * international/uni-titlecase.el:
4056 * international/uni-uppercase.el: Regenerate.
4058 2011-08-23 Martin Rudalics <rudalics@gmx.at>
4060 * help.el (help-window-setup): Fix message displayed when other
4061 window is reused. (Bug#9341)
4063 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4065 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
4066 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
4068 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
4070 * shell.el (shell-parse-pcomplete-arguments): New function.
4071 (shell-completion-vars): Use it instead (bug#9160).
4073 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4075 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
4076 strings and comments (bug#9333).
4078 * emacs-lisp/debug.el (debug-arglist): New function.
4079 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
4080 (debug-on-entry-1): Handle interpreted closures (bug#9120).
4082 2011-08-22 Juri Linkov <juri@jurta.org>
4084 * progmodes/compile.el (compilation-mode-font-lock-keywords):
4085 Revert regexp that highlights output switches to its old
4086 pre-2010-10-28 value and remove one `?' from it (bug#9319).
4088 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
4089 to check for empty output (bug#9226).
4091 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
4093 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
4094 symbol-constituent as the default, as that stops font-lock from
4095 working properly (Bug#8843).
4097 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4099 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
4100 `coding-system-for-*' around the process open call to avoid
4101 auth-source side effects.
4102 (smtpmail-try-auth-methods): Expand the secret password.
4103 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
4106 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
4108 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
4110 * emacs-lisp/find-func.el (find-function-noselect): New arg
4113 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
4114 signal an error for built-in functions (Bug#6664).
4116 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4118 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
4119 (smtpmail-try-auth-methods): Use it.
4121 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
4123 * font-lock.el (font-lock-fontify-region)
4124 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
4125 (font-lock-default-unfontify-buffer)
4126 (font-lock-default-fontify-region)
4127 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
4129 * progmodes/compile.el (compilation-error-properties):
4130 Fix confusion between file struct and message struct (Bug#9319).
4131 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
4134 * net/browse-url.el (browse-url-firefox): Don't call
4135 browse-url-firefox-sentinel unless using -remote (Bug#9328).
4137 2011-08-20 Glenn Morris <rgm@gnu.org>
4139 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
4141 * tutorial.el (tutorial--default-keys): Update some default bindings.
4143 * files.el (hack-local-variables): Fully ignore case for "mode:".
4145 2011-08-20 Alan Mackenzie <acm@muc.de>
4147 Resolve invalid use of a regexp in regexp-opt.
4149 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
4150 detection for a java annotation.
4152 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
4153 detection for a java annotation.
4155 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
4157 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
4159 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
4161 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
4164 2011-08-20 Alan Mackenzie <acm@muc.de>
4166 Fontify CPP expressions correctly when starting in the middle of
4167 such a construct. Mainly for when jit-lock etc. starts a chunk
4170 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
4172 (c-make-font-lock-search-form): New function, extracted from
4173 c-make-font-lock-search-function.
4174 (c-make-font-lock-search-function): Use the above function.
4175 (c-make-font-lock-context-search-function): New function.
4176 (c-cpp-matchers): Enhance the preprocessor expression case with
4178 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
4179 which takes an expression.
4181 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
4183 2011-08-20 Martin Rudalics <rudalics@gmx.at>
4185 * window.el (display-buffer-reuse-window)
4186 (display-buffer-pop-up-window): Don't reuse or split a side
4189 2011-08-19 Glenn Morris <rgm@gnu.org>
4191 * files.el (hack-local-variables-prop-line, hack-local-variables):
4192 Downcase "Mode:". (Bug#9331)
4194 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
4196 * international/characters.el: Add L and R categories.
4198 * subr.el (bidi-string-mark-left-to-right): Rename from
4199 string-mark-left-to-right. Use category search.
4201 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
4203 2011-08-18 Juri Linkov <juri@jurta.org>
4205 * faces.el (error, warning, success): New faces with definitions
4206 copied from old default values of `font-lock-warning-face',
4207 `compilation-warning', `compilation-info' (bug#6117).
4209 * font-lock.el (font-lock-warning-face): Inherit from `error'.
4211 * progmodes/compile.el (compilation-error): Inherit from `error'.
4212 (compilation-warning): Inherit from `warning'.
4213 (compilation-info): Inherit from `success'.
4215 * dired.el (dired-marked): Inherit from `warning'.
4216 (dired-flagged): Inherit from `error'.
4218 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4220 * mail/smtpmail.el (auth-source): Require to avoid problems with
4221 binding variables (bug#9298). Also clean up some unused
4224 * net/network-stream.el (network-stream-open-starttls):
4225 Support using starttls.el without using gnutls-cli.
4227 2011-08-17 Juri Linkov <juri@jurta.org>
4229 * progmodes/grep.el (rgrep): Handle the case when
4230 `grep-find-command' is a cons cell (bug#9278).
4232 2011-08-17 Martin Rudalics <rudalics@gmx.at>
4234 * window.el (display-buffer-pop-up-frame): Run frame creation
4235 function with BUFFER current (as special-display-popup-frame
4236 does). Reported by Drew Adams.
4238 2011-08-17 Daiki Ueno <ueno@unixuser.org>
4240 * epa-mail.el: Simplify GnuPG group expansion using
4242 (epa-mail-group-alist, epa-mail-group-modtime)
4243 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
4244 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
4245 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
4248 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
4250 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
4252 2011-08-16 Alan Mackenzie <acm@muc.de>
4254 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
4255 Correct, to avoid the inside of macros.
4257 2011-08-16 Richard Stallman <rms@gnu.org>
4259 * epa-mail.el: Handle GnuPG group definitions.
4260 (epa-mail-group-alist, epa-mail-group-modtime)
4261 (epa-mail-gnupg-conf-file): New variables.
4262 (epa-mail-parse-groups, epa-mail-sync-groups)
4263 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
4264 (epa-mail-expand-recipients): New functions.
4265 (epa-mail-encrypt): Call epa-mail-expand-recipients.
4267 * mail/rmail.el (rmail-epa-decrypt): New command.
4269 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
4270 Don't bind buffer-read-only, just inhibit-read-only.
4271 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
4272 (epa-decrypt-armor-in-region): Make error message clearer.
4274 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4276 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
4277 and "a2b" to "ab" for `prefix'.
4279 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
4281 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
4283 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
4284 Fourquet (Bug#8804).
4286 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
4288 * startup.el (argi): Declare as global variable (bug#9275).
4290 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
4292 * subr.el (string-mark-left-to-right): Search the entire string
4293 for RTL script, not just the terminating character. Doc fix.
4295 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4297 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
4299 (js--regexp-literal, js-syntax-propertize-function): Remove.
4300 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
4301 (js-mode-map): Don't rebind electric keys.
4302 (js-insert-and-indent): Remove.
4303 (js-mode): Setup electric-layout and electric-indent instead.
4305 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
4307 2011-08-12 Daiki Ueno <ueno@unixuser.org>
4309 * epa.el (epa-progress-callback-function): Fix the logic of
4310 displaying progress.
4311 * epa-file.el (epa-file-insert-file-contents): Make progress
4312 display more user-friendly.
4313 (epa-file-write-region): Ditto.
4315 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
4317 * subr.el (string-mark-left-to-right): New function.
4319 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
4320 Use string-mark-left-to-right.
4321 (list-buffers-noselect): Caller changed.
4323 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4324 Use string-mark-left-to-right.
4325 (tabulated-list-print): Recenter after moving point.
4327 2011-08-10 Juri Linkov <juri@jurta.org>
4329 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
4330 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
4331 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
4333 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
4335 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
4338 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
4340 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
4341 character. (Bug#6594)
4343 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
4345 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
4346 (image-dired--with-db-file): New macro.
4347 (image-dired-write-tags, image-dired-remove-tag)
4348 (image-dired-create-gallery-lists, image-dired-write-comments)
4349 (image-dired-get-comment, image-dired-mark-tagged-files)
4350 (image-dired-list-tags, image-dired-gallery-generate): Use it.
4351 (image-dired-gallery-generate): Use insert-file-contents.
4353 * time.el (display-time-world-list, display-time-world-display):
4354 * time-stamp.el (time-stamp-string):
4355 * vc/add-log.el (add-change-log-entry): Use setenv instead of
4356 set-time-zone-rule (Bug#7337).
4358 2011-08-08 Daiki Ueno <ueno@unixuser.org>
4360 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
4361 (epg-error-to-string, epg-errors-to-string): New function.
4362 (epg-wait-for-completion): Reverse errors list.
4363 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
4364 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
4365 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
4366 (epg-sign-keys, epg-generate-key-from-file)
4367 (epg-generate-key-from-string): Format errors by using
4368 epg-errors-to-string (bug#9255).
4369 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
4371 2011-08-07 Juri Linkov <juri@jurta.org>
4373 * faces.el (list-faces-display): Remove extra angle bracket
4374 from `help-mode-map'.
4376 * info.el (Info-history-toc-nodes): Doc fix.
4378 * longlines.el (longlines-mode): Doc fix.
4380 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4382 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
4383 of statements and in a few more cases (bug#9183).
4385 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
4387 (cl-transform-lambda): Use them (bug#9239).
4389 2011-08-05 Martin Rudalics <rudalics@gmx.at>
4391 * window.el (display-buffer-same-window)
4392 (display-buffer-same-frame, display-buffer-other-window)
4393 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
4394 (pop-to-buffer-other-window)
4395 (pop-to-buffer-same-frame-other-window)
4396 (pop-to-buffer-other-frame): Make them defuns.
4397 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
4399 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4401 * subr.el (make-composed-keymap): Move from C. Change calling
4402 convention, and improve docstring to bring attention to a subtle point.
4403 * minibuffer.el (completing-read-default): Adjust accordingly.
4405 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
4407 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4408 (tramp-open-shell): Use `tramp-shell-quote-argument'.
4410 * net/trampver.el: Update release number.
4412 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4414 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
4417 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4419 * mail/sendmail.el (sendmail-query-once): Restore the current
4420 buffer after querying (bug#9074).
4422 * dired.el (dired-flagged): Use different faces for marked and
4423 flagged files (bug#6117).
4425 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
4428 * ido.el (ido-mode): Switch off the message if called
4431 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
4432 before 587, since it appears that that's more likely to work for
4435 * cus-edit.el (custom-file): When running under emacs -q, always
4436 refuse to save the customizations, even if the .emacs file doesn't
4439 * info.el: Remove the `Info-beginning-of-buffer' function
4442 * net/network-stream.el (network-stream-open-starttls):
4443 Use `starttls-available-p' to see whether starttls.el can be used.
4445 2011-08-01 Martin Rudalics <rudalics@gmx.at>
4447 * window.el (display-buffer-in-window): Don't set dedicated status
4448 of window here (Bug#9215).
4449 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
4450 (display-buffer-pop-up-side-window)
4451 (display-buffer-in-side-window): Set dedicated status of window here.
4453 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4455 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
4456 before binding generated-autoload-file.
4458 2011-08-01 Deniz Dogan <deniz@dogan.se>
4460 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
4462 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
4464 Sync with Tramp 2.2.2.
4466 * net/trampver.el: Update release number.
4468 2011-07-30 Juri Linkov <juri@jurta.org>
4470 * dired-aux.el (dired-touch-initial): Remove function.
4471 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
4472 current time, and `default' to the last modification time of the
4473 current marked file (bug#6887).
4475 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
4477 * simple.el (goto-line): Use string-to-number to provide a
4478 numeric argument to read-number (bug#9163).
4480 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
4482 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
4483 connection process, it could be nil.
4485 2011-07-27 Leo Liu <sdl.web@gmail.com>
4487 Simplify url handling in rcirc-mode.
4489 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
4490 (rcirc-browse-url-at-mouse): Remove.
4491 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
4493 2011-07-26 Alan Mackenzie <acm@muc.de>
4495 Fontify bitfield declarations properly.
4497 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
4498 (c-symbol-chars): Now exported as a lang variable.
4499 (c-not-primitive-type-keywords): New lang variable.
4501 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
4502 QT keyword "more" to prevent "more slots: ...." being spuriously
4503 parsed as a bitfield declaration.
4505 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4506 Refactor and enhance to handle bitfield declarations.
4507 (c-punctuation-in): New function.
4508 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
4509 declarations properly.
4511 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
4513 * calendar/icalendar.el (icalendar--all-events): Take care of
4514 multiple vcalendars in a single file.
4515 (icalendar--convert-float-to-ical): Checkdoc fixes.
4517 2011-07-25 Deniz Dogan <deniz@dogan.se>
4519 * image.el (insert-image): Clarifying docstring.
4521 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
4523 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
4524 `tramp-send-command-and-check' if there is no error.
4525 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
4527 2011-07-22 Alan Mackenzie <acm@muc.de>
4529 Prevent cc-langs.elc being loaded at run time.
4531 * progmodes/cc-mode.el: Remove two autoload forms which loaded
4534 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
4535 "(require 'cc-langs)". Quote a form so it will evaluate at
4536 (cc-mode's) compilation time.
4538 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
4540 * net/tramp.el (tramp-file-name-handler): Avoid recursive
4543 2011-07-21 Martin Rudalics <rudalics@gmx.at>
4545 * window.el (display-buffer-pop-up-window)
4546 (display-buffer-pop-up-side-window)
4547 (display-buffer-in-side-window): Call display-buffer-set-height
4548 and display-buffer-set-width after setting the new window's
4549 buffer so `fit-window-to-buffer' and friends work on the right buffer.
4551 2011-07-20 Sam Steingold <sds@gnu.org>
4553 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
4554 (etags-tags-included-tables): Call `convert-standard-filename' on
4555 the file names contained in TAGS so that windows Emacs can handle
4556 TAGS files created by cygwin ctags.
4558 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4560 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
4561 which apparently didn't work.
4563 2011-07-19 Roland Winkler <winkler@gnu.org>
4565 * proced.el (proced-send-signal): For *Marked Processes* buffer
4566 put point at beginning of buffer.
4568 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
4570 * proced.el (proced-format): Make header lines align with the text
4573 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4575 * view.el (view-buffer): Allow running in `special' modes if we're
4576 visiting a file (bug#8615).
4578 2011-07-19 Martin Rudalics <rudalics@gmx.at>
4580 * window.el (display-buffer-alist-of-strings-p)
4581 (display-buffer-alist-set-1, display-buffer-alist-set-2):
4583 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
4586 2011-07-18 Alan Mackenzie <acm@muc.de>
4588 Fontify declarators properly when, e.g., a jit-lock chunk begins
4589 inside a declaration.
4591 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
4593 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4595 (c-complex-decl-matchers): Insert reference to
4596 c-font-lock-enclosing-decls.
4598 * progmodes/cc-engine.el (c-backward-single-comment):
4599 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
4600 to nil around calls to (forward-comment -1).
4602 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4604 * image.el (put-image): Doc typo fix.
4606 * progmodes/etags.el (tags-search): Doc typo fix.
4608 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
4609 password if we get errors 550 to 554.
4611 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4613 * net/gnutls.el (gnutls-log-level): Remove.
4615 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
4616 indentation character (bug#6380).
4618 * files.el (buffer-offer-save): Made permanently local (bug#6241).
4620 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
4621 to clarify what the problem is (bug#4291).
4623 * simple.el (current-kill): Clarify what
4624 `interprogram-paste-function' does (bug#7500).
4625 (auto-fill-mode): Document `auto-fill-function' in relation to
4626 `auto-fill-mode' (bug#2470).
4628 2011-07-16 Lawrence Mitchell <wence@gmx.li>
4630 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
4631 method if slot is read-only (bug#9035).
4633 2011-07-16 Martin Rudalics <rudalics@gmx.at>
4635 * frame.el (select-frame-set-input-focus): New argument NORECORD.
4636 * window.el (pop-to-buffer): Select window used even if it was
4637 selected before, see discussion of (Bug#8615), (Bug#6954).
4638 Pass argument NORECORD on to select-frame-set-input-focus.
4640 2011-07-15 Glenn Morris <rgm@gnu.org>
4642 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
4645 2011-07-09 Lawrence Mitchell <wence@gmx.li>
4647 * net/gnutls.el (gnutls-min-prime-bits): New variable.
4648 (gnutls-negotiate): Use it.
4650 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4652 * net/gnutls.el (gnutls-negotiate):
4653 Upcase `gnutls-algorithm-priority'.
4655 2011-07-15 Glenn Morris <rgm@gnu.org>
4657 * jka-compr.el (jka-compr-verbose): Move from here...
4658 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
4659 Add missing :version tag.
4660 * info.el: No need to require jka-compr when compiling.
4662 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4664 * net/gnutls.el (gnutls-algorithm-priority): New variable.
4665 (gnutls-negotiate): Use it.
4667 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
4669 * info.el (Info-beginning-of-buffer): New command.
4670 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
4671 announcing `b' as the key (bug#8325).
4672 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
4674 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
4676 * international/mule-cmds.el
4677 (describe-specified-language-support): Make the error message
4680 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
4682 * isearch.el (isearch-barrier): Add a doc string, since it's
4683 mentioned in a function doc string (bug#8678).
4685 2011-07-15 Martin Rudalics <rudalics@gmx.at>
4687 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
4688 buffer argument (Bug#9083) and self-identifying label argument.
4690 2011-07-15 Glenn Morris <rgm@gnu.org>
4692 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
4694 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4696 * man.el (Man-fontify-manpage): Fix message when formatting the
4697 man page (bug#7929).
4699 2011-07-14 Eli Zaretskii <eliz@gnu.org>
4701 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
4702 argument LRM; if non-nil, append an invisible LRM character to the
4704 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
4705 last argument non-nil, when formatting buffer names.
4706 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
4707 paragraph direction.
4709 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4711 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
4712 the man page name (bug#7929).
4714 * image.el (put-image): Mention the `put-image' overlay property
4717 * scroll-bar.el (set-scroll-bar-mode): Mention that
4718 `scroll-bar-mode' lists the values (bug#7772).
4720 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
4723 * rect.el (apply-on-rectangle): Return the point after the last
4725 (string-rectangle): Go to the point after the last operation
4728 * printing.el (pr-toggle-region): Clarify the documentation
4729 slightly (bug#7493).
4731 * time.el (display-time-update):
4732 Allow `display-time-mail-function' to return nil (bug#7158).
4733 Fix suggested by Detlev Zundel.
4735 * vc/diff.el (diff): Clarify the order the file names are read
4738 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
4739 the doc string (bug#7015).
4741 * font-lock.el (font-lock-maximum-decoration): Mention what
4742 numeric levels mean (bug#6935).
4744 * startup.el (initial-buffer-choice): Don't mention the `none'
4745 selection, which is against policy.
4747 2011-07-14 Martin Rudalics <rudalics@gmx.at>
4749 * window.el (display-buffer-normalize-special):
4750 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
4752 2011-07-14 Eli Zaretskii <eliz@gnu.org>
4754 * subr.el (version<, version<=, version=): Mention "-CVS" and
4755 "-12345" alpha version numbers.
4757 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
4759 * bindings.el: Add advertised binding for set-mark-command
4762 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
4764 * bindings.el (mode-line-other-buffer):
4765 * bookmark.el (bookmark-bmenu-2-window):
4766 * bs.el (bs-cycle-next, bs-cycle-previous):
4767 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
4770 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
4773 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
4775 * follow.el (follow-debug-message, follow-redisplay):
4776 * jka-cmpr-hook.el (with-auto-compression-mode):
4777 Fix typos in docstrings.
4779 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4781 * subr.el (with-silent-modifications): Clarify somewhat what the
4782 macro inhibits (bug#6525).
4784 * simple.el (eval-expression): Note what it does if called
4785 interactively (bug#6495).
4787 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
4789 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
4790 Use pop-to-buffer buffer-or-name if it is nil.
4792 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4793 Remove switch-to-buffer.
4795 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4797 * files.el (make-directory): Clarify that an error will be raised
4798 if there's an error (bug#6397).
4800 * startup.el (initial-buffer-choice): Add `none' as a choice
4803 * subr.el (add-hook): Clarify section about buffer-local hooks
4806 * dired.el (dired-flagged): Clarify doc string (bug#6117).
4808 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
4810 * tabify.el (untabify): Preserve the current column so that point
4811 doesn't move (bug#6032).
4813 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4815 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
4816 Rewrite to avoid awkward possessive "s" (bug#5986).
4818 2011-07-13 Glenn Morris <rgm@gnu.org>
4820 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
4821 (dired-insert-directory): Give a message the first time
4822 if ls is found not to support --dired.
4824 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4826 * simple.el (toggle-truncate-lines): Clarify what is toggled
4827 (bug#5580). Text by Drew Adams.
4829 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
4831 * simple.el (blink-matching-open): Make the error message from the
4832 last change less verbose.
4834 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
4836 * font-lock.el (font-lock-comment-face): Use the high contrast
4837 "yellow" color for font-lock-comment-face on low color terminals
4838 using a dark background color (bug#4221).
4840 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4842 * dired.el (dired-insert-set-properties): Make the doc string
4843 reflect what it does now (bug#5325).
4845 * simple.el (blink-matching-open): Say that we were unable to find
4846 the match within the limit, if we're limited (bug#5122).
4848 * international/mule-cmds.el (prefer-coding-system): Add an
4851 * progmodes/etags.el (tags-search): Document `file-list-form'
4854 2011-07-13 Lawrence Mitchell <wence@gmx.li>
4856 * net/browse-url.el (browse-url-default-browser)
4857 (browse-url-browser-function): Make the default browser choice a
4858 bit more logical (bug#4300). Also clean up the doc string.
4860 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
4862 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
4863 binary endings (bug#4440).
4865 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4867 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
4868 which can be pretty annoying (bug#8971).
4870 * jka-compr.el (jka-compr-verbose): New variable, and use
4871 throughout (bug#8971).
4873 * info.el (Info-find-file): Fall back on the installation
4874 directory if we can't find the info node anywhere else.
4876 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
4878 * vc/vc.el (vc-revert-file):
4879 Don't set file time-stamp in the past. (Bug#5181)
4881 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4883 * files.el (after-find-file): Give a better error message when
4884 trying to find a symlink that points to a file that doesn't exist
4887 * progmodes/cc-vars.el: Remove (probably) misleading comment
4890 2011-07-12 Johan Bockgård <bojohan@gnu.org>
4892 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
4894 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
4896 * mouse-sel.el: Hack restoring functionality, while keeping
4897 compatibility with 2010-07-03 changes to mouse selection.
4898 (mouse-sel-primary-overlay): New var.
4899 (mouse-sel-selection-alist): Use it.
4900 (mouse-sel-mode): Doc fix; remove points that are default features
4903 2011-07-12 Johan Bockgård <bojohan@gnu.org>
4905 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4906 Fix previous fix (bug#2490).
4908 2011-07-12 Roland Winkler <winkler@gnu.org>
4910 * textmodes/bibtex.el (bibtex-initialize):
4911 Use pop-to-buffer-same-window.
4912 (bibtex-search-entries): Fix interactive call.
4914 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4916 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4917 Fontise bytecomp Error lines more correctly (bug#2490).
4918 Fix suggested by Johan Bockgård.
4920 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
4922 * dired-x.el (dired-guess-default): Use `delete-dups'.
4924 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
4926 * dired.el (dired-mark-prompt):
4927 * dired-aux.el (dired-read-shell-command): Doc fix.
4929 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4931 * mail/sendmail.el (sendmail-query-once):
4932 Use `customize-save-variable' unconditionally, now that it works under
4935 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
4937 * cus-edit.el (custom-file): Take an optional no-error variable.
4938 (customize-save-variable): Set the variable, and give a warning if
4939 running under "emacs -q".
4941 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
4943 * loadhist.el (unload-feature-special-hooks):
4944 Add `auto-coding-functions', `fill-nobreak-predicate' and
4945 `find-directory-functions' (bug#5327).
4947 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4949 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
4951 * cus-edit.el (custom-guess-name-alist): -alist variables should
4952 use the `alist' type (bug#3120). Suggested by Drew Adams.
4954 * printing.el: Add documentation to all the `pr-toggle-' commands.
4956 2011-07-11 Leo Liu <sdl.web@gmail.com>
4958 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
4959 backends where it makes sense (bug#2623).
4961 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4963 * dired-x.el (dired-guess-default): Remove duplicate shell command
4965 (dired-guess-default): Fix grammar in doc string (bug#2028).
4966 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
4968 * subr.el (remove-duplicates): New conveniency function.
4970 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4972 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
4975 2011-07-10 Martin Rudalics <rudalics@gmx.at>
4977 * window.el (display-buffer-normalize-default): Don't invert
4978 meaning of even-window-heights. Reported by Eli Zaretskii
4981 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
4983 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
4985 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
4987 * window.el (display-buffer): Fix arguments to
4988 display-buffer-reuse-window in last change.
4990 * faces.el (link): Use a less saturated blue on light backgrounds.
4992 * startup.el (fancy-startup-text, fancy-about-text)
4993 (fancy-startup-tail): Use font-lock faces, for background safety.
4995 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
4997 * emulation/viper-cmd.el (viper-change-state-to-vi):
4998 Limit triggering of abbrev expansion (Bug#9038).
5000 2011-07-09 Martin Rudalics <rudalics@gmx.at>
5002 * window.el (display-buffer-default-specifiers): Remove.
5003 (display-buffer-macro-specifiers): Remove default specifiers.
5004 (display-buffer-alist): Default to nil.
5005 (display-buffer-reuse-window): New optional argument other-window.
5006 (display-buffer-pop-up-window): Allow splitting internal
5007 windows. Check whether a live window was created.
5008 (display-buffer-other-window-means-other-frame)
5009 (display-buffer-normalize-arguments): Rename to
5010 display-buffer-normalize-argument and rewrite. Set the
5011 other-window specifier.
5012 (display-buffer-normalize-special): New function.
5013 (display-buffer-normalize-options): Rename to
5014 display-buffer-normalize-default and rewrite.
5015 (display-buffer-normalize-options-inhibit): Remove.
5016 (display-buffer-normalize-specifiers): Rewrite.
5017 (display-buffer): Process other-window specifier and call
5018 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
5020 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
5021 (display-buffer-alist-set): Don't handle 'unset default values.
5022 (display-buffer-in-window, display-buffer-alist-set):
5023 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
5024 <tassilo@member.fsf.org>.
5026 2011-07-09 Leo Liu <sdl.web@gmail.com>
5028 * register.el (insert-register): Restore accidental change on
5029 2011-06-26. (Bug#9028)
5031 2011-07-09 Glenn Morris <rgm@gnu.org>
5033 * subr.el (remq): Handle the empty list. (Bug#9024)
5035 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
5037 * mail/sendmail.el (send-mail-function): No longer delay custom
5039 * custom.el (custom-initialize-delay): Doc fix.
5041 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5043 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
5045 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
5047 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
5048 human-friendly prompt.
5050 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5052 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
5053 provided by a particular plugin.
5055 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5057 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
5058 save customizations (with "emacs -Q"), just set the variable
5059 instead of erroring out.
5061 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
5063 2011-07-08 Juri Linkov <juri@jurta.org>
5065 * arc-mode.el (archive-zip-expunge, archive-zip-update)
5066 (archive-zip-update-case): Use 7z if found by `executable-find'.
5067 The order of searching the available programs is the same as in
5068 `archive-zip-extract' (bug#8968).
5070 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
5072 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
5073 (menu-bar-options-menu): Tweak descriptions.
5075 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5077 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
5078 menu items into verb phrases (bug#1421). Also refill to fit under
5081 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
5083 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
5084 (Info-read-node-name): Doc fix (Bug#1084).
5086 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
5087 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
5088 (end-of-sexp, beginning-of-sexp)
5089 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
5090 (forward-symbol, forward-same-syntax, word-at-point)
5091 (sentence-at-point): Doc fix (Bug#1144).
5093 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5095 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
5096 should cover it (bug#1281).
5098 * cus-edit.el (custom-show): Mark as obsolete.
5100 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
5101 negotiation fails, then possibly try again with a non-encrypted
5102 connection (bug#9017).
5104 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
5107 2011-07-07 Richard Stallman <rms@gnu.org>
5109 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
5110 property, and handle its changed format.
5111 Look for the correct line number.
5112 Use file's line contents (but not past first =) to find
5113 correct line in message.
5115 2011-07-07 Kenichi Handa <handa@m17n.org>
5117 * international/characters.el (build-unicode-category-table):
5119 (unicode-category-table): Set it by unicode-property-table-internal.
5121 * international/mule-cmds.el (char-code-property-alist): Move to
5123 (get-char-code-property): Call unicode-property-table-internal to
5124 load a file. Call get-unicode-property-internal where necessary.
5125 (put-char-code-property): Call unicode-property-table-internal to
5126 load a file. Call put-unicode-property-internal where necessary.
5127 put-unicode-property-internal where necessary.
5128 (char-code-property-description):
5129 Call unicode-property-table-internal to load a file.
5131 * international/charprop.el:
5132 * international/uni-bidi.el:
5133 * international/uni-category.el:
5134 * international/uni-combining.el:
5135 * international/uni-comment.el:
5136 * international/uni-decimal.el:
5137 * international/uni-decomposition.el:
5138 * international/uni-digit.el:
5139 * international/uni-lowercase.el:
5140 * international/uni-mirrored.el:
5141 * international/uni-name.el:
5142 * international/uni-numeric.el:
5143 * international/uni-old-name.el:
5144 * international/uni-titlecase.el:
5145 * international/uni-uppercase.el: Regenerate.
5147 * loadup.el: Load international/charprop.el before
5148 international/characters.
5150 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
5152 * window.el (next-buffer, previous-buffer): Signal an error if
5153 called from a minibuffer window.
5155 * bindings.el: Revert 2011-07-04 change.
5157 2011-07-06 Richard Stallman <rms@gnu.org>
5159 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
5160 (rmail-mime-insert-bulk, rmail-mime-insert-text):
5161 Treat markers like ints.
5162 (rmail-mime-entity): Doc fix.
5164 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5166 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
5167 defcustom again for backwards compatibility.
5169 * simple.el (shell-command-on-region): Fill.
5171 * dired-aux.el (dired-kill-line): Add a doc string.
5173 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
5174 to "\\sw\\|\\s_" (bug#358).
5176 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
5177 (dired-unmark-backward): Ditto.
5178 (dired-flag-backup-files): Ditto.
5180 * dired-x.el (dired-mark-sexp): Ditto.
5182 2011-07-06 Richard Stallman <rms@gnu.org>
5184 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
5185 (rmail-mime-entity): New arg TRUNCATED.
5186 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
5188 (rmail-mime-save): Warn if entity is truncated.
5189 (rmail-mime-toggle-hidden): Likewise, for showing.
5190 (rmail-mime-process-multipart): Record when an entity is truncated.
5192 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
5193 if ENTITY is a string.
5195 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5197 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
5198 of faces when `M-C-x'-ing their definitions (bug#8378).
5199 Also clean up the code slightly.
5201 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
5202 because that makes the colors go away.
5204 * mail/sendmail.el (send-mail-function): Change the default to
5205 `sendmail-query-once'.
5206 (sendmail-query-once): Add an autoload cookie.
5208 * net/network-stream.el (network-stream-open-starttls): Try using
5209 a plain connection even if the server offered STARTTLS, and we
5210 kinda wanted to use it, if Emacs doesn't have any STARTTLS
5211 capability. This should make smtpmail.el work in slightly more
5214 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
5216 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
5218 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
5220 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
5222 * progmodes/sql.el: Version 3.0
5223 (sql-product-alist): Add product :completion-object,
5224 :completion-column, and :statement attributes.
5225 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
5226 (sql-mode-syntax-table): Mark all punctuation.
5227 (sql-font-lock-keywords-builder): Temporarily remove fallback on
5229 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
5230 (sql-mode-oracle-font-lock-keywords): Improve.
5231 (sql-oracle-show-reserved-words): New function for development.
5232 (sql-product-font-lock): Simplify for source code buffers.
5233 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
5235 (sql-highlight-product): Set product specific syntax table.
5236 (sql-mode-map): Add statement movement functions.
5237 (sql-ansi-statement-starters, sql-oracle-statement-starters):
5239 (sql-statement-regexp, sql-beginning-of-statement)
5240 (sql-end-of-statement, sql-signum): New functions.
5241 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
5242 (sql-show-sqli-buffer): Bug fix.
5243 (sql-interactive-mode): Store connection data as buffer local.
5244 (sql-connect): Add NEW-NAME parameter. Redesign interaction
5245 with sql-interactive-mode.
5246 (sql-save-connection): Save buffer local settings.
5247 (sql-connection-menu-filter): Change menu entry name.
5248 (sql-product-interactive): Bug fix.
5249 (sql-preoutput-hold): New variable.
5250 (sql-interactive-remove-continuation-prompt): Bug fixes.
5251 (sql-debug-redirect): New variable.
5252 (sql-str-literal): New function.
5253 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
5255 (sql-oracle-save-settings, sql-oracle-restore-settings)
5256 (sql-oracle-list-all, sql-oracle-list-table): New functions.
5257 (sql-completion-object, sql-completion-column)
5258 (sql-completion-sqlbuf): New variables.
5259 (sql-build-completions-1, sql-build-completions)
5260 (sql-try-completion): New functions.
5261 (sql-read-table-name): Use them.
5262 (sql-contains-names): New buffer local variable.
5263 (sql-list-all, sql-list-table): Use it.
5264 (sql-oracle-completion-types): New variable.
5265 (sql-oracle-completion-object, sql-sqlite-completion-object)
5266 (sql-postgres-completion-object): New functions.
5268 2011-07-06 Glenn Morris <rgm@gnu.org>
5270 * window.el (pop-to-buffer): Doc fix.
5272 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
5274 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
5276 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
5278 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
5280 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
5282 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
5284 * button.el (button): Inherit from link face. Suggested by Dan
5287 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5289 * progmodes/gdb-mi.el: Fit in 80 columns.
5290 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
5293 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
5294 if imenu is simply not configured (bug#8941).
5296 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
5298 * allout.el (allout-post-undo-hook): New allout outline-change
5299 event hook to signal undo activity.
5300 (allout-post-command-business): Run allout-post-undo-hook if an
5302 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
5303 * allout-widgets.el (allout-widgets-after-undo-function):
5304 Ensure the integrity of the current item's decoration after it has been
5305 in the vicinity of an undo.
5306 (allout-widgets-mode): Include allout-widgets-after-undo-function
5307 on the new allout-post-undo-hook.
5309 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5311 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
5312 Let define-derived-mode define it.
5313 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
5314 cycles of abbrev-table inheritance (bug#8998).
5316 2011-07-05 Roland Winkler <winkler@gnu.org>
5318 * textmodes/bibtex.el: Add support for biblatex.
5319 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
5320 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
5321 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
5322 (bibtex-entry-alist, bibtex-field-alist): New variables.
5323 (bibtex-entry-field-alist): Obsolete alias for
5324 bibtex-BibTeX-entry-alist.
5325 (bibtex-entry-alist, bibtex-field-alist): New widgets.
5326 (bibtex-set-dialect): New command.
5327 (bibtex-entry-type, bibtex-entry-head)
5328 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
5329 Bind via bibtex-set-dialect.
5330 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
5331 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
5332 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
5333 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
5334 Define via bibtex-set-dialect.
5335 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
5336 Obey bibtex-no-opt-remove-re.
5337 (bibtex-vec-push, bibtex-vec-incr): New functions.
5338 (bibtex-format-entry, bibtex-field-list)
5339 (bibtex-print-help-message, bibtex-validate)
5340 (bibtex-search-entries): Use new format of bibtex-entry-alist.
5342 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5344 * progmodes/compile.el (compilation-goto-locus):
5345 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5346 * bs.el (bs-cycle-next, bs-cycle-previous):
5347 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
5348 * bindings.el (mode-line-other-buffer):
5349 * autoinsert.el (auto-insert):
5350 * arc-mode.el (archive-extract):
5351 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
5353 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
5355 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
5356 Fix check of `emacs-lock-unlockable-modes'.
5357 Coerce true values of `emacs-lock--try-unlocking' to t.
5359 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
5361 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
5362 * emacs-lock.el: New file.
5364 2011-07-05 Julien Danjou <julien@danjou.info>
5366 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
5367 than `boundp' to check if face is set.
5369 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
5371 * register.el (registerv-make):
5372 * window.el (window-min-height): Fix typos in docstrings.
5374 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
5376 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
5379 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
5381 * server.el (server-execute): Catch quit and call
5382 `server-return-error' to pass the error back to emacsclient and
5383 close the connection (bug#8942).
5385 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
5387 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
5388 insecure exception for current topic. Also note that auto-saves
5389 are handled differently.
5391 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
5392 State variables for tracking auto-save inhibition situation.
5394 (allout-write-contents-hook-handler): Rename from
5395 'allout-write-file-hook-handler', and describe how it depends on
5396 write-contents-functions sensitivity to non-nil value to prevent
5399 (allout-auto-save-hook-handler): Remove. auto-save does not check
5400 this in individual buffers, only in the starting buffer, so this
5401 is not the right way for us to inhibit auto-save in a buffer
5402 according to its condition.
5404 (allout-mode): Use new allout-write-contents-hook-handler, and
5405 only with write-contents-functions. Remove auto-save provisions -
5406 they're implemented elsewhere.
5408 (allout-before-change-handler): If undo is in progress, note that
5409 for attention of allout-post-command-business.
5411 (allout-post-command-business): If the command we're following was
5412 an undo, check for change in the status of encrypted items and
5413 adjust auto-save inhibitions accordingly.
5415 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
5416 according to whether there are or aren't any plain-text topics
5419 (allout-inhibit-auto-save-info-for-decryption):
5420 Adjust buffer-saved-size and some allout state to inhibit auto-saves
5421 if there are plain-text topics pending encryption.
5423 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
5424 buffer-saved-size and some allout state to not inhibit auto-saves
5425 if there are no longer any plain-text topics pending encryption.
5427 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
5428 No longer provide for exemption of the current topic.
5430 2011-07-04 Juri Linkov <juri@jurta.org>
5432 Add 7z operations to delete and save changed members (bug#8968).
5433 * arc-mode.el (archive-7z-expunge, archive-7z-update):
5435 (archive-7z-write-file-member): New function.
5436 (archive-7z-summarize): Fix the number of dashes in the
5439 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5441 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
5444 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
5446 * bindings.el: Ignore next-buffer and previous-buffer in
5447 minibuffer-local-map.
5449 * font-lock.el (font-lock-builtin-face): Change light background
5450 color to dark slate blue (Bug#6693).
5452 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
5454 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
5456 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5458 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
5459 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5460 Add switch-to-buffer.
5462 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5464 * isearch.el (isearch-search-fun-function): Clarify further the
5465 meaning of the function returned.
5467 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
5469 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
5471 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
5472 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
5474 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
5475 `tramp-default-remote-path' does not exist.
5476 (tramp-send-command-and-read): New optional argument NOERROR.
5477 (tramp-open-connection-setup-interactive-shell)
5478 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
5479 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
5480 (tramp-process-sentinel): Flush also process' connection property.
5481 (tramp-sh-handle-start-file-process): Do not set process
5482 sentinel. It is done now ...
5483 (tramp-maybe-open-connection): ... here. (Bug#8929)
5485 2011-07-04 MON KEY <monkey@sandpframing.com>
5487 * play/animate.el (animate-string): Doc fixes and allow changing
5488 the buffer name (bug#5417).
5490 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5492 * play/animate.el (animation-buffer-name): Rename from *animate*.
5494 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
5496 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
5497 This is simpler and helps future-proof the code.
5498 (timer-until): Use time-subtract and float-time.
5499 (timer--time-less-p): Use time-less-p.
5501 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
5503 * type-break.el (timep): Use the value of `float-time' to avoid a
5504 byte-compiler warning.
5506 * server.el (server-eval-and-print): Return any result, even nil.
5508 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
5510 * type-break.el: Accept time formats that the builtins accept.
5511 (timep, type-break-time-difference): Accept any format that
5512 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
5513 This is simpler and helps future-proof the code.
5514 (type-break-time-difference): Round rather than ignoring
5515 subseconds components.
5517 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5519 * info.el (Info-apropos-matches): Make non-interactive, since it
5520 doesn't seem to do anything useful as a command (bug#8829).
5522 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
5524 * frame.el (frame-background-mode, frame-set-background-mode):
5526 (frame-default-terminal-background): New function.
5528 * custom.el (custom-push-theme): Don't record faces in `changed'
5529 theme; this doesn't work correctly for per-frame face settings.
5530 (disable-theme): Use face-set-after-frame-default to reset faces.
5531 (custom--frame-color-default): New function.
5533 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5535 * dired.el (dired-flagging-regexp): Remove unused variable
5538 2011-03-29 Kevin Ryde <user42@zip.com.au>
5540 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5541 `perl-Test2' extend to match possible "fail #N" rep count
5544 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5546 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
5547 `smtpmail-via-smtp' now returns the error instead of nil.
5549 * isearch.el (isearch-search-fun-function): Clarify the doc string
5552 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
5554 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
5555 unnecessary spaces (bug#8987).
5557 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5559 * net/network-stream.el (open-network-stream): Use the
5560 :end-of-capability command thoughout.
5562 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
5564 * net/network-stream.el (open-network-stream): Add the
5565 :end-of-capability command parameter, used by pop3.el.
5567 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5569 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
5571 * fringe.el (fringe-query-style): Remove redundant text " (type ?
5572 for list)" (bug#6475).
5574 * files.el (file-expand-wildcards): Ignore non-readable
5575 sub-directories while trying to find matches instead of signaling
5576 an error (bug#6297).
5578 * man.el (Man-reference-regexp): Allow matching possible
5579 word-wrapped references (bug#6289).
5581 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
5582 for consistency with the other vc buffers (bug#6197).
5583 (vc-checkin): Ditto.
5585 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
5587 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
5589 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5591 * custom.el (defcustom): Clarify that :set is only used in the
5592 Customize user interface (bug#6089).
5594 * progmodes/flymake.el (flymake-mode): If the buffer isn't
5595 associated with a file, refuse to run instead of erroring out
5598 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
5599 the doc string, since it appears that using `fill-column' always
5600 controls the width (bug#7845).
5602 * simple.el (shell-command-on-region): Say where the error output
5603 went if `shell-command-default-error-buffer' is set (bug#6857).
5605 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
5607 * allout.el (allout-yank-processing): Adjust cursor position for
5608 backwards-deleted space.
5610 (allout-rebullet-heading): Register changes with
5611 allout-exposure-changed-hook, so the modified topic is properly
5614 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5616 * minibuffer.el (completion-in-region): Document PREDICATE
5619 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
5620 of keyword/argument pairs (bug#6904).
5622 * replace.el (multi-occur):
5623 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5625 2011-07-02 Drew Adams <drew.adams@oracle.com>
5627 * dired.el (dired-mark-if): Make the message about whether it's
5628 marking or unmarking clearer (bug#8523).
5630 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5632 * disp-table.el (display-table-print-array): New function.
5633 (describe-display-table): Use it to print the vectors more pretty
5636 2011-07-02 Martin Rudalics <rudalics@gmx.at>
5638 * window.el (window-state-get-1): Don't assign clone numbers.
5639 Add clone-of item to list of window parameters.
5640 (window-state-put-2): Don't process clone numbers.
5641 (display-buffer-alist): Fix doc-string.
5643 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5645 * subr.el (remq): Don't allocate if it's not needed.
5646 (keymap--menu-item-binding, keymap--menu-item-with-binding)
5647 (keymap--merge-bindings): New functions.
5648 (keymap-canonicalize): Use them to refine the canonicalization.
5649 * minibuffer.el (minibuffer-local-completion-map)
5650 (minibuffer-local-must-match-map): Move initialization from C.
5651 (minibuffer-local-filename-completion-map): Move initialization from C;
5652 don't inherit from anything here.
5653 (minibuffer-local-filename-must-match-map): Make obsolete.
5654 (completing-read-default): Use make-composed-keymap to combine
5655 minibuffer-local-filename-completion-map with either
5656 minibuffer-local-must-match-map or
5657 minibuffer-local-filename-completion-map.
5659 2011-07-01 Glenn Morris <rgm@gnu.org>
5661 * type-break.el (type-break-time-sum): Use dolist.
5663 * textmodes/flyspell.el (flyspell-word-search-backward):
5664 Replace CL function.
5666 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5668 * mouse.el (mouse--strip-first-event): New function.
5669 (function-key-map): Use it to map fringe clicks to normal clicks
5672 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
5673 (vc-bzr-revision-completion-table): Add support for annotate and date.
5675 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
5676 inherit from parent.
5678 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5680 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
5681 (dired-show-file-type): Doc fixup (bug#8818).
5683 * dired.el (dired-mode): Fix up the doc string as suggested by
5684 Drew Adams (bug#8817).
5686 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
5687 cookie, since the manual says that it should be possible to add
5688 this function to `find-file-hook' (bug#8709).
5690 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
5692 * progmodes/cfengine.el: Moved all cfengine3.el functionality
5693 here. Noted Ted Zlatanov as the maintainer.
5694 (cfengine-common-settings, cfengine-common-syntax): New functions
5695 to set up common things between `cfengine-mode' and
5697 (cfengine3-mode): New mode.
5698 (cfengine3-defuns cfengine3-defuns-regex
5699 (cfengine3-class-selector-regex cfengine3-category-regex)
5700 (cfengine3-vartypes cfengine3-font-lock-keywords)
5701 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
5702 (cfengine3-indent-line): Add from cfengine3.el.
5704 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
5706 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
5708 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
5710 2011-07-01 Martin Rudalics <rudalics@gmx.at>
5712 * window.el (same-window-buffer-names, same-window-regexps)
5713 (same-window-p, special-display-frame-alist)
5714 (special-display-popup-frame, special-display-function)
5715 (special-display-buffer-names, special-display-regexps)
5716 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
5717 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5718 (split-window-preferred-function, split-height-threshold)
5719 (split-width-threshold, even-window-heights)
5720 (display-buffer-mark-dedicated, window-splittable-p)
5721 (split-window-sensibly, window-safely-shrinkable-p):
5723 (display-buffer): Don't spread args with function specifier
5724 because special-display-popup-frame won't like it.
5726 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
5728 Time-stamp simplifications and fixes.
5729 These improve accuracy slightly, and future-proof the code
5730 against some potential changes to current-time format.
5732 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
5733 by using time-since and float-time.
5735 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
5736 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
5737 + NNN microseconds".
5739 * type-break.el (type-break-time-sum): Rewrite using time-add.
5741 * play/hanoi.el (hanoi-current-time-float): Remove.
5742 All uses replaced by float-time.
5744 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
5745 This yields a more-accurate answer.
5746 (rng-time-to-float): Remove; no longer needed.
5748 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
5750 * calendar/timeclock.el (timeclock-seconds-to-time):
5751 Defalias to seconds-to-time, since they're the same thing.
5753 * emacs-lisp/elp.el (elp-elapsed-time):
5754 * emacs-lisp/benchmark.el (benchmark-elapse):
5755 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
5757 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5759 * window.el (bury-buffer): Don't iconify the only frame.
5760 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
5761 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
5763 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
5765 * eshell/em-smart.el (eshell-smart-display-navigate-list):
5766 Add mouse-yank-primary.
5768 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
5770 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
5772 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5774 * emacs-lisp/find-func.el (find-library--load-name): New fun.
5775 (find-library-name): Use it to find relative load names when provided
5776 absolute file name (bug#8803).
5778 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5780 * textmodes/flyspell.el (flyspell-word): Consider words that
5781 differ only in case as potential doublons (bug#5687).
5783 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
5784 Remove two rather uninteresting debugging-like messages to make
5785 debbugs.el more silent.
5787 * comint.el (comint-password-prompt-regexp): Accept "Response" as
5788 a password-like phrase.
5790 2011-06-30 Mastake YAMATO <yamato@redhat.com>
5792 * progmodes/cc-guess.el: New file.
5794 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
5796 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
5797 derived from `c-basic-common-init'.
5799 * progmodes/cc-mode.el (top-level): Require cc-guess.
5800 (c-basic-common-init): Use `cc-choose-style-for-mode'.
5802 2011-06-30 Lawrence Mitchell <wence@gmx.li>
5804 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
5806 2011-06-30 Alan Mackenzie <acm@muc.de>
5808 * progmodes/cc-engine.el (c-guess-continued-construct):
5809 Correct the handling of template-args-cont, particularly for when font
5810 lock is disabled. Name this case as "CASE G".
5812 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
5814 * allout.el (allout-yank-processing): Fix injection of extra space
5815 between bullet and non-whitespace character in first topic when
5816 pasting, ensuring that the actual spacing in the pasted topic
5817 following the bullet char is preserved. This extra space was
5818 causing pasted encrypted topics to get a decrypted status even
5819 when the content was actually still encrypted. Now the decryption
5820 status from before the paste is preserved.
5822 (allout-flag-region): Set all allout overlays so they evaporate
5823 when reduced to zero length (evanescent), to prevent overlay
5826 2011-06-30 Glenn Morris <rgm@gnu.org>
5828 * w32-fns.el (w32-charset-info-alist): Declare.
5830 * find-dired.el (find-grep-options): Simplify.
5832 * term/ns-win.el (ns-set-resource): Declare.
5834 * ses.el (row, col): Declare dynamic variables honestly.
5836 * textmodes/reftex-parse.el (index-tags): Declare.
5838 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
5840 * cus-edit.el (customize-push-and-save): New function.
5842 * files.el (hack-local-variables-confirm): Use it.
5844 * custom.el (load-theme): New arg NO-CONFIRM.
5845 Use customize-push-and-save (Bug#8720).
5846 (custom-enabled-themes): Doc fix.
5848 * cus-theme.el (customize-create-theme)
5849 (custom-theme-merge-theme): Callers to load-theme changed.
5851 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5853 * thingatpt.el (thing-at-point-short-url-regexp): Require that
5854 short URLs have at least one dot in them (bug #7614).
5856 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
5857 nil, because using a pty is apparently too slow (bug #895).
5859 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
5861 * mail/sendmail.el (sendmail-query-once): New function.
5862 (sendmail-query-once-function): New variable.
5864 2011-06-29 Glenn Morris <rgm@gnu.org>
5866 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
5868 * ses.el (top-level): Require cl when compiling.
5869 (ses-set-localvars): Fix error statement.
5870 Call it at compile time to silence a storm of warnings.
5872 2011-06-29 Martin Rudalics <rudalics@gmx.at>
5874 * window.el (normalize-live-buffer): Rename to
5875 window-normalize-buffer.
5876 (normalize-live-frame): Rename to window-normalize-frame.
5877 (normalize-any-window): Rename to window-normalize-any-window.
5878 (normalize-live-window): Rename to window-normalize-live-window.
5879 (make-window-atom): Rename to window-make-atom.
5880 (window-resize-reset): Rename to window--resize-reset.
5881 (window-resize-reset-1): Rename to window--resize-reset-1.
5882 (resize-mini-window): Rename to window--resize-mini-window.
5883 (resize-subwindows-skip-p): Rename to
5884 window--resize-subwindows-skip-p.
5885 (resize-subwindows-normal): Rename to
5886 window--resize-subwindows-normal.
5887 (resize-subwindows): Rename to window--resize-subwindows.
5888 (resize-other-windows): Rename to window--resize-siblings.
5889 (resize-this-window): Rename to window--resize-this-window.
5890 (resize-root-window): Rename to window--resize-root-window.
5891 (resize-root-window-vertically): Rename to
5892 window--resize-root-window-vertically.
5893 (normalize-buffer-to-display): Rename to
5894 window-normalize-buffer-to-display.
5895 (normalize-buffer-to-switch-to): Rename to
5896 window-normalize-buffer-to-switch-to.
5897 Correspondingly update all callers of the functions listed
5899 (display-buffer-alist, display-buffer-normalize-arguments)
5900 (display-buffer-normalize-options, display-buffer)
5901 (display-buffer-alist-set): Use "function" instead of
5904 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
5906 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
5907 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
5908 debbugs.gnu.org. Mention acknowledgment email.
5910 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
5912 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
5913 buffer multibyteness, since it shouldn't matter.
5915 2011-06-28 Martin Rudalics <rudalics@gmx.at>
5917 * window.el (display-buffer-in-side-window): Handle dedicated
5918 windows as in display-buffer-reuse-window.
5919 (display-buffer-normalize-alist): Use value of override
5921 (display-buffer-normalize-specifiers): Use value of
5922 other-window-means-other-frame specifier.
5923 (display-buffer-alist): Rewrite some texts in widgets.
5924 (display-buffer): Spread arguments when calling function
5925 specified by fun-with-args.
5927 2011-06-28 Deniz Dogan <deniz@dogan.se>
5929 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
5932 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
5933 selectors (Bug#5732).
5934 (css-proprietary-nmstart-re): Use `regexp-opt'.
5936 2011-06-27 Jari Aalto <jari.aalto@cante.net>
5938 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
5939 (eshell-ls-date-format): New defcustom.
5940 (eshell-ls-file): Use it.
5942 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5944 * help-fns.el (describe-variable): Fix message for terminal-local vars.
5946 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
5948 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
5949 (ange-ftp-make-tmp-name): New arg.
5950 (ange-ftp-file-local-copy): Use it.
5952 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
5954 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
5955 no-conversion (Bug#8870).
5957 2011-06-27 Martin Rudalics <rudalics@gmx.at>
5959 * window.el (window-right, window-left, window-child)
5960 (window-child-count, window-last-child)
5961 (window-iso-combination-p, walk-window-tree-1)
5962 (window-atom-check-1, window-tree-1, delete-window)
5963 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
5964 new naming conventions - window-vchild, window-hchild,
5965 window-next and window-prev are now called window-top-child,
5966 window-left-child, window-next-sibling and window-prev-sibling
5968 (resize-window-reset): Rename to window-resize-reset.
5969 (resize-window-reset-1): Rename to window-resize-reset-1.
5970 (resize-window): Rename to window-resize.
5971 (window-min-height, window-min-width)
5972 (resize-mini-window, resize-this-window, resize-root-window)
5973 (resize-root-window-vertically, adjust-window-trailing-edge)
5974 (enlarge-window, shrink-window, maximize-window)
5975 (minimize-window, delete-window, quit-restore-window)
5976 (split-window, balance-windows, balance-windows-area-adjust)
5977 (balance-windows-area, window-state-put-2)
5978 (display-buffer-even-window-sizes, display-buffer-set-height)
5979 (display-buffer-set-width, set-window-text-height)
5980 (fit-window-to-buffer): Rename all "resize-window" prefixed
5981 calls to use the "window-resize" prefix convention.
5982 (display-buffer-alist): Fix symbol for label specifier.
5983 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
5984 corresponding specifier.
5985 Reported by Juanma Barranquero <lekktu@gmail.com>.
5987 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
5989 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
5991 (ses-call-printer): Does not pass an empty string to formatter when the
5992 cell is empty to keep from barking printer Calc math-format-value.
5994 2011-06-27 Richard Stallman <rms@gnu.org>
5996 * battery.el (battery-mode-line-limit): New variable.
5997 (battery-update): Handle it.
5999 * mail/rmailmm.el (rmail-mime-process-multipart):
6000 Handle truncated messages.
6002 2011-06-27 Glenn Morris <rgm@gnu.org>
6004 * progmodes/flymake.el (flymake-err-line-patterns):
6005 Allow for column numbers in the ant/javac pattern. (Bug#8866)
6007 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
6009 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
6010 (ses--clean-!, ses--clean-_): New functions.
6011 (ses-range): Add configurability of readout order, and conversion
6014 * ses.el (ses-repair-cell-reference-all): New function.
6015 (ses-cell-symbol): Set macro as safe, so that it can be used in
6018 * ses.el: Update cycle detection algorithm.
6019 (ses-localvars): Add ses--Dijkstra-attempt-nb and
6020 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
6021 (ses-set-localvars): New function.
6022 (ses-make-cell): Add property-list as a cell element.
6023 (ses-cell-property-get-fun, ses-cell-property-get)
6024 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
6025 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
6027 (ses-cell-property-set, ses-cell-property-pop)
6028 (ses-cell-property-get-handle): New macro.
6029 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
6030 New aliases, used for code readability.
6031 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
6033 (ses-self-reference-early-detection): New defcustom.
6034 (ses-formula-references): Robustify against self-referring cells.
6035 (ses-mode): Use ses-set-localvars.
6036 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
6037 before lauching the update processing.
6038 (ses-initialize-Dijkstra-attempt): New function.
6039 (ses-recalculate-cell): Update for cycle detection based on
6042 * ses.el: Fix commenting and indenting convention.
6044 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6046 * bs.el (bs-cycle-next): Complete last change.
6048 2011-06-27 Drew Adams <drew.adams@oracle.com>
6050 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
6052 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6054 * net/network-stream.el (network-stream-open-starttls):
6055 Don't re-get capabilities unless we've reestablished connection.
6056 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
6058 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
6059 to binary to possibly avoid line encoding issues on Windows (among
6062 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6064 * net/network-stream.el (open-network-stream): Return an :error
6065 saying what the problem was, if possible.
6067 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
6070 * net/network-stream.el (network-stream-open-starttls): If we
6071 wanted to use STARTTLS, and the server offered it, but we weren't
6072 able to because we had no STARTTLS support, then close the connection.
6073 (open-network-stream): Return an :error element, if present.
6075 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
6077 * hl-line.el (hl-line-sticky-flag): Doc fix.
6078 (global-hl-line-sticky-flag): New option (Bug#8323).
6079 (global-hl-line-highlight): Obey it.
6081 * vc/vc.el (vc-revert-show-diff): Default to t.
6083 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
6085 * allout-widgets.el (allout-widgets-post-command-business):
6086 Stop decorating intermediate isearch matches. They're not being
6087 undecorated when an isearch is continued past, and isearch
6088 automatically collapses them. This leads to "widget leaks", where
6089 decorated items accumulate in collapsed areas. Lines with lots of
6090 hidden widgets can slow down cursor travel, substantially.
6091 Too much complicated machinery would be needed to ensure undecoration,
6092 so we're doing without this nicety.
6094 (allout-widgets-tally-string): Don't try to do a hash-table-count
6095 of allout-widgets-tally when it's nil. This eliminates spurious "Error
6096 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
6097 *Messages* when allout-widgets-maintain-tally is t.
6099 2011-06-26 Martin Rudalics <rudalics@gmx.at>
6101 * window.el (display-buffer-normalize-argument): Rename to
6102 display-buffer-normalize-arguments. Handle special meaning of
6103 LABEL argument. Respect special-display-function when popping up
6104 a new frame. Fix code searching for a window showing the buffer
6106 (display-buffer-normalize-specifiers):
6107 Call display-buffer-normalize-arguments.
6108 (display-buffer-in-window): Don't undedicate the window if its
6109 buffer remains the same.
6110 Reported by Drew Adams <drew.adams@oracle.com>.
6111 (display-buffer-alist): Add choice for same-window macro
6113 (display-buffer): Mention special meaning of LABEL argument in
6114 doc-string. Fix quoting. Don't pop up a new frame even as
6117 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
6119 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
6120 avoid deleting the current window in some cases (bug#8911).
6122 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
6124 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
6127 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6129 * net/network-stream.el (network-stream-open-starttls):
6130 Use built-in TLS support if `gnutls-available-p' is true.
6131 (network-stream-open-tls): Ditto.
6133 2011-06-26 Leo Liu <sdl.web@gmail.com>
6135 * register.el (registerv): New struct.
6136 (registerv-make): New function.
6137 (jump-to-register, describe-register-1, insert-register):
6138 Support the jump-func, print-func and insert-func slot of a registerv
6141 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
6143 * vc/vc.el (vc-revert-show-diff): New defcustom.
6144 (vc-diff-internal): New arg specifying diff buffer.
6145 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
6146 reuse an existing *vc-diff* buffer (Bug#8927).
6148 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
6150 2011-06-26 Glenn Morris <rgm@gnu.org>
6152 * progmodes/f90.el (f90-critical-indent): New option.
6153 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
6154 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
6155 (f90-mode): Doc fix.
6156 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
6157 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
6158 (f90-beginning-of-block, f90-next-block, f90-indent-region)
6159 (f90-match-end): Handle block, critical.
6161 2011-06-25 Glenn Morris <rgm@gnu.org>
6163 * calendar/diary-lib.el (diary-included-files): Doc fix.
6164 (diary-include-files): New function, extracted from
6165 diary-include-other-diary-files and diary-mark-included-diary-files.
6166 (diary-include-other-diary-files, diary-mark-included-diary-files):
6167 Just call diary-include-files.
6168 (diary-mark-entries): Reset diary-included-files on first call.
6170 * calendar/diary-lib.el (diary-mark-entries)
6171 (diary-mark-included-diary-files):
6172 Visit included diary-files in temp buffers.
6174 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
6175 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
6176 (f90-start-block-re, f90-imenu-generic-expression)
6177 (f90-looking-at-program-block-start, f90-no-block-limit):
6178 Add support for submodules.
6180 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
6181 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
6183 2011-06-25 Eli Zaretskii <eliz@gnu.org>
6185 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
6186 buffer-file-type before setting its value, to avoid disastrous
6187 global effects on decoding files for DOS/Windows systems. (Bug#8780)
6189 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
6191 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
6193 * ses.el (ses-unload-function):
6194 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
6196 * proced.el (proced-unload-function):
6197 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
6199 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
6201 * server.el (server-create-window-system-frame): Add parameters arg.
6202 (server-process-filter): Doc fix. Handle frame-parameters.
6204 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
6206 Fix bug#8730, bug#8781.
6208 * loadhist.el (unload--set-major-mode): New function.
6209 (unload-feature): Use it.
6211 * progmodes/python.el (python-after-info-look): Add autoload cookie.
6212 (python-unload-function): New function.
6214 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6216 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
6218 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
6220 * net/browse-url.el (browse-url-firefox-program): Add icecat to
6221 the candidates list.
6223 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
6225 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
6227 2011-06-23 Richard Stallman <rms@gnu.org>
6229 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
6230 (rmail-variables): Set next-error-move-function.
6231 (rmail-what-message): Take argument POS.
6232 (rmail-next-error-move): New function.
6234 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6236 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
6237 messages for adjacent non-terminals.
6239 2011-06-23 Richard Stallman <rms@gnu.org>
6241 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
6242 (rmail-show-message-1): Preserve buffer modified flag.
6243 (rmail-start-mail): Don't specify use of rmail-mail-return;
6244 that's done by mail-bury now.
6245 (rmail-mail-return): Handle arg NEWBUF.
6247 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
6249 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
6252 2011-06-23 Martin Rudalics <rudalics@gmx.at>
6254 * window.el (get-lru-window, get-mru-window)
6255 (get-largest-window): Never return a minibuffer window.
6256 (display-buffer-pop-up-window): Fix a bug that could lead to
6257 reusing the minibuffer window.
6258 (display-buffer): Pass original specifier argument to
6259 display-buffer-function instead of the normalized one.
6260 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
6262 2011-06-22 Leo Liu <sdl.web@gmail.com>
6264 * minibuffer.el (completing-read-function)
6265 (completing-read-default): Move from minibuf.c
6267 2011-06-22 Richard Stallman <rms@gnu.org>
6269 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
6270 to Rmail even if not started by a special Rmail command.
6272 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
6273 Copy the buffer currently showing just one message.
6275 2011-06-22 Roland Winkler <winkler@gnu.org>
6277 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
6278 (bibtex-clean-entry): First delete the old key so that a
6279 customized algorithm for generating the new key does not get
6280 confused by the old key.
6281 (bibtex-url): Obey regexp of first step.
6282 (bibtex-search-entries): Do not use add-to-list with local
6285 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6287 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
6288 stored a user name, then query for the password first, instead of
6289 waiting for SMTP to give an error message and the trying again.
6291 2011-06-22 Lawrence Mitchell <wence@gmx.li>
6293 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
6294 BUFFER in call-process.
6296 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6298 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
6300 (smtpmail-try-auth-methods): Require user name and password from
6303 2011-06-22 Martin Rudalics <rudalics@gmx.at>
6305 * window.el (display-buffer-default-specifiers)
6306 (display-buffer-alist): Remove entries for pop-up-frame-alist.
6307 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
6308 (split-window): Normalize SIDE argument (Bug#8916).
6310 * frame.el (pop-up-frame-alist, pop-up-frame-function)
6311 (special-display-frame-alist, special-display-popup-frame):
6312 Remove duplicate declarations. These are now in window.el.
6314 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6316 * mail/smtpmail.el (smtpmail-via-smtp):
6317 Set :use-starttls-if-possible so that we always use STARTTLS if the
6318 server supports it. SMTP servers that support STARTTLS commonly
6321 * net/network-stream.el (network-stream-open-starttls): Support
6322 upgrading to STARTTLS always, even if we don't have built-in support.
6323 (open-network-stream): Add the :always-query-capabilities keyword.
6325 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
6326 upgrades with `open-network-stream', and rely solely on
6327 auth-source for all credentials. Big changes throughout the file,
6329 (smtpmail-auth-credentials): Remove.
6330 (smtpmail-starttls-credentials): Remove.
6331 (smtpmail-via-smtp): Check for servers saying they want AUTH after
6334 * net/network-stream.el (network-stream-open-starttls):
6335 Provide support for client certificates both for external and built-in
6337 (auth-source): Require.
6338 (open-network-stream): Document the :client-certificate keyword.
6339 (network-stream-certificate): Change cert-cert to cert and
6342 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
6344 * net/tramp-cache.el (top): Don't load the persistency file when
6345 "emacs -Q" has been called.
6347 2011-06-21 Tim Harper <timcharper@gmail.com>
6349 * term/ns-win.el (ns-initialize-window-system):
6350 Set application-specific `ApplePressAndHoldEnabled' system
6351 resource to NO as it is not yet supported by the NS port.
6353 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
6355 * misc.el (list-dynamic-libraries--refresh): Compute header here...
6356 (list-dynamic-libraries): ...not here.
6358 2011-06-21 Leo Liu <sdl.web@gmail.com>
6360 * subr.el (sha1): Implement sha1 using secure-hash.
6362 2011-06-21 Martin Rudalics <rudalics@gmx.at>
6364 * window.el (display-buffer-alist): In default value do not
6365 enforce searching a window on any but the selected frame.
6366 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
6367 (display-buffer-select-window): Remove function.
6368 (display-buffer-in-window): When a window on another frame gets
6369 reused, do not select it any more but just raise its frame if
6370 necessary (Bug#8851) and (Bug#8856).
6371 (display-buffer-normalize-options): Handle pop-up-frames related
6372 options more faithfully.
6373 (pop-to-buffer): Don't rely on `display-buffer' selecting the
6374 window if it is on another frame.
6375 (display-buffer-alist, display-buffer-default-specifiers):
6376 Don't make new frame unsplittable by default.
6377 (display-buffer-normalize-argument): Fix doc-string typo and use
6378 'same-frame-other-window instead of 'other-window when associating
6379 with display-buffer-macro-specifiers.
6381 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
6383 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
6385 (5x5-mode-map, 5x5-mode-menu): Bind them.
6386 (5x5-draw-grid): Tweak the solver's rendering.
6388 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6390 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
6391 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
6393 2011-06-21 Drew Adams <drew.adams@oracle.com>
6395 * menu-bar.el: Use function variable instead of switch-to-buffer.
6396 (menu-bar-select-buffer-function): New variable.
6397 (menu-bar-update-buffers): Use it (bug#8876).
6399 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6401 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
6404 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
6406 * x-dnd.el (x-dnd-version-from-flags)
6407 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
6408 and long as number (Bug#8899).
6409 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
6411 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6413 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
6414 (completion-try-completion, completion-all-completions): Compute the
6415 metadata argument if it's missing; make it optional (bug#8795).
6417 * wid-edit.el: Use lex-bind and move towards completion-at-point.
6418 (widget-complete): Use new :completion-function property.
6419 (widget-completions-at-point): New function.
6420 (default): Use :completion-function instead of :complete.
6421 (widget-default-completions): Rename from widget-default-complete;
6423 (widget-string-complete, widget-file-complete, widget-color-complete):
6425 (file, symbol, function, variable, coding-system, color):
6426 * international/mule-cmds.el (default-input-method, charset)
6427 (language-info-custom-alist):
6428 * cus-edit.el (face): Use new property :completions.
6430 * progmodes/pascal.el (pascal-completions-at-point): New function.
6431 (pascal-mode): Use it.
6432 (pascal-mode-map): Use completion-at-point.
6433 (pascal-toggle-completions): Make obsolete.
6434 (pascal-complete-word, pascal-show-completions):
6435 * progmodes/octave-mod.el (octave-complete-symbol):
6436 Redefine as obsolete alias.
6437 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
6438 Signal absence of completion info for old Octave,
6439 (inferior-octave-complete): Redefine as obsolete alias.
6440 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
6441 (meta-completions-at-point): Rename from meta-complete-symbol and
6442 adapt it for use on completion-at-point-functions.
6443 (meta-common-mode): Use it.
6444 (meta-looking-at-backward, meta-match-buffer): Remove.
6445 (meta-complete-symbol): Redefine as obsolete alias.
6446 (meta-common-mode-map): Use completion-at-point.
6447 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
6448 (makefile-mode-map): Use completion-at-point.
6449 (makefile-completions-at-point): Rename from makefile-complete and
6450 adapt it for use on completion-at-point-functions.
6451 (makefile-mode): Use it.
6452 (makefile-complete): Redefine as obsolete alias.
6454 2011-06-20 Deniz Dogan <deniz@dogan.se>
6456 * net/rcirc.el: Delete trailing whitespaces once and for all.
6458 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
6460 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
6462 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
6464 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
6466 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
6468 2011-06-19 Martin Rudalics <rudalics@gmx.at>
6470 * window.el (display-buffer-other-window-means-other-frame):
6471 Call display-buffer-normalize-alist.
6472 (display-buffer-normalize-specifiers-1): Rename to
6473 display-buffer-normalize-argument. New argument other-frame.
6475 (display-buffer-normalize-specifiers-2): Rename to
6476 display-buffer-normalize-options.
6477 (display-buffer-normalize-alist-1): New function.
6478 (display-buffer-normalize-specifiers-3): Rename to
6479 display-buffer-normalize-alist.
6480 Call display-buffer-normalize-alist-1.
6481 (display-buffer-normalize-options-inhibit): New variable.
6482 (display-buffer-normalize-specifiers): Rewrite calling
6483 display-buffer-normalize-alist,
6484 display-buffer-normalize-argument, and
6485 display-buffer-normalize-options. Don't call the latter if
6486 display-buffer-normalize-options-inhibit is non-nil.
6487 (frame-auto-delete): New option.
6488 (window-deletable-p): Use frame-auto-delete.
6489 (window-list-no-nils, window-state-ignored-parameters)
6490 (window-state-get-1, window-state-get, window-state-put-list)
6491 (window-state-put-1, window-state-put-2, window-state-put):
6493 (display-buffer-normalize-options): Move special-display-p group
6494 after pop-up-frame group (Bug#8851) and (Bug#8856).
6496 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
6498 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
6500 (rx-submatch-n): New function.
6503 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
6506 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
6508 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
6510 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
6511 anytime existing face settings are present (Bug#8889).
6513 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
6514 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
6515 Remove unused argument.
6517 2011-06-18 Martin Rudalics <rudalics@gmx.at>
6519 * window.el (display-buffer-default-specifiers):
6520 Remove pop-up-frame. Add pop-up-window-min-height,
6521 pop-up-window-min-width, and another reuse-window specifier
6522 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
6523 (display-buffer-normalize-specifiers-2):
6524 Handle split-height-threshold and split-width-threshold also when
6525 pop-up-windows is unset. Add a reuse-window specifier for the
6526 case popping up a new window fails.
6527 (special-display-popup-frame): Remove double quoting.
6528 (display-buffer-normalize-specifiers-1): Fix thinko.
6530 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6532 * shell.el (shell-completion-vars): Set pcomplete-termination-string
6533 according to comint-completion-addsuffix.
6535 * pcomplete.el: Convert to lexical binding and fix bug#8819.
6536 (pcomplete-suffix-list): Mark as obsolete.
6537 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
6538 pcomplete-seen in the closure.
6539 (pcomplete-comint-setup): Setup completion-at-point as well.
6540 (pcomplete--entries): New function.
6541 (pcomplete--env-regexp): New var.
6542 (pcomplete-entries): Rewrite to work with partial-completion and
6543 without relying on pcomplete-suffix-list.
6544 (pcomplete-pare-list): Remove, unused.
6546 2011-06-17 Martin Rudalics <rudalics@gmx.at>
6548 * window.el (display-buffer-alist): Set pop-up-window-min-height
6549 and pop-up-window-min-width in default value. Reported by
6550 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
6551 other-window-means-other-frame.
6552 (display-buffer-macro-specifiers): Comment out entry for
6553 other-window specifier.
6554 (display-buffer-other-window-means-other-frame): New function.
6555 (display-buffer-normalize-specifiers-1): New arguments
6556 buffer-name and label. Treat other-window case specially.
6557 (display-buffer-normalize-specifiers-2): Treat other-window case
6559 (display-buffer-normalize-specifiers-3): New function.
6560 (display-buffer-normalize-specifiers):
6561 Call display-buffer-normalize-specifiers-3.
6563 2011-06-17 Martin Rudalics <rudalics@gmx.at>
6565 * window.el (same-window-p): Fix two typos introduced when
6566 adding with-no-warnings.
6567 (display-buffer-normalize-specifiers-1): Don't check
6568 pop-up-frames for 'unset initialization.
6569 (display-buffer-normalize-specifiers-2): Major rewrite using
6570 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
6571 (pop-up-frames, display-buffer-reuse-frames)
6572 (display-buffer-mark-dedicated): Don't initialize to 'unset.
6573 Suggested by David Engster <deng@randomsample.de>.
6574 (even-window-heights): Initialize to 'unset.
6575 (display-buffer-alist-set): Handle new 'unset initializations.
6576 (display-buffer-macro-specifiers): Don't pop up a new frame in the
6579 2011-06-16 Martin Rudalics <rudalics@gmx.at>
6581 * window.el (display-buffer-normalize-specifiers-1):
6582 Respect current value of pop-up-frames for most reasonable values of
6583 second argument of display-buffer (Bug#8865).
6584 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
6585 (switch-to-buffer-other-window-same-frame)
6586 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
6588 (display-buffer): Don't check noninteractive when calling
6589 display-buffer-pop-up-frame.
6590 (display-buffer-pop-up-frame): Never pop up a frame in
6591 noninteractive mode (Bug#8857).
6592 (enlarge-window, shrink-window): Don't report an error when the
6593 window can't be resized as requested (Bug#8862).
6595 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6597 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
6599 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
6601 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
6603 2011-06-15 Alan Mackenzie <acm@muc.de>
6605 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
6606 for declarators, disable knr checking to speed up for normal files.
6607 2: Refactor, replacing a sequence of nested if forms by a cond form.
6609 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6611 * net/network-stream.el (open-network-stream): Add the keyword
6612 :always-query-capabilities for the case where you want to force a
6613 `plain' network connection, but the protocol still requires the
6614 capabilitiy command (i.e., SMTP and EHLO).
6616 * subr.el (process-live-p): Rename from `process-alive-p' for
6617 consistency with other `-live-p' functions.
6619 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6621 * window.el (same-window-buffer-names, same-window-regexps)
6622 (special-display-frame-alist, special-display-popup-frame)
6623 (special-display-function, special-display-buffer-names)
6624 (special-display-regexps, pop-up-frame-alist)
6625 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
6626 (pop-up-windows, split-window-preferred-function)
6627 (split-height-threshold, split-width-threshold, even-window-heights)
6628 (display-buffer-mark-dedicated): Don't encourage the use of
6629 display-buffer-alist from Elisp code.
6631 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
6633 * progmodes/python.el (python-mode): Derive from prog-mode.
6634 * progmodes/ps-mode.el (ps-mode):
6635 * progmodes/mixal-mode.el (mixal-mode):
6636 * progmodes/cfengine.el (cfengine-mode):
6637 * progmodes/ld-script.el (ld-script-mode): Likewise.
6639 2011-06-15 Martin Rudalics <rudalics@gmx.at>
6641 * window.el (display-buffer-alist): Trim default value to avoid
6642 popping up a new frame (Bug#8857) or reusing an arbitrary window
6644 (display-buffer): Do not fall back on popping up a new frame in
6645 batch mode (Bug#8857).
6647 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
6649 * cus-theme.el (describe-theme-1): Use custom-theme-p.
6650 (custom-theme-summary): New function.
6651 (customize-themes): Use it.
6653 2011-06-13 Glenn Morris <rgm@gnu.org>
6655 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
6657 2011-06-13 Martin Rudalics <rudalics@gmx.at>
6659 * help.el (help-window): Remove variable.
6660 (help-window-point-marker, temp-buffer-max-height)
6661 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
6662 (help-print-return-message): Don't set help-window.
6663 (resize-temp-buffer-window): Rewrite cod eand doc-string.
6664 (help-window-setup-finish): Remove.
6665 (help-window-display-message, help-window-setup)
6666 (with-help-window): Major rewrite based on new
6667 display-buffer-window variable.
6669 * help-mode.el (help-mode-finish): Remove help-window related
6672 * view.el (view-exits-all-viewing-windows): Remove reference to
6673 view-return-to-alist in doc-string.
6674 (view-return-to-alist): Make obsolete.
6675 (view-buffer): Call pop-to-buffer-same-window and remove
6677 (view-buffer-other-window): Call pop-to-buffer-other-window and
6678 simplify code. Ignore second argument.
6679 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
6680 simplify code. Ignore second argument.
6681 (view-return-to-alist-update): Make obsolete.
6682 (view-mode-enter): Rename second argument to QUIT-RESTORE.
6683 Rewrite using quit-restore window parameters.
6684 (view-mode-exit): Rename second argument to EXIT-ONLY.
6685 Rewrite using quit-restore-window.
6686 (View-exit, View-exit-and-edit, View-leave, View-quit)
6687 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
6688 appropriate arguments.
6689 (view-end-message): Use quit-restore window parameter.
6691 * window.el (display-buffer-function): Rewrite doc-string.
6692 (display-buffer-window, display-buffer-alist): New variables.
6693 (display-buffer-split-specifiers)
6694 (display-buffer-side-specifiers)
6695 (display-buffer-macro-specifiers): New constants.
6696 (display-buffer-even-window-sizes, display-buffer-set-height)
6697 (display-buffer-set-width, display-buffer-select-window)
6698 (display-buffer-in-window, display-buffer-reuse-window)
6699 (display-buffer-split-window-1, display-buffer-split-window)
6700 (display-buffer-split-atom-window, display-buffer-pop-up-window)
6701 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
6702 (display-buffer-in-side-window, normalize-buffer-to-display)
6703 (display-buffer-normalize-specifiers-1)
6704 (display-buffer-normalize-specifiers-2)
6705 (display-buffer-normalize-specifiers, display-buffer-frame):
6707 (display-buffer): Major rewrite.
6708 (display-buffer-other-window, display-buffer-other-frame)
6709 (pop-to-buffer, switch-to-buffer-other-window)
6710 (switch-to-buffer-other-frame): Rewrite.
6711 (display-buffer-same-window, display-buffer-same-frame)
6712 (display-buffer-same-frame-other-window)
6713 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6714 (pop-to-buffer-other-window)
6715 (pop-to-buffer-same-frame-other-window)
6716 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
6717 (switch-to-buffer-other-window-same-frame): New functions.
6718 (same-window-p, special-display-p): Rewrite disabling warnings.
6720 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6721 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
6723 (same-window-buffer-names, same-window-regexps)
6724 (special-display-frame-alist, special-display-popup-frame)
6725 (special-display-function, special-display-buffer-names)
6726 (special-display-regexps, pop-up-frame-alist)
6727 (pop-up-frame-function, split-window-preferred-function)
6728 (split-height-threshold, split-width-threshold)
6729 (even-window-heights): Make obsolete.
6731 2011-06-12 Glenn Morris <rgm@gnu.org>
6733 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
6734 Misc simplifications.
6736 2011-06-12 Martin Rudalics <rudalics@gmx.at>
6738 * window.el (window-safely-shrinkable-p): Restore function which
6739 was inadvertently removed in change from 2011-06-11. Declare as
6742 * calendar/calendar.el (calendar-generate-window):
6743 Use window-iso-combined-p instead of combination of one-window-p and
6744 window-safely-shrinkable-p.
6746 2011-06-12 Glenn Morris <rgm@gnu.org>
6748 * progmodes/fortran.el (fortran-mode-syntax-table):
6749 * progmodes/f90.el (f90-mode-syntax-table):
6750 Set % to punctuation. (Bug#8820)
6751 (f90-find-tag-default): Remove, no longer needed.
6753 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
6755 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
6757 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
6759 * image.el (image-animated-p): Return animation delay in seconds.
6760 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
6761 (image-animate-timeout): Remove DELAY argument. Don't assume
6762 every subimage has the same delay; get it from image-animated-p.
6763 (image-animate): Caller changed.
6765 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
6767 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
6768 to ignored backtrace functions.
6770 2011-06-11 Glenn Morris <rgm@gnu.org>
6772 * calendar/appt.el (appt-disp-window-function): Doc fix.
6773 (appt-check): Handle overlapping appointments. (Bug#8337)
6775 2011-06-11 Martin Rudalics <rudalics@gmx.at>
6777 * window.el (window-tree-1, window-tree): New functions, moving
6778 the latter to window.el.
6779 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
6780 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
6781 (bw-refresh-edges): Remove.
6782 (balance-windows-1, balance-windows-2): New functions.
6783 (balance-windows): Rewrite in terms of window tree functions,
6784 balance-windows-1 and balance-windows-2.
6785 (bw-adjust-window): Remove.
6786 (balance-windows-area-adjust): New function with functionality of
6787 bw-adjust-window but using resize-window.
6788 (set-window-text-height): Rewrite doc-string.
6789 Use normalize-live-window and resize-window.
6790 (enlarge-window-horizontally, shrink-window-horizontally):
6791 Rename argument to DELTA.
6792 (window-buffer-height): New function.
6793 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
6794 Rewrite using new window resize routines.
6795 (kill-buffer-and-window, mouse-autoselect-window-select):
6796 Use ignore-errors instead of condition-case.
6797 (quit-window): Call delete-frame instead of delete-windows-on
6798 for the only buffer on frame.
6800 2011-06-10 Martin Rudalics <rudalics@gmx.at>
6802 * loadup.el (top-level): Load window before files for the sake
6803 of replace-buffer-in-windows.
6805 * files.el (read-buffer-to-switch)
6806 (switch-to-buffer-other-window)
6807 (switch-to-buffer-other-frame, display-buffer-other-frame):
6810 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
6811 (previous-buffer): Move to window.el.
6813 * bindings.el (unbury-buffer): Move to window.el.
6815 * window.el (delete-other-windows-vertically): Move after
6816 definition of delete-other-windows.
6817 (other-window, delete-windows-on, replace-buffer-in-windows):
6818 Move here from window.c.
6819 (record-window-buffer, unrecord-window-buffer)
6820 (set-window-buffer-start-and-point, switch-to-prev-buffer)
6821 (switch-to-next-buffer): New functions.
6822 (get-next-valid-buffer, last-buffer, next-buffer): Move here
6823 from simple.el. Call switch-to-next-buffer.
6824 (previous-buffer): Move here from simple.el.
6825 Call switch-to-prev-buffer.
6826 (bury-buffer): Move here from buffer.c. Switch to previous
6827 buffer when window cannot be deleted.
6828 (unbury-buffer): Move here from bindings.el.
6829 (ctl-x-map): Move binding for other-window from window.c to
6831 (read-buffer-to-switch, switch-to-buffer-other-window)
6832 (switch-to-buffer-other-frame): Move here from files.el.
6833 (normalize-buffer-to-switch-to): New functions.
6834 (switch-to-buffer): Move here from buffer.c.
6835 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
6837 2011-06-10 Martin Rudalics <rudalics@gmx.at>
6839 * window.el (window-min-height, window-min-width): Move here
6840 from window.c. Add defcustoms and rewrite doc-strings.
6841 (resize-mini-window, resize-window): New functions.
6842 (adjust-window-trailing-edge, enlarge-window, shrink-window):
6843 Move here from window.c.
6844 (maximize-window, minimize-window): New functions.
6845 (delete-window, delete-other-windows, split-window): Move here
6847 (window-split-min-size): New function.
6848 (split-window-keep-point): Mention split-window-above-each-other
6849 instead of split-window-vertically.
6850 (split-window-above-each-other, split-window-vertically):
6851 Rename split-window-vertically to split-window-above-each-other
6852 and provide defalias for old definition.
6853 (split-window-side-by-side, split-window-horizontally):
6854 Rename split-window-horizontally to split-window-side-by-side
6855 and provide defalias for the old definition.
6856 (ctl-x-map): Move bindings for delete-window,
6857 delete-other-windows and enlarge-window here from window.c.
6858 Replace bindings for split-window-vertically and
6859 split-window-horizontally by bindings for
6860 split-window-above-each-other and split-window-side-by-side.
6862 * cus-start.el (all): Remove entries for window-min-height and
6863 window-min-width. Add entries for window-splits and
6866 2011-06-09 Glenn Morris <rgm@gnu.org>
6868 * calendar/appt.el (appt-mode-line): New function.
6869 (appt-check, appt-disp-window): Use it.
6871 * files.el (hack-one-local-variable-eval-safep):
6872 Allow minor-modes with explicit +/-1 arguments.
6874 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
6876 * term/xterm.el (xterm): Add defgroup.
6877 (xterm-extra-capabilities): Add defcustom to supply known xterm
6878 capabilities, skip querying them, or query them (default).
6879 (terminal-init-xterm): Use it.
6880 (terminal-init-xterm-modify-other-keys): New function to set up
6881 modifyOtherKeys support to simplify `terminal-init-xterm'.
6883 2011-06-09 Martin Rudalics <rudalics@gmx.at>
6885 * window.el (resize-window-reset, resize-window-reset-1)
6886 (resize-subwindows-skip-p, resize-subwindows-normal)
6887 (resize-subwindows, resize-other-windows, resize-this-window)
6888 (resize-root-window, resize-root-window-vertically)
6889 (window-deletable-p, window-or-subwindow-p)
6890 (frame-root-window-p): New functions.
6892 2011-06-09 Glenn Morris <rgm@gnu.org>
6894 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
6895 (ange-ftp-get-files): Use it.
6897 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6899 * mail/sendmail.el (mail-recover-1, mail-recover):
6900 * files.el (recover-file, recover-session):
6901 Handle dired-listing-switches not being just a single short option.
6903 2011-06-09 Glenn Morris <rgm@gnu.org>
6905 * calendar/appt.el (appt-display-message, appt-disp-window):
6906 Handle lists of appointments.
6908 2011-06-08 Martin Rudalics <rudalics@gmx.at>
6910 * window.el (one-window-p): Move down in code.
6912 (window-current-scroll-bars): Rewrite doc-string.
6913 Normalize live window argument.
6914 (walk-windows, get-window-with-predicate, count-windows):
6915 Rewrite doc-string. Use window-list-1.
6916 (window-in-direction-2, window-in-direction, get-mru-window):
6919 2011-06-08 Reuben Thomas <rrt@sc3d.org>
6921 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
6924 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
6926 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
6928 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
6930 * loadhist.el (unload-feature-special-hooks):
6931 Add `comint-output-filter-functions'.
6933 2011-06-08 Ivan Kanis <gnu@kanis.fr>
6935 * calendar/appt.el (appt-check): Move some initializations into the let.
6937 2011-06-08 Martin Rudalics <rudalics@gmx.at>
6939 * window.el (window-height): Defalias to window-total-height.
6940 (window-width): Defalias to window-body-width.
6942 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
6944 * image-mode.el (image-toggle-animation): New command.
6945 (image-mode-map): Bind it to RET.
6946 (image-mode): Update message.
6947 (image-toggle-display-image): Avoid a spurious cache flush.
6948 (image-transform-rotation): Doc fix.
6949 (image-transform-properties): Return quickly in the normal case.
6950 (image-animate-loop): Rename from image-animate-max-time.
6952 * image.el (image-animate-max-time): Move to image-mode.el.
6953 (create-animated-image): Remove unnecessary function.
6954 (image-animate): Rename from image-animate-start. New arg.
6955 (image-animate-stop): Remove; just use image-animate-timer.
6956 (image-animate-timer): Use car-safe.
6957 (image-animate-timeout): Rename argument.
6959 2011-06-07 Martin Rudalics <rudalics@gmx.at>
6961 * window.el (get-lru-window, get-largest-window): Move here from
6962 window.c. Rename first argument to ALL-FRAMES.
6963 Rephrase doc-strings.
6964 (get-buffer-window-list): Rewrite using window-list-1.
6965 Rephrase doc-string.
6966 (window-safe-min-height, window-safe-min-width): New constants.
6967 (window-size-ignore, window-min-size, window-min-size-1)
6968 (window-sizable, window-sizable-p, window-size-fixed-1)
6969 (window-size-fixed-p, window-min-delta-1, window-min-delta)
6970 (window-max-delta-1, window-max-delta, window-resizable)
6971 (window-resizable-p, window-total-height, window-total-width)
6972 (window-body-width): New functions.
6973 (window-full-height-p, window-full-width-p): Rewrite using
6975 (window-body-height): Rewrite using window-body-size.
6977 2011-06-06 Martin Rudalics <rudalics@gmx.at>
6979 * window.el (window-right, window-left, window-child)
6980 (window-child-count, window-last-child, window-any-p)
6981 (normalize-live-buffer, normalize-live-frame)
6982 (normalize-any-window, normalize-live-window)
6983 (window-iso-combination-p, window-iso-combined-p)
6984 (window-iso-combinations)
6985 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
6986 (windows-with-parameter, window-with-parameter)
6987 (window-atom-root, make-window-atom, window-atom-check-1)
6988 (window-atom-check, window-side-check, window-check):
6990 (ignore-window-parameters, window-sides, window-sides-vertical)
6991 (window-sides-slots): New variables.
6992 (window-size-fixed): Move down in code. Minor doc-string fix.
6994 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
6996 * comint.el (comint-dynamic-complete-as-filename)
6997 (comint-dynamic-complete-filename): Correctly call
6998 completion-in-region.
7000 2011-06-05 Deniz Dogan <deniz@dogan.se>
7002 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
7005 2011-06-05 Deniz Dogan <deniz@dogan.se>
7007 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
7008 (rcirc): Use it to prompt for encryption.
7010 2011-06-05 Roland Winkler <winkler@gnu.org>
7012 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
7013 (bibtex-search-entries): New command bound to C-c C-a.
7014 (bibtex-display-entries): New function.
7016 2011-06-05 Roland Winkler <winkler@gnu.org>
7018 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
7019 (bibtex-insert-kill): After yanking insert newline if necessary.
7020 (bibtex-initialize): Call bibtex-string-files-init only once.
7021 (bibtex-mode): Do not call easy-menu-add.
7022 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
7023 (bibtex-yank): Set arg properly if nil.
7025 2011-06-05 Roland Winkler <winkler@gnu.org>
7027 * textmodes/bibtex.el (bibtex-search-entry-globally):
7029 (bibtex-search-entry): Use it.
7031 2011-06-05 Roland Winkler <winkler@gnu.org>
7033 * textmodes/bibtex.el (bibtex-entry-format): New option
7035 (bibtex-format-entry, bibtex-reformat): Honor this option.
7036 (bibtex-parse-entry): Return fields in proper order.
7038 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
7040 * doc-view.el (doc-view-remove-if): Move computation of result out
7041 of `dolist' to silence misleading lexical-binding warning.
7043 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
7045 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
7046 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
7048 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
7050 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
7053 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
7055 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
7056 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
7057 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
7058 (tramp-parse-putty):
7059 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
7060 (tramp-completion-function-alist-ssh)
7061 (tramp-completion-function-alist-telnet)
7062 (tramp-completion-function-alist-su)
7063 (tramp-completion-function-alist-putty): Set `tramp-autoload'
7068 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
7069 load "tramp.el" `tramp-set-completion-function'.
7071 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7073 * shell.el: Require and use pcomplete.
7074 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
7075 (shell-completion-vars): Set pcomplete-default-completion-function.
7077 2011-06-04 Deniz Dogan <deniz@dogan.se>
7079 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
7082 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7084 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
7086 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
7088 * bs.el (bs--mark-unmark, bs--nth-wrapper):
7089 * mpc.el (mpc-select-extend, mpc-songpointer-context):
7090 * vc/log-view.el (log-view-beginning-of-defun):
7091 * vc/smerge-mode.el (smerge-apply-resolution-patch)
7092 (smerge-refine-forward, smerge-refine-chopup-region):
7093 Silence warning for unused `dotimes' counter variables.
7095 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7097 * net/tramp.el (tramp-with-progress-reporter): Rename from
7098 with-progress-reporter. Use `declare'.
7101 * net/tramp-gvfs.el: Update all uses.
7103 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
7105 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
7106 buffer isn't killed before making it current.
7108 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7110 Silence various byte-compiler warnings.
7111 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
7112 `access-type' and new obsolescence format.
7113 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
7115 (byte-compile-check-variable): New `access-type' argument.
7116 Only warn if the access-type is obsolete.
7117 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
7118 (byte-compile-variable-set): Adjust callers.
7119 * help-fns.el (describe-variable): Adjust to new obsolescence format.
7120 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
7121 setting it as obsolete.
7122 * simple.el (minibuffer-completing-symbol):
7123 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
7125 * minibuffer.el (minibuffer-completing-file-name): Don't make it
7127 * international/quail.el (quail-mouse-choose-completion): Remove unused
7128 code referring to obsolete var.
7129 (quail-choose-completion-string): Remove.
7130 * server.el (server-clients-with, server-kill-buffer-query-function)
7131 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
7132 * proced.el (proced-send-signal):
7133 * emacs-lisp/lisp.el (lisp-complete-symbol):
7134 Replace completion-annotate-function with completion-extra-properties.
7136 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7138 * simple.el (goto-line): Use read-number.
7139 (overriding-map-is-bound): Remove.
7140 (saved-overriding-map): Change default.
7141 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
7142 Take the map as argument.
7143 (universal-argument, negative-argument, digit-argument): Use it.
7144 (restore-overriding-map): Adjust.
7145 (do-auto-fill): Use fill-forward-paragraph.
7146 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
7148 * minibuffer.el (minibuffer-inactive-mode-map): New var.
7149 (minibuffer-inactive-mode): New major mode.
7150 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
7151 the *Messages* buffer" hack.
7152 (mouse-popup-menubar): Don't burp if the event is a normal key.
7154 Miscellaneous tweaks.
7155 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
7156 lexical scoping as in subr.el's dolist and dotimes.
7157 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
7158 Silence compiler warning.
7159 * thingatpt.el (forward-whitespace): Trivial coding style fix.
7160 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
7161 * international/ccl.el (ccl-compile): Trivial simplification.
7162 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
7163 * emacs-lisp/testcover.el (testcover-end): Remove spurious
7164 `printflag' argument.
7165 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
7166 Purecopy the whole obsolescence data.
7168 2011-06-01 Leo Liu <sdl.web@gmail.com>
7170 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
7171 improve doc-string as suggested by Marco Pessotto
7172 <melmothx@gmail.com>.
7173 (rcirc-print): Fix last change.
7175 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7177 * minibuffer.el (complete-with-action): Return nil for the metadata and
7178 boundaries of non-functional tables.
7179 (completion-table-dynamic): Return nil for the metadata.
7180 (completion-table-with-terminator): Add default case, using
7181 complete-with-action.
7182 (completion--metadata): New function.
7183 (completion-all-sorted-completions, minibuffer-completion-help): Use it
7184 to try and avoid pathological performance problems.
7185 (completion--embedded-envvar-table): Return `category' metadata.
7187 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
7189 * subr.el (process-alive-p): New tiny convenience function.
7191 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7193 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
7194 content but also its previous major mode.
7196 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
7198 * emacs-lisp/debug.el (debug): Restore the previous content of the
7199 *Backtrace* buffer when we exit with C-M-c.
7201 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7203 * minibuffer.el: Add metadata method to completion tables.
7204 (completion-category-overrides): New defcustom.
7205 (completion-metadata, completion--field-metadata)
7206 (completion-metadata-get, completion--styles)
7207 (completion--cycle-threshold): New functions.
7208 (completion-try-completion, completion-all-completions):
7209 Add `metadata' argument to choose completion-styles.
7210 (completion--do-completion): Use metadata to choose cycling.
7211 (completion-all-sorted-completions): Use metadata for sorting.
7212 Remove :completion-cycle-penalty which is not needed any more.
7213 (completion--try-word-completion): Add `metadata' argument.
7214 (minibuffer-completion-help): Check metadata for annotation function
7216 (completion-file-name-table): Return `category' metadata.
7217 (minibuffer-completing-file-name): Make obsolete.
7218 * simple.el (minibuffer-completing-symbol): Make obsolete.
7219 * icomplete.el (icomplete-completions): Pass new `metadata' param to
7220 completion-try-completion.
7222 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7224 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
7226 2011-05-30 Leo Liu <sdl.web@gmail.com>
7228 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
7229 (rcirc-print): Decode all incoming messages (bug#8744).
7230 (rcirc-decode-coding-system): Allow value nil for automatic coding
7233 2011-06-01 Glenn Morris <rgm@gnu.org>
7235 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
7237 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
7239 * image.el (image-animate-max-time): Allow nil and t values.
7241 (create-animated-image): Doc fix.
7242 (image-animate-start): Remove second arg; just use
7243 image-animate-max-time.
7244 (image-animate-timeout): Doc fix. Args changed.
7246 * image-mode.el (image-toggle-display-image): Ensure that the
7247 image spec passed to the animate timer is the same object as in
7248 the buffer's display property (Bug#6981).
7249 (image-transform-properties): Doc fix.
7251 * image.el (image-animate-max-time): Default to nil.
7253 2011-05-29 Martin Rudalics <rudalics@gmx.at>
7255 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
7256 entire buffer list (Bug#8184).
7258 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
7260 * image.el (imagemagick-types-inhibit)
7261 (imagemagick-register-types): Doc fix.
7263 2011-05-29 Deniz Dogan <deniz@dogan.se>
7265 * net/rcirc.el (rcirc): Use the user's stored encryption method by
7268 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
7270 * select.el: Don't perform clipboard-manager saving in hooks;
7271 leave the hooks empty.
7273 2011-05-28 Leo Liu <sdl.web@gmail.com>
7275 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
7276 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
7277 (occur-edit-mode): New major mode (Bug#8463).
7278 (occur-after-change-function): New function.
7279 (occur-engine): Give Occur tags a read-only property.
7281 2011-05-28 Kevin Ryde <user42@zip.com.au>
7283 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
7285 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
7287 * bindings.el (help-echo): Make the initial non-indicator dash
7288 empty on graphical terminals (Bug#7295).
7290 * files.el (auto-mode-alist): Move config rule after the
7291 in-stripping one (Bug#8547).
7293 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
7295 * startup.el (normal-splash-screen): Remove gratuitous mode-line
7298 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
7300 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
7301 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
7304 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
7306 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
7308 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
7310 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
7311 (hs-hide-block-at-point, hs-find-block-beginning)
7312 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
7315 2011-05-28 Glenn Morris <rgm@gnu.org>
7317 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
7319 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
7321 * help-fns.el (describe-function-1): If the function is a derived
7322 major mode, print the parent mode.
7324 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
7325 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
7327 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7329 * minibuffer.el (completion--capf-wrapper): Check applicability before
7330 returning non-nil for non-exclusive completion data.
7331 * progmodes/etags.el (tags-completion-at-point-function):
7332 * info-look.el (info-lookup-completions-at-point): Mark as
7334 (info-complete): Adjust accordingly.
7336 * info-look.el: Convert to lexical-binding and completion-at-point.
7337 (info-lookup-completions-at-point): New function.
7338 (info-complete): Use it and completion-in-region.
7340 2011-05-28 Drew Adams <drew.adams@oracle.com>
7342 * isearch.el: Let M-e start with point at the first mismatched char.
7343 (isearch-fail-pos): New function.
7344 (isearch-edit-string): Use it.
7346 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
7348 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
7350 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
7352 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
7353 traversal functions for avl-trees.
7354 (avl-tree--stack): New struct.
7355 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
7356 (avl-tree-enter): Add optional `updatefun' arg.
7357 (avl-tree--do-enter): Add optional `updatefun' arg.
7358 Change return value.
7359 (avl-tree-delete): Add optional `test' and `nilflag' args.
7360 (avl-tree--do-delete): Add `test' and `nilflag' args.
7361 Change return value.
7362 (avl-tree-member): Add optional `nilflag'
7363 (avl-tree-member-p): New function.
7364 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
7365 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
7366 (avl-tree-stack-empty-p): New functions.
7368 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
7370 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
7371 avl-tree--del-balance1 and make it work both ways.
7372 (avl-tree--del-balance2): Remove.
7373 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
7374 make it work both ways.
7375 (avl-tree--enter-balance2): Remove.
7376 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
7378 (avl-tree--mapc, avl-tree-map): Add direction argument.
7380 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7382 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
7384 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
7386 * select.el: Support clipboard managers with built-in function
7387 x-clipboard-manager-save, via delete-frame-functions and
7389 (xselect-convert-to-targets): Add MULTIPLE target to list.
7390 (xselect-convert-to-save-targets): New function.
7392 2011-05-27 Kenichi Handa <handa@m17n.org>
7394 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
7395 let-binding rfc2047-encode-encoded-words to nil.
7397 2011-05-27 Glenn Morris <rgm@gnu.org>
7399 * mail/emacsbug.el: Don't require url-util.
7401 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
7403 * files.el (set-auto-mode):
7404 Also respect mode: entries at the end of the file. (Bug#8586)
7406 2011-05-26 Glenn Morris <rgm@gnu.org>
7408 * files.el (hack-local-variables-prop-line, hack-local-variables):
7409 Downcase mode names, as seems to be traditional.
7410 (hack-local-variables, hack-local-variables-apply): Doc fixes.
7412 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
7413 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
7415 2011-05-25 Julien Danjou <julien@danjou.info>
7417 * textmodes/rst.el (rst-define-level-faces): Do not define face
7418 symbol if it is already defined.
7420 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
7422 * play/5x5.el (5x5-new-game, 5x5-randomize):
7423 Reset 5x5-solver-output to nil when a new grid is cast.
7424 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
7425 these debugging traces, as defmacro breaks the compiled code.
7427 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
7429 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
7431 2011-05-24 Leo Liu <sdl.web@gmail.com>
7433 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
7434 (vc-bzr-sha1): Adapt.
7436 * sha1.el: Remove. Function `sha1' is now builtin.
7438 * bindings.el: Provide sha1 feature.
7440 2011-05-24 Kenichi Handa <handa@m17n.org>
7442 * mail/sendmail.el: Require `rfc2047'.
7443 (mail-insert-from-field): Do not perform RFC2047 encoding.
7444 (mail-encode-header): New function.
7445 (sendmail-send-it): Set buffer-file-coding-system of the work
7446 buffer to the return value of select-message-coding-system.
7447 Call mail-encode-header.
7449 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
7451 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7453 * mail/supercite.el (sc-default-cite-frame):
7454 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7456 2011-05-24 Glenn Morris <rgm@gnu.org>
7458 * progmodes/python.el (brm-menu): Declare.
7460 * emulation/viper.el (viper-set-hooks): Declare.
7462 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
7463 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
7464 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
7465 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
7466 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
7467 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
7469 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7471 Add an :exit-function for completion-at-point.
7473 * minibuffer.el (completion--done): New fun.
7474 (completion--do-completion): Use it. New arg `expect-exact'.
7475 (minibuffer-complete, minibuffer-complete-word): Don't output message,
7476 since completion--do-completion does it for us now.
7477 (minibuffer-force-complete): Use completion--done and
7478 completion--replace. Handle sole-completion case with more care.
7479 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
7480 (completion-extra-properties): New var.
7481 (completion-annotate-function): Make obsolete.
7482 (minibuffer-completion-help): Adjust accordingly.
7483 Use completion-list-insert-choice-function.
7484 (completion-at-point, completion-help-at-point):
7485 Bind completion-extra-properties.
7486 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
7487 * simple.el (completion-list-insert-choice-function): New var.
7488 (completion-setup-function): Preserve it.
7489 (choose-completion): Pay attention to it, shuffle the code a bit.
7490 (choose-completion-string): New arg `insert-function'.
7492 * textmodes/bibtex.el: Convert to lexical binding.
7493 (bibtex-mode-map): Use completion-at-point.
7494 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
7495 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
7496 (bibtex-complete): Define as obsolete alias.
7497 (bibtex-complete-internal): Remove.
7498 (bibtex-format-entry): Remove unused sub-group in regexp.
7499 * shell.el (shell--command-completion-data)
7500 (shell-environment-variable-completion):
7501 * pcomplete.el (pcomplete-completions-at-point):
7502 * comint.el (comint--complete-file-name-data): Use :exit-function
7503 instead of completion-table-with-terminator so it also works for
7506 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7508 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
7510 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
7513 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
7515 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
7517 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
7518 customization variable and implement: If non-nil, auto-fill will
7519 be inhibited while on topic's header line.
7521 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
7523 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
7524 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
7525 always have a solution in grid size = 5 cases.
7526 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
7527 (5x5-solver-output, 5x5-log-buffer): New vars.
7528 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
7529 Make these variables buffer local to achieve 5x5 multi-session-ness.
7530 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
7531 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
7532 (5x5-solve-suggest): New funs.
7533 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
7534 randomize a grid so that we ensure that there is always a solution.
7535 (5x5-make-random-grid): Allow other movement than flipping.
7537 2011-05-23 Kevin Ryde <user42@zip.com.au>
7539 * emacs-lisp/advice.el (ad-read-advised-function):
7540 Use `function-called-at-point' as the default, if it has
7541 advice and passes PREDICATE.
7543 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7545 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
7546 byte-compile-lambda if it's actually a lambda.
7548 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
7549 Fix function quoting. Use backquote better.
7551 2011-05-22 Yuanle Song <sylecn@gmail.com>
7553 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
7554 matching (Bug#8516).
7556 2011-01-22 Jari Aalto <jari.aalto@cante.net>
7558 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
7559 different face (Bug#8178).
7561 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
7563 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
7566 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
7568 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
7569 funcall as well (bug#8712). Warn when performing those conversions.
7570 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
7572 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
7574 2011-05-22 Glenn Morris <rgm@gnu.org>
7576 * files.el (hack-local-variables-prop-line): Small simplifications.
7577 (hack-local-variables, hack-local-variables-prop-line):
7578 If MODE-ONLY, return the mode, rather than just `t'.
7580 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7582 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
7584 2011-05-21 Glenn Morris <rgm@gnu.org>
7586 * files.el (hack-local-variables-prop-line, hack-local-variables):
7587 If only interested in the mode, don't bother doing the other stuff.
7589 * image-mode.el (image-after-revert-hook):
7590 Redraw all frames on which the image is visible. (Bug#8567)
7592 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
7594 * wid-edit.el (widget-checklist-match-inline):
7595 Fix 2011-04-19 change. (Bug#8649)
7597 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
7599 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
7600 Also allow singlespace after single-letter capitals followed by a dot.
7602 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
7603 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
7605 2011-05-20 Nix <nix@esperi.org.uk>
7607 * files.el (basic-save-buffer-2):
7608 Fix handling of break-hardlink-on-save with non-existent files.
7610 2011-05-19 Deniz Dogan <deniz@dogan.se>
7612 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
7613 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
7615 2011-05-19 Glenn Morris <rgm@gnu.org>
7617 * progmodes/f90.el (f90-type-def-re):
7618 Handle "type, bind(c)". (Bug#8691)
7620 * emacs-lisp/autoload.el (batch-update-autoloads):
7621 Set autoload-excludes by parsing loadup.el rather than Makefiles.
7623 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
7625 * net/tramp.el (tramp-process-actions): Set "first-password-request"
7626 property for the correct connection in case of multihops.
7628 2011-05-18 Glenn Morris <rgm@gnu.org>
7630 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
7631 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
7633 Rationalize calendar handling of day and month abbrev-arrays.
7634 * calendar/calendar.el (calendar-customized-p): New function.
7635 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
7636 (calendar-day-name-array, calendar-month-name-array): Doc fix.
7638 (calendar-abbrev-length, calendar-day-abbrev-array)
7639 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
7640 (calendar-day-abbrev-array, calendar-month-abbrev-array):
7641 Elements may no longer be nil.
7642 (calendar-day-name, calendar-month-name):
7643 Update for changed nature of abbrev arrays.
7644 * calendar/diary-lib.el (diary-name-pattern):
7645 Update for changed nature of abbrev arrays.
7646 (diary-mark-entries-1): Update calendar-make-alist calls.
7647 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
7648 * calendar/cal-html.el (cal-html-day-abbrev-array):
7649 Simply inherit from calendar-day-abbrev-array.
7651 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7653 * progmodes/grep.el (grep-mode): Disable default
7654 compilation-directory-matcher setting (bug#8684).
7656 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
7658 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
7659 instead of "head" and "tail". There were problems with SunOS 5.9,
7660 and it performs better.
7662 2011-05-17 Glenn Morris <rgm@gnu.org>
7664 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
7666 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
7667 Replace obsolete function.
7669 * shell.el (pcomplete-parse-arguments-function): Declare.
7671 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
7672 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
7673 (appt-check): Doc fixes.
7674 (appt-disp-window-function, appt-delete-window-function):
7675 Remove needless special case in custom :type.
7676 (appt-display-count): Default to 0, not nil.
7677 (appt-check): Reset appt-display-count to 0, not nil.
7679 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
7681 * progmodes/python.el (python-font-lock-keywords):
7682 Add the Python 3.X keyword "nonlocal" (bug#8639).
7684 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7686 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
7688 2011-05-16 Kevin Ryde <user42@zip.com.au>
7690 * info-look.el (makefile-automake-mode): New setups, looking in
7691 automake manual, then makefile-mode.
7692 (makefile-mode): Remove automake manual, have it just in
7693 makefile-automake-mode since there's various things different or
7694 not relevant to plain make.
7695 (makefile-mode): Remove "other-modes" non-existent automake-mode,
7696 believe a hypothetical automake-mode would go to makefile-mode,
7697 not the other way around.
7699 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
7701 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
7702 hunk-end tags (Bug#8672).
7704 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
7705 vc-annotate-show-diff-revision-at-line (Bug#8671).
7707 2011-05-14 Glenn Morris <rgm@gnu.org>
7709 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
7710 in the middle of an existing one with multiple authors. (Bug#8645)
7711 (change-log-font-lock-keywords): Also handle multiple author lines
7712 with leading tabs. (Bug#8644)
7714 * calendar/appt.el (appt-check): Rename some local variables.
7715 Some simplification/reordering.
7717 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
7718 (feedmail-sendmail-f-doesnt-sell-me-out)
7719 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
7720 (feedmail-debug-sit-for, feedmail-queue-express-hook)
7721 (feedmail-queue-runner-message-sender): Set :version.
7722 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
7723 (bbdb-dwim-net-address, vm-mail): Declare.
7724 (feedmail-binmail-gnulinuxish-template):
7725 Rename from feedmail-binmail-linuxish-template.
7726 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
7727 Use insert-buffer-substring.
7729 2011-05-14 Bill Carpenter <bill@carpenter.org>
7731 * mail/feedmail.el (feedmail-patch-level): Increase.
7732 (feedmail-debug): New custom group.
7733 (feedmail-confirm-outgoing-timeout)
7734 (feedmail-sendmail-f-doesnt-sell-me-out)
7735 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
7736 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
7737 (feedmail-sender-line, feedmail-from-line)
7738 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
7739 (feedmail-spray-this-address)
7740 (feedmail-spray-address-fiddle-plex-list)
7741 (feedmail-queue-use-send-time-for-date)
7742 (feedmail-queue-use-send-time-for-message-id)
7743 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
7744 (feedmail-buffer-eating-function):
7746 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
7747 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
7748 (feedmail-message-action-scroll-down): New functions.
7749 (feedmail-queue-directory, feedmail-queue-draft-directory):
7750 Use expand-file-name.
7751 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
7752 Remove C-v help entry.
7753 (feedmail-queue-buffer-file-name): New variable.
7754 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
7755 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
7756 (feedmail-message-action-send-strong, feedmail-message-action-edit)
7757 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
7758 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
7759 (feedmail-message-action-toggle-spray)
7760 (feedmail-run-the-queue-no-prompts)
7761 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
7762 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
7763 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
7764 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
7765 (feedmail-envelope-deducer, feedmail-fiddle-from)
7766 (feedmail-fiddle-sender, feedmail-default-date-generator)
7767 (feedmail-fiddle-date, feedmail-fiddle-message-id)
7768 (feedmail-fiddle-spray-address)
7769 (feedmail-fiddle-list-of-spray-fiddle-plexes)
7770 (feedmail-fiddle-list-of-fiddle-plexes)
7771 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
7772 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
7773 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
7774 Change default. Doc fix.
7775 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
7776 (feedmail-binmail-linuxish-template): New constant.
7777 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
7778 Respect feedmail-sendmail-f-doesnt-sell-me-out.
7779 (feedmail-send-it): Add debug call.
7780 Use feedmail-queue-buffer-file-name, and
7781 feedmail-send-it-immediately-wrapper.
7782 (feedmail-message-action-send): Add debug call.
7783 Use feedmail-send-it-immediately-wrapper.
7784 (feedmail-queue-express-to-queue): Add debug call.
7785 Run feedmail-queue-express-hook.
7786 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
7787 (feedmail-message-action-help-blat):
7788 Rename from feedmail-queue-send-edit-prompt-help-first.
7789 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
7790 Check line-endings. Handle errors better.
7791 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
7792 Doc fix. Add debug call.
7793 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
7794 Use feedmail-queue-send-edit-prompt-inner.
7795 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
7796 (feedmail-queue-send-edit-prompt-inner): New function, extracted
7797 from feedmail-queue-send-edit-prompt.
7798 (feedmail-queue-send-edit-prompt-help)
7799 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
7800 (feedmail-tidy-up-slug): Add debug call.
7801 Respect feedmail-queue-slug-suspect-regexp.
7802 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
7803 (feedmail-dump-message-to-queue): Add debug call.
7804 Expand queue-directory.
7805 (feedmail-dump-message-to-queue): Change message slightly.
7806 Use feedmail-say-chatter.
7807 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
7808 (feedmail-send-it-immediately-wrapper): New function.
7809 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
7810 Insert empty string rather than newline. Handle full-frame case.
7811 Use catch/throw. Use feedmail-say-chatter.
7812 (feedmail-fiddle-from): Try mail-host-address.
7813 (feedmail-default-message-id-generator): Doc fix.
7814 Bind system-time-locale. Handle missing end.
7815 (feedmail-fiddle-x-mailer): Add debug call.
7816 Handle feedmail-x-mailer-line being nil.
7817 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
7818 Add debug call. Use buffer-substring-no-properties.
7819 (feedmail-say-debug, feedmail-say-chatter): New functions.
7820 (feedmail-find-eoh): Give an explicit error.
7822 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
7824 * net/newst-treeview.el (newsticker-treeview-face): Change default
7825 family from helvetica to sans.
7826 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
7827 etc/images/newsticker.
7829 * net/newst-reader.el (newsticker-feed-face): Change default
7830 family from helvetica to sans.
7832 * net/newst-plainview.el (newsticker-new-item-face)
7833 (newsticker-old-item-face, newsticker-immortal-item-face)
7834 (newsticker-obsolete-item-face, newsticker-date-face)
7835 (newsticker-statistics-face): Change default family from
7837 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
7838 etc/images/newsticker.
7840 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
7841 (newsticker--process-auto-mark-filter-match): : Tell user about
7844 2011-05-13 Didier Verna <didier@xemacs.org>
7846 Common Lisp indentation improvements on defmethod and lambda-lists.
7847 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
7849 (lisp-lambda-list-keyword-parameter-indentation)
7850 (lisp-lambda-list-keyword-parameter-alignment)
7851 (lisp-lambda-list-keyword-alignment): New customizable user options.
7852 (lisp-indent-defun-method): Improve docstring.
7853 (extended-loop-p): Fix comment.
7854 (lisp-indent-lambda-list-keywords-regexp): New variable.
7855 (lisp-indent-lambda-list): New function.
7856 (lisp-indent-259): Use it.
7857 (lisp-indent-defmethod): Support for more than one
7858 method qualifier and properly indent methods lambda-lists.
7859 (defgeneric): Provide a missing common-lisp-indent-function property.
7861 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7863 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
7864 bounds for the empty string (bug#8667).
7866 2011-05-13 Glenn Morris <rgm@gnu.org>
7868 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
7870 * mail/sendmail.el (sendmail-program): Try executable-find first.
7871 (sendmail-send-it): `sendmail-program' cannot be unbound.
7873 * calendar/appt.el (appt-make-list): Simplify.
7874 (appt-time-msg-list): Doc fix.
7875 (appt-check): Change mode-line message at the time of the appointment.
7877 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
7879 * progmodes/ld-script.el (ld-script-keywords)
7880 (ld-script-builtins): Update keywords list.
7882 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7884 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
7886 * shell.el (shell-completion-vars): New function.
7888 * simple.el (read-shell-command): Use it.
7889 (blink-matching-open): No need for " [...]" in minibuffer-message.
7891 2011-05-12 Glenn Morris <rgm@gnu.org>
7893 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
7894 (appt-check): Simplify.
7896 2011-05-12 Eli Zaretskii <eliz@gnu.org>
7898 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
7899 literal "/dev/null".
7901 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7903 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
7906 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
7908 * progmodes/which-func.el (which-function):
7909 Use add-log-current-defun instead of add-log-current-defun-function,
7910 which might not be defined (Bug#8260).
7912 2011-05-12 Glenn Morris <rgm@gnu.org>
7914 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
7915 Let byte-compile-initial-macro-environment always take precedence.
7917 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7919 * net/rcirc.el: Add support for SSL/TLS connections.
7920 (rcirc-server-alist): New field `encryption'.
7921 (rcirc): Check `encryption' settings.
7922 (rcirc-connect): New arg `encryption'. Use open-network-stream.
7923 Merge make-local-variable into `set'.
7924 (rcirc--connection-open-p): New function.
7925 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
7926 the process is not a network process (e.g. running gnutls-cli).
7927 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
7928 Make rcirc-(en|de)code-coding-system local here.
7929 (rcirc-mode): Merge make-local-variable into `set'.
7930 (rcirc-parent-buffer): Make permanent buffer-local.
7931 (rcirc-multiline-minor-mode): Don't do it here.
7932 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
7933 there's no server buffer.
7935 2011-05-11 Glenn Morris <rgm@gnu.org>
7937 * newcomment.el (comment-kill): Prefix "unused" local.
7939 * term/w32console.el (get-screen-color): Declare.
7941 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7942 Handle symbol elements of byte-compile-initial-macro-environment.
7944 2011-05-10 Leo Liu <sdl.web@gmail.com>
7946 * bookmark.el (bookmark-bmenu-mode-map):
7947 Bind bookmark-bmenu-search to `/'.
7949 * mail/footnote.el: Convert to utf-8 encoding.
7950 (footnote-unicode-string, footnote-unicode-regexp): New variable.
7951 (Footnote-unicode): New function.
7952 (footnote-style-alist): Add unicode style to the list.
7953 (footnote-style): Doc fix.
7955 2011-05-10 Jim Meyering <meyering@redhat.com>
7957 Fix doubled-word typos.
7958 * international/quail.el (quail-insert-kbd-layout): and and -> and
7959 * kermit.el: and and -> and
7960 * net/ldap.el (ldap-search-internal): to to -> to
7961 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
7962 * progmodes/js.el (js-mode): and and -> and
7963 * textmodes/artist.el (artist-move-to-xy): at at -> at
7964 (artist-draw-region-trim-line-endings): if if -> if
7965 And Safetyc -> Safety.
7966 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
7968 2011-05-10 Glenn Morris <rgm@gnu.org>
7969 Stefan Monnier <monnier@iro.umontreal.ca>
7971 * files.el (hack-one-local-variable-eval-safep):
7972 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
7974 2011-05-10 Glenn Morris <rgm@gnu.org>
7976 * calendar/diary-lib.el (diary-list-entries-hook)
7977 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
7978 (diary-nongregorian-marking-hook, diary-list-entries)
7979 (diary-include-other-diary-files, diary-mark-entries)
7980 (diary-mark-included-diary-files): Doc fixes.
7982 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
7984 * misc.el: Require tabulated-list.el during compilation.
7986 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
7988 * progmodes/compile.el (compilation-start):
7989 Run compilation-filter-hook for the async case too.
7990 (compilation-filter-hook): Doc fix.
7992 2011-05-09 Deniz Dogan <deniz@dogan.se>
7994 * wdired.el: Remove outdated installation comment. Fix usage
7997 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
7999 * misc.el: Implement new command `list-dynamic-libraries'.
8000 (list-dynamic-libraries--loaded-only-p): New variable.
8001 (list-dynamic-libraries--refresh): New function.
8002 (list-dynamic-libraries): New command.
8004 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
8006 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8007 Fix the ant regexp to handle end-line and end-column info from jikes.
8008 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
8009 higher priority to avoid clobbering by gnu.
8011 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
8013 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
8014 if the face has existing theme settings (Bug#8454).
8016 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
8018 * progmodes/perl-mode.el (perl-imenu-generic-expression):
8019 Only match variables declared via `my' or `our' (Bug#8261).
8021 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
8022 special file names `.' and `..' (Bug#8259).
8024 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
8026 * progmodes/grep.el (grep-mode-font-lock-keywords):
8027 Remove buffer-changing entries.
8028 (grep-filter): New function.
8029 (grep-mode): Add it to compilation-filter-hook.
8031 * progmodes/compile.el (compilation-filter-hook)
8032 (compilation-filter-start): New defvars.
8033 (compilation-filter): Call compilation-filter-hook prior to
8034 updating the process mark.
8036 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8038 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
8040 2011-05-07 Eli Zaretskii <eliz@gnu.org>
8042 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
8043 mailclient-send-it even if window-system is nil. (Bug#8595)
8045 * term/w32console.el (terminal-init-w32console):
8046 Call get-screen-color and use its output to set the frame
8047 background-mode. (Bug#8597)
8049 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8051 Make bytecomp.el understand that defmethod defines funs (bug#8631).
8052 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
8054 (defgeneric, eieio--defmethod): Use them.
8055 (eieio-defgeneric): Remove.
8056 (defmethod): Call defgeneric in a way visible to the byte-compiler.
8058 2011-05-07 Glenn Morris <rgm@gnu.org>
8060 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
8061 Use let rather than let*.
8062 (timeclock-find-discrep): Remove unused local.
8064 * calendar/diary-lib.el (diary-comment-start): Doc fix.
8066 * calendar/appt.el (appt-time-msg-list): Doc fix.
8068 2011-05-06 Noah Friedman <friedman@splode.com>
8070 * apropos.el (apropos-print-doc): Only use
8071 emacs-lisp-docstring-fill-column when it is bound to an integer,
8072 per that variable's documentation.
8074 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8076 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
8077 and warnings are not silently discarded (e.g. use -d instead of -P).
8079 2011-05-06 Glenn Morris <rgm@gnu.org>
8081 * calendar/appt.el (appt-message-warning-time): Doc fix.
8082 (appt-warning-time-regexp): New option.
8083 (appt-make-list): Respect appt-message-warning-time.
8085 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
8087 (diary-add-to-list): Strip comments from the displayed string.
8088 (diary-mode): Set comment-start and comment-end.
8090 * vc/diff-mode.el (smerge-refine-subst): Declare.
8091 (diff-refine-hunk): Don't require smerge-mode when compiling.
8093 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
8095 * simple.el (list-processes): Return nil as the docstring says.
8097 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
8099 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
8101 (ange-ftp-write-region, ange-ftp-insert-file-contents)
8102 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
8103 determining of binary transfer. (Bug#7383)
8105 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
8107 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8108 Fix port computation bug. (Bug#8618)
8110 2011-05-05 Glenn Morris <rgm@gnu.org>
8112 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
8114 * simple.el (shell-dynamic-complete-functions)
8115 (comint-dynamic-complete-functions): Declare.
8117 * net/network-stream.el (gnutls-negotiate):
8118 * simple.el (tabulated-list-print): Fix declarations.
8120 * progmodes/gud.el (syntax-symbol, syntax-point):
8121 Remove unnecessary and incorrect declarations.
8123 * emacs-lisp/check-declare.el (check-declare-scan):
8124 Handle byte-compile-initial-macro-environment in bytecomp.el
8126 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8128 Fix earlier half-done eieio-defmethod change (bug#8338).
8129 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
8130 Streamline and change calling convention.
8131 (defmethod): Adjust accordingly and simplify.
8132 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
8133 new eieio--defmethod.
8134 (slot-boundp): Minor CSE simplification.
8136 2011-05-05 Milan Zamazal <pdm@zamazal.org>
8138 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
8139 (glasses-make-readable): Use glasses-separate-capital-groups.
8141 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
8143 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
8144 (warning-series): Doc fix.
8145 (display-warning): Don't try to create the buffer if we just found it.
8147 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
8149 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
8150 (autoload-find-generated-file): New function.
8151 (generate-file-autoloads): Bind generated-autoload-file to
8153 (update-file-autoloads, update-directory-autoloads):
8154 Use autoload-find-generated-file. If called interactively, prompt for
8155 output file (Bug#7989).
8156 (batch-update-autoloads): Doc fix.
8158 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
8160 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
8162 2011-05-04 Glenn Morris <rgm@gnu.org>
8164 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
8165 function, so it follows changes in calendar-date-style.
8166 (diary-fancy-date-matcher): New function.
8167 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
8168 (diary-fancy-font-lock-fontify-region-function):
8169 Use diary-fancy-date-pattern as a function.
8171 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
8172 non-numbers for `year' etc pseudo-variables. (Bug#8583)
8174 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
8176 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
8177 instead of positional arguments. Allow :keylist and :crlfiles
8179 (open-gnutls-stream): Call it.
8181 * net/network-stream.el (network-stream-open-starttls): Adjust to
8182 call `gnutls-negotiate' with :process and :hostname arguments.
8184 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8186 * minibuffer.el (completion--message): New function.
8187 (completion--do-completion, minibuffer-complete)
8188 (minibuffer-force-complete, minibuffer-complete-word): Use it.
8189 (completion--do-completion): Don't ignore completion-auto-help when in
8192 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
8193 internal encoding (e.g. tibetan zero is not whitespace).
8194 (global-whitespace-mode): Prefer save-current-buffer.
8195 (whitespace-trailing-regexp): Remove useless save-match-data.
8196 (whitespace-empty-at-bob-regexp): Minor simplification.
8198 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
8200 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
8202 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8204 * textmodes/ispell.el (ispell-add-per-file-word-list):
8205 Use `concat' to create string for insertion.
8207 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8209 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
8210 Avoid open-line which runs post-self-insert-hook.
8211 (bibtex-fill-entry): Remove unused `end' var.
8213 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
8215 * textmodes/ispell.el (ispell-add-per-file-word-list):
8216 Protect against `nil' value of `comment-start' (Bug#8579).
8218 2011-05-03 Leo Liu <sdl.web@gmail.com>
8220 * isearch.el (isearch-yank-pop): New command.
8221 (isearch-mode-map): Bind it to `M-y'.
8222 (isearch-forward): Mention it.
8224 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8226 * simple.el (minibuffer-complete-shell-command): Remove.
8227 (minibuffer-local-shell-command-map): Use completion-at-point.
8228 (read-shell-command): Setup completion vars here instead.
8229 (read-expression-map): Bind TAB to symbol completion.
8231 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
8232 error directly rather via storing it into `results'.
8234 2011-05-02 Leo Liu <sdl.web@gmail.com>
8236 * vc/diff.el: Fix description.
8238 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8240 * server.el (server-eval-at): New function.
8242 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8244 * net/network-stream.el (open-network-stream): Take a :nowait
8245 parameter and pass it on to `make-network-process'.
8246 (network-stream-open-plain): Ditto.
8248 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
8250 * faces.el (face-spec-set-match-display): Don't match toolkit
8251 options on terminal frames.
8253 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
8255 * progmodes/pascal.el: Use lexical binding.
8256 (pascal-mode-map): Remove author preferences.
8258 * pcomplete.el (pcomplete-std-complete): Don't abuse
8259 completion-at-point.
8261 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
8263 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
8264 removing code that has been dead since 1991 or so.
8266 * startup.el (command-line): When warning about "_emacs", use a
8267 delayed warning to allow the user to filter it out.
8269 2011-04-28 Deniz Dogan <deniz@dogan.se>
8271 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
8272 user has not joined.
8274 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8276 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
8277 aren't any completions at point.
8279 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
8281 * subr.el (display-delayed-warnings): New function.
8282 (delayed-warnings-hook): New variable.
8284 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8286 * minibuffer.el (completion-at-point, completion-help-at-point):
8287 Don't presume that a given completion-at-point-function will always
8288 use the same calling convention.
8290 * pcomplete.el (pcomplete-completions-at-point):
8291 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
8292 pcomplete-seen is non-nil.
8293 (pcomplete-comint-setup): Also recognize the new comint/shell
8294 completion functions.
8295 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
8296 pcomplete-seen is non-nil.
8298 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
8300 * calendar/icalendar.el (diary-lib): Add require statement.
8301 (icalendar--create-uid): Read out a uid from a text-property on
8302 the first character in the entry. This allows for code to add its
8303 own uid to the entry.
8304 (icalendar--convert-float-to-ical): Add export of
8305 `diary-float'-entries save for those with the optional DAY
8308 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
8310 * subr.el (shell-quote-argument): Use alternate escaping strategy
8311 when we spot a variable reference in a string.
8313 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8315 * cus-start.el (all): Define customization for debug-on-event.
8317 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8319 * subr.el (shell-quote-argument): Escape correctly under Windows.
8321 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8323 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
8325 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
8327 * net/tramp.el (tramp-process-actions): Add POS argument.
8328 Delete region between POS and (pos).
8330 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8331 Use `nil' position in `tramp-process-actions' call.
8332 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
8334 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
8335 position in `tramp-process-actions' call.
8337 * net/trampver.el: Update release number.
8339 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8341 * custom.el (defcustom): Obey lexical-binding.
8343 Fix octave-inf completion problems reported by Alexander Klimov.
8344 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
8345 Inherit from octave-mode-syntax-table.
8346 (inferior-octave-mode): Set info-lookup-mode.
8347 (inferior-octave-completion-at-point): New function.
8348 (inferior-octave-complete): Use it and completion-in-region.
8349 (inferior-octave-dynamic-complete-functions): Use it as well, and use
8350 comint-filename-completion.
8351 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
8352 symbol elements which shouldn't be word elements.
8353 (octave-font-lock-keywords, octave-beginning-of-defun)
8354 (octave-function-header-regexp): Adjust regexps accordingly.
8355 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
8357 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
8359 * net/gnutls.el (gnutls-errorp): Declare before first use.
8361 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
8363 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
8364 verify-error, and verify-hostname-error parameters. Check whether
8365 default trustfile exists before going to use it. Add missing
8366 argument to gnutls-message-maybe call. Return value.
8367 Reported by Claudio Bley <claudio.bley@gmail.com>.
8368 (open-gnutls-stream): Add usage example.
8370 * net/network-stream.el (network-stream-open-starttls): Give host
8371 parameter to `gnutls-negotiate'.
8372 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8373 * subr.el (shell-quote-argument): Escape correctly under Windows.
8375 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
8377 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8378 Use correct match group (bug#8438).
8380 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
8382 * emacs-lisp/package.el (package-built-in-p): Fix typo.
8383 (package-menu--generate): New arg specifying packages to show.
8384 (package-menu-refresh, package-menu-execute, list-packages):
8386 (package-show-package-list): New function, replacing deleted
8387 package--list-packages (renamed because it is non-internal).
8389 * finder.el (finder-list-matches): Use package-show-package-list
8390 instead of deleted package--list-packages.
8392 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
8393 Based on a previous implementation by Juanma Barranquero (Bug#8366).
8394 (vc-annotate-mode-map): Bind it to RET.
8396 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8398 * progmodes/etags.el (next-file): Don't use set-buffer to change
8401 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
8403 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
8405 * apropos.el (apropos-label-face): Avoid variable-pitch face.
8406 (apropos-accumulator): Doc fix.
8407 (apropos-function, apropos-macro, apropos-command)
8408 (apropos-variable, apropos-face, apropos-group, apropos-widget)
8409 (apropos-plist): Add face property.
8410 (apropos-symbols-internal): Fix indentation.
8411 (apropos-print): Simplify help, and recognize apropos-multi-type.
8412 (apropos-print-doc): Use button-type-get to extract the button's
8413 face property. Fill docstring (Bug#8352).
8415 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
8417 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
8419 * play/mpuz.el (mpuz-silent): Doc fix.
8420 (mpuz-mode-map): Use mapc.
8421 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
8422 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
8423 Fix typos in docstrings.
8425 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
8426 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
8428 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
8430 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
8432 * minibuffer.el (completion--do-completion): Avoid the "Next char
8433 not unique" prompt if icomplete-mode is enabled (Bug#5849).
8435 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
8436 mouse-2 into unread-command-events, it is interpreted correctly.
8438 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
8439 (image-toggle-display): Doc fix.
8441 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
8443 * textmodes/page.el (what-page): Use line-number-at-pos to
8444 calculate line number (Bug#6825).
8446 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
8448 * eshell/esh-mode.el (find-tag-interactive): Declare function.
8449 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
8450 Pass argument NO-DEFAULT to `find-tag-interactive'.
8452 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
8454 Lexical-binding cleanup.
8456 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
8457 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
8458 * progmodes/ada-prj.el (ada-prj-initialize-values)
8459 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
8460 (ada-prj-show-value):
8461 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
8462 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
8463 (antlr-invalidate-context-cache, antlr-options-menu-filter)
8464 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
8465 * progmodes/bug-reference.el (bug-reference-push-button):
8466 * progmodes/fortran.el (fortran-line-length):
8467 * progmodes/glasses.el (glasses-change):
8468 * progmodes/octave-mod.el (octave-fill-paragraph):
8469 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
8470 (python-pdbtrack-grub-for-buffer, python-sentinel):
8471 * progmodes/sql.el (sql-save-connection):
8472 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
8473 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
8474 Mark unused parameters.
8476 * progmodes/compile.el (compilation--flush-directory-cache)
8477 (compilation--flush-parse, compile-internal): Mark unused parameters.
8478 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
8479 (compilation-next-error-function): Remove unused variable `timestamp'.
8481 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
8482 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
8484 * progmodes/dcl-mode.el (dcl-end-of-command):
8485 Remove unused variable `start'.
8486 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
8487 (dcl-option-value-basic, dcl-option-value-offset)
8488 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
8489 Mark unused parameters.
8490 (dcl-save-local-variable): Remove unused variable `val'.
8493 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
8494 Mark unused parameters.
8495 (delphi-ignore-changes): Move before first use.
8496 (delphi-charset-token-at): Remove unused variable `start'.
8497 (delphi-else-start): Remove unused variable `if-count'.
8498 (delphi-comment-block-start, delphi-comment-block-end):
8499 Remove unused variable `kind'.
8500 (delphi-indent-line): Remove unused variable `new-point'.
8502 * progmodes/ebrowse.el (ebrowse-files-list)
8503 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
8504 Mark unused parameters. Don't quote `lambda'.
8505 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
8506 Don't quote `lambda'.
8507 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
8508 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
8509 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
8510 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
8511 Use `ignore-errors'.
8512 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
8513 (ebrowse-view/find-file-and-search-pattern)
8514 (ebrowse-view/find-member-declaration/definition):
8515 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
8516 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
8517 Rename parameter PREFIX-ARG to PREFIX.
8518 (ebrowse-tags-read-name): Remove unused variables `start' and
8520 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
8523 * progmodes/etags.el (local-find-tag-hook): Declare.
8524 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
8525 Mark unused parameters.
8527 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
8528 (executable-interpret): Mark unused parameter.
8530 * progmodes/flymake.el (flymake-process-sentinel)
8531 (flymake-after-change-function)
8532 (flymake-create-temp-with-folder-structure)
8533 (flymake-get-include-dirs-dot): Mark unused parameters.
8534 (flymake-safe-delete-directory): Remove unused variable `err'.
8536 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
8537 (speedbar-timer-fn, speedbar-line-text)
8538 (speedbar-change-expand-button-char, speedbar-delete-subblock)
8539 (speedbar-center-buffer-smartly): Declare functions.
8540 (gdb-find-watch-expression): Remove unused variable `array'.
8541 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
8542 (gdb-starting): Mark unused parameters.
8543 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
8544 (gdb-table-string): Remove unused variable `res'.
8545 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
8546 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
8547 (gdb-display-buffer): Remove unused variable `cur-size'.
8549 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
8550 allow lexical-binding compilation.
8551 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
8552 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
8553 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
8554 Mark unused parameters.
8555 (gud-gdb-marker-filter): Remove unused variable `match'.
8556 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
8557 lambda expressions and funcall them, instead of using `fset'.
8559 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
8560 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
8562 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
8563 variable `header-beg'; use `let'.
8565 * progmodes/icon.el (indent-icon-exp): Remove unused variables
8566 `restart', `last-sexp' and `at-do'.
8568 * progmodes/js.el (js--debug): Mark unused parameter.
8569 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
8570 (js--splice-into-items): Remove unused variable `item'.
8571 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
8573 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
8574 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
8575 (makefile-complete): Remove unused variable `try'.
8576 (makefile-fill-paragraph, makefile-match-function-end):
8577 Mark unused parameters.
8579 * progmodes/octave-inf.el (inferior-octave-complete):
8580 Remove unused variable `proc'.
8581 (inferior-octave-output-digest): Mark unused parameter.
8583 * progmodes/perl-mode.el (perl-calculate-indent):
8584 Remove unused variable `err'.
8586 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
8587 (prolog-indent-line): Mark unused parameters.
8588 (prolog-indent-line): Remove unused variable `beg'.
8590 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
8591 (reporter-dont-compact-list): Declare.
8593 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
8594 Remove unused variable `char'.
8595 (sh-debug): Mark unused parameter.
8596 (sh-get-indent-info): Remove unused variable `start'.
8597 (sh-calculate-indent): Remove unused variable `var'.
8599 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
8600 (simula-electric-keyword): Remove unused variable `null'.
8601 (simula-search-backward, simula-search-forward): Remove unused
8602 variables `begin' and `end'.
8604 * progmodes/vera-mode.el (vera-guess-basic-syntax):
8605 Remove unused variable `pos'.
8606 (vera-electric-tab, vera-comment-uncomment-region):
8607 Mark unused parameters.
8608 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
8610 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
8612 * emacs-lisp/package.el (package--builtins, package-alist)
8613 (package-load-descriptor, package-built-in-p, package-activate)
8614 (define-package, package-installed-p)
8615 (package-compute-transaction, package-buffer-info)
8616 (package--push): Doc fix. Distinguish more clearly between
8617 version strings and version lists.
8619 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
8621 Lexical-binding cleanup.
8623 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
8624 (5x5-make-mutate-best):
8625 * play/fortune.el (fortune-in-buffer):
8626 * play/gomoku.el (gomoku-init-display):
8627 * play/solitaire.el (solitaire, solitaire-do-check):
8628 * play/tetris.el (tetris-default-update-speed-function):
8629 Mark unused parameters.
8631 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
8632 (bubbles--shift): Remove unused variable `char-org'.
8633 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
8634 (bubbles--show-images): Remove unused variable `char'.
8636 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
8637 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
8638 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
8639 (decipher-analyze-buffer): Use ?\s.
8640 (decipher-make-checkpoint): Remove unused variable `mapping'.
8642 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
8644 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
8645 Remove unused variable `result'; use `let'.
8647 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
8648 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
8649 (gametree-children-shown-p, gametree-compute-reduced-score):
8650 Use `ignore-errors'.
8652 * play/handwrite.el (ps-lpr-switches): Declare.
8653 (handwrite): Remove unused variables `pmin' and `lastp'.
8655 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
8657 * play/landmark.el (landmark-init-display)
8658 (landmark-update-naught-weights): Mark unused parameters.
8659 (landmark-y): Remove unused variable `noise'. Simplify.
8660 (landmark-human-plays): Remove unused variable `score'.
8662 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
8663 (mpuz-try-proposal): Remove unused variable `game'.
8665 * play/zone.el (life-patterns): Declare.
8667 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
8669 * vc/vc.el (ediff-vc-internal): Declare function.
8671 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8673 * shell.el: Use lexical-binding and std completion UI.
8674 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
8675 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
8676 comint-preoutput-filter-functions rather than on
8677 comint-output-filter-functions.
8678 (shell-command-completion, shell--command-completion-data)
8679 (shell-filename-completion, shell-environment-variable-completion)
8680 (shell-c-a-p-replace-by-expanded-directory): New functions.
8681 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
8682 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
8683 (shell-dynamic-complete-environment-variable): Use them.
8684 (shell-dynamic-complete-as-environment-variable)
8685 (shell-dynamic-complete-as-command): Remove.
8686 (shell-match-partial-variable): Match past point.
8687 * comint.el: Clean up use of completion-at-point-functions.
8688 (comint-completion-at-point): New function.
8689 (comint-mode): Use it completion-at-point-functions.
8690 (comint-dynamic-complete): Make it obsolete.
8691 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
8692 (comint-c-a-p-replace-by-expanded-history): New function.
8693 (comint-dynamic-complete-functions)
8694 (comint-replace-by-expanded-history): Use it.
8695 * minibuffer.el (completion-table-with-terminator): Allow dynamic
8696 termination strings. Try harder to avoid second try-completion.
8697 (completion-in-region-mode-map): Disable bindings that don't work yet.
8699 * comint.el: Use lexical-binding. Require CL.
8700 (comint-dynamic-complete-functions): Use comint-filename-completion.
8701 (comint-completion-addsuffix): Tweak custom type.
8702 (comint-filename-completion, comint--common-suffix)
8703 (comint--common-quoted-suffix, comint--table-subvert)
8704 (comint--complete-file-name-data): New functions.
8705 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
8706 (comint-dynamic-list-filename-completions): Use them.
8707 (comint-dynamic-simple-complete): Make obsolete.
8709 * minibuffer.el (completion-in-region-mode):
8710 Keep completion-in-region-mode--predicate global.
8711 (completion-in-region--postch):
8712 Assume completion-in-region-mode--predicate is not null.
8714 * progmodes/flymake.el (flymake-start-syntax-check-process):
8715 Obey `dir'. Simplify.
8717 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
8718 we're in VC after all.
8720 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
8722 * vc/vc.el (vc-diff-build-argument-list-internal)
8723 (vc-version-ediff, vc-ediff): New commands.
8724 (vc-version-diff): Use vc-diff-build-argument-list-internal.
8726 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8728 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
8731 * obsolete/erc-hecomplete.el: Make obsolete.
8732 * obsolete/: Standardize obsolescence info in the header.
8734 2011-04-20 Glenn Morris <rgm@gnu.org>
8736 * calendar/solar.el (solar-horizontal-coordinates):
8737 Use the longitude argument rather than `calendar-longitude'.
8738 (solar-date-next-longitude): Remove unused locals.
8740 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8742 * whitespace.el: New version 13.2.1.
8744 2011-04-20 felix <EmacsWiki> (tiny change)
8746 * whitespace.el (global-whitespace-mode): Keep highlight when
8747 switching between major modes on a file.
8749 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8751 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
8752 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
8753 multi-line comments as well.
8755 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
8757 Lexical-binding cleanup.
8759 * arc-mode.el (archive-mode-revert):
8760 * cmuscheme.el (scheme-interactively-start-process):
8761 * custom.el (custom-initialize-delay):
8762 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
8763 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
8764 * emacs-lock.el (emacs-lock-clear-sentinel):
8765 * ezimage.el (defezimage):
8766 * follow.el (follow-avoid-tail-recenter):
8767 * fringe.el (set-fringe-mode-1):
8768 * generic-x.el (bat-generic-mode-compile):
8769 * help-mode.el (help-info-variable, help-do-xref)
8770 (help-mode-revert-buffer):
8771 * help.el (view-emacs-todo):
8772 * iswitchb.el (iswitchb-completion-help):
8773 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
8774 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
8775 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
8776 * locate.el (locate-update):
8777 * longlines.el (longlines-encode-region)
8778 (longlines-after-change-function):
8779 * outline.el (outline-isearch-open-invisible):
8780 * ps-def.el (declare-function, charset-dimension, char-width)
8782 * ps-mule.el (ps-mule-plot-string):
8783 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
8784 (recentf-edit-list-select, recentf-edit-list-validate)
8785 (recentf-open-files-action):
8786 * rect.el (delete-whitespace-rectangle-line)
8787 (rectangle-number-line-callback):
8788 * register.el (window-configuration-to-register)
8789 (frame-configuration-to-register):
8790 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
8791 * select.el (xselect-convert-to-string, xselect-convert-to-length)
8792 (xselect-convert-to-targets, xselect-convert-to-delete)
8793 (xselect-convert-to-filename, xselect-convert-to-charpos)
8794 (xselect-convert-to-lineno, xselect-convert-to-colno)
8795 (xselect-convert-to-os, xselect-convert-to-host)
8796 (xselect-convert-to-user, xselect-convert-to-class)
8797 (xselect-convert-to-name, xselect-convert-to-integer)
8798 (xselect-convert-to-atom, xselect-convert-to-identity):
8799 * subr.el (declare, ignore, process-kill-without-query)
8800 (text-clone-maintain):
8801 * terminal.el (te-get-char, te-tic-sentinel):
8802 * tool-bar.el (tool-bar-make-keymap):
8803 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
8804 * type-break.el (type-break-mode, type-break-noninteractive-query):
8805 * view.el (View-back-to-mark):
8806 * wid-browse.el (widget-browse-action, widget-browse-widget)
8807 (widget-browse-widgets, widget-browse-sexp):
8808 * widget.el (define-widget-keywords):
8809 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
8810 Mark unused parameters.
8812 * align.el (align-adjust-col-for-rule): Mark unused parameter.
8813 (align-areas): Remove unused variable `look'.
8814 (align-region): Remove unused variables `real-end' and `pos-list'.
8816 * apropos.el (apropos-score-doc): Remove unused variable `i'.
8818 * bindings.el (mode-line-modified, mode-line-remote):
8819 Mark unused parameters.
8820 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
8822 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
8823 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
8825 * comint.el (comint-history-isearch-pop-state)
8826 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
8827 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
8828 (comint-substitute-in-file-name): Doc fix.
8830 * completion.el (cmpl-statistics-block): Mark unused parameter.
8831 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
8832 (save-completions-to-file, load-completions-from-file):
8833 Remove unused local variable `e'.
8835 * composite.el (compose-chars): Remove unused variable `len'.
8836 (lgstring-insert-glyph): Remove unused variable `g'.
8837 (compose-glyph-string): Remove unused variables `ascent',
8838 `descent', `lbearing' and `rbearing'.
8839 (compose-glyph-string-relative): Remove unused variables
8840 `lbearing', `rbearing' and `wadjust'.
8841 (compose-gstring-for-graphic): Remove unused variables `header',
8842 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
8843 (compose-gstring-for-terminal): Remove unused variables `header'
8844 and `nchars'. Use `let', not `let*'.
8846 * cus-edit.el (Custom-set, Custom-save, custom-reset)
8847 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
8848 (Custom-buffer-done, custom-buffer-create-internal)
8849 (custom-browse-visibility-action, custom-browse-group-tag-action)
8850 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
8851 (widget-magic-mouse-down-action, custom-toggle-parent)
8852 (custom-add-parent-links, custom-toggle-hide-variable)
8853 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
8854 (custom-toggle-hide-face, face, hook, custom-group-link-action)
8855 (custom-face-menu-create, custom-variable-menu-create, get)
8856 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
8857 (custom-reset-standard-save-and-update): Remove unused variable `value'.
8858 (customize-apropos): Remove unused variable `tests'.
8859 (custom-group-value-create): Remove unused variable `hidden-p'.
8860 (sort-fold-case): Declare.
8862 * cus-theme.el (custom-reset-standard-faces-list)
8863 (custom-reset-standard-variables-list): Declare.
8864 (customize-create-theme, custom-theme-revert, custom-theme-write)
8865 (custom-theme-choose-mode, customize-themes, custom-theme-save):
8866 Mark unused parameters.
8868 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
8870 * delim-col.el (delimit-columns-max): Move defvar before first use.
8872 * descr-text.el (describe-char-categories): Don't quote `lambda'.
8873 (describe-char): Don't quote `lambda'. Mark unused parameter.
8875 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
8876 (auto-insert): Declare.
8877 (desktop-restore-file-buffer): Rename desktop-* parameters;
8879 (desktop-create-buffer): Rename desktop-* parameters and bind them.
8880 (desktop-buffer): Rename desktop-* parameters.
8882 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8883 (dframe-reposition-frame-xemacs, dframe-help-echo)
8884 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
8885 Mark unused parameters.
8887 * dired-aux.el (backup-extract-version-start, overwrite-query)
8888 (overwrite-backup-query, rename-regexp-query)
8889 (rename-non-directory-query): Declare.
8890 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
8891 (dired-add-entry): Remove unused variable `orig-file-name'.
8892 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
8893 Use parameter PRESERVE-TIME instead of accessing dynamic variable
8894 `dired-copy-preserve-time' directly.
8895 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
8896 (dired-insert-subdir-newpos): Rename unused variable `pos'.
8898 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
8899 (dired-virtual-revert, dired-make-relative-symlink):
8900 Mark unused parameters.
8901 (manual-program): Declare.
8902 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
8903 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
8904 wrapped in `with-no-warnings' to avoid replacing one warning by another.
8906 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
8908 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
8910 * echistory.el (electric-history-in-progress, Helper-return-blurb):
8913 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
8915 * electric.el (Electric-command-loop): Rename parameter
8916 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
8918 * expand.el (expand-in-literal): Remove unused variable `here'.
8920 * facemenu.el (facemenu-add-new-color):
8921 Remove unused variable `docstring'.
8923 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
8924 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
8925 (face-attr-construct): Mark unused parameter. Doc fix.
8926 (read-color): Remove unused variable `hex-string'.
8928 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
8929 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
8930 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
8931 (display-buffer-other-frame): Remove unused variable `old-window'.
8932 (kill-buffer-hook): Declare.
8933 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
8934 Mark unused parameters.
8935 (after-find-file): Pass 1 to `auto-save-mode', not t.
8937 * files-x.el (auto-insert): Declare.
8938 (modify-file-local-variable-prop-line): Remove unused variable `val'.
8940 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
8941 variable `buf'. Mark unused parameter.
8942 (find-lisp-insert-directory): Mark unused parameter.
8944 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
8945 (format-encode-region): Remove unused variables `cur-buf' and `result'.
8946 (format-common-tail): Remove, unused.
8947 (format-deannotate-region): Remove unused variable `loc'.
8948 (format-annotate-region): Remove unused variable `p'.
8949 (format-annotate-single-property-change): Remove unused variables
8950 `default' and `tail'.
8952 * forms.el (read-file-filter): Declare.
8953 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
8955 * frame.el (frame-creation-function-alist): Mark unused parameter.
8956 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
8958 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
8959 Remove unused parameters.
8960 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
8961 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
8963 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
8964 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
8965 (hfy-prepare-tag-map): Mark unused parameters.
8966 (htmlfontify-buffer): Use `called-interactively-p'.
8968 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
8969 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
8970 (ibuffer-do-occur): Mark unused parameters.
8971 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
8972 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
8974 * ibuffer.el: Don't quote `lambda'.
8975 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
8976 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
8977 Mark unused parameters.
8979 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
8980 (ido-completing-read): Mark unused parameters.
8981 (ido-copy-current-word): Mark unused parameters;
8982 remove unused variable `name'.
8983 (ido-sort-merged-list): Remove unused parameter `dirs'.
8985 * ielm.el (ielm-input-sender): Mark unused parameter.
8986 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
8987 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
8988 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
8989 `ielm-string' as a dynamic variable accessible from the IELM prompt.
8990 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
8992 * image-dired.el (image-dired-display-thumbs): Remove unused
8993 variables `curr-file' and `count'.
8994 (image-dired-remove-tag): Remove unused variable `start'.
8995 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
8996 variable `curr-file'
8997 (image-dired-rotate-original): Remove unused variable `temp-file'.
8998 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
8999 Remove unused variable `file'.
9000 (image-dired-gallery-generate): Remove unused variable `curr'.
9001 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
9003 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
9005 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
9007 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
9009 * isearch.el (minibuffer-history-symbol): Declare.
9010 (isearch-edit-string): Remove unused variable `err'.
9011 (isearch-message-prefix, isearch-message-suffix):
9012 Mark unused parameters.
9014 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
9016 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
9018 * makesum.el (double-column): Remove unused variable `cnt'.
9020 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
9021 (ido-ignore-item-temp-list): Declare.
9023 * mouse-drag.el (mouse-drag-throw): Remove unused variables
9024 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
9025 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
9026 (mouse-drag-drag): Remove unused variables `mouse-delta' and
9029 * mouse-sel.el (mouse-extend-internal):
9030 Remove unused variable `orig-window-frame'.
9032 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
9033 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
9034 Move declarations before first use.
9035 (pcomplete-opt): Mark unused parameters; doc fix.
9037 * proced.el (proced-revert): Mark unused parameter.
9038 (proced-send-signal): Remove unused variable `err'.
9040 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
9041 Rename parameter PREFIX-ARG to ARG.
9042 (ps-basic-plot-string, ps-basic-plot-whitespace):
9043 Mark unused parameters.
9045 * replace.el (replace-count): Define.
9046 (occur-revert-function): Mark unused parameters.
9047 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
9048 (isearch-case-fold-search, isearch-string): Declare.
9049 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
9050 bind `case-fold-search'. Remove unused variables `beg' and `end',
9052 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
9053 COUNT and bind `replace-count'.
9054 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
9057 * savehist.el (print-readably, print-string-length): Declare.
9059 * shadowfile.el (shadow-expand-cluster-in-file-name):
9060 Remove unused variable `cluster'.
9061 (shadow-copy-file): Remove unused variable `i'.
9062 (shadow-noquery, shadow-clusters, shadow-site-cluster)
9063 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
9064 (shadow-define-literal-group, shadow-define-regexp-group)
9065 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
9067 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
9068 (shell): Use `called-interactively-p'.
9069 (shell-directory-tracker): Remove unused variable `chdir-failure'.
9071 * simple.el (compilation-context-lines, comint-file-name-quote-list)
9072 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
9073 (delete-backward-char): Remove unused variable `ocol'.
9074 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
9075 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
9076 (event-apply-hyper-modifier, event-apply-shift-modifier)
9077 (event-apply-control-modifier, event-apply-meta-modifier):
9078 Mark unused parameters.
9079 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
9080 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
9082 * speedbar.el (speedbar-ignored-directory-expressions)
9083 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
9084 (speedbar-find-file, speedbar-dir-follow)
9085 (speedbar-directory-buttons-follow, speedbar-tag-find)
9086 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
9087 (speedbar-buffers-line-directory, speedbar-buffer-click):
9088 Mark unused parameters.
9089 (speedbar-tag-file): Remove unused variable `mode'.
9090 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
9092 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
9094 * talk.el (talk): Remove unused variable `display'.
9096 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
9097 (tar-write-region-annotate): Mark unused parameter.
9099 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
9100 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
9101 Declare them, wrapped in `with-no-warnings' to avoid replacing one
9104 * time-stamp.el (time-stamp-string-preprocess):
9105 Remove unused variable `require-padding'.
9107 * tree-widget.el (widget-glyph-enable): Declare.
9108 (tree-widget-action): Mark unused parameter.
9110 * w32-fns.el (x-get-selection): Mark unused parameter.
9111 (autoload-make-program, generated-autoload-file): Declare.
9113 * wdired.el (wdired-revert): Mark unused parameters.
9114 (wdired-xcase-word): Remove unused variable `err'.
9116 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
9117 (whitespace-help-scroll): Remove unused variable `data-help'.
9119 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
9120 (widget-image-insert, widget-after-change, default)
9121 (widget-default-format-handler, widget-default-notify)
9122 (widget-default-prompt-value, widget-info-link-action)
9123 (widget-url-link-action, widget-function-link-action)
9124 (widget-variable-link-action, widget-file-link-action)
9125 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
9126 (widget-field-prompt-internal, widget-field-action, widget-field-match)
9127 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
9128 (widget-insert-button-action, widget-delete-button-action, visibility)
9129 (widget-documentation-link-action, widget-documentation-string-action)
9130 (widget-const-prompt-value, widget-regexp-match, symbol)
9131 (widget-coding-system-prompt-value)
9132 (widget-key-sequence-value-to-external, sexp)
9133 (widget-sexp-value-to-internal, character, vector, cons)
9134 (widget-choice-prompt-value, widget-boolean-prompt-value)
9135 (widget-color--choose-action): Mark unused parameters.
9136 (widget-item-match-inline, widget-choice-match-inline)
9137 (widget-checklist-match, widget-checklist-match-inline)
9138 (widget-group-match): Rename parameter VALUES to VALS.
9139 (widget-field-value-set): Remove unused variable `size'.
9140 (widget-color-action): Remove unused variables `value' and `start'.
9142 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
9143 variable `dir'. Doc fix.
9144 (windmove-find-other-window): Don't pass it.
9146 * window.el (count-windows): Mark unused parameter.
9147 (bw-adjust-window): Remove unused variable `err'.
9149 * woman.el (woman-file-name): Remove unused variable `default'.
9150 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
9151 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
9152 (global-font-lock-mode): Declare.
9153 (woman-decode-region): Mark unused parameter.
9154 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
9156 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
9157 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
9158 (x-dnd-handle-moz-url): Remove unused variable `title'.
9159 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
9161 * xml.el (xml-parse-tag, xml-parse-attlist):
9162 Remove unused variable `pos'.
9164 2011-04-19 Glenn Morris <rgm@gnu.org>
9166 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
9167 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
9168 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9169 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
9170 * calendar/cal-html.el (cal-html-insert-minical):
9171 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
9172 (calendar-mark-date-pattern):
9173 Prefix "unused" locals.
9175 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
9176 optional argument `style'.
9178 * calendar/appt.el (appt-make-list):
9179 * calendar/cal-china.el (calendar-chinese-date-string):
9180 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
9181 (diary-hebrew-yahrzeit):
9182 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
9183 * calendar/calendar.el (calendar-generate-window):
9184 * calendar/time-date.el (time-to-days):
9185 Remove unused local variables.
9187 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
9189 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
9190 glyphless-char-display table.
9191 (tabulated-list-glyphless-char-display): New var.
9193 2011-04-18 Sam Steingold <sds@gnu.org>
9195 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
9198 2011-04-17 Glenn Morris <rgm@gnu.org>
9200 * calendar/diary-lib.el (diary-sexp-entry):
9201 * calendar/holidays.el (holiday-sexp):
9202 Set debug-on-error rather than the removed stack-trace-on-error.
9204 2011-04-16 Glenn Morris <rgm@gnu.org>
9206 * progmodes/f90.el: Use lexical-binding.
9207 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
9209 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9211 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
9212 (mail-mode): Setup mailalias completion here instead.
9213 * mail/mailalias.el: Use lexical-binding.
9214 (pattern, mailalias-done): Declare dynamic.
9215 (mail-completion-at-point-function): New function, from mail-complete.
9216 (mail-complete): Use it.
9217 (mail-completion-expand): New function.
9218 (mail-get-names): Use it.
9219 (mail-directory, mail-directory-process, mail-directory-stream):
9220 Don't use `pattern' for lexically bound arg.
9222 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
9224 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
9225 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
9226 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
9228 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
9229 (byte-save-window-excursion, byte-temp-output-buffer-setup)
9230 (byte-interactive-p): Define them again, for use when inlining
9233 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
9235 * loadup.el: Use `string-to-number', not `string-to-int'.
9237 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9239 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
9240 gud-gdb-complete-command.
9241 (gud-gdb-completions): New function, from gud-gdb-complete-command.
9242 (gud-gdb-completion-at-point): New function.
9243 (gud-gdb-completions): Remove.
9245 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
9247 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
9248 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
9249 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
9250 whether `executable-find' is bound.
9252 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
9254 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9256 * minibuffer.el (completion-in-region-mode-predicate)
9257 (completion-in-region-mode--predicate): New vars.
9258 (completion-in-region, completion-in-region--postch)
9259 (completion-in-region-mode): Use them.
9260 (completion--capf-wrapper): Also return the hook function.
9261 (completion-at-point, completion-help-at-point):
9262 Adjust and provide a predicate.
9264 Preserve arg names for advice of subr and lexical functions (bug#8457).
9265 * help-fns.el (help-function-arglist): Consolidate the subr and
9266 new-byte-code cases. Add argument `preserve-names' to extract names
9267 from the docstring when needed.
9268 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
9269 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
9270 (ad-arglist): Use help-function-arglist's new arg.
9271 (ad-definition-type): Use cond.
9273 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
9275 * autorevert.el (auto-revert-handler):
9276 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
9277 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
9280 * image-mode.el (image-transform-set-scale):
9281 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
9283 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9285 * net/network-stream.el (network-stream-open-starttls): Only do
9286 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
9287 Upgrades via gnutls-cli are too slow to be done opportunistically.
9289 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
9291 * dframe.el (dframe-current-frame): Remove spurious quote.
9293 2011-04-12 Glenn Morris <rgm@gnu.org>
9295 * calendar/cal-tex.el (cal-tex-end-document):
9296 Try to automatically use latin1 input if needed.
9298 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
9299 Don't try to cons a mark onto an empty element.
9301 2011-04-11 Leo Liu <sdl.web@gmail.com>
9303 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
9305 (ido-kill-buffer-at-head): Support killing virtual buffers.
9307 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
9309 * minibuffer.el (completion-show-inline-help): New var.
9310 (completion--do-completion, minibuffer-complete)
9311 (minibuffer-force-complete, minibuffer-complete-word):
9312 Inhibit minibuffer messages if completion-show-inline-help is nil.
9314 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
9315 to avoid interference from inline help (Bug#5849).
9317 2011-04-10 Leo Liu <sdl.web@gmail.com>
9319 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9322 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
9324 * image-mode.el (image-toggle-display-image): Signal an error if
9326 (image-transform-mode, image-transform-resize)
9327 (image-transform-set-rotation): Doc fix.
9328 (image-transform-set-resize): Delete.
9329 (image-transform-set-scale, image-transform-fit-to-height)
9330 (image-transform-fit-to-width): Handle image-toggle-display-image
9331 and image-transform-resize directly.
9333 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
9335 * doc-view.el (doc-view-fit-width-to-window)
9336 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
9337 New functions for fitting the shown image to the Emacs window size.
9338 (doc-view-mode-map): Add bindings for the new functions.
9340 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
9342 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
9343 Fix typo in docstring.
9345 2011-04-08 Eli Zaretskii <eliz@gnu.org>
9347 * files.el (file-size-human-readable): Produce one digit after
9348 decimal, like "ls -lh" does.
9350 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
9351 the file size representation.
9353 * simple.el (list-processes): If async subprocesses are not
9354 available, error out with a clear error message.
9356 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
9358 * help.el (help-form-show): New function, to be called from C.
9359 Put help-form output in a buffer named differently than *Help*.
9361 2011-04-08 Eli Zaretskii <eliz@gnu.org>
9363 * files.el (file-size-human-readable): New function.
9365 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
9366 computing the representation inline. Don't require `cl'.
9368 2011-04-08 Glenn Morris <rgm@gnu.org>
9370 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
9372 * net/browse-url.el (browse-url-firefox):
9373 Test system-type, not system-configuration.
9375 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
9376 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
9377 Use log-edit-empty-buffer-p. (Bug#7598)
9379 * net/rlogin.el (rlogin-process-connection-type): Simplify.
9380 (rlogin-mode-map): Initialize in the defvar.
9381 (rlogin): Use ignore-errors.
9383 * replace.el (occur-mode-map): Some fixes for menu items.
9385 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9387 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
9389 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
9391 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
9392 issuing unused warnings.
9394 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
9397 * simple.el: Lisp reimplement of list-processes. Based on an
9398 earlier reimplementation by Leo Liu, but using tabulated-list.el.
9399 (process-menu-mode): New major mode.
9400 (list-processes--refresh, list-processes):
9401 (process-menu-visit-buffer): New functions.
9403 * files.el (save-buffers-kill-emacs): Don't assume any return
9404 value of list-processes, which is undocumented anyway.
9406 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
9408 * emacs-lisp/tabulated-list.el: New file.
9410 * emacs-lisp/package.el: Use Tabulated List mode.
9411 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
9412 (package-menu-mode): Derive from tabulated-list-mode. Set up the
9413 table format using Tabulated List mode variables.
9414 (package--push): New macro, replacing package-list-maybe-add.
9415 (package-menu--generate): Use package--push. Renamed from
9416 package--generate-package-list.
9417 (package-menu-refresh, list-packages): Use it.
9418 (package-menu--print-info): Rename from package-print-package.
9419 Return insertion data instead of inserting it directly.
9420 (package-menu-describe-package, package-menu-execute):
9421 Use tabulated-list-get-id.
9422 (package-menu-mark-delete, package-menu-mark-install)
9423 (package-menu-mark-unmark, package-menu-backup-unmark)
9424 (package-menu-mark-obsolete-for-deletion):
9425 Use tabulated-list-put-tag.
9426 (package--list-packages, package-menu-revert)
9427 (package-menu-get-package, package-menu-get-version)
9428 (package-menu-sort-by-column): Functions deleted.
9429 (package-menu-package-list, package-menu-sort-key): Vars deleted.
9430 (package-menu--status-predicate, package-menu--version-predicate)
9431 (package-menu--name-predicate)
9432 (package-menu--description-predicate): Handle arguments in the
9433 Tabulated List format.
9434 (package-list-packages-no-fetch): Call list-packages.
9436 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
9438 * files.el (after-find-file-from-revert-buffer): Remove variable.
9439 (after-find-file): Don't bind it.
9440 (revert-buffer-in-progress-p): New variable.
9441 (revert-buffer): Bind it.
9442 Pass nil for `after-find-file-from-revert-buffer'.
9444 * saveplace.el (save-place-find-file-hook): Use new variable
9445 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
9447 2011-04-06 Glenn Morris <rgm@gnu.org>
9449 * Makefile.in (AUTOGEN_VCS): New variable.
9450 (autoloads): Use $AUTOGEN_VCS.
9452 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
9453 * calendar/calendar.el (calendar-mode-map):
9454 Check for toolkit scroll bars. (Bug#8305)
9456 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
9458 * minibuffer.el (completion-in-region--postch)
9459 (completion-in-region-mode): Remove unnecessary messages.
9461 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
9463 * font-lock.el (font-lock-refresh-defaults):
9464 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
9465 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
9467 * info.el (Info-directory-list, Info-read-node-name-2)
9468 (Info-split-parameter-string): Doc fixes.
9469 (Info-virtual-nodes): Reflow docstring.
9470 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
9471 (Info-apropos-toc-nodes, info-finder, Info-get-token)
9472 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
9473 Fix typos in docstrings.
9474 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
9475 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
9476 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
9477 (Info-restore-desktop-buffer): Mark unused parameters.
9478 (Info-directory-find-file, Info-directory-find-node)
9479 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
9480 (Info-virtual-index-find-node, Info-apropos-find-file)
9481 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
9482 Mark unused parameters; fix typos in docstrings.
9483 (Info-virtual-index): Remove unused local variable `nodename'.
9485 2011-04-05 Deniz Dogan <deniz@dogan.se>
9487 * net/rcirc.el: Update my e-mail address.
9488 (rcirc-mode-map): Remove M-o binding.
9490 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
9492 * startup.el (command-line): Save the cursor's theme-face
9493 directly, instead of using face-override-spec.
9495 * custom.el (load-theme): Minor optimization in assigning faces.
9497 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
9499 * help-fns.el (describe-variable): Complete all variables having
9500 documentation, including keywords.
9501 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
9503 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
9505 Convert to lexical-binding.
9507 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
9508 (bs--get-marked-string, bs--get-modified-string)
9509 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
9510 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
9511 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
9513 * ehelp.el (electric-help-execute-extended)
9514 (electric-help-ctrl-x-prefix):
9515 * hexl.el (hexl-revert-buffer-function):
9516 * linum.el (linum-after-change, linum-after-scroll):
9517 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
9519 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
9521 2011-04-04 Daiki Ueno <ueno@unixuser.org>
9528 * epg.el: Use lexical binding.
9530 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
9532 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
9534 * textmodes/flyspell.el (flyspell-word): Recognize default
9535 dictionary case for flyspell-mark-duplications-exceptions.
9536 Use regexp matching for languages.
9537 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
9538 default dictionary (Bug#7926).
9540 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
9542 * emacs-lisp/package.el (package--with-work-buffer):
9543 Recognize https URLs.
9545 * net/network-stream.el: Move from gnus/proto-stream.el.
9546 Change prefix to network-stream throughout.
9547 (open-protocol-stream): Merge into open-network-stream, leaving
9548 open-protocol-stream as an alias. Handle nil BUFFER args.
9550 * subr.el (open-network-stream): Move to net/network-stream.el.
9552 2011-04-02 Glenn Morris <rgm@gnu.org>
9554 * find-dired.el (find-exec-terminator): New option.
9555 (find-ls-option): Test for -ls support.
9556 (find-ls-subdir-switches): Test for -b in find-ls-option.
9557 (find-dired, find-grep-dired): Doc fixes.
9558 (find-dired): Use find-exec-terminator.
9560 * find-dired.el (find-ls-option, find-ls-subdir-switches)
9561 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
9562 (find-name-arg): Remove purecopy.
9564 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
9565 (grep-compute-defaults): Check for `-exec COMMAND +' support.
9566 Set grep-find-use-xargs, grep-find-command, and grep-find-template
9567 accordingly. Don't add the null-device if not needed.
9569 * files.el (save-some-buffers): Doc fix.
9571 2011-04-02 Eli Zaretskii <eliz@gnu.org>
9573 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
9575 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
9577 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
9578 Use `dolist' rather than `mapcar'.
9580 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9582 Add lexical binding.
9584 * subr.el (apply-partially): Use new closures rather than CL.
9585 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
9586 (dolist, dotimes): Use slightly different expansion for lexical code.
9587 (functionp): Move to C.
9588 (letrec): New macro.
9589 (with-wrapper-hook): Use it and apply-partially instead of CL.
9590 (eval-after-load): Preserve lexical-binding.
9591 (save-window-excursion, with-output-to-temp-buffer): Turn them
9594 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
9596 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
9598 (help-add-fundoc-usage): Don't add `Not documented'.
9599 (help-function-arglist): Handle closures, subroutines, and new
9600 byte-code-functions.
9601 (help-make-usage): Remove leading underscores.
9602 (describe-function-1): Handle closures.
9603 (describe-variable): Use special-variable-p for completion.
9605 * files.el (lexical-binding): Declare safe.
9607 * emacs-lisp/pcase.el: Don't use destructuring-bind.
9608 (pcase--memoize): Rename from pcase-memoize. Change weakness.
9609 (pcase): Add `let' pattern.
9610 Change memoization so it actually works.
9611 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
9612 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
9615 * emacs-lisp/macroexp.el: Use lexical binding.
9616 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
9617 Don't convert ' to #' without checking that it's indeed quoting
9620 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
9621 Use eval-sexp-add-defvars.
9622 (eval-sexp-add-defvars): New fun.
9624 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
9626 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
9628 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
9629 than the internal `byte-compile-lambda'.
9630 (defmethod): Don't hide code under quotes.
9631 (eieio-defmethod): New `code' argument.
9633 * emacs-lisp/eieio-comp.el: Remove.
9635 * emacs-lisp/edebug.el (edebug-eval-defun)
9636 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
9637 (edebug-toggle): Avoid `eval'.
9639 * emacs-lisp/disass.el (disassemble-internal): Handle new
9641 (disassemble-1): Handle new byte codes.
9643 * emacs-lisp/cl.el (pushnew): Silence warning.
9645 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
9646 (cl-byte-compile-throw): Remove.
9647 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
9649 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
9652 * emacs-lisp/cconv.el: New file.
9654 * emacs-lisp/bytecomp.el: Use lexical binding instead of
9655 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
9656 (byte-compile-initial-macro-environment):
9657 Handle declare-function here.
9658 (byte-compile--lexical-environment): New var.
9659 (byte-stack-ref, byte-stack-set, byte-discardN)
9660 (byte-discardN-preserve-tos): New lap codes.
9661 (byte-interactive-p): Don't use any more.
9662 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
9664 (byte-compile-lapcode): Use them and handle new lap codes.
9665 (byte-compile-obsolete): Remove.
9666 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
9667 (byte-compile-arglist-warn): Check late def of inlinable funs.
9668 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
9669 since they should have been expanded by now.
9670 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
9671 (byte-compile-from-buffer): Remove unused second arg.
9672 (byte-compile-preprocess): New function.
9673 (byte-compile-toplevel-file-form): New function to distinguish
9674 file-form calls from outside from file-form calls from hunk-handlers.
9675 (byte-compile-file-form): Simplify.
9676 (byte-compile-file-form-defsubst): Remove.
9677 (byte-compile-file-form-defmumble): Simplify now that
9678 byte-compile-lambda always returns a byte-code-function.
9679 (byte-compile): Preprocess.
9680 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
9681 Remove, not used any more.
9682 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
9683 (byte-compile-make-args-desc): New funs.
9684 (byte-compile-lambda): Handle lexical functions. Always return
9685 a byte-code-function.
9686 (byte-compile-reserved-constants): New var, to make up room for
9687 closed-over variables.
9688 (byte-compile-constants-vector): Obey it.
9689 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
9690 (byte-compile-macroexpand-declare-function): New function.
9691 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
9692 byte-code-functions.
9693 (byte-compile-form): Check obsolescence here.
9694 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
9695 (byte-compile-variable-ref): Remove.
9696 (byte-compile-dynamic-variable-op): New fun.
9697 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9698 (byte-compile-variable-set): New funs.
9699 (byte-compile-discard): Add 2 args.
9700 (byte-compile-stack-ref, byte-compile-stack-set)
9701 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
9702 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
9703 macroexpand-all instead.
9704 (byte-compile-quote-form): Remove.
9705 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
9706 (byte-compile-bind, byte-compile-unbind): New funs.
9707 (byte-compile-let): Handle let* and lexical binding.
9708 (byte-compile-let*): Remove.
9709 (byte-compile-catch, byte-compile-unwind-protect)
9710 (byte-compile-track-mouse, byte-compile-condition-case):
9711 Handle a new :fun-body form, used for lexical scoping.
9712 (byte-compile-save-window-excursion)
9713 (byte-compile-with-output-to-temp-buffer): Remove.
9714 (byte-compile-defun): Simplify.
9715 (byte-compile-stack-adjustment): New fun.
9716 (byte-compile-out): Use it.
9717 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
9719 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
9722 * emacs-lisp/byte-opt.el: Use lexical binding.
9723 (byte-inline-lapcode): Remove (to bytecomp).
9724 (byte-compile-inline-expand): Pay attention to inlining to/from
9725 lexically bound code.
9726 (byte-compile-unfold-lambda): Don't handle byte-code-functions
9728 (byte-optimize-form-code-walker): Don't handle save-window-excursion
9729 any more and don't call compiler-macros.
9730 (byte-compile-splice-in-already-compiled-code): Remove.
9731 (byte-code): Don't inline any more.
9732 (disassemble-offset): Receive `bytes' as argument rather than via
9734 (byte-compile-tag-number): Declare before first use.
9735 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
9736 `return' even if make-spliceable.
9737 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
9738 obsolete interactive-p.
9739 (byte-optimize-lapcode): Optimize new lap-codes.
9740 Don't trip up on new form of `byte-constant' lap code.
9742 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
9744 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
9746 * custom.el (custom-initialize-default, custom-declare-variable):
9749 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
9751 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
9752 (COMPILE_FIRST): Add macroexp and cconv.
9753 * makefile.w32-in: Mirror changes in Makefile.in.
9759 * vc/smerge-mode.el:
9760 * textmodes/bibtex-style.el:
9769 * emacs-lisp/smie.el:
9772 * abbrev.el: Use lexical binding.
9774 2011-04-01 Eli Zaretskii <eliz@gnu.org>
9776 * info.el (info-display-manual): New function.
9778 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9780 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
9782 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
9784 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
9785 an entry for that server in rcirc-authinfo. (Bug#8385)
9787 2011-03-31 Glenn Morris <rgm@gnu.org>
9789 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
9791 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
9793 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
9795 * progmodes/python.el (python-default-interpreter)
9796 (python-python-command-args, python-jython-command-args)
9797 (python-which-shell, python-which-args, python-which-bufname)
9798 (python-file-queue, python-comint-output-filter-function)
9799 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
9800 variables and functions.
9802 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9804 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
9805 (completion-in-region-mode): New minor mode.
9806 (completion-in-region): Use it.
9807 (completion-in-region--data, completion-in-region-mode-map): New vars.
9808 (completion-in-region--postch): New function.
9809 (completion--capf-misbehave-funs, completion--capf-safe-funs):
9811 (completion--capf-wrapper): New function.
9812 (completion-at-point): Use it to track well-behavedness of
9814 (completion-help-at-point): New command.
9816 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
9818 * vc/add-log.el (add-change-log-entry): Don't use whitespace
9819 syntax class to search for whitespace on a single line
9820 (Message-ID: <4D938140.4030905@redhat.com>).
9822 2011-03-30 Leo Liu <sdl.web@gmail.com>
9824 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
9826 (edit-abbrevs-map): Bind them here.
9827 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
9829 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
9831 * allout.el (allout-hide-by-annotation, allout-flag-region):
9832 Reduce possibility of overlay leakage by making them volatile.
9834 * allout-widgets.el (allout-widgets-tally): Define as nil so the
9835 hash is not shared between buffers. Mode initialization is
9836 responsible for giving it a useful starting value.
9837 (allout-item-span): Reduce possibility of overlay leakage by
9838 making them volatile.
9839 (allout-widgets-count-buttons-in-region): Add diagnostic function
9840 for tracking down button overlay leaks.
9842 2011-03-29 Leo Liu <sdl.web@gmail.com>
9844 * ido.el (ido-read-internal): Use the default history var
9845 minibuffer-history if no HISTORY is specified.
9847 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
9849 * net/imap.el (imap-shell-open, imap-process-connection-type):
9850 Use imap-process-connection-type for 'shell' streams as well as
9851 Kerberos, SSL, other subprocesses.
9853 2011-03-28 Leo Liu <sdl.web@gmail.com>
9855 * abbrev.el (abbrev-table-empty-p): New function.
9856 (prepare-abbrev-list-buffer): Place empty abbrev tables after
9857 nonempty ones. (Bug#5937)
9859 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
9861 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
9863 2011-03-27 Leo Liu <sdl.web@gmail.com>
9865 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
9866 for foreground and background colors.
9867 (ansi-color-make-color-map): Adapt.
9869 2011-03-25 Leo Liu <sdl.web@gmail.com>
9871 * midnight.el (midnight-time-float): Remove. Note it calculates
9872 the microsecond component incorrectly and seconds-to-time does the
9874 Remove redundant (require 'timer).
9876 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
9877 (ido-completions): Remove unused arguments. (Bug#8329)
9879 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9881 * minibuffer.el (completion--flush-all-sorted-completions):
9882 Remove itself from hook.
9883 (completion-at-point): Let the functions perform the completion
9884 immediately and return nil or t.
9885 * comint.el (comint-dynamic-complete-functions): Now identical to
9886 completion-at-point-functions.
9887 (comint-dynamic-list-input-ring): Remove unused var `index'.
9888 (comint--match-partial-filename, comint--unquote&expand-filename):
9889 New funs, split from comint-match-partial-filename.
9890 (comint-dynamic-complete): Use completion-at-point.
9891 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
9893 2011-03-24 Drew Adams <drew.adams@oracle.com>
9895 * thingatpt.el: Support `defun'.
9897 2011-03-23 Leo Liu <sdl.web@gmail.com>
9899 * abbrevlist.el: Move to obsolete/abbrevlist.el.
9901 * help-mode.el (help-mode-finish): Tweak regexp.
9903 2011-03-23 Glenn Morris <rgm@gnu.org>
9905 * eshell/esh-opt.el (eshell-eval-using-options):
9906 Do not bind unused local variable `eshell-option-stub'.
9908 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
9910 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
9912 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
9913 keymap variable in `with-no-warnings' to avoid a warning when the
9914 keymap has been already `defconst'ed.
9916 2011-03-22 Leo Liu <sdl.web@gmail.com>
9918 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
9919 encode all chars in abbrevs; otherwise use emacs-mule or
9920 utf-8-emacs. (Bug#8308)
9922 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
9924 * simple.el (backward-delete-char-untabify):
9925 Avoid warning about using `delete-backward-char'.
9927 * image.el (image-type-file-name-regexps): Make it variable.
9928 `imagemagick-register-types' modifies it, and the user may want
9929 to add new extensions for known image types.
9930 (imagemagick-register-types): Throw error if not using ImageMagick.
9932 2011-03-22 Leo Liu <sdl.web@gmail.com>
9934 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
9935 located before rcirc-prompt-end-marker.
9936 (rcirc-complete): Error if point is not after rcirc prompt.
9937 Handle the case when table is nil.
9938 (rcirc-user-authenticated): Define to fix compiler warning.
9940 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
9942 * custom.el (custom--inhibit-theme-enable): Make it affect only
9943 custom-theme-set-variables and custom-theme-set-faces.
9944 (provide-theme): Ignore custom--inhibit-theme-enable.
9945 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
9946 (custom-enabling-themes): Delete variable.
9947 (enable-theme): Accept only loaded themes as arguments.
9948 Ignore the special custom-enabled-themes variable.
9949 (custom-enabled-themes): Forbid themes from setting this.
9950 Eliminate use of custom-enabling-themes.
9951 (custom-push-theme): Quote "changed" custom var entry.
9953 2011-03-21 Leo Liu <sdl.web@gmail.com>
9955 * ido.el (ido-read-internal): Add ido-selected to history instead
9958 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9960 * subr.el (deferred-action-list, deferred-action-function):
9963 2011-03-21 Leo Liu <sdl.web@gmail.com>
9965 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
9966 change on 2011-02-13 (bug#8309).
9968 * minibuffer.el (read-file-name-function): Change default value.
9969 (read-file-name--defaults): Rename from read-file-name-defaults.
9970 (read-file-name-default): Rename from read-file-name.
9971 (read-file-name): Call read-file-name-function.
9973 2011-03-21 Glenn Morris <rgm@gnu.org>
9975 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
9978 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
9980 * cus-theme.el: Add missing provide statement.
9981 (customize-create-theme): Extract theme value correctly.
9982 (custom-theme-visit-theme): Autoload.
9983 (customize-create-theme): Prompt before inserting default faces.
9985 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
9987 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
9988 units and musical notes.
9990 2011-03-20 Leo Liu <sdl.web@gmail.com>
9992 * ido.el (ido-read-internal): Use completing-read-default.
9993 (ido-completing-read): Fix compatibility with completing-read.
9995 2011-03-20 Christian Ohler <ohler@gnu.org>
9997 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
9998 (ert-delete-all-tests): Use `called-interactively-p' rather than
10000 (ert--make-xrefs-region): Respect END.
10002 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
10004 * dired-aux.el (dired-create-directory): Signal an error if the
10005 directory already exists (Bug#8246).
10007 * facemenu.el (list-colors-display): Call list-faces-display
10008 inside with-help-window.
10009 (list-colors-print): Use display property to align the final
10010 column, instead of checking window-width.
10012 2011-03-19 Eli Zaretskii <eliz@gnu.org>
10014 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
10015 windows-nt systems.
10016 (emerge-protect-metachars): Quote correctly for ms-dos and
10017 windows-nt systems.
10019 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
10021 * info.el (info-initialize): Replace all uses of `:' with
10022 path-separator for compatibility with non-Unix systems.
10023 Cache quoting of path-separator. (Bug#8258)
10025 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
10027 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
10028 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
10029 (mouse-avoidance-mode): Fix typos in docstrings.
10031 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
10033 * startup.el (package-subdirectory-regexp): Move from package.el.
10034 Omit \\` and \\', and let callers add them.
10036 * emacs-lisp/package.el (package-strip-version)
10037 (package-load-all-descriptors): Add \\` and \\' to
10038 package-subdirectory-regexp before using it.
10039 (package-untar-buffer): New arg DIR; ensure that file untars only
10040 into this expected directory. Remove superfluous delete-region.
10041 (package-unpack): Caller changed.
10042 (package-tar-file-info): Use package-subdirectory-regexp.
10044 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10046 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
10047 diff-mode-shared-map (bug#8284).
10048 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
10050 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10052 * calendar/time-date.el (format-seconds): Use assoc instead of
10053 assoc-string, since assoc-string doesn't exist in XEmacs.
10055 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
10057 * custom.el (custom-known-themes): Reflow docstring.
10058 (custom-theme-load-path): Fix typo in docstring.
10059 (load-theme): Fix typo in error message.
10060 (custom-available-themes, custom-variable-theme-value):
10061 Use `let', not `let*'.
10063 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10065 * calc/README: Mention inclusion of musical notes.
10067 * calc/calc-units.el (calc-lu-quant): Rename from
10068 `calc-logunits-quantity'.
10069 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
10070 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
10071 (calc-db): Rename from `calc-dblevel'.
10072 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
10073 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
10074 (calc-np): Rename from `calc-nplevel'.
10075 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
10076 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
10077 (calc-lu-plus): Rename from `calc-logunits-add'.
10078 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
10079 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
10080 (calc-lu-minus): Rename from `calc-logunits-sub'.
10081 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
10082 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
10083 (calc-lu-times): Rename from `calc-logunits-mul'.
10084 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
10085 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
10086 (calc-lu-divide): Rename from `calc-logunits-div'.
10087 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
10088 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
10090 * calc/calc-ext.el (calc-init-extensions): Update the names of the
10091 functions being autoloaded.
10093 * calc/calc.el (calc-lu-power-reference): Rename from
10094 `calc-logunits-power-reference'.
10095 (calc-lu-field-reference): Rename from
10096 `calc-logunits-field-reference'.
10098 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
10100 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
10102 * minibuffer.el (completion-all-sorted-completions):
10103 Use :completion-cycle-penalty text property if present.
10105 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
10107 * allout.el (allout-yank-processing): Adjust for new rebulleting
10108 regime so bullet being yanked is used without prompting the user
10111 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
10113 * startup.el (command-line): Warn the user that _emacs is deprecated.
10115 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
10117 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
10118 (delphi-verbose, delphi-comment-face, delphi-string-face)
10119 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
10120 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
10121 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
10122 (delphi-new-comment-line, delphi-font-lock-defaults)
10123 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
10124 Fix typos in docstrings.
10126 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
10128 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
10129 Invert the roles of character and string values for INSTEAD, so a
10130 string is used for the more common case of a defaulting prompt.
10132 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10134 * progmodes/ruby-mode.el (ruby-backward-sexp):
10135 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
10136 * play/gamegrid.el (gamegrid-make-face):
10137 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
10138 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
10139 * notifications.el (notifications-notify):
10140 * net/xesam.el (xesam-search-engines):
10141 * net/quickurl.el (quickurl-list-insert):
10142 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
10144 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
10146 * startup.el (command-line): Update package subdirectory regexp.
10148 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10150 * allout.el (allout-abbreviate-flattened-numbering)
10151 (allout-mode-deactivate-hook): Fix up obsolescence "date".
10153 * subr.el (read-char-choice): Only show the cursor after the prompt,
10154 not after the answer.
10156 2011-03-15 Kevin Ryde <user42@zip.com.au>
10158 * help-fns.el (variable-at-point): Skip leading quotes, if any
10161 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10163 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
10166 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
10168 * shell.el (shell): When called interactively, offer to change the
10169 shell file name on remote hosts.
10171 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
10173 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
10174 integration for LDAP parameters. The host, base, user or binddn,
10175 and secret tokens can be specified in a netrc file, for instance.
10176 This is optional because an `auth-source' parameter must be
10177 specified in the search attributes.
10179 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
10181 * help.el (describe-mode): Link to the mode's definition (bug#8185).
10183 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10185 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
10186 into declaration. Remove redundant and harmful binding.
10188 2011-03-12 Eli Zaretskii <eliz@gnu.org>
10190 * files.el (file-ownership-preserved-p): Pass `integer' as an
10191 explicit 2nd argument to `file-attributes'. If the file's owner
10192 is the Administrators group on Windows, and the current user is
10193 Administrator, consider that a match.
10195 * server.el (server-ensure-safe-dir): Consider server directory
10196 safe on MS-Windows if its owner is the Administrators group while
10197 the current Emacs user is Administrator. Use `=' to compare
10198 numerical UIDs, since they could be integers or floats.
10200 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
10202 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
10204 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
10206 Sync with Tramp 2.2.1.
10208 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
10210 * net/trampver.el: Update release number.
10212 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10214 * progmodes/compile.el (compilation--previous-directory): Fix up
10215 various nil/dead-marker mismatches (bug#8014).
10216 (compilation-directory-properties, compilation-error-properties):
10217 Don't call it at a position past the one we're about to change.
10219 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
10220 Disable obsolescence warnings in the file that declares it.
10222 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
10224 * allout-widgets.el (allout-widgets-tally):
10225 Initialize allout-widgets-tally as a hash table rather than nil to
10226 prevent mode-line redisplay warnings. Also, clarify the module
10227 description and fix a comment typo.
10229 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
10231 * help-fns.el (describe-variable): Don't complete keywords.
10232 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
10234 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
10236 * emacs-lisp/package.el (package-version-join): Impose a standard
10237 string representation for pre/alpha/beta version lists.
10238 (package-unpack-single): Standardize the directory name by passing
10239 it through package-version-join.
10240 (package-strip-rcs-id): Accept any version string that does not
10241 signal an error in version-to-list.
10243 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
10245 * simple.el (delete-trailing-whitespace): Return nil for the
10246 benefit of `write-file-functions'.
10248 2011-03-10 Glenn Morris <rgm@gnu.org>
10250 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
10252 * vc/vc-git.el (vc-git-program): New option.
10253 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
10254 (vc-git--call): Use it.
10256 * eshell/esh-util.el (eshell-condition-case): Doc fix.
10258 * cus-edit.el (Custom-newline): If no button at point, look
10259 for a subgroup button at start-of-line. (Bug#2298)
10261 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
10263 2011-03-10 Julien Danjou <julien@danjou.info>
10265 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
10266 `cursor-type' is nil.
10268 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
10270 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
10272 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
10274 * allout.el Summary: Change so yank of distinctive-bullet items
10275 preserves the existing header prefix, rebulleting it if necessary,
10276 rather than replacing it. This is necessary for proper operation
10277 of cooperative addons like allout-widgets.
10278 (allout-make-topic-prefix, allout-rebullet-heading):
10279 Change SOLICIT arg to INSTEAD, and interpret additionally a string
10280 value as alternate bullet to be used, instead of prompting the user
10281 for a bullet character.
10283 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
10285 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10286 Do not use `tramp-file-name-port', because this returns also
10287 `tramp-default-port'.
10289 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10291 * net/rcirc.el (rcirc-handler-001): Remove useless
10292 with-rcirc-process-buffer.
10293 (rcirc-check-auth-status): Swap arguments to string-match.
10295 2011-03-09 Glenn Morris <rgm@gnu.org>
10297 * shell.el (shell-mode):
10298 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
10300 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
10301 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
10303 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
10305 * emacs-lisp/package.el (package-refresh-contents)
10306 (package-menu-execute): Use condition-case-no-debug.
10308 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
10310 * simple.el (shell-command-to-string): Use `process-file'.
10312 * emacs-lisp/package.el (package-tar-file-info): Handle also
10315 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10316 Use `equal' for upload base check.
10318 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
10320 * textmodes/texinfo.el (texinfo-environments):
10321 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
10323 2011-03-08 Glenn Morris <rgm@gnu.org>
10325 * cus-start.el (cursor-in-non-selected-windows):
10326 Fix :set quoting oddness. (Bug#8192)
10328 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
10329 in some setf expressions. (Bug#2159)
10331 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
10333 * custom.el (custom-available-themes): Return themes in
10334 alphabetical order.
10336 See ChangeLog.15 for earlier changes.
10338 ;; Local Variables:
10342 Copyright (C) 2011-2012 Free Software Foundation, Inc.
10344 This file is part of GNU Emacs.
10346 GNU Emacs is free software: you can redistribute it and/or modify
10347 it under the terms of the GNU General Public License as published by
10348 the Free Software Foundation, either version 3 of the License, or
10349 (at your option) any later version.
10351 GNU Emacs is distributed in the hope that it will be useful,
10352 but WITHOUT ANY WARRANTY; without even the implied warranty of
10353 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10354 GNU General Public License for more details.
10356 You should have received a copy of the GNU General Public License
10357 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.